/* Yayamari Explorer — estilos del sitio público.
   Los colores --primary, --dark y --accent se configuran desde el panel (Apariencia). */
:root {
  --primary: #c8962e;
  --primary-ink: #8a6417;
  --on-primary: #1f1a12;
  --primary-soft: #f7efdf;
  --dark: #1f1a12;
  --accent: #2f5d3a;
  --text: #2a2722;
  --muted: #6b665d;
  --line: #e7e3da;
  --bg: #ffffff;
  --bg-soft: #f5f3ee;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(31, 26, 18, .08);
  --shadow-lg: 0 18px 40px rgba(31, 26, 18, .16);
  --font: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- carga ---------- */
.loader { position: fixed; inset: 0; display: grid; place-items: center; background: #fff; z-index: 999; transition: opacity .4s; }
.loader.done { opacity: 0; pointer-events: none; }
.loader span { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--primary-soft); border-top-color: var(--primary); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, color .2s; line-height: 1.2; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 40%, transparent); }
.btn-primary:hover { box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 55%, transparent); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary-ink); background: #fff; }
.btn-outline:hover { background: var(--primary-soft); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: #25d366; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .55em 1.1em; font-size: .92em; }

/* ---------- barra superior ---------- */
.topbar { background: var(--primary); color: var(--on-primary); font-size: .95rem; position: relative; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding-right: 48px; flex-wrap: wrap; text-align: center; }
.topbar .btn { padding: .45em 1.1em; font-size: .9rem; }
.topbar-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 1.4rem; opacity: .6; }

/* ---------- cabecera ---------- */
.header-top { background: #fff; border-bottom: 1px solid var(--line); }
.header-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 92px; width: auto; }
.header-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.chip-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: .95rem; transition: border-color .2s; }
.chip-link:hover { border-color: var(--primary); }
.chip-link .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); }
.chip-link small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); line-height: 1.1; }
.chip-link b { font-weight: 600; line-height: 1.2; }
.header-social { display: flex; gap: 6px; }
.round-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--dark); text-decoration: none; transition: .2s; }
.round-ico:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.nav-logo { display: none; }
.nav.scrolled .nav-logo { display: block; }
.nav-logo img { height: 46px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 6px; padding: 20px 14px; text-decoration: none; font-size: 1.06rem; color: var(--dark); }
.menu > li > a .icon { color: var(--primary); transition: transform .2s; }
.menu > li:hover > a .icon { transform: rotate(180deg); }
.menu > li > a:hover { color: var(--primary-ink); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; border-top: 3px solid var(--primary); }
.menu > li:hover .submenu, .menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: .98rem; }
.submenu a:hover { background: var(--primary-soft); color: var(--primary-ink); }
.submenu .price-tag { font-size: .8rem; color: var(--primary-ink); font-weight: 600; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--dark); padding: 8px; }

/* menú móvil */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; overflow: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; transform: translateX(100%); transition: transform .3s; overflow-y: auto; padding: 20px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-head img { height: 56px; }
.drawer-close { background: none; border: 0; font-size: 1.8rem; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 12px 6px; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.drawer li li a { padding-left: 22px; font-size: .98rem; color: var(--muted); }
.drawer .btn { margin-top: 18px; }

/* ---------- portada ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.65) 100%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding-top: 60px; padding-bottom: 60px; }
.hero-main { text-align: center; }
.hero-title { display: inline; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.25; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin: 0; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--primary) 90%, transparent) 58%); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 .15em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 760px; margin: 22px auto 28px; font-weight: 500; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-side { text-align: center; align-self: center; }
.hero-side h2 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.1; text-transform: uppercase; margin: 0 0 10px; font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-side .pill { display: inline-block; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 1.6rem; padding: 2px 26px; border-radius: 12px; transform: skew(-6deg); }
.collage { position: relative; height: 300px; margin: 20px auto 22px; max-width: 420px; }
.collage img { position: absolute; width: 58%; aspect-ratio: 4/3; object-fit: cover; border: 7px solid #fff; border-radius: 4px; box-shadow: 0 14px 30px rgba(0,0,0,.4); transition: transform .3s; }
.collage img:nth-child(1) { left: 0; top: 30px; rotate: -4deg; }
.collage img:nth-child(2) { right: 0; top: 0; rotate: 5deg; }
.collage img:nth-child(3) { left: 18%; bottom: 0; rotate: -1deg; z-index: 2; }
.collage img:hover { scale: 1.05; rotate: 0deg; z-index: 3; }

/* ---------- secciones ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 46px; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; font-weight: 800; text-transform: uppercase; margin: 0; color: var(--dark); letter-spacing: -.01em; }
.section-title .hl { color: var(--primary); }
.section-title::after { content: ""; display: block; width: 70px; height: 4px; border-radius: 4px; background: var(--primary); margin: 16px auto 0; }
.section-text { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.section-text strong { color: var(--dark); }

/* presentación */
.intro { padding: 70px 0 60px; text-align: center; }
.intro .section-title { font-weight: 700; }
.intro-sub { font-size: 1.35rem; margin: 18px 0 0; color: var(--dark); }
.motto { color: var(--primary-ink); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; text-transform: uppercase; margin: 32px 0 14px; }
.intro-text { max-width: 1100px; margin: 0 auto; font-size: 1.08rem; color: var(--text); }
.badges { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; align-items: center; margin-top: 40px; }
.badges a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-size: .85rem; color: var(--muted); transition: transform .2s; }
.badges a:hover { transform: translateY(-4px); }
.badges img { height: 110px; width: auto; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.12)); }

