/* =============================================================
   Links Away Golf · styles.css
   Arquetipo 01 · Editorial Light Cream (paleta lujo golf)
   Movimiento según los principios de Emil Kowalski:
   ease-out fuerte, < 300 ms en UI, solo transform/opacity,
   respuesta al pulsar y hovers solo con ratón.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f5f1e9;
  --bg-2:      #ebe4d6;
  --paper:     #fdfbf6;
  --ink:       #101a14;
  --ink-soft:  #27332b;
  --ink-mute:  #6a7068;
  --accent:    #a8844f;   /* champán / dorado */
  --accent-2:  #173a2b;   /* verde inglés */
  --accent-3:  #cfb27c;   /* dorado claro sobre fondo oscuro */
  --cream:     #f6f1e6;
  --line:      rgba(16,26,20,0.12);
  --line-strong: rgba(16,26,20,0.28);
  --danger:    #a8352a;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Curvas fuertes (Emil Kowalski) */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Duraciones */
  --t-press: 140ms;
  --t-fast:  180ms;
  --t-ui:    240ms;

  --radius: 6px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 72px;

  interpolate-size: allow-keywords;
}

@property --mesh-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  font-variant-numeric: lining-nums;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; text-wrap: balance; line-height: 1.02; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream); border-radius: 4px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.kicker:has(.dot)::before { display: none; }
.kicker-light { color: var(--cream); }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-mute); max-width: 56ch; }

/* =============================================================
   5. Components
   ============================================================= */
/* ---------- Botones: respuesta inmediata al pulsar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 1.6rem; border-radius: 2px;
  font-weight: 500; font-size: .76rem; line-height: 1; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; user-select: none;
  transition:
    transform var(--t-press) var(--ease-out),
    background-color var(--t-fast) ease,
    border-color var(--t-fast) ease,
    color var(--t-fast) ease,
    box-shadow var(--t-ui) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arrow { display: inline-block; transition: transform var(--t-fast) var(--ease-out); }
.btn-sm { padding: .78rem 1.2rem; font-size: .7rem; }
.btn-lg { padding: 1.25rem 2.4rem; font-size: .82rem; }
.btn-primary { background: var(--accent-2); color: var(--cream); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #1d4836; box-shadow: 0 10px 24px -14px rgba(23,58,43,.7); }
  .btn-accent:hover { background: #9a7843; box-shadow: 0 10px 24px -14px rgba(168,132,79,.8); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn:hover .arrow { transform: translateX(3px); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: var(--cream);
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.nav.is-solid {
  background: rgba(245,241,233,.94); color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .nav.is-solid { background: rgba(245,241,233,.8); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.3rem; letter-spacing: -.01em; }
.brand em { font-style: italic; color: var(--accent-3); transition: color var(--t-ui) ease; }
.nav.is-solid .brand em { color: var(--accent); }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: none; gap: 2rem; font-size: .92rem; font-weight: 500; }
.nav-links a { position: relative; padding-block: .3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease-out);
}
.nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Campos de formulario ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 1.1rem; }
.field small, .field-label small { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 4px;
  border: 1px solid var(--line-strong); background: var(--paper);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9a9d95; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(23,58,43,.12); }
.field.is-invalid input { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(168,53,42,.12); }
.field-label { font-size: .9rem; font-weight: 500; color: var(--ink-soft); margin: 1.2rem 0 .55rem; }
.wz-step legend + .field-label { margin-top: 0; }
.row-2 { display: grid; gap: 0 1rem; }
.hint { font-size: .86rem; color: var(--ink-mute); margin: .2rem 0 1rem; min-height: 1.4em; }
.hint.is-ok { color: var(--accent-2); font-weight: 500; }
.check-inline { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: .3rem 0 1.1rem; cursor: pointer; }
.check-inline input { margin-top: .2rem; accent-color: var(--accent-2); width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Tarjetas de elección ---------- */
.choice-grid { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.choice { position: relative; cursor: pointer; }
.choice input, .pill input, .days input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  position: relative; display: flex; flex-direction: column; gap: .1rem;
  padding: .95rem 2.6rem .95rem 1.1rem; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--paper);
  transition:
    transform var(--t-press) var(--ease-out),
    border-color var(--t-fast) ease,
    background-color var(--t-fast) ease,
    box-shadow var(--t-fast) ease;
}
.choice b { font-weight: 600; font-size: .98rem; }
.choice small { color: var(--ink-mute); font-size: .82rem; }
.choice span::after {
  content: ""; position: absolute; top: .95rem; right: .95rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23f6f1e6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  opacity: 0; transform: scale(.6);
  transition: opacity var(--t-fast) ease, transform var(--t-ui) var(--ease-out);
}
.choice input:checked + span { border-color: var(--accent-2); background: #eef2ec; box-shadow: inset 0 0 0 1px var(--accent-2); }
.choice input:checked + span::after { opacity: 1; transform: scale(1); }
.choice:active span { transform: scale(0.98); }
.choice input:focus-visible + span, .pill input:focus-visible + span, .days input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .choice:hover input:not(:checked) + span { border-color: var(--ink-mute); }
}

