@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tifinagh&display=swap');

/* ============================================
   COMPONENTS — TEMPLATE
   ============================================ */

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background var(--transition-base) var(--ease-silk),
    color var(--transition-base) var(--ease-silk),
    border-color var(--transition-base) var(--ease-silk),
    transform var(--transition-base) var(--ease-elastic),
    box-shadow var(--transition-slow) var(--ease-silk);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Primary — Accent with glow */
.btn-primary {
  background: var(--color-accent);
  color: #FFFFFF;
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -4px rgb(11 30 91 / 0.3), 0 4px 8px -2px rgb(11 30 91 / 0.15);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
  transition-duration: 100ms;
}

/* Ghost — on light background */
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-ghost-hover);
  border-color: var(--color-border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 100ms;
}

/* Ghost — on dark background */
.btn-ghost-dark {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

.btn-ghost-dark:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 100ms;
}

/* WhatsApp */
.btn-whatsapp {
  background: #25D366;
  color: #0B0D14;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -4px rgb(37 211 102 / 0.3);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 100ms;
}

/* ================================================================
   NAVIGATION — Two-row: info bar (navy) + main nav (white)
================================================================ */

/* ---- Top info bar (navy) ---- */
.nav-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  display: none;
  transition: transform var(--transition-base) var(--ease-out);
}

@media (min-width: 768px) {
  .nav-topbar { display: block; }
}

.nav-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 var(--space-5);
  max-width: var(--container-xl);
  margin: 0 auto;
}

@media (min-width: 1280px) {
  .nav-topbar-inner { padding: 0 var(--space-16); }
}

.nav-topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-topbar-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast) var(--ease-out);
}

.nav-topbar-item:hover { color: #FFFFFF; }

.nav-topbar-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
}

.nav-topbar-social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-topbar-social a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast) var(--ease-out);
  display: flex;
}

.nav-topbar-social a:hover { color: #FFFFFF; }

/* ---- Main nav bar (frosted glass) ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  transition:
    box-shadow var(--transition-slow) var(--ease-silk),
    background var(--transition-slow) var(--ease-silk),
    border-color var(--transition-slow) var(--ease-silk);
}

/* Frosted glass only on desktop (avoids mobile backdrop-filter bugs) */
@media (min-width: 768px) {
  .nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

.nav.scrolled {
  box-shadow: 0 1px 24px -4px rgb(0 0 0 / 0.06);
  background: #FFFFFF;
  border-bottom-color: rgba(229, 231, 235, 0.7);
}

@media (min-width: 768px) {
  .nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
  }
}

/* Homepage hero: transparent nav over image */
.nav.nav-hero-mode {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

/* Mobile: soft top scrim so the white logo reads over bright hero areas */
@media (max-width: 767px) {
  .nav.nav-hero-mode::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(37, 45, 70, 0.35), rgba(37, 45, 70, 0));
    transition: opacity var(--transition-slow) var(--ease-silk);
  }
  .nav.nav-hero-mode.scrolled::before { opacity: 0; }
}

.nav.nav-hero-mode .nav-link { color: rgba(255,255,255,0.85); }
.nav.nav-hero-mode .nav-link:hover { color: #FFFFFF; }
.nav.nav-hero-mode .nav-hamburger span { background: #FFFFFF; }
.nav.nav-hero-mode .nav-dropdown-toggle { color: rgba(255,255,255,0.85); }
.nav.nav-hero-mode .nav-dropdown-toggle:hover { color: #FFFFFF; }
.nav.nav-hero-mode .nav-cta { border-color: rgba(255,255,255,0.3); color: #FFFFFF; }

.nav.nav-hero-mode.scrolled {
  background: #FFFFFF;
  border-bottom-color: rgba(229, 231, 235, 0.7);
}

@media (min-width: 768px) {
  .nav.nav-hero-mode.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

.nav.nav-hero-mode.scrolled .nav-link { color: var(--color-text-muted); }
.nav.nav-hero-mode.scrolled .nav-link:hover { color: var(--color-accent); }
.nav.nav-hero-mode.scrolled .nav-hamburger span { background: var(--color-text); }
.nav.nav-hero-mode.scrolled .nav-dropdown-toggle { color: var(--color-text-muted); }
.nav.nav-hero-mode.scrolled .nav-cta { border-color: var(--color-accent); color: var(--color-accent); }

/* Shift nav down when topbar is visible */
@media (min-width: 768px) {
  .nav { top: 36px; }
  .nav.scrolled-past-topbar { top: 0; }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--space-5);
  max-width: var(--container-xl);
  margin: 0 auto;
}

@media (min-width: 1280px) {
  .nav-inner { padding: 0 var(--space-16); }
}

/* Logo */
.nav-logo {
  display: flex;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
  transition: opacity var(--transition-slow) var(--ease-silk);
}

.nav-logo:hover .nav-logo-img { opacity: 0.8; }

@media (min-width: 768px) {
  .nav-logo-img { height: 36px; }
}

/* Hero mode: invert logo to white */
.nav.nav-hero-mode .nav-logo-img {
  filter: brightness(0) invert(1);
}

.nav.nav-hero-mode.scrolled .nav-logo-img {
  filter: none;
}

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast) var(--ease-out);
}

.nav-link:hover { color: var(--color-text); }
.nav-link.active { color: var(--color-text); font-weight: var(--font-weight-semibold); }

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast) var(--ease-out);
  background: none;
  border: none;
}

.nav-dropdown-toggle:hover { color: var(--color-text); }

.nav-dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-base) var(--ease-out);
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition:
    opacity var(--transition-base) var(--ease-silk),
    transform var(--transition-base) var(--ease-elastic),
    visibility var(--transition-base);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown-item {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast) var(--ease-out),
              color var(--transition-fast) var(--ease-out);
}

.nav-dropdown-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

/* Nav actions (right side) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-actions .btn {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
}

@media (min-width: 1024px) {
  .nav-actions .btn {
    padding: var(--space-2) var(--space-6);
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-wide);
  }
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base) var(--ease-brand),
              opacity var(--transition-base) var(--ease-out);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #FFFFFF;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  box-shadow: -8px 0 40px -8px rgb(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.4);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 350ms var(--ease-silk),
    visibility 350ms;
  -webkit-tap-highlight-color: transparent;
}

.nav-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Drawer header — logo + close */
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.nav-drawer-logo {
  display: flex;
}

.nav-drawer-logo-img {
  height: 28px;
  width: auto;
}

.nav-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  border: none;
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background var(--transition-fast) var(--ease-out),
              color var(--transition-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.nav-drawer-close:hover,
.nav-drawer-close:active {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

/* Drawer nav links */
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: var(--space-2) 0;
  flex: 1;
}

/* Stagger animation for drawer items */
.nav-drawer-item {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.nav-drawer.open .nav-drawer-item {
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer.open .nav-drawer-item:nth-child(1) { transition-delay: 50ms; }
.nav-drawer.open .nav-drawer-item:nth-child(2) { transition-delay: 100ms; }
.nav-drawer.open .nav-drawer-item:nth-child(3) { transition-delay: 150ms; }
.nav-drawer.open .nav-drawer-item:nth-child(4) { transition-delay: 200ms; }
.nav-drawer.open .nav-drawer-item:nth-child(5) { transition-delay: 250ms; }

.nav-drawer-link {
  display: flex;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  transition: background var(--transition-fast) var(--ease-out),
              color var(--transition-fast) var(--ease-out);
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}

.nav-drawer-link:hover,
.nav-drawer-link:active {
  background: var(--color-bg-alt);
}

.nav-drawer-link[aria-current="page"] {
  color: var(--color-accent);
  background: var(--color-accent-wash);
  border-right: 3px solid var(--color-accent);
}

/* Services accordion */
.nav-drawer-accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition-fast) var(--ease-out);
}

.nav-drawer-accordion:hover,
.nav-drawer-accordion:active {
  background: var(--color-bg-alt);
}

.nav-drawer-accordion-arrow {
  transition: transform 300ms var(--ease-out);
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.nav-drawer-accordion[aria-expanded="true"] .nav-drawer-accordion-arrow {
  transform: rotate(180deg);
}

.nav-drawer-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.32, 0.72, 0, 1);
  background: var(--color-bg-alt);
}

.nav-drawer-sub.is-open {
  max-height: 600px;
}

.nav-drawer-sub-link {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-10);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  min-height: 44px;
  transition: background var(--transition-fast) var(--ease-out),
              color var(--transition-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.nav-drawer-sub-link:hover,
.nav-drawer-sub-link:active {
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-text);
}

