/* ══════════════════════════════════════════════
   SELF-HOSTED FONTS — font-display: swap
   ══════════════════════════════════════════════ */
/* ── Font declarations: woff2 preferred, woff fallback ──
   To generate .woff2 files: pip install fonttools Brotli
   then run: python3 scripts/convert_fonts.py
   ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/media/fonts/dmsans.woff2') format('woff2'),
       url('/assets/media/fonts/dmsans.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* DM Sans italic: no separate italic font file — browser synthesizes italics from the regular weight */
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/media/fonts/playfair.woff2') format('woff2'),
       url('/assets/media/fonts/playfair.woff') format('woff');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/media/fonts/playfair-italic.woff2') format('woff2'),
       url('/assets/media/fonts/playfair-italic.woff') format('woff');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}


/* =============================================
   LOGELUX — Feuille de style globale
   ============================================= */

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

:root {
  /* Brand gold — unchanged */
  --gold:       #C9A84C;
  --gold-light: #EDD9A3;
  --gold-pale:  #EDD9A3;
  --gold-dark:  #B8962A;
  --gold-dim:   #C9A84C;

  /* Light ivory palette — aligned with brand direction */
  --ivory:      #FDFAF4;   /* main background */
  --cream:      #F0E5CC;   /* standard cards/sections */
  --cream2:     #E8D9B0;   /* featured/highlight sections */
  --rule:       #DDD0B8;   /* borders / dividers */
  --espresso:   #1C1206;   /* primary text */
  --brown:      #3D2E14;   /* secondary text */
  --mid:        #5C4828;   /* secondary text (readme spec) */
  --muted:      #7A6040;   /* muted text (readme spec) */

  /* Semantic aliases — clear naming for new code */
  --text-primary:    #1C1206;
  --surface-primary: #FDFAF4;
  --surface-alt:     #F0E5CC;
  --surface-deep:    #E8D9B0;

  /* Legacy alias — black kept for pricing badge color: (--black on var(--gold) bg) */
  --black:      #1C1206;

  /* Warm surface aliases — used across index pages */
  --warm-cream:  #F0E5CC;
  --border-warm: #DDD0B8;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); background: var(--ivory); color: var(--espresso); line-height: 1.6; font-size: 16px; overflow-x: hidden; }

/* ---- NAV ---- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,247,240,0.95); backdrop-filter: blur(12px); border-bottom: 0.5px solid var(--rule); transition: background 0.3s ease, box-shadow 0.3s ease; }
nav.scrolled { background: rgba(250,247,240,0.98); box-shadow: 0 2px 16px rgba(28,18,6,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 4rem; transition: padding 0.3s ease; }
.nav-logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--espresso); letter-spacing: 0.04em; text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-logo-img { display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--espresso); text-decoration: none; font-size: 0.875rem; font-weight: 400; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--espresso); font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.nav-cta { background: var(--espresso); color: var(--ivory); padding: 0.6rem 1.5rem; border-radius: var(--radius); font-size: 0.8rem; font-weight: 500; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--brown); }

/* ---- HAMBURGER ---- */
/* Hamburger: min 44×44px tap target (Apple HIG) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.75rem; /* ~12px pad each side → 22+24 = 46px tap target */
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--espresso); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE NAV PANEL ---- */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ivory);
  z-index: 395; /* sibling of #main-nav (400) — below nav bar, above all page content */
  padding: 5rem 1.5rem 2rem; /* top:5rem clears the ~65px nav bar */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 0.75rem; }
.nav-mobile ul li a { display: block; padding: 0.9rem 0; color: var(--mid); text-decoration: none; font-size: 1rem; border-bottom: 0.5px solid var(--rule); transition: color 0.2s; min-height: 44px; display: flex; align-items: center; }
.nav-mobile ul li a:hover, .nav-mobile ul li a.active { color: var(--espresso); font-weight: 500; }
.nav-mobile ul li a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.nav-mobile-cta { display: block; margin-top: 0.75rem; text-align: center; background: var(--espresso); color: var(--ivory); padding: 0.75rem 2rem; border-radius: var(--radius); font-size: 0.8rem; font-weight: 500; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; }
.nav-mobile-cta:hover { background: var(--brown); }
.nav-mobile-lang { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 0.5px solid var(--rule); display: flex; justify-content: center; }

/* ---- TYPOGRAPHY ---- */
section { padding: 6rem 4rem; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; display: block; width: 24px; height: 0.5px; background: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { color: var(--mid); line-height: 1.8; }

/* ---- BUTTONS ---- */
.btn-primary { background: var(--gold); color: var(--ivory); padding: 1rem 2.5rem; border-radius: var(--radius); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-dark { background: var(--espresso); color: var(--gold); border: 1.5px solid rgba(201,168,76,0.5); padding: 1rem 2.5rem; border-radius: var(--radius); font-size: 0.95rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: background 0.2s, color 0.2s; }
.btn-dark:hover { background: var(--brown); color: var(--gold-light); }
.btn-ghost { color: var(--brown); text-decoration: none; font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.btn-ghost:hover { color: var(--espresso); }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header { padding: 8rem 4rem 3rem; max-width: 1200px; margin: 0 auto; }
.page-header h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.page-header p { font-size: 1.1rem; max-width: 560px; color: var(--mid); }

/* ---- DIVIDER ---- */
.divider { height: 0.5px; background: var(--rule); margin: 0 4rem; }

/* ---- HERO ---- */
.hero-wrap { min-height: 100dvh; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--ivory); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 70% 40%, rgba(201,168,76,0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 20% 80%, rgba(240,232,213,0.6) 0%, transparent 60%); }
.hero-grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(221,208,184,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(221,208,184,0.35) 1px, transparent 1px); background-size: 80px 80px; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 8rem 4rem 6rem; width: 100%; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; border: 0.5px solid var(--rule); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; background: var(--cream); }
.hero-tag::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-title { max-width: 760px; margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 1.125rem; color: var(--mid); max-width: 520px; margin-bottom: 3rem; font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; margin-top: 4.5rem; padding-top: 3rem; border-top: 0.5px solid var(--rule); }
.stat-num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); display: block; line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---- PROBLEM ---- */
.problem-wrap { background: var(--cream); margin: 0; padding: 6rem 0; border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.problem-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; box-sizing: border-box; }
.problem-cards { display: flex; flex-direction: column; gap: 1rem; }
.problem-card { border: 0.5px solid var(--rule); border-radius: var(--radius-lg); padding: 1.5rem; background: var(--ivory); }
.problem-icon { font-size: 1.2rem; margin-bottom: 0.75rem; }
.problem-card h4 { font-size: 0.95rem; color: var(--espresso); margin-bottom: 0.4rem; font-family: var(--sans); font-weight: 500; }
.problem-card p { font-size: 0.875rem; color: var(--mid); }

