/* Venegas Industrial · sitio de muestra (TYM Digital), sobre la plantilla de experiencias.
   Tema único oscuro grafito + el violeta del logo como único acento.
   Radios: tarjetas y medios 16px, botones píldora. */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(fonts/outfit.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #0F1016;
  --bg-2: #15171F;
  --surface: #1C1F29;
  --line: rgba(226, 228, 240, .12);
  --text: #EEF2F6;
  --muted: #A9ACBA;
  --accent: #7A5AF8;
  --accent-ink: #FFFFFF;
  --accent-text: #A794FF;
  --accent-soft: rgba(122, 90, 248, .14);
  --radius: 16px;
  --wrap: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 "Outfit", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bricolage", "Outfit", sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; text-wrap: balance; }
h3 { font-size: 24px; letter-spacing: -.015em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { color: var(--accent-text); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
section { position: relative; }

/* botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn i { font-size: 21px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #8E74FF; transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(15, 16, 22, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border: 1.5px solid var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* barra de muestra */
.demo-bar { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 13px; font-weight: 600; padding: 7px 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(16px, calc((100% - var(--wrap)) / 2)); background: rgba(15, 16, 22, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Bricolage"; font-weight: 700; font-size: 20px; }
.brand img { width: 40px; height: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 13px "Outfit"; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); }

/* hero */
.hero { min-height: calc(100dvh - 104px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 16, 22, .15) 0%, rgba(15, 16, 22, .05) 35%, rgba(15, 16, 22, .78) 78%, var(--bg) 100%), linear-gradient(90deg, rgba(15, 16, 22, .55), transparent 60%); }
.hero-content { position: relative; width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 0 0 72px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); max-width: 13ch; text-wrap: balance; }
.hero-sub { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: #D5DEE8; max-width: 46ch; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* datos */
.facts { width: min(var(--wrap), 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 28px 24px; display: grid; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-family: "Bricolage"; font-size: 30px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.fact strong i { color: var(--accent-text); font-size: 24px; }
.fact span { color: var(--muted); font-size: 15px; }

/* tours */
.tours { padding: 120px 0 96px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filters button { background: none; border: 1.5px solid var(--line); color: var(--muted); font: 600 15px "Outfit"; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.filters button:hover { color: var(--text); border-color: rgba(226, 228, 240, .3); }
.filters button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tour-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tour { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.tour[hidden] { display: none; }
.tour-media { overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .8s var(--ease); }
.tour:hover .tour-media img { transform: scale(1.03); }
.tour-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex: 1; }
.tour-body p { color: var(--muted); max-width: 52ch; }
.tour-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.tour-feature .tour-media img { aspect-ratio: auto; min-height: 420px; }
.tour-feature .tour-body { padding: 40px; justify-content: center; }
.tour-feature h3 { font-size: clamp(28px, 3vw, 38px); }
.tour-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; }
.tour-wide .tour-media img { aspect-ratio: auto; min-height: 360px; }
.tour-wide-rev { grid-template-columns: 1.1fr 1fr; }
.tour-wide-rev .tour-media { order: 2; }
.price-row { margin-top: auto; padding-top: 8px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { font-family: "Bricolage"; font-size: 28px; font-weight: 700; color: var(--text) !important; display: flex; align-items: baseline; gap: 6px; }
.price small { font-family: "Outfit"; font-size: 14px; font-weight: 400; color: var(--muted); }
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin: 4px 0 6px; }
.price-split p { background: var(--bg-2); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; color: var(--muted) !important; font-size: 14px; }
.price-split strong { font-family: "Bricolage"; font-size: 26px; color: var(--text); }
.fine { font-size: 13.5px; color: var(--muted); }
.tag { background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text); font-size: 15px; }
.meta li { display: flex; align-items: center; gap: 7px; }
.meta i { color: var(--accent-text); font-size: 19px; }
.note { margin-top: 26px; color: var(--muted); }

/* banda de video */
.band { min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 16, 22, .88) 0%, rgba(15, 16, 22, .5) 45%, rgba(15, 16, 22, 0) 75%), linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.band-content { position: relative; }
.band h2 { max-width: 15ch; }
.band p { margin-top: 18px; max-width: 42ch; color: #D5DEE8; font-size: 19px; }

/* ruta (motion graphic) */
.route { background: var(--bg-2); }
.route-pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0; }
.route-stage { position: relative; width: min(1200px, 100% - 32px); margin: 150px auto 40px; aspect-ratio: 1200 / 420; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-ghost { fill: none; stroke: rgba(226, 228, 240, .14); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.route-line { fill: none; stroke: url(#wake); stroke-width: 5; stroke-linecap: round; }
.stops { list-style: none; position: absolute; inset: 0; }
.stop { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.stop-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.stop img { max-width: none; height: auto; position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 170px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 3px solid var(--bg-2); box-shadow: 0 18px 40px rgba(4, 9, 16, .55); }
.stop-card { position: absolute; top: 28px; left: 50%; translate: -50% 0; width: 210px; text-align: center; display: grid; gap: 2px; }
.stop-card strong { font-family: "Bricolage"; font-size: 17px; line-height: 1.2; }
.stop-card span { color: var(--muted); font-size: 14px; line-height: 1.35; }
.stop:first-child .stop-card { left: 0; translate: -12% 0; text-align: left; }

/* cómo reservar */
.book { padding: 120px 0; }
.book-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.steps { list-style: none; margin: 36px 0 36px; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.num { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent-text); display: grid; place-items: center; font: 700 22px "Bricolage"; }
.steps strong { font-family: "Bricolage"; font-size: 21px; }
.steps p { color: var(--muted); }
.book-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 70px rgba(4, 9, 16, .5); }
.book-video figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* cotizador */
.quote { padding: 120px 0; background: var(--bg-2); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.quote-copy p { margin-top: 16px; color: var(--muted); max-width: 44ch; font-size: 18px; }
.quote-photo { margin-top: 32px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.quote-form { background: var(--surface); border-radius: 20px; padding: 32px; display: grid; gap: 18px; border: 1px solid var(--line); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 600; color: #C9D4E0; }
.field select, .field input { width: 100%; background: var(--bg); color: var(--text); border: 1.5px solid rgba(226, 228, 240, .2); border-radius: 12px; padding: 13px 14px; font: 400 16px "Outfit"; color-scheme: dark; }
.field select:focus, .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder { color: #7F8EA0; }
.field input[aria-invalid="true"] { border-color: #F07A6A; }
.stepper { display: grid; grid-template-columns: 46px 1fr 46px; border: 1.5px solid rgba(226, 228, 240, .2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.stepper button { background: none; border: 0; color: var(--text); font-size: 18px; cursor: pointer; }
.stepper button:hover { color: var(--accent-text); }
.stepper input { border: 0 !important; border-radius: 0; text-align: center; padding: 13px 0; -moz-appearance: textfield; box-shadow: none !important; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.quote-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 18px 0 4px; border-top: 1px solid var(--line); }
.quote-total span { color: var(--muted); font-size: 15px; }
.quote-total strong { font-family: "Bricolage"; font-size: 38px; grid-row: span 2; }
.quote-total small { color: var(--muted); font-size: 14px; }
.form-error { color: #F49A8C; font-size: 14px; }
.btn-block { justify-content: center; width: 100%; border: 0; cursor: pointer; font-family: "Outfit"; }

/* nosotros */
.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-photos { position: relative; min-height: 520px; }
.about-photos img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(4, 9, 16, .5); }
.ap-1 { top: 0; left: 0; width: 78%; aspect-ratio: 16 / 10; }
.ap-2 { bottom: 0; right: 0; width: 58%; aspect-ratio: 4 / 3; border: 6px solid var(--bg); }
.about-copy p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 52ch; }
.about-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.about-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.about-list i { color: var(--accent-text); font-size: 24px; }
.sign { font-family: "Bricolage"; font-weight: 700; font-size: 20px; color: var(--text) !important; display: grid; }
.sign span { font-family: "Outfit"; font-weight: 400; font-size: 14px; color: var(--muted); }

/* opiniones */
.reviews { padding: 110px 0; background: var(--bg-2); }
.rev-grid { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.rev { background: var(--surface); border-radius: var(--radius); padding: 30px 32px; display: grid; gap: 16px; align-content: start; }
.rev-big { grid-row: span 2; align-content: center; padding: 48px; }
.rev-big p { font-family: "Bricolage"; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.015em; }
.rev p { font-size: 18px; }
.stars { color: var(--accent-text); display: flex; gap: 3px; font-size: 18px; }
.rev footer { color: var(--text); font-weight: 600; display: grid; }
.rev footer span { color: var(--muted); font-weight: 400; font-size: 14px; }
.link { display: inline-block; margin-top: 28px; color: var(--accent-text); font-weight: 600; text-underline-offset: 4px; }

/* galería */
.gallery { padding: 110px 0; }
.masonry { margin-top: 44px; columns: 3 280px; column-gap: 16px; }
.masonry img { width: 100%; margin-bottom: 16px; border-radius: 14px; break-inside: avoid; }

/* faq */
.faq { padding: 100px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; color: var(--accent-text); transition: rotate .3s var(--ease); }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { color: var(--muted); padding: 0 0 22px; max-width: 60ch; }

/* contacto */
.contact { padding: 100px 0 120px; background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; margin: 30px 0 32px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.contact-list i { color: var(--accent-text); font-size: 22px; flex: none; }
.contact-list a { text-decoration: none; color: var(--text); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25A85A; color: #fff; display: grid; place-items: center; font-size: 32px; box-shadow: 0 12px 30px rgba(4, 9, 16, .45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

/* responsive */
@media (max-width: 1020px) {
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-feature, .tour-wide, .tour-wide-rev { grid-template-columns: 1fr; }
  .tour-wide-rev .tour-media { order: 0; }
  .tour-feature .tour-media img, .tour-wide .tour-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .tour-feature .tour-body { padding: 26px 24px 28px; }
  .book-grid, .faq-grid, .contact-grid, .rev-grid, .quote-grid, .about-grid { grid-template-columns: 1fr; }
  .quote-grid, .about-grid { gap: 40px; }
  .about-photos { min-height: 340px; }
  .quote-photo { display: none; }
  .rev-big { grid-row: auto; padding: 32px; }
  .route-stage { aspect-ratio: auto; height: auto; margin-top: 36px; }
  .route-svg { display: none; }
  .stops { position: static; display: grid; gap: 18px; }
  .stop { position: relative; left: auto; top: auto; transform: none; display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
  .stop-dot { display: none; }
  .stop img { position: static; translate: none; width: 110px; border: 0; box-shadow: none; }
  .stop-card, .stop:first-child .stop-card { position: static; translate: none; width: auto; text-align: left; }
  .stop:first-child { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { height: 64px; }
  .brand span { display: none; }
  .nav-actions .btn-sm span { display: none; }
  .tours, .book, .reviews, .gallery, .quote, .about { padding: 80px 0; }
  .quote-form { padding: 22px; }
  .field-row, .price-split { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 48px; }
  .fact { padding: 20px 14px; }
  .fact strong { font-size: 24px; }
}

/* movimiento: sólo si la persona no pidió reducirlo */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour img, .btn, .wa-float { transition: none; }
}
.stops[hidden] { display: none !important; }

/* ---------- titulares por palabra ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .wi { display: inline-block; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-split]:not(.split-done) .wi { transform: translateY(105%); }
}

/* ---------- franja de lugares ---------- */
.marquee { overflow: hidden; padding: 18px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 22px; width: max-content; white-space: nowrap; font-family: "Outfit"; font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--muted); }

.marquee-track i { color: var(--accent-text); font-size: 7px; opacity: .8; }

/* ---------- tarjetas: abrir ficha ---------- */
.tour.is-clickable { cursor: pointer; }
.tour.is-clickable:hover { box-shadow: 0 0 0 1.5px rgba(122, 90, 248, .55), 0 30px 60px rgba(4, 9, 16, .45); }
.tour { transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.tour.is-clickable:hover { transform: translateY(-3px); }
.more { background: none; border: 0; color: var(--accent-text); font: 600 15px "Outfit"; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 0; }
.more i { transition: transform .3s var(--ease); }
.more:hover i, .tour:hover .more i { transform: translate(3px, -3px); }

/* ---------- ficha del tour ---------- */
html.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text); display: none; grid-template-columns: 1.05fr 1fr; overflow: hidden; }
.sheet[open] { display: grid; }
.sheet::backdrop { background: rgba(5, 10, 18, .6); }
.sheet-media { position: relative; overflow: hidden; background: #050A12; }
.sheet-main { position: absolute; inset: 0; }
.sheet-slide { position: absolute; inset: 0; }
.sheet-slide img, .sheet-slide video { width: 100%; height: 100%; object-fit: cover; }
.sheet-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 10, 18, .35), transparent 22%, transparent 70%, rgba(5, 10, 18, .7)); }
.sheet-thumbs { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; gap: 10px; }
.sheet-thumbs button { position: relative; width: 78px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .25s, border-color .25s, transform .25s var(--ease); }
.sheet-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.sheet-thumbs button i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 20px; background: rgba(5, 10, 18, .35); }
.sheet-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.sheet-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }
.sheet-content { overflow-y: auto; padding: 96px clamp(28px, 4.5vw, 72px) 64px; overscroll-behavior: contain; }
.sheet-content:focus { outline: none; }
.sheet-bar { position: absolute; top: 20px; right: 24px; z-index: 3; display: flex; gap: 8px; }
.sheet-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(22, 38, 58, .85); backdrop-filter: blur(8px); color: var(--text); font-size: 19px; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.sheet-btn:hover { background: var(--surface); transform: scale(1.05); }
.sheet-close { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sheet-close:hover { background: #8E74FF; }
.sp-count { font-family: "Bricolage"; font-weight: 600; color: var(--muted); font-size: 14px; letter-spacing: .08em; margin-bottom: 18px; }
.sp-title { font-size: clamp(36px, 4.2vw, 60px); margin: 14px 0 18px; max-width: 14ch; }
.sp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #D5DEE8; }
.sp-lead { margin-top: 26px; font-size: 21px; line-height: 1.5; color: var(--text); max-width: 46ch; }
.sp-body { margin-top: 16px; color: var(--muted); max-width: 56ch; }
.sp-quote { margin-top: 28px; background: var(--surface); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; }
.sp-quote i { color: var(--accent-text); font-size: 26px; }
.sp-quote p { font-family: "Bricolage"; font-size: 20px; line-height: 1.35; }
.sp-quote footer { margin-top: 6px; color: var(--muted); font-size: 14px; }
.sp-h { font-size: 15px; font-family: "Outfit"; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 44px 0 18px; }
.sp-steps { --line: 1; list-style: none; position: relative; display: grid; gap: 22px; padding-left: 26px; }
.sp-steps::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), rgba(122, 90, 248, .2)); transform-origin: top; transform: scaleY(var(--line)); }
.sp-steps li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.sp-steps li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--accent); }
.sp-time { font-family: "Bricolage"; font-weight: 700; color: var(--text); font-size: 15px; padding-top: 1px; }
.sp-steps strong { font-family: "Bricolage"; font-size: 18px; }
.sp-steps p { color: var(--muted); font-size: 15.5px; margin-top: 2px; }
.sp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sp-list { list-style: none; display: grid; gap: 10px; }
.sp-list li { display: flex; gap: 10px; align-items: flex-start; color: #D5DEE8; }
.sp-list i { color: var(--accent-text); font-size: 20px; flex: none; margin-top: 2px; }
.sp-book { margin-top: 44px; background: var(--surface); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.sp-prices { display: flex; flex-wrap: wrap; gap: 28px; }
.sp-price { display: grid; gap: 0; }
.sp-price span { color: var(--muted); font-size: 14px; }
.sp-price strong { font-family: "Bricolage"; font-size: 40px; line-height: 1.1; }
.sp-price small { color: var(--muted); font-size: 14px; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-actions .btn { border: 0; cursor: pointer; font-family: "Outfit"; }
.sp-actions .btn-line { border: 1.5px solid var(--line); }

@media (max-width: 860px) {
  .sheet { grid-template-columns: 1fr; grid-template-rows: 42dvh 1fr; }
  .sheet-content { padding: 30px 20px 48px; }
  .sheet-thumbs { left: 16px; bottom: 14px; gap: 8px; }
  .sheet-thumbs button { width: 58px; height: 44px; }
  .sheet-bar { top: 14px; right: 14px; }
  .sp-cols { grid-template-columns: 1fr; gap: 0; }
  .sp-steps li { grid-template-columns: 1fr; gap: 2px; }
  .sp-lead { font-size: 18px; }
  .marquee { padding: 14px 0; }
  .marquee-track { font-size: 14px; gap: 18px; }
}

/* ---------- marca ---------- */
.brand img { width: 52px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: "Bricolage"; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand-text small { font-family: "Outfit"; font-weight: 500; font-size: 11.5px; letter-spacing: .06em; color: var(--muted); }
.sign-row { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.sign-row img { width: 88px; height: auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: auto; }

/* ---------- botón flotante: oculto mientras se ve el hero ---------- */
.wa-float { transition: opacity .35s var(--ease), transform .35s var(--ease); }
body.hero-in .wa-float { opacity: 0; transform: scale(.6) translateY(20px); pointer-events: none; }

/* ---------- hero en celular: video arriba, texto sobre fondo liso ---------- */
@media (max-width: 600px) {
  .demo-bar { font-size: 12px; padding: 6px 12px; }
  .nav { height: 66px; gap: 10px; }
  .brand { gap: 9px; }
  .brand img { width: 42px; }
  .brand span.brand-text { display: grid; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { display: none; }
  .lang button { padding: 6px 9px; }
  .hero { display: block; min-height: 0; }
  .hero-video { position: relative; height: 54svh; min-height: 300px; object-position: 55% 60%; }
  .hero-shade { inset: auto 0 auto 0; top: 0; height: 54svh; min-height: 300px; background: linear-gradient(180deg, rgba(15, 16, 22, .25) 0%, transparent 25%, transparent 60%, var(--bg) 100%); }
  .hero-content { position: relative; margin-top: -40px; padding: 0 0 40px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); max-width: none; }
  .hero-sub { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
  .hero-ctas { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-ctas .btn { justify-content: center; }
  .btn-ghost { background: transparent; border-color: var(--line); }
}

/* ---------- superficies del navegador ---------- */
::selection { background: rgba(122, 90, 248, .35); color: #fff; }
html { scrollbar-color: #2E3140 var(--bg); accent-color: var(--accent); caret-color: var(--accent); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2E3140; border-radius: 999px; border: 3px solid var(--bg); }
.sheet-content { scrollbar-color: #2E3140 transparent; }
.fact strong span { font-size: inherit; color: inherit; }

/* ---------- logo sobre sello claro (sus azules se pierden en el fondo oscuro) ---------- */
.brand img, .footer-brand img, .sign-row img {
  box-sizing: content-box; background: #F4F6F9; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(122, 90, 248, .55), 0 6px 16px rgba(2, 6, 12, .45); filter: none;
}
.brand img { width: 52px; padding: 6px; }
.footer-brand img { width: 34px; padding: 5px; }
.sign-row img { width: 72px; padding: 9px; }
@media (max-width: 600px) { .brand img { width: 42px; padding: 5px; } }
.brand img { flex-shrink: 0; }

/* ---------- logo colgante: grande arriba, se achica al bajar ---------- */
.brand { position: relative; align-self: flex-start; padding-top: 8px; }
.brand img { width: 84px; padding: 8px; margin-bottom: -44px; transition: width .45s var(--ease), padding .45s var(--ease), margin .45s var(--ease), transform .4s var(--ease); }
body:not(.hero-in) .brand img { width: 46px; padding: 6px; margin-bottom: 0; }
body:not(.hero-in) .brand { padding-top: 7px; }
.brand-text { align-self: center; padding-top: 0; }
.nav { align-items: center; }
.nav .brand { align-self: flex-start; }
@media (max-width: 600px) {
  .brand img { width: 62px; padding: 6px; margin-bottom: -34px; }
  body:not(.hero-in) .brand img { width: 40px; padding: 5px; margin-bottom: 0; }
  .brand { padding-top: 6px; }
}

/* ---------- menú del celular ---------- */
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mmenu { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px 20px 26px; display: grid; gap: 2px; box-shadow: 0 30px 60px rgba(2, 6, 12, .55); }
.mmenu[hidden] { display: none; }
.mmenu a:not(.btn) { text-decoration: none; font-family: "Bricolage"; font-weight: 700; font-size: 26px; letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mmenu a:not(.btn):active { color: var(--accent-text); }
.mmenu .btn { margin-top: 18px; justify-content: center; }
body.menu-open { overflow: hidden; }
@media (max-width: 1020px) { .menu-btn { display: block; } }
@media (max-width: 600px) { .nav-actions .btn-sm { display: none; } }

/* ---------- ruta en celular: riel vertical ---------- */
.rail { display: none; }
@media (max-width: 860px) {
  .route-stage { padding-left: 34px; }
  .rail { display: block; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: rgba(226, 228, 240, .14); border-radius: 2px; }
  .rail-fill { position: absolute; inset: 0; background: linear-gradient(var(--accent), #B4A2FF); transform-origin: top; border-radius: 2px; }
  .rail-boat { position: absolute; left: 50%; top: 0; width: 26px; height: 26px; translate: -50% -50%; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; box-shadow: 0 0 0 6px rgba(122, 90, 248, .2); }
  .stop { position: relative; }
  .stop-dot { display: block !important; position: absolute; left: -32px; top: 50%; translate: 0 -50%; width: 12px; height: 12px; border-width: 2.5px; }
  .stop:first-child .stop-dot { top: 12px; }
}

/* ---------- Venegas Industrial ---------- */
/* logo ancho (wordmark): placa clara colgante; su violeta oscuro se pierde sobre el grafito */
.brand img, .footer-brand img, .sign-row img { border-radius: 12px; box-shadow: 0 0 0 1.5px rgba(122, 90, 248, .5), 0 8px 20px rgba(2, 4, 10, .45); }
.brand img { width: 250px; padding: 10px 16px; margin-bottom: -26px; }
body:not(.hero-in) .brand img { width: 190px; padding: 7px 12px; margin-bottom: 0; }
.footer-brand img { width: 30px; padding: 4px; border-radius: 8px; }
.sign-row img { width: 260px; padding: 12px 18px; }
@media (max-width: 600px) {
  .brand img { width: 170px; padding: 7px 11px; margin-bottom: -18px; }
  body:not(.hero-in) .brand img { width: 140px; padding: 6px 9px; margin-bottom: 0; }
}

/* fotos verticales de cilindros en tarjetas y paradas */
.tour-media img[src*="cilindro"] { object-position: center 30%; }

/* servicios: foto grande + seis servicios */
.services { padding: 120px 0; }
.serv-bento { margin-top: 44px; display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(3, auto); gap: 16px; }
.services-photo { grid-row: 1 / span 3; border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.services-photo img { width: 100%; height: 100%; object-fit: cover; }
.serv { background: var(--surface); border-radius: var(--radius); padding: 24px 24px 26px; display: grid; gap: 6px; align-content: start; transition: background .3s var(--ease); }
.serv:hover { background: #232636; }
.serv i { font-size: 30px; color: var(--accent-text); margin-bottom: 8px; }
.serv strong { font-family: "Bricolage"; font-size: 19px; letter-spacing: -.01em; line-height: 1.2; }
.serv p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1020px) {
  .serv-bento { grid-template-columns: 1fr 1fr; }
  .services-photo { grid-row: auto; grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .services { padding: 80px 0; }
  .serv-bento { grid-template-columns: 1fr; }
}
.tour-body .more { margin-top: auto; }
/* el wordmark no gira: el hover de la plantilla era para un escudo redondo */
.brand:hover img { transform: none; }
.brand img { transition: width .45s var(--ease), padding .45s var(--ease), margin .45s var(--ease); }

/* galería: grilla pareja (las fotos verticales del cliente alargaban demasiado las columnas) */
.masonry { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.masonry img { margin: 0; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 12%; }
.masonry img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 860px) { .masonry { grid-template-columns: 1fr 1fr; } .masonry img:first-child { grid-row: auto; aspect-ratio: 16 / 10; } .masonry img:last-child { display: none; } }
.sp-steps li { grid-template-columns: 1fr; }

/* logo nuevo (versión para fondo oscuro, transparente): sin placa ni colgante */
.brand, .nav .brand { align-self: center; padding-top: 0; }
body:not(.hero-in) .brand { padding-top: 0; }
.brand img, body:not(.hero-in) .brand img, .footer-brand img, .sign-row img {
  background: none; box-shadow: none; border-radius: 0; padding: 0; margin: 0; filter: none;
}
.brand img { width: 176px; }
body:not(.hero-in) .brand img { width: 152px; }
.footer-brand img { width: 120px; }
.sign-row img { width: 240px; }
@media (max-width: 600px) {
  .brand img { width: 140px; }
  body:not(.hero-in) .brand img { width: 128px; }
}

/* fotos de estudio de los cilindros: mostrar válvula y rotulado */
.tour-media img[src*="cilindro"] { object-position: center 18%; }
.hero-video { object-position: 70% center; }
@media (min-width: 861px) {
  .hero-video { object-position: 100% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(15, 16, 22, .92) 0%, rgba(15, 16, 22, .7) 34%, rgba(15, 16, 22, 0) 58%), linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
  .brand img { width: 196px; }
  body:not(.hero-in) .brand img { width: 168px; }
}
@media (min-width: 861px) {
  .hero-video { left: auto; right: 0; width: 72%; object-position: 100% center; }
  .hero-shade { background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 28%, rgba(15, 16, 22, .55) 38%, rgba(15, 16, 22, 0) 52%), linear-gradient(180deg, transparent 72%, var(--bg) 100%); }
}
@media (min-width: 861px) {
  .hero-video { width: max(52%, calc(100% - 660px)); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
  .hero-shade { background: linear-gradient(180deg, transparent 72%, var(--bg) 100%); }
  .hero h1 { font-size: clamp(46px, 4.3vw, 80px); max-width: 11ch; }
}

/* ---------- segunda pasada de pulido ---------- */
/* cilindros de estudio: el cilindro completo, sobre el mismo grafito de la foto */
.tour-media:has(img[src*="cilindro"]) { background: linear-gradient(180deg, #141618 0%, #222226 70%, #1d1d21 100%); }
.tour-media img[src*="cilindro"] { object-fit: contain; object-position: center; padding-top: 12px; }
.tour:hover .tour-media img[src*="cilindro"] { transform: scale(1.04); }

/* despacho: paradas más grandes para que la ruta no se vea vacía */
@media (min-width: 861px) {
  .route-stage { margin-top: 230px; }
  .stop img { width: 250px; bottom: 34px; border-radius: 14px; }
  .stop img[src*="cilindro"] { object-position: center 14%; }
  .stop-card { width: 250px; top: 30px; gap: 4px; }
  .stop-card strong { font-size: 20px; }
  .stop-card span { font-size: 15px; }
  .stop-dot { transform: scale(1.25); }
}
.stop img[src*="cilindro"] { object-position: center 14%; }

/* nosotros en celular: fotos apiladas, sin superposición */
@media (max-width: 860px) {
  .about-photos { min-height: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
  .about-photos img { position: static; width: 100%; height: 100%; aspect-ratio: 4 / 3; border: 0; }
}

/* resumen del pedido en celular: una columna */
@media (max-width: 600px) {
  .quote-total { grid-template-columns: 1fr; gap: 4px; }
  .quote-total strong { grid-row: auto; font-size: 30px; line-height: 1.1; }
}

/* ---------- para quién trabajamos ---------- */
.sectors { padding: 110px 0 0; }
.sector-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; isolation: isolate; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 16, 22, 0) 40%, rgba(15, 16, 22, .9) 100%); }
.sector:hover img { transform: scale(1.05); }
.sector-body { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 4px; }
.sector-body strong { font-family: "Bricolage"; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.sector-body span { color: #D3D5E0; font-size: 15px; line-height: 1.35; }
.sector > i { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 16, 22, .55); backdrop-filter: blur(6px); font-size: 18px; transition: background .3s var(--ease), transform .3s var(--ease); }
.sector:hover > i { background: var(--accent); transform: rotate(45deg); }
.sector:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.sectors + .tours { padding-top: 96px; }
@media (max-width: 1020px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .sectors { padding-top: 80px; }
  .sector-grid { gap: 12px; }
  .sector-body { left: 14px; right: 14px; bottom: 14px; }
  .sector-body strong { font-size: 17px; }
  .sector-body span { font-size: 13px; }
  .sector > i { width: 34px; height: 34px; top: 10px; right: 10px; }
}
@media (max-width: 600px) { .sector::after { background: linear-gradient(180deg, rgba(15, 16, 22, 0) 25%, rgba(15, 16, 22, .96) 92%); } }

/* ---------- pulido de interacción (criterios Emil Kowalski) ---------- */
:root { --ease-in-out: cubic-bezier(.77, 0, .175, 1); interpolate-size: allow-keywords; }

/* todo lo que se presiona responde al dedo */
.btn { transition: transform 160ms var(--ease), background .2s ease, border-color .2s ease, color .2s ease; }
.btn:active { transform: scale(.97); }
.filters button, .sheet-btn, .stepper button, .menu-btn, .more, .wa-float { transition: transform 160ms var(--ease), background .2s ease, color .2s ease, border-color .2s ease; }
.filters button:active, .sheet-btn:active, .stepper button:active, .menu-btn:active, .wa-float:active { transform: scale(.94); }
.more:active, .sector:active { transform: scale(.98); }
.sector { transition: transform 160ms var(--ease); }
.sheet-thumbs button { transition: transform 160ms var(--ease), opacity .2s ease, border-color .2s ease; }
.sheet-thumbs button:active { transform: scale(.94); }
.tour.is-clickable { transition: box-shadow .25s ease, transform .25s var(--ease); }
.tour.is-clickable:active { transform: translateY(0) scale(.99); }

/* en pantallas táctiles el hover no existe: sin saltos al tocar */
@media (hover: none), (pointer: coarse) {
  .tour.is-clickable:hover { transform: none; box-shadow: none; }
  .tour:hover .tour-media img, .tour:hover .tour-media img[src*="cilindro"], .sector:hover img { transform: none; }
  .btn-primary:hover { transform: none; }
  .sector:hover > i { transform: none; background: rgba(15, 16, 22, .55); }
}

/* preguntas: abren con altura animada donde el navegador lo permite */
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .28s var(--ease), content-visibility .28s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-list summary::after { transition: rotate .2s var(--ease); }
.faq-list summary { transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { color: var(--accent-text); } }

/* foco visible con el violeta legible */
:focus-visible { outline-color: var(--accent-text); }

@media (prefers-reduced-motion: reduce) {
  .sector img, .serv, .sector, .filters button, .sheet-btn, .faq-list details::details-content { transition: none; }
  .btn:active, .sector:active, .filters button:active, .sheet-btn:active { transform: none; }
}
