/* ==========================================================================
   Dr. Alexandru Butnaru — The Dental Clinic
   Design: Apple-clean layout / rhythm / restraint · brand palette preserved
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --bg:        #111111;
  --bg-soft:   #161616;
  --bg-card:   #1a1a1a;
  --ivory:     #F0EBE1;
  --ivory-dim: #B8AD9E;
  --gold:      #B8975A;
  --gold-dim:  #8C6F3E;
  --border:      rgba(184,151,90,0.18);
  --border-soft: rgba(240,235,225,0.08);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 74px;
  --pad-x: clamp(22px, 6vw, 72px);
  --maxw: 1180px;
  --maxw-text: 720px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1); /* iOS-style deceleration */
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── Layout primitives ─────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.wrap--text { max-width: calc(var(--maxw-text) + var(--pad-x) * 2); }

section { padding-block: clamp(72px, 11vw, 128px); }
section.alt { background: var(--bg-soft); }

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }

/* Size-specific tracking: the larger the display type, the tighter it should read. */
.h-hero    { font-size: clamp(2.7rem, 6vw, 5rem);   line-height: 1.04; letter-spacing: -0.032em; }
.h-section { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1;  letter-spacing: -0.024em; margin-bottom: 20px; }
.h-sub     { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; letter-spacing: -0.015em; }

.lead { color: var(--ivory-dim); max-width: 46ch; line-height: 1.75; letter-spacing: 0; }
.muted { color: var(--ivory-dim); }
.divider { height: 1px; background: var(--border-soft); border: 0; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 0.792rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 15.4px 33px; border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.12s var(--ease), opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--gold); color: var(--bg); }
.btn--primary:hover { opacity: 0.9; }
.btn--ghost { color: var(--ivory-dim); border-color: var(--border-soft); }
.btn--ghost:hover { color: var(--ivory); border-color: var(--ivory-dim); }
.btn--text { padding: 13.2px 0; color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.btn--text:hover { color: var(--ivory); }

.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 40px; }

/* ─── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--pad-x);
  background: rgba(17,17,17,0.66);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { background: rgba(17,17,17,0.9); border-bottom-color: var(--border-soft); }

@media (prefers-reduced-transparency: reduce) {
  .nav, .nav.scrolled { background: rgba(17,17,17,0.98); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.nav-logo {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.01em; color: var(--ivory); text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--gold); }

.nav-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nav-social { display: flex; align-items: center; gap: 4px; padding-left: 10px; border-left: 1px solid var(--border-soft); }
.nav-social a { display: flex; align-items: center; justify-content: center; min-width: 26px; min-height: 26px; color: var(--ivory-dim); transition: color 0.22s var(--ease); }
.nav-social a:hover { color: var(--gold); }
.nav-social svg { width: 15px; height: 15px; fill: currentColor; }

.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); list-style: none; }
.nav-links a {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory-dim); text-decoration: none;
  padding-block: 6px; transition: color 0.22s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a[aria-current="page"] { color: var(--gold); }

.nav-end { display: flex; align-items: center; gap: 20px; }
.nav-gdpr {
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory-dim); text-decoration: none;
  padding-left: 20px; border-left: 1px solid var(--border-soft);
  transition: color 0.22s var(--ease);
}
.nav-gdpr:hover { color: var(--gold); }
.nav-cta {
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border: 1px solid var(--gold-dim); padding: 9px 20px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-soft);
  width: 42px; height: 38px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ivory); transition: transform 0.3s var(--ease), opacity 0.2s; }

/* Desktop: the whole top bar at 1.275x original — logo, social icons, links,
   GDPR, Programează — while mobile (<=820px, hamburger menu) stays as it was. */
@media (min-width: 821px) {
  :root { --nav-h: 94.35px; }

  .nav-brand { gap: 17.85px; }
  .nav-logo { font-size: 1.339rem; }

  .nav-social { gap: 5.1px; padding-left: 12.75px; }
  .nav-social a { min-width: 33.15px; min-height: 33.15px; }
  .nav-social svg { width: 19.13px; height: 19.13px; }

  .nav-links { gap: clamp(22.95px, 3.32vw, 51px); }
  .nav-links a { font-size: 0.893rem; padding-block: 7.65px; }

  .nav-end { gap: 25.5px; }
  .nav-gdpr { font-size: 0.816rem; padding-left: 25.5px; }
  .nav-cta { font-size: 0.842rem; padding: 11.48px 25.5px; }
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding-top: calc(var(--nav-h) + clamp(30px, 6vw, 74px)); padding-bottom: clamp(60px, 9vw, 110px); }
.hero .lead { font-size: 1.02rem; margin-top: 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px 56px; margin-top: 56px; }
.hero-stat .n { font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.hero-stat .l { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-dim); margin-top: 8px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "portrait" "copy" "reviews";
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero-copy     { grid-area: copy; }
.hero-reviews  { grid-area: reviews; }

/* Mobile: small thumbnail above the copy — unchanged from before. */
.hero-portrait { grid-area: portrait; width: clamp(150px, 20vw, 210px); margin: 0; }
.hero-portrait img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border);
  filter: grayscale(1) contrast(1.03);
}