/* ---- SERVICES GRID ---- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 0.5px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; margin-top: 3rem; }
.service-card { background: var(--ivory); padding: 2.5rem 2rem; transition: background 0.2s; }
.service-card:hover { background: var(--cream); }
.service-num { font-family: var(--serif); font-size: 3rem; color: rgba(201,168,76,0.25); line-height: 1; margin-bottom: 1.5rem; }
.service-card h3 { color: var(--espresso); margin-bottom: 0.75rem; font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; }
.service-card p { font-size: 0.875rem; color: var(--mid); line-height: 1.75; }
.service-result { display: inline-block; margin-top: 1.25rem; font-size: 0.78rem; color: var(--gold-dark); border: 0.5px solid rgba(201,168,76,0.4); padding: 0.3rem 0.8rem; border-radius: 100px; font-weight: 500; }

/* ---- SERVICES DETAIL CARDS ---- */
.service-detail-card { border: 0.5px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; }
.service-detail-inner { display: grid; grid-template-columns: 1fr 2fr; align-items: center; padding: 3rem; }
.service-detail-left { padding-right: 1.5rem; }
.service-detail-num { font-family: var(--serif); font-size: 4rem; color: rgba(201,168,76,0.18); line-height: 1; }
.service-detail-right { border-left: 0.5px solid var(--rule); padding-left: 3rem; }
.service-detail-tags { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.service-detail-tags span { font-size: 0.8rem; color: var(--muted); }

/* ---- HOW IT WORKS ---- */
.hiw-wrap { background: var(--cream); padding: 6rem 0; border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.hiw-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 4rem; box-sizing: border-box; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3.5rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 2rem; left: 10%; right: 10%; height: 0.5px; background: linear-gradient(90deg, transparent, var(--rule), var(--rule), transparent); z-index: 0; }
.step { text-align: center; padding: 0 1.5rem; position: relative; z-index: 1; }
.step-num { width: 4rem; height: 4rem; border-radius: 50%; border: 0.5px solid var(--rule); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-family: var(--serif); font-size: 1.3rem; color: var(--gold); background: var(--ivory); }
.step h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--espresso); margin-bottom: 0.5rem; }
.step p { font-size: 0.84rem; color: var(--mid); }

/* ---- PROCESS STEPS (detailed page) ---- */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 0.5px solid var(--rule); }
.process-step:last-child { border-bottom: none; }
.process-step-icon { text-align: center; }
.process-step-num { width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.35); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.4rem; color: var(--gold); margin: 0 auto; }
.process-step-line { width: 1px; height: calc(100% - 60px - 1rem); background: var(--rule); margin: 0.5rem auto 0; }
.process-step-body { padding-bottom: 1rem; }
.process-step-body h3 { color: var(--espresso); font-family: var(--sans); font-weight: 500; font-size: 1.15rem; margin-bottom: 0.75rem; }
.process-step-meta { margin-top: 1.25rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.process-step-meta .meta-gold { font-size: 0.8rem; color: var(--gold); }
.process-step-meta .meta-dim { font-size: 0.8rem; color: var(--muted); }
.process-step-meta .meta-dot { font-size: 0.8rem; color: var(--muted); }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 1rem; }
.about-visual { background: var(--cream); border-radius: var(--radius-lg); border: 0.5px solid var(--rule); padding: 3rem; }
.about-metric { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 0.5px solid var(--rule); }
.about-metric:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.about-metric-val { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.about-metric-desc { font-size: 0.84rem; color: var(--muted); margin-top: 0.25rem; }
.about-text p { margin-bottom: 1.25rem; }
.mission-statement { border-left: 2px solid var(--gold); padding-left: 1.5rem; font-family: var(--serif); font-size: 1.2rem; color: var(--espresso); line-height: 1.7; margin: 2rem 0; font-style: italic; }
.principles-box { margin-top: 1.5rem; border: 0.5px solid var(--rule); border-radius: var(--radius-lg); padding: 2rem; background: var(--cream); }
.principles-box h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--espresso); margin-bottom: 1rem; }
.principle { font-size: 0.875rem; color: var(--mid); margin-bottom: 0.75rem; }
.principle:last-child { margin-bottom: 0; }

