/* Sombra Nature · landing (estructura y estilo tomados de clusia.com) */
:root {
  --dark: #1C130F;
  --dark-2: #2A201B;
  --dark-line: #3A2E28;
  --on-dark: #F3ECDF;
  --on-dark-2: #9A8E85;
  --sand: #EFE6D6;
  --sand-2: #E6DAC5;
  --sand-3: #F6F0E5;
  --ink: #1C130F;
  --ink-2: #5E5550;
  --line: #D6C8B0;
  --sun: #F7A824;        /* naranja del logo */
  --teal: #1DB6B7;       /* turquesa del logo */
  --teal-ink: #0F7C7D;   /* turquesa oscurecido para texto sobre arena (contraste) */

  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1360px;
  --gut: clamp(16px, 4.5vw, 64px);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-weight: 400; letter-spacing: -0.035em; line-height: 1.02; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.025em; }
.dark em { color: var(--teal); }
.light em { color: var(--teal-ink); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.dark { background: var(--dark); color: var(--on-dark); }
.light { background: var(--sand); color: var(--ink); }
.eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.05rem; margin-bottom: 14px; color: var(--teal-ink); }
.dark .eyebrow { color: var(--teal); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--on-dark); color: var(--ink); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

/* Píldoras */
.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 .9rem/1 var(--sans); text-decoration: none; padding: 11px 18px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.pill--light { background: var(--sun); color: var(--ink); }
.pill--light:hover { background: #FFB93F; }
.pill--ghost { background: rgba(243, 236, 223, .08); color: var(--on-dark); border-color: rgba(243, 236, 223, .14); }
.pill--ghost:hover { background: rgba(243, 236, 223, .16); }
.pill--dark { background: var(--sun); color: var(--ink); }
.pill--dark:hover { background: #FFB93F; }
.pill--big { padding: 16px 26px; font-size: 1rem; }

/* Navegación: como en Clusia, va sobre la cabecera oscura y no se queda fija (sin fondo propio ni cambios de color) */
.nav { position: absolute; inset: 0 0 auto; z-index: 50; color: var(--on-dark); }
body:not(.home):not(.page-gracias) .nav { color: var(--ink); }
.nav__in { display: flex; align-items: center; height: 72px; gap: 48px; }
.nav__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 1.02rem; letter-spacing: -0.02em; }
.nav__logo img { width: auto; height: 40px; }
.nav__links { display: flex; gap: 28px; font-size: .9rem; font-weight: 500; }
.nav__links a, .nav__tel { text-decoration: none; opacity: .9; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: .9rem; font-weight: 500; }

/* 1. Hero */
.hero { padding: 168px 0 24px; }
.hero__title { font-size: clamp(2.5rem, 4.6vw, 4.1rem); max-width: 18ch; }
.hero__sub { font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: #CDC2B6; margin: 22px 0 30px; max-width: 54ch; line-height: 1.4; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__media { position: relative; margin: 96px 24px 0; border-radius: var(--r); overflow: hidden; }
.hero__media img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: 50% 50%; }
.hero__card {
  position: absolute; right: 32px; bottom: 32px; width: min(460px, 46%);
  background: rgba(246, 240, 229, .93); backdrop-filter: blur(6px); color: var(--ink);
  border-radius: 4px; padding: 18px 20px 10px; font-size: .82rem; box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 12px 24px -12px rgba(0,0,0,.35);
}
.hero__card-title { font-weight: 500; font-size: .95rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.hero__card-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.hero__card td:last-child { color: var(--teal-ink); font-weight: 500; }
.hero__card table { width: 100%; border-collapse: collapse; }
.hero__card th { text-align: left; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid var(--line); }
.hero__card td { padding: 9px 0; border-bottom: 1px solid #E7DCCB; }
.hero__card tr:last-child td { border-bottom: 0; }

/* 2. Frase centrada */

/* 3. Filas */
/* 3. Sección fija con scroll */
.story { position: relative; height: calc(var(--n, 3) * 85vh + 100vh); }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(40px, 8vh, 96px); }
.story__title { text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.15; font-weight: 400; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 32px; }
.story__imgs, .story__texts { display: grid; position: relative; }
.story__imgs > *, .story__texts > * { grid-area: 1 / 1; }
.story__imgs { justify-self: center; width: min(260px, 100%); }
.story__img { margin: 0; border-radius: var(--r); overflow: hidden; }
.story__img img { width: 100%; aspect-ratio: 20 / 23; object-fit: cover; }
.story__img, .story__text {
  opacity: 0; pointer-events: none;
  transition: opacity .8s ease-in-out;
}
.story__img.is-active, .story__text.is-active { opacity: 1; pointer-events: auto; }
.story__text.is-active { transition-delay: .12s; }
.story__sym { width: 44px; justify-self: center; will-change: transform; }
.story__text { font-size: 1.15rem; line-height: 1.45; color: var(--on-dark-2); max-width: 32ch; align-self: center; }
.story__text strong { color: var(--on-dark); font-weight: 500; }

/* 4. Feature */
.feature { padding: clamp(96px, 11vw, 160px) 0 clamp(64px, 8vw, 112px); }
.feature h2 { max-width: 16ch; }
.feature__media { margin-top: 56px; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.feature__media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.feature__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; background: var(--sand-3); padding: 32px 28px 40px; border-radius: 0 0 var(--r) var(--r); }
.feature__cols p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.35; color: var(--ink-2); margin-top: 8px; }

/* 5. Órbita */
.orbit { overflow: hidden; padding: clamp(56px, 6vw, 96px) 0; }
.orbit__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 640px; gap: 48px; }
.orbit__arc { position: relative; height: 640px; }
.orbit__sym { position: absolute; left: 22%; top: 50%; width: 32px; transform: translate(-50%, -50%); }
.orbit__arc { --orbit-r: 280px; --spin: 0deg; }
.orbit__tile {
  position: absolute; left: 22%; top: 50%; width: 76px; height: 76px; object-fit: cover; border-radius: var(--r);
  opacity: .55; filter: saturate(.7);
  /* posición en la rueda: ángulo propio (k · 24°) + giro común (--spin, lo mueve el JS) */
  transform: translate(-50%, -50%) rotate(calc(var(--k) * 24deg - 84deg + var(--spin))) translateX(var(--orbit-r));
  will-change: transform;
}
.orbit__wheel { position: absolute; inset: 0; }
.orbit__tile { opacity: .55; }
/* Velo de color: tapa el cuarto superior izquierdo de la rueda como una niebla del color del fondo */
.orbit__veil {
  position: absolute; left: var(--cx, 22%); top: var(--cy, 50%); z-index: 1; pointer-events: none;
  width: calc(var(--orbit-r) * 2 + 260px); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: conic-gradient(from 205deg, transparent 0deg, var(--dark) 50deg, var(--dark) 160deg, transparent 205deg, transparent 360deg);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 82%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, #000 82%, transparent 100%);
}
.orbit__sym { z-index: 2; }
.orbit__tile:nth-child(3n) { opacity: .8; filter: none; }
.orbit__lead { font-size: clamp(1.4rem, 2.1vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.2; max-width: 24ch; }
.orbit__lead span { color: var(--on-dark-2); }
.orbit__list { margin-top: 28px; font-size: .88rem; color: var(--on-dark-2); max-width: 46ch; line-height: 1.7; }
.orbit__list span { color: var(--on-dark); margin-right: 10px; }

/* 6. Pasos */
.steps { padding: clamp(96px, 11vw, 160px) 0; }
.steps__head { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-bottom: 64px; }
.steps__grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.steps__nav { list-style: none; padding: 0; margin: 0; position: sticky; top: 45vh; align-self: start; font-size: .86rem; color: #A89C8D; display: grid; gap: 10px; }
.steps__nav li { position: relative; opacity: .45; transition: opacity .6s ease-in-out, color .6s ease-in-out; }
.steps__nav li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--sun); opacity: 0; transition: opacity .6s ease-in-out; }
.steps__nav li.is-active { color: var(--ink); opacity: 1; }
.steps__nav li.is-active::before { opacity: 1; }
.steps__cards { display: grid; gap: 16px; }
.step { background: var(--sand-3); border-radius: var(--r); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px; min-height: 380px; align-items: end; }
.step p { font-size: 1.12rem; line-height: 1.4; color: var(--ink-2); max-width: 30ch; }
.step strong { color: var(--ink); font-weight: 500; }
.step__img { align-self: stretch; }
.step__img .ph, .step__img img { height: 100%; min-height: 300px; border-radius: var(--r); }
.step__img img { width: 100%; object-fit: cover; }

