/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 */
:root {
  --ink: #16202c;
  --clay: #bc7f67;
  --sky: #40a5f6;
  --sky-deep: #2b93e8;
  --navy: #334b66;
  --paper: #ffffff;
  --mist: #f6f3ef;
  --line: #e4dcd4;
  --muted: #5c6a78;
  --font: "Lato", system-ui, sans-serif;
  --radius: 3px;
  --wrap: 46rem;
  --wrap-wide: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
input, select, textarea { font-size: 16px; }
button { cursor: pointer; touch-action: manipulation; }
a { color: inherit; touch-action: manipulation; }

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

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}
.wrap--wide {
  width: min(100% - 2rem, var(--wrap-wide));
}

.hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  isolation: isolate;
  padding: 4.5rem max(1.25rem, env(safe-area-inset-right)) 3.5rem max(1.25rem, env(safe-area-inset-left));
  background-color: #16202c;
  background-image:
    linear-gradient(180deg, rgba(22, 32, 44, 0.42) 0%, rgba(22, 32, 44, 0.5) 55%, rgba(22, 32, 44, 0.58) 100%),
    image-set(
      url("img/hero.webp") type("image/webp"),
      url("img/hero.jpg") type("image/jpeg")
    );
  background-position: center, center 42%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
.hero__inner {
  width: min(100%, 42rem);
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}
.hero__brand {
  width: min(100%, 17.5rem);
  text-decoration: none;
}
.hero__logo {
  width: 100%;
  height: auto;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.25));
}
.hero h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(1.7rem, 5.4vw, 3.125rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 12px rgba(0,0,0,.28);
}
.hero__lede {
  margin: 0.15rem 0 0;
  font-weight: 300;
  font-size: clamp(1.05rem, 2.8vw, 2rem);
  letter-spacing: 0.03em;
  line-height: 1.45;
  max-width: 36rem;
}
.hero__note {
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(0.92rem, 2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 2.15rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--sky);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  text-wrap: balance;
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero .btn {
  letter-spacing: 0.14em;
  line-height: 1.3;
  padding-inline: 1.5rem;
}
.btn:hover { background: var(--sky-deep); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.btn--wide { width: 100%; }
.hero__site {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 0.08rem;
}
.hero__site:hover { color: #fff; border-bottom-color: #fff; }
.hero__site:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* —— Band / intro —— */
.band {
  padding: 3.25rem 0 2.75rem;
  text-align: center;
}
.band h2,
.why h2,
.stats h2,
.intake h2,
.sec h2,
.navy h2,
.quotes h2,
.faq-sec h2,
.services h2,
.who h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  letter-spacing: 0.03em;
  color: var(--clay);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.band h2 { padding: 1.15rem 0; }
.faq .ans p { margin: 0 0 0.75rem; }
.faq .ans p:last-child { margin-bottom: 0; }
.band__lede {
  margin: 1.35rem auto 0;
  max-width: 38rem;
  font-weight: 300;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  letter-spacing: 0.02em;
  color: var(--clay);
  line-height: 1.4;
}
.band__lede em {
  font-style: italic;
  font-weight: 400;
}

/* —— Why —— */
.why {
  padding: 0 0 3.5rem;
  text-align: center;
}
.why__photo {
  width: 100%;
  margin: 0;
  aspect-ratio: 960 / 472;
  object-fit: cover;
}
.why picture {
  width: min(100%, 46rem);
  margin: 0 auto 2rem;
}
.why h2 { margin-bottom: 1.5rem; }
.why ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40rem;
  display: grid;
  gap: 1.35rem;
  text-align: left;
}
.why li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 1.02rem;
}
.why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--sky);
}
.why strong { font-weight: 700; }

/* —— Stats —— */
.stats {
  padding: 2.5rem 0 3.25rem;
  text-align: center;
}
.stats h2 { margin-bottom: 1.75rem; }
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.stats article {
  padding: 1.1rem 0.75rem 0.4rem;
  min-width: 0;
}
.stats b {
  display: block;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 300;
  color: var(--clay);
  letter-spacing: 0.02em;
  line-height: 1;
}
.stats span {
  display: block;
  margin-top: 0.45rem;
  color: var(--clay);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}

.fit {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--clay);
  font-size: 1.05rem;
  line-height: 1.5;
}
.fit strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* —— Intake (mid + bottom) —— */
#next,
#consult,
#consult-form,
#consult-bottom { scroll-margin-top: 1.25rem; }
.intake {
  padding: 2.5rem 0 3.25rem;
  background: var(--mist);
}
.intake__intro {
  text-align: center;
  margin-bottom: 1.5rem;
}
.intake__intro p {
  margin: 0.65rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.intake__site {
  margin-top: 1.05rem;
  font-size: 0.95rem;
}
.intake__site a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}
.intake__site a:hover { color: var(--sky-deep); }

