/* ==========================================================================
   Business Diagnostics — merged design system: Luxury/Editorial × Ada.

   Luxury contributes: warm alabaster canvas, charcoal ink, single gold
   accent as punctuation, Playfair Display + Inter, cinematic slow motion,
   grayscale→color imagery, vertical gridlines, drop cap, gold-slide buttons.

   Ada contributes: hierarchy through size (not weight), accent discipline,
   pill buttons as the single rounded element, hairline-border surfaces,
   whitespace-driven section rhythm, flat philosophy (shadows whisper).

   Merge rule: rectangular 0px architecture everywhere EXCEPT buttons,
   which are pills (Ada's signature) with Luxury's gold-slide fill.
   ========================================================================== */

:root {
  /* ——— Color: Luxury base, Ada discipline ——— */
  --canvas: #F9F8F6;        /* warm alabaster — expensive paper */
  --ink: #1A1A1A;           /* rich charcoal — never pure black */
  --ink-soft: rgba(26, 26, 26, 0.72);
  --muted: #6C6863;         /* warm grey for secondary text */
  --gold: #D4AF37;          /* metallic gold — punctuation only */
  --gold-deep: #A88A2A;
  --surface: #FFFFFF;
  --line: rgba(26, 26, 26, 0.14);        /* hairlines, Ada-style */
  --line-strong: rgba(26, 26, 26, 0.32);
  --error: #9C3D2E;

  /* ——— Typography ——— */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* ——— Motion: cinematic (Luxury) ——— */
  --ease-lux: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 300ms;    /* text color */
  --t-ui: 500ms;      /* fills, borders */
  --t-slow: 1500ms;   /* imagery */

  --pad: clamp(20px, 6vw, 96px);
}

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

/* Programmatic focus moves to step headings for screen readers — never
   show a visual outline for tabindex=-1 targets. */
[tabindex='-1']:focus { outline: none; }

html { -webkit-text-size-adjust: 100%; }

html, body {
  overflow-x: clip;   /* nothing may cause horizontal scroll, ever */
}
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;                 /* Ada: hierarchy by size, not weight */
  font-size: 16px;
  line-height: 1.625;               /* generous reading rhythm */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ——— Paper grain: 2% SVG noise overlay (Luxury "expensive paper") ——— */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ——— Visible vertical gridlines (Luxury bold factor) ——— */
.gridlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}
@media (min-width: 1024px) {
  .gridlines { display: block; }
}
.gridlines i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(26, 26, 26, 0.07);
}
.gridlines i:nth-child(1) { left: 18%; }
.gridlines i:nth-child(2) { left: 82%; }
.gridlines i:nth-child(3), .gridlines i:nth-child(4) { display: none; }
.gridlines i { background: rgba(26, 26, 26, 0.05); }
/* focused wizard steps: no gridlines cutting through the form */
body:not([data-step="intro"]) .gridlines { display: none; }

/* ——— Vertical side label (Luxury, desktop only) ——— */
.vertical-label {
  display: none;
}
@media (min-width: 1024px) {
  .vertical-label {
    display: block;
    position: fixed;
    right: 3.2vw;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    z-index: 2;
    pointer-events: none;
  }
}

/* ---------------------------------------------------------------- wizard */

.wizard {
  position: relative;
  z-index: 3;
  flex: 1;
  width: 100%;
  max-width: 800px;              /* phones + small tablets: single column */
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
}
/* Large screens: the editorial canvas opens up. Steps stay in a readable
   column (~880px) but the intro becomes a true asymmetric 12-col hero. */