/* ---- TESTIMONIALS ---- */
.testimonials-wrap { background: var(--cream2); padding: 6rem 0; border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.testimonials-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 4rem; box-sizing: border-box; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial { border: 0.5px solid var(--rule); border-radius: var(--radius-lg); padding: 2rem; background: var(--ivory); }
.stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial blockquote { font-size: 0.95rem; color: var(--mid); line-height: 1.8; font-style: italic; margin-bottom: 1.25rem; font-family: var(--serif); font-weight: 300; }
.testimonial-author { font-size: 0.8rem; color: var(--muted); }
.testimonial-author strong { color: var(--espresso); font-weight: 500; display: block; }

/* ---- CONTACT ---- */
.contact-wrap { background: var(--cream); padding: 6rem 0; border-top: 0.5px solid var(--rule); }
.contact-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 4rem 6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { background: var(--ivory); border: 0.5px solid var(--rule); border-radius: var(--radius); padding: 0.85rem 1rem; color: var(--espresso); font-family: var(--sans); font-size: 0.9rem; outline: none; transition: border-color 0.2s; width: 100%; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.18); outline: none; }
/* Error state */
.form-group.error input, .form-group.error select, .form-group.error textarea { border-color: #B84040; box-shadow: 0 0 0 3px rgba(184,64,64,0.12); }
.form-group .form-error { font-size: 0.78rem; color: #B84040; margin-top: 0.25rem; display: none; }
.form-group.error .form-error { display: block; }
/* Success state */
.form-group.success input, .form-group.success select, .form-group.success textarea { border-color: #3A8A56; box-shadow: 0 0 0 3px rgba(58,138,86,0.12); }
/* Form-level success message */
.form-success-msg { display: none; background: rgba(58,138,86,0.08); border: 0.5px solid rgba(58,138,86,0.35); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.form-success-msg.visible { display: block; }
.form-success-msg p { color: #3A8A56; font-size: 0.9rem; margin: 0; font-weight: 500; }
.form-group select { -webkit-appearance: none; }
.form-group select option { background: var(--ivory); color: var(--espresso); }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn { background: var(--espresso); color: var(--ivory); border: none; padding: 1rem 2rem; border-radius: var(--radius); font-family: var(--sans); font-size: 0.875rem; font-weight: 500; cursor: pointer; width: 100%; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; }
.submit-btn:hover { background: var(--brown); }
.whatsapp-cta { display: flex; align-items: center; gap: 0.75rem; background: rgba(37,211,102,0.06); border: 0.5px solid rgba(37,211,102,0.25); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; text-decoration: none; color: var(--espresso); margin-top: 1.5rem; transition: background 0.2s; }
.whatsapp-cta:hover { background: rgba(37,211,102,0.14); }
.wa-icon { width: 36px; height: 36px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-icon svg { width: 18px; height: 18px; fill: white; }
.wa-text { font-size: 0.875rem; color: var(--mid); }
.wa-text strong { display: block; color: var(--espresso); font-size: 0.95rem; margin-bottom: 0.15rem; }
.next-steps-box { margin-top: 2rem; border: 0.5px solid var(--rule); border-radius: var(--radius-lg); padding: 2rem; background: var(--ivory); }
.next-steps-box h4 { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--espresso); margin-bottom: 1.25rem; }
.next-step { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.next-step:last-child { margin-bottom: 0; }
.next-step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--cream); border: 0.5px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--gold); flex-shrink: 0; }
.next-step p { font-size: 0.875rem; color: var(--mid); margin: 0; }
.contact-info-box { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--ivory); border: 0.5px solid var(--rule); }
.contact-info-box p { font-size: 0.85rem; color: var(--mid); line-height: 1.7; }

/* ---- FINAL CTA ---- */
.final-cta { text-align: center; padding: 8rem 2rem; border-top: 0.5px solid var(--rule); width: 100%; box-sizing: border-box; }
.final-cta h2 { max-width: 600px; margin: 0 auto 1.5rem; }
.final-cta p { max-width: 480px; margin: 0 auto 3rem; }

/* ---- PRICING BOX ---- */
.pricing-box { background: var(--cream); border: 0.5px solid var(--rule); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; }

/* ---- FOOTER ---- */

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .nav-inner { padding: 0.9rem 1.5rem; transition: padding 0.3s ease; }
  .nav-links { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 7rem 1.5rem 4rem; }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stats > div { min-width: 100px; }

  section { padding: 4rem 1.5rem; }
  .divider { margin: 0 1.5rem; }

  .problem-wrap { padding: 4rem 0; }
  .problem-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.5rem; }

  .hiw-wrap { padding: 4rem 0; }
  .hiw-inner { padding: 0 1.5rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps::before { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { padding: 2rem; }

  .testimonials-wrap { padding: 4rem 0; }
  .testimonials-inner { padding: 0 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }

  .contact-wrap { padding: 4rem 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; padding: 2rem 1.5rem 4rem; }

  .final-cta { padding: 5rem 1.25rem; }

  .page-header { padding: 7rem 1.5rem 2rem; }
  .page-header p { font-size: 1rem; }

  .service-detail-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-detail-right { border-left: none; padding-left: 0; border-top: 0.5px solid var(--rule); padding-top: 1.5rem; }

  .process-step { grid-template-columns: 60px 1fr; gap: 1.25rem; }
}

@media (max-width: 600px) {
  .hero-content { padding: 6rem 1.25rem 3rem; }
  .pricing-card.featured { border-width: 2px; border-color: var(--gold); background: rgba(201,168,76,0.07); }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-tag { font-size: 0.7rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .btn-primary { width: 100%; text-align: center; }
  .hero-stats { gap: 1.25rem; }
  .stat-num { font-size: 1.8rem; }

  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }

  section { padding: 3rem 1.25rem; }
  .problem-inner { padding: 0 1.25rem; }
  .hiw-inner { padding: 0 1.25rem; }
  .testimonials-inner { padding: 0 1.25rem; }
  .contact-inner { padding: 1.5rem 1.25rem 3rem; }
  .page-header { padding: 6rem 1.25rem 2rem; }
  .final-cta { padding: 4rem 1rem; }

  .about-visual { padding: 1.5rem; }
  .about-metric-val { font-size: 1.5rem; }
  .mission-statement { font-size: 1rem; }

  .service-detail-inner { padding: 1.5rem; }

  .process-step { grid-template-columns: 1fr; }
  .process-step-icon { display: none; }
}

/* ── GALLERY (added for index page) ──────────────────────── */
.gallery-wrap { padding: 0; overflow: hidden; }
.gallery-header { max-width: 1200px; margin: 0 auto; padding: 5rem 4rem 2.5rem; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 3px; }
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.tall { grid-row: span 2; }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,13,0.55) 0%, transparent 50%); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label { position: absolute; bottom: 1rem; left: 1rem; font-size: 0.75rem; color: #FAF7F0; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-label { opacity: 1; }
.gallery-cta-strip { background: var(--surface-alt); padding: 1.5rem 4rem; display: flex; align-items: center; justify-content: space-between; border-top: 0.5px solid var(--rule); }
.gallery-cta-strip p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ── TESTIMONIAL PORTRAIT ─────────────────────────────── */
.testimonial-portrait { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(201,168,76,0.3); }
.testimonial-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.testimonial-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-meta .stars { margin-bottom: 0.2rem; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-header { padding: 4rem 1.5rem 2rem; }
  .gallery-cta-strip { flex-direction: column; gap: 1rem; padding: 1.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item { height: 220px; }
  .gallery-item.tall { grid-row: span 1; }
}

/* =============================================
   NEW SECTIONS — Tarifs, FAQ, Blog, Fondateur, Footer v2
   ============================================= */

/* ---- PRICING PLANS ---- */
.pricing-wrap { background: var(--surface-alt); padding: 6rem 0; }
.pricing-inner { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.pricing-card { border: 0.5px solid var(--rule); border-radius: var(--radius-lg); padding: 2.5rem 2rem; background: var(--cream); display: flex; flex-direction: column; position: relative; transition: border-color 0.2s; }
.pricing-card:hover { border-color: rgba(201,168,76,0.35); }
.pricing-card.featured { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--black); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 1rem; border-radius: 100px; white-space: nowrap; }
.pricing-plan-name { font-family: var(--serif); font-size: 1.3rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.pricing-tagline { font-size: 0.85rem; color: var(--mid); margin-bottom: 2rem; line-height: 1.5; }
.pricing-rate { display: flex; align-items: flex-end; gap: 0.4rem; margin-bottom: 0.5rem; }
.pricing-pct { font-family: var(--serif); font-size: 3.5rem; color: var(--gold); line-height: 1; }
.pricing-pct-label { font-size: 0.8rem; color: var(--muted); padding-bottom: 0.6rem; }
.pricing-basis { font-size: 0.78rem; color: var(--muted); margin-bottom: 2rem; }
.pricing-divider { height: 1px; background: rgba(201,168,76,0.1); margin-bottom: 1.75rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; flex: 1; }
.pricing-features li { font-size: 0.875rem; color: var(--mid); display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.pricing-features li::before { content: '✓'; color: var(--gold); font-size: 0.75rem; flex-shrink: 0; margin-top: 0.15rem; }
.pricing-features li.excluded { color: var(--muted); }
.pricing-features li.excluded::before { content: '×'; color: var(--rule); }
.pricing-cta { margin-top: 2rem; }
.pricing-note { max-width: 640px; margin: 2.5rem auto 0; text-align: center; font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ---- FOUNDER SECTION ---- */
.founder-wrap { padding: 6rem 0; }
.founder-inner { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }
.founder-card { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: center; border: 0.5px solid var(--rule); border-radius: var(--radius-lg); padding: 3rem; background: rgba(255,255,255,0.015); }
.founder-photo-wrap { position: relative; }
.founder-photo { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); border: 0.5px solid var(--rule); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-photo-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 2rem; text-align: center; }
.founder-photo-placeholder svg { opacity: 0.2; }
.founder-photo-placeholder span { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.05em; }
.founder-linkedin { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; background: rgba(10,102,194,0.12); border: 1px solid rgba(10,102,194,0.3); border-radius: var(--radius); padding: 0.6rem 1.1rem; text-decoration: none; color: #6aaaff; font-size: 0.82rem; font-weight: 500; transition: background 0.2s; width: 100%; justify-content: center; }
.founder-linkedin:hover { background: rgba(10,102,194,0.22); }
.founder-linkedin svg { fill: #6aaaff; flex-shrink: 0; }
.founder-info { display: flex; flex-direction: column; }
.founder-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.founder-name { font-family: var(--serif); font-size: 2rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.founder-title { font-size: 0.875rem; color: var(--muted); margin-bottom: 2rem; }
.founder-bio p { margin-bottom: 1.1rem; font-size: 0.95rem; }
.founder-bio p:last-child { margin-bottom: 0; }
.founder-stats { display: flex; gap: 2.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 0.5px solid var(--rule); flex-wrap: wrap; }
.founder-stat-num { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); display: block; line-height: 1; }
.founder-stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.07em; }

/* ---- FAQ ---- */
.faq-wrap { max-width: 800px; margin: 0 auto; padding: 0 4rem 6rem; }
.faq-group { margin-bottom: 3rem; }
.faq-group-title { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.faq-item { border-bottom: 1px solid rgba(201,168,76,0.1); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 1.4rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.faq-question span { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--text-primary); line-height: 1.4; }
.faq-icon { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.25s; }
.faq-icon svg { stroke: var(--gold); transition: transform 0.25s; }
.faq-item.open .faq-icon { background: rgba(201,168,76,0.1); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; }
.faq-answer-inner { padding-bottom: 1.4rem; font-size: 0.9rem; color: var(--mid); line-height: 1.8; }
.faq-answer-inner a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.faq-item.open .faq-answer { max-height: 600px; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.blog-card { border: 0.5px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,0.015); text-decoration: none; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s; }
.blog-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-3px); }
.blog-card-img { height: 200px; overflow: hidden; background: var(--cream); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.blog-card-title { font-family: var(--serif); font-size: 1.1rem; color: var(--text-primary); line-height: 1.35; margin-bottom: 0.75rem; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--mid); line-height: 1.7; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 0.5px solid var(--rule); }
.blog-card-date { font-size: 0.78rem; color: var(--muted); }
.blog-card-read { font-size: 0.78rem; color: var(--gold); }

/* Blog article page */
.blog-article { max-width: 760px; margin: 0 auto; padding: 0 4rem 6rem; }
.blog-article-meta { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.blog-article-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); background: var(--cream); border: 1px solid rgba(201,168,76,0.2); padding: 0.3rem 0.8rem; border-radius: 100px; }
.blog-article-date { font-size: 0.82rem; color: var(--muted); }
.blog-article-read { font-size: 0.82rem; color: var(--muted); }
.blog-article-cover { width: 100%; height: 400px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 3rem; background: var(--cream); }
.blog-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-article-cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.blog-article h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.blog-article h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--text-primary); margin: 2rem 0 0.75rem; letter-spacing: 0.02em; }
.blog-article p { margin-bottom: 1.25rem; font-size: 0.95rem; color: var(--mid); }
.blog-article ul, .blog-article ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-article li { font-size: 0.95rem; color: var(--mid); margin-bottom: 0.5rem; line-height: 1.7; }
.blog-article strong { color: var(--text-primary); font-weight: 500; }
.blog-article a { color: var(--gold); text-underline-offset: 3px; }
.blog-callout { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.blog-callout p { margin: 0; font-size: 0.9rem; color: var(--mid); }
.blog-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--mid); text-decoration: none; margin-bottom: 2rem; transition: color 0.2s; }
.blog-back:hover { color: var(--gold); }

