/* Los Hostales del IRTRA — demo de Loomi. Light mode fijo; marca azul/naranja; Montserrat + Inter autoalojadas. */
@font-face { font-family: "Montserrat"; src: url("assets/fuentes/Montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fuentes/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --azul: #181996; --azul-p: #101066; --azul-t: #ececf7;
  --naranja: #fc933d; --naranja-o: #d9741f; --naranja-tinta: #1c1200;
  --tinta: #23232b; --gris: #4a4a55; --gris-2: #6a6a78;
  --hueso: #f7f4ee; --hueso-2: #efeade; --blanco: #fff;
  --linea: rgba(35, 35, 43, 0.14);
  --titulo: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --texto: "Inter", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --sombra-flot: 0 30px 60px -24px rgba(16,16,102,.45), 0 2px 6px rgba(35,35,43,.08);
  --ancho: 1560px; --gutter: 48px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--hueso); color: var(--tinta); font-family: var(--texto); font-size: 16px; line-height: 1.5; min-height: 100dvh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.1vw, 46px); color: var(--azul-p); }
h3 { font-size: 20px; color: var(--azul-p); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
img { max-width: 100%; }
.num, .tab { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -60px; background: var(--azul); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; transition: top .15s var(--ease-out); }
.saltar:focus { top: 44px; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }

/* Barra de demo */
.demo-bar { background: var(--tinta); color: #f7f4ee; font-size: 12px; text-align: center; padding: 6px 16px; letter-spacing: .01em; position: relative; z-index: 60; }
.demo-bar b { color: #fff; font-weight: 600; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; padding: 14px 22px; font-weight: 600; font-size: 15px; border: 0; white-space: nowrap; transition: transform 160ms var(--ease-out), background 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(.97); }
.btn-naranja { background: var(--naranja); color: var(--naranja-tinta); }
.btn-naranja:hover { background: var(--naranja-o); }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-p); }
.btn-fantasma { background: transparent; color: var(--azul-p); box-shadow: inset 0 0 0 1.5px var(--azul-p); }
.btn-fantasma:hover { background: rgba(24,25,150,.06); }

/* Cabecera */
.topbar { position: fixed; left: 0; right: 0; top: 30px; z-index: 50; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; padding: 16px var(--gutter); color: #fff; transition: background 240ms ease, box-shadow 240ms ease, color 240ms ease; }
.topbar.solida { background: rgba(247,244,238,.92); backdrop-filter: blur(12px); color: var(--tinta); box-shadow: 0 1px 0 var(--linea); padding: 10px var(--gutter); }
.marca { display: flex; align-items: center; gap: 10px; }
.marca img { width: 34px; height: auto; filter: brightness(0) invert(1); transition: filter 240ms ease; }
.topbar.solida .marca img { filter: none; }
.marca .logo { font-family: var(--titulo); font-weight: 900; font-style: italic; font-size: 24px; letter-spacing: -.04em; }
.marca .sub { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 200ms ease; }
.nav a:hover { border-color: var(--naranja); }
.tarifa-ctl { display: flex; align-items: center; gap: 8px; }
.toggle-lbl { font-size: 12px; font-weight: 600; opacity: .8; }
.toggle { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; position: relative; }
.toggle button { border: 0; background: transparent; color: inherit; padding: 8px 16px; border-radius: 999px; white-space: nowrap; transition: background 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.toggle button:active { transform: scale(.97); }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--azul-p); }
.topbar.solida .toggle { background: var(--azul-t); }
.topbar.solida .toggle button[aria-pressed="true"] { background: var(--azul); color: #fff; }
.topbar .btn-fantasma { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); padding: 11px 18px; }
.topbar.solida .btn-fantasma { color: var(--azul-p); box-shadow: inset 0 0 0 1.5px var(--azul-p); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.menu-btn span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 200ms var(--ease-out), opacity 200ms ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-movil { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 45; background: rgba(16,16,102,.97); color: #fff; display: grid; align-content: center; gap: 8px; padding: 80px 32px; font-family: var(--titulo); font-weight: 700; font-size: 28px; }
.menu-movil[hidden] { display: none; }
.menu-movil a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }

/* Hero */
.hero { position: relative; height: calc(100dvh - 30px); min-height: 700px; max-height: 1000px; overflow: hidden; color: #fff; background: var(--azul-p); }
.hero .fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transform: scale(1.22) translateX(3%); animation: paneo 26s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; }
@keyframes paneo { to { transform: scale(1.02) translateX(-2%); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,102,.6) 0%, rgba(16,16,102,.2) 55%, rgba(16,16,102,.05) 100%), linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 28%, transparent 62%, rgba(0,0,0,.5) 100%); }
.hero-cont { position: absolute; inset: 0; z-index: 2; max-width: var(--ancho); margin: 0 auto; padding: 120px var(--gutter) 140px; display: grid; align-content: center; gap: 28px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 104px); line-height: .96; letter-spacing: -.04em; color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; color: #fff; }
.hero-abajo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.hero .lead { font-size: clamp(17px, 1.35vw, 21px); color: #eef; max-width: 60ch; }
.hero .acciones { display: flex; gap: 18px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.play { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; background: transparent; border: 0; padding: 6px 4px; transition: transform 160ms var(--ease-out); }
.play:active { transform: scale(.97); }
.play .c { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); display: grid; place-items: center; transition: background 200ms ease; }
.play:hover .c { background: rgba(255,255,255,.15); }
.play .c svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.cinta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); background: rgba(16,16,102,.4); }
.cinta a { padding: 18px 24px; color: #fff; border-right: 1px solid rgba(255,255,255,.18); display: grid; gap: 2px; transition: background 200ms ease; min-width: 0; }
.cinta a:hover { background: rgba(255,255,255,.1); }
.cinta a:last-child { border-right: 0; }
.cinta b { font-family: var(--titulo); font-size: 18px; }
.cinta span { font-size: 12px; color: #dcdcff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cinta span i { font-style: normal; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Reserva */
.reserva-wrap { max-width: var(--ancho); margin: 0 auto; padding: 36px var(--gutter) 0; position: relative; z-index: 4; }
.reserva { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr auto; gap: 0; background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--sombra-flot); align-items: stretch; }
.reserva-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 6px 12px 12px; gap: 16px; flex-wrap: wrap; }
.reserva-top .toggle { background: var(--azul-t); color: var(--azul-p); font-size: 14px; backdrop-filter: none; }
.reserva-top .toggle button { padding: 10px 20px; }
.reserva-top .toggle button[aria-pressed="true"] { background: var(--azul); color: #fff; }
.reserva-top .nota { font-size: 13px; color: var(--gris); }
.reserva-top .nota b { color: var(--azul); font-variant-numeric: tabular-nums; }
.reserva .campo { padding: 10px 18px; border-right: 1px solid var(--linea); display: grid; align-content: center; gap: 4px; min-width: 0; }
.reserva .campo:nth-last-child(3) { border-right: 0; }
.reserva .lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-2); }
.reserva select, .reserva input { font: inherit; font-weight: 600; font-size: 16px; color: var(--tinta); border: 0; background: transparent; padding: 4px 0; width: 100%; min-width: 0; }
.reserva select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23181996'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right center / 18px; padding-right: 22px; }
.reserva .btn { align-self: center; margin-left: 10px; padding: 18px 26px; font-size: 16px; border-radius: 14px; }
.pie-datos { grid-column: 1 / -1; display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; color: var(--gris); padding: 12px 12px 4px; }
.pie-datos b { color: var(--tinta); }

