/* ==========================================================================
   Magistra Tesis: landing page styles
   Plain CSS, custom properties, no framework, no build step.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Palette */
  --navy-900: #0B1526;
  --navy-800: #0E1B33;
  --navy-700: #13294B;
  --navy-600: #1B3B66;
  --amber: #D99A1E;
  --amber-bright: #E8AC35;
  --amber-light: #F0C46A;
  --amber-soft: #FBF0D6;
  --amber-ink: #6B4A08;

  --teal: #147D6F;
  --teal-ink: #0F6B60;
  --teal-soft: #E2F0ED;

  --paper: #F7F5F0;
  --paper-2: #FCFBF7;
  --paper-3: #F1EDE4;
  --white: #FFFFFF;

  --ink: #13294B;
  --ink-soft: #4A5A70;
  --ink-faint: #5F6B7D;
  --line: #DDD6C8;
  --line-strong: #C9C0AE;
  --danger: #A8321E;

  /* Typography */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --gutter: 2.5rem;
  --header-h: 72px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11, 21, 38, .06), 0 2px 8px rgba(11, 21, 38, .05);
  --shadow-md: 0 12px 32px rgba(11, 21, 38, .10);
  --shadow-lg: 0 24px 60px rgba(11, 21, 38, .18);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Reset / base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overflow-wrap: break-word;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.03; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; }

button { font: inherit; }

::selection { background: var(--amber-light); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 3. Utilities ------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.16em;
}

.icon--brand { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--navy-800);
  color: var(--paper);
  padding: .8rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}

.btn .icon { width: 1.05em; height: 1.05em; }

.btn--primary {
  background: var(--amber);
  color: var(--navy-900);
  box-shadow: 0 6px 16px rgba(217, 154, 30, .28);
}
.btn--primary:hover {
  background: var(--amber-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(217, 154, 30, .34);
}
.btn--primary:focus-visible { outline-color: var(--navy-800); }

.btn--ghost {
  background: transparent;
  color: var(--navy-700);
  border-color: rgba(19, 41, 75, .28);
}
.btn--ghost:hover {
  border-color: var(--navy-700);
  background: rgba(19, 41, 75, .05);
  transform: translateY(-1px);
}

.btn--sm { padding: .6rem 1rem; font-size: .87rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--teal-ink);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(15, 107, 96, .28);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.text-link:hover { border-color: var(--teal-ink); gap: .6rem; }
.text-link .icon { width: 1em; height: 1em; }

.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.link-button:hover { text-decoration: underline; }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, .82);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 240, .94);
  box-shadow: 0 6px 24px rgba(11, 21, 38, .06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--navy-800);
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--navy-700);
}
.brand-mark rect { fill: none; stroke: currentColor; stroke-width: 1.6; }
.brand-mark path { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name-accent { color: var(--teal-ink); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-link {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy-700);
  text-decoration: none;
  padding: .25rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="true"] { color: var(--navy-900); font-weight: 600; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-800);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(20, 125, 111, .12), transparent 62%),
    radial-gradient(760px 460px at 6% 4%, rgba(217, 154, 30, .13), transparent 66%),
    var(--paper);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(19, 41, 75, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(19, 41, 75, .055) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 25%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 55% 25%, #000 0%, transparent 78%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--paper));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-grid--solo {
  grid-template-columns: minmax(0, 1fr);
}

.hero-grid--solo .hero-copy {
  max-width: 54ch;
  margin-inline: auto;
  text-align: center;
}

.hero-grid--solo .hero-copy .eyebrow {
  justify-content: center;
}

.hero-grid--solo .hero-lead {
  margin-inline: auto;
}

.hero-grid--solo .hero-actions {
  justify-content: center;
}

.hero-grid--solo .hero-note {
  margin-inline: auto;
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--amber);
  flex: 0 0 auto;
}
.eyebrow--light { color: var(--amber-light); }