/* ---- FOOTER — see #site-footer rules at bottom of file ---- */

/* ---- LEGAL PAGES ---- */
.legal-body { max-width: 800px; margin: 0 auto; padding: 0 4rem 6rem; }
.legal-body h2 { font-size: 1.3rem; margin: 2.5rem 0 0.75rem; }
.legal-body h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin: 1.5rem 0 0.5rem; }
.legal-body p { font-size: 0.9rem; color: var(--mid); margin-bottom: 1rem; line-height: 1.8; }
.legal-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-body ul li { font-size: 0.9rem; color: var(--mid); margin-bottom: 0.4rem; line-height: 1.7; }
.legal-body a { color: var(--gold); text-underline-offset: 3px; }
.legal-updated { font-size: 0.78rem; color: var(--muted); margin-top: 3rem; border-top: 0.5px solid var(--rule); padding-top: 1.5rem; }

/* ---- RESPONSIVE additions ---- */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-inner { padding: 0 1.5rem; }
  .pricing-wrap { padding: 4rem 0; }
  .founder-card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .founder-photo { aspect-ratio: 1; max-width: 200px; }
  .founder-stats { gap: 1.5rem; }
  .faq-wrap { padding: 0 1.5rem 4rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-article { padding: 0 1.5rem 4rem; }
  .blog-article-cover { height: 260px; }

  .legal-body { padding: 0 1.5rem 4rem; }
  .founder-inner { padding: 0 1.5rem; }
  .founder-wrap { padding: 4rem 0; }
}

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

  .founder-photo { max-width: 160px; }
}

/* ---- LOGO IMAGE ---- */
/* Logo has black background — fits naturally on dark nav/footer */
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; display: block; border-radius: 0; }
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo-img { height: 40px; width: auto; display: block; border-radius: 0; }

@media (max-width: 900px) {
  .nav-logo-img { height: 36px; }
  .footer-logo-img { height: 34px; }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

/* Base state — elements start hidden/offset */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal="fade-up"]   { transform: translateY(36px); }
[data-reveal="fade-left"] { transform: translateX(40px); }
[data-reveal="fade-right"]{ transform: translateX(-40px); }
[data-reveal="fade-in"]   { transform: none; }
[data-reveal="scale-up"]  { transform: scale(0.94); }

/* Revealed state */
[data-reveal].is-visible {
  opacity: 1;
  transform: none !important;
}

/* Stagger delay for grid children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.13s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.21s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.29s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.37s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.45s; }
[data-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

/* Section label pop */
.section-label {
  transition: opacity 0.5s ease, letter-spacing 0.5s ease;
}

/* Stat number count-up effect handled by JS — prep styles */
.stat-num, .founder-stat-num, .about-metric-val, .pricing-pct {
  display: block;
}

/* Smooth underline on nav links */
.nav-links a::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  margin-top: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Parallax wrapper for hero */
.hero-bg-photo img {
  will-change: transform;
}

/* Page transition fade-in on load */
body {
  animation: pageFadeIn 0.4s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reduce motion override */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > * { transition: none !important; opacity: 1 !important; transform: none !important; }
  body { animation: none; }
  .hero-bg-photo img { will-change: auto; }
}

/* ── NAV RIGHT GROUP (lang btn + cta + hamburger) ──────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language switcher button */
.nav-lang-btn {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--mid);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.nav-lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Mobile lang button */
.nav-lang-btn-mobile {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--mid);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  cursor: pointer;
  width: fit-content;
  margin: 0.5rem auto 0;
  display: block;
  transition: all 0.2s;
}
.nav-lang-btn-mobile:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── LOGO IMAGES (wordmark — wide aspect ratio ~5:1) ────── */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 0;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 0;
}

@media (max-width: 900px) {
  .nav-logo-img { height: 36px; }
  .footer-logo-img { height: 34px; }
}

/* ═══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER — globe dropdown
   ═══════════════════════════════════════════════════════════ */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Trigger — matches nav link style, no border */
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  color: var(--mid);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
  color: var(--gold);
}
.lang-trigger svg { flex-shrink: 0; opacity: 0.8; }
.lang-trigger:hover svg,
.lang-trigger[aria-expanded="true"] svg { opacity: 1; }

/* Chevron */
.lang-chevron { transition: transform 0.18s ease; }
.lang-trigger[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  background: #161616;
  border: 0.5px solid var(--rule);
  border-radius: 8px;
  padding: 0.3rem;
  min-width: 120px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 200;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Option buttons */
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  text-align: left;
  letter-spacing: 0.01em;
}
.lang-option:hover {
  background: rgba(201,168,76,0.07);
  color: var(--ivory);
}
.lang-option.active {
  color: var(--gold);
  font-weight: 500;
}