@media (min-width: 1200px) {
  .wizard { max-width: 1360px; }
  .step { padding-left: clamp(0px, 4vw, 64px); padding-right: clamp(0px, 4vw, 64px); align-items: center; }
  .step[data-wizard-step="intro"] { align-items: stretch; }
  /* one consistent content column — headings, text, controls and buttons
     share the same width instead of each shrinking to its own content */
  .step[data-wizard-step] > h2,
  .step[data-wizard-step] > .step-sub,
  .step[data-wizard-step] > .options,
  .step[data-wizard-step] > .fields,
  .step[data-wizard-step] > .step-actions,
  .step[data-wizard-step] > .micro-note,
  .step[data-wizard-step] > .form-error { width: min(880px, 100%); }
  .step[data-wizard-step] > .progress,
  .step[data-wizard-step] > .step-count,
  .step[data-wizard-step] > h2,
  .step[data-wizard-step] > .step-sub,
  .step[data-wizard-step] > .step-actions,
  .step[data-wizard-step] > .micro-note,
  .step[data-wizard-step] > .form-error { max-width: 880px; }
  .step[data-wizard-step] > .options,
  .step[data-wizard-step] > .fields,
  .step[data-wizard-step] > .slots-grid,
  .step[data-wizard-step] > .booking-summary,
  .step[data-wizard-step] > .exit-card { max-width: 880px; }
}

.step {
  display: none;
  flex-direction: column;
  justify-content: safe center;   /* centers when content fits, top-aligns when it overflows */
  min-height: 100svh;
  width: 100%;
  padding: clamp(28px, 7vh, 72px) 0;
}
.step.is-active {
  display: flex;
  animation: step-in 420ms var(--ease-lux) both;
}
/* outgoing step: floats above the incoming one while it fades out */
.step.is-exiting {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  pointer-events: none;
  animation: step-out 200ms var(--ease-lux) both;
}
.wizard { position: relative; }

@keyframes step-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes step-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .step { animation: none; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}

.hidden { display: none !important; }

/* ------------------------------------------------------------- typography */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 26px;
}
/* decorative h-px line before the label (Luxury bold factor) */
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.headline {
  font-family: var(--font-display);
  font-weight: 500;                 /* Playfair 500 — confident, not loud */
  font-size: clamp(40px, 8.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  text-wrap: balance;
}
/* mixed italic headline — gold italic word creates "spoken" cadence */
.headline em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 5.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.subheadline {
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.intro-line, .step-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 40px;              /* Ada: whitespace-driven rhythm */
}
.step-sub { margin-bottom: 40px; }

/* Drop cap — classic editorial (Luxury bold factor) */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 4.4em;
  line-height: 0.8;
  float: left;
  margin: 0.06em 0.14em 0 0;
  color: var(--ink);
}

.micro-note {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 26px;
}

/* ------------------------------------------------------------------ stats */

.intro-hero { display: contents; }
.intro-copy, .intro-visual { display: contents; }
@media (min-width: 1200px) {
  .intro-hero {
    display: grid;
    grid-template-columns: 7fr 5fr;   /* Luxury asymmetry: 7/5, not 50/50 */
    column-gap: clamp(48px, 6vw, 110px);
    align-items: center;               /* text sits mid-height against the portrait */
    margin-bottom: 56px;
  }
  .intro-copy { display: flex; flex-direction: column; align-items: flex-start; }
  .intro-visual { display: flex; flex-direction: column; align-items: flex-start; }
  .intro-visual .portrait { margin-bottom: 30px; max-width: 420px; }
  .intro-visual .press-band { margin-bottom: 0; max-width: 420px; width: 100%; }
}

/* "Ce primești" — concrete deliverables, editorial numbered rows */
.get-list {
  border-top: 1px solid var(--line-strong);
  margin-bottom: 34px;
  max-width: 560px;
}
.get-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 14px 0 4px;
}
.get-item {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.get-item strong { color: var(--ink); font-weight: 500; }
.get-k {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--gold-deep);
  min-width: 26px;
}

/* Testimonial — editorial blockquote */
.quote {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin-top: 34px;
  max-width: 520px;
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}
.quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  margin-bottom: 44px;
}
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  padding: 22px 18px 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (min-width: 640px) {
  .stat { padding-right: 22px; }
  .stat + .stat { padding-left: 22px; }
}