.hero h1 { margin-bottom: 1.35rem; }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-700);
  background-image: linear-gradient(to top, rgba(217, 154, 30, .34) 0 .34em, transparent .34em);
  background-repeat: no-repeat;
  padding-bottom: .04em;
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--ink-soft);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.85rem;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: 1.4rem;
  font-size: .84rem;
  color: var(--ink-faint);
  max-width: 32rem;
}
.hero-note .icon { width: 1.05rem; height: 1.05rem; margin-top: .18rem; color: var(--teal-ink); }

/* Hero visual (honest product mock, no stock photos) */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
}

.hv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.hv-map { padding: 1.5rem 1.55rem 1.2rem; }

.hv-card-head { margin-bottom: .55rem; }

.hv-chip {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--teal-ink);
  background: var(--teal-soft);
  padding: .25rem .55rem;
  border-radius: 6px;
  margin-bottom: .7rem;
}

.hv-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hv-sub { font-size: .8rem; color: var(--ink-faint); margin-top: .1rem; }

.hv-rows { margin: .75rem 0 0; }
.hv-rows > div {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: .8rem;
  padding: .58rem 0;
  border-top: 1px dashed var(--line);
}
.hv-rows dt {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: .12rem;
  overflow-wrap: normal;
  word-break: normal;
}
.hv-rows dd {
  margin: 0;
  font-size: .855rem;
  color: var(--navy-700);
  line-height: 1.45;
}
.hv-foot { font-size: .72rem; color: var(--ink-faint); margin-top: .7rem; }

.hv-log {
  align-self: flex-end;
  width: min(82%, 340px);
  margin-top: 1rem;
  padding: 1.05rem 1.15rem 1.15rem;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border-color: rgba(247, 245, 240, .1);
  box-shadow: var(--shadow-lg);
  color: var(--paper);
}
.hv-log-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .7rem;
}
.hv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 0 3px rgba(232, 172, 53, .22);
}
.hv-log-title { font-size: .86rem; font-weight: 600; color: var(--paper); }
.hv-log-count {
  margin-left: auto;
  font-family: var(--font-serif);
  font-size: .78rem;
  color: var(--amber-light);
}
.hv-log-entry { border-top: 1px solid rgba(247, 245, 240, .14); padding-top: .65rem; }
.hv-log-when {
  font-size: .63rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: .3rem;
}
.hv-log-text { font-size: .83rem; line-height: 1.5; color: rgba(247, 245, 240, .88); }
.hv-log-state {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .5rem;
  font-size: .74rem;
  font-weight: 600;
  color: #8BD6C2;
}
.hv-log-state .icon { width: .95rem; height: .95rem; }

.hero-visual figcaption {
  margin-top: .9rem;
  font-size: .78rem;
  color: var(--ink-faint);
  max-width: 34ch;
}

/* Trust strip */
.trust-strip {
  list-style: none;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}
.trust-strip li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: 1.4rem 1.4rem 0 0;
  min-width: 0;
}
.trust-strip li + li {
  border-left: 1px solid var(--line);
  padding-left: 1.4rem;
}
.trust-strip .icon {
  width: 22px; height: 22px;
  color: var(--teal-ink);
  margin-top: .1rem;
}
.trust-strip strong {
  display: block;
  font-size: .88rem;
  color: var(--navy-800);
  line-height: 1.3;
  margin-bottom: .15rem;
}
.trust-strip span { font-size: .78rem; color: var(--ink-faint); line-height: 1.45; }

/* 7. Sections -------------------------------------------------------------- */
.section { padding: clamp(4.5rem, 7vw, 7rem) 0; }
.section--tint { background: var(--paper-3); }

.section--navy {
  position: relative;
  background: var(--navy-800);
  color: var(--paper);
  overflow: hidden;
}
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(20, 125, 111, .28), transparent 65%),
    radial-gradient(600px 420px at 0% 100%, rgba(217, 154, 30, .10), transparent 60%);
  pointer-events: none;
}
.section--navy > .container { position: relative; z-index: 1; }
.section--navy h2, .section--navy h3 { color: var(--paper); }
.section--navy .btn--ghost {
  color: var(--paper);
  border-color: rgba(247, 245, 240, .35);
}
.section--navy .btn--ghost:hover {
  background: rgba(247, 245, 240, .08);
  border-color: rgba(247, 245, 240, .6);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: .9rem; }
