/* Parque Nahuelito — sitio estático HTML5 */
:root {
  --basalto: #1e2327;
  --basalto-2: #2b3238;
  --ambar: #e48d24;         /* naranja del logo */
  --ambar-claro: #f0a03a;
  --arena: #fcecd9;         /* tono suave del mismo naranja */
  --papel: #f6f6f4;
  --blanco: #ffffff;
  --texto: #20261f;
  --texto-suave: #4a5348;

  --f-titulo: "Alfa Slab One", Georgia, "Times New Roman", serif;
  --f-texto: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ancho: 1120px;
  --ancho-texto: 68ch;
  --radio: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--papel);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--basalto); text-decoration-color: var(--ambar); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--arena); }
:focus-visible { outline: 3px solid var(--basalto); outline-offset: 3px; }

.salto {
  position: absolute; left: -999px; top: 0;
  background: var(--ambar); color: var(--basalto); padding: .6rem 1rem; z-index: 100;
}
.salto:focus { left: 0; }

.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--f-titulo);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--basalto);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

/* ---------- Encabezado ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: var(--blanco);
  border-bottom: 3px solid var(--ambar);
}
.cabecera .contenedor {
  display: flex; align-items: center; gap: .75rem 1rem;
  min-height: 104px;
}
.marca { margin-right: auto; }
.marca img { height: 76px; width: auto; }

.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.menu a {
  display: block; padding: .6rem 1rem; border-radius: var(--radio);
  text-decoration: none; color: var(--basalto); font-weight: 700;
}
.menu a:hover { background: var(--arena); }
.menu a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--ambar); border-radius: 0; }

/* Botón destacado de entradas */
.boton-entradas {
  --perf: var(--ambar);
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ambar); color: var(--basalto);
  font-family: var(--f-titulo); font-size: 1.05rem; letter-spacing: .02em; line-height: 1.1;
  padding: .8rem 1.35rem; border-radius: var(--radio);
  border: 2px solid var(--basalto); box-shadow: 0 4px 0 var(--basalto);
  text-decoration: none; white-space: nowrap;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.boton-entradas:hover { background: var(--ambar-claro); transform: translateY(2px); box-shadow: 0 2px 0 var(--basalto); }
.boton-entradas:active { transform: translateY(4px); box-shadow: 0 0 0 var(--basalto); }