/* Hide old buttons from previous version */
.nav-lang-btn,
.nav-lang-btn-mobile { display: none !important; }

/* Safety fallback: if IntersectionObserver never fires,
   data-reveal elements become visible after 1.5s */
@keyframes revealFallback {
  to { opacity: 1; transform: none; }
}
[data-reveal]:not(.is-visible) {
  animation: revealFallback 0s 1.5s forwards;
}

/* ── WHATSAPP BUTTON & BUBBLE ────────────────────────────── */
.btn-whatsapp { display:inline-flex; align-items:center; gap:0.6rem; background:#25D366; color:#fff; padding:0.9rem 2rem; border-radius:var(--radius); font-size:0.95rem; font-weight:500; text-decoration:none; transition:background 0.2s; white-space:nowrap; }
.btn-whatsapp:hover { background:#1ebe59; }
.btn-whatsapp img { width:20px; height:20px; flex-shrink:0; display:block; }
.wa-bubble { position:fixed; bottom:calc(1.75rem + env(safe-area-inset-bottom, 0px)); right:1.75rem; z-index:300; width:56px; height:56px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(37,211,102,0.35); text-decoration:none; transition:transform 0.2s, box-shadow 0.2s; }
.wa-bubble:hover { transform:scale(1.08); box-shadow:0 6px 28px rgba(37,211,102,0.45); }
.wa-bubble img { width:30px; height:30px; display:block; }
.wa-bubble-tooltip { position:absolute; right:68px; background:rgba(13,13,13,0.9); color:#fafaf8; font-size:0.78rem; white-space:nowrap; padding:0.4rem 0.75rem; border-radius:6px; opacity:0; pointer-events:none; transition:opacity 0.2s; }
.wa-bubble:hover .wa-bubble-tooltip { opacity:1; }
/* wa-bubble position on all screens (safe-area-inset in base rule above) */
@media (max-width: 767px) {
  .wa-bubble {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); /* clears 56px sticky CTA bar */
    right: 1rem;
    width: 50px;
    height: 50px;
  }
  .wa-bubble img { width: 26px; height: 26px; }
}

/* ══════════════════════════════════════════════
   STICKY MOBILE CTA BAR
   ══════════════════════════════════════════════ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--gold);
  padding: 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
}
.mobile-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  color: var(--black);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.mobile-sticky-cta { transform: translateY(100%); }  /* hidden by default */
.mobile-sticky-cta.hidden { transform: translateY(100%); transition: transform 0.3s ease; }
.mobile-sticky-cta.visible { transform: translateY(0); transition: transform 0.3s ease; }

@media (max-width: 900px) {
  .mobile-sticky-cta { display: block; }
  /* Push footer content above sticky bar */
  .site-footer { padding-bottom: 4.5rem; }
}
@media (min-width: 901px) {
  .mobile-sticky-cta { display: none !important; }
}

/* ── Language switcher (SSG edition) ────────────────────────── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(28,18,6,0.06);
  border-radius: 20px;
  padding: 3px;
  gap: 0;
}
.lang-btn {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--mid);
  text-decoration: none;
  cursor: pointer;
  padding: 0.22rem 0.65rem;
  border-radius: 16px;
  transition: color 0.18s, background 0.18s;
  line-height: 1;
}
.lang-btn:hover { color: var(--espresso); }
.lang-btn--active {
  color: var(--espresso);
  font-weight: 600;
  background: var(--cream);
  box-shadow: 0 1px 3px rgba(28,18,6,0.1);
  pointer-events: none;
}
.lang-btn--disabled {
  pointer-events: none;
  opacity: 0.4;
}
.lang-divider {
  display: none;
}

/* ── Accessibility utilities ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: .5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  z-index: 9999;
}

/* ── Footer (dark theme) ─────────────────────────────────────────────────── */
#site-footer {
  background: #1C1206;
  color: rgba(240,232,213,0.75);
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  display: block;
  position: relative;
  overflow: hidden;
}
#site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/media/pattern.svg');
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.025;
  filter: invert(72%) sepia(35%) saturate(600%) hue-rotate(5deg) brightness(95%);
  pointer-events: none;
  z-index: 0;
}
#site-footer .footer-inner,
#site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}
#site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 4rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  background: transparent;
}
#site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
}
#site-footer .footer-logo { display: block; width: 140px; height: auto; margin-bottom: 1.25rem; }
#site-footer .footer-tagline { font-size: 0.875rem; line-height: 1.7; color: rgba(240,232,213,0.65); margin: 0 0 0.6rem; }
#site-footer .footer-location { font-size: 0.82rem; color: rgba(240,232,213,0.40); margin: 0 0 1.25rem; }
#site-footer .footer-social { display: flex; gap: 0.6rem; align-items: center; }
#site-footer .footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(201,168,76,0.10); border: 1px solid rgba(201,168,76,0.22);
  color: rgba(240,232,213,0.65); text-decoration: none; flex-shrink: 0;
}
#site-footer .footer-col { background: transparent; }
#site-footer .footer-col h4 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 1rem;
}
#site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
#site-footer .footer-col ul li a,
#site-footer .footer-col ul a { color: rgba(240,232,213,0.60); text-decoration: none; font-size: 0.875rem; display: block; }
#site-footer .footer-col ul li a:hover,
#site-footer .footer-col ul a:hover { color: #F0E8D5; }
#site-footer .footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 1.25rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
}
#site-footer .footer-bottom p { font-size: 0.8rem; color: rgba(240,232,213,0.30); margin: 0; }
@media (max-width: 900px) {
  #site-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  #site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  #site-footer .footer-inner { grid-template-columns: 1fr; padding: 2.5rem 1.25rem 2rem; }
  #site-footer .footer-bottom { padding: 1rem 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL LAYOUT SYSTEM — Homepage (data-page="home")
   Snap-to-screen removed; natural document flow restored.
   ══════════════════════════════════════════════════════════════ */

/* Body scrolls normally */
body[data-page="home"] { overflow-x: hidden; }

/* ── Scroll container — transparent wrapper ──────────────────── */
.snap-container {
  width: 100%;
  overflow-y: visible;
  overflow-x: hidden;
}

/* Each section — natural height, no snap constraints */
.snap-section {
  width: 100%;
  position: relative;
  overflow-x: hidden;   /* clip any child overflow per-section — html/body overflow-x:hidden is unreliable on iOS Safari */
  overflow-y: visible;
  box-sizing: border-box;
}

/* Footer override — auto height */
.snap-section.section-snap-footer {
  height: auto;
  min-height: auto;
  overflow-x: hidden;
  overflow-y: visible;
}

/* ── Progress dots — hidden (snap removed) ───────────────────── */
.snap-dots { display: none !important; }
.snap-dot  { display: none !important; }

/* ── Nav override on homepage ────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
}
.nav-logo-img {
  display: block;
  height: 36px;
  width: auto;
}

/* ── SECTION 1: Hero ─────────────────────────────────────────── */
body[data-page="home"] .hero-wrap {
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1C1206;
  width: 100%;
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,8,4,0.72) 0%,
    rgba(12,8,4,0.55) 30%,
    rgba(12,8,4,0.45) 50%,
    rgba(12,8,4,0.60) 75%,
    rgba(12,8,4,0.85) 100%
  );
}
.hero-bg-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(12,8,4,0.35) 100%);
}
body[data-page="home"] .hero-left {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: max(7rem, 15vh) 2rem 6rem;
  width: 100%;
  max-width: 760px;
}
@media (max-width: 767px) {
  body[data-page="home"] .hero-left {
    align-items: center;
    justify-content: center;
    padding: 5.5rem 1.25rem 3rem;
    min-height: 100dvh;
    max-width: 100%;
  }
}
.hero-left-inner { max-width: 640px; width: 100%; }

