/* Estructura común. Los colores, tipografías y formas salen de los tokens de estilos.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--fondo); color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--f-texto); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: var(--peso-titulo, 600); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); letter-spacing: var(--tracking-titulo, -0.02em); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); letter-spacing: var(--tracking-titulo, -0.015em); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.saltar { position: absolute; left: -999px; } .saltar:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--fondo); padding: .5rem 1rem; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }

/* Movimiento: una sola curva para todo, rápida al empezar */
:root { --curva: cubic-bezier(.2, .7, .2, 1); --dur: 220ms; }

.antetitulo { font: 600 .8rem/1.3 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--acento-texto); margin-bottom: .75rem; }

/* Botones (mínimo 44 px de alto) */
.boton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.4rem;
  background: var(--acento); color: var(--sobre-acento); border: 0; border-radius: var(--radio-boton);
  font: 600 1rem/1 var(--f-texto); text-decoration: none; cursor: pointer;
  transition: transform var(--dur) var(--curva), background-color var(--dur) var(--curva);
}
.boton:active { transform: scale(.97); }
.boton-sec { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.boton-chico { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
@media (hover: hover) { .boton:hover { background: var(--acento-hover); } .boton-sec:hover { background: color-mix(in srgb, currentColor 10%, transparent); } }

/* Cabecera */
.cabecera {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem;
  padding: .6rem clamp(1rem, 4vw, 2.5rem); background: color-mix(in srgb, var(--fondo) 92%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea);
}
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.marca-nueva { width: 40px; height: 40px; }
.marca-nueva .sol { fill: var(--sol); }
.marca-nueva .ola { fill: none; stroke: var(--agua); stroke-width: 3.2; stroke-linecap: round; }
.marca-actual { display: none; height: 40px; width: auto; }
[data-logo="actual"] .marca-actual { display: block; }
[data-logo="actual"] .marca-nueva { display: none; }
.marca-texto { font: var(--peso-titulo, 600) 1.3rem/1 var(--f-titulo); display: flex; flex-direction: column; }
.marca-texto small { font: 500 .68rem/1.4 var(--f-texto); letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-suave); margin-top: .2rem; }
.menu { display: none; margin-left: auto; gap: .25rem; }
.menu a { padding: .7rem .8rem; text-decoration: none; font-weight: 500; border-radius: 8px; }
@media (hover: hover) { .menu a:hover { background: var(--fondo-2); } }
.cabecera > .boton { margin-left: auto; }
@media (min-width: 860px) { .menu { display: flex; } .cabecera > .boton { margin-left: 0; } }

/* Portada */
.portada { position: relative; display: grid; min-height: min(88svh, 780px); color: #fff; }
.portada-foto, .portada-texto { grid-area: 1 / 1; }
.portada-foto { position: relative; overflow: hidden; }
.portada-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.portada-foto::after { content: ""; position: absolute; inset: 0; background: var(--velo); }
.portada-texto { position: relative; align-self: end; padding: 2rem clamp(1rem, 5vw, 4rem) clamp(2rem, 6vw, 4.5rem); max-width: 50rem; }
.portada .antetitulo { color: var(--portada-ante); }
.portada h1 em { font-style: var(--em-titulo, italic); color: var(--portada-em); }
.bajada { font-size: clamp(1.05rem, 2.2vw, 1.25rem); margin-top: 1rem; max-width: 36rem; }
.acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Dos formas */
.dos-formas { display: grid; gap: 1rem; padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 5vw, 4rem); }
@media (min-width: 720px) { .dos-formas { grid-template-columns: 1fr 1fr; } }
.forma { background: var(--fondo-2); border-radius: var(--radio); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.forma-icono { font-size: 1.6rem; color: var(--acento-texto); line-height: 1; }
.forma a { font-weight: 600; color: var(--acento-texto); text-decoration: none; padding: .6rem 0; min-height: 44px; }

/* Secciones */
.seccion { padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem); }
.seccion-cabeza { max-width: 44rem; margin-bottom: 2.25rem; }
.seccion-cabeza p:not(.antetitulo) { color: var(--tinta-suave); margin-top: .75rem; font-size: 1.1rem; }

/* Espacios */
.espacios { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
@media (min-width: 900px) { .espacios { grid-template-columns: 1fr 1fr; } .espacio-ancho { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; display: grid; } }
.espacio { background: var(--tarjeta); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); border: var(--borde-tarjeta, 0); }
.espacio-fotos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 3px; aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 900px) { .espacio-ancho .espacio-fotos { aspect-ratio: auto; height: 26rem; } .espacio-ancho.invertido .espacio-fotos { order: 2; } .espacio-ancho.invertido { grid-template-columns: 1fr 1.2fr; } }
.espacio-fotos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.espacio-fotos img[src*="camper-exterior"], .espacio-fotos img[src*="camping"] { object-position: center 85%; }
.espacio-texto { padding: 1.5rem; display: grid; gap: .9rem; align-content: start; }
.espacio-cant { font-size: .85rem; font-weight: 600; color: var(--acento-texto); text-transform: uppercase; letter-spacing: .1em; }
.espacio-texto h3 { margin-top: -.4rem; }
.datos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.datos li { background: var(--chip); color: var(--chip-tinta); border-radius: 99px; padding: .3rem .75rem; font-size: .9rem; font-weight: 500; }
.precios { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; border-top: 1px solid var(--linea); padding-top: .9rem; }
.precios div { display: grid; }
.precios dt { font-size: .8rem; color: var(--tinta-suave); }
.precios dd { margin: 0; font: var(--peso-titulo, 600) 1.2rem/1.3 var(--f-titulo); }
.precio-nota { grid-column: 1 / -1; font-size: .85rem; color: var(--tinta-suave); }
.enlace { font-weight: 600; color: var(--acento-texto); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) { .enlace:hover, .forma a:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* Pileta: mosaico */
.pileta { background: var(--fondo-pileta); color: var(--tinta-pileta); }
.pileta .seccion-cabeza p:not(.antetitulo) { color: inherit; opacity: .85; }
.pileta .antetitulo { color: var(--ante-pileta); }
.mosaico { display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radio) / 2); }
.mosaico img:first-child { grid-column: span 2; }
@media (min-width: 800px) {
  .mosaico { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15rem; }
  .mosaico img:first-child { grid-column: span 2; grid-row: span 2; }
}

