/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fraunces DL";
  src: url("assets/fonts/playfair-display-normal.woff2?v=20260809d") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces DL";
  src: url("assets/fonts/playfair-display-italic.woff2?v=20260809d") format("woff2");
  font-weight: 500 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter DL";
  src: url("assets/fonts/inter.woff2?v=20260809d") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #1C3B4A;
  --navy-dark: #122730;
  --gold: #C89B3C;
  --terracotta: #C1694F;
  --cream: #F6F1E7;
  --cream-dark: #EDE4D3;
  --grey: #5B5B54;
  --white: #FFFFFF;

  --font-display: "Fraunces DL", Georgia, "Times New Roman", serif;
  --font-body: "Inter DL", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 22px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js-off [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn span { position: relative; z-index: 2; }

.btn--primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 8px 24px -8px rgba(28, 59, 74, 0.55);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--terracotta));
  background-size: 220% 220%;
  background-position: 0% 50%;
  z-index: 1;
  transition: background-position 0.6s var(--ease);
}
.btn--primary:hover::before { background-position: 100% 50%; }
.btn--primary:hover { box-shadow: 0 12px 30px -8px rgba(28, 59, 74, 0.65); transform: translateY(-2px); }

.btn--outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--outline:hover { background: var(--navy); color: var(--cream); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 10px 26px -10px rgba(200, 155, 60, 0.6);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(200, 155, 60, 0.7); }

.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 241, 231, 0.88);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 6px 24px -12px rgba(18, 39, 48, 0.25);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}
.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav__word em { color: var(--terracotta); font-style: normal; }

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--terracotta);
  transition: right 0.35s var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__cta {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cta:hover { background: var(--navy); color: var(--cream); }
.nav__cta--mobile { display: block; text-align: center; margin-top: 18px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 28px 24px;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  font-size: 1rem;
  font-weight: 500;
}
.nav__mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(120px, 18vw, 176px) 28px 90px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__frame {
  position: absolute;
  top: 96px; left: 28px; right: 28px; bottom: 40px;
  border: 1px solid rgba(28, 59, 74, 0.14);
  border-radius: 32px;
  pointer-events: none;
  z-index: 0;
}
.hero__frame-label {
  position: absolute;
  top: -11px; left: 32px;
  background: var(--cream);
  padding: 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}
.hero__inner { position: relative; z-index: 1; }

.hero__kicker {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin: 0 0 20px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--navy);
}
.hero__title em { font-style: italic; color: var(--terracotta); font-weight: 600; }

.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--grey);
  max-width: 48ch;
  margin: 0 0 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero__trust {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(28, 59, 74, 0.14);
}
.hero__trust-item { display: flex; flex-direction: column; gap: 2px; }
.hero__trust-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}
.hero__trust-item span { font-size: 0.82rem; color: var(--grey); }

.hero__visual { position: relative; z-index: 1; }

.calc-eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--navy), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  top: -100%; left: 0; right: 0; height: 100%;
  background: var(--terracotta);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}
.hero__scroll p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- Calculadora: test de elegibilidad ---------- */
.calc-box {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 70px -30px rgba(18, 39, 48, 0.28);
}

.calc-counter {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.calc-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--cream-dark);
  overflow: hidden;
  margin-bottom: 28px;
}
.calc-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  border-radius: 999px;
  transition: width 0.5s var(--ease);
}

.calc-step {
  display: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.calc-step.is-active { display: block; }
.calc-step.is-visible { opacity: 1; transform: translateY(0); }

.calc-step__question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.32;
  color: var(--navy);
  margin: 0 0 12px;
}
.calc-step__note {
  font-size: 0.88rem;
  color: var(--grey);
  margin: 0 0 22px;
}
.calc-step__question + .calc-options,
.calc-step__question + .calc-field { margin-top: 22px; }

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-option {
  text-align: left;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.15s var(--ease);
}
.calc-option:hover { border-color: var(--terracotta); }
.calc-option:active { transform: scale(0.99); }
.calc-option.is-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
}
.calc-option--muted { color: var(--grey); font-weight: 500; }
.calc-option--muted.is-selected { color: var(--cream); }