body[data-page="home"] .hero-wrap h1 { color: #FDFAF4; }
body[data-page="home"] .hero-title em { color: var(--gold); font-style: italic; }
body[data-page="home"] .hero-tag {
  background: rgba(12,8,4,0.45);
  border-color: rgba(201,168,76,0.45);
  color: rgba(253,250,244,0.8);
  display: inline-flex; /* keep flex so ::before dot stays vertically centred */
  align-items: center;
}
body[data-page="home"] .hero-sub { color: rgba(253,250,244,0.75); }
body[data-page="home"] .btn-ghost { color: rgba(253,250,244,0.8); border-color: rgba(253,250,244,0.35); }
body[data-page="home"] .btn-ghost:hover { color: #FDFAF4; border-color: rgba(253,250,244,0.7); }
body[data-page="home"] .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  animation: bounceDown 2s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 0.72rem;
  color: rgba(253,250,244,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-scroll-hint svg { width: 20px; height: 20px; color: rgba(253,250,244,0.5); }
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 767px) {
  .hero-scroll-hint { display: none; }
}
/* ── SECTION 2: Problem ──────────────────────────────────────── */
.section-snap-problem {
  background: var(--ivory);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.section-snap-problem .problem-scroll-wrap {
  width: 100%;
}
.section-snap-problem .problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 4rem 5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .section-snap-problem .problem-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 5rem 1.5rem 3rem;
  }
}

/* ── SECTION 3: Philosophy / Trust ──────────────────────────── */
.section-snap-philosophy {
  background: var(--warm-cream);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.section-snap-philosophy .philosophy-scroll-wrap {
  width: 100%;
}
.section-snap-philosophy .testimonials-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 4rem 5rem;
}
@media (max-width: 900px) {
  .section-snap-philosophy .testimonials-inner { padding: 5rem 1.5rem 3rem; }
}

/* ── SECTION 4: Cities (static grid gallery) ─────────────────── */
.section-snap-cities {
  background: #1C1206;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.cities-header {
  padding: 5rem 4rem 2.5rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.cities-header .section-label { color: rgba(201,168,76,0.7); }
.cities-header h2 { color: #FDFAF4; max-width: 560px; }
.cities-header p { color: rgba(253,250,244,0.6); max-width: 520px; margin-top: 0.5rem; }

/* Hide the old scroll hint arrow */
.cities-scroll-hint { display: none; }

/* Static 3-column grid gallery */
.cities-hscroll-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: visible;
  cursor: default;
  padding: 0 4rem 4rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.city-slide {
  position: relative;
  overflow: hidden;
  height: 420px;
  width: 100%;
}
.city-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.city-slide:hover img { transform: scale(1.04); }

.city-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,8,4,0.88) 0%, rgba(12,8,4,0.2) 55%, transparent 100%);
}
.city-slide-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 2.5rem;
  z-index: 2;
}
.city-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: #FDFAF4;
  line-height: 1;
  display: block;
  letter-spacing: -0.01em;
}
.city-sub {
  font-size: 0.78rem;
  color: rgba(201,168,76,0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}

/* CTA panel spans full width below the 3 photos */
.city-cta-slide {
  grid-column: 1 / -1;
  background: rgba(201,168,76,0.08);
  border-top: 0.5px solid rgba(201,168,76,0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
}
.city-cta-slide p { font-size: 1rem; color: rgba(253,250,244,0.7); line-height: 1.7; margin: 0; }

@media (max-width: 900px) {
  .cities-header { padding: 4rem 1.25rem 2rem; }
  .cities-hscroll-wrap {
    grid-template-columns: 1fr;
    padding: 0 0 3rem;      /* remove side padding — images go full width */
  }
  .city-slide { height: 280px; }
  .city-cta-slide { flex-direction: column; align-items: flex-start; padding: 1.75rem 1.25rem; }
}
@media (max-width: 600px) {
  .cities-header { padding: 3.5rem 1rem 1.75rem; }
  .city-slide { height: 240px; }
  .city-cta-slide { padding: 1.5rem 1rem; }
}

/* ── SECTION 5: Services ─────────────────────────────────────── */
.section-snap-services {
  background: var(--ivory);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.section-snap-services > section {
  width: 100%;
  padding: 6rem 4rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .section-snap-services > section { max-height: none; overflow: visible; }
}
@media (max-width: 900px) {
  .section-snap-services > section { padding: 5rem 1.5rem 3rem; }
}

/* ── SECTION 6: How it works ─────────────────────────────────── */
.section-snap-hiw {
  background: var(--warm-cream);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.section-snap-hiw .hiw-scroll-wrap {
  width: 100%;
}
.section-snap-hiw .hiw-inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 4rem 5rem;
}
@media (max-width: 900px) {
  .section-snap-hiw .hiw-inner { padding: 5rem 1.5rem 3rem; }
}

/* ── SECTION 7: Calculator ───────────────────────────────────── */
.section-snap-calc {
  background: var(--warm-cream);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.section-snap-calc .calc-scroll-wrap {
  width: 100%;
  box-sizing: border-box;
}

/* ── SECTION 8: Final CTA ────────────────────────────────────── */
.section-snap-cta {
  background: var(--cream);
  border-top: 0.5px solid var(--rule);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.section-snap-cta .cta-scroll-wrap {
  width: 100%;
  box-sizing: border-box;
}
.section-snap-cta .final-cta {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  text-align: center;
  box-sizing: border-box;
  background: transparent;
  border-top: none;
}
@media (max-width: 900px) {
  .section-snap-cta .final-cta { padding: 5rem 1.25rem 3rem; }
}
@media (max-width: 600px) {
  .section-snap-cta .final-cta { padding: 4rem 1rem 2.5rem; }
}

/* ── SECTION 9: Footer ───────────────────────────────────────── */
/* (section-snap-footer is in .snap-section override above) */

/* ── Entrance animations — triggered by IntersectionObserver ──── */
.snap-section .anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.snap-section.in-view .anim-fade-up { opacity: 1; transform: translateY(0); }
/* Hero section always visible on load */
.snap-section:first-child .anim-fade-up,
.snap-section:first-child.in-view .anim-fade-up { opacity: 1; transform: translateY(0); }

/* Stagger delays by nth-child within each parent */
.snap-section .anim-fade-up:nth-child(1) { transition-delay: 0.05s; }
.snap-section .anim-fade-up:nth-child(2) { transition-delay: 0.15s; }
.snap-section .anim-fade-up:nth-child(3) { transition-delay: 0.25s; }
.snap-section .anim-fade-up:nth-child(4) { transition-delay: 0.35s; }

/* Hero override — CSS animation on load */
body[data-page="home"] .hero-wrap .anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
  transition: none;
}
.anim-delay-1 { animation-delay: 0.2s; }
.anim-delay-2 { animation-delay: 0.4s; }
.anim-delay-3 { animation-delay: 0.6s; }
.anim-delay-4 { animation-delay: 0.8s; }
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── WhatsApp button ─────────────────────────────────────────── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-whatsapp:hover { background: #1ebe59; }
.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Homepage testimonials section overrides ─────────────────── */
.problem-icon-svg { width: 40px; height: 40px; margin-bottom: 1rem; }
.testimonial-portrait { width:52px; height:52px; border-radius:50%; overflow:hidden; flex-shrink:0; border:2px solid rgba(201,168,76,0.3); }
.testimonial-portrait img { width:100%; height:100%; object-fit:cover; object-position:top center; }
.testimonial-header { display:flex; align-items:center; gap:0.85rem; margin-bottom:1.25rem; }
.testimonial-meta { display:flex; flex-direction:column; }
.testimonial-author { font-size:0.84rem; color:var(--muted); margin-top:0; }
.testimonial-author strong { color:var(--espresso); font-weight:500; display:block; }
.testimonial blockquote { font-size:0.88rem; color:var(--mid); line-height:1.85; font-style:italic; }
.trust-bar { display:flex; flex-wrap:wrap; gap:1.5rem; margin-top:2.5rem; padding-top:2rem; border-top:1px solid rgba(201,168,76,0.1); }
.trust-item { display:flex; align-items:center; gap:0.6rem; font-size:0.84rem; color:var(--mid); }
.trust-item svg { width:16px; height:16px; color:var(--gold); flex-shrink:0; }

/* ── Final CTA form ──────────────────────────────────────────── */
.final-cta-actions { display:flex; flex-direction:column; align-items:center; gap:1rem; margin-top:2rem; width:100%; box-sizing:border-box; }
.final-cta-actions .btn-whatsapp { white-space: normal; text-align: center; overflow-wrap: break-word; word-break: break-word; }
.final-cta-divider { font-size:0.82rem; color:#7A6040; }

/* ── Footer logo on dark bg ──────────────────────────────────── */
.footer-logo-text {
  display: block;
  height: 34px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(62%) sepia(18%) saturate(450%) hue-rotate(15deg) brightness(80%);
}

/* ── Nav scroll shrink (via snap-container scroll) ───────────── */
/* nav.scrolled defined at top of file — no duplicate needed */

/* ── Calculator inline section ───────────────────────────────── */
.calc-section {
  background: var(--warm-cream);
  border-top: 1px solid rgba(201,168,76,0.22);
  border-bottom: 1px solid rgba(201,168,76,0.22);
  width: 100%;
  box-sizing: border-box;
}
.calc-cta-row { display:flex; gap:0.75rem; flex-wrap:wrap; }

/* ── Quick estimate form ─────────────────────────────────────── */
.qe-form {
  max-width: 480px;
  width: 100%;           /* must shrink on narrow viewports */
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-sizing: border-box;
}
.qe-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .qe-form-row { grid-template-columns: 1fr; }
  .calc-result-row { gap: 1.5rem; }
  .calc-row { grid-template-columns: 1fr; }
}
.qe-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.qe-input, .qe-select {
  background: var(--ivory);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--sans);
  color: var(--espresso);
  outline: none;
  width: 100%;
  min-width: 0;          /* iOS Safari: kills intrinsic size so width:100% actually wins */
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.qe-input:focus, .qe-select:focus { border-color: var(--gold); }
.qe-select { -webkit-appearance: none; appearance: none; cursor: pointer; min-width: 0; }

/* Bare divs wrapping inputs inside qe-form must not expand beyond their grid cell */
.qe-form > div,
.qe-form-row > div {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.qe-submit {
  background: var(--espresso);
  color: var(--gold);
  border: 1.5px solid rgba(201,168,76,0.4);
  border-radius: var(--radius);
  padding: 0.9rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;        /* allow long text to wrap on narrow phones */
  overflow-wrap: break-word;
  word-break: break-word;
}
.qe-submit:hover { background: var(--brown); }
.qe-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.25rem;
}

/* ══════════════════════════════════════════════════════════════
   BUG FIX: Missing calculator mini-widget CSS
   ══════════════════════════════════════════════════════════════ */

.calc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 4rem 4rem;
  box-sizing: border-box;
}

.calc-section .calc-inner {
  background: var(--warm-cream);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 500;
}

.calc-field select {
  background: var(--ivory);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--sans);
  color: var(--espresso);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6040' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.calc-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.calc-result-panel {
  background: var(--espresso);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 8px 32px rgba(12,8,4,0.18);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-result-main {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.calc-result-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.6);
  margin-bottom: 0.5rem;
}

.calc-result-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  line-height: 1.1;
  font-weight: 400;
}

.calc-result-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.calc-result-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.calc-result-item .num {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(240,232,213,0.85);
  font-weight: 400;
  display: block;
}

.calc-result-item .lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(240,232,213,0.4);
  display: block;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: rgba(240,232,213,0.35);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.calc-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 900px) {
  .calc-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 1.5rem 3rem;
  }
}