.stat-n {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4.6vw, 36px);
  line-height: 1;
  color: var(--ink);
}
.stat-l {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------------------------------------------------------------- buttons
   Pill = Ada's signature (the ONLY rounded element). Gold layer slides in
   from the left on primary (Luxury animation). */

.btn {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 9999px;            /* Ada pill */
  border: 1px solid var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: color var(--t-ui) var(--ease-lux),
              border-color var(--t-ui) var(--ease-lux),
              box-shadow var(--t-ui) var(--ease-lux);
}

.btn-primary {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.15);
}
/* gold slide layer — pinned UNDER the label via z-index (text is wrapped
   in <span class=btn-label>); without this the gold layer covered the text */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform var(--t-ui) var(--ease-lux);
}
.btn-primary > span {
  position: relative;
  z-index: 1;
}
.btn-primary:hover:not(:disabled)::before,
.btn-primary:focus-visible:not(:disabled)::before { transform: translateX(0); }
.btn-primary:hover:not(:disabled),
.btn-primary:focus-visible:not(:disabled) {
  color: var(--ink);                /* ink text over gold */
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.25);
}
.btn-primary:disabled {
  background: #E9E4DB;              /* solid, clearly inactive — never empty-looking */
  border-color: transparent;
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}
.btn-primary:disabled::before { display: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--ink);
  color: var(--surface);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--canvas), 0 0 0 2px var(--ink);
}
.btn-primary:focus-visible { box-shadow: 0 0 0 1px var(--canvas), 0 0 0 2px var(--gold); }

/* --------------------------------------------------------------- progress */

.progress {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.progress-dot {
  width: 26px;
  height: 1px;
  background: var(--line);
  transition: background var(--t-ui) var(--ease-lux);
}
.progress-dot.is-current { background: var(--gold); height: 2px; margin-top: -0.5px; }
.progress-dot.is-done { background: var(--ink); }

.step-count {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ---------------------------------------------------------------- options
   Ada surfaces: defined by hairlines (border-t), not boxes. */

.options {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 40px;
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 1200px) {
  /* problem statements read well in two editorial columns */
  .options.options-problems { display: grid; grid-template-columns: 1fr 1fr; }
  .options-problems .option { padding-right: 56px; }
  .options-grid .option { padding-right: 56px; }
}

.option {
  appearance: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 19px 18px 19px 22px;
  cursor: pointer;
  position: relative;
  transition: background var(--t-ui) var(--ease-lux);
}
.option::before {                  /* gold punctuation bar, hidden by default */
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform var(--t-ui) var(--ease-lux);
}
.option:hover { background: rgba(26, 26, 26, 0.025); }

.option.is-selected { background: rgba(26, 26, 26, 0.04); }
.option.is-selected::before { transform: scaleY(1); }

/* the tick: a real circle element with an animated check stroke */
.opt-tick {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(26, 26, 26, 0.3);
  border-radius: 9999px;
  transition: background var(--t-ui) var(--ease-lux), border-color var(--t-ui) var(--ease-lux);
  pointer-events: none;
}
.opt-tick::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 5px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-lux) 40ms;
}
.option.is-selected .opt-tick {
  background: var(--ink);
  border-color: var(--ink);
}
.option.is-selected .opt-tick::after {
  transform: rotate(-45deg) scale(1);
}

.options-grid { display: grid; grid-template-columns: 1fr; gap: 2px; border-top: 1px solid var(--line-strong); }
@media (min-width: 600px) { .options-grid { grid-template-columns: 1fr 1fr; } }

.option-band { display: flex; flex-direction: column; gap: 6px; }
.band-n {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
}
.band-hint { font-size: 12px; color: var(--muted); }

.options-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-top: 1px solid var(--line-strong);
  margin-bottom: 0;               /* flows directly into the fields below */
}
@media (min-width: 700px) { .options-roles { grid-template-columns: repeat(4, 1fr); } }
.options-roles .option { text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px 40px 16px 6px; }


/* ----------------------------------------------------------------- fields
   Luxury inputs: underline only, italic serif placeholder. */

.fields { display: flex; flex-direction: column; margin-bottom: 40px; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) {
  .fields.fields-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 32px; }
  .fields.fields-contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .fields.fields-contact .field:first-child { grid-column: 1 / -1; }
  .fields.fields-contact { border-top: none; }   /* roles group sits above */
}

.field { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); padding: 12px 2px 10px; }