/* por qué elegirnos */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); }
.why-grid.span2 .why-card:first-child, .why-grid.span3 .why-card:first-child { grid-column: span 2; flex-direction: row; }
.why-grid.span3 .why-card:first-child { grid-column: 1 / -1; }
.why-grid.span2 .why-card:first-child img, .why-grid.span3 .why-card:first-child img { width: 48%; height: auto; aspect-ratio: auto; min-height: 100%; }
.why-grid.span2 .why-card:first-child, .why-grid.span3 .why-card:first-child { min-height: 360px; }
.why-grid.span2 .why-card:first-child .why-body, .why-grid.span3 .why-card:first-child .why-body { justify-content: center; padding: 30px 34px; }
.why-grid.span2 .why-card:first-child h3 { font-size: 1.5rem; }
.why-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.why-stat { color: var(--primary); font-weight: 800; font-size: 1.5rem; text-align: right; line-height: 1; margin-bottom: 6px; }
.why-body h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--dark); }
.why-body p { margin: 0; color: var(--muted); flex: 1; }
.why-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .95rem; text-decoration: none; color: var(--dark); font-weight: 500; }
.why-link:hover { color: var(--primary-ink); }

/* tarjetas de tours */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tour-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tour-card:hover .tour-img img { transform: scale(1.06); }
.ribbon { position: absolute; top: 0; right: 22px; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: .78rem; text-transform: uppercase; padding: 14px 10px 22px; max-width: 90px; text-align: center; line-height: 1.1; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.tour-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tour-meta { display: flex; align-items: center; gap: 14px; font-size: .85rem; padding-bottom: 12px; }
.tour-meta .cat { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; padding-right: 14px; border-right: 1px solid var(--line); }
.tour-meta .cat .ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--primary-soft); }
.tour-meta .lvl { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.tour-meta .lvl b { color: var(--dark); }
.tour-body h3 { margin: 4px 0 8px; font-size: 1.32rem; line-height: 1.25; }
.tour-body h3 a { text-decoration: none; color: var(--dark); }
.tour-body h3 a:hover { color: var(--primary-ink); }
.tour-excerpt { color: var(--muted); font-size: .95rem; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-facts { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.tour-facts ul { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.tour-facts li { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.tour-facts li .icon { color: var(--primary); }
.tour-facts li b { font-weight: 600; }
.price { text-align: right; line-height: 1.05; }
.price small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 2px; }
.price strong { font-size: 2rem; font-weight: 800; color: var(--dark); }
.price strong sup { font-size: .5em; vertical-align: top; position: relative; top: .35em; margin-right: 2px; }
.price em { font-style: normal; font-size: .78rem; color: var(--muted); margin-left: 4px; }
.price .ask { font-size: 1rem; font-weight: 700; color: var(--primary-ink); }
.tour-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.tour-actions .btn { padding: .75em .8em; }
.center-cta { text-align: center; margin-top: 42px; }

/* filtros */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .5em 1.2em; font-weight: 500; }
.filters button.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* destinos destacados */
.hl-item { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hl-item + .hl-item { margin-top: 90px; }
.hl-item > *, .detail > *, .contact-grid > *, .hero .wrap > * { min-width: 0; }
.hl-item.rev .hl-media { order: 2; }
.hl-kicker { display: inline-block; color: var(--primary-ink); background: var(--primary-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; padding: 6px 14px; border-radius: 999px; }
.hl-item h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; margin: 14px 0 16px; text-transform: uppercase; color: var(--dark); }
.hl-text { color: var(--text); }
.hl-text p { margin: 0 0 14px; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 4/3; }
.slider-track { display: flex; height: 100%; transition: transform .5s ease; }
.slider-track img { width: 100%; height: 100%; flex: none; object-fit: cover; cursor: zoom-in; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--dark); display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow); }
.slider-btn.prev { left: 14px; } .slider-btn.next { right: 14px; }
.slider-count { position: absolute; bottom: 14px; right: 14px; background: rgba(0,0,0,.6); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .85rem; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .65; background: none; }
.thumbs button.on { border-color: var(--primary); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.testi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); font-weight: 800; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-head b { display: block; line-height: 1.2; }
.testi-head small { color: var(--muted); }
.stars { color: #f5b400; letter-spacing: 2px; }
.testi h4 { margin: 8px 0 6px; }
.testi p { margin: 0; color: var(--muted); font-size: .95rem; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.post { position: relative; border-radius: 16px; overflow: hidden; display: block; color: #fff; text-decoration: none; background: var(--dark); }
.post:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.blog-list { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; }
.blog-list .post:nth-child(1) { grid-column: auto; grid-row: auto; }
.blog-list .post:nth-child(1) .post-info h3 { font-size: 1.15rem; }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; opacity: .92; }
.post:hover img { transform: scale(1.06); }
.post::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.8)); }
.post-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; z-index: 2; }
.post-info h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; border-left: 4px solid var(--primary); padding-left: 12px; }
.post:nth-child(1) .post-info h3 { font-size: 1.6rem; }
.post-info p { margin: 8px 0 0; font-size: .9rem; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-info small { display: block; opacity: .75; margin-bottom: 6px; font-size: .8rem; }

/* preguntas frecuentes */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-weight: 600; cursor: pointer; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 20px; color: var(--muted); }
.faq-item .faq-a p { margin: 0 0 8px; }