/* Secciones */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: 88px var(--gutter) 0; }
.seccion-h { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: end; margin-bottom: 30px; }
.seccion-h p { color: var(--gris); font-size: 16px; }

/* Tarjetas de alojamiento: 10 → 5 × 2 en desktop, 2 × 5 en móvil */
.cards { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 16px 40px -28px rgba(16,16,102,.4); text-align: left; border: 0; padding: 0; transition: transform 240ms var(--ease-out), box-shadow 240ms ease; }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(16,16,102,.5); } .card:hover .img img { transform: scale(1.05); } }
.card .img { aspect-ratio: 4/5; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease-out); }
.card .etq { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--azul-p); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.card .cuerpo { padding: 14px 16px 16px; display: grid; align-content: space-between; gap: 8px; }
.card h3 { font-size: 20px; }
.card .tag { font-size: 13px; color: var(--gris); }
.card .fila { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 6px; }
.card .fila b { font-family: var(--titulo); font-size: 22px; color: var(--azul); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card .fila b small { font-family: var(--texto); font-weight: 500; font-size: 12px; color: var(--gris-2); margin-right: 4px; }
.card .fila span { font-size: 12px; color: var(--gris-2); text-align: right; }
.precio-cambia { transition: opacity 180ms ease, filter 180ms ease; }
.precio-cambia.cambiando { opacity: .5; filter: blur(2px); }

/* Parques */
.parques-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.parques .txt p { color: var(--gris); font-size: 18px; margin-top: 16px; }
.datos-lista { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.datos-lista li { position: relative; padding-left: 22px; font-size: 15px; color: var(--gris); }
.datos-lista li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--azul); }
.datos-lista b { color: var(--azul-p); }
.parques .fotos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.parques .fotos img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; display: block; }
.parques .fotos img:nth-child(2), .parques .fotos img:nth-child(4) { margin-top: 36px; }