.section-lead {
  font-size: clamp(.98rem, 1.2vw, 1.06rem);
  color: var(--ink-soft);
  line-height: 1.7;
}
.section-lead--light { color: rgba(247, 245, 240, .76); }

.section-footnote {
  margin-top: clamp(2.5rem, 4vw, 3.2rem);
  padding-top: 2rem;
  border-top: 1px dashed var(--line-strong);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--navy-700);
}

/* 8. Case cards ------------------------------------------------------------ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.case-grid--four {
  grid-template-columns: repeat(2, 1fr);
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem 1.7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.case-index {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: rgba(19, 41, 75, .1);
  line-height: 1;
}
.case-icon {
  width: 28px; height: 28px;
  color: var(--teal-ink);
  margin-bottom: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-card h3 { font-size: 1.28rem; line-height: 1.22; margin-bottom: .7rem; padding-right: 1.5rem; }
.case-card p { font-size: .925rem; color: var(--ink-soft); line-height: 1.62; }
.case-do {
  margin-top: 1rem !important;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .85rem !important;
}
.case-do span {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-right: .3rem;
}
.case-card .text-link { margin-top: auto; padding-top: 1.2rem; align-self: flex-start; }

/* 9. Timeline -------------------------------------------------------------- */
.timeline {
  list-style: none;
  position: relative;
  display: grid;
  max-width: 900px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 14px;
  bottom: 14px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--line-strong), var(--line));
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.4rem;
}
.step:last-child { padding-bottom: 0; }

.step-marker {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1.5px solid var(--line-strong);
  font-family: var(--font-serif);
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: .02em;
}

.step-body { padding-top: .4rem; min-width: 0; }
.step-body h3 { margin-bottom: .5rem; font-size: 1.34rem; }
.step-body > p { font-size: .945rem; color: var(--ink-soft); line-height: 1.65; max-width: 62ch; }

.step-meta {
  display: grid;
  gap: .4rem;
  margin-top: .85rem;
}
.step-meta span {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .82rem;
  color: var(--ink-soft);
}
.step-meta .icon {
  width: 1rem; height: 1rem;
  color: var(--teal-ink);
  margin-top: .2rem;
}
.step-meta strong { color: var(--navy-800); font-weight: 600; }

/* 10. Advisor -------------------------------------------------------------- */
.advisor-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.advisor-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 70% 0%, rgba(20, 125, 111, .45), transparent 60%),
    linear-gradient(160deg, var(--navy-600), var(--navy-900));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.advisor-photo svg {
  width: 58%;
  stroke: rgba(247, 245, 240, .32);
  fill: none;
  stroke-width: 2.2;
}
.advisor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(247, 245, 240, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 245, 240, .06) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 90%);
  mask-image: radial-gradient(ellipse at center, transparent 30%, #000 90%);
}
.advisor-photo-label {
  position: absolute;
  bottom: .9rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, .68);
  z-index: 1;
}

.advisor-role {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: .55rem;
}
.advisor-name { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: .8rem; }
.advisor-bio { font-size: .96rem; color: var(--ink-soft); line-height: 1.68; max-width: 52ch; }

/* 11. Authorship ----------------------------------------------------------- */
.autoria-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.pullquote {
  margin: 1.9rem 0 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--amber);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.45;
  color: rgba(247, 245, 240, .92);
  max-width: 30ch;
}

.autoria-card {
  background: rgba(247, 245, 240, .05);
  border: 1px solid rgba(247, 245, 240, .16);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.autoria-card-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: .9rem;
}

.authority-list { list-style: none; }
.authority-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: .85rem;
  align-items: start;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(247, 245, 240, .12);
  font-size: .93rem;
  line-height: 1.55;
  color: rgba(247, 245, 240, .9);
}
.authority-list li:last-child { border-bottom: 0; }
.authority-num {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(240, 196, 106, .45);
  color: var(--amber-light);
  font-family: var(--font-serif);
  font-size: .82rem;
  font-weight: 600;
}

