/* ══════════ Ruta Monarca · Excursiones ══════════
   Revista de viajes: crema, verde oyamel, naranja monarca. Fraunces + Sora. */
:root {
  --crema:    #F7F1E6;
  --crema-2:  #EFE5D2;
  --blanco:   #FFFCF6;
  --tinta:    #1B1C17;
  --tinta-2:  #4B4A40;
  --tinta-3:  #858171;
  --verde:    #1F3B2D;
  --verde-2:  #2E5641;
  --naranja:  #E46F1A;
  --naranja-2:#C35A0E;
  --oro:      #F2B33D;
  --linea:    rgba(27,28,23,.12);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease:  cubic-bezier(.2,.7,.2,1);
  --r:     14px;
  --wrap:  1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--crema); color: var(--tinta-2); font-family: var(--sans); font-size: .98rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--tinta); font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; font-variation-settings: "SOFT" 50; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--naranja); font-variation-settings: "SOFT" 100; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.5rem; border: 1.5px solid transparent; border-radius: 100px; font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-naranja { background: var(--naranja); color: #fff; }
.btn-naranja:hover { background: var(--naranja-2); }
.btn-linea { border-color: var(--tinta); color: var(--tinta); }
.btn-linea:hover { background: var(--tinta); color: var(--crema); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-ancho { width: 100%; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(247,241,230,.94); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-solid { border-color: var(--linea); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.marca { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; color: var(--verde); white-space: nowrap; }
.marca em { font-style: italic; color: var(--naranja); }
.marca-ico { width: 34px; height: 34px; }
.ala { fill: var(--naranja); stroke: var(--tinta); stroke-width: 1.4; }
.ala-b { fill: var(--oro); }
.cuerpo { stroke: var(--tinta); stroke-width: 2.4; stroke-linecap: round; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--tinta); }
.nav-links a:hover { color: var(--naranja); }

/* ── Portada ── */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-in { display: grid; gap: 2.8rem; align-items: center; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-2); }
.hero h1 { margin-top: 1rem; font-size: clamp(2.9rem, 1.6rem + 5.2vw, 5.8rem); line-height: .98; letter-spacing: -.03em; }
.hero h1 em { display: block; }
.hero-lead { margin-top: 1.4rem; max-width: 34rem; font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.cuenta { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.2rem; padding: .8rem 1.2rem .8rem .8rem; border-radius: 100px; background: var(--verde); color: var(--crema); text-decoration: none; transition: transform .25s var(--ease); }
.cuenta[hidden] { display: none; }
.cuenta:hover { transform: translateY(-2px); }
.cuenta-num { min-width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--oro); color: var(--verde); font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.cuenta-txt { display: grid; line-height: 1.3; }
.cuenta-txt small { color: rgba(247,241,230,.72); font-size: .78rem; }

.collage { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: auto auto; gap: .9rem; }
.collage figure { overflow: hidden; border-radius: var(--r); position: relative; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.col-1 { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.col-2 { aspect-ratio: 1; }
.col-3 { aspect-ratio: 1; }
.col-3 figcaption { position: absolute; left: .7rem; bottom: .6rem; padding: .2rem .6rem; border-radius: 100px; background: rgba(255,252,246,.92); font-size: .75rem; font-weight: 600; color: var(--tinta); }

/* ── Próximas salidas ── */
.salidas { background: var(--verde); color: var(--crema); padding: clamp(2.6rem, 6vw, 3.6rem) 0; }
.salidas-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; margin-bottom: 1.6rem; }
.salidas-head h2 { color: var(--crema); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.salidas-head h2 em { color: var(--oro); }
.salidas-head p { max-width: 30rem; color: rgba(247,241,230,.75); font-size: .92rem; }
.cal { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; scrollbar-width: thin; scrollbar-color: var(--oro) transparent; }
.cal-vacio { color: rgba(247,241,230,.75); }
.cal-item { flex: 0 0 auto; scroll-snap-align: start; }
.cal-btn {
  display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: center; width: 290px; padding: .9rem 1rem;
  border: 1px solid rgba(247,241,230,.18); border-radius: var(--r); background: rgba(255,255,255,.05); color: var(--crema); text-align: left; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.cal-btn:hover { background: rgba(255,255,255,.1); border-color: var(--oro); transform: translateY(-2px); }
.cal-dia { grid-row: 1 / 3; width: 56px; padding: .35rem 0; border-radius: 10px; background: var(--crema); color: var(--verde); text-align: center; line-height: 1.05; }
.cal-dia small { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cal-dia b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.cal-dia i { display: block; font-style: normal; font-size: .66rem; font-weight: 600; text-transform: uppercase; }
.cal-nom { font-weight: 600; font-size: .88rem; line-height: 1.3; }
.cal-quedan { font-size: .78rem; color: rgba(247,241,230,.7); }
.cal-quedan.is-pocos { color: var(--oro); font-weight: 600; }

/* ── Secciones ── */
.bloque { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.bloque-crema { background: var(--crema-2); }
.bloque-verde { background: var(--blanco); border-block: 1px solid var(--linea); }
.sec-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.sec-head-izq { text-align: left; margin-inline: 0; }
.eyebrow { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--verde-2); margin-bottom: .8rem; }
.sec-head h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); line-height: 1.02; letter-spacing: -.025em; }
.sec-lead { margin-top: 1rem; font-size: 1.02rem; }

/* ── Filtros ── */
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.4rem; }
.chip { padding: .6rem 1.1rem; border: 1.5px solid var(--linea); border-radius: 100px; background: var(--blanco); color: var(--tinta); font-size: .86rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--tinta); }
.chip.is-on { background: var(--verde); border-color: var(--verde); color: var(--crema); }

/* ── Tarjetas de excursión ── */
.tours { display: grid; gap: 1.6rem; }
.tour { display: grid; grid-template-rows: auto 1fr; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.tour[hidden] { display: none; }
.tour:hover { box-shadow: 0 22px 40px -24px rgba(31,59,45,.45); transform: translateY(-3px); }
.tour-foto { position: relative; overflow: hidden; background: var(--crema-2); }
.tour-foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .9s var(--ease); }
.tour:hover .tour-foto img { transform: scale(1.04); }
.tour-cat { position: absolute; top: .8rem; left: .8rem; padding: .25rem .7rem; border-radius: 100px; background: rgba(255,252,246,.94); font-size: .74rem; font-weight: 600; color: var(--verde); }
.tour-lugares { position: absolute; right: .8rem; bottom: .8rem; padding: .3rem .75rem; border-radius: 100px; background: var(--verde); color: var(--crema); font-size: .76rem; font-weight: 600; }
.tour-lugares.is-pocos { background: var(--naranja); color: #fff; }
.tour-lugares[hidden] { display: none; }
.tour-txt { padding: 1.3rem 1.3rem 1.4rem; display: grid; gap: .9rem; align-content: start; }
.tour h3 { font-size: 1.45rem; line-height: 1.12; }
.tour-res { font-size: .92rem; }
.tour-datos { display: grid; gap: .3rem; padding: .8rem 0; border-block: 1px dashed var(--linea); }
.tour-datos li { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.tour-datos span { color: var(--tinta-3); }
.tour-datos b { color: var(--tinta); font-weight: 600; text-align: right; }
.tour-mas summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--verde-2); list-style: none; }
.tour-mas summary::-webkit-details-marker { display: none; }
.tour-mas summary::after { content: " +"; color: var(--naranja); }
.tour-mas[open] summary::after { content: " −"; }
.itin { margin-top: .9rem; display: grid; gap: .5rem; position: relative; padding-left: 1rem; border-left: 2px solid var(--crema-2); }
.itin li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .6rem; font-size: .86rem; position: relative; }
.itin li::before { content: ""; position: absolute; left: calc(-1rem - 6px); top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--naranja); }
.itin b { color: var(--tinta); font-weight: 600; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.incl-tit { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta); margin-bottom: .3rem; }
.incl li { font-size: .82rem; padding-left: 1.1rem; position: relative; line-height: 1.45; margin-bottom: .25rem; }
.si li::before { content: "✓"; position: absolute; left: 0; color: var(--verde-2); font-weight: 700; }
.no li::before { content: "✕"; position: absolute; left: 0; color: var(--tinta-3); }
.tour-pie { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .2rem; }
.tour-precio { display: grid; line-height: 1.15; }
.tour-precio small { font-size: .72rem; color: var(--tinta-3); }
.tour-precio b { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--tinta); }
.tour-precio span { font-size: .78rem; color: var(--tinta-3); }