.field-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  appearance: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 6px 0;
  height: 34px;
  transition: border-color var(--t-ui) var(--ease-lux);
}
.field input:focus { outline: none; border-bottom-color: var(--gold); }
.field input.is-invalid { border-bottom-color: var(--error); }
/* italic serif placeholder — editorial signature */
.field input::placeholder {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: #A39E96;
}
.field-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { color: var(--error); font-size: 13px; margin: -14px 0 18px; }

/* ------------------------------------------------------------------ slots */

.slots-grid { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); margin-bottom: 40px; margin-left: auto; margin-right: auto; width: 100%; max-width: 560px; }

.slot-row {
  appearance: none;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "day time" "meta time";
  align-items: center;
  column-gap: 20px;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 18px 18px 18px 22px;
  cursor: pointer;
  position: relative;
  font-family: var(--font-body);
  transition: background var(--t-ui) var(--ease-lux);
}
.slot-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform var(--t-ui) var(--ease-lux);
}
.slot-row:hover { background: rgba(26, 26, 26, 0.025); }
.slot-row.is-selected { background: rgba(26, 26, 26, 0.035); }
.slot-row.is-selected::before { transform: scaleY(1); }

.slot-day { grid-area: day; font-family: var(--font-display); font-weight: 500; font-size: 21px; }
.slot-time { grid-area: time; font-size: 17px; font-weight: 500; letter-spacing: 0.05em; }
.slot-meta { grid-area: meta; font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.slots-hint { color: var(--muted); font-size: 14px; padding: 22px 2px; }

/* -------------------------------------------------------------- calendar */

.cal { max-width: 560px; margin: 0 auto; width: 100%; }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 16px;
}
.cal-month {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
}
.cal-nav {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-ui) var(--ease-lux), color var(--t-ui) var(--ease-lux), border-color var(--t-ui) var(--ease-lux);
}
.cal-nav:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.cal-nav-dead { display: inline-block; width: 40px; height: 40px; border: none; }

.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.cal-dow span {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
}
.cal-day {
  appearance: none;
  position: relative;
  background: transparent;
  border: none;
  aspect-ratio: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-ui) var(--ease-lux), color var(--t-ui) var(--ease-lux);
  animation: cal-pop 380ms var(--ease-lux) both;
  animation-delay: calc(var(--cal-i, 0) * 18ms);
}
.cal-empty { pointer-events: none; }
.cal-day.is-off { color: var(--line-strong); cursor: default; }
.cal-day.has-slots:hover { background: rgba(26, 26, 26, 0.05); }
/* gold dot marks days that have availability */
.cal-day.has-slots::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--gold);
}
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal-day.is-selected { background: var(--ink); color: var(--surface); }
.cal-day.is-selected::after { background: var(--gold); }

.cal-times { padding: 20px 0 4px; text-align: center; animation: step-in 300ms var(--ease-lux) both; }
.cal-chips { justify-content: center; }
.cal-time { animation: cal-pop 280ms var(--ease-lux) both; animation-delay: calc(var(--cal-i, 0) * 45ms); }

@keyframes cal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cal-times-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.cal-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cal-time {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 9999px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-ui) var(--ease-lux), color var(--t-ui) var(--ease-lux), border-color var(--t-ui) var(--ease-lux);
}
.cal-time:hover { border-color: var(--ink); }
.cal-time.is-selected { background: var(--ink); border-color: var(--ink); color: var(--surface); }

/* -------------------------------------------------------- booking summary */

.booking-summary {
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--line-strong);
  padding: 22px 2px 6px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.options-roles, .fields-contact { max-width: 640px; margin-left: auto; margin-right: auto; }
.summary-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.summary-k { color: var(--muted); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; align-self: center; }
.summary-v { font-weight: 500; text-align: right; }

/* -------------------------------------------------------------- step nav */

.step-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.step-actions .btn-primary { min-width: 220px; }

/* -------------------------------------------------------------- exit card */

.exit-card {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 32px 2px;
  margin-bottom: 40px;
}
.exit-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 23px;
  margin-bottom: 12px;
}
.exit-card-body { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; max-width: 52ch; }

