/* ============================================================
   Signature Travel — hoja principal
   Paleta clara sobre oro rosa. Estructura de tokens al estilo axiom.css
   ============================================================ */

:root {
  /* fondos */
  --ivory:      #FBF8F3;
  --ivory-2:    #F5EDE4;
  --ivory-3:    #ECDFD3;
  --surface:    #FFFFFF;

  /* líneas */
  --line:       rgba(64, 44, 34, 0.13);
  --line-2:     rgba(64, 44, 34, 0.24);

  /* texto */
  --fg:         #2A201B;
  --fg-mid:     #6A574C;
  --fg-dim:     #9A857A;

  /* oro rosa */
  --rose:       #A9634A;
  --rose-deep:  #8A4E38;
  --rose-2:     #C08466;
  --rose-light: #E8C9B6;
  --rose-soft:  rgba(169, 99, 74, 0.09);
  --rose-glow:  rgba(169, 99, 74, 0.26);
  --gradient:   linear-gradient(135deg, #D09A7C 0%, #A9634A 52%, #E8C9B6 100%);

  --on-rose:    #FFFFFF;

  --shadow:     0 30px 70px -38px rgba(64, 44, 34, 0.42);
  --shadow-sm:  0 12px 30px -20px rgba(64, 44, 34, 0.36);
  --shadow-lg:  0 44px 90px -46px rgba(64, 44, 34, 0.52);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --r:    16px;
  --r-s:  10px;
  --pad:  clamp(1.15rem, 4.5vw, 4rem);
  --maxw: 1240px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------------- tipografía ---------------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--rose); flex: none; }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--fg-mid); max-width: 62ch; }
.script { font-family: var(--serif); font-style: italic; color: var(--rose); }

.sec { padding: clamp(4.5rem, 11vw, 9rem) 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.sec-alt { background: var(--ivory-2); }

/* filete decorativo */
.rule { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.6rem 0; }
.rule::before, .rule::after { content: ""; height: 1px; width: clamp(40px, 12vw, 120px); background: linear-gradient(90deg, transparent, var(--rose-light), transparent); }
.rule span { color: var(--rose); font-size: .8rem; letter-spacing: .3em; }

/* ---------------- botones ---------------- */

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .92rem 1.9rem; border-radius: 100px; border: 1px solid transparent;
  font-family: var(--sans); font-size: .84rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-primary { background: var(--gradient); color: var(--on-rose); box-shadow: 0 14px 34px -16px var(--rose-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -18px var(--rose-glow); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-3px); }

/* ---------------- barra de progreso ---------------- */

.progress { position: fixed; inset: 0 auto auto 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--gradient); z-index: 300; }

/* ---------------- header ---------------- */

.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 1.1rem 0;
}
.head.scrolled { background: rgba(251, 248, 243, .93); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: .55rem 0; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand img { height: 64px; width: auto; transition: height .4s var(--ease); }
.head.scrolled .brand img { height: 46px; }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); }
.nav a {
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-mid);
  position: relative; padding: .3rem 0; transition: color .3s;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--rose); transition: width .35s var(--ease); }
.nav a:hover { color: var(--rose); }
.nav a:hover::after { width: 100%; }

.head .btn { padding: .68rem 1.3rem; font-size: .74rem; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--fg); margin: 5px 0; transition: transform .35s var(--ease), opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 6rem 2rem 2.5rem;
    background: var(--ivory); flex-direction: column; align-items: flex-start; gap: 1.3rem;
    transform: translateY(-100%); transition: transform .5s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { font-size: 1rem; }
  .head-cta { display: none; }
}

/* ---------------- hero ---------------- */

.hero {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  position: relative; overflow: hidden; padding: 7rem 0 4rem;
  background:
    radial-gradient(1150px 660px at 50% -12%, #FDF1E7 0%, rgba(253,241,231,0) 64%),
    radial-gradient(900px 520px at 12% 108%, var(--ivory-3) 0%, rgba(239,228,220,0) 60%),
    var(--ivory);
}
.hero-iso {
  position: absolute; top: 50%; left: 50%; width: min(120vw, 1050px);
  transform: translate(-50%, -50%); opacity: .055; pointer-events: none; user-select: none;
}
.hero-in { position: relative; z-index: 2; }
.hero-logo { width: min(76vw, 400px); margin: 0 auto 1.4rem; }
.hero h1 { margin-bottom: .5rem; }
.hero .tag {
  font-size: clamp(.66rem, 1.5vw, .78rem); letter-spacing: .42em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 2.2rem;
}
.hero .lede { margin: 0 auto 2.6rem; }
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-dim);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.scroll-hint i { display: block; width: 1px; height: 42px; background: linear-gradient(var(--rose), transparent); animation: dive 2.4s var(--ease) infinite; }
@keyframes dive { 0%,100% { transform: scaleY(.35); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* ---------------- marquee ---------------- */

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 1.15rem 0; }
.marquee-track { display: flex; gap: 3.2rem; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.5rem); font-style: italic;
  color: var(--fg-dim); white-space: nowrap; display: flex; align-items: center; gap: 3.2rem;
}
.marquee-track span::after { content: "✦"; color: var(--rose-light); font-size: .7em; font-style: normal; }

/* ---------------- reveal ---------------- */

