/* =====================================================
   PLATRES BATIMENTS â Modern Glassmorphism Design
   With Dark/Light Theme Support
   ===================================================== */

/* ---------- CSS Custom Properties â Dark Theme (Default) ---------- */
:root {
  /* Brand â preserved across both themes */
  --brand: #c0392b;
  --brand-light: #e74c3c;
  --brand-dark: #962d22;
  --brand-glow: rgba(192, 57, 43, 0.35);

  /* Backgrounds */
  --bg-deep: #050508;
  --bg-body: #0a0a0f;
  --bg-section-alt: #0d0d14;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.12);
  --glass-blur: 24px;

  /* Typography */
  --text-heading: #f4f4f5;
  --text-body: #a1a1aa;
  --text-muted: #71717a;
  --text-white: #ffffff;

  /* Navigation */
  --nav-bg: rgba(5, 5, 8, 0.85);
  --nav-mobile-bg: rgba(5, 5, 8, 0.97);
  --nav-link-hover-bg: rgba(255, 255, 255, 0.05);

  /* Inputs */
  --input-bg: rgba(255, 255, 255, 0.04);

  /* Shadows */
  --shadow-xs: 0 4px 15px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.5);

  /* About badge */
  --badge-bg: rgba(255, 255, 255, 0.95);
  --badge-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

  /* Map filter */
  --map-filter: grayscale(0.8) brightness(0.7) contrast(1.1);
  --map-filter-hover: grayscale(0.3) brightness(0.8) contrast(1.05);

  /* Cookie banner */
  --cookie-bg: rgba(15, 15, 20, 0.95);
  --cookie-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Hero */
  --hero-img-opacity: 0.15;
  --hero-img-saturate: saturate(0.3);

  /* Footer "Made in Luxembourg" badge filter */
  --lux-badge-filter: invert(1) brightness(0.7);

  /* Decorative glow orbs */
  --glow-1: rgba(192, 57, 43, 0.08);
  --glow-2: rgba(192, 57, 43, 0.06);
  --glow-3: rgba(231, 76, 60, 0.05);

  /* Spacing */
  --section-py: clamp(4rem, 10vw, 8rem);
  --container-px: clamp(1rem, 5vw, 3rem);
  --container-max: 1200px;

  /* Radius */
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s var(--ease-out);
}

/* ---------- Light Theme Overrides ---------- */
[data-theme="light"] {
  /* Backgrounds */
  --bg-deep: #e2e4ec;
  --bg-body: #f4f5fa;
  --bg-section-alt: #eaebf2;
  --bg-card: rgba(255, 255, 255, 0.6);
  --bg-card-hover: rgba(255, 255, 255, 0.85);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-hover: rgba(0, 0, 0, 0.14);

  /* Typography */
  --text-heading: #1a1a2e;
  --text-body: #4a4a5e;
  --text-muted: #6b6b80;

  /* Navigation */
  --nav-bg: rgba(244, 245, 250, 0.88);
  --nav-mobile-bg: rgba(244, 245, 250, 0.97);
  --nav-link-hover-bg: rgba(0, 0, 0, 0.04);

  /* Inputs */
  --input-bg: rgba(0, 0, 0, 0.03);

  /* Brand glow â softer on light */
  --brand-glow: rgba(192, 57, 43, 0.18);

  /* Shadows â much softer */
  --shadow-xs: 0 4px 15px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.1);

  /* About badge */
  --badge-bg: rgba(255, 255, 255, 0.98);
  --badge-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

  /* Map filter â more natural */
  --map-filter: grayscale(0.15) brightness(1) contrast(1);
  --map-filter-hover: grayscale(0) brightness(1) contrast(1);

  /* Cookie banner */
  --cookie-bg: rgba(255, 255, 255, 0.95);
  --cookie-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);

  /* Hero */
  --hero-img-opacity: 0.1;
  --hero-img-saturate: saturate(0.25);

  /* Footer badge â no inversion needed on light bg */
  --lux-badge-filter: none;

  /* Decorative glow orbs â slightly adjusted */
  --glow-1: rgba(192, 57, 43, 0.06);
  --glow-2: rgba(192, 57, 43, 0.05);
  --glow-3: rgba(231, 76, 60, 0.04);
}

/* ---------- Theme Transition Utility ---------- */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.4s ease,
              color 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              filter 0.4s ease,
              opacity 0.4s ease !important;
  transition-delay: 0s !important;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-pad {
  padding: var(--section-py) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Glass Card ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass-hover {
  transition: background var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.glass-hover:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--brand-glow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: var(--text-white);
  box-shadow: 0 4px 20px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192, 57, 43, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  background: var(--glass-bg);
  border-color: var(--brand);
  color: var(--brand-light);
}

/* ---------- Background Ornaments ---------- */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 500px; height: 500px;
  background: var(--glow-1);
  top: -150px; right: -100px;
}

.bg-glow-2 {
  width: 400px; height: 400px;
  background: var(--glow-2);
  bottom: -200px; left: -100px;
}

.bg-glow-3 {
  width: 350px; height: 350px;
  background: var(--glow-3);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-border);
  padding: 0.5rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
  transition: height var(--transition-base);
}