.nav-drawer-sub-link[aria-current="page"] {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
}

/* Drawer CTA actions */
.nav-drawer-actions {
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms var(--ease-out) 280ms,
              transform 300ms var(--ease-out) 280ms;
}

.nav-drawer.open .nav-drawer-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Drawer footer — contact info + social */
.nav-drawer-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-out) 350ms;
}

.nav-drawer.open .nav-drawer-footer {
  opacity: 1;
}

.nav-drawer-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.nav-drawer-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.nav-drawer-info-item svg {
  flex-shrink: 0;
  color: var(--color-accent-muted);
}

.nav-drawer-social {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-drawer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  transition: background var(--transition-fast) var(--ease-out),
              color var(--transition-fast) var(--ease-out);
}

.nav-drawer-social a:hover,
.nav-drawer-social a:active {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* Spacer to offset fixed nav */
.nav-spacer { height: 64px; }

@media (min-width: 768px) {
  .nav-spacer { height: 100px; /* 36px topbar + 64px nav */ }
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-20) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-logo-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  gap: 3px;
  margin-bottom: 0;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity var(--transition-slow) var(--ease-silk);
}

.footer-logo-link:hover .footer-logo-img { opacity: 1; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text-muted-dark);
  font-style: italic;
  margin-top: var(--space-3);
  margin-bottom: var(--space-6);
  line-height: var(--line-height-snug);
}

.footer-tagline:has(+ .footer-tagline-tz) {
  margin-bottom: var(--space-2);
}

.footer-tagline-tz {
  font-family: 'Noto Sans Tifinagh', var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
  line-height: var(--line-height-snug);
}


.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.5);
  transition:
    color var(--transition-fast) var(--ease-out),
    border-color var(--transition-fast) var(--ease-out);
}

.footer-social-link:hover {
  color: var(--color-accent-on-dark);
  border-color: var(--color-accent-on-dark);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  transition: color var(--transition-fast) var(--ease-out);
}

.footer-link:hover { color: var(--color-text-on-dark); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent-on-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  line-height: var(--line-height-snug);
}

.footer-contact-text a {
  color: var(--color-text-muted-dark);
  transition: color var(--transition-fast) var(--ease-out);
}

.footer-contact-text a:hover { color: var(--color-text-on-dark); }

.footer-bottom {
  margin-top: var(--space-16);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted-dark);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal-link {
  font-size: var(--text-xs);
  color: var(--color-text-muted-dark);
  transition: color var(--transition-fast) var(--ease-out);
}

.footer-legal-link:hover { color: var(--color-text-on-dark); }

/* ================================================================
   CTA BANNER
================================================================ */
.cta-banner {
  background: var(--color-text);
  padding: var(--space-20) 0;
  text-align: center;
}

.cta-banner-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent-on-dark);
  margin-bottom: var(--space-4);
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-on-dark);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .cta-banner-title { font-size: var(--text-4xl); }
}

.cta-banner-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted-dark);
  margin-bottom: var(--space-10);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ================================================================
   CARDS
================================================================ */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition:
    transform var(--transition-slow) var(--ease-elastic),
    box-shadow var(--transition-slow) var(--ease-silk),
    border-color var(--transition-slow) var(--ease-silk);
}

.card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: var(--shadow-hover);
  border-color: rgba(11, 30, 91, 0.06);
}

/* Service card */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none;
  color: inherit;
  transition:
    transform var(--transition-slow) var(--ease-elastic),
    box-shadow var(--transition-slow) var(--ease-silk),
    border-color var(--transition-slow) var(--ease-silk);
}

.service-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: var(--shadow-glow);
  border-color: rgba(11, 30, 91, 0.06);
}

.service-card-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  flex: 1;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  transition: gap var(--transition-base) var(--ease-brand);
}

.service-card:hover .service-card-arrow { gap: var(--space-3); }

/* Testimonial card */
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--color-gold);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-author-name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.testimonial-author-service {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ================================================================
   TRUST BAR
================================================================ */
.trust-bar {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-bar-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.trust-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* Trust bar — dark variant (homepage) */
.trust-bar-dark {
  background: var(--color-bg-alt);
  padding: var(--space-10) 0;
}

.trust-bar-dark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-bar-dark-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.trust-stat-dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

@media (min-width: 768px) {
  .trust-stat-dark + .trust-stat-dark {
    border-left: 1px solid var(--color-border);
  }
}

.trust-stat-dark-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  font-variation-settings: 'opsz' 30, 'WONK' 0;
}

.trust-stat-dark-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-normal);
  letter-spacing: var(--tracking-normal);
}

/* ================================================================
   TRUST STRIP — dark navy band with stats
================================================================ */
.trust-strip {
  background: var(--color-accent);
  padding: var(--space-10) 0;
  position: relative;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-4);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-strip-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.trust-strip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

@media (min-width: 768px) {
  .trust-strip-stat + .trust-strip-stat {
    border-left: 1px solid rgba(255,255,255,0.12);
  }
}

.trust-strip-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-light);
  color: #FFFFFF;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

@media (min-width: 768px) {
  .trust-strip-number { font-size: var(--text-4xl); }
}

.trust-strip-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ================================================================
   SERVICES — Horizontal slideshow
================================================================ */
.services-section {
  background: var(--color-bg-alt);
  overflow: hidden;
}

/* Top row: header left, arrows right */
.svc-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.svc-header { max-width: 480px; }

/* Arrow buttons */
.svc-nav {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.svc-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  transition:
    background var(--transition-fast) var(--ease-out),
    border-color var(--transition-fast) var(--ease-out),
    color var(--transition-fast) var(--ease-out);
}

.svc-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

.svc-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Slider — transform-based swipe carousel */
.svc-slider {
  width: 100%;
  overflow: hidden;
  padding: 0 var(--space-5);
}

@media (min-width: 768px) {
  .svc-slider { padding: 0 var(--space-10); }
}

@media (min-width: 1280px) {
  .svc-slider {
    padding: 0 calc((100vw - var(--container-xl)) / 2 + var(--space-16));
  }
}

.svc-track {
  display: flex;
  gap: var(--space-5);
  transition: transform 600ms var(--ease-silk);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.svc-track.is-dragging {
  transition: none;
  cursor: grabbing;
}

/* ---- Card ---- */
.svc-card {
  flex: 0 0 75vw;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-bg);
  transition:
    box-shadow var(--transition-slow) var(--ease-silk),
    transform var(--transition-slow) var(--ease-elastic);
}

@media (min-width: 768px) {
  .svc-card { flex: 0 0 320px; }
}

@media (min-width: 1280px) {
  .svc-card { flex: 0 0 340px; }
}

.svc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.svc-card:active {
  transform: translateY(-1px);
  transition-duration: 150ms;
}

.svc-card:hover .svc-card-img img {
  transform: translate(var(--img-x, 0), var(--img-y, 0)) scale(calc(var(--img-zoom, 1) * 1.06));
}
.svc-card:hover .svc-card-placeholder {
  transform: scale(1.06);
}

.svc-card:hover .svc-card-title {
  color: var(--color-accent);
}

/* Image */
.svc-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.svc-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(var(--img-x, 0), var(--img-y, 0)) scale(var(--img-zoom, 1));
  transition: transform 700ms var(--ease-silk);
}

.svc-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-accent-wash) 100%);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  transition: transform 700ms var(--ease-silk);
}

/* Card body */
.svc-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.svc-card-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  letter-spacing: var(--tracking-widest);
  font-weight: var(--font-weight-light);
}

.svc-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-snug);
  transition: color var(--transition-fast) var(--ease-out);
}

.svc-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.svc-card-price {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: var(--space-2);
}

/* ================================================================
   ABOUT SECTION — image left, content right
================================================================ */
.about-section {
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

/* Image column */
.about-image-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: var(--color-bg);
}

.about-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--color-bg-alt) 0%, var(--color-accent-wash) 60%, var(--color-bg-warm) 100%);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.about-image-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Doctor portrait (service pages) is a tall photo with her head near the top.
   The about column is wider than the portrait, so cover crops top/bottom;
   anchor the crop high so her head stays visible on desktop and mobile. */
.about-image-inner img[src*="team/"] {
  object-position: 50% 18%;
}

/* Content column */
.about-content {
  display: flex;
  flex-direction: column;
}

.about-content .section-title {
  margin-bottom: var(--space-5);
}

.about-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}