/* ── Siempre incluido ── */
.incluido { display: grid; gap: 1rem; }
.incluido li { padding: 1.5rem; border-radius: var(--r); background: var(--crema); }
.ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--verde); margin-bottom: 1rem; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--oro); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.incluido h3 { font-size: 1.25rem; }
.incluido p { margin-top: .3rem; font-size: .9rem; }

/* ── Pasos ── */
.pasos { display: grid; gap: 1.2rem; counter-reset: p; }
.pasos li { padding: 1.8rem 1.6rem; border: 1px solid var(--linea); border-radius: var(--r); background: var(--blanco); }
.paso-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--naranja); color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.pasos h3 { margin-top: 1rem; font-size: 1.35rem; }
.pasos p { margin-top: .4rem; font-size: .92rem; }

/* ── Preguntas ── */
.preguntas-in { display: grid; gap: 2rem; }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--tinta); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; color: var(--naranja); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 2rem 1.2rem 0; font-size: .94rem; }

/* ── Pie ── */
.pie { background: var(--verde); color: rgba(247,241,230,.72); padding: 2.6rem 0 6rem; }
.pie-in { display: grid; gap: .5rem; justify-items: center; text-align: center; font-size: .88rem; }
.pie .marca { color: var(--crema); }
.pie .marca em { color: var(--oro); }
.pie a { color: var(--oro); }
.pie-mini { font-size: .8rem; }