.navbar.scrolled .nav-logo img {
  height: 36px;
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-heading);
  line-height: 1.15;
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
  background: var(--nav-link-hover-bg);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 0.75rem;
}

/* ---------- Nav Controls (theme toggle + hamburger) ---------- */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Theme Toggle Button ---------- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  color: var(--text-heading);
}

.theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle svg {
  position: absolute;
  transition: transform 0.5s var(--ease-out), opacity 0.3s ease;
}

/* Default (dark theme): show sun icon â click switches to light */
.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* Light theme: show moon icon â click switches to dark */
[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ---------- Mobile Menu Toggle (it-secure standard) ---------- */
.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  z-index: 1001;
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile Navigation Overlay (it-secure standard) ---------- */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--nav-mobile-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px var(--container-px);
  overflow-y: auto;
}

.nav-mobile.open {
  display: block;
  animation: fadeInMenu 0.3s ease;
}

@keyframes fadeInMenu {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nav-mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--glass-border);
  transition: color 0.3s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  color: var(--brand-light);
}

@media (max-width: 768px) {
  .nav-mobile-toggle { display: flex; }
  .nav-links { display: none; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-img-opacity);
  filter: var(--hero-img-saturate);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-body) 0%, transparent 30%),
    linear-gradient(0deg, var(--bg-body) 0%, transparent 40%),
    linear-gradient(90deg, var(--bg-body) 0%, transparent 60%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-badge img {
  height: 28px;
  width: auto;
  border-radius: 50%;
}

.hero-badge strong {
  color: var(--text-heading);
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.1s var(--ease-out) both;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.8;
  animation: fadeInUp 0.8s 0.2s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s var(--ease-out) both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  animation: fadeInUp 0.8s 0.4s var(--ease-out) both;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}

.hero-stat .number .accent {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Hero Visual (right side) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s 0.3s var(--ease-out) both;
}

.hero-card-main {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 60px var(--brand-glow);
}

.hero-card-main img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.hero-card-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-card-overlay strong {
  color: #fff;
  font-size: 1rem;
}

.hero-card-float {
  position: absolute;
  bottom: -20px;
  left: -30px;
  width: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--glass-border);
  animation: float 6s ease-in-out infinite;
}

.hero-card-float img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .hero-card-float { left: auto; right: -10px; bottom: -10px; width: 140px; }
}

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  position: relative;
  background: var(--bg-section-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-badge-lux {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 90px;
  height: 90px;
  background: var(--badge-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--badge-shadow);
  padding: 14px;
}

.about-badge-lux img {
  width: 100%;
  height: auto;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.highlight-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.highlight-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.highlight-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image img { height: 280px; }
  .about-highlights { grid-template-columns: 1fr; }
}

/* =====================================================
   SERVICES
   ===================================================== */
.services {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.15), rgba(231, 76, 60, 0.08));
  border: 1px solid rgba(192, 57, 43, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-light);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: transparent;
  color: var(--text-white);
  transform: scale(1.1);
  box-shadow: 0 8px 25px var(--brand-glow);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.services-clients {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.client-type {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.client-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.12), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.client-type h4 {
  font-size: 1rem;
}

.client-type p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 550px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   REALISATIONS / GALLERY
   ===================================================== */
.realisations {
  position: relative;
  background: var(--bg-section-alt);
}

.before-after-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.ba-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ba-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.ba-card:hover img {
  transform: scale(1.05);
}

.ba-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ba-label.before {
  background: rgba(192, 57, 43, 0.85);
  color: #fff;
}

.ba-label.after {
  background: rgba(39, 174, 96, 0.85);
  color: #fff;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  width: 40px;
  height: 40px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

@media (max-width: 768px) {
  .before-after-showcase { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item img { height: 200px; }
}

@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.contact-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.15), rgba(231, 76, 60, 0.05));
  border: 1px solid rgba(192, 57, 43, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-light);
}

.contact-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card a:hover {
  color: var(--brand-light);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 220px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: var(--map-filter);
  transition: filter 0.4s ease;
}

.contact-map:hover iframe {
  filter: var(--map-filter-hover);
}

/* Contact CTA Card */
.contact-cta-card {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.15), rgba(231, 76, 60, 0.08));
  border: 1px solid rgba(192, 57, 43, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
}

.contact-cta-card:hover .contact-cta-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: transparent;
  color: var(--text-white);
  transform: scale(1.1);
  box-shadow: 0 8px 30px var(--brand-glow);
}

.contact-cta-email {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.contact-cta-email a {
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.contact-cta-email a:hover {
  color: var(--brand-light);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-lux-badge {
  height: 45px;
  filter: var(--lux-badge-filter);
  margin-top: 1rem;
}

.footer h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.footer-links a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-base), padding-left var(--transition-base);
}

.footer-links a:hover {
  color: var(--brand-light);
  padding-left: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--brand-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--brand-light);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================
   LIGHTBOX â Always dark (viewing images)
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--brand-glow);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--brand-glow);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(192, 57, 43, 0.5);
}

/* =====================================================
   COOKIE BANNER (GDPR)
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1500;
  max-width: 520px;
  width: calc(100% - 2rem);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--cookie-bg);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--cookie-shadow);
  transition: transform 0.6s var(--ease-out);
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