/* ---------- Pastillas ---------- */
.pill-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill span {
  display: inline-flex; align-items: center; padding: .62rem 1rem; border-radius: 2px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--paper); font-size: .9rem; font-weight: 500;
  transition:
    transform var(--t-press) var(--ease-out),
    background-color var(--t-fast) ease,
    border-color var(--t-fast) ease,
    color var(--t-fast) ease;
}
.pill:active span { transform: scale(0.96); }
.pill input:checked + span { background: var(--accent-2); border-color: var(--accent-2); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover input:not(:checked) + span { border-color: var(--ink-mute); }
}

/* ---------- Meses de viaje + fecha exacta opcional ---------- */
.months { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.months .pill span { width: 100%; justify-content: center; padding: .7rem .5rem; font-size: .88rem; font-variant-numeric: tabular-nums; }
.months .pill:last-child { grid-column: 1 / -1; }
.exact-date { margin-top: 1rem; }
.exact-date summary {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none;
  font-size: .9rem; font-weight: 500; color: var(--accent-2);
  text-decoration: underline; text-decoration-color: rgba(23,58,43,.35); text-underline-offset: 4px;
  transition: text-decoration-color var(--t-fast) ease;
}
.exact-date summary::-webkit-details-marker { display: none; }
.exact-date summary::before {
  content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid currentColor; font-size: .85rem; line-height: 1; text-decoration: none;
  transition: transform var(--t-ui) var(--ease-out);
}
.exact-date[open] summary::before { transform: rotate(45deg); }
.exact-date .field { max-width: 280px; margin: .8rem 0 0; }
.exact-date::details-content {
  height: 0; overflow: clip; opacity: 0;
  transition: height var(--t-ui) var(--ease-in-out), opacity var(--t-ui) ease, content-visibility var(--t-ui) allow-discrete;
}
.exact-date[open]::details-content { height: auto; opacity: 1; }
.months.is-dimmed .pill span { opacity: .45; }
@media (hover: hover) and (pointer: fine) {
  .exact-date summary:hover { text-decoration-color: currentColor; }
}

/* ---------- Selector de días ---------- */
.days { display: flex; flex-wrap: wrap; gap: .45rem; }
.days span {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--paper);
  font-family: var(--sans); font-size: .95rem; font-weight: 500; font-variant-numeric: tabular-nums;
  transition:
    transform var(--t-press) var(--ease-out),
    background-color var(--t-fast) ease,
    border-color var(--t-fast) ease,
    color var(--t-fast) ease;
}
.days label:active span { transform: scale(0.94); }
.days input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .days label:hover input:not(:checked) + span { border-color: var(--ink-mute); }
}

/* ---------- Contador (+ / −) ---------- */
.stepper {
  display: flex; align-items: stretch; max-width: 220px; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 4px; background: var(--paper);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.stepper:focus-within { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(23,58,43,.12); }
.stepper button {
  width: 48px; font-size: 1.25rem; color: var(--accent-2);
  transition: background-color var(--t-fast) ease, opacity var(--t-fast) ease;
}
.stepper button:active { background: var(--bg-2); }
.stepper button[aria-disabled="true"] { opacity: .3; cursor: default; }
.stepper input {
  flex: 1; min-width: 0; text-align: center; border: 0; background: transparent; padding: .6rem 0;
  font-size: 1.05rem; font-weight: 500; font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper input:focus { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .stepper button:hover { background: var(--bg-2); }
}

/* =============================================================
   6. Sections
   ============================================================= */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); display: grid; gap: 1rem; }