/* Feature list */
.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.about-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-accent-wash);
  color: var(--color-accent-muted);
  border: 1px solid rgba(11, 30, 91, 0.06);
  transition: transform var(--transition-base) var(--ease-elastic);
}

.about-feature:hover .about-feature-icon {
  transform: scale(1.08);
}

.about-feature-title {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.about-feature-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
}

.about-cta {
  align-self: flex-start;
}

/* ================================================================
   QUOTE STRIP — Doctor philosophy, editorial split
================================================================ */
.quote-strip {
  background: var(--color-accent);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .quote-grid {
    grid-template-columns: 280px 1fr;
    gap: var(--space-14);
  }
}

@media (min-width: 1024px) {
  .quote-grid {
    grid-template-columns: 320px 1fr;
    gap: var(--space-16);
  }
}

/* Photo */
.quote-photo {
  display: none;
}

@media (min-width: 768px) {
  .quote-photo {
    display: block;
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 3 / 4;
  }

  .quote-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
  }
}

/* Quote content */
.quote-strip-content {
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 0.6;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: var(--space-4);
  font-weight: var(--font-weight-light);
}

.quote-strip-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-light);
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.6;
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
  max-width: 600px;
}

@media (min-width: 768px) {
  .quote-strip-text { font-size: var(--text-2xl); }
}

@media (min-width: 1024px) {
  .quote-strip-text { font-size: var(--text-3xl); line-height: 1.5; }
}

.quote-strip-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.quote-rule {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: var(--space-2);
}

.quote-strip-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: #FFFFFF;
  letter-spacing: var(--tracking-wide);
}

.quote-strip-name-tz {
  display: block;
  font-family: 'Noto Sans Tifinagh', var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  margin-top: calc(var(--space-2) * -1 + 3px);
  margin-bottom: var(--space-2);
}

.quote-strip-role {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   TESTIMONIALS — 3-column card grid
================================================================ */
.testimonials-section {
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition:
    transform var(--transition-slow) var(--ease-elastic),
    box-shadow var(--transition-slow) var(--ease-silk),
    border-color var(--transition-slow) var(--ease-silk);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(11, 30, 91, 0.06);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.testimonial-source {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.testimonial-source::before {
  content: "·";
  margin-right: var(--space-2);
}

/* ================================================================
   BEFORE / AFTER PREVIEW — 3 case cards
================================================================ */
.ba-preview-section {
  background: var(--color-bg);
}

.ba-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .ba-preview-grid { grid-template-columns: repeat(3, 1fr); }
}

.ba-preview-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform var(--transition-slow) var(--ease-elastic),
    box-shadow var(--transition-slow) var(--ease-silk),
    border-color var(--transition-slow) var(--ease-silk);
}

.ba-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(11, 30, 91, 0.06);
}

.ba-preview-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-preview-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ba-preview-img + .ba-preview-img {
  border-left: 1px solid var(--color-border);
}

.ba-preview-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.ba-preview-placeholder--after {
  background: var(--color-accent-wash);
}

.ba-preview-label {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark);
  background: var(--color-bg-dark);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.ba-preview-info {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ba-preview-tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.ba-preview-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
}

.ba-preview-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* ================================================================
   FAQ — two-column layout, accordion right
================================================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.faq-header {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .faq-header {
    position: sticky;
    top: 120px;
  }
}

.faq-header .section-title {
  margin-bottom: var(--space-4);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-base) var(--ease-silk);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: "+";
  font-size: var(--text-xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text-subtle);
  flex-shrink: 0;
  margin-left: var(--space-4);
  transition:
    transform var(--transition-slow) var(--ease-elastic),
    color var(--transition-base) var(--ease-silk);
}

.faq-item[open] .faq-question::after {
  content: "\2212";
  color: var(--color-accent);
  transform: rotate(180deg);
}

.faq-question:hover { color: var(--color-accent); }
.faq-question:hover::after { color: var(--color-accent-muted); }

.faq-answer {
  padding: 0 0 var(--space-6);
  animation: faq-open 400ms var(--ease-silk);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 60ch;
}

/* ================================================================
   MAP — split info + embed
================================================================ */
.map-section {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 400px;
}

@media (min-width: 768px) {
  .map-section {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }
}

.map-content {
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  padding: var(--space-12) 0;
}

.map-content .container {
  width: 100%;
}

.map-info {
  max-width: 400px;
}

@media (min-width: 768px) {
  .map-info { padding-right: var(--space-10); }
}

.map-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text-on-dark);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-8);
}

.map-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.map-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  line-height: var(--line-height-relaxed);
}

.map-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent-on-dark);
}

.map-link {
  color: var(--color-text-on-dark);
  transition: color var(--transition-fast) var(--ease-out);
}

.map-link:hover {
  color: var(--color-accent-on-dark);
}

.map-btn {
  color: #FFFFFF;
  border-color: var(--color-border-dark-alt);
}

.map-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.map-embed {
  position: relative;
  min-height: 300px;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ================================================================
   CTA BAND — dark conversion strip
================================================================ */
.cta-band {
  background: var(--color-accent);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay for depth */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .cta-band-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.cta-band-content {
  max-width: 520px;
}

.cta-band-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-normal);
  color: #FFFFFF;
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-3);
}

@media (min-width: 768px) {
  .cta-band-title { font-size: var(--text-3xl); }
}

.cta-band-sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--line-height-relaxed);
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .cta-band-actions { flex-direction: row; }
}

.cta-band .btn-primary {
  background: #FFFFFF;
  color: var(--color-accent);
  border-color: #FFFFFF;
}

.cta-band .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

/* ================================================================
   SITE FOOTER — dark, 4-column
================================================================ */
.site-footer {
  background: var(--color-bg-dark);
  padding: var(--space-16) 0 var(--space-8);
  color: var(--color-text-muted-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

@media (min-width: 1024px) {
  .footer-brand {
    align-items: flex-start;
    text-align: left;
  }
}


.footer-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  line-height: var(--line-height-relaxed);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted-dark);
  background: var(--color-bg-dark-alt);
  transition:
    color var(--transition-fast) var(--ease-out),
    background var(--transition-fast) var(--ease-out);
}

.footer-social a:hover {
  color: #FFFFFF;
  background: var(--color-border-dark-alt);
}

/* Link columns */
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  transition: color var(--transition-fast) var(--ease-out);
}

.footer-links a:hover { color: #FFFFFF; }

/* Contact column */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact li {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  line-height: var(--line-height-normal);
  color: var(--color-text-muted-dark);
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent-on-dark);
}

.footer-contact a {
  color: var(--color-text-muted-dark);
  transition: color var(--transition-fast) var(--ease-out);
}

.footer-contact a:hover { color: #FFFFFF; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-dark);
  font-size: var(--text-xs);
  color: var(--color-text-muted-dark);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal {
  display: flex;
  gap: var(--space-4);
}

.footer-legal a {
  color: var(--color-text-muted-dark);
  transition: color var(--transition-fast) var(--ease-out);
}

.footer-legal a:hover { color: #FFFFFF; }

/* ================================================================
   FORMS
================================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition-fast) var(--ease-out),
    box-shadow var(--transition-fast) var(--ease-out);
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-subtle);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--color-error);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ================================================================
   PAGE HERO (inner pages)
================================================================ */
.page-hero {
  background: var(--color-bg-alt);
  padding: var(--space-16) 0 var(--space-12);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .page-hero-title { font-size: var(--text-5xl); }
}
@media (min-width: 1024px) {
  .page-hero-title { font-size: var(--text-6xl); letter-spacing: -0.03em; }
}

.page-hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: var(--line-height-relaxed);
}

/* ================================================================
   HOMEPAGE HERO — Full-width image, text overlay
   Old money elegance. Feminine strength. Editorial restraint.
================================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  margin-top: -64px; /* Pull behind nav */
}

@media (min-width: 768px) {
  .hero-section {
    margin-top: -100px; /* 36px topbar + 64px nav */
  }
}

@media (min-width: 1024px) {
  .hero-section {
    align-items: center;
  }
}

/* ---- Background image ---- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% top;
  display: block;
}

/* Gradient overlay — dark at left for text, fades to reveal image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(11, 13, 20, 0.82) 0%,
      rgba(11, 13, 20, 0.6) 40%,
      rgba(11, 13, 20, 0.15) 75%,
      rgba(11, 13, 20, 0.05) 100%
    );
}

/* Mobile: lighter overlay — let the person breathe, text anchored at bottom */
@media (max-width: 1023px) {
  .hero-section {
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero-photo {
    object-position: center 20%;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to top,
        rgba(17, 24, 39, 0.95) 0%,
        rgba(17, 24, 39, 0.85) 35%,
        rgba(17, 24, 39, 0.50) 55%,
        rgba(17, 24, 39, 0.12) 70%,
        transparent 100%
      );
  }
}