.calc-field { margin-bottom: 20px; }
.calc-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.calc-field input {
  width: 100%;
  font: inherit;
  font-family: var(--font-body);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  color: var(--navy);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.calc-field input:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}
.calc-input-wrap { position: relative; }
.calc-input-wrap .calc-input-prefix {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
  font-weight: 600;
  pointer-events: none;
}
.calc-input-wrap input { padding-left: 30px; }

.calc-error {
  min-height: 1.2em;
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 14px;
}

.calc-continue { margin-top: 4px; }
.calc-privacy {
  margin: 14px 0 0;
  font-size: 0.76rem;
  color: var(--grey);
  text-align: center;
}

.calc-nav { margin-top: 24px; }
.calc-back {
  background: none;
  border: none;
  color: var(--grey);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  visibility: hidden;
  transition: color 0.2s var(--ease);
}
.calc-back:hover { color: var(--navy); }

.calc-result-card { text-align: center; }
.calc-result-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.calc-result-card--elegible .calc-result-badge { background: rgba(200, 155, 60, 0.18); color: #8a6b23; }
.calc-result-card--revision .calc-result-badge { background: rgba(28, 59, 74, 0.1); color: var(--navy); }
.calc-result-card--no .calc-result-badge { background: rgba(193, 105, 79, 0.14); color: var(--terracotta); }

.calc-result-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 14px;
}
.calc-result-card p {
  color: var(--grey);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 26px;
}
.calc-result-cta { width: 100%; }
.calc-result-footnote {
  margin: 16px 0 0;
  font-size: 0.74rem;
  color: var(--grey);
  opacity: 0.85;
}

.calc-noscript {
  max-width: 640px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--grey);
}
.calc-noscript a { color: var(--terracotta); font-weight: 600; }

@media (max-width: 560px) {
  .calc-box { padding: 22px 18px; }
  .calc-option { padding: 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .calc-step { transition: none; }
  .calc-progress__bar { transition: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy);
  color: var(--cream);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  animation: marquee 34s linear infinite;
  padding-left: 100%;
}
.marquee__track span { color: var(--gold); }
.marquee__track span:nth-child(2n) { color: var(--cream); opacity: 0.6; }
@keyframes marquee {
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; padding-left: 0; }
}

/* ---------- Sections generic ---------- */
.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin: 0 0 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.14;
  color: var(--navy);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.section-title em { color: var(--terracotta); font-style: italic; }
.section-lead { color: var(--grey); font-size: 1.05rem; max-width: 60ch; margin: 0; }

/* ---------- Advantages ---------- */
.advantages {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 28px;
}
.advantages__head { max-width: 720px; margin-bottom: 64px; }

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(28, 59, 74, 0.14);
  border: 1px solid rgba(28, 59, 74, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.adv-card {
  background: var(--white);
  padding: clamp(32px, 4vw, 48px);
  position: relative;
  transition: background 0.4s var(--ease);
}
.adv-card:hover { background: var(--cream); }
.adv-card__index {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.adv-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.28;
}
.adv-card__text { color: var(--grey); margin: 0; font-size: 0.97rem; }

/* ---------- Servicios (acordeón) ---------- */
.services {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 28px;
}
.services__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.services__head .section-lead { margin: 0 auto; }

.accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion__item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.accordion__item.is-open {
  border-color: rgba(28, 59, 74, 0.22);
  box-shadow: 0 20px 44px -28px rgba(18, 39, 48, 0.35);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.accordion__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--terracotta);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.accordion__icon svg { width: 20px; height: 20px; }
.accordion__item.is-open .accordion__icon {
  background: var(--navy);
  color: var(--gold);
}

.accordion__title {
  flex-grow: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--navy);
}