@media (max-width: 600px) {
  .calc-inner { padding: 3.5rem 1.25rem 2.5rem; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-result-row { gap: 1.5rem; }
  .calc-result-num { font-size: 1.8rem; }
}


/* ══════════════════════════════════════════════════════════════
   BUG FIX: anim-fade-up stagger — use :nth-of-type workaround
   The snap-section wrapper makes :nth-child count all children,
   so we use a dedicated class-based delay system instead.
   ══════════════════════════════════════════════════════════════ */

/* Remove the broken broad nth-child selectors (overridden here) */
.snap-section .anim-fade-up:nth-child(1),
.snap-section .anim-fade-up:nth-child(2),
.snap-section .anim-fade-up:nth-child(3),
.snap-section .anim-fade-up:nth-child(4) {
  transition-delay: 0s; /* reset broken global delays */
}

/* Stagger system: apply .anim-delay-N to siblings within wrappers */
.snap-section.in-view .anim-fade-up { transition-delay: 0.05s; }

/* Nested stagger — children within common containers */
.snap-section.in-view .section-label.anim-fade-up   { transition-delay: 0.0s; }
.snap-section.in-view h2.anim-fade-up               { transition-delay: 0.08s; }
.snap-section.in-view p.anim-fade-up                { transition-delay: 0.16s; }
.snap-section.in-view .trust-bar.anim-fade-up       { transition-delay: 0.24s; }
.snap-section.in-view .steps                         { transition-delay: 0.10s; }
.snap-section.in-view .problem-cards.anim-fade-up   { transition-delay: 0.20s; }
.snap-section.in-view .services-grid                 { transition-delay: 0.15s; }
.snap-section.in-view .calc-inner.anim-fade-up       { transition-delay: 0.10s; }

/* Step items stagger */
.snap-section.in-view .step:nth-child(1).anim-fade-up { transition-delay: 0.05s; }
.snap-section.in-view .step:nth-child(2).anim-fade-up { transition-delay: 0.15s; }
.snap-section.in-view .step:nth-child(3).anim-fade-up { transition-delay: 0.25s; }
.snap-section.in-view .step:nth-child(4).anim-fade-up { transition-delay: 0.35s; }

/* Problem cards stagger */
.snap-section.in-view .problem-card:nth-child(1).anim-fade-up { transition-delay: 0.10s; }
.snap-section.in-view .problem-card:nth-child(2).anim-fade-up { transition-delay: 0.20s; }
.snap-section.in-view .problem-card:nth-child(3).anim-fade-up { transition-delay: 0.30s; }
.snap-section.in-view .problem-card:nth-child(4).anim-fade-up { transition-delay: 0.40s; }

/* Service cards stagger */
.snap-section.in-view .service-card:nth-child(1).anim-fade-up { transition-delay: 0.05s; }
.snap-section.in-view .service-card:nth-child(2).anim-fade-up { transition-delay: 0.15s; }
.snap-section.in-view .service-card:nth-child(3).anim-fade-up { transition-delay: 0.25s; }
.snap-section.in-view .service-card:nth-child(4).anim-fade-up { transition-delay: 0.35s; }


/* ══════════════════════════════════════════════════════════════
   BUG FIX: hero overlay z-index stacking order
   ::before (vignette) must be above ::after (dark gradient)
   ══════════════════════════════════════════════════════════════ */

.hero-bg-photo::after {
  z-index: 1; /* dark gradient layer */
}

.hero-bg-photo::before {
  z-index: 2; /* radial vignette on top */
}

/* Hero text content sits above both overlays */
body[data-page="home"] .hero-left {
  z-index: 3;
}


/* ══════════════════════════════════════════════════════════════
   SCROLL-DRIVEN ANIMATIONS
   Note: snap-scroll removed; hero parallax kept via scroll(root).
   City animations removed (no longer horizontal-scrolled).
   ══════════════════════════════════════════════════════════════ */

/* ── Hero parallax via scroll-driven animation ── */
@supports (animation-timeline: scroll()) {
  .hero-bg-photo img {
    animation: heroParallax linear both;
    animation-timeline: scroll(root);
    animation-range: entry 0% cover 50%;
  }

  @keyframes heroParallax {
    from { transform: scale(1.08) translateY(0); }
    to   { transform: scale(1.08) translateY(8%); }
  }
}

/* ── Scroll progress bar ─────────────────────────────────────
   Now uses root scroll since snap-container no longer owns scroll. ── */
@supports (animation-timeline: scroll()) {
  #main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1.5px;
    width: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
    transform-origin: left;
    transform: scaleX(0);
    animation: navProgress linear both;
    animation-timeline: scroll(root);
  }

  @keyframes navProgress {
    from { transform: scaleX(0); background: var(--gold); }
    to   { transform: scaleX(1); background: var(--gold); }
  }
}