/* ---- Text overlay ---- */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: calc(64px + var(--space-16)) var(--space-5) var(--space-10);
  max-width: 680px;
}

/* Mobile: push content down so the person in the photo is visible above */
@media (max-width: 767px) {
  .hero-content {
    padding: 0 var(--space-5) var(--space-8);
    padding-top: 55svh;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding: calc(100px + var(--space-16)) var(--space-10) var(--space-14);
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: calc(100px + var(--space-20)) var(--space-16);
    max-width: 720px;
  }
}

@media (min-width: 1280px) {
  .hero-content {
    padding-left: calc((100vw - var(--container-xl)) / 2 + var(--space-16));
    max-width: 780px;
  }
}

/* ---- Eyebrow ---- */
.hero-eyebrow {
  color: #EAF2FB;   /* broken white, faint light blue */
  margin-bottom: var(--space-6);
  position: relative;
  padding-left: 2.5rem;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.75rem;
  height: 1px;
  background: var(--color-accent-on-dark);
}

/* ---- Headline ---- */
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-normal);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-6);
}

.hero-line {
  display: block;
}

.hero-headline em {
  font-style: italic;
  font-weight: var(--font-weight-normal);
  color: var(--color-accent-on-dark);
}

/* Mobile: scale headline to fit without crowding the person */
@media (max-width: 767px) {
  .hero-headline {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    line-height: 1.12;
    margin-bottom: var(--space-4);
  }

  .hero-eyebrow {
    margin-bottom: var(--space-4);
  }

  .hero-rule {
    margin-bottom: var(--space-4);
  }

  .hero-sub {
    font-size: var(--text-sm, 0.875rem);
    margin-bottom: var(--space-5);
    max-width: 36ch;
  }

  .hero-actions {
    margin-bottom: var(--space-5);
  }

  .hero-trust {
    padding-top: var(--space-4);
    gap: var(--space-3);
  }
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: var(--text-5xl);
    letter-spacing: -0.035em;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: var(--text-6xl);
    letter-spacing: -0.04em;
  }
}

@media (min-width: 1280px) {
  .hero-headline {
    font-size: var(--text-7xl);
  }
}

/* ---- Decorative rule ---- */
.hero-rule {
  width: 3rem;
  height: 1px;
  background: var(--color-accent-on-dark);
  margin-bottom: var(--space-6);
  opacity: 0.5;
}

/* ---- Subheadline ---- */
.hero-sub {
  font-size: var(--text-base);
  color: #E3EBF6;   /* broken white, light blue tint */
  line-height: var(--line-height-relaxed);
  max-width: 42ch;
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .hero-sub { font-size: var(--text-lg); }
}

/* ---- Actions ---- */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  margin-bottom: var(--space-8);
}

.hero-actions .btn {
  justify-content: center;
  width: 100%;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    gap: var(--space-4);
    width: auto;
  }
  .hero-actions .btn { width: auto; }
}

.hero-cta-primary {
  padding: var(--space-4) var(--space-10);
}

.hero-cta-ghost {
  color: var(--color-text-on-dark);
  border-color: rgba(255,255,255,0.25);
}

.hero-cta-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* ---- Trust indicators ---- */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: rgba(255,255,255,0.7);
}

.hero-trust-text {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
}

.hero-trust-sep {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

/* ---- Cinematic entrance ---- */
.hero-photo {
  transform: scale(1.08);
  transition: transform 1.8s var(--ease-silk);
}

body.is-loaded .hero-photo {
  transform: scale(1);
}

.hero-content .eyebrow,
.hero-headline,
.hero-rule,
.hero-sub,
.hero-actions,
.hero-trust {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--transition-hero) var(--ease-silk),
    transform var(--transition-hero) var(--ease-silk);
}

body.is-loaded .hero-content .eyebrow {
  opacity: 1; transform: translateY(0);
  transition-delay: 200ms;
}
body.is-loaded .hero-headline {
  opacity: 1; transform: translateY(0);
  transition-delay: 350ms;
}
body.is-loaded .hero-rule {
  opacity: 0.5; transform: translateY(0);
  transition-delay: 500ms;
}
body.is-loaded .hero-sub {
  opacity: 1; transform: translateY(0);
  transition-delay: 550ms;
}
body.is-loaded .hero-actions {
  opacity: 1; transform: translateY(0);
  transition-delay: 700ms;
}
body.is-loaded .hero-trust {
  opacity: 1; transform: translateY(0);
  transition-delay: 820ms;
}

/* ================================================================
   SERVICES SECTION — slider layout
================================================================ */
.services-section {
  background: var(--color-bg);
  overflow: hidden;   /* clips right bleed of slider */
}

/* Header: eyebrow top, then title + "Voir tous" inline, arrows far right */
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.services-header-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
  min-width: 0;
}

.services-header-title-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.services-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-tight);
  font-variation-settings: 'opsz' 24, 'WONK' 0;
  margin: 0;
}

@media (min-width: 768px) {
  .services-title {
    font-size: var(--text-3xl);
    font-variation-settings: 'opsz' 30, 'WONK' 0;
  }
}

.services-view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition:
    gap var(--transition-base) var(--ease-brand),
    border-color var(--transition-fast) var(--ease-out);
}

.services-view-all:hover {
  gap: var(--space-3);
  border-color: var(--color-accent);
}

/* Arrows — far right, self-aligned to bottom of header */
.services-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition:
    background var(--transition-fast) var(--ease-out),
    border-color var(--transition-fast) var(--ease-out),
    color var(--transition-fast) var(--ease-out);
}

.slider-btn:hover:not(:disabled) {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

/* Forward button — black by default, accent on hover */
#svc-next {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

#svc-next:hover:not(:disabled) {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

#svc-next:disabled {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text);
}

.slider-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Slider wrapper — starts flush with container left, bleeds right */
.services-slider-wrap {
  /* uses section overflow:hidden to clip right bleed */
}

/* Sliding track */
.services-slider-track {
  display: flex;
  gap: var(--space-4);
  transition: transform 450ms cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.services-slider-track.is-dragging {
  cursor: grabbing;
  transition: none;
}

/* Card — 4 on desktop, 3 on tablet, 1 + peek on mobile */
.svc-card {
  flex: 0 0 80%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 640px) {
  .svc-card {
    flex: 0 0 calc((100% - var(--space-4) * 2) / 3);
  }
}

@media (min-width: 1024px) {
  .svc-card {
    flex: 0 0 calc((100% - var(--space-4) * 3) / 4);
  }
}

.svc-card:hover .svc-card-placeholder { transform: scale(1.03); }
.svc-card:hover .svc-card-img img     { transform: scale(1.03); }
.svc-card:hover .svc-card-title       { color: var(--color-accent); }

/* Image — portrait 3:4 */
.svc-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-bg-alt);
  margin-bottom: var(--space-3);
}

.svc-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-brand);
}

.svc-card-placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-bg-alt);
  transition: transform 500ms var(--ease-brand);
}

/* Card text */
.svc-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.svc-card-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-snug);
  font-variation-settings: 'opsz' 18, 'WONK' 0;
  transition: color var(--transition-fast) var(--ease-out);
}

@media (min-width: 768px) {
  .svc-card-title { font-size: var(--text-base); }
}

.svc-card-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
}

/* ================================================================
   WHY US — dark split: content left, photo right
================================================================ */
.why-section {
  background: var(--color-text);
}

/* Two-column split — full bleed, no container wrapper */
.why-inner {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .why-inner {
    grid-template-columns: 55% 45%;
    min-height: 680px;
  }
}

/* Left — content column */
.why-content-col {
  display: flex;
  flex-direction: column;
  padding: var(--space-16) var(--space-5);
}

@media (min-width: 768px) {
  .why-content-col { padding: var(--space-20) var(--space-10); }
}

@media (min-width: 1280px) {
  .why-content-col { padding: var(--space-20) var(--space-16); }
}

.why-header {
  margin-bottom: var(--space-10);
}

.why-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-light);
  color: #FFFFFF;
  letter-spacing: var(--tracking-tight);
  font-variation-settings: 'opsz' 30, 'WONK' 0;
  margin-top: var(--space-3);
}