/* ----------------------------------------------------------------- footer */

.footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  padding: 34px var(--pad) 40px;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 1200px) {
  .footer { max-width: 1360px; }
}
.footer-micro { margin-top: 6px; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }

/* ----------------------------------------------------- portrait & imagery
   Luxury: grayscale default, slow color reveal on hover, layered soft shadow,
   inner hairline frame. */

.portrait {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 0 44px;                 /* asymmetric: left-aligned, not centered */
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  box-shadow:
    inset 0 0 0 1px rgba(26, 26, 26, 0.06),
    0 8px 32px rgba(26, 26, 26, 0.12);
  transition: transform var(--t-slow) var(--ease-lux);
}
.portrait:hover { transform: scale(1.015); }

/* Press band: monochrome rhythm, color reward on hover (slow). */
.press-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 34px;
  margin: 0 0 44px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 560px;
}
.press-band img {
  height: 15px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.45;
  transition: filter var(--t-slow) var(--ease-lux), opacity var(--t-ui) var(--ease-lux);
}
.press-band img:hover { filter: grayscale(0); opacity: 0.85; }

/* ============================================================ page sections
   The intro step becomes a full editorial long-form page; wizard steps stay
   full-screen. */

.step[data-wizard-step="intro"] {
  min-height: auto;
  justify-content: flex-start;
  padding-top: clamp(28px, 7vh, 72px);
}

.page-section {
  padding: clamp(34px, 5vh, 56px) 0 8px;
  border-top: 1px solid var(--line);
  margin-top: clamp(24px, 4vh, 40px);
  max-width: 1360px;
}
.step[data-wizard-step="intro"] > .page-section:first-of-type {
  margin-top: clamp(48px, 8vh, 88px);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.15;
  margin-bottom: clamp(22px, 3.5vh, 34px);
  max-width: 22ch;
}
.section-title-sub { margin-top: clamp(26px, 4vh, 40px); }

/* ——— press wall: linked, monochrome, color reward on hover ——— */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 700px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .logo-wall { grid-template-columns: repeat(5, 1fr); } }
/* client walls need fewer, bigger cells — the logo is the hero here */
@media (min-width: 1100px) {
  .logo-wall-clients, .logo-wall-int { grid-template-columns: repeat(3, 1fr); }
}

.logo-wall a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  transition: background var(--t-ui) var(--ease-lux);
}
/* press logos: small wordmarks, capped both ways */
.logo-wall a img {
  max-width: 150px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* bare-img cells (client walls): fixed row heights, logos centered,
   natural aspect ratio — object-fit guards against any distortion */
.logo-wall > img {
  border-bottom: 1px solid var(--line);
  object-fit: contain;
  align-self: center;         /* grid centers the img in its fixed-height row */
  justify-self: center;
  padding: 0 18px;            /* NO vertical padding — an explicit img height
                                 plus 48px of padding made the content box
                                 negative and rendered every logo broken */
  box-sizing: border-box;
}
.logo-wall a { text-decoration: none; }
.logo-wall a:hover { background: rgba(26, 26, 26, 0.03); }

.logo-wall img {
  opacity: 0.92;
  transition: opacity var(--t-ui) var(--ease-lux);
}
.logo-wall a:hover img, .logo-wall img:hover { opacity: 1; }

/* ——— process: 7 steps, editorial numbered rows ——— */
.process { list-style: none; max-width: 860px; border-top: 1px solid var(--line-strong); }
.process li {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.process-n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--gold-deep);
  min-width: 44px;
  line-height: 1.2;
}
.process h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 6px;
}
.process p { font-size: 14.5px; color: var(--ink-soft); max-width: 62ch; }
.process em {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ——— testimonials ——— */
.quotes { display: grid; gap: 34px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; gap: 48px; } }
.quotes .quote { margin-top: 0; }

.video-card {
  position: relative;
  display: block;
  max-width: 640px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.06), 0 8px 32px rgba(26, 26, 26, 0.12);
  transition: box-shadow var(--t-ui) var(--ease-lux);
}
.video-card:hover { box-shadow: inset 0 0 0 1px rgba(26,26,26,0.08), 0 12px 40px rgba(26, 26, 26, 0.18); }
.video-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: rgba(26, 26, 26, 0.85);
}
.video-play::after {
  content: '';
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 16px solid var(--surface);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.video-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--surface);
}