.authority-warning {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-top: 1.4rem;
  padding: .95rem 1rem;
  background: rgba(217, 154, 30, .13);
  border: 1px solid rgba(217, 154, 30, .45);
  border-radius: var(--radius-sm);
  font-size: .86rem;
  line-height: 1.55;
  color: #F6ECD9;
}
.authority-warning .icon { width: 1.15rem; height: 1.15rem; color: var(--amber-light); margin-top: .15rem; }
.authority-warning strong { display: block; color: var(--paper); margin-bottom: .1rem; }

/* 12. Features ------------------------------------------------------------- */
/* 12.1. Study material (own section) --------------------------------------- */
.section--study {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.study-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.75rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.study-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  margin-bottom: 1.15rem;
}
.study-icon .icon { width: 23px; height: 23px; }

.study-card h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.study-card p { font-size: .925rem; color: var(--ink-soft); line-height: 1.62; }
.study-card h3 + p { flex: 1 1 auto; }

.study-meta {
  margin-top: .8rem;
  font-size: .78rem !important;
  font-weight: 600;
  color: var(--teal-ink) !important;
}

/* Decorative deliverable motif: no controls, no fake audio */
.study-token {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 1rem 0 0;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.study-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}
.study-wave i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--amber);
}
.study-wave i:nth-child(1) { height: 8px; }
.study-wave i:nth-child(2) { height: 14px; }
.study-wave i:nth-child(3) { height: 20px; }
.study-wave i:nth-child(4) { height: 11px; }
.study-wave i:nth-child(5) { height: 17px; }
.study-wave i:nth-child(6) { height: 9px; }
.study-wave i:nth-child(7) { height: 13px; }
.study-lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 26px;
}
.study-lines i {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--teal);
}
.study-lines i:nth-child(2) { width: 82%; background: rgba(20, 125, 111, .62); }
.study-lines i:nth-child(3) { width: 66%; background: rgba(20, 125, 111, .42); }
.study-lines i:nth-child(4) { width: 48%; background: rgba(20, 125, 111, .28); }
.study-token-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.study-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  padding: 1.1rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
}
.study-band-main {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-800);
}
.study-band-main .icon { width: 1.15rem; height: 1.15rem; color: var(--amber-ink); }
.study-band-note {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--ink-soft);
}
.study-band-note .icon { width: 1rem; height: 1rem; color: var(--teal-ink); }

/* Compact pointer inside "Qué incluye" (detail lives in #material) */
.include-pointer {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  padding: .95rem 1.15rem;
  background: var(--paper-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: .87rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.include-pointer .icon { width: 1.15rem; height: 1.15rem; color: var(--teal-ink); margin-top: .18rem; }
.include-pointer strong { color: var(--navy-800); }

/* Per-chapter study track note in the process timeline */
.step-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: .8rem;
  font-size: .82rem !important;
  color: var(--ink-faint) !important;
}
.step-note .icon { width: 1rem; height: 1rem; color: var(--teal-ink); margin-top: .2rem; }
.step-note .text-link { font-size: .82rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  height: 100%;
}
.feature-card h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.16rem;
  margin-bottom: .4rem;
}
.feature-card h3 .icon { width: 21px; height: 21px; color: var(--teal-ink); }

.feature-list { list-style: none; margin-top: .5rem; }
.feature-list li {
  position: relative;
  padding: .62rem 0 .62rem 1.15rem;
  border-top: 1px solid rgba(221, 214, 200, .7);
  font-size: .865rem;
  line-height: 1.52;
  color: var(--ink-soft);
}
.feature-list li:first-child { border-top: 0; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.feature-list strong { color: var(--navy-800); font-weight: 600; }

.not-included {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.5rem 2.5rem;
  padding: 1.5rem 1.75rem;
  background: rgba(19, 41, 75, .03);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.not-included h3 { font-size: 1.08rem; }
.not-included ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem 1.75rem;
}
.not-included li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.not-included li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--amber);
}