/* redes sociales */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.social-card { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); border: 2px solid var(--c, var(--line)); text-decoration: none; background: #fff; transition: transform .2s, box-shadow .2s; }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-card .sico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 1.6rem; flex: none; }
.social-card b { display: block; font-size: 1.05rem; }
.social-card small { color: var(--muted); }
.connect { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 36px auto 0; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; width: fit-content; box-shadow: var(--shadow); flex-wrap: wrap; }

/* ---------- cabecera de páginas internas ---------- */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.7)); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 46px; }
.page-hero h1 { margin: 6px 0 10px; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.1; text-transform: uppercase; font-weight: 800; max-width: 950px; }
.crumbs { font-size: .9rem; opacity: .9; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }

/* detalle de tour */
.detail { display: grid; grid-template-columns: 1fr 370px; gap: 48px; align-items: start; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 14px; color: var(--dark); text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 26px 0 10px; color: var(--dark); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary-ink); }
.prose blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 4px solid var(--primary); background: var(--primary-soft); border-radius: 0 10px 10px 0; }
.box-title { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; text-transform: uppercase; margin: 44px 0 18px; color: var(--dark); }
.box-title .icon { color: var(--primary); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 56px; }
.timeline li .n { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; display: grid; place-items: center; }
.timeline li h4 { margin: 4px 0 4px; font-size: 1.1rem; }
.timeline li p { margin: 0; color: var(--muted); }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.incl > div { border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); }
.incl h4 { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.incl ul { list-style: none; padding: 0; margin: 0; }
.incl li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.incl .yes li::before { content: "✓"; position: absolute; left: 0; color: #2e8b57; font-weight: 800; }
.incl .no li::before { content: "✕"; position: absolute; left: 0; color: #c0392b; font-weight: 800; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; cursor: zoom-in; transition: opacity .2s; }
.gallery-grid img:hover { opacity: .85; }
.book-card { position: sticky; top: 90px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.book-card .top { background: var(--dark); color: #fff; padding: 22px 24px; }
.book-card .top small { opacity: .75; }
.book-card .top .amount { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--primary); }
.book-card .top .amount sup { font-size: .45em; vertical-align: top; position: relative; top: .4em; }
.book-card .body { padding: 20px 24px 24px; }
.book-card dl { margin: 0 0 18px; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: .95rem; }
.book-card dt { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.book-card dt .icon { color: var(--primary); }
.book-card dd { margin: 0; font-weight: 600; text-align: right; }
.book-card .btn + .btn { margin-top: 10px; }

/* artículo */
.article { max-width: 820px; margin: 0 auto; }
.article-meta { color: var(--muted); margin-bottom: 26px; display: flex; gap: 18px; flex-wrap: wrap; }
.article .cover { border-radius: var(--radius); margin: 0 auto 30px; width: auto; max-width: 100%; max-height: 420px; object-fit: cover; }

/* contacto */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 34px; border: 1px solid var(--line); }
.form-card h2 { margin: 0 0 6px; text-transform: uppercase; }
.form-card > p { color: var(--muted); margin: 0 0 24px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.notice { padding: 14px 18px; border-radius: 12px; margin-top: 18px; display: none; }
.notice.ok { display: block; background: #e8f6ee; color: #1f6b43; }
.notice.err { display: block; background: #fdecea; color: #a12b1f; }
.info-card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 30px; }
.info-card h3 { margin: 0 0 18px; text-transform: uppercase; color: var(--primary); }
.info-card a, .info-card div.row { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-card .icon { color: var(--primary); font-size: 1.3rem; margin-top: 2px; }
.info-card small { display: block; opacity: .65; font-size: .8rem; }

/* ---------- pie de página ---------- */
.footer { background: #15120d; color: #d7d2c7; padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; margin: 0 0 18px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--primary); }
.footer-logo img { height: 110px; margin-bottom: 18px; }
.footer-contact a { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-contact .icon { color: var(--primary); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer dl { margin: 0; }
.footer dt { color: var(--primary); font-weight: 600; font-size: .85rem; }
.footer dd { margin: 0 0 10px; }
.footer-badges { display: flex; gap: 14px; margin-top: 20px; align-items: center; flex-wrap: wrap; }
.footer-badges img { height: 64px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.footer-bottom { margin-top: 50px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom .round-ico { border-color: rgba(255,255,255,.2); color: #fff; }
.footer-bottom .socials { display: flex; gap: 8px; }

/* botón flotante */
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; background: #25d366; color: #fff; text-decoration: none; padding: 12px 20px 12px 14px; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .2s; }
.float-wa:hover { transform: translateY(-3px) scale(1.03); }
.float-wa .icon { font-size: 1.6rem; }

/* visor de imágenes */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.empty { text-align: center; padding: 120px 20px; }
.preview-flag { position: fixed; left: 16px; bottom: 16px; z-index: 400; background: #111; color: #fff; padding: 8px 14px; border-radius: 10px; font-size: .85rem; box-shadow: var(--shadow-lg); }

/* animación al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-bg { animation: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu > li > a { padding: 20px 9px; font-size: .98rem; }
  .tour-grid, .why-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .blog-list { grid-template-columns: repeat(2, 1fr); }
  .why-grid.span2 .why-card:first-child, .why-grid.span3 .why-card:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr 320px; gap: 30px; }
}
@media (max-width: 900px) {
  .header-info .chip-link.mail, .header-social { display: none; }
  .menu, .nav .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-logo { display: block; }
  .header-top { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .hl-item, .contact-grid, .detail { grid-template-columns: 1fr; gap: 30px; }
  .hl-item.rev .hl-media { order: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .tour-grid, .why-grid, .testi-grid, .footer-grid, .incl, .fgrid { grid-template-columns: 1fr; }
  .blog-grid, .blog-list { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .why-grid.span2 .why-card:first-child, .why-grid.span3 .why-card:first-child { flex-direction: column; }
  .why-grid.span2 .why-card:first-child img, .why-grid.span3 .why-card:first-child img { width: 100%; height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .why-grid.span2 .why-card:first-child, .why-grid.span3 .why-card:first-child { min-height: 0; }
  .post:nth-child(1) { grid-column: auto; grid-row: auto; }
  .hero { min-height: 78vh; }
  .float-wa span { display: none; }
  .tour-facts li b { display: none; }
  .float-wa { padding: 14px; }
  .form-card { padding: 22px; }
  .topbar .wrap { font-size: .85rem; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
}

/* =========================================================
   Itinerario interactivo, vista rápida y animaciones
   ========================================================= */
.itin { margin-top: 6px; }
.itin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-size: .92rem; color: var(--muted); }
.itin-count { display: inline-flex; align-items: center; gap: 8px; }
.itin-count .icon { color: var(--primary); }
.itin-count b { color: var(--primary-ink); }
.itin-all { border: 1.5px solid var(--primary); background: #fff; color: var(--primary-ink); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: .88rem; transition: background .2s; }
.itin-all:hover { background: var(--primary-soft); }
.itin-list { list-style: none; margin: 0; padding: 0; position: relative; }
.itin-track { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.itin-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--primary), color-mix(in srgb, var(--primary) 70%, #000)); border-radius: 3px; transition: height .25s linear; }
.itin-step { position: relative; padding-left: 60px; margin-bottom: 12px; }
.itin-head { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px; color: var(--dark); font-weight: 600; font-size: 1.04rem; transition: border-color .2s, box-shadow .2s, transform .2s; }
.itin-step:not(.plain) .itin-head:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateX(4px); }
.itin-step.plain .itin-head { cursor: default; }
.itin-n { position: absolute; left: 0; top: 4px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); color: var(--muted); font-weight: 800; z-index: 1; transition: background .35s, border-color .35s, color .35s, transform .35s; }
.itin-step.passed .itin-n { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: scale(1.06); box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 18%, transparent); }
.itin-step.open .itin-head { border-color: var(--primary); background: var(--primary-soft); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.itin-t { flex: 1; }
.itin-cam { color: var(--primary-ink); font-size: .95rem; opacity: .8; }
.itin-chev { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); transition: transform .3s, background .3s; }
.itin-step.open .itin-chev { transform: rotate(180deg); background: var(--primary); color: var(--on-primary); }
.itin-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.itin-step.open .itin-body { grid-template-rows: 1fr; }
.itin-inner { overflow: hidden; min-height: 0; border: 1.5px solid transparent; border-top: 0; border-radius: 0 0 14px 14px; transition: border-color .3s; }
.itin-step.open .itin-inner { border-color: var(--primary); }
.itin-inner img { width: 100%; max-height: 300px; object-fit: cover; cursor: zoom-in; display: block; transform: scale(1.04); transition: transform .8s ease; }
.itin-step.open .itin-inner img { transform: scale(1); }
.itin-inner p { margin: 0; padding: 14px 18px 16px; color: var(--muted); }

/* pestañas del tour */
.tour-tabs { position: sticky; top: 64px; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tour-tabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tour-tabs a { position: relative; padding: 15px 14px; text-decoration: none; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s; }
.tour-tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px; background: var(--primary); transform: scaleX(0); transition: transform .3s; }
.tour-tabs a.on, .tour-tabs a:hover { color: var(--dark); }
.tour-tabs a.on::after { transform: scaleX(1); }
.gal-tile { position: relative; border-radius: 12px; overflow: hidden; }
.gal-tile img { transition: transform .5s; }
.gal-tile:hover img { transform: scale(1.08); }
.gal-tile span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; font-size: 1.6rem; opacity: 0; transition: opacity .3s; pointer-events: none; }
.gal-tile:hover span { opacity: 1; }
.gallery-grid .gal-tile img { border-radius: 0; }

/* vista rápida */
.qv { position: fixed; inset: 0; z-index: 250; display: flex; justify-content: flex-end; }
.qv-bg { position: absolute; inset: 0; background: rgba(15,12,8,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.qv-panel { position: relative; width: min(560px, 100vw); height: 100%; background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 60px rgba(0,0,0,.25); }
.qv.open .qv-bg { opacity: 1; }
.qv.open .qv-panel { transform: none; }
.qv-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow); transition: transform .2s; }
.qv-close:hover { transform: rotate(90deg); }
.qv-scroll { flex: 1; overflow-y: auto; }
.qv-hero { position: relative; height: 270px; color: #fff; display: flex; align-items: flex-end; }
.qv-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75)); }
.qv-cap { position: relative; z-index: 2; padding: 20px 24px; }
.qv-cap h3 { margin: 8px 0 6px; font-size: 1.7rem; text-transform: uppercase; line-height: 1.1; }
.qv-body { padding: 20px 24px 30px; }
.qv-body .box-title { margin: 18px 0 14px; font-size: 1.2rem; }
.qv-ex { color: var(--muted); margin: 0; }
.qv-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); background: #fff; }

/* cinta de destinos */
.marquee { overflow: hidden; background: var(--dark); color: #fff; padding: 20px 0; border-block: 4px solid var(--primary); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.75); }
.marquee i { color: var(--primary); font-style: normal; font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* progreso y volver arriba */
.scroll-progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 500; background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #fff)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.to-top { position: fixed; right: 22px; bottom: 90px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) rotate(180deg); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: rotate(180deg); pointer-events: auto; }
.to-top:hover { background: var(--primary); color: var(--on-primary); }

/* animación del hero */
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(3deg); animation: wordIn .8s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-sub { opacity: 0; animation: fadeUp .9s ease .7s forwards; }
.hero-actions { opacity: 0; animation: fadeUp .9s ease .95s forwards; }
.hero-side h2, .hero-side .pill { opacity: 0; animation: fadeUp .8s ease 1s forwards; }
.hero-side .pill { animation-delay: 1.15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.collage img { opacity: 0; animation: dropIn .9s cubic-bezier(.2,.8,.2,1) forwards, floaty 6s ease-in-out infinite; }
.collage img:nth-child(1) { animation-delay: 1.2s, 2.1s; }
.collage img:nth-child(2) { animation-delay: 1.35s, 2.6s; }
.collage img:nth-child(3) { animation-delay: 1.5s, 3.1s; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-60px) rotate(-10deg) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-10px); } }
.collage img:hover { animation-play-state: paused; }
.hero-bg { will-change: transform, translate; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.8); border-radius: 14px; transform: translateX(-50%); }
.hero::after { z-index: 1; }
.scroll-dot { position: absolute; left: 50%; bottom: 50px; z-index: 3; width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, -6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }
.hero .wrap { padding-bottom: 90px; }

/* variantes de aparición */
.reveal { transition-delay: var(--d, 0ms); }
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.in.from-left, .reveal.in.from-right { transform: none; }
.section-title::after { width: 0; transition: width .8s cubic-bezier(.2,.8,.2,1) .2s; }
.section-head.in .section-title::after, .intro .reveal.in .section-title::after { width: 70px; }
.page-hero h1 { animation: fadeUp .8s ease both; }
.page-hero .crumbs { animation: fadeUp .8s ease .1s both; }
.page-hero .hero-chips { animation: fadeUp .8s ease .2s both; }

/* tarjetas: brillo que sigue al cursor */
.tour-card, .why-card { position: relative; transition: transform .25s ease, box-shadow .25s, opacity .6s ease; }
.tour-card.reveal, .why-card.reveal { transition: transform .6s ease, box-shadow .25s, opacity .6s ease; transition-delay: var(--d, 0ms); }
.tour-card.reveal.in, .why-card.reveal.in { transition: transform .25s ease, box-shadow .25s, opacity .6s ease; }
.tour-card::after, .why-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 45%); opacity: 0; transition: opacity .3s; }
.tour-card:hover::after, .why-card:hover::after { opacity: 1; }
.why-card img { transition: transform .6s; }
.why-card:hover img { transform: scale(1.07); }
.ribbon { animation: ribbonIn .6s cubic-bezier(.2,.8,.2,1) both .3s; transform-origin: top; }
@keyframes ribbonIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* botones con destello */
.btn-primary, .btn-wa { position: relative; overflow: hidden; }
.btn-primary::after, .btn-wa::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn-primary:hover::after, .btn-wa:hover::after { left: 130%; }

/* WhatsApp con pulso */
.float-wa::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(37,211,102,.6); opacity: 0; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.3, 1.6); } }
.float-wa .icon { animation: wiggle 4s ease-in-out infinite; }
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-14deg); } 94% { transform: rotate(12deg); } 97% { transform: rotate(-6deg); } }