/* Desktop: text on the left; a full-width, much larger portrait fills the
   right column with the reviews card stacked directly beneath it, so the
   right side reads as one continuous, deliberately composed block instead
   of a small photo floating over empty space. */
@media (min-width: 961px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "copy portrait"
      "copy reviews";
  }
  .hero-portrait { width: 100%; }
}

/* ─── Reviews card (hero, right) ─────────────────────────────────────────── */
.hero-reviews {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 230px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.hero-reviews:target { animation: revFlash 1.6s var(--ease); }
@keyframes revFlash {
  0%, 100% { border-color: var(--border); box-shadow: none; }
  15%      { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,151,90,0.16); }
}
.rev-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rev-brand { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-dim); }
.rev-brand strong { color: var(--ivory); font-weight: 500; }
.rev-score { display: inline-flex; align-items: baseline; gap: 8px; }
.rev-score > strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); line-height: 1; }
.rev-stars { color: var(--gold); letter-spacing: 0.06em; font-size: 0.82rem; }
.rev-count { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); }

.rev-viewport { flex: 1; overflow: hidden; }
.rev-track { list-style: none; display: flex; transition: transform 0.55s var(--ease); }
.rev-item {
  flex: 0 0 100%; min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 0.92rem; line-height: 1.65; color: var(--ivory-dim);
}
.rev-item--empty { color: var(--ivory-dim); font-style: italic; }
.rev-item .rev-text {
  color: var(--ivory);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.rev-item .rev-meta { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); }
.rev-item .rev-item-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.06em; }

.rev-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.rev-dots { display: flex; gap: 6px; }
.rev-dots button {
  width: 6px; height: 6px; padding: 0; border: 0; cursor: pointer;
  background: var(--border-soft); border-radius: 50%; transition: background 0.2s var(--ease);
}
.rev-dots button[aria-current="true"] { background: var(--gold); }
.rev-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn--sm { padding: 9.9px 17.6px; font-size: 0.66rem; letter-spacing: 0.12em; }

.hero-reviews--page { max-width: 560px; margin-top: 4px; }

/* ─── Testimoniale (recenzii.html) ──────────────────────────────────────── */
.tm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); margin-top: 48px; }
.tm-card { background: var(--bg); padding: clamp(26px, 3.2vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.tm-card .tm-stars { color: var(--gold); letter-spacing: 0.08em; font-size: 0.9rem; }
.tm-card blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ivory); }
.tm-card figcaption { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-dim); }
.tm-empty { grid-column: 1 / -1; background: var(--bg); padding: clamp(26px, 3.2vw, 40px); color: var(--ivory-dim); font-style: italic; }

/* ─── Recenzie wizard (recenzie.html) ───────────────────────────────────── */
.page-hero:has(.wiz) { padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 52px)); }
.wiz { margin-top: 8px; }
.wiz-track { height: 2px; background: var(--border-soft); margin-bottom: 14px; }
.wiz-fill { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.4s var(--ease); }
.wiz-count { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 26px; }
.wiz-panel { display: grid; gap: 18px; padding-block: 0; }
.wiz-panel .h-section { margin-bottom: 4px; }
.wiz-panel--end { gap: 14px; }

.wiz-stars { border: 0; }
.wiz-stars legend { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 12px; }
.wiz-stars-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wiz-stars-row label {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 16px; cursor: pointer;
  border: 1px solid var(--border-soft); color: var(--ivory-dim);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.wiz-stars-row label span { font-size: 1.1rem; }
.wiz-stars-row label em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.1em; }
.wiz-stars-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wiz-stars-row label:hover { border-color: var(--gold-dim); color: var(--ivory); }
.wiz-stars-row input:checked + span { color: var(--gold); }
.wiz-stars-row input:checked ~ em { color: var(--gold); }
.wiz-stars-row label:has(input:checked) { border-color: var(--gold); background: var(--bg-card); color: var(--gold); }
.wiz-stars-row input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 4px; }