.lead {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.2rem 1.45rem;
  box-shadow: 0 8px 28px rgba(22, 32, 44, 0.06);
}
.lead__progress {
  margin: 0 0 1.25rem;
}
.lead__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.7rem;
}
.lead__step {
  display: grid;
  gap: 0.1rem;
  text-align: center;
  color: var(--muted);
  opacity: 0.72;
}
.lead__step.is-current {
  color: var(--ink);
  opacity: 1;
}
.lead__step-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lead__step-title {
  font-size: 0.95rem;
  font-weight: 600;
}
.lead__step-sep {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.55;
}
.lead__avail {
  margin: 1.15rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}
.lead__avail a {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 0.18em;
}
.lead__avail a:hover { color: var(--sky-deep); }
.lead fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.row-2 {
  display: grid;
  gap: 0.85rem;
}
.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  min-width: 0;
}
.lead fieldset.field {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 3.1rem 0 0;
  padding: 0;
  border: 0;
}
.lead fieldset legend {
  padding: 0;
  margin: 0 0 1.25rem;
  float: none;
  width: 100%;
  display: block;
}
.field label,
.field legend {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #cfc6bc;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.field input:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 1px;
  border-color: var(--sky);
}
.field.is-invalid input {
  border-color: #b42318;
}
.err {
  display: none;
  color: #b42318;
  font-size: 0.82rem;
}
.field.is-invalid .err { display: block; }