/* Incluye */
.incluye { display: grid; gap: 2rem; align-items: center; }
.incluye .seccion-cabeza { margin-bottom: 0; }
.lista-incluye { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.lista-incluye li { padding: .85rem 0; border-bottom: 1px solid var(--linea); }
.incluye-foto { margin: 0; } .incluye-foto img { border-radius: var(--radio); aspect-ratio: 4/5; max-height: 36rem; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .incluye { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; align-content: center; row-gap: 2rem; column-gap: 4rem; } .incluye .seccion-cabeza { align-self: end; } .lista-incluye { align-self: start; } .incluye-foto { grid-column: 2; grid-row: 1 / 3; } }

/* Alrededores */
.alrededores { background: var(--fondo-2); }
.tarjetas { display: grid; gap: 1rem; }
@media (min-width: 800px) { .tarjetas { grid-template-columns: repeat(3, 1fr); } }
.tarjeta { background: var(--tarjeta); border-radius: var(--radio); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; border: var(--borde-tarjeta, 0); }
.tarjeta p { color: var(--tinta-suave); }

/* Consulta */
.formulario { max-width: 40rem; display: grid; gap: 1rem; background: var(--tarjeta); padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--radio); box-shadow: var(--sombra); border: var(--borde-tarjeta, 0); }
.formulario label { display: grid; gap: .35rem; font-weight: 500; font-size: .95rem; }
.formulario input:not([type=radio]), .formulario select {
  min-height: 48px; padding: .6rem .8rem; border: 1.5px solid var(--linea-fuerte); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--fondo); color: var(--tinta); width: 100%;
}
.fila { display: grid; gap: 1rem; } @media (min-width: 520px) { .fila { grid-template-columns: 1fr 1fr; } }
.tipo { border: 0; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.tipo legend { font-weight: 500; font-size: .95rem; margin-bottom: .35rem; }
.tipo label { display: flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1rem; border: 1.5px solid var(--linea-fuerte); border-radius: 99px; cursor: pointer; }
.tipo label:has(:checked) { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 12%, transparent); }
.tipo input { accent-color: var(--acento); width: 1.1rem; height: 1.1rem; }
.es-dia .solo-noche { display: none; }
.otras { font-size: .9rem; color: var(--tinta-suave); }

/* Mapa */
.mapa { border-radius: var(--radio); overflow: hidden; aspect-ratio: 16/9; max-height: 28rem; width: 100%; background: var(--fondo-2); }
.mapa iframe { border: 0; width: 100%; height: 100%; }

/* Preguntas */
.preguntas details { border-bottom: 1px solid var(--linea); max-width: 44rem; }
.preguntas summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: 1.1rem; min-height: 44px; list-style-position: outside; }
.preguntas details p { padding-bottom: 1.1rem; color: var(--tinta-suave); }

/* Pie */
.pie { background: var(--fondo-pie); color: var(--tinta-pie); padding: 3rem clamp(1rem, 5vw, 4rem) 6rem; display: grid; gap: 1.5rem; }
.pie-marca { display: grid; gap: .25rem; } .pie-marca strong { font: var(--peso-titulo, 600) 1.6rem/1 var(--f-titulo); }
.pie-enlaces { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.pie-enlaces a { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 800px) { .pie { grid-template-columns: 1fr auto; align-items: center; } }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: #1f8f4e; display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .25);
  transition: transform var(--dur) var(--curva);
}
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }
.wa-flotante:active { transform: scale(.94); }