/* 13. Proof ---------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testimonial-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
}
.testimonial-badge {
  align-self: flex-start;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: .22rem .6rem;
}
.testimonial-card blockquote {
  margin: 1rem 0 1.2rem;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--navy-700);
}
.testimonial-card figcaption {
  margin-top: auto;
  font-size: .78rem;
  color: var(--ink-faint);
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

.proof-panel {
  margin-top: 2.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.proof-panel h3 { font-size: 1.22rem; margin-bottom: 1.1rem; }
.proof-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
}
.proof-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.proof-list .icon { width: 1.15rem; height: 1.15rem; color: var(--teal-ink); margin-top: .18rem; }
.proof-list strong { color: var(--navy-800); }

/* 14. Price ---------------------------------------------------------------- */
.price-wrap { max-width: 980px; }

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table thead th {
  background: var(--navy-800);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
  padding: .85rem 1.5rem;
}
.price-table thead th:last-child { text-align: right; }

.price-table tbody th {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-800);
  text-align: left;
  vertical-align: top;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  width: 24%;
}
.price-table tbody td {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  vertical-align: top;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
}
.price-table tbody td:last-child { text-align: right; }
.price-table tbody tr:first-child th,
.price-table tbody tr:first-child td { border-top: 0; }
.price-table tbody tr:hover th,
.price-table tbody tr:hover td { background: #FBFAF6; }

.price-free {
  display: inline-block;
  font-weight: 700;
  font-size: .86rem;
  color: var(--teal-ink);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: .22rem .7rem;
  white-space: nowrap;
}
.price-pending {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-700);
  white-space: nowrap;
}
.price-amount {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-700);
  white-space: nowrap;
}

.price-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.5rem;
}
.price-note {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-note-icon {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.price-note-icon .icon { width: 21px; height: 21px; }
.price-note-title {
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy-800);
  margin-bottom: .2rem;
}
.price-note p:not(.price-note-title) { font-size: .84rem; color: var(--ink-soft); line-height: 1.55; }

.pay-steps {
  list-style: none;
  display: grid;
  gap: .4rem;
  margin: .1rem 0 .55rem;
}
.pay-steps li {
  position: relative;
  padding-left: 1rem;
  font-size: .84rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.pay-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.pay-steps strong { color: var(--navy-800); font-weight: 700; }
.pay-note-extra { font-size: .8rem !important; color: var(--ink-faint) !important; }

/* 15. FAQ ------------------------------------------------------------------ */
.faq-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.section-head--sticky { position: sticky; top: calc(var(--header-h) + 28px); margin-bottom: 0; }
.section-head--sticky .text-link { margin-top: 1.4rem; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-heading { margin: 0; font-family: var(--font-sans); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-800);
  cursor: pointer;
}
.faq-trigger:hover { color: var(--teal-ink); }
.faq-chevron {
  width: 20px; height: 20px;
  color: var(--teal-ink);
  transition: transform .25s var(--ease);
}
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-panel p {
  padding: 0 0 1.3rem;
  max-width: 62ch;
  font-size: .92rem;
  line-height: 1.68;
  color: var(--ink-soft);
}

/* 16. Diagnosis / final CTA ------------------------------------------------ */
.diag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.diag-copy .section-lead { max-width: 34rem; }
.diag-points { list-style: none; margin: 1.6rem 0 1.4rem; display: grid; gap: .7rem; }
.diag-points li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(247, 245, 240, .82);
}
.diag-points .icon { width: 1.1rem; height: 1.1rem; color: var(--amber-light); margin-top: .2rem; }
.diag-response {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .84rem;
  color: rgba(247, 245, 240, .68);
}
.diag-response .icon { width: 1rem; height: 1rem; color: var(--amber-light); }
.diag-response strong { color: var(--amber-light); font-weight: 600; }

.diag-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: .35rem;
}
.label-optional { font-weight: 400; color: var(--ink-faint); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .9rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #D8D2C5;
  border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20, 125, 111, .16);
}
.field [aria-invalid="true"] {
  border-color: var(--danger);
  background: #FDF4F2;
}
.field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(168, 50, 30, .16);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field--full { grid-column: 1 / -1; }