.wiz-summary { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); }
.wiz-summary > div { background: var(--bg); display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 16px; }
.wiz-summary dt { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding-top: 2px; }
.wiz-summary dd { color: var(--ivory-dim); font-size: 0.95rem; white-space: pre-wrap; }

.wiz-err { color: #e6a5a5; font-size: 0.85rem; }
.wiz-nav { display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.wiz-nav .btn { min-width: 130px; justify-content: center; }

.page-hero { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 96px)); padding-bottom: clamp(40px, 6vw, 64px); }
.page-hero .lead { margin-top: 22px; font-size: 1rem; }

/* ─── Split blocks ──────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split--text-media { grid-template-columns: 1.05fr 0.95fr; }

.card-quote {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 44px);
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.4; color: var(--ivory);
}
.badge {
  display: inline-block; margin-top: 22px;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--border); padding: 8px 16px;
}

/* ─── Credential list ───────────────────────────────────────────────────── */
.cred-list { list-style: none; margin-top: 36px; display: grid; gap: 2px; }
.cred-list li { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--border-soft); }
.cred-list li:last-child { border-bottom: 1px solid var(--border-soft); }
.cred-list .y { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.cred-list span:last-child { color: var(--ivory-dim); font-size: 0.95rem; line-height: 1.6; }

/* ─── Service grid ──────────────────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); margin-top: 56px; }
.svc {
  background: var(--bg); padding: clamp(28px, 3.4vw, 44px);
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
  transition: background 0.3s var(--ease);
}
.svc:hover { background: var(--bg-card); }
.svc .num { font-family: var(--font-serif); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.1em; }
.svc .name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ivory); }
.svc .desc { font-size: 0.92rem; color: var(--ivory-dim); line-height: 1.7; }
.svc .tag { margin-top: auto; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.svc--full .desc { font-size: 0.98rem; max-width: 60ch; }

/* ─── Steps ─────────────────────────────────────────────────────────────── */
.steps { list-style: none; margin-top: 52px; display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: 88px 1fr; gap: clamp(18px, 3vw, 40px); padding: 32px 0; border-top: 1px solid var(--border-soft); }
.step:last-child { border-bottom: 1px solid var(--border-soft); }
.step .s { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.4rem; color: var(--ivory); margin-bottom: 8px; }
.step p { color: var(--ivory-dim); font-size: 0.95rem; max-width: 58ch; }

/* ─── Contact ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); margin-top: 52px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 2px; }
.info-list li { padding: 20px 0; border-top: 1px solid var(--border-soft); }
.info-list li:last-child { border-bottom: 1px solid var(--border-soft); }
.info-list .k { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.info-list .v { color: var(--ivory); font-size: 1rem; }
.info-list .v a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--border-soft); }
.info-list .v a:hover { border-color: var(--gold); }

.map-embed { margin-top: 28px; border: 1px solid var(--border-soft); aspect-ratio: 16 / 10; width: 100%; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.9) brightness(0.85); }

form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-dim); }
.field input, .field select, .field textarea {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  color: var(--ivory); font-family: var(--font-sans); font-size: 0.95rem; font-weight: 300;
  padding: 13px 15px; width: 100%;
  transition: border-color 0.22s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select { appearance: none; }
.form-note { font-size: 0.78rem; color: var(--ivory-dim); }
.form-hp { position: absolute; left: -9999px; }

.notice {
  border-left: 2px solid var(--gold-dim); padding: 4px 0 4px 20px;
  color: var(--ivory-dim); font-size: 0.9rem; margin-top: 8px;
}
.notice a { color: var(--gold); text-decoration: none; }

/* ─── FAQ accordion (details/summary, progressively enhanced) ──────────── */
.faq { display: grid; }
.faq-item { border-top: 1px solid var(--border-soft); }
.faq-item:last-child { border-bottom: 1px solid var(--border-soft); }
.faq-item > summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--ivory);
  -webkit-tap-highlight-color: transparent;
}
.faq-item > summary::-webkit-details-marker,
.faq-item > summary::marker { display: none; content: ""; }
.faq-item > summary .icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq-item > summary .icon::before,
.faq-item > summary .icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--gold); transform: translate(-50%, -50%);
}
.faq-item > summary .icon::before { width: 12px; height: 1.5px; }
.faq-item > summary .icon::after { width: 1.5px; height: 12px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.faq-item[open] > summary .icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a p { color: var(--ivory-dim); font-size: 0.95rem; line-height: 1.7; padding-bottom: 20px; max-width: 60ch; }

/* ─── Legal / prose ─────────────────────────────────────────────────────── */
.prose { color: var(--ivory-dim); }
.prose h2 { font-size: 1.5rem; color: var(--ivory); margin: 44px 0 14px; }
.prose h3 { font-size: 1.12rem; color: var(--ivory); margin: 28px 0 10px; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); }
.prose strong { color: var(--ivory); font-weight: 500; }