/* 7. Modelos */
.models { padding: 0 0 clamp(96px, 11vw, 160px); }
.models__head { max-width: 640px; margin-bottom: 56px; }
.models__head p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--ink-2); margin: 18px 0 26px; }
.models__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.model img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; }
.model .zoom { margin-bottom: 18px; }
/* Zoom suave de la foto al pasar el ratón (modelos y complementos) */
.zoom { overflow: hidden; border-radius: var(--r); isolation: isolate; }
.zoom img { display: block; transition: transform .8s var(--ease); }
.model:hover .zoom img, .extra:hover .zoom img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .zoom img { transition: none; } .model:hover .zoom img, .extra:hover .zoom img { transform: none; } }
.model h3 abbr { text-decoration: none; }
.model h3 span { display: block; font-weight: 500; color: var(--teal-ink); font-size: .86rem; margin-top: 2px; }
.model p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; color: var(--ink-2); margin-top: 10px; }
.extras { margin-top: 88px; border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.extras__row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.extra { display: grid; gap: 16px; align-content: start; }
.extra img, .extra__img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.extra__img .ph { min-height: 0; height: 100%; }
.extra abbr { text-decoration: none; }
.extra p { font-family: var(--serif); font-size: 1.08rem; color: var(--ink-2); }
.extra strong { font-family: var(--sans); font-weight: 500; font-size: .98rem; color: var(--ink); }

/* 8. FAQ */
.faq { padding: 0 0 clamp(48px, 5vw, 72px); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq h2 { max-width: 12ch; font-size: clamp(2rem, 3vw, 2.7rem); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 500; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list details p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; color: var(--ink-2); padding: 0 48px 24px 0; }

/* Icono del acordeón: "+" de líneas finas dentro de un círculo; al abrir, la línea vertical se recoge y queda "−" */
.faq__list summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  border: 1px solid var(--line); border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--ink-2);
  transition: background-size .4s var(--ease, ease), background-color .4s var(--ease, ease), border-color .4s var(--ease, ease), color .4s var(--ease, ease), transform .4s var(--ease, ease);
}
.faq__list summary:hover::after { border-color: var(--teal-ink); color: var(--teal-ink); }
.faq__list details[open]:not(.is-closing) summary::after {
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 0 no-repeat;
  background-color: var(--ink); border-color: var(--ink); color: var(--on-dark); transform: rotate(180deg);
}
.faq__list summary { padding-right: 52px; }