/* ——— apply / don't apply ——— */
.apply-grid { display: grid; gap: 40px; grid-template-columns: 1fr; max-width: 900px; }
@media (min-width: 760px) { .apply-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.apply-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.apply-list { list-style: none; border-top: 1px solid var(--line-strong); }
.apply-list li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.apply-list li::before {
  position: absolute;
  left: 2px;
  font-weight: 500;
}
.apply-yes li::before { content: '\2713'; color: #2E7D4F; }
.apply-no li::before { content: '\00D7'; color: #B3392E; }

/* ——— final CTA ——— */
.final-cta {
  text-align: left;
  padding: clamp(36px, 6vh, 60px) 0 clamp(36px, 6vh, 56px);
  border-top: 1px solid var(--line);
  margin-top: clamp(28px, 5vh, 48px);
}
.final-cta h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.15;
  max-width: 20ch;
  margin-bottom: 16px;
}
.final-cta p { color: var(--muted); max-width: 52ch; margin-bottom: 30px; }

/* ——— dark footer (inverted Luxury palette) ——— */
.footer {
  max-width: none;
  background: var(--ink);
  color: var(--canvas);
  border-top: none;
  padding: clamp(48px, 7vh, 80px) var(--pad) 34px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  max-width: 1360px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(249, 248, 246, 0.14);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 22px;
}
.footer-brand span { font-family: var(--font-body); font-size: 12px; color: rgba(249, 248, 246, 0.6); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-social a {
  color: var(--canvas);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease-lux), border-color var(--t-fast) var(--ease-lux);
}
.footer-social a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer-line { font-size: 14px; margin-bottom: 10px; }
.footer-line a { color: var(--canvas); text-decoration: none; border-bottom: 1px solid rgba(249,248,246,0.25); }
.footer-line a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer .footer-micro { color: rgba(249, 248, 246, 0.55); }
.footer-legal { max-width: 1360px; margin: 26px auto 0; }

/* ---------------------------------------------------- scroll animations */

.page-section, .stats, .final-cta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 900ms var(--ease-lux), transform 900ms var(--ease-lux);
  transition-delay: var(--reveal-delay, 0ms);
}
.page-section.in-view, .stats.in-view, .final-cta.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children — delay driven by --reveal-delay set from JS */
[data-anim] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms var(--ease-lux), transform 800ms var(--ease-lux);
  transition-delay: var(--reveal-delay, 0ms);
}
.in-view [data-anim], [data-anim].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* stagger rhythm: children rise one after another as their section enters */
.in-view [data-anim]:nth-child(2) { --reveal-delay: 70ms; }
.in-view [data-anim]:nth-child(3) { --reveal-delay: 140ms; }
.in-view [data-anim]:nth-child(4) { --reveal-delay: 210ms; }
.in-view [data-anim]:nth-child(5) { --reveal-delay: 280ms; }
.in-view [data-anim]:nth-child(6) { --reveal-delay: 350ms; }
.in-view [data-anim]:nth-child(7) { --reveal-delay: 420ms; }
.in-view [data-anim]:nth-child(8) { --reveal-delay: 490ms; }
.in-view [data-anim]:nth-child(9) { --reveal-delay: 560ms; }
.in-view [data-anim]:nth-child(10) { --reveal-delay: 630ms; }
.in-view [data-anim]:nth-child(n+11) { --reveal-delay: 680ms; }