@media (min-width: 768px) {
  .why-title {
    font-size: var(--text-4xl);
    font-variation-settings: 'opsz' 36, 'WONK' 0;
  }
}

/* Cards — vertical stack with 1px dividers */
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card */
.why-card {
  background: var(--color-text);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition-base) var(--ease-out);
}

.why-card:last-child { border-bottom: none; }

.why-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Large technology label */
.why-card-label {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-light);
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  font-variation-settings: 'opsz' 36, 'WONK' 0;
  margin-bottom: var(--space-1);
}

.why-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  color: #FFFFFF;
  font-variation-settings: 'opsz' 18, 'WONK' 0;
  line-height: var(--line-height-snug);
}

.why-card-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--line-height-relaxed);
}

/* Footer CTA */
.why-footer {
  margin-top: var(--space-10);
}

/* Right — clinic photo */
.why-img-col {
  overflow: hidden;
}

/* Mobile: image at natural portrait ratio — no cropping */
.why-clinic-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
}

/* Desktop: image absolutely fills the column height */
@media (min-width: 900px) {
  .why-img-col {
    position: relative;
  }

  .why-clinic-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-position: center center;
  }
}

/* ================================================================
   BEFORE / AFTER TEASER
================================================================ */
.ba-section {
  background: var(--color-bg);
}

/* 3-column grid — 1 col on mobile, 3 on tablet+ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ba-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Case card */
.ba-case {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Before/After image split */
.ba-images {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.ba-half {
  position: relative;
  overflow: hidden;
}

/* Real photos — fill the half column, focus on smile area */
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

/* Thin divider line */
.ba-divider {
  background: var(--color-border);
  width: 1px;
  position: relative;
  z-index: 1;
}

/* Avant / Après labels */
.ba-label {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 2px var(--space-2);
  line-height: 1.6;
}

.ba-label--after {
  left: auto;
  right: var(--space-2);
  color: var(--color-accent);
}

/* Meta below the image */
.ba-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.ba-treatment {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  font-variation-settings: 'opsz' 18, 'WONK' 0;
}

.ba-detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-normal);
}

/* Footer CTA */
.ba-footer {
  text-align: center;
}

/* ================================================================
   TESTIMONIALS
================================================================ */
.reviews-section {
  background: var(--color-bg-alt);
}

/* Aggregate score row */
.reviews-aggregate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.reviews-stars {
  display: flex;
  gap: 3px;
  color: var(--color-gold);
}

.reviews-score {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  font-variation-settings: 'opsz' 24, 'WONK' 0;
  line-height: 1;
}

.reviews-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* 3-column card grid */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  position: relative;
}

/* Large opening quote — decorative */
.review-quote-mark {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: var(--font-weight-light);
  color: var(--color-accent);
  line-height: 0.6;
  font-variation-settings: 'opsz' 72, 'WONK' 0;
  user-select: none;
}

/* Review text */
.review-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  font-variation-settings: 'opsz' 18, 'WONK' 0;
  flex: 1;
  margin: 0;
}

/* Footer row: stars · name + treatment · source */
.review-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
}

.review-author {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.review-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.review-treatment {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.review-source {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Footer CTA */
.reviews-footer {
  text-align: center;
}

/* ================================================================
   TEAM SECTION
   ================================================================ */

.team-section {
  background: var(--color-bg-alt);
}

/* 3-column grid: Dr. Ali wider, assistants compact */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
  .team-card--lead {
    grid-column: 1 / 2;
  }
}

/* ── Card base ── */
.team-card {
  display: flex;
  flex-direction: column;
}

/* Photo */
.team-photo-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #E2E8F2;
  margin-bottom: var(--space-4);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.team-card:hover .team-photo {
  transform: scale(1.03);
}

/* Placeholder */
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #E2E8F2;
}

/* Info block */
.team-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.team-role {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent);
}

.team-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  font-variation-settings: 'opsz' 18, 'WONK' 0;
  margin: 0;
}

.team-bio {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: var(--space-2) 0 0;
}

/* Footer CTA */
.team-footer {
  text-align: center;
}

/* ================================================================
   CTA BANNER
================================================================ */

.cta-banner {
  background: var(--color-text);
  padding: var(--space-20) 0;
}

.cta-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-light);
  color: #ffffff;
  line-height: var(--line-height-tight);
  font-variation-settings: 'opsz' 36, 'WONK' 0;
  margin: 0;
}

@media (min-width: 768px) {
  .cta-banner-title {
    font-size: var(--text-5xl);
    font-variation-settings: 'opsz' 48, 'WONK' 0;
  }
}

.cta-banner-sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--line-height-relaxed);
  margin: 0;
  max-width: 480px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-2);
}

/* ================================================================
   FOOTER
================================================================ */

.site-footer {
  background: var(--color-text);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Main body */
.footer-main {
  padding: var(--space-16) 0 var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-10);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
  }
  .footer-brand {
    grid-column: auto;
  }
}

/* Brand column */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 0;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  font-variation-settings: 'opsz' 14, 'WONK' 0;
  color: rgba(255, 255, 255, 0.9);
  margin: var(--space-3) 0 var(--space-3);
}

.footer-tagline-tz {
  color: rgba(255, 255, 255, 0.9);
}

.footer-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--line-height-relaxed);
  margin: 0 0 var(--space-5);
  max-width: 280px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-social:hover {
  color: var(--color-accent-on-dark);
}

/* Nav columns */
.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 var(--space-4);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: #ffffff;
}

/* Contact column */
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-address p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
}

.footer-address a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-address a:hover {
  color: #ffffff;
}

.footer-contact-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-5) 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ================================================================
   SERVICE PAGES
================================================================ */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-text-subtle);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.breadcrumb span[aria-current] {
  color: var(--color-text-muted);
}

/* S2 — Credentials bar */
.service-creds {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.service-creds-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: space-between;
  align-items: center;
}

.service-creds-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  flex: 1 1 140px;
}

.service-creds-item + .service-creds-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-3));
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border);
}

@media (max-width: 639px) {
  .service-creds-item + .service-creds-item::before {
    display: none;
  }
}

.service-creds-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  font-variation-settings: 'opsz' 20, 'WONK' 0;
  line-height: 1.2;
}

.service-creds-label {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: 0.02em;
}

/* ── Shared section primitives (used across all service pages) ── */

.service-section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  font-variation-settings: 'opsz' 32, 'WONK' 0;
  margin: var(--space-3) 0 var(--space-5);
}

@media (min-width: 768px) {
  .service-section-title {
    font-size: var(--text-4xl);
    font-variation-settings: 'opsz' 36, 'WONK' 0;
  }
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.service-body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-points li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
  line-height: var(--line-height-relaxed);
}

.service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 14px;
  height: 1px;
  background: var(--color-accent);
}

/* Two-column layout — text + image */
.service-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .service-two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-14);
  }
}

.service-two-col-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.service-two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image placeholder */
.service-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #F3F7FC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img-placeholder span {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  font-style: italic;
}

/* S3 — What is it */
.service-what {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}

/* S4 — Candidate */
.service-candidate {
  padding: var(--space-16) 0;
  background: var(--color-bg-alt);
}

.service-candidate-header {
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.service-candidate-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-candidate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .service-candidate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-candidate-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-candidate-card {
  background: var(--color-bg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-candidate-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  color: var(--color-accent);
  font-variation-settings: 'opsz' 24, 'WONK' 0;
  line-height: 1;
}

.service-candidate-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
  line-height: var(--line-height-snug);
}

.service-candidate-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-candidate-note {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  line-height: var(--line-height-relaxed);
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-4);
  max-width: 680px;
  margin: 0;
}

/* S5 — Process */
.service-process {
  padding: var(--space-16) 0;
  background: var(--color-bg-alt);
}

.service-process-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-14);
  align-items: start;
}

@media (min-width: 900px) {
  .service-process-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.service-process-header {
  margin-bottom: var(--space-10);
}

.service-process-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* Vertical timeline */
.service-process-steps {
  display: flex;
  flex-direction: column;
}

.service-process-step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

/* Left column: number + connecting line */
.service-process-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
}

.service-process-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-light);
  color: var(--color-accent);
  font-variation-settings: 'opsz' 18, 'WONK' 0;
  line-height: 1.4;
  flex-shrink: 0;
}

.service-process-line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: var(--color-border);
  margin: var(--space-1) 0;
}

/* Right column: content */
.service-process-right {
  padding-bottom: var(--space-8);
  flex: 1;
}

.service-process-step--last .service-process-right {
  padding-bottom: 0;
}