.section-head h2 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: var(--cream);
  padding-block: calc(var(--nav-h) + 2rem) 5rem; overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; animation: kenburns 30s linear infinite alternate; }
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,20,15,.55) 0%, rgba(12,20,15,.15) 35%, rgba(12,20,15,.25) 60%, rgba(12,20,15,.85) 100%),
    linear-gradient(90deg, rgba(12,20,15,.6) 0%, transparent 65%);
}
.hero-content { position: relative; display: grid; gap: 1.4rem; }
.hero-title { font-size: clamp(3rem, 8vw, 6.8rem); line-height: .95; max-width: 15ch; font-weight: 500; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-title em { color: var(--accent-3); }
.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 46ch; opacity: .92; }
.hero-quick {
  display: grid; gap: .6rem; margin-top: .6rem; padding: .7rem; max-width: 760px;
  border-radius: 4px; background: rgba(246,241,230,.96); color: var(--ink);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.55);
}
@supports (backdrop-filter: blur(10px)) {
  .hero-quick { background: rgba(246,241,230,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.hq-field { display: flex; flex-direction: column; gap: .1rem; padding: .5rem .9rem; border-radius: 2px; transition: background-color var(--t-fast) ease; }
.hq-field:focus-within { background: rgba(16,26,20,.05); }
.hq-field span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.hq-field select { border: 0; background: transparent; font-size: 1rem; font-weight: 500; padding: .2rem 0; cursor: pointer; }
.hq-field select:focus { outline: none; }
.hero-quick .btn { padding-block: 1.05rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .86rem; opacity: .92; letter-spacing: .02em; }
.hero-badges li::before { content: "✦"; color: var(--accent-3); margin-right: .55rem; font-size: .7em; vertical-align: .15em; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 24px; height: 38px; border: 1px solid rgba(246,241,230,.5); border-radius: 999px; transform: translateX(-50%); display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cream); animation: scrollhint 2.4s var(--ease-out) infinite; }
@media (hover: hover) and (pointer: fine) {
  .hq-field:hover { background: rgba(16,26,20,.05); }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--accent-2); color: var(--cream); overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marquee 48s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.marquee-track i { font-style: normal; font-size: .55em; color: var(--accent-3); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Includes ---------- */
.includes-grid { display: grid; gap: 1.4rem; }
.inc-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line);
  transition: box-shadow 300ms var(--ease-out), border-color var(--t-ui) ease;
}
.inc-img { aspect-ratio: 4 / 3; overflow: hidden; }
.inc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.inc-img img[src*="transfer-cabin"] { object-position: 60% 55%; }
.inc-img img[src*="tee-times"] { object-position: 40% 50%; }
.inc-body { padding: 1.5rem 1.6rem 1.8rem; display: grid; gap: .5rem; }
.inc-num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.inc-body h3 { font-size: 2.1rem; }
.inc-body p { color: var(--ink-mute); }
@media (hover: hover) and (pointer: fine) {
  .inc-card:hover { box-shadow: 0 30px 50px -34px rgba(16,26,20,.45); border-color: var(--line-strong); }
  .inc-card:hover .inc-img img { transform: scale(1.04); }
}

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--cream); padding-block: clamp(3rem, 7vw, 5rem); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.stat { display: grid; gap: .3rem; border-top: 1px solid rgba(246,241,230,.2); padding-top: 1rem; }
.stat strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: var(--accent-3); font-variant-numeric: lining-nums tabular-nums; }
.stat > span { font-size: .92rem; opacity: .8; max-width: 22ch; }