/* ─── CTA band ──────────────────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band .h-section { margin-bottom: 24px; }
.cta-band .lead { margin: 0 auto 8px; }
.cta-band .actions { justify-content: center; }

/* ─── Team ──────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); margin-top: 52px; }
.member { background: var(--bg); padding: clamp(26px, 3vw, 40px); }
.member .role { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.member h3 { font-size: 1.5rem; color: var(--ivory); margin: 10px 0 12px; }
.member p { color: var(--ivory-dim); font-size: 0.93rem; }
.member-photo { width: 100%; max-width: 150px; margin: 0 0 22px; }
.member-photo img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border);
  filter: grayscale(1) contrast(1.03);
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border-soft); padding-block: 56px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; color: var(--ivory); }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 26px; list-style: none; }
.footer-links a { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-dim); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; color: var(--ivory-dim); transition: color 0.22s var(--ease); }
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-copy { width: 100%; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-soft); font-size: 0.74rem; color: var(--ivory-dim); }
.footer-legal { font-size: 0.74rem; color: var(--ivory-dim); margin-top: 6px; }

/* ─── Cookie banner ─────────────────────────────────────────────────────── */
.cookie {
  position: fixed; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px);
  max-width: 400px; z-index: 200;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 22px 22px 20px; display: none;
}
.cookie.show { display: block; animation: slideUp 0.4s var(--ease) both; }
.cookie strong { display: block; color: var(--ivory); font-weight: 400; font-size: 0.95rem; margin-bottom: 8px; font-family: var(--font-serif); }
.cookie p { font-size: 0.82rem; color: var(--ivory-dim); line-height: 1.6; }
.cookie p a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-actions button {
  flex: 1; padding: 10px 14px; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--border-soft); background: none; color: var(--ivory-dim);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cookie-actions .accept { background: var(--gold); border-color: var(--gold); color: var(--bg); }

/* ─── Motion ────────────────────────────────────────────────────────────── */
/* Content is visible by default; JS "arms" the hidden state only when it can
   also reveal it (IntersectionObserver + a safety timeout). No JS => no hiding. */
.reveal { transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.reveal--armed { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: clamp(24px, 6vw, 40px); }
  .hero-portrait { width: clamp(140px, 34vw, 190px); }
  .hero-reviews { min-height: 0; }
}
@media (max-width: 900px) {
  .split, .split--text-media, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid, .tm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-gdpr { display: none; }
  .nav-toggle { display: flex; }
  .nav-end { gap: 12px; }

  .nav.menu-open { flex-wrap: wrap; height: auto; padding-bottom: 20px; background: rgba(17,17,17,0.97); }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    width: 100%; order: 3; margin-top: 14px; padding-top: 16px;
    border-top: 1px solid var(--border-soft);
  }
  .nav.menu-open .nav-links a { padding: 12px 0; font-size: 0.8rem; }
  .nav.menu-open .nav-gdpr { display: inline-block; border: 0; padding: 12px 0; width: 100%; order: 4; }
  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .cred-list li, .step { grid-template-columns: 1fr; gap: 6px; }
  .hero-stats { gap: 28px 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .wiz-summary > div { grid-template-columns: 1fr; gap: 4px; }
  .wiz-nav .btn { min-width: 0; flex: 1; }

  .nav-brand { gap: 8px; }
  .nav-social { gap: 2px; padding-left: 8px; }
  .nav-social a { min-width: 26px; min-height: 26px; }
  .nav-social svg { width: 15px; height: 15px; }
  .nav-cta { padding: 8px 14px; letter-spacing: 0.1em; }
}
@media (max-width: 480px) {
  .nav-social { display: none; } /* header too tight next to the CTA on phones; icons stay in the footer */
}