.service-process-meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.service-process-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
  line-height: var(--line-height-snug);
}

.service-process-time {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.service-process-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* Image placeholder — right col on desktop */
.service-process-img {
  position: relative;
  overflow: hidden;
  background: #E2E8F2;
}

.service-process-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* MRE callout */
.service-process-mre {
  margin-top: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-process-mre p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-process-mre-link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  text-decoration: none;
  align-self: flex-start;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.service-process-mre-link:hover {
  opacity: 0.7;
}

/* S1 — Hero */
.service-hero {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 420px;
}

.service-hero-content {
  padding: calc(64px + var(--space-14)) var(--space-5) var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
}

.service-hero-display {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: var(--line-height-snug);
  font-variation-settings: 'opsz' 24, 'WONK' 1;
  margin: 0;
}

@media (min-width: 768px) {
  .service-hero-display {
    font-size: var(--text-3xl);
    font-variation-settings: 'opsz' 30, 'WONK' 1;
  }
}

.service-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  font-variation-settings: 'opsz' 36, 'WONK' 0;
  margin: 0;
}

.service-hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
  max-width: 480px;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.service-hero-trust {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  margin: 0;
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
}

.service-hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  background: #E2E8F2;
}

.service-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 768px) {
  .service-hero-grid {
    grid-template-columns: 55fr 45fr;
    min-height: 580px;
  }

  .service-hero-content {
    padding-left: max(var(--space-5), calc((100vw - 1200px) / 2 + var(--space-5)));
    padding-right: var(--space-12);
  }

  .service-hero-title {
    font-size: var(--text-6xl);
    letter-spacing: -0.03em;
    font-variation-settings: 'opsz' 48, 'WONK' 0;
  }

  .service-hero-image {
    aspect-ratio: auto;
    min-height: unset;
  }
}

/* ================================================================
   SERVICE PAGES — S6 AVANT / APRÈS
================================================================ */

.service-avant {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}

.service-avant-header {
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.service-avant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .service-avant-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-avant-case {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-avant-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.service-avant-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #E2E8F2;
}

.service-avant-img .service-img-placeholder {
  position: absolute;
  inset: 0;
  min-height: unset;
}

.service-avant-badge {
  position: absolute;
  z-index: 1;
  top: var(--space-2);
  left: var(--space-2);
  font-size: 10px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  padding: 3px 7px;
  border-radius: 2px;
}

.service-avant-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-avant-caption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-avant-cta {
  text-align: center;
  margin-top: var(--space-10);
}

.service-avant-cta a {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.service-avant-cta a:hover {
  opacity: 0.7;
}

/* ================================================================
   SERVICE PAGES — S7 PRIX
================================================================ */

.service-prix {
  padding: var(--space-16) 0;
  background: var(--color-bg-alt);
}

.service-prix-header {
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.service-prix-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 900px) {
  .service-prix-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-14);
  }
}

.service-prix-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.service-prix-card {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-prix-card-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.service-prix-card-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  line-height: 1;
  font-variation-settings: 'opsz' 24, 'WONK' 0;
}

.service-prix-card-detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-prix-note {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-prix-note-title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
}

.service-prix-note p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-prix-mre {
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-prix-mre p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* ----------------------------------------------------------------
   S7 — PRIX TABLE (facettes + autres services multi-matériaux)
---------------------------------------------------------------- */

.service-prix-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-8);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.service-prix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--color-surface);
}

.service-prix-table thead {
  background: var(--color-bg-subtle, #F4F7FB);
}

.service-prix-table th {
  padding: var(--space-3) var(--space-5);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.service-prix-table td {
  padding: var(--space-4) var(--space-5);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  line-height: var(--line-height-normal);
  vertical-align: middle;
}

.service-prix-table tbody tr:last-child td {
  border-bottom: none;
}

.service-prix-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.service-prix-table td:nth-child(2) {
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

/* Popular row highlight */
.service-prix-table tr.is-popular {
  background: #F4F7FB;
}

.service-prix-table tr.is-popular td:first-child {
  border-left: 3px solid var(--color-accent);
  padding-left: calc(var(--space-5) - 3px);
}

.service-prix-badge {
  display: inline-block;
  margin-top: var(--space-1);
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: 99px;
}

/* Bottom info cards — horizontal */
.service-prix-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 900px) {
  .service-prix-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-prix-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.service-prix-info-card--mre {
  background: #F4F7FB;
  border-color: var(--color-accent-light);
}

.service-prix-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.service-prix-info-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.service-prix-info-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--color-text);
  margin: 0;
}

.service-prix-info-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* Disclaimer */
.service-prix-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-subtle, #8A90A0);
  line-height: var(--line-height-relaxed);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}

/* Section CTA */
.service-prix-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ================================================================
   SERVICE PAGES — S8 WHY US
================================================================ */

.service-why {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}

.service-why-header {
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.service-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .service-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-why-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
}

.service-why-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-light);
  color: var(--color-border);
  line-height: 1;
  font-variation-settings: 'opsz' 36, 'WONK' 0;
}

.service-why-title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
}

.service-why-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* ================================================================
   SERVICE PAGES — S9 FAQ
================================================================ */

.service-faq {
  padding: var(--space-16) 0;
  background: var(--color-bg-alt);
}

.service-faq-header {
  max-width: 640px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.service-faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.service-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.service-faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  line-height: var(--line-height-normal);
  user-select: none;
}

.service-faq-item summary::-webkit-details-marker {
  display: none;
}

.service-faq-item summary:hover {
  color: var(--color-accent);
}

.service-faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.service-faq-icon::before,
.service-faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text-muted);
  border-radius: 1px;
  transition: transform var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}

.service-faq-icon::before {
  width: 14px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.service-faq-icon::after {
  width: 1.5px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.service-faq-item[open] .service-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.service-faq-item[open] summary {
  color: var(--color-text);
}

.service-faq-a {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 640px;
  margin: 0;
}

/* ================================================================
   SERVICE PAGES — S10 CTA FINAL
================================================================ */

.service-cta-final {
  background: var(--color-text);
  padding: var(--space-16) 0;
}

.service-cta-final-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.service-cta-final-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-light);
  color: #ffffff;
  line-height: var(--line-height-tight);
  font-variation-settings: 'opsz' 36, 'WONK' 0;
  margin: 0;
}

@media (min-width: 768px) {
  .service-cta-final-title {
    font-size: var(--text-5xl);
    font-variation-settings: 'opsz' 48, 'WONK' 0;
  }
}

.service-cta-final-sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ================================================================
   CONTACT PAGE
================================================================ */

/* Section 1 — Header (split layout) */
.contact-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.contact-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 420px;
}

.contact-header-content {
  padding: calc(64px + var(--space-16)) var(--space-5) var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
  max-width: 600px;
}

.contact-header-photo {
  position: relative;
  min-height: 300px;
  background: #E2E8F2;
}

.contact-header-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

@media (min-width: 768px) {
  .contact-header-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
  }

  .contact-header-content {
    padding-left: max(var(--space-5), calc((100vw - 1200px) / 2 + var(--space-5)));
    padding-right: var(--space-12);
  }

  .contact-header-photo {
    min-height: unset;
  }
}

.contact-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  font-variation-settings: 'opsz' 36, 'WONK' 0;
  margin: 0;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: var(--text-5xl);
    font-variation-settings: 'opsz' 48, 'WONK' 0;
  }
}

.contact-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
  max-width: 480px;
}

/* Section 2 — Action zone */
.contact-action {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 380px;
    gap: var(--space-16);
  }
}

/* Form column */
.contact-form-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  font-variation-settings: 'opsz' 24, 'WONK' 0;
  margin: var(--space-3) 0 var(--space-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.form-label-note {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-normal);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-muted);
}