.choices {
  display: grid;
  gap: 0.7rem;
}
.choices label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 400;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.choices label:has(input:checked) {
  border-color: var(--sky);
  background: #eef7fe;
}
.choices input { accent-color: var(--sky); }
.field.is-invalid .choices label { border-color: #b42318; }
.lead .btn--wide { margin-top: 2.15rem; }

.outcome {
  text-align: center;
  padding: 0.5rem 0.25rem 0.15rem;
}
.outcome h3 {
  margin: 0 0 0.55rem;
  font-weight: 400;
  color: var(--ink);
  font-size: 1.25rem;
}
.outcome p { margin: 0 0 0.75rem; color: var(--muted); }
.outcome p:last-child { margin-bottom: 0; }
.outcome a { color: var(--sky); font-weight: 700; }
.outcome--pass {
  text-align: left;
  max-width: 36rem;
  margin-inline: auto;
}
.outcome--pass h3 {
  color: var(--clay);
  text-align: center;
  line-height: 1.4;
}
.outcome--book {
  padding-bottom: 0;
}
.calendly {
  margin: 1.15rem 0 0;
  width: 100%;
  min-width: 0;
  min-height: 640px;
  height: min(78svh, 720px);
}
.calendly:empty {
  display: none;
  min-height: 0;
  height: auto;
  margin: 0;
}
.calendly iframe {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 640px;
  border: 0;
}

/* —— Navy beliefs —— */
.navy {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 3.25rem 0;
}
.navy h2 { color: #fff; margin-bottom: 1.5rem; }
.navy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.navy li {
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.45;
}

/* —— Quotes —— */
.quotes {
  padding: 3.25rem 0;
  text-align: center;
}
.quotes h2 {
  color: var(--clay);
  margin-bottom: 1.25rem;
}
.quotes__photo {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.quotes picture {
  width: min(100%, 22rem);
  margin: 0 auto 1.75rem;
}
.stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin: 0 0 0.85rem;
  color: #e0b123;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.quotes figure { margin: 0 0 1.75rem; }
.quotes blockquote {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}
.quotes figcaption {
  margin-top: 0.65rem;
  color: var(--clay);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* —— FAQ —— */
.faq-sec {
  padding: 3rem 0;
  text-align: center;
}
.faq-sec h2 { margin-bottom: 1.4rem; }
.faq {
  text-align: left;
  display: grid;
  gap: 0.45rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.15rem 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.7rem 0;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--clay);
}
.faq details[open] summary::after { content: "–"; }
.faq .ans {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* —— Services —— */
.services {
  padding: 3rem 0 3.5rem;
  text-align: center;
  background: var(--mist);
}
.services h2 { margin-bottom: 1.75rem; }
.services__grid {
  display: grid;
  gap: 1.75rem;
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 32, 44, 0.08); }
.card:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}
.card picture { width: 100%; }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card h3 {
  margin: 1rem 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}
.card h4 {
  margin: 0 0 0.55rem;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
}
.card p {
  flex: 1;
  margin: 0;
  padding: 0 0.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.card__more {
  margin: 0.7rem 0 1rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card:hover .card__more { color: var(--sky-deep); }

/* —— Who —— */
.who {
  padding: 3.25rem 0;
  text-align: center;
}
.who h2 { margin-bottom: 1.5rem; }
.who__person {
  display: grid;
  justify-items: center;
  text-decoration: none;
  color: inherit;
}
.who__person:hover h3 { color: var(--sky-deep); }
.who__person:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 6px;
  border-radius: 4px;
}
.who picture {
  width: min(100%, 14rem);
  margin: 0 auto 1rem;
}
.who img {
  width: 100%;
  margin: 0;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}
.who h3 {
  margin: 0;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
}
.who .role {
  margin: 0.3rem 0 0;
  color: var(--clay);
  font-size: 0.95rem;
}

/* —— Footer —— */
.foot {
  background: var(--navy);
  color: #d7e0ea;
  padding: 2.5rem 0 1.6rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.foot .wrap--wide {
  width: min(100% - 2rem, 88rem);
}
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot__brand {
  display: block;
  width: min(100%, 10.5rem);
  margin: 0 auto 1.75rem;
}
.foot__logo {
  width: 100%;
  height: auto;
  margin: 0;
}
.foot__grid {
  display: grid;
  gap: 1.75rem;
}
.foot__col {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.foot h3 {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0.35rem 0; }
.foot__places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1.15rem;
}
.foot__places li {
  margin: 0;
  color: #c5d0db;
  font-size: 0.82rem;
  line-height: 1.4;
}
.foot__places span {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.12rem;
}
.foot__copy {
  margin: 2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  font-size: 0.78rem;
  color: #b7c4d1;
}

/* —— Breakpoints —— */
@media (min-width: 640px) {
  .row-2 { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .lead { padding: 1.7rem 1.7rem 1.8rem; }
  .foot__places { gap: 1rem 1.6rem; }
}

@media (min-width: 900px) {
  .wrap { width: min(100% - 3rem, var(--wrap)); }
  .band { padding: 4rem 0 3.25rem; }
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .foot .wrap--wide { width: min(100% - 3rem, 88rem); }
  .foot__grid {
    grid-template-columns: minmax(10.5rem, 0.62fr) minmax(0, 3.2fr) minmax(8.5rem, 0.58fr);
    gap: 0 2rem;
    align-items: start;
  }
  .foot__places {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
  }
  .foot__col {
    padding-top: 0;
    border-top: 0;
    padding-left: 2rem;
    border-left: 1px solid rgba(255,255,255,.16);
  }
  .foot__col:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .quotes__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .quotes figure { margin: 0; }
  .why ul { gap: 1.5rem; }
}

@media (max-width: 700px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(22, 32, 44, 0.42) 0%, rgba(22, 32, 44, 0.5) 55%, rgba(22, 32, 44, 0.58) 100%),
      image-set(
        url("img/hero-sm.webp") type("image/webp"),
        url("img/hero-sm.jpg") type("image/jpeg")
      );
  }
  .lead { padding: 1.15rem 0.95rem 1.25rem; }
  .faq summary {
    letter-spacing: 0.04em;
    font-size: 0.78rem;
    line-height: 1.35;
    text-wrap: balance;
  }
  .navy li { letter-spacing: 0.02em; }
  .foot a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .hero__brand,
  .hero__logo { width: min(100%, 14.5rem); }
  .foot__places { grid-template-columns: 1fr; }
  .btn { letter-spacing: 0.18em; padding-inline: 1.35rem; }
}

@media (max-height: 640px) {
  .hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* —— Variante Meta Ads: copy nuevo + quiz —— */
.hero__sub {
  margin: 0.35rem 0 0.2rem;
  max-width: 32rem;
  font-size: clamp(0.92rem, 1.9vw, 1.05rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.band__about {
  margin: 1.6rem auto 0;
  max-width: 38rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}
.intake__intro .intake__note {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--clay);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.95rem;
  text-align: left;
  border-radius: var(--radius);
}
.lead__quiz fieldset.field { margin-top: 2.1rem; }
.lead__quiz fieldset.field:first-child { margin-top: 0; }
.lead__quiz fieldset legend { margin-bottom: 0.35rem; font-size: 1rem; }
.lead__quiz .choices label {
  align-items: flex-start;
  line-height: 1.4;
  padding-block: 0.75rem;
}
.lead__quiz .choices input { margin-top: 0.2rem; flex: none; }
.lead__step.is-done { opacity: 0.85; }
.lead__step.is-done .lead__step-kicker::after { content: " ✓"; color: var(--sky-deep); }
.lead__back {
  display: block;
  margin: 0.9rem auto 0;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.lead__back:hover { color: var(--navy); }
.outcome .lead__fee {
  font-size: 0.88rem;
  color: var(--clay);
}

/* —— Packages page —— */
.pk-top {
  background: var(--navy);
  padding: 0.9rem 0;
  text-align: center;
}
.pk-top a { display: inline-block; width: min(100%, 8.5rem); }
.pk-hero {
  padding: 2.75rem 0 2.25rem;
  text-align: center;
}
.pk-hero h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.02em;
  color: var(--clay);
  line-height: 1.15;
}
.pk-hero p {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  color: var(--ink);
}
.pk-perks {
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.4rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}
.pk-perks li { display: flex; align-items: center; gap: 0.4rem; }
.pk-perks li::before,
.pk__combo li::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.pk-hero__deal {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 0.98rem;
  text-underline-offset: 0.2em;
}
.pk-hero__deal:hover { color: var(--navy); }

.pk-list {
  padding: 2.75rem 0 3.25rem;
  background: var(--mist);
}
.pk-list__title {
  margin: 0;
  text-align: center;
  font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  color: var(--navy);
  line-height: 1.25;
}
.pk-list__hint {
  margin: 0.4rem 0 1.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* La "ecuación": Intensive + Resume = Complete */
.pk-eq { display: grid; }
.pk-op {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin: -0.35rem 0;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 0 0 5px var(--mist);
}
.pk {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem 1.25rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.pk__tag {
  margin: 0;
  color: var(--clay);
  font-size: 0.92rem;
  font-weight: 700;
}
.pk__name {
  margin: 0.3rem 0 0;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink);
}
.pk__price {
  margin: 0.55rem 0 0;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.pk__price s {
  margin-right: 0.35rem;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration-thickness: 1px;
}
.pk__desc {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.pk__feats {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.pk__feats li { border-bottom: 1px solid var(--line); }
.pk__feats summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.6rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
}
.pk__feats summary::-webkit-details-marker { display: none; }
.pk__feats summary::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  border-radius: 50%;
  background: #e3f1fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%232b93e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.pk__feats summary::after {
  content: "";
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}
.pk__feats details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.pk__feats summary:hover { color: var(--navy); }
.pk__feats summary:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
  border-radius: 2px;
}
.pk__feats details p {
  margin: 0 0 0.9rem;
  padding-left: 1.75rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.pk .btn {
  margin-top: 1.35rem;
  width: 100%;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 1rem;
}
.btn--line {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--line:focus-visible { outline-color: var(--sky); }

/* Paquete completo: el resultado de la ecuación */
.pk--best {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 16px 40px rgba(51, 75, 102, 0.28);
}
.pk__flag {
  align-self: flex-start;
  margin: 0;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--sky);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.pk--best .pk__name { color: #fff; margin-top: 0.7rem; }
.pk--best .pk__price { color: #fff; }
.pk__save {
  margin: 0.55rem 0 0;
  color: #9fd2fb;
  font-weight: 700;
}
.pk__combo {
  flex: 1;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.pk__combo p {
  margin: 0 0 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.pk__combo ul {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.pk__combo ul:last-child { margin-bottom: 0; }
.pk__combo li {
  display: flex;
  gap: 0.55rem;
  color: #d7e0ea;
  font-size: 0.95rem;
  line-height: 1.4;
}
.pk__combo li::before { margin-top: 0.1rem; }
.pk--best .btn:focus-visible { outline-color: #fff; }
#complete { scroll-margin-top: 1rem; }

/* Cómo funciona */
.pk-how { padding: 3rem 0 3.25rem; }
.pk-how h2 {
  margin: 0 0 1.4rem;
  text-align: center;
  font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  color: var(--clay);
}
.pk-how ol {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.pk-how ol li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  min-height: 2.2rem;
  color: var(--muted);
}
.pk-how ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--clay);
  color: var(--clay);
  font-weight: 700;
}
.pk-how ol strong { display: block; color: var(--ink); }
.pk-quote {
  margin: 2.25rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.pk-quote blockquote {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
}
.pk-quote figcaption {
  margin-top: 0.5rem;
  color: var(--clay);
  font-weight: 700;
  font-size: 0.92rem;
}
.pk__fine {
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.pk__fine a { color: var(--navy); font-weight: 700; }

@media (min-width: 700px) {
  .pk-how ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .pk-how ol li { padding: 2.9rem 0 0; text-align: center; }
  .pk-how ol li::before { left: 50%; transform: translateX(-50%); top: 0; }
}

@media (min-width: 1020px) {
  .pk-list .wrap--wide { width: min(100% - 3rem, 74rem); }
  .pk-eq {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.08fr);
    align-items: stretch;
  }
  .pk-op {
    align-self: center;
    margin: 0 -0.55rem;
  }
  .pk { padding: 1.75rem 1.5rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pk__feats summary::after { transition: none; }
}

@media (max-width: 639px) {
  .lead__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .lead__step-sep { display: none; }
  .lead__step-kicker { font-size: 0.66rem; letter-spacing: 0.04em; }
  .lead__step-title { font-size: 0.85rem; line-height: 1.25; }
}