fieldset.field { border: 0; padding: 0; margin: 0 0 1.05rem; }
fieldset.field legend {
  display: block;
  padding: 0;
  margin-bottom: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-800);
}
.radio-row { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.radio-row input[type="radio"] {
  width: auto;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  accent-color: var(--teal);
}
.radio-row input[type="radio"]:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  box-shadow: none;
}

.field-error {
  margin-top: .35rem;
  font-size: .78rem;
  color: var(--danger);
  line-height: 1.4;
}

.hp {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hp label,
.hp input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
}

.form-privacy {
  margin-top: .7rem;
  text-align: center;
  font-size: .76rem;
  color: var(--ink-faint);
}
.form-status {
  margin-top: .8rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--teal-ink);
}
.form-status:empty { display: none; }
.form-status--notice {
  margin-top: .9rem;
  padding: .9rem 1rem;
  background: var(--amber-soft);
  border: 1px solid #E6C67C;
  border-radius: 10px;
  color: var(--amber-ink);
  font-size: .84rem;
  text-align: left;
}

/* 17. Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(247, 245, 240, .7);
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
}

.brand--footer { color: var(--paper); }
.brand--footer .brand-mark { color: var(--paper); }
.brand--footer .brand-name-accent { color: var(--amber-light); }

.footer-tagline {
  margin: .95rem 0 1rem;
  font-size: .88rem;
  line-height: 1.55;
  color: rgba(247, 245, 240, .72);
  max-width: 30ch;
}
.footer-city { display: flex; align-items: center; gap: .4rem; font-size: .82rem; }
.footer-city .icon { width: 1rem; height: 1rem; color: var(--amber-light); }

.footer-heading {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a {
  font-size: .86rem;
  color: rgba(247, 245, 240, .76);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
.footer-col .link-button { font-size: .86rem; color: rgba(247, 245, 240, .76); text-decoration: underline; text-decoration-color: rgba(247, 245, 240, .22); text-underline-offset: 3px; }
.footer-col .link-button:hover { color: var(--paper); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .84rem;
  line-height: 1.45;
}
.footer-contact .icon { width: 1rem; height: 1rem; color: var(--amber-light); margin-top: .16rem; }
.footer-contact .is-placeholder { color: rgba(247, 245, 240, .6); }

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  padding: 1.4rem 0 2.5rem;
  border-top: 1px solid rgba(247, 245, 240, .14);
  font-size: .76rem;
  color: rgba(247, 245, 240, .64);
}
.footer-disclaimer { max-width: 62ch; }

/* 18. Dialogs & toast ------------------------------------------------------ */
.site-dialog {
  width: min(540px, calc(100% - 2rem));
  max-height: min(86vh, 720px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.site-dialog::backdrop {
  background: rgba(11, 21, 38, .62);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.dialog-inner { position: relative; padding: 2rem; }
.dialog-inner h2 { font-size: 1.5rem; margin-bottom: .8rem; padding-right: 2.5rem; }
.dialog-inner p { font-size: .9rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: .8rem; }
.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-800);
  cursor: pointer;
}
.dialog-close:hover { border-color: var(--line-strong); }
.dialog-close .icon { width: 18px; height: 18px; }
.dialog-list { list-style: none; display: grid; gap: .45rem; margin: .6rem 0 1rem; }
.dialog-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .88rem;
  color: var(--ink-soft);
}
.dialog-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.dialog-pending {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-ink) !important;
  background: var(--amber-soft);
  border-radius: 6px;
  padding: .3rem .6rem;
  margin-bottom: 1rem !important;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 150;
  max-width: calc(100% - 2rem);
  padding: .85rem 1.15rem;
  border-radius: 10px;
  background: var(--navy-800);
  color: var(--paper);
  font-size: .86rem;
  box-shadow: var(--shadow-lg);
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #0B1526;
  box-shadow: 0 12px 26px rgba(11, 21, 38, .28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 32px rgba(11, 21, 38, .32); }