.accordion__chevron {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--grey);
  transition: transform 0.35s var(--ease);
}
.accordion__chevron svg { width: 100%; height: 100%; }
.accordion__item.is-open .accordion__chevron { transform: rotate(180deg); color: var(--terracotta); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel-inner { overflow: hidden; }

.accordion__panel-inner p {
  margin: 0 0 16px;
  padding: 0 22px;
  color: var(--grey);
  font-size: 0.97rem;
  line-height: 1.6;
}
.accordion__panel-inner p:first-child { padding-top: 2px; }

.accordion__list {
  margin: 0 0 20px;
  padding: 0 22px 0 46px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
  font-size: 0.94rem;
}
.accordion__list li { list-style: disc; }

.accordion__tags-label {
  padding: 0 22px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 12px;
}
.accordion__tags {
  padding: 0 22px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .accordion__panel { transition: none; }
  .accordion__chevron { transition: none; }
}

/* ---------- Quote ---------- */
.quote {
  position: relative;
  background:
    linear-gradient(180deg, rgba(18, 39, 48, 0.93), rgba(18, 39, 48, 0.96)),
    url("assets/img/hero-institucional.webp?v=20260809d") center 20% / cover no-repeat;
  color: var(--cream);
  padding: clamp(70px, 10vw, 120px) 28px;
  text-align: center;
}
.quote blockquote {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.4;
  margin: 0 0 24px;
}
.quote footer {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Testimonials ---------- */
.testimonials {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 28px;
}
.testimonials__head { max-width: 720px; margin-bottom: 20px; }
.testimonials__note { font-size: 0.82rem; color: var(--grey); font-style: italic; margin: 8px 0 44px; }

.testimonials__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }

.test-card {
  flex: 0 0 min(380px, 82vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.test-card__stars { color: var(--gold); letter-spacing: 2px; }
.test-card__text { color: var(--navy); font-size: 1rem; line-height: 1.6; margin: 0; flex-grow: 1; }
.test-card__author { display: flex; align-items: center; gap: 12px; }
.test-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.test-card__author strong { display: block; font-size: 0.92rem; color: var(--navy); }
.test-card__author span { font-size: 0.8rem; color: var(--grey); }

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.test-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.test-nav:hover { background: var(--navy); color: var(--cream); }
.testimonials__dots { display: flex; gap: 8px; }
.testimonials__dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cream-dark);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.testimonials__dots span.is-active { background: var(--terracotta); transform: scale(1.3); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    linear-gradient(120deg, rgba(28, 59, 74, 0.88), rgba(18, 39, 48, 0.92)),
    url("assets/img/cta-banner.webp?v=20260809d") center / cover no-repeat;
  padding: clamp(70px, 10vw, 110px) 28px;
}
.cta-band__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: var(--cream);
  line-height: 1.25;
  margin: 0 0 36px;
}
.cta-band h2 em { color: var(--gold); font-style: italic; }

/* ---------- Contact ---------- */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__panel { max-width: 480px; }
.contact__list { margin-top: 44px; display: flex; flex-direction: column; gap: 24px; }
.contact__list li { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--cream-dark); padding-top: 16px; }
.contact__label { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.contact__value { font-size: 1.05rem; color: var(--navy); font-weight: 600; }

.contact__form {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 30px 60px -30px rgba(18, 39, 48, 0.25);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field input, .field textarea {
  font: inherit;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  color: var(--navy);
  resize: vertical;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}
.field__note { font-size: 0.76rem; color: var(--grey); margin: 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: var(--cream); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer__brand .nav__word { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.footer__brand p { color: rgba(246, 241, 231, 0.65); max-width: 34ch; margin-top: 10px; font-size: 0.88rem; }
.footer__links { display: flex; gap: 28px; font-size: 0.9rem; align-items: flex-start; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  padding: 22px 28px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(246, 241, 231, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__frame { top: 84px; }
  .hero__visual { order: -1; max-width: 560px; width: 100%; margin: 0 auto 8px; }

  .advantages__grid { grid-template-columns: 1fr; }

  .contact { grid-template-columns: 1fr; }
  .contact__panel { max-width: none; }
}

@media (max-width: 560px) {
  .hero__trust { gap: 20px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .test-card { flex-basis: 84vw; }
}