/* 9. Cierre + formulario */
.cta { padding: clamp(48px, 5vw, 72px) 0 clamp(96px, 10vw, 150px); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta__title { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.cta__sub { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; color: var(--ink-2); margin-top: 24px; max-width: 34ch; }
.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 8px; }
.field span, .seg legend { font-size: .86rem; font-weight: 500; }
.field input { font: inherit; font-size: .95rem; color: var(--ink); background: var(--sand-3); border: 1px solid var(--line); border-radius: 999px; padding: 13px 18px; width: 100%; }
.field input::placeholder { color: #A99D8E; }
.field input:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #A3361F; }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { margin-bottom: 10px; padding: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--sand-3); font-size: .9rem; }
.seg small { opacity: .65; margin-left: 4px; }
.seg input:checked + span { background: var(--teal); color: var(--ink); border-color: var(--teal); }
.seg input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.seg.is-invalid span { border-color: #A3361F; }
.check { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--ink-2); }
.check input { accent-color: var(--teal-ink); width: 16px; height: 16px; }
.form .pill--big { justify-self: start; }
.form__status { font-size: .92rem; min-height: 1.3em; }
.form__status.is-error { color: #A3361F; }
.form__status.is-ok { color: var(--teal-ink); font-weight: 500; }
.hp { position: absolute; left: -9999px; }

/* Pie con resplandor */
.foot { position: relative; overflow: hidden; background: var(--sand); padding: 32px 0 40px; font-size: .9rem; }
.foot__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 200px) 1fr; gap: 24px; }
.foot h4 { font-size: .9rem; font-weight: 500; margin-bottom: 18px; }
.foot__grid a { display: block; text-decoration: none; color: var(--ink-2); margin-bottom: 10px; }
.foot__social { justify-self: end; min-width: 160px; }
.foot__bottom { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 120px; font-size: .82rem; color: var(--ink-2); }
.foot__bottom img { width: 18px; height: 18px; }
.foot__credit { margin-left: auto; color: var(--ink-2); text-decoration: none; }
@media (max-width: 700px) { .foot__bottom { flex-wrap: wrap; } .foot__credit { margin-left: 28px; width: 100%; } }

.foot__glow { position: absolute; left: 20%; right: -10%; bottom: -140px; height: 360px; background: radial-gradient(ellipse at 35% 60%, rgba(247, 168, 36, .5), rgba(247, 168, 36, 0) 58%), radial-gradient(ellipse at 72% 65%, rgba(29, 182, 183, .45), rgba(29, 182, 183, 0) 55%); filter: blur(30px); }
.foot__glow::after { content: ""; position: absolute; inset: 0; opacity: .55; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Hueco de foto pendiente (IA) */
.ph { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; min-height: 200px; padding: 14px; border-radius: var(--r);
  background: repeating-linear-gradient(135deg, rgba(245,168,42,.10) 0 12px, rgba(245,168,42,.04) 12px 24px), #3A2E28; color: var(--on-dark); font-size: .8rem; }
.light .ph .ph__n, .light .ph__n { color: var(--teal-ink); }
.light .ph { background: repeating-linear-gradient(135deg, rgba(29,182,183,.12) 0 12px, rgba(29,182,183,.04) 12px 24px), var(--sand-2); color: var(--ink); }
.ph__n { color: var(--sun); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
.ph__t { font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.25; opacity: .8; }

/* Responsive */
@media (max-width: 1100px) {
  .models__row { grid-template-columns: repeat(3, 1fr); }
  .orbit__arc { --orbit-r: 210px; }
  .orbit__tile { width: 64px; height: 64px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__tel { display: none; }
  .hero { padding-top: 128px; }
  .hero__media { margin: 56px 12px 0; }
  .hero__media img { aspect-ratio: 4 / 3.4; object-position: 24% 50%; }
  .hero__card { position: relative; right: auto; bottom: auto; width: auto; margin: -64px 12px 12px; }
  .story__stage { gap: 28px; }
  .story__title { font-size: 1.35rem; }
  .story__grid { grid-template-columns: 1fr; justify-items: center; gap: 22px; text-align: center; }
  .story__imgs { width: min(220px, 60vw); }
  .story__sym { width: 34px; }
  .story__text { max-width: 30ch; }
  .feature__cols, .steps__head, .steps__grid, .extras, .extras__row, .faq__grid, .cta__grid, .form__row { grid-template-columns: 1fr; }
  .steps__nav { display: none; }
  .step { grid-template-columns: 1fr; min-height: 0; }
  .step__img .ph { min-height: 220px; }
  .orbit__grid { grid-template-columns: 1fr; min-height: 0; padding: 8px var(--gut); gap: 0; }
  .orbit__arc { height: 300px; order: 2; margin-top: 24px; }
  .orbit__sym, .orbit__tile { left: 50%; top: 100%; }
  .orbit__veil { --cx: 50%; --cy: 100%; }
  .orbit__arc { --orbit-r: 220px; }
  .orbit__tile { width: 56px; height: 56px; transform: translate(-50%, -50%) rotate(calc(var(--k) * 24deg - 84deg + var(--spin))) translateX(var(--orbit-r)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__social { justify-self: start; }
  .faq__grid { gap: 32px; }
}
@media (max-width: 560px) {
  .models__row { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .model p { font-size: .98rem; }
  .nav__in { gap: 12px; }
  .hero__card { font-size: .76rem; padding: 14px; }
  .orbit__arc { --orbit-r: 160px; }
  .orbit__tile { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story__img, .story__text { transition: none; }
}

/* ===== Hover suave en botones y enlaces ===== */
:root { --ease: cubic-bezier(.22, .61, .36, 1); --dur: .45s; }

/* Botones (píldoras): color, elevación y sombra */
.pill {
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  will-change: transform;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0); transition-duration: .1s; }
.pill--ghost:hover { border-color: rgba(243, 236, 223, .35); }

/* Enlaces de menú y pie: sin subrayado, solo fundido de color */
.nav__links a, .nav__tel, .foot__grid a, .foot__credit {
  text-decoration: none;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__links a, .nav__tel { opacity: .8; }
.nav__links a:hover, .nav__tel:hover { opacity: 1; color: var(--sun); text-decoration: none; }
.foot__grid a:hover, .foot__credit:hover { color: var(--teal-ink); text-decoration: none; }

/* Logo */
.nav__logo img { transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav__logo:hover img { transform: scale(1.03); }

/* Enlaces dentro del texto: subrayado fijo, solo cambia el color */
.cta__sub a, .check a, .page-content a, .faq__list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}
.cta__sub a:hover, .check a:hover, .page-content a:hover, .faq__list a:hover { color: var(--teal-ink); }

/* Preguntas frecuentes */
.faq__list summary { transition: color var(--dur) var(--ease); }
.faq__list summary:hover { color: var(--teal-ink); }

/* Opciones del formulario */
.seg span { transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.seg label:hover input:not(:checked) + span { border-color: var(--teal-ink); background: #fff; }

/* Botón flotante y enlaces de WhatsApp/teléfono heredan lo anterior */
@media (prefers-reduced-motion: reduce) {
  .pill, .nav__links a, .nav__tel, .foot__grid a, .foot__credit, .nav__logo img,
  .cta__sub a, .check a, .faq__list summary, .faq__list summary::after, .seg span { transition: none; }
  .pill:hover { transform: none; }
}

/* ===== Animaciones de entrada ===== */
/* Solo se ocultan si hay JS (clase .anim en <html>), así sin JS todo se ve */
.anim [data-anim] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform 1s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
}
.anim [data-anim="fade"] { transform: none; }
.anim [data-anim="zoom"] { transform: scale(.97); }
.anim [data-anim].is-visible { opacity: 1; transform: none; }

/* Hero: entrada escalonada al cargar la página */
.anim .hero__title, .anim .hero__sub, .anim .hero__cta, .anim .hero__media, .anim .nav__in {
  opacity: 0; transform: translateY(24px);
  animation: sn-in 1s cubic-bezier(.22, .61, .36, 1) forwards;
}
.anim .nav__in { transform: translateY(-12px); animation-delay: .05s; }
.anim .hero__title { animation-delay: .15s; }
.anim .hero__sub { animation-delay: .3s; }
.anim .hero__cta { animation-delay: .45s; }
.anim .hero__media { animation-delay: .6s; animation-duration: 1.3s; }
@keyframes sn-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .anim [data-anim], .anim .hero__title, .anim .hero__sub, .anim .hero__cta, .anim .hero__media, .anim .nav__in {
    opacity: 1; transform: none; transition: none; animation: none;
  }
}


/* ---------- Página de gracias ---------- */
.thanks { padding: clamp(140px, 16vw, 200px) 0 clamp(80px, 9vw, 130px); }
.thanks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.thanks__title { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; font-weight: 400; max-width: 14ch; }
.thanks__title em { font-family: var(--serif); font-style: italic; color: var(--teal); }
.thanks__sub { font-family: var(--serif); font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.45; color: var(--on-dark-2); max-width: 40ch; margin-top: 22px; }
.thanks__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.thanks__tel { margin-top: 28px; font-size: .92rem; color: var(--on-dark-2); }
.thanks__tel a { color: var(--on-dark); text-decoration: none; transition: color var(--dur) var(--ease); }
.thanks__tel a:hover { color: var(--sun); }
.thanks__media { position: relative; }
.thanks__media > img:first-child { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); }
.thanks__sym { position: absolute; left: -28px; bottom: 32px; width: 56px; height: 56px; animation: thanks-spin 24s linear infinite; }
@keyframes thanks-spin { to { transform: rotate(360deg); } }
.thanks .thanks__text > * { animation: thanks-in .9s var(--ease) both; }
.thanks .thanks__text > :nth-child(2) { animation-delay: .08s; }
.thanks .thanks__text > :nth-child(3) { animation-delay: .16s; }
.thanks .thanks__text > :nth-child(4) { animation-delay: .24s; }
.thanks .thanks__text > :nth-child(5) { animation-delay: .32s; }
.thanks__media { animation: thanks-fade 1.1s var(--ease) .15s both; }
@keyframes thanks-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes thanks-fade { from { opacity: 0; transform: scale(.98); } }
@media (max-width: 860px) {
  .thanks__grid { grid-template-columns: 1fr; }
  .thanks__media > img:first-child { aspect-ratio: 4 / 3; }
  .thanks__sym { left: auto; right: 16px; bottom: -28px; }
}
@media (prefers-reduced-motion: reduce) {
  .thanks .thanks__text > *, .thanks__media, .thanks__sym { animation: none; }
}