@media (prefers-reduced-motion: reduce) {
  .page-section, .stats, .final-cta, [data-anim] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— client logo sizing ———
   LOCAL: bigger presence — tall cells, logos up to ~110px.
   INTERNATIONAL: normalized — every logo rendered at exactly 40px high,
   width proportional to its natural aspect (never stretched). */
/* every logo gets the SAME contain-box: wide wordmarks use the full width,
   tall marks the full height — similar visual presence, zero distortion */
.logo-wall-clients { grid-auto-rows: 240px; }
.logo-wall-clients > img {
  width: 100%;
  height: 240px;
  padding: 14px 22px;
  box-sizing: border-box;
  object-fit: contain;
}
.logo-wall-int { grid-auto-rows: 160px; }
.logo-wall-int > img {
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
  height: 100%;
  padding: 12px 20px;
  object-fit: contain;
}

/* ——— video grid ——— */
.video-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-grid .video-card { max-width: none; }
.video-grid .video-card img { aspect-ratio: 16/10; }

/* ——— final CTA: button repaired (content-width pill, not a stadium) ——— */
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.final-cta .btn { width: auto; padding: 20px 52px; }

.role-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 640px;
  width: 100%;
  margin: 0 auto 10px;
}

.signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  margin: -14px 0 26px;
}
/* success: signature hugs the right edge of the content column */
.step[data-wizard-step="success"] .signoff {
  width: min(640px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

/* ------------------------------------------------------------- errors */
.step-error {
  color: #B3392E;
  font-size: 13.5px;
  margin: -24px 0 20px;
  animation: step-in 300ms var(--ease-lux) both;
}
.step-error:empty, .field-error:empty { display: none; }
.field-error {
  display: block;
  color: #B3392E;
  font-size: 12.5px;
  margin-top: 3px;
}

/* ------------------------------------------------------- small screens */

@media (max-width: 700px) {
  /* mobile hero order: the portrait belongs in the FIRST screen, right
     after the headline — not buried under the client quote (where it
     read as if Sergiu were quoting himself) */
  .step[data-wizard-step="intro"] { display: flex; flex-direction: column; }
  /* descendants, not children: .intro-hero/.intro-visual are display:contents,
     so these elements are flex items of the step despite the DOM nesting */
  .step[data-wizard-step="intro"] .eyebrow { order: 1; }
  .step[data-wizard-step="intro"] .headline { order: 2; }
  .step[data-wizard-step="intro"] .portrait { order: 3; }
  .step[data-wizard-step="intro"] .subheadline { order: 4; }
  .step[data-wizard-step="intro"] .intro-line { order: 5; }
  .step[data-wizard-step="intro"] .get-list { order: 6; }
  .step[data-wizard-step="intro"] .intro-copy [data-start] { order: 7; }
  .step[data-wizard-step="intro"] .intro-copy .quote { order: 8; }
  .step[data-wizard-step="intro"] .press-band { order: 9; }
  .step[data-wizard-step="intro"] .page-section { order: 10; }
  .step[data-wizard-step="intro"] .stats { order: 11; }
  .step[data-wizard-step="intro"] .final-cta { order: 12; }

  .portrait {
    max-width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1;
    object-position: center 22%;
    margin: 8px auto 22px;
  }
  .intro-copy .eyebrow { margin-top: 4px; }
  .headline { margin-bottom: 18px; }
  .intro-line { margin-bottom: 26px; }
  .get-list { margin-bottom: 26px; }
  .quote { margin-top: 24px; }
  .stats { margin-bottom: 30px; }
  .press-band { margin-bottom: 30px; gap: 14px 22px; }
}

@media (max-width: 700px) {
  .page-section {
    padding-top: clamp(26px, 4vh, 40px);
    margin-top: clamp(18px, 3vh, 28px);
  }
  .section-title { margin-bottom: 20px; }
  .section-title-sub { margin-top: 26px; }
  .quotes { gap: 24px; margin-bottom: 28px; }
  .video-grid { gap: 16px; }
  .apply-grid { gap: 28px; }
  .final-cta { padding: 34px 0 40px; margin-top: 26px; }
  .process li { padding: 18px 0; }
}

@media (max-width: 560px) {
  .step { justify-content: flex-start; padding-top: clamp(30px, 9vh, 60px); }
  .options-grid .option:nth-child(odd) { border-right: none; }
  .btn { width: 100%; }
  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .btn-primary { min-width: 0; }
  .summary-line { flex-direction: column; gap: 4px; }
  .summary-v { text-align: left; }
  .portrait { margin-left: auto; margin-right: auto; }
}
