/* =====================================================================
   SILVESTRE — moderno.css (capa de diseño v3)
   ---------------------------------------------------------------------
   Se carga DESPUÉS de style.css y solo cambia la apariencia: los
   nombres de clases son los mismos, así ninguna página se rompe.
   Paleta del logo: rojo y granate del tejido, oro, turquesa,
   marrón tierra y granito.
   ===================================================================== */

@font-face{
  font-family:'Archivo'; font-style:normal; font-display:swap;
  font-weight:100 900; font-stretch:62% 125%;
  src:url('fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations'), url('fonts/archivo-latin-wdth-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Figtree'; font-style:normal; font-display:swap;
  font-weight:300 900;
  src:url('fonts/figtree-latin-wght-normal.woff2') format('woff2-variations'), url('fonts/figtree-latin-wght-normal.woff2') format('woff2');
}

:root{
  /* Colores tomados del tejido del logo */
  --granate:#3B0A0E;
  --rojo:#A3141B;
  --rojo-osc:#7C0E14;
  --rojo-tinte:#F8E6E3;
  --oro:#E2A925;
  --oro-osc:#B9861A;
  --turquesa:#0E846C;
  --tierra:#6E3E10;
  --granito:#F3EEE8;
  --base:#FFFFFF;
  --piedra:#5F5650;

  /* las variables antiguas apuntan a la nueva paleta */
  --ink:#1D1512;
  --forest:var(--rojo);
  --forest-dark:var(--rojo-osc);
  --forest-light:#C2272F;
  --gold:var(--oro);
  --gold-dark:var(--oro-osc);
  --clay:var(--turquesa);
  --cream:var(--base);
  --sand:var(--granito);
  --stone:var(--piedra);
  --line:rgba(29,21,18,.12);
  --radius:10px;
  --radius-card:14px;
  --shadow:0 18px 40px -22px rgba(46,9,12,.45);
  --display:'Archivo', 'Arial Narrow', Arial, sans-serif;
  --texto:'Figtree', 'Segoe UI', Arial, sans-serif;
  --alto-header:74px;
}

body{font-family:var(--texto); font-size:16px; background:var(--base); color:var(--ink);}
h1,h2,h3,h4{font-family:var(--display); font-stretch:80%; font-weight:760; letter-spacing:-.005em; line-height:1.05;}
h3{font-weight:700; line-height:1.15;}
p{line-height:1.6;}
::selection{background:var(--oro); color:var(--granate);}
:focus-visible{outline:3px solid var(--oro); outline-offset:3px; border-radius:4px;}

.eyebrow{
  font-family:var(--texto); font-size:14px; font-weight:650;
  letter-spacing:0; text-transform:none; color:var(--rojo);
  margin-bottom:6px;
}
.eyebrow-claro{color:var(--oro);}

/* ===================== BOTONES ===================== */
.btn{font-family:var(--texto); font-weight:650; font-size:14.5px; border-radius:var(--radius); padding:12px 22px; transition:background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;}
.btn-lg{padding:15px 28px; font-size:15.5px;}
.btn-primary{background:var(--rojo); color:#fff;}
.btn-primary:hover{background:var(--rojo-osc); box-shadow:0 10px 22px -10px rgba(124,14,20,.7);}
.btn-gold{background:var(--oro); color:var(--granate);}
.btn-gold:hover{background:#EDB83A; color:var(--granate); transform:translateY(-1px); box-shadow:0 12px 26px -12px rgba(226,169,37,.8);}
.btn-claro{background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.45); backdrop-filter:blur(4px);}
.btn-claro:hover{background:#fff; color:var(--granate); border-color:#fff;}
.btn-ghost{border-color:var(--line);}

/* ===================== BARRA SUPERIOR + HEADER ===================== */
.topbar{background:var(--granate); font-size:13px;}
.topbar .promo{color:var(--oro);}

header.site{
  background:rgba(250,250,247,.92); backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--line);
  transition:background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
header.site .nav{padding:14px 24px; max-width:1188px; min-height:var(--alto-header);}
header.site.scrolled{box-shadow:0 10px 30px -20px rgba(46,9,12,.5);}
.logo{font-family:var(--display); font-stretch:85%; font-weight:800; font-size:22px; letter-spacing:-.01em;}
.logo-sub{font-weight:450; color:var(--rojo);}
.logo-img{width:40px; height:40px; flex:none; margin-right:4px;}
.logo span.mark{width:12px; height:12px; border-radius:2px; transform:rotate(45deg); background:var(--rojo); box-shadow:7px -7px 0 -2px var(--oro); margin-right:10px;}
.nav-links{gap:4px;}
.nav-links a{font-size:14.5px; font-weight:550; padding:8px 12px; border-radius:8px; opacity:.85; transition:background .2s, opacity .2s, color .2s;}
.nav-links a:hover{opacity:1; background:rgba(163,20,27,.08);}
.nav-links a.activo{box-shadow:none; color:var(--rojo); opacity:1; background:rgba(163,20,27,.1);}
.dropdown-content{border-radius:12px; border:1px solid var(--line); box-shadow:0 24px 50px -20px rgba(46,9,12,.45); overflow:hidden; padding:6px;}
.dropdown-content a{border-radius:8px;}
.dropdown.abierto .dropdown-content{display:block;}

/* Header transparente sobre la portada (solo en el inicio) */
body.con-hero header.site:not(.scrolled){background:transparent; border-color:transparent; backdrop-filter:none;}
body.con-hero header.site:not(.scrolled) .logo,
body.con-hero header.site:not(.scrolled) .nav-links a,
body.con-hero header.site:not(.scrolled) .cart-link{color:#fff;}
body.con-hero header.site:not(.scrolled) .logo-sub{color:var(--oro);}
body.con-hero header.site:not(.scrolled) .nav-links a:hover,
body.con-hero header.site:not(.scrolled) .nav-links a.activo{background:rgba(255,255,255,.14); color:#fff;}
body.con-hero header.site:not(.scrolled) .btn-ghost{color:#fff; border-color:rgba(255,255,255,.45);}
body.con-hero header.site:not(.scrolled) .btn-ghost:hover{background:#fff; color:var(--granate);}
body.con-hero header.site:not(.scrolled) .btn-primary{background:var(--oro); color:var(--granate);}
body.con-hero header.site:not(.scrolled) .nav-toggle{border-color:rgba(255,255,255,.5);}
body.con-hero header.site:not(.scrolled) .nav-toggle span{background:#fff;}
body.menu-abierto header.site, body.con-hero.menu-abierto header.site:not(.scrolled){background:var(--base) !important;}
body.con-hero.menu-abierto header.site .logo,
body.con-hero.menu-abierto header.site .nav-links a{color:var(--ink) !important;}
body.con-hero.menu-abierto header.site .nav-toggle span{background:var(--ink) !important;}
body.con-hero.menu-abierto header.site .btn-ghost{color:var(--ink) !important; border-color:var(--line) !important;}

/* ===================== PORTADA ===================== */
.hero-v3{
  position:relative; isolation:isolate; overflow:hidden;
  margin-top:calc(-1 * var(--alto-header) - 1px);
  min-height:min(94vh, 900px);
  padding:calc(var(--alto-header) + 72px) 24px 0;
  display:flex; flex-direction:column; justify-content:space-between;
  background:
    linear-gradient(90deg, rgba(46,9,12,.9) 0%, rgba(46,9,12,.62) 45%, rgba(46,9,12,.15) 100%),
    linear-gradient(180deg, rgba(46,9,12,.55) 0%, rgba(46,9,12,0) 30%),
    var(--hero-img) center/cover no-repeat;
  background-color:var(--granate);
}
.hero-v3 .hero-inner{max-width:1140px; width:100%; margin:0 auto; display:block; padding:0;}
.hero-kicker{color:var(--oro); font-weight:650; font-size:15px; margin-bottom:18px;}
.hero-v3 h1{
  color:#fff; font-size:clamp(46px, 7.4vw, 104px); font-stretch:70%; font-weight:820;
  line-height:.94; letter-spacing:-.015em; max-width:13.5ch; margin-bottom:24px;
  text-wrap:balance;
}
.hero-v3 p.lead{color:rgba(255,255,255,.86); font-size:clamp(16px, 1.4vw, 19px); max-width:54ch; margin-bottom:32px;}
.hero-v3 .hero-cta{gap:12px;}

/* Perfil de altura: la línea dorada se dibuja al cargar */
.perfil{position:relative; height:clamp(150px, 19vw, 230px); margin:56px -24px 0;}
.perfil svg{position:absolute; inset:0; width:100%; height:100%; display:block;}
.perfil-relleno{fill:var(--base);}
.perfil-linea{fill:none; stroke:var(--oro); stroke-width:2.5; vector-effect:non-scaling-stroke; stroke-linejoin:round;
  stroke-dasharray:1; stroke-dashoffset:1; transition:stroke-dashoffset 2.4s cubic-bezier(.65,0,.35,1) .2s;}
body.listo .perfil-linea{stroke-dashoffset:0;}
.cumbres{position:absolute; inset:0; margin:0; padding:0; list-style:none;}
.cumbres li{position:absolute; left:var(--x); top:var(--y); width:0; height:0;
  opacity:0; transform:translateY(8px); transition:opacity .5s ease, transform .5s ease;
  transition-delay:calc(.5s + var(--i) * .2s);}
body.listo .cumbres li{opacity:1; transform:none;}
.cumbres li::before{content:""; position:absolute; left:-6px; top:-6px; width:12px; height:12px; border-radius:50%;
  background:var(--oro); box-shadow:0 0 0 4px rgba(226,169,37,.28);}
.cumbres a{position:absolute; left:0; bottom:16px; transform:translateX(-50%); white-space:nowrap; text-align:center;
  text-decoration:none; color:#fff; line-height:1.15; padding:5px 9px; border-radius:8px; background:rgba(46,9,12,.55); backdrop-filter:blur(6px); transition:background .2s, color .2s;}
.cumbres b{display:block; font-size:13px; font-weight:650;}
.cumbres span{display:block; font-family:var(--display); font-stretch:75%; font-size:17px; font-weight:750; color:var(--oro); font-variant-numeric:tabular-nums;}
.cumbres a:hover, .cumbres a:focus-visible{background:var(--oro); color:var(--granate);}
.cumbres a:hover span, .cumbres a:focus-visible span{color:var(--granate);}
.cumbres li:first-child a{transform:none; left:-8px; text-align:left;}
.cumbres li:last-child a{transform:none; left:auto; right:-8px; text-align:right;}

/* Buscador bajo la portada */
.ticket{
  margin:-34px auto 0; max-width:1140px; width:calc(100% - 48px);
  background:#fff; color:var(--ink); border-radius:16px; border:1px solid var(--line);
  box-shadow:0 30px 60px -30px rgba(46,9,12,.45);
}
.ticket .field{border-right:1px solid var(--line);}
.ticket label{font-family:var(--texto); text-transform:none; letter-spacing:0; font-size:13px; font-weight:650; color:var(--rojo);}
.ticket select, .ticket input{color:var(--ink); font-family:var(--texto); font-size:15.5px;}
.ticket input::placeholder{color:#8B8F88;}
.ticket select option{color:var(--ink);}
.ticket .cta-cell button{background:var(--rojo); color:#fff; border-radius:12px; font-family:var(--texto); font-weight:700; font-size:15px; letter-spacing:0; text-transform:none; transition:background .2s;}
.ticket .cta-cell button:hover{background:var(--rojo-osc);}

/* ===================== VENTAJAS ===================== */
.strip{padding:72px 24px 24px; background:var(--base);}
.strip-grid{gap:36px;}
.strip-ico{display:grid; place-items:center; width:46px; height:46px; border-radius:12px; background:var(--rojo-tinte); color:var(--rojo); margin-bottom:16px;}
.strip-ico svg{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.strip-item h3{font-size:21px; margin-bottom:6px;}
.strip-item p{font-size:15px;}

/* ===================== SECCIONES ===================== */
.section{padding:88px 24px;}
.section-head{margin-bottom:36px;}
.section-head h2, .page-head h1{font-size:clamp(34px, 4.2vw, 52px); font-stretch:74%; font-weight:800; line-height:1;}
.section-head p{color:var(--piedra); max-width:52ch; margin-top:10px;}

/* ===================== TARJETAS DE TOUR ===================== */
.tour-card, .card{border:none; border-radius:var(--radius-card); background:#fff; box-shadow:0 1px 0 var(--line), 0 0 0 1px var(--line); transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;}
.tour-card:hover, .card:hover{transform:translateY(-5px); box-shadow:0 0 0 1px var(--line), 0 26px 44px -26px rgba(46,9,12,.55);}
.tour-card .tour-img{position:relative; height:auto; aspect-ratio:4/3; overflow:hidden; background:var(--rojo);}
.tour-img img{width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.2,.7,.2,1);}
.tour-card:hover .tour-img img{transform:scale(1.06);}
.tour-card .tour-img span{text-shadow:none; letter-spacing:0;}
.tour-card .tour-img .chip-duracion{top:12px; bottom:auto; left:12px; background:rgba(255,255,255,.94); color:var(--granate); font-family:var(--texto); font-size:12.5px; font-weight:700; border-radius:999px; padding:5px 11px;}
.tour-card .tour-img .chip-descuento{top:12px; bottom:auto; left:auto; right:12px; font-size:12.5px; padding:5px 10px;}
.chip-descuento{background:var(--oro); color:var(--granate); font-family:var(--texto); border-radius:999px;}
.tour-body{padding:18px 20px 20px;}
.tour-ubicacion{font-size:13px !important; color:var(--piedra) !important; font-weight:550; display:flex; gap:6px; align-items:center;}
.tour-ubicacion::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--turquesa); flex:none;}
.tour-body h3{font-size:23px; font-stretch:78%; margin:4px 0 8px;}
.tour-body p{font-size:14.5px; color:var(--piedra);}
.tour-meta{margin-top:auto; padding-top:16px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:flex-end;}
.tour-meta .price{font-family:var(--display); font-stretch:78%; font-weight:800; font-size:24px; color:var(--granate);}
.tour-meta .price small{font-family:var(--texto);}

/* Dificultad: tres barras que suben como una cuesta */
.nivel{display:inline-flex; align-items:flex-end; gap:3px;}
.nivel i{width:6px; border-radius:2px; background:var(--granito);}
.nivel i:nth-child(1){height:8px;} .nivel i:nth-child(2){height:13px;} .nivel i:nth-child(3){height:18px;}
.nivel-1 i:nth-child(1), .nivel-2 i:nth-child(-n+2){background:var(--turquesa);}
.nivel-3 i{background:var(--rojo);}
.nivel em{font-style:normal; font-size:12.5px; font-weight:650; color:var(--piedra); margin-left:6px;}

/* Carrusel del inicio */
.seccion-tours{padding-left:0; padding-right:0;}
.seccion-tours .section-head{padding:0 24px;}
.carrusel-ctrl{display:flex; gap:10px;}
.carrusel-btn{width:48px; height:48px; border-radius:50%; border:1px solid var(--line); background:#fff; cursor:pointer; display:grid; place-items:center; color:var(--granate); transition:background .2s, color .2s, opacity .2s;}
.carrusel-btn svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;}
.carrusel-btn:hover:not(:disabled){background:var(--granate); color:#fff;}
.carrusel-btn:disabled{opacity:.35; cursor:default;}
.filtro-chips{max-width:1140px; margin:0 auto 22px; padding:0 24px; display:flex; gap:8px; flex-wrap:wrap;}
.chip{font:inherit; font-size:14px; font-weight:600; padding:8px 16px; border-radius:999px; border:1px solid var(--line); background:#fff; color:var(--ink); cursor:pointer; transition:background .2s, color .2s, border-color .2s;}
.chip:hover{border-color:var(--rojo);}
.chip.activo{background:var(--rojo); border-color:var(--rojo); color:#fff;}
.carrusel{
  --margen:max(24px, calc((100vw - 1140px) / 2 + 24px));
  display:grid; grid-auto-flow:column; grid-auto-columns:min(330px, 80vw); gap:24px;
  overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:var(--margen);
  padding:8px var(--margen) 34px; scrollbar-width:thin; scrollbar-color:var(--granito) transparent;
}
.carrusel:focus-visible{outline-offset:-3px;}
.carrusel .tour-card{scroll-snap-align:start;}
.carrusel .tour-card[hidden]{display:none;}
.seccion-tours-pie{max-width:1140px; margin:4px auto 0; padding:0 24px;}

/* ===================== MACHU PICCHU ===================== */
.destacado-machu{background:var(--granate); padding:96px 0;}
.destacado-grid h2{font-size:clamp(36px, 4.4vw, 56px); font-stretch:72%; font-weight:800;}
.destacado-img{border-radius:var(--radius-card); min-height:420px;}
.lista-check li::before{color:var(--oro);}

/* ===================== PROCESO (es una secuencia: lleva números) ===================== */
.process{background:var(--rojo-osc);}
.process .section{padding-top:88px; padding-bottom:96px;}
.step .step-num{font-family:var(--display); font-stretch:75%; font-weight:800; font-size:46px; line-height:1; color:var(--oro); margin-bottom:12px;}
.step:not(:last-child)::after{top:24px; left:64px; right:16px; width:auto; background:rgba(226,169,37,.35);}
.step h3{color:#fff; font-size:22px;}
.step p{color:rgba(250,250,247,.72);}

/* ===================== TESTIMONIOS / FAQ / CTA ===================== */
.testimonials{background:var(--granito);}
.test-card{border-radius:var(--radius-card); border:none; box-shadow:0 0 0 1px var(--line); background:#fff;}
.test-card p.quote{font-family:var(--texto); font-style:normal; font-size:16.5px; line-height:1.6;}
.stars, .estrellas-card{color:var(--oro);}
.faq-q{font-family:var(--display); font-stretch:85%; font-weight:700; font-size:20px; padding:22px 0;}
.faq-q .plus{font-family:var(--texto); width:30px; height:30px; border-radius:50%; display:inline-grid; place-items:center; background:var(--granito); transition:transform .3s, background .3s;}
.faq-item.open .faq-q .plus{transform:rotate(45deg); background:var(--oro);}
.cta-final{background:var(--granate); position:relative; overflow:hidden;}
.cta-final h2{font-size:clamp(34px, 4.6vw, 58px); font-stretch:72%; font-weight:800;}

/* ===================== PÁGINAS INTERNAS ===================== */
.page-head{background:var(--granito); padding:64px 0 44px; border-bottom:none;}
.filtros input, .filtros select{border-radius:var(--radius); padding:12px 14px; font-family:var(--texto);}
.tour-hero{padding:150px 0 64px; background-color:var(--granate);}
.tour-hero h1{font-size:clamp(38px, 5.4vw, 72px); font-stretch:72%; font-weight:820; line-height:.98;}
.datos-tour{border-radius:var(--radius-card);}
.datos-tour span{text-transform:none; letter-spacing:0; font-size:12.5px; font-weight:600;}
.datos-tour b{font-family:var(--display); font-stretch:85%; font-size:18px;}
.bloque h2{font-size:30px; font-stretch:78%;}
.reserva-card{border-radius:var(--radius-card); position:sticky; top:calc(var(--alto-header) + 18px); box-shadow:0 0 0 1px var(--line), 0 30px 60px -36px rgba(46,9,12,.6);}
.reserva-precio strong{font-family:var(--display); font-stretch:75%; font-weight:800;}
.timeline li::before{background:var(--rojo);}

/* Formularios y tarjetas del área privada: mismo lenguaje */
.formulario, .carrito-resumen, .resumen-pedido, .campos-pago{border-radius:var(--radius-card);}
.formulario input, .formulario select, .formulario textarea{border-radius:var(--radius);}

/* ===================== GARANTÍAS + FOOTER ===================== */
.garantias .eyebrow{color:var(--piedra);}
.garantias-logos span{font-family:var(--display); font-stretch:80%; font-weight:750; letter-spacing:.04em; font-size:18px; color:#9A9D96;}
footer.site{background:var(--granate);}
.footer-grid h4{font-family:var(--texto); font-size:14px; font-weight:700; text-transform:none; letter-spacing:0; color:var(--oro);}
.wa-flotante{box-shadow:0 14px 30px -10px rgba(37,211,102,.6); transition:transform .2s;}
.wa-flotante:hover{transform:scale(1.07);}

/* ===================== RESPONSIVE ===================== */
@media (max-width:900px){
  .hero-v3{min-height:auto; padding-top:calc(var(--alto-header) + 48px);}
  .ticket{grid-template-columns:1fr 1fr;}
  .ticket .field{border-right:none; border-bottom:1px solid var(--line);}
  .cumbres li:not(:first-child):not(:nth-child(4)):not(:last-child) a{display:none;}
  .strip{padding-top:56px;}
}
@media (max-width:600px){
  .ticket{grid-template-columns:1fr; width:calc(100% - 32px); margin-top:-20px;}
  .hero-v3 .hero-cta .btn{width:100%; text-align:center;}
  .perfil{margin-top:40px;}
  .cumbres b{font-size:12px;}
  .cumbres span{font-size:15px;}
  .section{padding:64px 20px;}
  .carrusel-ctrl{display:none;}
  .strip-grid{grid-template-columns:1fr;}
}

/* Movimiento reducido: todo aparece sin animación */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{transition-duration:.01ms !important; transition-delay:0s !important; animation:none !important; scroll-behavior:auto !important;}
  .perfil-linea{stroke-dashoffset:0;}
  .cumbres li{opacity:1; transform:none;}
}

/* Ajustes finales */
.section.seccion-tours{padding-left:0; padding-right:0;}
.ticket .cta-cell button{min-height:52px; width:100%; padding:0 26px;}
@media (max-width:600px){ .seccion-tours .section-head, .filtro-chips, .seccion-tours-pie{padding-left:20px; padding-right:20px;} .carrusel{--margen:20px;} }

/* Franja de colores del tejido (debajo del menú y sobre el footer) */
.franja-tejido{height:5px; background:linear-gradient(90deg, var(--rojo) 0 34%, var(--oro) 34% 46%, var(--turquesa) 46% 62%, var(--tierra) 62% 78%, var(--rojo-osc) 78% 100%);}
footer.site .logo{color:#fff;}
.ticket label, .eyebrow{color:var(--rojo);}
.eyebrow-claro, .hero-kicker{color:var(--oro);}
.strip-ico{color:var(--rojo);}
.tour-meta .price{color:var(--granate);}

/* El proceso va en fondo claro para no juntar tres bloques oscuros */
.process{background:var(--base); color:var(--ink); border-top:1px solid var(--line);}
.process .section-head h2{color:var(--ink);}
.process .section-head p{color:var(--piedra);}
.process .step h3{color:var(--ink);}
.process .step p{color:var(--piedra);}
.process .step .step-num{color:var(--rojo);}
.process .step:not(:last-child)::after{background:rgba(163,20,27,.25);}
