@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ============================================================
   DESIGN TOKENS — injectés depuis config/site.js (theme)
   Ces valeurs par défaut sont identiques aux hardcoded initiaux.
   ============================================================ */
:root {
  --color-primary: #2563eb;
  --color-accent:  #ea580c;
  --color-dark:    #0f172a;
  --color-bg:      #f8fafc;
  --color-text:    #111827;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--color-text); background: #fff; -webkit-font-smoothing: antialiased; }

/* Tailwind config overrides */
.container { max-width: 1280px; margin: 0 auto; }

/* Custom animations */
@keyframes kenburns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1) translate(-1%, -1%); }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}
@keyframes slideUp {
  from { opacity: 1; max-height: 500px; }
  to { opacity: 0; max-height: 0; }
}
@keyframes emergencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
}

.animate-kenburns { animation: kenburns 20s ease-in-out infinite alternate; }
.animate-ping-slow { animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-pulse-slow { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-emergency { animation: emergencyPulse 2s infinite; }

/* Header */
@media (max-width: 768px) {

  header {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

}
.header-scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: 0 1px 20px rgba(0,0,0,0.08); border-bottom: 1px solid #f1f5f9; padding-top: 12px; padding-bottom: 12px; }
.header-top { background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); padding-top: 20px; padding-bottom: 20px; }

/* Nav pill */
.nav-pill { background: rgba(241,245,249,0.5); border: 1px solid rgba(226,232,240,0.5); backdrop-filter: blur(8px); border-radius: 9999px; padding: 6px; }
.nav-link { padding: 10px 13px; border-radius: 9999px; font-size: 0.8125rem; font-weight: 600; transition: all 0.3s; color: #475569; text-decoration: none; position: relative; display: inline-block; white-space: nowrap; }
.nav-link:hover { color: #1d4ed8; }
.nav-link.active { background: linear-gradient(to right, var(--color-primary), #1d4ed8); color: white; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }

/* Mobile menu — drawer sous le header */
#mobile-menu {
  display: none;
  position: fixed;

  /* IMPORTANT: commence sous le header */
  top: 88px; /* fallback ; ajusté par JS si besoin */
  left: 0;
  right: 0;
  bottom: 0;

  /* overlay */
  background: rgba(2, 6, 23, 0.08);

  z-index: 9999;

  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  /* on enlève le padding-top qui cassait la perception */
  padding: 12px;

  flex-direction: column;
}

#mobile-menu.open { display: flex; }
/* ===== MOBILE MENU UI (panel comme screenshots) ===== */
@media (max-width: 1023px) {

  /* overlay léger derrière le panel */
  #mobile-menu {
    background: rgba(2, 6, 23, 0.08);
    padding: 12px;
  }

  .mobile-menu-panel {
    width: min(520px, 100%);
    margin: 0 auto;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(226, 232, 240, 0.9);

    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

  .mobile-menu-title {
    padding: 16px 18px 10px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 800;
  }

  .mobile-menu-links {
    padding: 4px 8px 8px;
  }

  .mobile-nav-link {
  padding: 12px 14px;        /* réduit l'espace vertical */
  border-radius: 14px;
  font-size: 1.2rem;         /* légèrement plus compact */
  font-weight: 500;
  color: #0f172a;
  }
  .mobile-nav-link:hover { background: #f8fafc; }
  .mobile-nav-link:active { background: #f1f5f9; }

  .mobile-nav-chevron {
    color: #cbd5e1;
    display: flex;
    align-items: center;
  }

  .mobile-menu-footer {
    padding: 14px 16px 18px;
    background: transparent;
    border-top: 1px solid #f1f5f9;
  }

  /* CTA propre (pas un pavé) */
  .menu-call-btn {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 1.15rem;
  }

  .mobile-menu-sub {
    margin-top: 10px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
  }
}

/* Bouton hamburger (style mobile comme screenshot) */
.menu-toggle-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #f1f5f9;
  color: #0f172a;

  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 9999px;
  cursor: pointer;
  flex-shrink: 0;

  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
}
.menu-toggle-btn:hover { background: #e2e8f0; }

@media (min-width: 1024px) {
  .menu-toggle-btn { display: none !important; }
}

/* Bouton d'appel dans le menu mobile (même gabarit qu'un item de menu) */
.menu-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;   /* comme un item */
  gap: 12px;
  background: #093867;          
  color: #e8e9ed;
  width: auto;                      /* IMPORTANT : pas 100% */
  padding: 18px 16px;               /* aligné avec .mobile-nav-link */
  border-radius: 16px;
  font-weight: 500;
  font-size: 1.35rem;               /* même taille que tes liens */
  text-decoration: none;
  border: 1px solid transparent;
}

.menu-call-btn:hover { background: #f8fafc; }
.menu-call-btn:active { background: #f1f5f9; }
.menu-call-btn:hover { background: #1e293b; }

/* Blocage du scroll body quand menu ouvert */
body.no-scroll { overflow: hidden; position: fixed; width: 100%; }
.mobile-nav-link { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-radius: 12px; font-size: 1.125rem; font-weight: 500; transition: all 0.2s; color: #475569; text-decoration: none; border: 1px solid transparent; }
.mobile-nav-link:hover { background: #f8fafc; }
.mobile-nav-link.active { background: #eff6ff; border-color: #dbeafe; color: #1d4ed8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; cursor: pointer; transition: all 0.3s; border: none; text-decoration: none; }
.btn-primary { background: var(--color-primary); color: white; box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 15px 50px rgba(37, 99, 235, 0.4); }
.btn-ghost { background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-dark { background: var(--color-dark); color: white; }
.btn-dark:hover { background: #1e293b; }
.btn-orange { background: var(--color-accent); color: white; box-shadow: 0 10px 40px rgba(234, 88, 12, 0.3); }
.btn-orange:hover { background: #c2410c; transform: translateY(-2px); }
.btn-cyan { background: #0891b2; color: white; box-shadow: 0 10px 40px rgba(8, 145, 178, 0.3); }
.btn-cyan:hover { background: #0e7490; transform: translateY(-2px); }
.btn-purple { background: #9333ea; color: white; box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3); }
.btn-purple:hover { background: #7e22ce; transform: translateY(-2px); }
.btn-red { background: #dc2626; color: white; box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3); }
.btn-red:hover { background: #b91c1c; transform: translateY(-2px); }
.btn-slate { background: var(--color-dark); color: white; }
.btn-slate:hover { background: #1e293b; }
.btn-rounded-full { border-radius: 9999px; }
.btn-rounded-xl { border-radius: 12px; }

/* Cards */
.service-card { background: white; border-radius: 32px; padding: 40px; box-shadow: 0 10px 40px rgba(148, 163, 184, 0.2); transition: all 0.5s; border: 1px solid; overflow: hidden; position: relative; display: block; color: inherit; text-decoration: none; }
.service-card:hover { box-shadow: 0 25px 60px rgba(30, 58, 138, 0.08); transform: translateY(-8px); }

/* Testimonial cards */
.testimonial-card { background: white; border-radius: 32px; padding: 40px; box-shadow: 0 10px 40px rgba(148, 163, 184, 0.2); border: 1px solid rgba(241,245,249,0.5); transition: all 0.3s; }
.testimonial-card:hover { box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1); }

/* Feature card */
.feature-card { background: white; border-radius: 32px; padding: 40px; box-shadow: 0 10px 40px rgba(148, 163, 184, 0.2); border: 1px solid #f1f5f9; }

/* Forms */
.form-input { width: 100%; padding: 16px 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 1rem; color: #0f172a; transition: all 0.3s; outline: none; font-family: inherit; }
.form-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); background: white; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: #374151; margin-bottom: 6px; margin-left: 4px; }

/* Footer */
/* Footer layout: force 4 columns on desktop so "Entreprise" and "Nous Contacter" stay on the same row */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr; /* Brand + 3 colonnes */
  gap: 48px;
  margin-bottom: 64px;
}

/* Tablet: 2 colonnes, la marque prend toute la largeur */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2 / span 2;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
/* Mobile: tu as déjà une règle @media (max-width: 640px) qui remet footer-brand sur 1 colonne */
.footer-col-underline { position: absolute; bottom: -8px; left: 0; width: 48px; height: 4px; border-radius: 4px; }

/* Cookie banner */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--color-dark); border-top: 1px solid #1e293b; padding: 20px 24px; transform: translateY(100%); transition: transform 0.4s ease; }
#cookie-banner.visible { transform: translateY(0); }

/* Emergency button */
#emergency-btn { position: fixed; bottom: 24px; right: 24px; z-index: 50; background: linear-gradient(to bottom right, #f97316, #dc2626); color: white; border-radius: 9999px; padding: 16px 24px; box-shadow: 0 10px 40px rgba(249, 115, 22, 0.4); text-decoration: none; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.875rem; animation: emergencyPulse 2s infinite; transition: transform 0.2s; }
#emergency-btn:hover { transform: scale(1.05); }

/* FAQ accordion */
.faq-item { background: white; border-radius: 16px; border: 1px solid #f1f5f9; overflow: hidden; box-shadow: 0 1px 8px rgba(0,0,0,0.04); transition: box-shadow 0.3s; }
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 24px; text-align: left; background: none; border: none; cursor: pointer; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.35s ease; opacity: 0; }
.faq-answer.open { max-height: 400px; opacity: 1; }
.faq-answer-inner { padding: 0 24px 24px; color: #475569; line-height: 1.7; font-size: 0.95rem; border-top: 1px solid #f8fafc; padding-top: 16px; margin-top: 2px; }

/* Toast notification */
#toast { position: fixed; top: 24px; right: 24px; z-index: 100; background: var(--color-dark); color: white; padding: 16px 24px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); transform: translateX(150%); transition: transform 0.4s ease; max-width: 320px; }
#toast.visible { transform: translateX(0); }
#toast .toast-title { font-weight: 700; margin-bottom: 4px; }
#toast .toast-desc { font-size: 0.875rem; color: #94a3b8; }

/* Section utilities */
.section-label { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 12px; display: block; }
.section-title { font-weight: 800; color: #0f172a; line-height: 1.2; }

/* Gradient text */
.gradient-text { background: linear-gradient(to right, #60a5fa, #bfdbfe, #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Image frame */
.img-frame { position: relative; }
.img-frame-bg { position: absolute; inset: 0; border-radius: 40px; transform: rotate(6deg) scale(0.95); }
.img-frame img { position: relative; border-radius: 32px; width: 100%; object-fit: cover; box-shadow: 0 25px 60px rgba(0,0,0,0.2); }

/* Responsive */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .service-card { border-radius: 20px; padding: 28px; }
  .feature-card { border-radius: 20px; padding: 28px; }
  #emergency-btn { padding: 12px 18px; font-size: 0.8rem; }
}
@media (min-width: 1024px) {
  .show-mobile-only { display: none !important; }
}
@media (max-width: 1023px) {
  .hide-mobile-menu { display: none !important; }
}

/* Checklist items */
.check-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 12px; background: #f8fafc; border: 1px solid #f1f5f9; }
.check-item svg { flex-shrink: 0; }

/* Stars */
.star-filled { color: #fb923c; fill: #fb923c; }

/* Value cards */
.value-card { background: white; border-radius: 32px; padding: 40px; box-shadow: 0 4px 20px rgba(148, 163, 184, 0.2); transition: all 0.3s; border: 1px solid #f1f5f9; }
.value-card:hover { box-shadow: 0 10px 40px rgba(148, 163, 184, 0.3); transform: translateY(-4px); }

/* Contact info card */
.contact-info-card { background: white; border-radius: 16px; padding: 32px; box-shadow: 0 1px 8px rgba(0,0,0,0.04); border: 1px solid #f1f5f9; }

/* Scroll reveal (CSS fallback - elements visible by default) */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.hidden-reveal { opacity: 0; transform: translateY(30px); }

/* ====== RESPONSIVE FIXES ====== */
/* Contact page grid: stack on mobile */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}
/* Footer brand col: don't span 2 on small screens */
@media (max-width: 768px) {
  .footer-brand { grid-column: span 1 !important; max-width: 100% !important; }
  .btn-rounded-full { padding: 14px 28px !important; font-size: 0.95rem !important; }
  .nav-pill { display: none !important; }
  .show-mobile-only { display: block !important; }
}
/* Content grids: stack below 768px */
@media (max-width: 768px) {
  section > .container > div[style*="grid-template-columns:repeat(auto-fit"] { gap: 32px !important; }
  .value-card, .feature-card, .service-card { border-radius: 20px !important; padding: 28px !important; }
  /* Form 2-col grid: stack */
  form div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
/* Hero: reduce padding on mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem !important; }
  #emergency-btn { bottom: 16px; right: 16px; padding: 10px 16px; font-size: 0.75rem; }
}
.feature-overlap {
  padding: 80px 0;
  position: relative;
}
@media (max-width: 768px) {
  .feature-overlap {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

}

/* =========================================
   MOBILE — réduire taille icône appel menu
   ========================================= */
@media (max-width: 1023px) {

  .menu-call-btn {
    font-size: 1.15rem;
  }

  .menu-call-btn svg {
    width: 26px;
    height: 26px;
  }

}

/* =========================================
   RESPONSIVE MOBILE — FIXES COMPLETS
   ========================================= */

@media (max-width: 768px) {

  /* 1. HERO — espacement avec le header fixed */
  section[style*="min-height:95vh"],
  section[style*="min-height:70vh"] {
    padding-top: 100px !important;
    padding-bottom: 60px !important;
  }

  section[style*="min-height:95vh"] > .container,
  section[style*="min-height:70vh"] > .container {
    display: flex;
    align-items: flex-start !important;
  }

  /* 2. SECTIONS — réduction du padding vertical */
  section[style*="padding:100px 0"] {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  section[style*="padding:60px 0 80px"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* 3. GRILLES DE CONTENU — réduction du gap */
  div[style*="gap:72px"] {
    gap: 32px !important;
  }

  /* 4. EN-TÊTES DE SECTION — margin-bottom réduit */
  div[style*="margin-bottom:72px"] {
    margin-bottom: 36px !important;
  }

  /* 5. IMAGE PORTRAIT pages services — hauteur réduite */
  img[style*="height:500px"] {
    height: 260px !important;
  }

  /* 6. FORMULAIRE DE CONTACT — card plus compacte */
  div[style*="border-radius:40px;padding:48px"] {
    padding: 24px !important;
    border-radius: 24px !important;
  }

  /* 7. TRUST BADGES hero index — gap réduit */
  div[style*="gap:32px;border-top"] {
    gap: 16px !important;
  }

  /* 8. CONTAINER horizontal padding */
  .container[style*="padding:0 24px"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

}

/* ================================
   PORTFOLIO — Before/After click toggle
   ================================ */

.portfolio-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(15,23,42,0.10);
}

.ba-media{
  position:relative;
  height:240px; /* desktop */
  background:#0b1220;
  overflow:hidden;
  -webkit-transform: translateZ(0);
}

@media (max-width: 768px){
  .ba-media{ height:220px; }
}

.ba-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:opacity .2s ease;
  pointer-events:none;
}

/* Default: show AFTER */
.ba-before{ opacity:0; }
.ba-after{ opacity:1; }

/* Toggled: show BEFORE */
.ba-media.is-before .ba-before{ opacity:1; }
.ba-media.is-before .ba-after{ opacity:0; }

.ba-pill{
  position:absolute;
  top:14px;
  left:14px;
  padding:6px 12px;
  border-radius:9999px;
  font-weight:800;
  font-size:.72rem;
  letter-spacing:.12em;
  color:#fff;
  z-index:2;
}

.ba-pill-after{ background:#16a34a; }  /* APRÈS */
.ba-pill-before{ background:var(--color-accent); } /* AVANT */

/* Only show the correct pill */
.ba-pill-before{ display:none; }
.ba-media.is-before .ba-pill-before{ display:inline-flex; }
.ba-media.is-before .ba-pill-after{ display:none; }

.ba-toggle{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:9999px;
  border:1px solid rgba(148,163,184,.35);
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 24px rgba(15,23,42,.12);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:auto;
  z-index:10;
  touch-action:manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.ba-toggle:active{ transform:translateY(-50%) scale(.98); }

.portfolio-body{
  padding:18px 18px 20px;
}

.portfolio-kicker{
  color:#7c3aed;
  font-weight:800;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.portfolio-title{
  color:#0f172a;
  font-weight:800;
  font-size:1.25rem;
  margin:0 0 8px;
}

.portfolio-desc{
  color:#475569;
  line-height:1.65;
  margin:0 0 14px;
}

.portfolio-sep{
  border:none;
  border-top:1px solid #eef2f7;
  margin:14px 0;
}

.portfolio-subtitle{
  display:flex;
  align-items:center;
  gap:10px;
  color:#94a3b8;
  font-weight:900;
  font-size:.75rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.portfolio-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.portfolio-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#334155;
  line-height:1.5;
}

.portfolio-list li::before{
  content:"✓";
  color:#22c55e;
  font-weight:900;
  margin-top:1px;
}

/* ===== FIX MOBILE TAP BEFORE/AFTER ===== */

/* empêche les images de bloquer le tap */
.ba-img{
  pointer-events: none;
}

/* empêche les badges de bloquer le tap */
.ba-pill{
  pointer-events: none;
}

/* garantit que le bouton reçoit le tap */
.ba-toggle{
  pointer-events: auto;
  z-index: 10;
  touch-action: manipulation;
}

/* ===== LIGHTBOX ===== */
.lb-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.92);
  z-index:9000;
  align-items:center;
  justify-content:center;
  cursor:zoom-out;
}
.lb-overlay.is-open{
  display:flex;
}
.lb-overlay img{
  max-width:90vw;
  max-height:90vh;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 30px 80px rgba(0,0,0,0.6);
  cursor:default;
}
.lb-close{
  position:fixed;
  top:20px;
  right:24px;
  background:rgba(255,255,255,0.12);
  border:none;
  color:#fff;
  font-size:1.75rem;
  width:48px;
  height:48px;
  border-radius:50%;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.ba-media{ cursor:zoom-in; }

.lb-btns{
  position:fixed;
  bottom:32px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
}
.lb-btn{
  padding:10px 28px;
  border-radius:9999px;
  border:2px solid rgba(255,255,255,0.4);
  background:rgba(255,255,255,0.12);
  color:#fff;
  font-size:0.9rem;
  font-weight:700;
  letter-spacing:0.08em;
  cursor:pointer;
}
.lb-btn-active{
  background:#fff;
  color:#0f172a;
  border-color:#fff;
}

/* Green button */
.btn-green { background: #16a34a; color: white; box-shadow: 0 10px 40px rgba(22,163,74,0.3); }
.btn-green:hover { background: #15803d; transform: translateY(-2px); box-shadow: 0 15px 50px rgba(22,163,74,0.4); }

/* Services grid — 3 columns desktop, 1 column mobile */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =========================================
   NAV DROPDOWN — Desktop Services menu
   ========================================= */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  padding: 10px 13px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.3s;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}
.nav-dropdown-btn:hover { color: #1d4ed8; }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15,23,42,0.12);
  padding: 8px;
  min-width: 220px;
  display: none;
  z-index: 200;
}
.nav-dropdown-panel.open { display: block; }

.nav-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: #f1f5f9; color: #1d4ed8; }

/* =========================================
   MOBILE NAV GROUP — Services accordion
   ========================================= */
.mobile-nav-group-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s;
  font-family: inherit;
}
.mobile-nav-group-btn:hover { background: #f8fafc; }
.mobile-nav-group-btn .mobile-nav-chevron { transition: transform 0.2s; }
.mobile-nav-group-btn.open .mobile-nav-chevron { transform: rotate(90deg); }

.mobile-nav-submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  padding-left: 12px;
}
.mobile-nav-submenu.open { max-height: 500px; }

.mobile-nav-subitem {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 2px solid #e2e8f0;
  margin-bottom: 2px;
}
.mobile-nav-subitem:hover { background: #f8fafc; color: #1d4ed8; border-left-color: #3b82f6; }