.form-input {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-bottom-width: 2px;
  padding: var(--space-4) var(--space-4);
  width: 100%;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out),
              border-bottom-color var(--duration-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input::placeholder {
  color: var(--color-text-subtle);
  font-size: var(--text-sm);
}

.form-input:focus {
  border-color: var(--color-border);
  border-bottom-color: var(--color-accent);
}

.form-input.is-invalid {
  border-color: rgba(192, 57, 43, 0.3);
  border-bottom-color: #c0392b;
}

.form-input.is-valid {
  border-color: var(--color-border);
  border-bottom-color: var(--color-text);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%231C1917' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

.form-required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-error {
  font-size: var(--text-xs);
  color: #c0392b;
  min-height: 1.2em;
  display: block;
  padding-top: 3px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.form-footnote {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
  text-align: center;
}

.form-privacy {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  margin: 0;
  text-align: center;
}

/* Success modal popup */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 20, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--space-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.success-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.success-modal-inner {
  background: var(--color-bg);
  padding: var(--space-12) var(--space-10);
  max-width: 440px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  transform: translateY(12px);
  transition: transform 0.3s var(--ease-out);
}

.success-modal.is-open .success-modal-inner {
  transform: translateY(0);
}

.success-modal svg {
  color: var(--color-accent);
}

.success-modal-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  font-variation-settings: 'opsz' 24, 'WONK' 0;
  margin: 0;
}

.success-modal-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
  max-width: 320px;
}

/* Contact info column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background: var(--color-bg-alt);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
}

.contact-wa-btn {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-6);
}

.contact-phone-link {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  font-variation-settings: 'opsz' 20, 'WONK' 0;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.contact-phone-link:hover {
  color: var(--color-accent);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.contact-detail-value {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin: 0;
}

.contact-map-link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  text-decoration: none;
}

.contact-map-link:hover {
  text-decoration: underline;
}

.contact-hours {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.contact-hours td {
  padding: var(--space-1) 0;
  vertical-align: top;
}

.contact-hours td:last-child {
  text-align: right;
  color: var(--color-text-muted);
}

.contact-languages {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

/* Section 3 — FAQ */
.contact-faq {
  background: var(--color-bg-alt);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  margin-top: var(--space-12);
  counter-reset: faq;
}

.faq-item {
  padding: var(--space-10) var(--space-10);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  counter-increment: faq;
  position: relative;
}

.faq-item::before {
  content: "0" counter(faq);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.faq-item:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .faq-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .faq-item {
    border-bottom: none;
    border-right: 1px solid var(--color-border);
    padding: var(--space-12) var(--space-10);
  }
  .faq-item:last-child {
    border-right: none;
  }
}

.faq-question {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  font-variation-settings: 'opsz' 18, 'WONK' 0;
  margin: 0;
  line-height: var(--line-height-snug);
}

.faq-answer {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* Section 4 — Pull quote */
.contact-quote {
  padding: var(--space-20) 0;
  background: var(--color-bg);
}

.contact-quote-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.contact-quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--color-accent);
  line-height: 0.5;
  font-variation-settings: 'opsz' 72, 'WONK' 0;
  user-select: none;
}

.contact-quote-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  font-variation-settings: 'opsz' 20, 'WONK' 0;
  margin: 0;
}

@media (min-width: 768px) {
  .contact-quote-text {
    font-size: var(--text-2xl);
    font-variation-settings: 'opsz' 24, 'WONK' 0;
  }
}

.contact-quote-cite {
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
}

/* Section 5 — Map */
.contact-location {
  background: var(--color-bg-alt);
}

.contact-map-wrap {
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .contact-map-wrap { height: 440px; }
}

.contact-location-info {
  padding: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-location-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  font-variation-settings: 'opsz' 16, 'WONK' 0;
  margin: 0;
}

.contact-location-address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ================================================================
   GRID LAYOUTS
================================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================
   SERVICE PAGES — MOBILE OPTIMIZATIONS
   Targets ≤ 639px (phones)
================================================================ */