/* ── WhatsApp flotante ── */
.wa-flota {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: inline-flex; align-items: center; gap: .55rem; height: 58px; padding: 0 15px;
  border-radius: 100px; background: #25D366; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  box-shadow: 0 14px 30px -10px rgba(27,28,23,.55);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-flota:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(27,28,23,.6); }
.wa-txt { white-space: nowrap; padding-right: .3rem; }
@media (max-width: 640px) {
  .wa-flota { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-txt { display: none; }
}

/* ── Ventana para apartar ── */
.apartar { padding: 0; border: 0; border-radius: 20px; background: var(--crema); color: var(--tinta-2); width: min(500px, 100% - 20px); max-height: calc(100svh - 20px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.apartar::backdrop { background: rgba(31,59,45,.6); }
.ap-in { display: grid; gap: 1rem; padding: 1.3rem 1.3rem 1.5rem; }
.ap-head { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; }
.ap-head img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.ap-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--naranja); }
.ap-head h2 { font-size: 1.25rem; line-height: 1.15; }
.cerrar { align-self: start; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linea); background: var(--blanco); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--tinta); }
.campo { display: grid; gap: .3rem; }
.campo label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--verde-2); }
.campo input, .campo select { width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--linea); border-radius: 12px; background: var(--blanco); color: var(--tinta); font-size: 1rem; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--verde); }
.campo.is-error input { border-color: var(--naranja); }
.ap-quedan { font-size: .84rem; font-weight: 600; color: var(--verde-2); }
.ap-quedan.is-pocos { color: var(--naranja-2); }
.personas { display: grid; gap: .5rem; }
.persona { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-radius: 12px; background: var(--blanco); border: 1px solid var(--linea); }
.persona p { display: grid; line-height: 1.25; color: var(--tinta); }
.persona p span { font-weight: 400; color: var(--tinta-3); font-size: .85rem; }
.persona small { color: var(--tinta-3); font-size: .8rem; }
.stepper { display: inline-flex; align-items: center; gap: .6rem; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--verde); background: transparent; color: var(--verde); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 1.6rem; text-align: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--tinta); }
.ap-cuentas { display: grid; gap: .35rem; padding: .9rem 1rem; border-radius: 12px; background: var(--verde); color: rgba(247,241,230,.8); }
.ap-cuentas div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.ap-cuentas dd { color: var(--crema); font-weight: 600; }
.ap-anticipo dt { color: var(--oro); font-weight: 600; }
.ap-anticipo dd { font-family: var(--serif); font-size: 1.5rem; color: var(--oro); }
.aviso { color: var(--naranja-2); font-weight: 600; font-size: .9rem; }

/* ── Créditos ── */
.pag-creditos { background: var(--crema); }
.creditos { max-width: 760px; padding: 3rem 0 4rem; }
.volver { color: var(--verde-2); font-weight: 600; text-decoration: none; font-size: .9rem; }
.creditos h1 { margin: 1.4rem 0 .8rem; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); }
.creditos > p a { color: var(--naranja-2); }
.cred-lista { display: grid; gap: .7rem; margin-top: 2rem; }
.cred-lista li { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; padding: .7rem; border-radius: 12px; background: var(--blanco); border: 1px solid var(--linea); }
.cred-lista img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.cred-lista div { display: grid; font-size: .86rem; line-height: 1.4; }
.cred-lista b { color: var(--tinta); }
.cred-lista span { color: var(--tinta-3); }
.cred-lista a { color: var(--verde-2); font-weight: 600; }

/* ── Aparición ── */
.is-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.is-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Tamaños ── */
@media (min-width: 640px) {
  .tours { grid-template-columns: repeat(2, 1fr); }
  .incluido { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .tours { grid-template-columns: repeat(3, 1fr); }
  .incluido { grid-template-columns: repeat(4, 1fr); }
  .pasos { grid-template-columns: repeat(3, 1fr); }
  .preguntas-in { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .marca { font-size: 1.3rem; }
  .cal-btn { width: 250px; }
  .incl { grid-template-columns: 1fr; }
}