/* Botones de entradas desactivados (venta momentáneamente pausada) */
.boton-entradas.deshabilitado, .boton.deshabilitado {
  background: #d8dbd4; border-color: #9aa196; color: #6b716a;
  box-shadow: none; cursor: not-allowed; pointer-events: none;
}
.boton-entradas.deshabilitado:hover, .boton.deshabilitado:hover { background: #d8dbd4; transform: none; }
.llamado .boton.deshabilitado { background: #d8dbd4; border-color: #9aa196; color: #6b716a; }
.llamado .boton.deshabilitado:hover { background: #d8dbd4; }
.boton-entradas.deshabilitado .ico-entrada, .boton.deshabilitado .ico-entrada { opacity: .6; }

.ico-entrada { flex: none; }
.ico-entrada .perf { stroke: var(--perf, var(--basalto)); }

.menu-boton {
  display: none; background: none; border: 2px solid var(--basalto);
  border-radius: var(--radio); padding: .55rem .8rem; cursor: pointer; color: var(--basalto);
  font: inherit; font-weight: 700;
}

@media (max-width: 900px) {
  .cabecera .contenedor { min-height: 88px; }
  .marca { flex: 1 1 0; min-width: 0; }
  .marca img { height: 56px; width: 100%; max-width: 190px; object-fit: contain; object-position: left center; }
  .menu-boton { display: inline-flex; align-items: center; }
  .boton-entradas { padding: .6rem .9rem; font-size: .95rem; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--blanco); border-bottom: 3px solid var(--ambar); padding: .5rem 1.25rem 1rem; }
  .menu.abierto { display: block; }
  .menu ul { flex-direction: column; }
  .menu a { padding: .85rem 1rem; }
}
@media (max-width: 520px) {
  .boton-entradas .mas { display: none; }
  .boton-entradas > span { text-transform: capitalize; }
}
@media (max-width: 360px) {
  .boton-entradas .ico-entrada { display: none; }
}

/* ---------- Portada (home) ---------- */
.portada {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: clamp(520px, 82vh, 780px);
  background:
    linear-gradient(to top, rgba(20,24,26,.92) 0%, rgba(20,24,26,.62) 36%, rgba(20,24,26,.06) 72%),
    url("../images/parallax-top.jpg") center 30% / cover no-repeat,
    var(--basalto);
  color: var(--blanco);
  padding: 3rem 0 clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.portada .contenedor { display: flex; justify-content: center; }
.marco {
  position: relative; display: inline-block;
  padding: 2rem clamp(1.5rem, 6vw, 4rem);
  --esq: 34px;
}
.marco::before, .marco::after,
.marco > i::before, .marco > i::after {
  content: ""; position: absolute; width: var(--esq); height: var(--esq);
  border: 0 solid var(--ambar);
}
.marco::before { top: 0; left: 0; border-width: 4px 0 0 4px; }
.marco::after { top: 0; right: 0; border-width: 4px 4px 0 0; }
.marco > i::before { bottom: 0; left: 0; border-width: 0 0 4px 4px; }
.marco > i::after { bottom: 0; right: 0; border-width: 0 4px 4px 0; }

.portada h1 {
  color: var(--blanco);
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  letter-spacing: .04em;
  margin: 0 0 .3em;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.portada .bajada { font-size: clamp(1.1rem, 2.6vw, 1.5rem); color: #f1f3ee; margin: 0; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* ---------- Encabezado de página interna ---------- */
.titulo-pagina {
  background: linear-gradient(180deg, var(--basalto-2), var(--basalto));
  color: var(--blanco);
  padding: 2.2rem 0 2.4rem;
  border-bottom: 4px solid var(--ambar);
}
.titulo-pagina h1 { color: var(--blanco); margin: .3rem 0 0; }
.migas ol { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; font-size: .95rem; color: #d3d8cf; }
.migas li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.migas a { color: #e6e9e2; }
.migas a:hover { color: var(--ambar); background: transparent; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.seccion.arena { background: var(--arena); }

.intro { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .intro.con-imagen { grid-template-columns: 5fr 4fr; gap: 3rem; } }
.intro img { border-radius: var(--radio); width: 100%; }
.texto { max-width: var(--ancho-texto); }
.texto .destacado { font-size: 1.2rem; font-weight: 700; color: var(--basalto-2); }

/* Tres atractivos */
.atractivos { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .atractivos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .atractivos { grid-template-columns: repeat(4, 1fr); } }
.atractivo { background: var(--blanco); border-radius: var(--radio); overflow: hidden; border-bottom: 4px solid var(--ambar); }
.atractivo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.atractivo div { padding: 1.25rem 1.4rem 1.5rem; }
.atractivo h3 { margin-bottom: .4em; }
.atractivo p { margin: 0; color: var(--texto-suave); }

/* Llamado final */
.llamado {
  background:
    linear-gradient(rgba(20,24,26,.70), rgba(20,24,26,.70)),
    url("../images/parallax-bottom.jpg") center / cover no-repeat,
    var(--basalto);
  color: var(--blanco); text-align: center; padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}
.llamado h2 { margin-bottom: 1.6rem; color: var(--blanco); text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.llamado h2 span { display: block; color: var(--ambar); }
.llamado .acciones { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* Botones */
.boton {
  --perf: var(--basalto);
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--basalto); color: var(--blanco);
  padding: .8rem 1.5rem; border-radius: var(--radio); font-weight: 800; text-decoration: none;
  border: 2px solid var(--basalto); transition: background .15s, color .15s;
}
.boton:hover { background: var(--ambar); color: var(--basalto); --perf: var(--ambar); }
.boton.contorno { background: transparent; color: var(--basalto); }
.boton.contorno:hover { background: var(--basalto); color: var(--blanco); }
.llamado .boton { background: var(--ambar); border-color: var(--ambar); color: var(--basalto); --perf: var(--ambar); }
.llamado .boton:hover { background: var(--blanco); border-color: var(--blanco); color: var(--basalto); --perf: var(--blanco); }
.llamado .boton.contorno { background: transparent; border-color: var(--blanco); color: var(--blanco); }
.llamado .boton.contorno:hover { background: var(--blanco); color: var(--basalto); }
.llamado .boton:focus-visible { outline-color: var(--blanco); }

/* Sponsors */
.sponsors h2 { text-align: center; font-size: 1.4rem; margin-bottom: 1.5rem; }
.sponsors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; justify-content: center; }
.sponsors li { flex: 0 1 200px; min-width: 140px; }
.sponsors img { width: 100%; height: auto; border-radius: 4px; }

/* Opiniones: Google + TripAdvisor */
#t-opiniones { text-align: center; margin-bottom: 1.5rem; }
.tarjetas-opiniones { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tarjetas-opiniones { grid-template-columns: 1fr 1fr; } }

.tarjeta-opinion {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  background: var(--blanco); border-left: 6px solid var(--ambar); border-radius: var(--radio);
  padding: 1.5rem 1.75rem;
}
.tarjeta-opinion > svg, .tarjeta-opinion > .owl-icono { flex: none; }
.marca-opinion { margin: 0 0 .25em; font-weight: 800; color: var(--basalto); }
.puntaje { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.puntaje .numero { font-family: var(--f-titulo); font-size: 1.5rem; color: var(--basalto); }
.puntaje .estrellas { color: var(--ambar); display: inline-flex; gap: 1px; }
.puntaje .cantidad { color: var(--texto-suave); font-size: .95rem; }
.puntaje-texto { margin: 0; color: var(--texto-suave); }
.tarjeta-opinion .boton { margin-top: auto; align-self: stretch; justify-content: center; }
.boton-ta .ico-ta, .boton-google svg { flex: none; }

.opiniones-widget { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: flex-start; justify-content: center; }
.opiniones-widget:empty { display: none; }
.opiniones-widget .ta-item { max-width: 100%; min-width: 0; overflow: hidden; }
.opiniones-widget ul { list-style: none; margin: 0; padding: 0; }
.opiniones-widget a:hover { background: transparent; }

/* ---------- Galería ---------- */
.grilla { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grilla { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grilla { grid-template-columns: repeat(4, 1fr); } }
.grilla button { display: block; width: 100%; padding: 0; border: 0; background: var(--basalto); border-radius: var(--radio); overflow: hidden; cursor: zoom-in; }
.grilla img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .25s, opacity .25s; }
.grilla button:hover img { transform: scale(1.05); opacity: .9; }
.grilla button:focus-visible { outline-color: var(--ambar); }

dialog.visor {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%;
  color: var(--blanco);
}
dialog.visor::backdrop { background: rgba(15, 18, 20, .93); }
.visor-interior { height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 1rem; }
.visor img { max-width: 100%; max-height: calc(100vh - 6rem); width: auto; object-fit: contain; border-radius: var(--radio); }
.visor-barra { display: flex; gap: .75rem; align-items: center; justify-content: center; padding-top: .75rem; }
.visor-barra button {
  background: var(--basalto-2); color: var(--blanco); border: 2px solid var(--ambar);
  border-radius: var(--radio); padding: .5rem 1rem; font: inherit; font-weight: 700; cursor: pointer;
}
.visor-barra button:hover { background: var(--ambar); color: var(--basalto); }
.visor-barra button:focus-visible { outline-color: var(--ambar); }
.visor-barra span { min-width: 5ch; text-align: center; }

/* ---------- Cómo llegar / Contacto ---------- */
.datos { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .datos { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.mapa { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radio); background: var(--arena); }
.aviso { border-left: 5px solid var(--ambar); background: var(--blanco); padding: 1rem 1.25rem; border-radius: 0 var(--radio) var(--radio) 0; }
address { font-style: normal; }
address p { margin-bottom: .6em; }
.lista-contacto { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.lista-contacto b { color: var(--basalto); }

/* ---------- Pie ---------- */
.pie { background: var(--basalto); color: #d3d8cf; padding: 2.5rem 0 2rem; }
.pie a { color: #f1f3ee; }
.pie a:hover { color: var(--ambar); background: transparent; }
.pie :focus-visible { outline-color: var(--ambar); }
.pie-nav ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; }
.pie small { display: block; text-align: center; }

/* ---------- Redes sociales ---------- */
.logo-pie { width: 150px; height: auto; margin: 0 auto 1.25rem; }
.redes { display: flex; gap: .9rem; justify-content: center; margin-bottom: 1.75rem; }
.redes a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); color: var(--blanco);
  transition: background .15s, color .15s, border-color .15s;
}
.redes a:hover { background: var(--ambar); border-color: var(--ambar); color: var(--basalto); }
.redes svg { width: 24px; height: 24px; }
.lista-contacto .con-icono { display: flex; align-items: center; gap: .6rem; }
.lista-contacto .con-icono svg { width: 22px; height: 22px; flex: none; color: var(--basalto); }

/* ---------- Parallax (solo en pantallas grandes con mouse) ---------- */
@media (max-width: 700px) {
  .portada { background-position: center, 24% 30%, center; }
}
@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .portada, .llamado { background-attachment: scroll, fixed, scroll; }
}