.wa-float .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; }

/* 19. Scroll reveal -------------------------------------------------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* 20. Responsive ----------------------------------------------------------- */
@media (max-width: 1140px) {
  :root { --gutter: 2rem; }
  .site-nav { gap: 1.35rem; }
  .nav-list { gap: 1.25rem; }
  .nav-link { font-size: .88rem; }
  .nav-cta { padding: .6rem .8rem; font-size: .84rem; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hv-log { width: 100%; margin-top: 1rem; }
  .hero-visual figcaption { margin-top: .85rem; }

  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-strip li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.4rem; }

  .case-grid { grid-template-columns: 1fr; }
  .case-card h3 { padding-right: 2.5rem; }

  .autoria-grid { grid-template-columns: 1fr; }
  .pullquote { max-width: 46ch; }

  .feature-grid { grid-template-columns: 1fr; }
  .study-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .faq-layout { grid-template-columns: 1fr; }
  .section-head--sticky { position: static; margin-bottom: 2.25rem; }

  .diag-grid { grid-template-columns: 1fr; }
  .diag-card { max-width: 560px; }

  .advisor-card { grid-template-columns: 220px 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    padding: 1.25rem var(--gutter) 1.6rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(11, 21, 38, .12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: .9rem 0; font-size: 1.02rem; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 1rem; width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .advisor-card { grid-template-columns: 1fr; }
  .advisor-photo { max-width: 260px; aspect-ratio: 1 / 1; }
  .advisor-photo svg { width: 44%; }

  .price-notes { grid-template-columns: 1fr; }
  .proof-list { grid-template-columns: 1fr; }
  .not-included { grid-template-columns: 1fr; gap: 1rem; }
  .not-included ul { grid-template-columns: 1fr; }

  .price-table thead { display: none; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td { display: block; width: 100%; }
  .price-table { border: 0; background: transparent; }
  .price-table tbody tr {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .price-table tbody th {
    width: 100%;
    font-size: 1.15rem;
    padding: 1rem 1.25rem .35rem;
    border-top: 0;
  }
  .price-table tbody td {
    padding: .25rem 1.25rem .9rem;
    border-top: 0;
    text-align: left;
  }
  .price-table tbody td:last-child { text-align: left; padding-bottom: 1.15rem; }
  .price-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: .2rem;
  }
  .price-table tbody tr:hover th,
  .price-table tbody tr:hover td { background: transparent; }
}

@media (max-width: 600px) {
  :root { --gutter: 1.25rem; }

  h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip li { padding-right: 0; }
  .trust-strip li + li { border-left: 0; padding-left: 0; }
  .trust-strip li:nth-child(n+2) { border-top: 1px solid var(--line); padding-top: 1.1rem; }
  .trust-strip li:nth-child(3) { margin-top: 0; }

  .step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .step-marker { width: 44px; height: 44px; font-size: .8rem; }
  .timeline::before { left: 21px; }
  .step-body h3 { font-size: 1.18rem; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .diag-card { padding: 1.25rem; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.15rem; }
  .brand-name { font-size: 1.1rem; }
  .hv-rows > div { grid-template-columns: 5.1rem 1fr; gap: .6rem; }
  .hv-rows dd { font-size: .8rem; }
  .hv-rows dt { font-size: .62rem; letter-spacing: .07em; }
  .eyebrow { font-size: .66rem; letter-spacing: .1em; gap: .5rem; }
  .eyebrow::before { width: 18px; }
  .btn { padding: .8rem 1.1rem; }
  .section { padding: 3.5rem 0; }
}

/* 21. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .wa-float, .nav-toggle, .toast, .hero-bg::before { display: none !important; }
  body { background: #fff; color: #000; }
  .section--navy { background: #fff; color: #000; }
  .section--navy h2, .section--navy h3 { color: #000; }
}