.faq-item .faq-a { animation: fadeUp .4s ease; }
.faq-item summary:hover { color: var(--primary-ink); }
.social-card .sico { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.social-card:hover .sico { transform: rotate(-10deg) scale(1.12); }
.badges img { transition: transform .4s; }
.badges a:hover img { transform: rotate(-4deg) scale(1.06); }

@media (max-width: 900px) {
  .itin-step { padding-left: 52px; }
  .itin-n { width: 38px; height: 38px; top: 6px; }
  .itin-track { left: 18px; }
  .marquee span { font-size: 1.15rem; }
  .to-top { bottom: 84px; right: 16px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .w, .hero-sub, .hero-actions, .hero-side h2, .hero-side .pill, .collage img { animation: none; opacity: 1; transform: none; }
  .marquee-track, .float-wa::before, .float-wa .icon, .scroll-dot { animation: none; }
  .reveal.from-left, .reveal.from-right { transform: none; }
}

/* ajustes de capas fijas */
#site-header { display: contents; }
html, body { overflow-x: clip; }
.book-card { top: 140px; }
.tour-tabs { top: 64px; }

/* =========================================================
   Itinerario a pantalla completa
   ========================================================= */
.itin-actions { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.itin-full { display: inline-flex; align-items: center; gap: 6px; background: var(--dark); color: #fff; border-color: var(--dark); }
.itin-full:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.qv { position: fixed; inset: 0; z-index: 250; display: block; background: #0f0c08; opacity: 0; transition: opacity .35s ease; }
.qv.open { opacity: 1; }
.qv-panel { position: absolute; inset: 0; width: auto; height: auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(380px, 1fr); background: #fff; transform: scale(1.03); transition: transform .5s cubic-bezier(.2,.8,.2,1); box-shadow: none; }
.qv.open .qv-panel { transform: none; }

/* foto grande */
.qv-media { position: relative; overflow: hidden; background: #0f0c08; color: #fff; }
.qv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s ease, transform 6s ease-out; }
.qv-img.on { opacity: 1; transform: scale(1); }
.qv-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, transparent 45%, rgba(0,0,0,.82) 100%); pointer-events: none; }
.qv-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 48px 42px; }
.qv-cap h3 { margin: 10px 0 10px; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.05; text-transform: uppercase; font-weight: 800; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.qv-now { display: flex; align-items: center; gap: 14px; margin-top: 22px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); border-radius: 16px; padding: 12px 18px 12px 12px; width: fit-content; max-width: 100%; }
.qv-now.pop { animation: nowPop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes nowPop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.qv-now-n { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 1.2rem; }
.qv-now small { display: block; opacity: .8; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.qv-now > span > b { font-size: 1.25rem; }
.qv-dots { display: flex; gap: 8px; margin-top: 18px; }
.qv-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.qv-dots button.on { width: 34px; background: var(--primary); }
.qv-nav { position: absolute; top: 50%; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; padding: 0 22px; transform: translateY(-50%); pointer-events: none; }
.qv-nav button { pointer-events: auto; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); color: #fff; font-size: 1.4rem; display: grid; place-items: center; transition: background .2s, transform .2s; }
.qv-nav button:hover { background: var(--primary); color: var(--on-primary); transform: scale(1.08); }

/* lista */
.qv-side { position: relative; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.qv-close { top: 18px; right: 20px; background: var(--bg-soft); box-shadow: none; }
.qv-scroll { flex: 1; overflow-y: auto; min-height: 0; scroll-behavior: smooth; }
.qv-body { padding: 34px 40px 60px; }
.qv-label { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.qv-ex { margin: 12px 50px 24px 0; color: var(--muted); font-size: 1.02rem; }
.qv-hint { margin-top: 22px; font-size: .85rem; color: var(--muted); text-align: center; }
.qv-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 40px; border-top: 1px solid var(--line); background: #fff; }
.qv .itin-inner img { display: none; }
.qv .itin-step.current .itin-head { border-color: var(--primary); box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 22%, transparent); }
.qv .itin-step.current .itin-n { transform: scale(1.15); }
.qv-hero { display: none; }

@media (max-width: 900px) {
  .qv-panel { grid-template-columns: 1fr; grid-template-rows: 42vh minmax(0, 1fr); }
  .qv-cap { padding: 20px 20px 18px; }
  .qv-cap h3 { font-size: 1.7rem; }
  .qv-cap .hero-chips { display: none; }
  .qv-now { margin-top: 10px; padding: 8px 14px 8px 8px; }
  .qv-now-n { width: 38px; height: 38px; }
  .qv-dots { margin-top: 10px; }
  .qv-nav { padding: 0 10px; top: 40%; }
  .qv-nav button { width: 42px; height: 42px; }
  .qv-close { position: fixed; top: 12px; right: 12px; background: rgba(255,255,255,.92); }
  .qv-body { padding: 20px 18px 40px; }
  .qv-ex { margin-right: 0; }
  .qv-foot { padding: 12px 16px; }
  .qv-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qv-img { transition: opacity .3s; transform: none; }
  .qv-img.on { transform: none; }
}

/* =========================================================
   Tema oscuro (Panel → Apariencia → Estilo: Oscuro)
   Los tonos salen del "color oscuro" elegido en el panel.
   ========================================================= */
body.theme-dark {
  --text: #ebe5d8; --muted: #a9a294; --line: rgba(255,255,255,.1);
  --shadow: 0 8px 26px rgba(0,0,0,.45); --shadow-lg: 0 20px 44px rgba(0,0,0,.6);
  background: var(--bg); color: var(--text);
}
.theme-dark .loader { background: var(--bg); }
/* cabecera */
.theme-dark .header-top { background: var(--bg); border-color: var(--line); }
.theme-dark .nav { background: color-mix(in srgb, var(--bg) 92%, transparent); box-shadow: 0 1px 0 var(--line); }
.theme-dark .nav.scrolled { box-shadow: 0 8px 26px rgba(0,0,0,.5); }
.theme-dark .menu > li > a, .theme-dark .menu-toggle { color: var(--text); }
.theme-dark .menu > li > a:hover { color: var(--primary); }
.theme-dark .submenu, .theme-dark .drawer-panel { background: var(--surface); }
.theme-dark .submenu a:hover { background: var(--surface-2); color: var(--primary); }
.theme-dark .drawer-close { color: var(--text); }
.theme-dark .chip-link { background: var(--surface); border-color: var(--line); }
.theme-dark .chip-link .ico { background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary); }
.theme-dark .round-ico { border-color: var(--line); color: var(--text); }
.theme-dark .topbar .btn-dark { background: var(--bg); }
/* secciones y títulos */
.theme-dark .section-soft { background: var(--bg-soft); }
.theme-dark .section-title, .theme-dark .intro-sub, .theme-dark .hl-item h3, .theme-dark .prose h2, .theme-dark .prose h3,
.theme-dark .box-title, .theme-dark .why-body h3, .theme-dark .tour-body h3 a, .theme-dark .tour-meta .lvl b, .theme-dark .price strong,
.theme-dark .section-text strong, .theme-dark .faq-item summary, .theme-dark .form-card h2, .theme-dark .why-link, .theme-dark .intro-text { color: var(--text); }
.theme-dark .motto, .theme-dark .tour-meta .cat, .theme-dark .hl-kicker, .theme-dark .prose a, .theme-dark .price .ask, .theme-dark .itin-count b, .theme-dark .qv-label { color: var(--primary); }
.theme-dark .hl-kicker, .theme-dark .tour-meta .cat .ico, .theme-dark .avatar { background: color-mix(in srgb, var(--primary) 16%, transparent); }
.theme-dark .badges img { background: #fff; border-radius: 10px; padding: 6px; }
/* tarjetas */
.theme-dark .why-card, .theme-dark .tour-card, .theme-dark .testi, .theme-dark .social-card, .theme-dark .form-card,
.theme-dark .incl > div, .theme-dark .book-card, .theme-dark .book-card .body { background: var(--surface); border-color: var(--line); }
.theme-dark .tour-card:hover, .theme-dark .why-card:hover { box-shadow: 0 20px 44px rgba(0,0,0,.6), 0 0 0 1px color-mix(in srgb, var(--primary) 45%, transparent); }
.theme-dark .book-card .top, .theme-dark .info-card { background: var(--surface-2); }
.theme-dark .btn-outline { background: transparent; color: var(--primary); }
.theme-dark .btn-outline:hover { background: color-mix(in srgb, var(--primary) 14%, transparent); }
.theme-dark .filters button { background: var(--surface); border-color: var(--line); color: var(--text); }
.theme-dark .filters button.on { background: var(--primary); color: var(--on-primary); }
.theme-dark .connect { border-color: var(--line); background: var(--surface); }
.theme-dark .slider-btn { background: rgba(0,0,0,.6); color: #fff; }
.theme-dark .post { background: #000; }
.theme-dark .prose blockquote { background: var(--surface); }
/* itinerario */
.theme-dark .itin-head { background: var(--surface); border-color: var(--line); color: var(--text); }
.theme-dark .itin-step.open .itin-head { background: color-mix(in srgb, var(--primary) 14%, var(--surface)); }
.theme-dark .itin-n { background: var(--surface); border-color: var(--line); }
.theme-dark .itin-track { background: var(--line); }
.theme-dark .itin-chev { background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary); }
.theme-dark .itin-all { background: transparent; color: var(--primary); }
.theme-dark .itin-full { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.theme-dark .tour-tabs { background: color-mix(in srgb, var(--bg) 94%, transparent); }
.theme-dark .tour-tabs a.on, .theme-dark .tour-tabs a:hover { color: var(--text); }
.theme-dark .qv-panel, .theme-dark .qv-side, .theme-dark .qv-foot { background: var(--bg); }
.theme-dark .qv-close { background: var(--surface-2); color: var(--text); }
/* formularios */
.theme-dark .field input, .theme-dark .field select, .theme-dark .field textarea { background: var(--bg); border-color: var(--line); color: var(--text); }
.theme-dark .field input::-webkit-calendar-picker-indicator { filter: invert(1); }
/* pie */
.theme-dark .footer { background: var(--footer-bg); border-top: 1px solid var(--line); }
.theme-dark .marquee { background: var(--footer-bg); }
.theme-dark .to-top { background: var(--surface-2); }
.theme-dark .empty h1 { color: var(--text); }

/* círculos del itinerario estables: sin cambios de tamaño, solo color */
.itin-n { transition: background .35s, border-color .35s, color .35s, box-shadow .35s; transform: none !important; }
.itin-step.passed .itin-n { box-shadow: none; }
.itin-step.current .itin-n { box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 25%, transparent); }
.itin-fill { transition: height .45s cubic-bezier(.2,.8,.2,1); }
.itin-step.reveal, .itin-step.reveal.in { transform: none; }
.itin-step:not(.plain) .itin-head:hover, .itin-head { transform: none !important; }
.itin-step:not(.plain) .itin-head:hover { background: color-mix(in srgb, var(--primary) 8%, var(--surface, #fff)); }
.qv-cap .hl-kicker { background: var(--primary); color: var(--on-primary); }
.hero-bg, .page-hero img { translate: none !important; will-change: auto; }

/* sello de agencia autorizada (GERCETUR) */
.auth-badge { display: inline-flex; align-items: center; gap: 22px; margin-top: 36px; padding: 16px 26px 16px 20px; border-radius: 18px; background: var(--dark); border: 1.5px solid color-mix(in srgb, var(--primary) 55%, transparent); color: #fff; text-decoration: none; text-align: left; max-width: 640px; box-shadow: 0 14px 34px rgba(0,0,0,.35); transition: transform .3s, border-color .3s, box-shadow .3s; }
.theme-dark .auth-badge { background: var(--surface); }
.auth-badge:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.auth-badge img { height: 64px; width: auto; flex: none; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.18); }
.auth-badge small { display: flex; align-items: center; gap: 6px; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 700; }
.auth-badge b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.35; margin-top: 4px; }
@media (max-width: 640px) { .auth-badge { flex-direction: column; text-align: center; gap: 12px; padding: 18px; } .auth-badge img { border-right: 0; padding-right: 0; height: 56px; } .auth-badge small { justify-content: center; } }

/* =========================================================
   Cabecera estilo "Header.png": aviso oscuro + franja blanca + menú negro
   ========================================================= */
:root { --head-bg: #000; --head-bg-2: #141414; --head-text: #fff; --head-muted: #a9a9a9; --head-line: rgba(255,255,255,.1); }

/* aviso superior */
.topbar { background: #232323; color: #fff; font-size: .98rem; }
.topbar .wrap { min-height: 36px; padding-top: 4px; padding-bottom: 4px; }
.topbar strong, .topbar a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.topbar-link { margin-left: 4px; white-space: nowrap; }
.topbar a:hover { color: #fff; }

/* franja blanca */
.header-top { background: #fff; border-bottom: 0; }
.header-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: block; flex: none; }
.brand img { height: 92px; width: auto; }
.header-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.header-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; font-size: .86rem; color: #555; }
.header-links li { display: flex; align-items: center; gap: 4px; padding: 0 13px; line-height: 1.1; border-left: 1px solid #d5d5d5; }
.header-links li:first-child { border-left: 0; }
.header-links li:last-child { padding-right: 0; }
.header-links b { color: #111; font-weight: 600; }
.header-links a { text-decoration: none; color: #555; transition: color .2s; }
.header-links a:hover { color: var(--primary-ink); }
.header-social { gap: 10px !important; }
.header-social a { display: grid; place-items: center; width: 18px; height: 18px; color: var(--brand); font-size: 18px; }
.header-social a:hover { color: var(--brand); transform: translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 30px; }
.header-hours, .header-phone { display: inline-flex; align-items: center; gap: 10px; color: #333; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.header-hours .icon, .header-phone .icon { color: var(--primary); font-size: 1.45rem; }
.header-phone:hover { color: var(--primary-ink); }
.btn-sq { border-radius: 6px; padding: .62em 1.15em; font-size: .95rem; box-shadow: none; }
.btn-wa.btn-sq .icon { font-size: 1.3em; }
.header-cta { padding: .9em 1.9em; }

/* menú negro */
.nav { background: var(--head-bg); box-shadow: none; backdrop-filter: none; }
.nav.scrolled { box-shadow: 0 8px 26px rgba(0,0,0,.35); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 64px; }
.nav .menu { justify-content: center; gap: 0; }
.menu > li > a { color: var(--head-text); text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; padding: 20px 17px; gap: 10px; }
.menu > li > a .icon { color: var(--head-text); }
.menu > li > a:hover, .menu > li:hover > a { color: var(--primary); }
.menu-toggle { color: var(--head-text); }
.nav-logo { display: block; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .3s; }
.nav.scrolled .nav-logo { opacity: 1; transform: none; pointer-events: auto; }
.nav-logo img { height: 52px; width: auto; }
.nav .nav-cta { justify-self: end; opacity: 0; pointer-events: none; transition: opacity .3s; border-radius: 6px; box-shadow: none; }
.nav.scrolled .nav-cta { opacity: 1; pointer-events: auto; }
.submenu { background: var(--head-bg-2); border-radius: 0 0 8px 8px; }
.submenu a { color: var(--head-text); }
.submenu a:hover { background: rgba(255,255,255,.06); color: var(--primary); }
.submenu .price-tag { color: var(--primary); white-space: nowrap; }

/* menú móvil */
.drawer-panel { background: var(--head-bg); color: var(--head-text); }
.drawer-close { color: var(--head-text); }
.drawer li a { border-color: var(--head-line); }
.drawer li li a { color: var(--head-muted); }

@media (max-width: 1200px) { .header-hours { display: none; } .header-actions { gap: 22px; } }
@media (max-width: 1100px) { .header-links li:nth-child(4), .header-links li:nth-child(5) { display: none; } .menu > li > a { padding: 20px 11px; font-size: .92rem; } }
@media (max-width: 900px) { .nav .wrap { display: flex; min-height: 76px; } .nav-logo { opacity: 1; transform: none; pointer-events: auto; } .nav-logo img { height: 62px; } .tour-tabs { top: 76px; } .topbar { font-size: .88rem; } }

/* ---------- rendimiento: las secciones fuera de pantalla no se dibujan hasta acercarse ---------- */
#app > .section, #app > .intro, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