@media (max-width: 639px) {

  /* ── S1 Hero ── */
  .service-hero-content {
    padding-top: calc(64px + var(--space-8)); /* 96px — nav height + comfortable breathing room */
    padding-bottom: var(--space-10);
  }

  .service-hero-sub {
    font-size: var(--text-base); /* 16px — 18px is too wide for 375px */
  }

  .service-hero-image {
    min-height: 240px; /* was 320px — shorten the placeholder on small screens */
  }

  /* Stack hero CTA buttons full-width */
  .service-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .service-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── S2 Credentials bar ── */
  .service-creds {
    padding: var(--space-5) 0;
  }
  .service-creds-list {
    gap: var(--space-4);
  }

  /* ── Section vertical padding — all service sections ── */
  .service-what,
  .service-candidate,
  .service-process,
  .service-avant,
  .service-prix,
  .service-why,
  .service-faq,
  .service-cta-final {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  /* ── S4 Candidate header ── */
  .service-candidate-header {
    margin-bottom: var(--space-8);
  }

  /* ── S5 Process ── */
  .service-process-header {
    margin-bottom: var(--space-8);
  }

  /* Hide image placeholder column — no value on mobile */
  .service-process-img {
    display: none;
  }

  /* ── S6 Avant/Après ── */
  .service-avant-header {
    margin-bottom: var(--space-8);
  }

  /* ── S7 Prix ── */
  .service-prix-header {
    margin-bottom: var(--space-8);
  }

  /* Smooth iOS scroll on price table */
  .service-prix-table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  /* Stack price CTA buttons full-width */
  .service-prix-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .service-prix-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Info cards — reduce padding */
  .service-prix-info-card {
    padding: var(--space-4);
    gap: var(--space-3);
  }

  /* ── S8 Pourquoi ── */
  .service-why-header {
    margin-bottom: var(--space-8);
  }

  /* ── S9 FAQ ── */
  .service-faq-header {
    margin-bottom: var(--space-8);
  }
  .service-faq-item summary {
    padding: var(--space-4) 0; /* slightly tighter tap target row */
  }

  /* ── S10 CTA final ── */
  .service-cta-final-title {
    font-size: var(--text-3xl); /* 30px — 36px is wide for a phone */
    font-variation-settings: 'opsz' 30, 'WONK' 0;
  }

  .service-cta-final-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .service-cta-final-actions .btn {
    width: 100%;
    justify-content: center;
  }

}

/* ============================================================
   BREATHING — lighten persistent chrome so white/light dominates.
   Dark navy stays reserved for specific sections (hero, CTA bands, footer).
   ============================================================ */
.nav-topbar {
  background: var(--color-bg-alt);            /* light blue instead of navy */
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.nav-topbar-item { color: var(--color-text-muted); }
.nav-topbar-item:hover { color: var(--color-accent); }
.nav-topbar-sep { background: var(--color-border-strong); }
.nav-topbar-social a { color: var(--color-text-muted); }
.nav-topbar-social a:hover { color: var(--color-accent); }
/* ============================================================ */

/* BREATHING — trust-strip (bar under the hero) => light blue instead of dark navy */
.trust-strip {
  background: var(--color-bg-warm);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip-stat + .trust-strip-stat { border-left-color: var(--color-border-strong) !important; }
.trust-strip-number { color: var(--color-accent); }
.trust-strip-label { color: var(--color-text-muted); }
/* ============================================================ */

/* ============================================================
   DOCTOR SECTION — white split card (image left, text right)
   ============================================================ */
.quote-strip {
  background: var(--color-bg);   /* white section */
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.quote-grid {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
  padding: 8px;                                /* white frame — even 8px on all sides */
  gap: 8px;                                    /* image <-> text — same 8px */
  align-items: stretch;
}
@media (min-width: 768px) {
  .quote-grid { grid-template-columns: 1.05fr 1fr; }  /* image left, text right */
}
.quote-photo {
  display: block;
  border-radius: var(--radius-2xl);           /* rounded, inset image */
  overflow: hidden;
  min-height: 300px;
}
.quote-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote-strip-content {
  padding: clamp(1rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-mark { color: var(--color-accent-light); }
.quote-strip-text { color: var(--color-text); }
.quote-rule { background: var(--color-accent); }
.quote-strip-name { color: var(--color-text); }
.quote-strip-role { color: var(--color-text-muted); }
/* ============================================================ */

/* Doctor card — floating pill, CTA, social */
.quote-photo { position: relative; }
.quote-badge {
  position: absolute; left: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.38);
  color: #FFFFFF;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.45);
}
.quote-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.quote-badge-label { display:block; font-size: 11px; opacity: 0.85; line-height: 1.25; }
.quote-badge-value { display:block; font-size: var(--text-sm); font-weight: 600; line-height: 1.25; }
.quote-cta { align-self: flex-start; margin-top: var(--space-6); }
.quote-social { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.quote-social a {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full); border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: color var(--transition-fast) var(--ease-out), border-color var(--transition-fast) var(--ease-out), background var(--transition-fast) var(--ease-out);
}
.quote-social a:hover { color: var(--color-accent); border-color: var(--color-accent); background: var(--color-accent-light); }
.quote-social svg { width: 18px; height: 18px; }
/* ============================================================ */

/* ============================================================
   ABOUT ("Le cabinet") — image fills the full left half of the section
   ============================================================ */
@media (min-width: 900px) {
  .about-section { position: relative; }
  .about-grid { align-items: stretch; }
  .about-image {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 50vw;
    margin: 0; padding: 0;
  }
  .about-image-inner {
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0;
  }
  .about-image-inner img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 0;
  }
  .about-content { grid-column: 2; }
}
/* ============================================================ */

/* ============================================================
   ABOUT carousel — elegant crossfade of practice photos
   ============================================================ */
.about-carousel { position: absolute; inset: 0; }
.about-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease-silk);
}
.about-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.45);
  color: #FFFFFF; cursor: pointer;
  transition: background var(--transition-fast) var(--ease-out), transform var(--transition-fast) var(--ease-out);
}
.about-arrow:hover { background: rgba(255,255,255,0.4); }
.about-arrow:active { transform: translateY(-50%) scale(0.94); }
.about-arrow svg { width: 20px; height: 20px; }
.about-arrow-prev { left: 14px; }
.about-arrow-next { right: 14px; }
.about-slide.is-active { opacity: 1; }
.about-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-carousel::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to top, rgba(8,15,72,0.28), transparent);
  pointer-events: none; z-index: 1;
}
.about-carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2;
  display: flex; gap: 8px; justify-content: center;
}
.about-dot {
  width: 8px; height: 8px; padding: 0; border: none; cursor: pointer;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.55);
  transition: width var(--transition-base) var(--ease-out), background var(--transition-base) var(--ease-out);
}
.about-dot:hover { background: rgba(255,255,255,0.8); }
.about-dot.is-active { background: #FFFFFF; width: 22px; }
/* ============================================================ */

/* ============================================================
   ABOUT — compress on desktop so the whole section fits in view
   ============================================================ */
@media (min-width: 1024px) {
  .about-section { padding-top: var(--space-12); padding-bottom: var(--space-12); }
  .about-content { justify-content: center; }
  .about-content .section-title { margin-bottom: var(--space-4); }
  .about-lead { margin-bottom: var(--space-5); }
  .about-features { gap: var(--space-4); margin-bottom: var(--space-6); }
}
/* ============================================================ */

/* Hero — nudge the whole content block down a bit on desktop */
@media (min-width: 1024px) {
  .hero-content { margin-top: 7vh; }
}

/* ============================================================
   DOCTOR card — compress on desktop so the whole card fits centered in view
   ============================================================ */
@media (min-width: 1024px) {
  .quote-strip { padding-top: var(--space-10); padding-bottom: var(--space-10); }
  .quote-strip-content { padding: clamp(1rem, 2.2vw, 1.75rem); }
  .quote-strip-text { font-size: var(--text-2xl); line-height: 1.5; }
  .quote-mark { font-size: var(--text-4xl); }
  .quote-photo { height: auto; min-height: 0; align-self: stretch; }
}
/* ============================================================ */

/* Doctor card — let content define the height; image fills (doesn't drive it taller) */
.quote-photo { overflow: hidden; }
.quote-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Doctor card — force the photo to cover its full box on desktop */
@media (min-width: 1024px) {
  .quote-strip .quote-photo { position: relative; overflow: hidden; }
  .quote-strip .quote-photo > img {
    position: absolute !important; top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important; object-fit: cover !important;
  }
}

/* Doctor card — force equal halves on desktop (image gets a full half) */
@media (min-width: 1024px) {
  .quote-strip .quote-grid { grid-template-columns: 1fr 1fr; }
}

/* Doctor card — TRUE equal halves (ignore content min-size) so the image fills + zooms; keep doctor visible */
@media (min-width: 1024px) {
  .quote-strip .quote-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quote-strip .quote-photo > img { object-position: center 22% !important; }
}

/* Doctor card — force the photo container to fill its column (kills the white gap) */
@media (min-width: 1024px) {
  .quote-strip .quote-grid > .quote-photo { width: 100%; justify-self: stretch; }
}

/* Doctor card — center the section in the viewport (adds space above, separating from "Le cabinet") */
@media (min-width: 1024px) {
  .quote-strip {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}

/* ============================================================
   EDITORIAL — Vogue-style emotional spread
   ============================================================ */
.editorial {
  background: var(--color-bg);
  padding: clamp(3.5rem, 9vw, 8rem) 0;
  overflow: hidden;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .editorial-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
.editorial-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: var(--space-6);
}
.editorial-eyebrow::before {
  content: ''; width: 2rem; height: 1px; background: var(--color-gold-deep);
}
.editorial-quote {
  font-family: var(--font-display);
  font-weight: var(--font-weight-light);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.16;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  max-width: 20ch;
}
.editorial-rule {
  width: 48px; height: 2px; background: var(--color-accent);
  margin: var(--space-8) 0 var(--space-6);
}
.editorial-body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 42ch;
}
.editorial-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.editorial-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 22%; display: block;
}
.editorial-folio {
  position: absolute; right: 18px; bottom: 14px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.22em;
  color: #FFFFFF;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
/* ============================================================ */

/* ============================================================
   CAMPAIGN — full-bleed emotional band (Dior style)
   ============================================================ */
.campaign {
  position: relative;
  min-height: clamp(440px, 72vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/hero/campaign-smile.webp");
  background-size: cover;
  background-position: center 18%;
  overflow: hidden;
}
.campaign::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,40,66,0.30) 0%, rgba(30,40,66,0.22) 45%, rgba(30,40,66,0.28) 100%);
}
.campaign-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 60rem;
  padding: var(--space-16) var(--space-6);
}
.campaign-eyebrow {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-7);
}
.campaign-eyebrow::before,
.campaign-eyebrow::after { content: ''; width: 2.5rem; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 100%); }
.campaign-eyebrow::after { transform: scaleX(-1); }
.campaign-quote {
  font-family: var(--font-display);
  font-weight: var(--font-weight-light);
  font-size: clamp(2rem, 5vw, 3.85rem);
  line-height: 1.14;
  letter-spacing: var(--tracking-tight);
  color: #FFFFFF;
  max-width: 22ch;
  margin: 0 auto;
  text-shadow: 0 1px 10px rgba(14,19,38,0.22);
}
@media (max-width: 767px) {
  .campaign { background-image: url("../images/hero/campaign-smile-mobile.webp"); }
}
/* Facettes banner — frame the subject (she sits centre of the photo) */
.campaign--facettes { background-position: center 22%; }
@media (max-width: 767px) {
  /* Mobile band is narrower than the photo, so there is room to
     slide her into the left third. Higher X% pushes her left. */
  .campaign--facettes { background-position: 64% 20%; }
}
/* ============================================================ */

/* Doctor card — photo as background so it fills EXACTLY the content height (even frame all sides) */
@media (min-width: 1024px) {
  .quote-strip .quote-photo {
    background-image: url("../images/team/dr-ambari-mouna.jpg");
    background-size: cover;
    background-position: center 22%;
    aspect-ratio: auto;      /* cancel the old 3/4 portrait ratio that forced extra height */
    height: auto;
    align-self: stretch;
  }
  .quote-strip .quote-photo > img { display: none !important; }
}

/* ============================================================
   MOBILE tweaks (desktop unchanged)
   ============================================================ */
@media (max-width: 767px) {
  /* "Le cabinet" image — wider than default but keeps a ~12px side inset (padding).
     Negative margins (NOT 100vw) so no horizontal overflow. */
  .about-image {
    margin-left: calc(12px - var(--space-5));
    margin-right: calc(12px - var(--space-5));
  }
  .about-image-inner { border-radius: var(--radius-lg); }

  /* Dr Mouna card (stacked): clear, even breathing room INSIDE the card.
     Text can never touch or cross the right frame. */
  .quote-strip-content {
    padding: 22px 22px 26px;
    min-width: 0;                 /* allow the flex/grid child to shrink, not overflow */
  }
  .quote-strip-text {
    max-width: 100%;
    overflow-wrap: break-word;    /* long words wrap instead of clipping */
  }
  /* CTA: full-width block on mobile so its label can't jut past the padding */
  .quote-cta {
    align-self: stretch;
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  .about-image {
    margin-left: calc(12px - var(--space-10));
    margin-right: calc(12px - var(--space-10));
  }
  .about-image-inner { border-radius: var(--radius-lg); }
}
@media (max-width: 1023px) {
  /* Dr Mouna photo — taller box + crop that keeps her face fully visible */
  .quote-photo { min-height: 400px; }
  .quote-photo img { object-position: center 15%; }
}
/* ============================================================ */