/* Planea */
.planea { padding-top: 96px; }
.planea-cab { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 30px; }
.planea-cab img { width: 240px; height: auto; filter: drop-shadow(0 14px 18px rgba(16,16,102,.22)); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; counter-reset: paso; }
.pasos li { counter-increment: paso; background: #fff; border-radius: 18px; padding: 24px 22px 22px; display: grid; gap: 10px; align-content: start; box-shadow: 0 16px 40px -30px rgba(16,16,102,.35); position: relative; }
.pasos li::before { content: counter(paso); font-family: var(--titulo); font-weight: 800; font-size: 14px; color: #fff; background: var(--azul); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.pasos b { font-family: var(--titulo); font-size: 18px; color: var(--azul-p); }
.pasos span { font-size: 14px; color: var(--gris); }
.pasos a { font-weight: 600; color: var(--azul); font-size: 14px; margin-top: 4px; }
.pasos a::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-4.6-4.6L13 5l7 7-7 7-1.4-1.4 4.6-4.6H4z'/%3E%3C/svg%3E") center / 14px no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-4.6-4.6L13 5l7 7-7 7-1.4-1.4 4.6-4.6H4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.enlace { background: none; border: 0; padding: 0; margin-top: 4px; font-weight: 600; font-size: 14px; color: var(--azul); text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.enlace:hover { color: var(--azul-p); }

/* Reglas */
.reglas-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.reglas-grid article { background: var(--azul-t); border-radius: 18px; padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; }
.reglas-grid p { font-size: 14px; color: var(--gris); }

/* Voz */
.voz { padding-top: 96px; }
.voz-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; color: #fff; border-radius: 28px; padding: 56px; overflow: hidden; isolation: isolate; }
.voz-grid::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/fotos/suites.jpg") center 40% / cover no-repeat; }
.voz-grid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,40,.86) 0%, rgba(10,10,40,.72) 50%, rgba(10,10,40,.35) 100%); }
.voz h2 { color: #fff; }
.voz p { color: #e6e6f4; font-size: 18px; margin-top: 16px; }
.voz-lista { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.voz-lista li { position: relative; padding-left: 26px; font-size: 15px; color: #f2f2fa; }
.voz-lista li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; background: #fff; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.voz-foto { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.voz-foto img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.voz-foto figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.92); color: var(--tinta); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.voz-foto figcaption b { color: var(--azul-p); font-variant-numeric: tabular-nums; }

/* Cómo llegar */
.llegar-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.llegar .dir { font-size: 18px; color: var(--tinta); margin-top: 16px; font-weight: 500; }
.datos-dl { margin: 22px 0 26px; display: grid; gap: 14px; }
.datos-dl dt { font-family: var(--titulo); font-weight: 700; color: var(--azul-p); font-size: 15px; }
.datos-dl dd { margin: 2px 0 0; color: var(--gris); font-size: 15px; }
.mapa { margin: 0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 16px 40px -30px rgba(16,16,102,.35); }
.mapa img { width: 100%; display: block; }
.mapa figcaption { font-size: 12px; color: var(--gris-2); padding: 10px 16px; }

/* Contacto */
.contacto { padding-bottom: 88px; }
.contacto-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.contacto-grid article { background: #fff; border-radius: 18px; padding: 22px; display: grid; gap: 6px; align-content: start; }
.contacto-grid article.principal { background: var(--azul); color: #fff; }
.contacto-grid article.principal h3 { color: #fff; font-size: 24px; }
.contacto-grid article.principal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contacto-grid article.principal span { font-size: 13px; color: #dcdcff; margin-top: 8px; }
.contacto-grid p { font-size: 15px; color: var(--gris); }
.contacto-grid a { color: var(--azul); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Pie */
.pie { background: var(--azul-p); color: #dcdcff; padding: 48px var(--gutter) 60px; }
.pie-grid { max-width: var(--ancho); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.pie .logo { font-family: var(--titulo); font-weight: 900; font-style: italic; font-size: 24px; color: #fff; letter-spacing: -.04em; display: block; }
.pie .sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.pie p { font-size: 14px; margin-top: 12px; }
.pie nav { display: grid; gap: 8px; font-size: 14px; }
.pie nav a:hover { color: #fff; }
.pie .aviso { font-size: 13px; }
.pie .aviso b { color: #dcdcff; font-weight: 700; }

/* Detalle (dialog) */
.detalle, .galeria { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.detalle::backdrop, .galeria::backdrop { background: rgba(16,16,102,.55); backdrop-filter: blur(6px); }
.detalle { place-items: center; padding: 24px; }
.detalle[open], .galeria[open] { display: grid; }
.detalle-cuerpo { background: var(--hueso); color: var(--tinta); border-radius: 24px; width: min(1180px, 100%); max-height: calc(100dvh - 48px); overflow: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); transform-origin: center; }
.detalle[open] .detalle-cuerpo { animation: aparecer 240ms var(--ease-out); }
@keyframes aparecer { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.detalle .lado { position: relative; min-height: 420px; }
.detalle .lado img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detalle .lado .cap { position: absolute; left: 20px; right: 20px; bottom: 20px; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.detalle .lado .cap h2 { color: #fff; font-size: 38px; }
.detalle .lado .cap span { font-size: 14px; opacity: .9; }
.detalle .info { padding: 32px 36px 36px; display: grid; gap: 18px; align-content: start; }
.detalle .info p { color: var(--gris); font-size: 15px; }
.detalle .aviso { background: #fff3e6; color: #7a3d00; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.detalle .tarifas-cab { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.detalle .toggle { background: var(--azul-t); color: var(--azul-p); backdrop-filter: none; }
.detalle .toggle button[aria-pressed="true"] { background: var(--azul); color: #fff; }
.tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabla th, .tabla td { padding: 10px 10px; border-bottom: 1px solid var(--linea); text-align: right; vertical-align: top; }
.tabla th:first-child, .tabla td:first-child { text-align: left; }
.tabla thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris-2); font-weight: 700; border-bottom: 2px solid var(--azul-p); }
.tabla td { font-variant-numeric: tabular-nums; font-family: var(--titulo); font-weight: 700; color: var(--azul-p); white-space: nowrap; }
.tabla td:first-child { font-family: var(--texto); font-weight: 600; color: var(--tinta); white-space: normal; }
.tabla td:first-child small { display: block; font-weight: 400; color: var(--gris-2); font-size: 12px; }
.tabla tr.dia-hoy td { background: #fff; }
.detalle .ben { font-size: 13px; color: var(--gris); }
.detalle .acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.cerrar { position: absolute; top: 18px; right: 18px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--azul-p); display: grid; place-items: center; transition: transform 160ms var(--ease-out), background 200ms ease; }
.cerrar:hover { background: #fff; } .cerrar:active { transform: scale(.94); }
.cerrar svg { width: 20px; height: 20px; fill: currentColor; }
.detalle .cerrar { position: fixed; }

/* Galería */
.galeria { place-items: center; padding: 24px; }
.galeria figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: min(1400px, 100%); }
.galeria img { max-width: 100%; max-height: calc(100dvh - 120px); border-radius: 16px; object-fit: contain; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.galeria figcaption { color: #fff; font-size: 14px; }
.galeria .cerrar { position: fixed; }
.galeria .flecha { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--azul-p); display: grid; place-items: center; transition: background 200ms ease; }
.galeria .flecha:hover { background: #fff; }
.galeria .flecha svg { width: 26px; height: 26px; fill: currentColor; }
.galeria .prev { left: 20px; } .galeria .next { right: 20px; }

/* Widget de voz — contrato Loomi */
#loomi-voz-fab { position: fixed; right: 28px; bottom: 28px; z-index: 70; display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border: 0; border-radius: 999px; background: var(--naranja); color: var(--naranja-tinta); font-weight: 700; font-size: 15px; box-shadow: 0 10px 28px -8px rgba(217,116,31,.55), 0 2px 6px rgba(35,35,43,.12); transition: transform 160ms var(--ease-out), background 200ms ease; }
#loomi-voz-fab:hover { background: var(--naranja-o); }
#loomi-voz-fab:active { transform: scale(.97); }
#loomi-voz-fab .mic { width: 36px; height: 36px; border-radius: 50%; background: var(--naranja-tinta); display: grid; place-items: center; }
#loomi-voz-fab .mic svg { width: 16px; height: 16px; fill: var(--naranja); }
#loomi-voz-panel { position: fixed; right: 28px; bottom: 96px; z-index: 69; width: 390px; max-width: calc(100vw - 32px); height: min(700px, calc(100vh - 140px)); display: grid; grid-template-rows: auto auto 1fr auto; background: #fff; color: var(--tinta); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(16,16,102,.55), 0 2px 8px rgba(35,35,43,.1); overflow: hidden; transform-origin: bottom right; animation: aparecer 220ms var(--ease-out); }
#loomi-voz-panel[hidden] { display: none; }
.voz-cab { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--azul); color: #fff; }
.voz-cab b { font-family: var(--titulo); font-size: 18px; display: block; }
.voz-cab span { font-size: 12px; color: #dcdcff; }
.voz-cab .cerrar { position: static; width: 36px; height: 36px; background: rgba(255,255,255,.14); color: #fff; }
.voz-cab .cerrar:hover { background: rgba(255,255,255,.24); }
#loomi-voz-estado { min-height: 40px; padding: 10px 18px; font-size: 13px; color: var(--gris); border-bottom: 1px solid var(--linea); background: var(--hueso); display: flex; align-items: center; gap: 8px; }
#loomi-voz-estado:empty::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fb36a; flex: none; }
#loomi-voz-estado:empty::after { content: "Natalia está lista. Toca el micrófono para empezar."; }
#loomi-voz-pie:empty { justify-items: center; }
#loomi-voz-pie:empty::after { content: ""; width: 56px; height: 56px; border-radius: 50%; background: var(--naranja) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231c1200'%3E%3Cpath d='M12 15a4 4 0 0 0 4-4V6a4 4 0 1 0-8 0v5a4 4 0 0 0 4 4zm6-4h-2a4 4 0 0 1-8 0H6a6 6 0 0 0 5 5.9V20H8v2h8v-2h-3v-3.1A6 6 0 0 0 18 11z'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 10px 24px -10px rgba(217,116,31,.6); }
#loomi-voz-transcripcion { overflow: auto; padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
#loomi-voz-transcripcion:empty { background: var(--hueso); display: grid; place-items: center; }
#loomi-voz-transcripcion:empty::after { content: "Aquí verás la conversación con Natalia."; font-size: 13px; color: var(--gris-2); text-align: center; max-width: 24ch; }
.loomi-turno-agente, .loomi-turno-usuario { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.loomi-turno-agente { background: var(--azul-t); color: var(--tinta); border-top-left-radius: 4px; justify-self: start; }
.loomi-turno-usuario { background: var(--naranja); color: var(--naranja-tinta); border-top-right-radius: 4px; justify-self: end; }
#loomi-voz-pie { min-height: 72px; padding: 14px 18px; border-top: 1px solid var(--linea); display: grid; align-items: center; }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .hero .fondo { animation: none; transform: none; }
  html { scroll-behavior: auto; }
  .detalle[open] .detalle-cuerpo, #loomi-voz-panel { animation: none; }
}

/* Responsivo */
@media (max-width: 1240px) {
  :root { --gutter: 32px; }
  .cards { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
  .reglas-grid, .pasos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cinta { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .cinta b { font-size: 15px; }
}
@media (max-width: 1100px) {
  .topbar { grid-template-columns: auto 1fr auto; }
  .topbar .nav, .topbar .btn-fantasma { display: none; }
  .menu-btn { display: flex; }
  .reserva { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reserva .campo { border-right: 0; border-bottom: 1px solid var(--linea); }
  .reserva .btn { grid-column: 1 / -1; margin: 10px 8px 4px; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-abajo, .seccion-h, .parques-grid, .voz-grid, .llegar-grid, .pie-grid { grid-template-columns: minmax(0,1fr); }
  .hero .acciones { justify-content: flex-start; }
  .cinta { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cinta a:nth-child(n+5) { display: none; }
  .cinta a:nth-child(4) { border-right: 0; }
  .contacto-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detalle-cuerpo { grid-template-columns: minmax(0,1fr); }
  .detalle .lado { min-height: 240px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .demo-bar { font-size: 11px; padding: 6px 12px; }
  .topbar { top: 46px; padding: 10px 12px 10px 16px; gap: 10px; grid-template-columns: auto minmax(0,1fr) auto; }
  .topbar .tarifa-ctl { justify-self: end; min-width: 0; }
  .topbar .tarifa-ctl .toggle-lbl, .topbar .marca .sub { display: none; }
  .topbar .marca img { width: 28px; }
  .topbar .toggle { font-size: 12px; padding: 3px; }
  .topbar .toggle button { padding: 7px 10px; }
  .cinta span { white-space: normal; }
  .hero { min-height: 640px; height: auto; padding-bottom: 0; }
  .hero-cont { position: relative; padding: 140px var(--gutter) 40px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .cinta { position: relative; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cinta a { padding: 14px 16px; }
  .cinta a:nth-child(even) { padding-right: 76px; } /* deja libre la esquina del botón de voz */
  .reserva { grid-template-columns: minmax(0,1fr); }
  .reserva-top { flex-direction: column; align-items: flex-start; }
  .reserva-top .toggle { width: 100%; }
  .seccion { padding-top: 64px; }
  .cards { gap: 12px; }
  .card .cuerpo { padding: 12px; }
  .card h3 { font-size: 16px; }
  .card .fila { flex-direction: column; align-items: flex-start; gap: 2px; }
  .card .fila span { text-align: left; }
  .planea-cab { grid-template-columns: minmax(0,1fr); }
  .planea-cab img { width: 180px; }
  .pasos, .reglas-grid, .contacto-grid, .parques .fotos { grid-template-columns: minmax(0,1fr); }
  .parques .fotos img:nth-child(2), .parques .fotos img:nth-child(4) { margin-top: 0; }
  .parques .fotos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .voz-grid { padding: 28px 20px; border-radius: 20px; }
  .contacto-grid article.principal { grid-row: auto; }
  .detalle { padding: 0; }
  .detalle-cuerpo { border-radius: 0; max-height: 100dvh; }
  .detalle .info { padding: 22px 18px 28px; }
  .tabla { font-size: 13px; } .tabla th, .tabla td { padding: 8px 6px; }
  #loomi-voz-fab { right: 16px; bottom: 16px; padding: 8px; }
  #loomi-voz-fab .txt { display: none; }
  #loomi-voz-fab .mic { width: 44px; height: 44px; }
  #loomi-voz-fab .mic svg { width: 20px; height: 20px; }
  #loomi-voz-panel { right: 16px; left: 16px; width: auto; bottom: 80px; height: min(700px, calc(100vh - 110px)); }
  .galeria .flecha { width: 44px; height: 44px; }
  .galeria .prev { left: 8px; } .galeria .next { right: 8px; }
}