/* ── Reduced motion: disable all scroll-driven animations ── */
@media (prefers-reduced-motion: reduce) {
  @supports (animation-timeline: scroll()) {
    .hero-bg-photo img,
    #main-nav::after {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }
}


/* ══════════════════════════════════════════════════════════════
   NAV SCROLL — window scroll drives nav state (no snap-container)
   ══════════════════════════════════════════════════════════════ */
#main-nav.scrolled {
  background: rgba(250,247,240,0.98) !important;
  box-shadow: 0 2px 20px rgba(28,18,6,0.10) !important;
}

/* On hero (dark bg), nav should start transparent */
body[data-page="home"] #main-nav:not(.scrolled) {
  background: transparent;
  border-bottom-color: rgba(201,168,76,0.15);
}

body[data-page="home"] #main-nav:not(.scrolled) .nav-links a,
body[data-page="home"] #main-nav:not(.scrolled) .nav-logo-img {
  filter: brightness(0) invert(1); /* white links on dark hero */
}

/* Gold CTA still visible on dark hero */
body[data-page="home"] #main-nav:not(.scrolled) .nav-cta {
  background: var(--gold);
  color: var(--espresso);
  filter: none;
}

body[data-page="home"] #main-nav:not(.scrolled) .lang-btn {
  color: rgba(253,250,244,0.8);
  filter: none;
}

body[data-page="home"] #main-nav:not(.scrolled) .lang-btn--active {
  background: rgba(201,168,76,0.2);
  color: var(--gold);
}

body[data-page="home"] #main-nav:not(.scrolled) .nav-hamburger span {
  background: #FDFAF4;
}

/* When mobile drawer is open, restore dark colours — nav sits above the light drawer */
body.nav-open #main-nav .nav-logo-img {
  filter: none !important;
}
body.nav-open #main-nav .nav-hamburger span {
  background: var(--espresso) !important;
}

/* Smooth transition */
#main-nav {
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
#main-nav .nav-links a,
#main-nav .nav-logo-img,
#main-nav .nav-hamburger span {
  transition: filter 0.35s ease, color 0.2s ease;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE LAYOUT FIXES
   Target: ≤767px (phones).
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* ── Nav: close button affordance for full-screen drawer ──── */
  body.nav-open { overflow: hidden; }

  /* ── Tighten section inner padding for small screens ─────── */
  .section-snap-problem .problem-inner,
  .section-snap-hiw .hiw-inner { padding: 4rem 1.25rem 3rem; }

  .section-snap-philosophy .testimonials-inner { padding-top: 4rem; }

  .section-snap-services > section { padding-top: 4rem; }

  /* ── Services grid: force 1 column on mobile ─────────────── */
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card { padding: 1.5rem 1.25rem; }

  /* ── Cities header: already handled at 600px above, fine-tune ── */
  .cities-header h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }

  /* ── Problem section: reduce card gap ────────────────────── */
  .problem-cards { gap: 0.75rem !important; }
  .problem-card { padding: 1.25rem !important; }

  /* ── HIW steps: stack to 1 col on very small screens ─────── */
  .steps { grid-template-columns: 1fr !important; gap: 1.5rem; }

  /* ── Calculator: single column, sensible padding ─────────── */
  .calc-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.5rem 1.25rem 2.5rem;
  }

  /* ── Hero title size ─────────────────────────────────────── */
  body[data-page="home"] .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  body[data-page="home"] .hero-sub { font-size: 0.95rem; margin-bottom: 1.75rem; }

  /* ── WA bubble: clear mobile sticky CTA bar ─────────────── */
  .wa-bubble {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    width: 50px;
    height: 50px;
  }
  .wa-bubble img { width: 26px; height: 26px; }

  /* ── Non-homepage page headers ───────────────────────────── */
  .page-header { padding: 5.5rem 1.25rem 2rem !important; }

  /* ── Form inputs: 16px min prevents iOS Safari auto-zoom ─── */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .calc-input,
  .qe-select { font-size: 1rem; }

}

/* Smallest phones (≤390px) */
@media (max-width: 390px) {
  .section-snap-problem .problem-inner,
  .section-snap-services > section,
  .section-snap-hiw .hiw-inner { padding-left: 1rem; padding-right: 1rem; }

  .calc-inner { padding-left: 1rem; padding-right: 1rem; }

  body[data-page="home"] .hero-left { padding-left: 1rem; padding-right: 1rem; }
  body[data-page="home"] .hero-title { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
}

/* ══════════════════════════════════════════════════════════════
   PAGE CONTENT WRAPPERS — replaces hardcoded inline padding:0 4rem
   Fixes: services, comment-ca-marche, a-propos pages
   ══════════════════════════════════════════════════════════════ */
.page-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem 6rem;
}
.page-content-wrap--narrow {
  max-width: 900px;
}
@media (max-width: 900px) {
  .page-content-wrap { padding: 0 1.5rem 4rem; }
}
@media (max-width: 600px) {
  .page-content-wrap { padding: 0 1.25rem 3rem; }
}