/* ---------- Destinos / mapa ---------- */
.destinos { background: var(--bg-2); }
.map-wrap { display: grid; gap: 1.5rem; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -35px rgba(16,26,20,.6); background: #5f9ea3; }
.map-svg { width: 100%; height: auto; }
.map-tip { padding: .9rem 1.2rem; font-size: .88rem; color: var(--cream); background: var(--accent-2); }
.map-land { fill: #e7dcc4; stroke: #cdbd99; stroke-width: 2; }
.map-sierra { stroke: #bba984; stroke-width: 2; stroke-linejoin: round; }
.map-label-big { font-family: var(--sans); font-weight: 600; letter-spacing: .3em; font-size: 15px; fill: #a39272; }
.map-label-sea { font-family: var(--serif); font-style: italic; font-size: 22px; fill: rgba(255,255,255,.75); }
.pin { cursor: pointer; outline: none; }
.pin text { font-family: var(--sans); font-weight: 600; font-size: 17px; fill: var(--ink); paint-order: stroke; stroke: #f4efe6; stroke-width: 5px; transition: fill var(--t-fast) ease; }
.pin-dot { fill: var(--accent-2); stroke: #fff; stroke-width: 3; transform-box: fill-box; transform-origin: center; transition: fill var(--t-fast) ease, transform var(--t-ui) var(--ease-out); }
.pin-halo { fill: var(--accent-2); opacity: .18; transform-box: fill-box; transform-origin: center; animation: halo 2.8s var(--ease-out) infinite; }
.map.is-touched .pin-halo { animation: none; opacity: 0; }
.pin.is-active .pin-dot { fill: var(--accent); transform: scale(1.3); }
.pin.is-active text { fill: var(--accent); }
.pin:active .pin-dot { transform: scale(1.15); }
.pin:focus-visible .pin-dot { stroke: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .pin:hover .pin-dot { fill: var(--accent); }
}

.zones { display: grid; gap: 1rem; }
.zone { display: grid; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.zone img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.zone-body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .55rem; align-content: start; }
.zone-body h3 { font-size: 2.2rem; }
.zone-body p:not(.kicker) { color: var(--ink-mute); }
.zone-body .btn { justify-self: start; margin-top: .4rem; }
.js .zone { display: none; }
.js .zone.is-active { display: grid; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; gap: 1.2rem; }
.step { position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: .6rem; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--accent); border: 1px solid var(--accent);
}
.step h3 { font-size: 1.9rem; }
.step p { color: var(--ink-mute); }

/* ---------- Galería ---------- */
.gallery { padding-inline: var(--gutter); padding-bottom: clamp(4rem, 8vw, 6rem); }
.gallery-grid { max-width: 1240px; margin-inline: auto; display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
.g { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 180px; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.g-a { grid-column: span 2; aspect-ratio: 16 / 9; }
.g-quote { grid-column: span 2; display: grid; place-items: center; padding: 2rem; background: var(--accent-2); color: var(--cream); }
.g-quote p { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.2; text-align: center; max-width: 22ch; }
.g-quote em { font-style: italic; color: var(--accent-3); }
@media (hover: hover) and (pointer: fine) {
  .g:hover img { transform: scale(1.03); }
}

/* ---------- Formulario (asistente) ---------- */
.pack { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.pack-layout { display: grid; gap: 1.5rem; align-items: start; }
.wizard {
  position: relative; background: var(--paper); border-radius: 10px; border: 1px solid var(--line);
  padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: 0 40px 80px -50px rgba(16,26,20,.55);
}
.wz-progress { height: 3px; border-radius: 999px; background: var(--bg-2); overflow: hidden; margin-bottom: 1.1rem; display: none; }
.wz-progress span {
  display: block; height: 100%; width: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: scaleX(.3333); transform-origin: left; transition: transform 400ms var(--ease-in-out);
}
.wz-tabs { display: none; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .3rem 1rem; margin-bottom: 1.6rem; }
.wz-tabs button {
  text-align: left; padding: .25rem 0; white-space: nowrap;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute);
  cursor: default; transition: color var(--t-fast) ease;
}
.wz-tabs button.is-active { color: var(--accent-2); }
.wz-tabs button.is-done { color: var(--accent-2); cursor: pointer; }
.wz-tabs button.is-done::before { content: "✓ "; color: var(--accent); }
.js .wz-progress { display: block; }
.js .wz-tabs { display: grid; }
@media (hover: hover) and (pointer: fine) {
  .wz-tabs button.is-done:hover { color: var(--accent); }
}

.wz-step { border: 0; padding: 0; min-width: 0; margin-bottom: 1.6rem; }
.wz-step legend { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; margin-bottom: 1.3rem; padding: 0; }
.wz-step legend span { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.js .wz-step { display: none; }
.js .wz-step.is-active { display: block; animation: stepIn var(--t-ui) var(--ease-out); }
.js .wz-step.is-active.is-back { animation-name: stepBack; }

.wz-error {
  color: var(--danger); font-size: .9rem; font-weight: 500; min-height: 1.4em; margin-bottom: .6rem;
  opacity: 0; transform: translateY(-4px);
  transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.wz-error.is-visible { opacity: 1; transform: none; }
.wz-nav { display: flex; gap: .7rem; justify-content: space-between; flex-wrap: wrap; }
.wz-nav [data-prev], .wz-nav [data-next] { display: none; }
.js .wz-nav [data-next] { display: inline-flex; margin-left: auto; }
.js .wz-nav [data-submit] { display: none; }
.js .wizard[data-current="3"] [data-submit] { display: inline-flex; margin-left: auto; }
.js .wizard[data-current="3"] [data-next] { display: none; }
.js .wizard:not([data-current="1"]) [data-prev] { display: inline-flex; }

.wz-done { text-align: center; padding: 2rem 0 1rem; display: grid; gap: .8rem; justify-items: center; animation: rise 400ms var(--ease-out) both; }
.wz-done[hidden] { display: none; }
.wz-done svg { width: 76px; height: 76px; fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wz-done circle { stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw 600ms var(--ease-out) forwards; }
.wz-done path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 360ms 420ms var(--ease-out) forwards; }
.wz-done h3 { font-size: 2rem; }
.wz-done p { color: var(--ink-mute); max-width: 42ch; }
.wizard.is-done > :not(.wz-done) { display: none !important; }

/* Resumen */
.summary { position: sticky; top: calc(var(--nav-h) + 1rem); }
.summary-card {
  background: var(--ink); color: var(--cream); border-radius: 10px; padding: 1.8rem 1.6rem;
  position: relative; overflow: hidden;
}
.summary-card::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,132,79,.5), transparent 70%); filter: blur(10px);
}
.summary-card .kicker { color: var(--accent-3); position: relative; }
.summary-card h3 { font-size: 1.8rem; margin: .5rem 0 1.2rem; position: relative; }
.summary-card ul { display: grid; gap: .1rem; position: relative; }
.summary-card li { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid rgba(246,241,230,.12); font-size: .92rem; }
.summary-card li span { opacity: .7; white-space: nowrap; }
.summary-card li b { display: inline-block; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.summary-rounds { margin-top: 1.2rem; position: relative; font-size: .95rem; opacity: .9; }
.summary-rounds strong { display: inline-block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; color: var(--accent-3); margin-right: .3rem; vertical-align: -.15em; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; gap: 1rem; }
.faq-list { display: grid; gap: .7rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 0 1.4rem; transition: border-color var(--t-fast) ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--accent); transition: transform var(--t-ui) var(--ease-out); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3rem; color: var(--ink-mute); max-width: 65ch; }
.faq details::details-content {
  height: 0; overflow: clip; opacity: 0;
  transition: height var(--t-ui) var(--ease-in-out), opacity var(--t-ui) ease, content-visibility var(--t-ui) allow-discrete;
}
.faq details[open]::details-content { height: auto; opacity: 1; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; background: var(--accent-2); color: var(--cream); padding-block: clamp(5rem, 12vw, 9rem); text-align: center; }
.cta-mesh {
  position: absolute; inset: -40%;
  background: conic-gradient(from var(--mesh-angle) at 50% 50%, #173a2b, #a8844f, #cfb27c, #24513c, #173a2b);
  filter: blur(90px); opacity: .5; animation: mesh 40s linear infinite;
}
.cta-inner { position: relative; display: grid; gap: 2rem; justify-items: center; }
.cta-final h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.cta-final h2 em { color: var(--accent-3); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(246,241,230,.8); padding-block: 3.5rem 2rem; font-size: .92rem; }
.footer-inner { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(246,241,230,.12); }
.brand-footer { color: var(--cream); margin-bottom: .6rem; font-size: 1.6rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-content: start; }
.footer-links a { transition: color var(--t-fast) ease; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-top: 1.4rem; font-size: .8rem; opacity: .75; }
.footer-credits a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { flex-direction: column; }
.footer-contact { display: grid; gap: .35rem; align-content: start; }
.footer-label { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-3); }
.footer-mail { font-family: var(--serif); font-size: 1.45rem; color: var(--cream); text-decoration: underline; text-decoration-color: rgba(207,178,124,.5); text-underline-offset: 5px; transition: text-decoration-color var(--t-fast) ease, color var(--t-fast) ease; overflow-wrap: anywhere; }

/* Cómo funciona, resumido junto al formulario */
.mini-steps { display: grid; gap: .6rem; margin-top: .4rem; }
.mini-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: baseline; font-weight: 500; color: var(--ink); }
.mini-steps b {
  grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15rem;
}
.mini-steps small { grid-column: 2; font-weight: 400; font-size: .86rem; color: var(--ink-mute); }
@media (min-width: 720px) {
  .mini-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* Enlaces de correo dentro del texto */
.mail-line { font-size: .95rem; color: var(--ink-soft); }
.mail-line a, .wz-done a, .faq details a { color: var(--accent-2); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(23,58,43,.35); text-underline-offset: 4px; transition: text-decoration-color var(--t-fast) ease; }
@media (hover: hover) and (pointer: fine) {
  .footer-mail:hover { color: var(--accent-3); text-decoration-color: currentColor; }
  .mail-line a:hover, .wz-done a:hover, .faq details a:hover { text-decoration-color: currentColor; }
}
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--accent-3); }
}

/* ---------- Botón flotante: entra con calma, sale rápido ---------- */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  padding: 1rem 1.4rem; border-radius: 2px; background: var(--accent-2); color: var(--cream);
  font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(207,178,124,.5); box-shadow: 0 16px 30px -14px rgba(16,26,20,.6);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 160ms ease, transform 160ms var(--ease-out);
}
.fab.is-visible {
  opacity: 1; transform: none; pointer-events: auto;
  transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out);
}
.fab:active { transform: scale(0.97); }

/* ---------- Página de créditos ---------- */
.page-credits main { max-width: 860px; margin-inline: auto; padding: calc(var(--nav-h) + 2rem) var(--gutter) 5rem; }
.page-credits h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.credits-list { display: grid; gap: .8rem; margin-top: 2rem; font-size: .92rem; }
.credits-list li { padding: 1rem 1.2rem; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); }
.credits-list a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   7. Effects
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.1) translate(-1%, -.6%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes halo { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes mesh { to { --mesh-angle: 360deg; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .months { grid-template-columns: repeat(4, 1fr); }
  .months .pill:last-child { grid-column: auto / span 4; }
}
@media (min-width: 720px) {
  .hero-quick { grid-template-columns: 1.6fr 1fr auto; align-items: center; padding: .5rem .5rem .5rem 1rem; }
  .hero-quick .btn { padding-inline: 1.6rem; }
  .hq-small { border-left: 1px solid var(--line); border-radius: 0; }
  .hero-scroll { display: block; }
  .includes-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
  .g { min-height: 0; aspect-ratio: auto; }
  .g-a { grid-column: span 2; grid-row: span 2; }
  .g-b { grid-column: span 2; }
  .g-quote { grid-column: 1 / -1; padding: 2.4rem 2rem; }
  .g-quote p { max-width: 36ch; }
  .g-d { grid-column: span 1; }
  .faq-inner { grid-template-columns: .8fr 1.2fr; align-items: start; gap: 3rem; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .fab { right: 1.5rem; bottom: 1.5rem; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .map-wrap { grid-template-columns: 1.35fr 1fr; align-items: center; }
  .zone img { aspect-ratio: 16 / 9; }
  .pack-layout { grid-template-columns: 1.55fr 1fr; gap: 2rem; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 959px) {
  .summary { position: static; }
  .summary-card { padding: 1.3rem 1.3rem; }
  .summary-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
  .summary-card ul { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .summary-card li { flex-direction: column; gap: 0; font-size: .85rem; padding: .45rem 0; }
  .summary-card li b { text-align: left; }
}
@media (max-width: 719px) {
  /* Tarjetas del pack más compactas en móvil: el formulario queda antes */
  .includes-grid { gap: .8rem; }
  .inc-card { display: grid; grid-template-columns: 38% 1fr; }
  .inc-img { aspect-ratio: auto; height: 100%; }
  .inc-body { padding: 1rem 1.1rem; gap: .25rem; }
  .inc-body h3 { font-size: 1.5rem; }
  .inc-body p { font-size: .88rem; line-height: 1.45; }
  .inc-num { font-size: .95rem; }
}
@media (max-width: 539px) {
  .days { gap: .3rem; }
  .days span { font-size: .9rem; width: 44px; height: 44px; }
  .btn-sm { padding: .6rem .9rem; font-size: .66rem; }
  .brand { font-size: 1.1rem; }
  .stepper { max-width: none; }
  .wz-tabs button { font-size: .64rem; letter-spacing: .06em; }
}

/* =============================================================
   9. Movimiento reducido: menos y más suave, no cero.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .pin-halo, .hero-scroll span, .cta-mesh { animation: none; }
  .wz-done { animation-name: fadeOnly; }
  .js .reveal { transform: none; }
  .js .wz-step.is-active { animation-name: fadeOnly; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
}