/* Selector de estilos (sólo maqueta) */
.selector {
  position: fixed; left: .75rem; bottom: .75rem; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem;
  background: #111; color: #fff; padding: .35rem; border-radius: 14px; font: 500 .8rem/1 system-ui, sans-serif; max-width: calc(100vw - 6rem);
  box-shadow: 0 6px 24px rgb(0 0 0 / .3);
}
.selector span { padding: 0 .4rem; opacity: .7; }
.selector button { min-height: 36px; padding: 0 .7rem; border-radius: 9px; border: 0; background: #2a2a2a; color: #fff; font: inherit; cursor: pointer; }
.selector button[aria-pressed="true"] { background: #fff; color: #111; }

@media (max-width: 640px) { .selector { flex-wrap: nowrap; } .selector .sel-nombre { display: none; } .selector button { min-width: 36px; } }

/* ===== Versión publicada (9-nov-2026) ===== */
.sello { display: inline-flex; align-items: center; gap: .5rem; background: rgb(255 255 255 / .16); backdrop-filter: blur(6px);
  border: 1px solid rgb(255 255 255 / .35); border-radius: 99px; padding: .3rem .85rem .3rem .35rem; font-size: .9rem; margin-bottom: 1rem; }
.sello strong { background: #fff; color: var(--tinta); border-radius: 99px; padding: .15rem .55rem; font-size: .9rem; }
.forma-precio { font: var(--peso-titulo, 600) 1.35rem/1.2 var(--f-titulo); }
.forma-precio span { font: 400 .9rem/1.2 var(--f-texto); color: var(--tinta-suave); }
.precios dd small { display: block; font: 400 .8rem/1.3 var(--f-texto); color: var(--tinta-suave); }

.tarifas { display: grid; gap: 1rem; }
@media (min-width: 800px) { .tarifas { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.tarifa { background: var(--tarjeta); border: var(--borde-tarjeta, 0); border-radius: var(--radio); padding: 1.5rem; display: grid; gap: .35rem; align-content: start; }
.tarifa h3 { font-size: 1.15rem; }
.tarifa-monto { font: var(--peso-titulo, 700) clamp(2rem, 5vw, 2.6rem)/1.05 var(--f-titulo); letter-spacing: var(--tracking-titulo, -0.02em); margin-top: .5rem; }
.tarifa-unidad { color: var(--tinta-suave); font-size: .95rem; margin-bottom: .5rem; }
.tarifa > p:last-child { color: var(--tinta-suave); border-top: 1px solid var(--linea); padding-top: .75rem; }
.tarifa-destacada { background: var(--fondo-pileta); color: var(--tinta-pileta); border-color: transparent; }
.tarifa-destacada .tarifa-unidad, .tarifa-destacada > p:last-child { color: inherit; opacity: .9; border-color: rgb(255 255 255 / .3); }

.letra-chica { margin-top: 1.5rem; max-width: 52rem; font-size: .92rem; color: var(--tinta-suave); }
.letra-chica summary { cursor: pointer; font-weight: 600; color: var(--acento-texto); min-height: 44px; display: flex; align-items: center; }
.letra-chica ul { margin: .25rem 0 0; padding-left: 1.1rem; display: grid; gap: .5rem; }

.estimado { display: block; font-size: 1.05rem; }
.estimado:empty { display: none; }
.estimado strong { font: var(--peso-titulo, 700) 1.3rem/1 var(--f-titulo); }
.estimado small { display: block; font-size: .85rem; color: var(--tinta-suave); margin-top: .25rem; }

.check { display: flex !important; grid-template-columns: none; align-items: center; gap: .6rem; min-height: 44px; font-weight: 500; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--acento); }
.extra { margin-top: 1rem; background: var(--fondo-2); border-radius: var(--radio); padding: 1.25rem 1.5rem; display: grid; gap: .4rem; }
.extra h3 { font-size: 1.15rem; }
.extra p { color: var(--tinta-suave); }
.extra a { color: var(--acento-texto); font-weight: 600; }

/* Mirador */
.mirador { display: grid; gap: 2rem; align-items: center; background: linear-gradient(180deg, var(--fondo) 0%, #fff4e0 100%); }
@media (min-width: 900px) { .mirador { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.mirador-texto { display: grid; gap: 1rem; }
.mirador-texto > p:not(.antetitulo) { color: var(--tinta-suave); font-size: 1.1rem; }
.mirador-texto .antetitulo { margin-bottom: 0; }
.mirador-arte { margin: 0; position: relative; border-radius: var(--radio); overflow: hidden; aspect-ratio: 3 / 2; }
.mirador-arte svg { width: 100%; height: 100%; display: block; }
.mirador-arte figcaption { position: absolute; right: .75rem; bottom: .6rem; font-size: .75rem; color: #fff; opacity: .85; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ===== Chat de la web ===== */
.flotantes { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; display: flex; align-items: center; gap: .6rem; }
.flotantes .wa-flotante { position: static; width: 52px; height: 52px; }
.chat-abrir {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 56px; padding: 0 1.15rem 0 1rem; border: 0; border-radius: 99px;
  background: var(--tinta); color: #fff; font: 600 .98rem/1 var(--f-texto); cursor: pointer;
  box-shadow: 0 8px 24px rgb(0 0 0 / .25); transition: transform var(--dur) var(--curva);
}
.chat-abrir svg { width: 24px; height: 24px; fill: var(--sol); }
.chat-abrir:active { transform: scale(.96); }
@media (max-width: 520px) { .chat-abrir span { display: none; } .chat-abrir { width: 56px; padding: 0; justify-content: center; } }
.chat-activo .flotantes { opacity: 0; pointer-events: none; }
@media (min-width: 640px) { .chat-activo .flotantes { opacity: 1; pointer-events: auto; } }

.chat {
  position: fixed; z-index: 50; inset: 0; display: flex; flex-direction: column; background: var(--fondo);
  opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right;
  transition: opacity 200ms var(--curva), transform 220ms var(--curva);
}
.chat.abierto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .chat { transition: opacity 120ms linear; transform: none; } }
@media (min-width: 640px) {
  .chat { inset: auto 1rem 5.5rem auto; width: 390px; height: min(620px, calc(100svh - 7rem)); border-radius: 22px;
    box-shadow: 0 24px 60px -12px rgb(8 40 60 / .35); border: 1px solid var(--linea); overflow: hidden; }
}
.chat-cabeza { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: var(--tinta); color: #fff; }
.chat-logo { width: 36px; height: 36px; flex: none; }
.chat-logo .sol { fill: var(--sol); } .chat-logo .ola { fill: none; stroke: #5cc8e0; stroke-width: 3.2; stroke-linecap: round; }
.chat-cabeza h2 { font-size: 1.05rem; letter-spacing: -.01em; }
.chat-cabeza p { font-size: .78rem; opacity: .8; margin-top: .15rem; }
.chat-cerrar { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-cerrar svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
@media (hover: hover) { .chat-cerrar:hover { background: rgb(255 255 255 / .12); } }

.chat-mensajes { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; background: var(--fondo-2); }
.msg { max-width: 85%; padding: .65rem .9rem; border-radius: 18px; font-size: .97rem; line-height: 1.45; overflow-wrap: anywhere; }
.msg-bot { align-self: flex-start; background: var(--tarjeta); border: 1px solid var(--linea); border-bottom-left-radius: 6px; }
.msg-yo { align-self: flex-end; background: var(--tinta); color: #fff; border-bottom-right-radius: 6px; }
.msg a { color: var(--acento-texto); font-weight: 600; }
.msg-escribiendo { display: inline-flex; gap: 4px; padding: .85rem 1rem; }
.msg-escribiendo span { width: 7px; height: 7px; border-radius: 50%; background: var(--tinta-suave); animation: qc-punto 1s infinite var(--curva); }
.msg-escribiendo span:nth-child(2) { animation-delay: .15s; } .msg-escribiendo span:nth-child(3) { animation-delay: .3s; }
@keyframes qc-punto { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .msg-escribiendo span { animation: none; opacity: .6; } }

.chat-sugerencias { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem 1rem 0; background: var(--fondo-2); scrollbar-width: none; }
.chat-sugerencias[hidden] { display: none; }
.chat-sugerencias button { flex: none; min-height: 40px; padding: 0 .9rem; border-radius: 99px; border: 1.5px solid var(--linea-fuerte); background: var(--tarjeta); color: var(--tinta); font: 500 .88rem/1 var(--f-texto); cursor: pointer; }
@media (hover: hover) { .chat-sugerencias button:hover { border-color: var(--agua); } }

.chat-form { display: flex; align-items: flex-end; gap: .5rem; padding: .75rem; padding-bottom: max(.75rem, env(safe-area-inset-bottom)); background: var(--fondo-2); border-top: 1px solid var(--linea); }
.chat-form textarea { flex: 1; resize: none; min-height: 46px; max-height: 120px; padding: .7rem .9rem; border-radius: 16px; border: 1.5px solid var(--linea-fuerte); background: var(--fondo); color: var(--tinta); font: 400 1rem/1.4 var(--f-texto); }
.chat-form button { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--acento); cursor: pointer; display: grid; place-items: center; }
.chat-form button svg { width: 20px; height: 20px; fill: var(--sobre-acento); }