.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; } .rv-d5 { transition-delay: .40s; } .rv-d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------------- nosotros ---------------- */

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about-media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.about-media .ph { height: 100%; }
.about-badge {
  position: absolute; right: -14px; bottom: 28px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 1rem 1.4rem; box-shadow: var(--shadow); text-align: center;
}
.about-badge b { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--rose); line-height: 1; }
.about-badge small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }

.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.6rem; }
.counters div { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.counters b { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--rose); line-height: 1; }
.counters small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }

/* ---------------- servicios ---------------- */

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 1.2rem; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.1rem 1.8rem; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.svc::before { content: ""; position: absolute; inset: 0 auto auto 0; height: 2px; width: 0; background: var(--gradient); transition: width .55s var(--ease); }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--rose-light); }
.svc:hover::before { width: 100%; }
.svc-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--rose-soft); color: var(--rose); margin-bottom: 1.2rem; }
.svc-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.svc h3 { margin-bottom: .5rem; }
.svc p { color: var(--fg-mid); font-size: .93rem; margin: 0; }

/* ---------------- destinos ---------------- */

.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.dest {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4;
  display: block; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.dest:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.dest .ph { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
/* velo calido encima del degradado, para que no se vean 12 bloques iguales */
.dest .ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,.30), transparent 62%); }
.dest:hover .ph { transform: scale(1.07); }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,35,30,.82) 0%, rgba(46,35,30,.28) 45%, rgba(46,35,30,.05) 100%); }
.dest-txt { position: absolute; inset: auto 0 0 0; padding: 1.4rem; z-index: 2; color: #fff; }
.dest-txt h3 { font-size: 1.35rem; margin-bottom: .15rem; }
.dest-txt small { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.dest-grid.wide .dest { aspect-ratio: 4/3; }

/* marco de foto: gradiente propio hasta que llegue la imagen real */
.ph { background: var(--g, var(--gradient)); background-size: cover; background-position: center; position: relative; }
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/iso.svg"); background-size: 46% auto;
  background-position: center; background-repeat: no-repeat; opacity: .10; mix-blend-mode: luminosity;
}
.ph.has-img::after { display: none; }

/* ---------------- circuitos ---------------- */

.circ { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.circ article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.circ article:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.circ .ph { aspect-ratio: 16/10; }
.circ .body { padding: 1.4rem 1.5rem 1.7rem; }
.circ h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.circ p { color: var(--fg-mid); font-size: .9rem; margin: 0 0 .9rem; }
.circ .meta { display: flex; gap: 1rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }

/* ---------------- membresías ---------------- */

.mem {
  position: relative; border-radius: var(--r); overflow: hidden; padding: clamp(2.6rem, 6vw, 5rem);
  background: linear-gradient(135deg, #FDF4ED 0%, #F3E0D2 52%, #EACFBC 100%);
  border: 1px solid var(--rose-light);
}
.mem-iso { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: min(52vw, 420px); opacity: .13; pointer-events: none; }
.mem-in { position: relative; z-index: 2; max-width: 640px; }
.mem ul { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: .85rem; }
.mem li { display: flex; gap: .8rem; align-items: flex-start; color: var(--fg-mid); font-size: .96rem; }
.mem li::before { content: "✦"; color: var(--rose); flex: none; line-height: 1.55; }

/* ---------------- contacto ---------------- */

.cont { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .cont { grid-template-columns: 1fr; } }

.cont-info ul { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.cont-info li { display: flex; gap: 1rem; align-items: flex-start; }
.cont-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--rose-soft); color: var(--rose); display: grid; place-items: center; }
.cont-ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cont-info small { display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: .1rem; }
.cont-info a, .cont-info span { color: var(--fg); font-size: 1.02rem; }
.cont-info a:hover { color: var(--rose); }

form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-sm); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .f-row { grid-template-columns: 1fr; } }
.f { margin-bottom: 1rem; }
.f label { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: .45rem; }
.f input, .f select, .f textarea {
  width: 100%; padding: .82rem 1rem; border: 1px solid var(--line); border-radius: var(--r-s);
  background: var(--ivory); color: var(--fg); font-family: var(--sans); font-size: .95rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--rose); background: var(--surface); box-shadow: 0 0 0 3px var(--rose-soft); }
.f textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
form .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.f-note { font-size: .74rem; color: var(--fg-dim); text-align: center; margin: 1rem 0 0; }
.msg { border-radius: var(--r-s); padding: .9rem 1.1rem; font-size: .9rem; margin-bottom: 1.2rem; }
.msg.ok  { background: rgba(88, 140, 96, .10); color: #3D6B45; border: 1px solid rgba(88,140,96,.28); }
.msg.err { background: rgba(178, 60, 60, .09); color: #9A3B3B; border: 1px solid rgba(178,60,60,.25); }

/* ---------------- footer ---------------- */

.foot { background: var(--ivory-2); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }
.foot img { width: 220px; margin-bottom: 1.1rem; }
.foot p { color: var(--fg-mid); font-size: .9rem; max-width: 40ch; }
.foot h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 1.1rem; font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.foot ul a { color: var(--fg-mid); font-size: .9rem; }
.foot ul a:hover { color: var(--rose); }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--fg-dim); }

/* ---------------- botón flotante WhatsApp/llamada ---------------- */

.fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 190;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient); color: #fff; box-shadow: 0 16px 34px -14px var(--rose-glow);
  transform: translateY(90px); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.fab.show { transform: none; opacity: 1; }
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
