/* Guata · sitio. Concepto: un día en Ushuaia que avanza al bajar. Fotos reales, letra propia, escalas fijas.
   Las letras, los colores, las escalas y los botones están en marca.css, que se carga antes. */
body { margin: 0; background: var(--fondo); color: var(--tinta); font-family: var(--texto); font-size: var(--t18); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--marca); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t48); line-height: 0.98; }
h2 { font-size: var(--t36); line-height: 1.05; }
h3 { font-size: var(--t24); line-height: 1.15; }
@media (min-width: 720px) { h1 { font-size: var(--t60); } h2 { font-size: var(--t48); } }
@media (min-width: 1100px) { h1 { font-size: var(--t72); } }
p { margin: 0; }
.contenedor { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(var(--e4), env(safe-area-inset-left, 0px)); padding-right: max(var(--e4), env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .contenedor { padding-left: var(--e6); padding-right: var(--e6); } }
.suave { color: var(--tinta-suave); }
.saltar { position: absolute; left: -9999px; top: var(--e2); background: var(--superficie); color: var(--tinta); padding: var(--e2) var(--e3); border-radius: var(--radio-chico); z-index: 30; }
.saltar:focus { left: var(--e2); }

/* ---------- Cabecera: transparente sobre la foto, sólida al bajar ---------- */
.cab { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--sobre-foto); transition: background var(--medio), box-shadow var(--medio), color var(--medio), transform var(--medio) var(--curva); padding-top: env(safe-area-inset-top, 0px); }
/* En el celular la cabecera se va al bajar y vuelve al subir (sitio.js): no tapa lo que se está leyendo. */
.cab.escondida { transform: translateY(-100%); box-shadow: none; }
.cab.solida { background: color-mix(in srgb, var(--fondo) 92%, transparent); color: var(--tinta); box-shadow: var(--sombra-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cab .contenedor { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); height: var(--e8); }
.cab nav { display: flex; align-items: center; gap: var(--e1); }
.cab nav a.enlace { display: none; color: inherit; text-decoration: none; font-size: var(--t16); font-weight: 600; padding: var(--e2) var(--e3); border-radius: var(--pastilla); opacity: 0.9; transition: opacity var(--rapido), background var(--rapido); }
.cab nav a.enlace:hover { opacity: 1; background: hsla(0, 0%, 100%, 0.14); }
.cab.solida nav a.enlace:hover { background: var(--hundido); }
@media (min-width: 900px) { .cab nav a.enlace { display: inline-block; } }

/* ---------- Enlaces con flecha ---------- */
.enlace-flecha { display: inline-flex; align-items: center; gap: var(--e2); color: inherit; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.enlace-flecha:hover { opacity: 0.85; }

/* ---------- Portada ---------- */
.portada { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--sobre-foto); overflow: hidden; isolation: isolate; background: var(--noche); }
.portada-foto { position: absolute; inset: 0; z-index: -2; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform-origin: 60% 50%; animation: acercar 26s ease-in-out infinite alternate; }
@keyframes acercar { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1%, 1%, 0); } }
.portada::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, hsla(210, 80%, 6%, 0.6) 0%, hsla(210, 80%, 6%, 0.55) 45%, hsla(210, 80%, 6%, 0.75) 70%, hsla(210, 80%, 6%, 0.95) 100%); }
.portada .contenedor { display: grid; gap: var(--e7); padding-top: var(--e9); padding-bottom: var(--e7); }
@media (min-width: 1000px) {
  .portada::after { background: linear-gradient(90deg, hsla(210, 80%, 6%, 0.8) 0%, hsla(210, 80%, 6%, 0.35) 55%, hsla(210, 80%, 6%, 0.15) 100%), linear-gradient(180deg, hsla(210, 80%, 6%, 0.5) 0%, transparent 25%); }
  .portada { align-items: center; }
  .portada .contenedor { grid-template-columns: 1fr 400px; align-items: center; gap: var(--e8); padding-bottom: var(--e8); }
}
.lugar { display: inline-flex; align-items: center; gap: var(--e2); font-size: var(--t16); font-weight: 600; color: var(--sobre-foto-suave); margin-bottom: var(--e4); }
.lugar svg { width: 18px; height: 18px; fill: none; stroke: var(--sol); stroke-width: 2; }
.portada h1 { max-width: 9em; }
.portada h1 em { font-style: normal; color: var(--sol); }
.bajada { font-size: var(--t20); line-height: 1.5; color: var(--sobre-foto-suave); max-width: 30em; margin-top: var(--e5); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e5); margin-top: var(--e6); }
.sin-friccion { margin-top: var(--e5); font-size: var(--t16); color: var(--sobre-foto-suave); display: flex; flex-wrap: wrap; gap: var(--e2) var(--e4); }
.sin-friccion span { display: inline-flex; align-items: center; gap: var(--e2); }
.sin-friccion span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--turquesa-claro); }

/* Demo: la app hablando sola */
.demo { width: 100%; max-width: 400px; justify-self: center; background: hsl(200, 40%, 98%); color: hsl(211, 70%, 13%); border-radius: 28px; box-shadow: var(--sombra-5); overflow: hidden; }
.demo-cab { display: flex; align-items: center; gap: var(--e2); padding: var(--e3) var(--e4); background: #fff; border-bottom: 1px solid hsl(204, 30%, 90%); font-weight: 700; }
.demo-cab img { width: 24px; height: 24px; }
.demo-estado { margin-left: auto; display: inline-flex; align-items: center; gap: var(--e2); font-size: var(--t14); font-weight: 600; color: hsl(210, 20%, 34%); }
.demo-estado svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-clima { position: relative; width: 18px; height: 18px; }
.demo-clima svg { position: absolute; inset: 0; transition: opacity var(--medio), transform var(--medio) var(--curva); }
.demo-clima .lluvia { opacity: 0; transform: translateY(-4px); }
.demo.llueve .demo-clima .sol-ico { opacity: 0; transform: translateY(4px); }
.demo.llueve .demo-clima .lluvia { opacity: 1; transform: none; }
.demo-chat { display: flex; flex-direction: column; gap: var(--e2); padding: var(--e4); height: 400px; overflow: hidden; justify-content: flex-end; }
@media (min-width: 1000px) { .demo-chat { height: 460px; } }
.msj { max-width: 86%; padding: var(--e2) var(--e3); border-radius: 18px; font-size: var(--t16); line-height: 1.45; animation: entrar var(--medio) var(--curva) both; }
.msj.yo { align-self: flex-end; background: hsl(184, 79%, 25%); color: #fff; border-bottom-right-radius: var(--e1); }
.msj.guata { align-self: flex-start; background: #fff; border: 1px solid hsl(204, 30%, 90%); border-bottom-left-radius: var(--e1); }
.msj.guata b { color: hsl(184, 79%, 25%); }
.msj.aviso-clima { align-self: center; background: hsl(206, 82%, 94%); color: hsl(207, 92%, 22%); font-size: var(--t14); font-weight: 700; border-radius: var(--pastilla); padding: var(--e1) var(--e3); }
.ficha-mini { margin-top: var(--e2); display: flex; align-items: center; gap: var(--e2); padding: var(--e2); border-radius: var(--radio-chico); background: hsl(200, 40%, 96%); font-size: var(--t14); }
.ficha-mini strong { display: block; color: hsl(211, 70%, 13%); }
.ficha-mini small { color: hsl(152, 50%, 28%); font-weight: 700; }
.ficha-mini img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.escribiendo { align-self: flex-start; display: inline-flex; gap: 4px; padding: var(--e3); background: #fff; border: 1px solid hsl(204, 30%, 90%); border-radius: 18px; border-bottom-left-radius: var(--e1); animation: entrar var(--medio) var(--curva) both; }
.escribiendo i { width: 8px; height: 8px; border-radius: 50%; background: hsl(210, 20%, 60%); animation: punto 1s infinite ease-in-out; }
.escribiendo i:nth-child(2) { animation-delay: 0.15s; } .escribiendo i:nth-child(3) { animation-delay: 0.3s; }
@keyframes punto { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }
@keyframes entrar { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.demo-pie { display: flex; gap: var(--e2); padding: 0 var(--e4) var(--e4); flex-wrap: wrap; }
.demo-pie span { font-size: var(--t14); font-weight: 600; padding: var(--e1) var(--e3); border-radius: var(--pastilla); border: 1px solid hsl(204, 30%, 85%); color: hsl(210, 20%, 34%); background: #fff; transition: background var(--rapido), color var(--rapido), border-color var(--rapido); }
.demo-pie span.tocado { background: hsl(184, 79%, 25%); color: #fff; border-color: transparent; }
.demo-nota { text-align: center; font-size: var(--t12); color: var(--sobre-foto-suave); margin-top: var(--e3); }

/* ---------- Un día con Guata ---------- */
.dia { position: relative; background: var(--noche); color: var(--sobre-foto); }
.dia-intro { padding: var(--e9) 0 var(--e7); }
.dia-intro p { font-size: var(--t20); color: var(--sobre-foto-suave); max-width: 30em; margin-top: var(--e4); }
.dia-cuerpo { position: relative; }
.dia-medios { display: none; }
.paso { position: relative; min-height: 88svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.paso-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.paso::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, hsla(210, 80%, 6%, 0.15) 0%, hsla(210, 80%, 6%, 0.25) 40%, hsla(210, 80%, 6%, 0.92) 100%); }
.paso-texto { padding: var(--e7) max(var(--e4), env(safe-area-inset-left, 0px)) var(--e8); max-width: 640px; }
.hora { display: flex; align-items: baseline; gap: var(--e3); flex-wrap: wrap; margin-bottom: var(--e3); }
.hora strong { font-family: var(--display); font-weight: 800; font-size: var(--t60); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hora span { font-size: var(--t16); font-weight: 700; color: var(--sol); }
.paso h3 { font-size: var(--t30); }
.bocadillo { position: relative; margin-top: var(--e4); background: hsla(0, 0%, 100%, 0.96); color: hsl(211, 70%, 13%); padding: var(--e3) var(--e4); border-radius: 18px; border-top-left-radius: var(--e1); font-size: var(--t16); line-height: 1.5; box-shadow: var(--sombra-4); max-width: 30em; }
.bocadillo b { color: hsl(184, 79%, 25%); }
.bocadillo::before { content: "Guata"; display: block; font-size: var(--t12); font-weight: 700; letter-spacing: 0.04em; color: hsl(210, 20%, 40%); margin-bottom: var(--e1); }
.paso-dato { margin-top: var(--e4); font-size: var(--t16); color: var(--sobre-foto-suave); }
@media (min-width: 1000px) {
  .dia-cuerpo { display: grid; grid-template-columns: 1.15fr 0.85fr; }
  .dia-medios { display: block; position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .dia-medios img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 900ms var(--curva), transform 1600ms var(--curva); }
  .dia-medios img.activa { opacity: 1; transform: scale(1); }
  .dia-medios::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, hsla(210, 70%, 9%, 0.9) 100%); }
  .paso { min-height: 100svh; align-items: center; }
  .paso-foto, .paso::after { display: none; }
  .paso-texto { padding: var(--e8) var(--e7); opacity: 0.35; transform: translateX(16px); transition: opacity var(--lento) var(--curva), transform var(--lento) var(--curva); }
  .paso.activo .paso-texto { opacity: 1; transform: none; }
}

/* ---------- Preguntas que pasan ---------- */
.preguntas { padding: var(--e9) 0; overflow: hidden; }
.preguntas-cab { max-width: 760px; }
.preguntas-cab p { margin-top: var(--e4); font-size: var(--t20); color: var(--tinta-suave); }
.cinta { margin-top: var(--e7); display: grid; gap: var(--e3); }
.cinta-fila { display: flex; width: max-content; gap: var(--e3); animation: correr 48s linear infinite; }
.cinta-fila.al-reves { animation-direction: reverse; animation-duration: 56s; }
.cinta:hover .cinta-fila { animation-play-state: paused; }
@keyframes correr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cinta-fila span { white-space: nowrap; font-size: var(--t20); font-weight: 600; padding: var(--e3) var(--e5); border-radius: var(--pastilla); background: var(--superficie); border: 1px solid var(--linea); box-shadow: var(--sombra-1); }
.cinta-fila span:nth-child(3n) { background: var(--sol-suave); border-color: transparent; }
.cinta-fila span:nth-child(4n) { background: var(--marca-suave); border-color: transparent; }
.ademas { margin-top: var(--e8); display: grid; gap: var(--e6); }
@media (min-width: 900px) { .ademas { grid-template-columns: repeat(3, 1fr); gap: var(--e7); } }
.ademas-item { display: grid; grid-template-columns: auto 1fr; gap: var(--e4); align-items: start; }
.ademas-item svg { width: 32px; height: 32px; fill: none; stroke: var(--marca); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--medio) var(--curva); }
.ademas-item:hover svg { transform: rotate(-8deg) scale(1.1); }
.ademas-item h3 { font-size: var(--t20); margin-bottom: var(--e1); }
.ademas-item p { color: var(--tinta-suave); font-size: var(--t16); }

/* ---------- Alojamientos y comercios ---------- */
.locales { padding: var(--e9) 0; background: var(--superficie); border-top: 1px solid var(--linea); }
.locales .contenedor { display: grid; gap: var(--e7); align-items: start; }
@media (min-width: 1000px) { .locales .contenedor { grid-template-columns: 1fr 1fr; gap: var(--e8); } }
.locales-foto { position: relative; border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; box-shadow: var(--sombra-4); }
.locales-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--curva); }
.locales-foto:hover img { transform: scale(1.04); }
.locales-foto blockquote { position: absolute; inset: auto 0 0; margin: 0; padding: var(--e8) var(--e5) var(--e5); color: #fff; font-family: var(--display); font-weight: 800; font-size: var(--t30); line-height: 1.1; letter-spacing: -0.02em; background: linear-gradient(180deg, transparent, hsla(210, 80%, 6%, 0.85)); }
.locales-texto > p { margin-top: var(--e4); color: var(--tinta-suave); }
.para-quien { margin-top: var(--e6); display: grid; gap: var(--e5); }
.para-quien h3 { font-size: var(--t20); }
.para-quien p { margin-top: var(--e2); color: var(--tinta-suave); font-size: var(--t16); }
.form { margin-top: var(--e7); background: var(--fondo); border: 1px solid var(--linea); border-radius: var(--radio); padding: var(--e5); }
@media (min-width: 720px) { .form { padding: var(--e6); } }
.form h3 { font-size: var(--t24); margin-bottom: var(--e5); }
.fila-campos { display: grid; gap: 0 var(--e4); }
@media (min-width: 720px) { .fila-campos { grid-template-columns: 1fr 1fr; } }
.campo { display: grid; gap: var(--e2); margin-bottom: var(--e4); }
.campo label { font-weight: 700; font-size: var(--t14); }
.campo input, .campo select, .campo textarea { width: 100%; font: inherit; font-size: var(--t16); color: var(--tinta); background: var(--superficie); border: 1.5px solid var(--linea); border-radius: var(--radio-chico); padding: var(--e3) var(--e4); transition: border-color var(--rapido), box-shadow var(--rapido); }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--marca); box-shadow: 0 0 0 4px var(--marca-suave); }
.form .letra-chica { font-size: var(--t14); color: var(--tinta-suave); margin-bottom: var(--e4); }
.senuelo { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.aviso { border-radius: var(--radio-chico); padding: var(--e3) var(--e4); margin-top: var(--e3); font-size: var(--t16); animation: entrar var(--medio) var(--curva); }
.aviso.ok { background: hsl(168, 63%, 90%); color: hsl(211, 70%, 13%); }
.aviso.mal { background: hsl(0, 70%, 95%); color: var(--rojo); }

/* ---------- Quiénes somos: la ruta de Río Grande a Ushuaia ---------- */
.nosotros { padding: var(--e9) 0; background: var(--noche); color: var(--sobre-foto); }
.nosotros .contenedor { display: grid; gap: var(--e7); align-items: center; }
@media (min-width: 1000px) { .nosotros .contenedor { grid-template-columns: 1.1fr 0.9fr; gap: var(--e8); } }
.nosotros-foto { position: relative; isolation: isolate; margin: 0; border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sombra-5); }
.nosotros-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--curva); }
.nosotros-foto:hover img { transform: scale(1.04); }
.nosotros-foto::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 45%, hsla(210, 80%, 6%, 0.88) 100%); pointer-events: none; }
.trayecto { position: absolute; inset: auto 0 0; z-index: 1; padding: var(--e5); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--e2) var(--e3); font-size: var(--t16); font-weight: 700; color: #fff; }
.trayecto .punto { display: inline-flex; align-items: center; gap: var(--e2); }
.trayecto .punto::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sol); box-shadow: 0 0 0 4px hsla(37, 100%, 63%, 0.3); }
.trayecto .linea { position: relative; height: 4px; border-radius: var(--pastilla); background: hsla(0, 0%, 100%, 0.28); overflow: hidden; }
.trayecto .linea i { position: absolute; inset: 0; border-radius: inherit; background: var(--sol); transform-origin: left; }
.animar .trayecto .linea i { transform: scaleX(0); transition: transform 2200ms var(--curva) 400ms; }
.animar .visible .trayecto .linea i { transform: scaleX(1); }
.trayecto small { grid-column: 1 / -1; justify-self: center; font-size: var(--t14); font-weight: 600; color: var(--sobre-foto-suave); }
.nosotros-texto > p { margin-top: var(--e4); font-size: var(--t20); color: var(--sobre-foto-suave); max-width: 30em; }
.personas { margin-top: var(--e6); display: grid; gap: var(--e5); }
.persona { display: grid; grid-template-columns: auto 1fr; gap: var(--e4); align-items: start; padding: var(--e5); border-radius: var(--radio); background: hsla(210, 60%, 16%, 0.9); box-shadow: var(--sombra-3); transition: transform var(--medio) var(--curva); }
.persona:hover { transform: translateY(-3px); }
.persona-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: hsla(37, 100%, 63%, 0.16); color: var(--sol); transition: transform var(--medio) var(--curva); }
.persona:hover .persona-ico { transform: rotate(-8deg) scale(1.08); }
.persona-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.persona .rol { font-size: var(--t14); font-weight: 700; color: var(--sol); }
.persona h3 { font-size: var(--t30); margin: 2px 0 var(--e2); }
.persona p:last-child { font-size: var(--t16); color: var(--sobre-foto-suave); }
.persona a { color: #fff; }

/* ---------- Hoja de ruta: la temporada, con un "estamos acá" que se mueve con la fecha ---------- */
.ruta { padding: var(--e9) 0; background: var(--fondo); }
.ruta-cab { max-width: 760px; }
.ruta-cab p { margin-top: var(--e4); font-size: var(--t20); color: var(--tinta-suave); }
.ruta-pasos { list-style: none; margin: var(--e7) 0 0; padding: 0; position: relative; display: grid; gap: var(--e6); }
.ruta-pasos::before, .ruta-pasos::after { content: ""; position: absolute; left: 11px; top: var(--ini, 12px); width: 3px; height: var(--largo, calc(100% - 24px)); border-radius: var(--pastilla); background: var(--linea); }
.ruta-pasos::after { background: var(--sol); transform-origin: top; transform: scaleY(var(--avance, 0)); transition: transform 1800ms var(--curva) 300ms; }
.animar .ruta-pasos:not(.visible)::after { transform: scaleY(0); }
.paso-ruta { position: relative; padding-left: var(--e7); }
.paso-ruta::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--fondo); border: 3px solid var(--linea); transition: background var(--medio), border-color var(--medio); }
.paso-ruta.pasado::before, .paso-ruta.ahora::before { background: var(--sol); border-color: var(--sol); }
.paso-ruta.ahora::before { animation: latido 2.4s ease-in-out infinite; }
@keyframes latido { 0%, 100% { box-shadow: 0 0 0 0 hsla(37, 100%, 63%, 0.5); } 50% { box-shadow: 0 0 0 10px hsla(37, 100%, 63%, 0); } }
.cuando { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e2); font-size: var(--t14); font-weight: 700; color: var(--sol-texto); line-height: 25px; }
.estamos { display: inline-flex; align-items: center; padding: 0 var(--e2); border-radius: var(--pastilla); background: var(--sol); color: var(--noche); font-size: var(--t12); line-height: 22px; }
.paso-ruta h3 { margin: var(--e2) 0; }
.paso-ruta p:last-child { font-size: var(--t16); color: var(--tinta-suave); max-width: 32em; }
.ruta .acciones { margin-top: var(--e7); }
@media (min-width: 1000px) {
  .ruta-pasos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e5); }
  .ruta-pasos::before, .ruta-pasos::after { left: var(--ini, 12px); top: 11px; width: var(--largo, calc(100% - 24px)); height: 3px; }
  .ruta-pasos::after { transform-origin: left; transform: scaleX(var(--avance, 0)); }
  .animar .ruta-pasos:not(.visible)::after { transform: scaleX(0); }
  .paso-ruta { padding-left: 0; padding-top: var(--e7); }
}

/* ---------- Cierre con el faro ---------- */
.cierre { position: relative; min-height: 80svh; display: grid; align-items: end; color: var(--sobre-foto); isolation: isolate; overflow: hidden; }
.cierre > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cierre::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, hsla(210, 80%, 6%, 0.1) 20%, hsla(210, 80%, 6%, 0.88) 100%); }
.cierre .contenedor { padding-top: var(--e9); padding-bottom: var(--e8); }
.cierre p { margin-top: var(--e4); font-size: var(--t20); color: var(--sobre-foto-suave); max-width: 30em; }
.cierre .acciones { margin-top: var(--e6); }
.guarani { margin-top: var(--e7) !important; font-size: var(--t16) !important; }
.guarani b { color: var(--sol); }

/* ---------- Pie ---------- */
.pie { padding: var(--e7) 0 var(--e8); background: var(--noche); color: var(--sobre-foto-suave); font-size: var(--t16); }
.pie .contenedor { display: flex; flex-wrap: wrap; gap: var(--e5); align-items: center; justify-content: space-between; }
.pie .marca { color: #fff; }
.pie nav { display: flex; flex-wrap: wrap; gap: var(--e2) var(--e5); }
.pie a { color: var(--sobre-foto-suave); text-decoration: none; }
.pie a:hover { color: #fff; }
.pie small { width: 100%; font-size: var(--t12); opacity: 0.8; }

/* ---------- Volver arriba ---------- */
.arriba { position: fixed; right: max(var(--e3), env(safe-area-inset-right, 0px)); bottom: calc(var(--e3) + env(safe-area-inset-bottom, 0px)); z-index: 19; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sol); color: var(--noche); box-shadow: var(--sombra-4); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(24px) scale(0.9); pointer-events: none; transition: opacity var(--medio), transform var(--medio) var(--curva); }
.arriba.visible { opacity: 1; transform: none; pointer-events: auto; }
.arriba:hover { transform: translateY(-3px); }
.arriba svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Entradas al bajar (sin JS, todo visible) ---------- */
.animar .revelar { opacity: 0; transform: translateY(32px); transition: opacity var(--lento) var(--curva), transform var(--lento) var(--curva); transition-delay: calc(var(--orden, 0) * 90ms); }
.animar .revelar.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .animar .revelar { opacity: 1; transform: none; }
  .cinta-fila { flex-wrap: wrap; width: auto; }
  .cinta-fila[aria-hidden="true"] { display: none; }
}

/* ---------- Encuesta ---------- */
.encuesta-cab { position: relative; isolation: isolate; overflow: hidden; color: var(--sobre-foto); padding: var(--e5) 0 var(--e7); background: var(--noche); }
.encuesta-cab > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.encuesta-cab::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, hsla(210, 80%, 6%, 0.45), hsla(210, 80%, 6%, 0.88)); }
.encuesta-cab .marca { color: #fff; }
.encuesta-cab h1 { font-size: var(--t36); line-height: 1.05; margin-top: var(--e7); }
@media (min-width: 720px) { .encuesta-cab h1 { font-size: var(--t48); } }
.encuesta-cab .bajada { color: var(--sobre-foto-suave); }
.estrecho { max-width: 760px; }
.fila-cab { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); }
.idiomas { display: inline-flex; gap: var(--e1); background: hsla(0, 0%, 100%, 0.14); border-radius: var(--pastilla); padding: var(--e1); }
.idiomas button { font: inherit; font-size: var(--t14); font-weight: 700; min-width: 44px; min-height: 36px; border: 0; background: transparent; color: #fff; border-radius: var(--pastilla); padding: 0 var(--e3); cursor: pointer; transition: background var(--rapido), color var(--rapido); }
.idiomas button[aria-pressed="true"] { background: #fff; color: var(--noche); }
.pregunta { border: 1px solid var(--linea); background: var(--superficie); border-radius: var(--radio); padding: var(--e5) var(--e4); margin: 0 0 var(--e4); box-shadow: var(--sombra-1); }
@media (min-width: 720px) { .pregunta { padding: var(--e5) var(--e6); } }
.pregunta legend { font-family: var(--display); font-weight: 700; font-size: var(--t20); line-height: 1.3; letter-spacing: -0.01em; padding: 0; margin-bottom: var(--e1); float: left; width: 100%; }
.pregunta legend + * { clear: both; }
.pregunta .ayuda { color: var(--tinta-suave); font-size: var(--t14); margin: 0 0 var(--e3); clear: both; padding-top: var(--e1); }
.opciones { display: grid; gap: var(--e2); margin-top: var(--e3); }
.opcion { display: flex; align-items: center; gap: var(--e3); min-height: var(--e7); padding: var(--e3) var(--e4); border: 1.5px solid var(--linea); border-radius: var(--radio-chico); cursor: pointer; background: var(--fondo); font-size: var(--t16); line-height: 1.4; transition: border-color var(--rapido), background var(--rapido), transform var(--rapido) var(--curva); }
.opcion:hover { border-color: var(--marca); }
.opcion:active { transform: scale(0.99); }
.opcion input { width: 20px; height: 20px; margin: 0; accent-color: var(--marca); flex: none; }
.opcion:has(input:checked) { border-color: var(--marca); background: var(--marca-suave); }
.opcion:has(input:disabled) { opacity: 0.4; cursor: not-allowed; }
.pregunta textarea, .pregunta input[type="text"] { width: 100%; font: inherit; font-size: var(--t16); color: var(--tinta); background: var(--fondo); border: 1.5px solid var(--linea); border-radius: var(--radio-chico); padding: var(--e3) var(--e4); margin-top: var(--e3); }
.pregunta textarea:focus, .pregunta input[type="text"]:focus { outline: none; border-color: var(--marca); box-shadow: 0 0 0 4px var(--marca-suave); }
.pregunta textarea { min-height: 96px; resize: vertical; }
.bloque-titulo { font-size: var(--t24); margin: var(--e7) 0 var(--e4); }
.progreso { height: 8px; background: hsla(0, 0%, 100%, 0.2); border-radius: var(--pastilla); overflow: hidden; margin-top: var(--e5); }
.progreso span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--sol); transition: transform var(--medio) var(--curva); }
.enviar-zona { position: sticky; bottom: 0; padding: var(--e3) 0 calc(var(--e3) + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--fondo) 32%); }
.enviar-zona .btn { width: 100%; }
.gracias { text-align: center; padding: var(--e8) 0 var(--e5); animation: entrar var(--lento) var(--curva); }
.gracias img { width: 96px; height: 96px; margin: 0 auto var(--e4); }
.gracias h2 { margin-bottom: var(--e3); }
.gracias .bajada { margin: 0 auto var(--e4); color: var(--tinta-suave); }
.gracias .suave { max-width: 32em; margin: 0 auto var(--e5); }
.pie-encuesta { padding: var(--e6) 0 var(--e7); font-size: var(--t14); color: var(--tinta-suave); }
.pie-encuesta .contenedor { display: flex; justify-content: space-between; align-items: center; gap: var(--e4); }
.pie-encuesta .marca { color: var(--tinta); font-size: var(--t20); }
.pie-encuesta .marca img { width: 28px; height: 28px; }

/* ---------- Aviso de medición (sin la palabra que filtran los bloqueadores en el selector) ---------- */
.aviso-medicion { position: fixed; z-index: 25; left: max(var(--e3), env(safe-area-inset-left, 0px)); right: max(var(--e3), env(safe-area-inset-right, 0px)); bottom: calc(var(--e3) + env(safe-area-inset-bottom, 0px)); max-width: 640px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--e3) var(--e4); padding: var(--e4); border-radius: var(--radio); background: var(--noche); color: var(--sobre-foto-suave); box-shadow: var(--sombra-5); font-size: var(--t14); line-height: 1.5; animation: entrar var(--medio) var(--curva) both; }
.aviso-medicion p { flex: 1 1 260px; min-width: 0; }
.aviso-medicion a { color: #fff; }
.aviso-medicion-btns { display: flex; gap: var(--e2); flex: none; }

/* ---------- 404: perdido, pero en Ushuaia ---------- */
.error { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; color: var(--sobre-foto); background: var(--noche); }
.error-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: acercar 26s ease-in-out infinite alternate; }
.error::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, hsla(210, 80%, 6%, 0.5) 0%, hsla(210, 80%, 6%, 0.55) 35%, hsla(210, 80%, 6%, 0.94) 100%); }
.error-int { min-height: 100svh; display: flex; flex-direction: column; gap: var(--e6); padding-top: calc(var(--e4) + env(safe-area-inset-top, 0px)); padding-bottom: var(--e6); }
.error .marca { color: #fff; }
.error-texto { margin-top: auto; max-width: 960px; }
.error h1 { max-width: 12em; }
.error .bajada { color: var(--sobre-foto-suave); }
.error .credito { color: var(--sobre-foto-suave); }
.brujula { display: block; width: 64px; height: 64px; margin-bottom: var(--e4); fill: none; stroke: var(--sol); stroke-width: 2; }
.brujula .norte, .brujula .centro { fill: var(--sol); }
.brujula .aguja { transform-origin: 24px 24px; animation: buscar-norte 3.6s var(--curva) both; }
@keyframes buscar-norte { 0% { transform: rotate(-150deg); } 30% { transform: rotate(90deg); } 55% { transform: rotate(-45deg); } 75% { transform: rotate(18deg); } 90% { transform: rotate(-6deg); } 100% { transform: rotate(0deg); } }
.salidas { margin-top: var(--e6); display: grid; gap: var(--e3); }
@media (min-width: 720px) { .salidas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.salida { display: flex; align-items: center; gap: var(--e3); padding: var(--e4); border-radius: var(--radio); background: hsla(210, 60%, 16%, 0.88); color: #fff; text-decoration: none; box-shadow: var(--sombra-3); transition: transform var(--medio) var(--curva), background var(--rapido); animation: entrar var(--lento) var(--curva) both; }
.salida:nth-child(2) { animation-delay: 90ms; } .salida:nth-child(3) { animation-delay: 180ms; }
.salida:hover { transform: translateY(-3px); background: hsla(210, 60%, 22%, 0.92); }
.salida svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--sol); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--medio) var(--curva); }
.salida:hover svg { transform: rotate(-8deg) scale(1.08); }
.salida b { display: block; font-size: var(--t18); }
.salida small { display: block; font-size: var(--t14); color: var(--sobre-foto-suave); }
.salida-sol { background: var(--sol); color: var(--noche); }
.salida-sol:hover { background: hsl(37, 100%, 70%); }
.salida-sol svg { stroke: var(--noche); }
.salida-sol small { color: hsl(30, 70%, 20%); }
.error-en { margin-top: var(--e5); font-size: var(--t14); color: var(--sobre-foto-suave); }
.error-en a { color: #fff; }

/* ---------- Fotos reales de los dos (las pone scripts/fotos-equipo.mjs; mientras no estén, el hueco no se ve) ---------- */
span.foto-equipo { display: none; }
.nosotros-medios { position: relative; }
img.foto-equipo.retrato { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sol); box-shadow: var(--sombra-3); }
.persona:has(img.foto-equipo) .persona-ico { display: none; }
img.foto-equipo.juntos { position: absolute; z-index: 2; top: calc(-1 * var(--e5)); right: var(--e3); width: 46%; max-width: 320px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid #fff; border-radius: var(--radio-chico); box-shadow: var(--sombra-5); transform: rotate(3deg); transition: transform var(--medio) var(--curva); }
img.foto-equipo.juntos:hover { transform: rotate(0deg) scale(1.03); }
@media (min-width: 1000px) { img.foto-equipo.juntos { right: calc(-1 * var(--e5)); top: calc(-1 * var(--e6)); width: 44%; } }

/* ---------- Página para empresas (/empresas) ---------- */
.portada-empresas { min-height: 86svh; }
.portada-empresas h1 { max-width: 13em; }

.problema { padding: var(--e9) 0; background: var(--superficie); }
.problema .contenedor { display: grid; gap: var(--e7); }
@media (min-width: 1000px) { .problema .contenedor { grid-template-columns: 1.3fr 1fr; gap: var(--e8); align-items: end; } }
.problema-grande { margin-top: var(--e5); font-family: var(--display); font-weight: 700; font-size: var(--t30); line-height: 1.2; letter-spacing: -0.015em; text-wrap: pretty; }
@media (min-width: 720px) { .problema-grande { font-size: var(--t36); } }
.problema-grande em { font-style: normal; color: var(--sol-texto); }
.problema-dos { border-left: 3px solid var(--sol); padding-left: var(--e5); }
.problema-dos h3 { font-size: var(--t24); margin-bottom: var(--e3); }
.problema-dos p + p { margin-top: var(--e3); font-size: var(--t16); }

.damos { padding: var(--e9) 0; background: var(--fondo); }
.damos-cuerpo { margin-top: var(--e6); display: grid; gap: var(--e7); align-items: start; }
@media (min-width: 1000px) { .damos-cuerpo { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--e8); } }
.selector { display: inline-flex; flex-wrap: wrap; gap: var(--e1); padding: var(--e1); background: var(--hundido); border-radius: var(--radio); }
.selector button { font: inherit; font-size: var(--t16); font-weight: 700; min-height: 44px; padding: 0 var(--e4); border: 0; border-radius: var(--pastilla); background: transparent; color: var(--tinta-suave); cursor: pointer; transition: background var(--rapido), color var(--rapido), box-shadow var(--rapido); }
.selector button:hover { color: var(--tinta); }
.selector button[aria-selected="true"] { background: var(--superficie); color: var(--tinta); box-shadow: var(--sombra-1); }
.panel { margin-top: var(--e5); animation: entrar var(--medio) var(--curva) both; }
.panel h3 { font-size: var(--t24); margin-bottom: var(--e4); }
.panel + .panel { margin-top: var(--e6); }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e3); max-width: 34em; }
.lista-check li { position: relative; padding-left: var(--e6); }
.lista-check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--sol-suave); }
.lista-check li::after { content: ""; position: absolute; left: 7px; top: 10px; width: 8px; height: 5px; border-left: 2px solid var(--sol-texto); border-bottom: 2px solid var(--sol-texto); transform: rotate(-45deg); }
.para-todos { margin-top: var(--e6); display: grid; grid-template-columns: auto 1fr; gap: var(--e3); align-items: start; padding: var(--e4) var(--e5); background: var(--marca-suave); border-radius: var(--radio); font-size: var(--t16); max-width: 40em; }
.para-todos svg { width: 28px; height: 28px; fill: none; stroke: var(--marca); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* La muestra: cómo ve el viajero a cada tipo de negocio, con la misma cara que la demo de la portada */
.muestra { width: 100%; max-width: 400px; justify-self: center; background: hsl(200, 40%, 98%); color: hsl(211, 70%, 13%); border-radius: var(--radio-grande); box-shadow: var(--sombra-5); overflow: hidden; }
.muestra-cab { display: flex; align-items: center; gap: var(--e2); padding: var(--e3) var(--e4); background: #fff; border-bottom: 1px solid hsl(204, 30%, 90%); font-weight: 700; font-size: var(--t16); }
.muestra-cab img { width: 24px; height: 24px; }
.muestra-cab span { margin-left: auto; font-size: var(--t14); font-weight: 600; color: hsl(210, 20%, 34%); }
.muestra-cuerpo { display: flex; flex-direction: column; gap: var(--e3); padding: var(--e4); min-height: 320px; animation: entrar var(--medio) var(--curva) both; }
.muestra-etiqueta { font-size: var(--t14); font-weight: 600; color: hsl(210, 20%, 34%); }
.muestra-titulo { margin-top: calc(-1 * var(--e2)); font-family: var(--display); font-weight: 800; font-size: var(--t24); line-height: 1.1; letter-spacing: -0.02em; }
.muestra-estado { font-size: var(--t14); font-weight: 700; color: hsl(152, 50%, 28%); }
.muestra-texto { font-size: var(--t16); line-height: 1.5; }
.muestra-filas { margin: 0; background: #fff; border: 1px solid hsl(204, 30%, 90%); border-radius: var(--radio-chico); }
.muestra-filas div { display: grid; grid-template-columns: 40% 1fr; gap: var(--e2); padding: var(--e2) var(--e3); border-top: 1px solid hsl(204, 30%, 90%); font-size: var(--t14); line-height: 1.4; }
.muestra-filas div:first-child { border-top: 0; }
.muestra-filas dt { font-weight: 700; color: hsl(210, 20%, 34%); }
.muestra-filas dd { margin: 0; }
.muestra-boton { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--e4); border-radius: var(--pastilla); background: hsl(207, 92%, 22%); color: #fff; font-size: var(--t14); font-weight: 700; }
.muestra-boton.sol { align-self: auto; background: var(--sol); color: var(--noche); }
.muestra-reserva { background: #fff; border: 1px solid hsl(204, 30%, 90%); border-radius: var(--radio-chico); padding: var(--e3); display: grid; gap: var(--e2); font-size: var(--t16); }
.muestra-operador { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); }
.muestra-operador small { display: block; font-size: var(--t12); color: hsl(210, 20%, 34%); }
.muestra-nota { padding: 0 var(--e4) var(--e4); font-size: var(--t12); color: hsl(210, 20%, 34%); }

.sumarse { padding: var(--e9) 0; background: var(--superficie); }
.pasos-sumarse { list-style: none; margin: var(--e6) 0 0; padding: 0; display: grid; gap: var(--e5); }
@media (min-width: 900px) { .pasos-sumarse { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e6); } }
.pasos-sumarse li { display: grid; grid-template-columns: auto 1fr; gap: var(--e4); align-items: start; }
.pasos-sumarse p { padding-top: var(--e2); }
.numero { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sol); color: var(--noche); font-family: var(--display); font-weight: 800; font-size: var(--t24); box-shadow: 0 8px 24px hsla(37, 100%, 50%, 0.3); }
.animar .pasos-sumarse .numero { transform: scale(0.6); opacity: 0; transition: transform var(--lento) var(--curva), opacity var(--lento); }
.animar .pasos-sumarse.visible .numero { transform: none; opacity: 1; }
.animar .pasos-sumarse.visible li:nth-child(2) .numero { transition-delay: 160ms; }
.animar .pasos-sumarse.visible li:nth-child(3) .numero { transition-delay: 320ms; }

.condiciones { padding: var(--e9) 0; background: var(--noche); color: var(--sobre-foto); }
.condiciones-lista { list-style: none; margin: var(--e6) 0 0; padding: 0; display: grid; gap: var(--e4); }
@media (min-width: 720px) { .condiciones-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .condiciones-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.condiciones-lista li { display: grid; grid-template-columns: auto 1fr; gap: var(--e4); align-items: start; padding: var(--e5); border-radius: var(--radio); background: hsla(210, 60%, 16%, 0.9); box-shadow: var(--sombra-3); }
.condiciones-lista svg { width: 32px; height: 32px; fill: none; stroke: var(--sol); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--medio) var(--curva); }
.condiciones-lista li:hover svg { transform: rotate(-8deg) scale(1.1); }
.condiciones-lista h3 { font-size: var(--t20); margin-bottom: var(--e1); }
.condiciones-lista p { font-size: var(--t16); color: var(--sobre-foto-suave); }

.faq-empresas { padding: var(--e9) 0; background: var(--fondo); }
.faq-lista { margin-top: var(--e6); display: grid; gap: var(--e3); }
.faq-lista details { background: var(--superficie); border: 1.5px solid var(--linea); border-radius: var(--radio); padding: var(--e4) var(--e5); box-shadow: var(--sombra-1); transition: border-color var(--rapido); }
.faq-lista details[open] { border-color: var(--marca); }
.faq-lista summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--e3); font-family: var(--display); font-weight: 700; font-size: var(--t20); line-height: 1.3; }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: -6px; border-right: 2.5px solid var(--marca); border-bottom: 2.5px solid var(--marca); transform: rotate(45deg); transition: transform var(--medio) var(--curva), margin var(--medio); }
.faq-lista details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-lista details p { margin-top: var(--e3); color: var(--tinta-suave); font-size: var(--t16); }

.cierre-empresas::after { background: linear-gradient(180deg, hsla(210, 80%, 6%, 0.35) 0%, hsla(210, 80%, 6%, 0.9) 55%); }
.cierre-empresas .contenedor { display: grid; gap: var(--e6); padding-top: var(--e9); padding-bottom: var(--e8); }
@media (min-width: 1000px) { .cierre-empresas .contenedor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: var(--e8); } }
.cierre-texto a { color: #fff; }
.form-sobre-foto { margin-top: 0; background: var(--superficie); color: var(--tinta); border: 0; box-shadow: var(--sombra-5); }
.mas-empresas { margin-top: var(--e5); }
.portada-empresas h1 { font-size: var(--t36); }
@media (min-width: 720px) { .portada-empresas h1 { font-size: var(--t48); } }
@media (min-width: 1100px) { .portada-empresas h1 { font-size: var(--t60); } }
.pdf-propuesta { margin-top: var(--e5); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--e2) var(--e3); }
.pdf-propuesta span { font-size: var(--t14); color: var(--sobre-foto-suave); }

/* ---------- Nos respalda (avales con permiso: hoy solo Tech del Fuego) ---------- */
.aval { margin-top: var(--e5); padding: var(--e4) var(--e5); border-radius: var(--radio); border: 1.5px solid hsla(37, 100%, 63%, 0.45); display: grid; gap: var(--e1); }
.aval-rotulo { font-size: var(--t14); font-weight: 700; color: var(--sol); }
.aval-nombre { font-family: var(--display); font-weight: 800; font-size: var(--t24); letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.aval-nombre:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.aval p:last-child { font-size: var(--t16); color: var(--sobre-foto-suave); }

/* ---------- Fotos de viajes de los dos (las pone scripts/fotos-equipo.mjs; vacío, no se ve) ---------- */
.nosotros .contenedor.viajes { display: block; margin-top: var(--e8); }
.viajes:has(.viajes-fotos:empty) { display: none; }
.viajes h3 { font-size: var(--t30); max-width: 18em; }
.viajes-fotos { margin-top: var(--e5); display: flex; gap: var(--e4); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: var(--e4) var(--e1) var(--e5); }
.viajes-fotos::-webkit-scrollbar { display: none; }
.viaje { flex: 0 0 auto; width: min(68vw, 260px); margin: 0; padding: var(--e2) var(--e2) var(--e3); background: #fff; border-radius: 6px; box-shadow: var(--sombra-4); scroll-snap-align: center; transform: rotate(var(--giro, -2deg)); transition: transform var(--medio) var(--curva); }
.viaje:nth-child(even) { --giro: 2deg; }
.viaje:hover { transform: rotate(0deg) translateY(-4px); }
.viaje img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.viaje figcaption { margin-top: var(--e2); font-size: var(--t14); font-weight: 600; text-align: center; color: hsl(211, 70%, 13%); }
@media (min-width: 1000px) {
  .viajes-fotos { overflow: visible; justify-content: center; padding-inline: var(--e5); }
  .viaje { width: 220px; }
  .viaje + .viaje { margin-left: calc(-1 * var(--e5)); }
  .viaje:hover { z-index: 1; }
}

/* Sobre la foto de la portada, el menú lleva una sombra leve para leerse sobre el cielo y las nubes. */
.cab:not(.solida) nav a.enlace, .cab:not(.solida) .marca { text-shadow: 0 1px 10px hsla(210, 80%, 6%, 0.55); }

/* ---------- Página Nosotros (/nosotros): la idea, cómo salió, el plan y quiénes somos ---------- */
.nos-portada { position: relative; overflow: hidden; background: var(--noche); color: var(--sobre-foto); padding-top: calc(var(--e8) + var(--e7) + env(safe-area-inset-top, 0px)); padding-bottom: var(--e9); }
.nos-portada .contenedor { display: grid; gap: var(--e7); align-items: center; }
@media (min-width: 1000px) { .nos-portada .contenedor { grid-template-columns: 1.1fr 0.9fr; gap: var(--e8); } }
.nos-portada h1 { max-width: 9em; }
.nos-portada h1 em { font-style: normal; color: var(--sol); }
.nos-portada .bajada { color: var(--sobre-foto-suave); }
/* Tres fotos de viaje que se abren en abanico al cargar (sin movimiento: quedan abiertas) */
.polaroids { position: relative; width: 100%; max-width: 420px; height: 380px; justify-self: center; }
.polaroids img { position: absolute; width: 56%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 8px solid #fff; border-bottom-width: 28px; border-radius: 4px; box-shadow: var(--sombra-5); }
.polaroids img:nth-child(1) { left: 0; top: 34px; transform: rotate(-9deg); animation: abanico-izq 1100ms var(--curva) 250ms both; }
.polaroids img:nth-child(2) { right: 0; top: 4px; transform: rotate(8deg); animation: abanico-der 1100ms var(--curva) 250ms both; }
.polaroids img:nth-child(3) { left: 22%; top: 62px; transform: rotate(-1deg); z-index: 1; }
@keyframes abanico-izq { from { transform: translate(38%, 24px) rotate(-1deg); } }
@keyframes abanico-der { from { transform: translate(-38%, 54px) rotate(-1deg); } }

.origen { padding: var(--e9) 0; background: var(--fondo); }
.origen-texto { max-width: 800px; }
.origen-grande { margin-top: var(--e5); font-family: var(--display); font-weight: 700; font-size: var(--t24); line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; }
@media (min-width: 720px) { .origen-grande { font-size: var(--t30); } }
.origen-texto > p + p { margin-top: var(--e4); color: var(--tinta-suave); max-width: 36em; }
.guarani-nos { font-size: var(--t16); }
.guarani-nos b { color: var(--sol-texto); }
.origen .contenedor.viajes { margin-top: var(--e7); }
.origen .viajes h3 { font-size: var(--t20); color: var(--tinta-suave); }

.idea { padding: var(--e9) 0; background: var(--noche); color: var(--sobre-foto); }
.frase { margin: var(--e5) 0 0; font-family: var(--display); font-weight: 800; font-size: var(--t36); line-height: 1.05; letter-spacing: -0.03em; max-width: 15em; color: var(--sol); text-wrap: balance; }
@media (min-width: 720px) { .frase { font-size: var(--t48); } }
@media (min-width: 1100px) { .frase { font-size: var(--t60); } }
.idea-bajada { margin-top: var(--e5); font-size: var(--t20); color: var(--sobre-foto-suave); max-width: 32em; }
.idea-bajada b { color: #fff; }
.principios { list-style: none; margin: var(--e7) 0 0; padding: 0; display: grid; gap: var(--e4); }
@media (min-width: 720px) { .principios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .principios { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.principios li { padding: var(--e5); border-radius: var(--radio); background: hsla(210, 60%, 16%, 0.9); box-shadow: var(--sombra-3); border-top: 3px solid var(--sol); }
.principios h3 { font-size: var(--t20); margin-bottom: var(--e2); }
.principios p { font-size: var(--t16); color: var(--sobre-foto-suave); }

.plan { padding: var(--e9) 0; background: var(--superficie); }
.plan-bajada { margin-top: var(--e4); font-size: var(--t20); color: var(--tinta-suave); max-width: 34em; }
.plan-pasos { list-style: none; margin: var(--e7) 0 0; padding: 0; display: grid; gap: var(--e6); position: relative; }
/* La línea va de Ushuaia hacia lo que sigue y se dibuja al llegar */
.plan-pasos::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 3px; border-radius: var(--pastilla); background: linear-gradient(180deg, var(--sol), var(--linea)); transform-origin: top; transition: transform 1400ms var(--curva) 200ms; }
.animar .plan-pasos:not(.visible)::before { transform: scaleY(0); }
.plan-paso { position: relative; padding-left: var(--e7); }
.plan-paso::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--superficie); border: 3px solid var(--linea); }
.plan-paso.hoy::before { background: var(--sol); border-color: var(--sol); animation: latido 2.4s ease-in-out infinite; }
/* Las ciudades confirmadas: anillo de sol con un punto adentro; lo imaginado queda gris */
.plan-paso.confirmada::before { border-color: var(--sol); background: radial-gradient(circle, var(--sol) 0 4px, var(--superficie) 5px); }
.plan-paso .cuando { font-size: var(--t14); font-weight: 700; color: var(--sol-texto); line-height: 25px; }
.plan-paso:not(.hoy):not(.confirmada) .cuando { color: var(--tinta-suave); }
.plan-paso h3 { font-size: var(--t24); margin: var(--e1) 0 var(--e2); }
.plan-paso p:last-child { font-size: var(--t16); color: var(--tinta-suave); max-width: 32em; }
@media (min-width: 1000px) {
  .plan-pasos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e6); }
  .plan-pasos::before { left: 12px; right: 12px; top: 11px; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, var(--sol) 0 72%, var(--linea)); transform-origin: left; }
  .animar .plan-pasos:not(.visible)::before { transform: scaleX(0); }
  .plan-paso { padding-left: 0; padding-top: var(--e7); }
}

/* En /nosotros, Quiénes somos va sin la foto de la ruta (esa queda en la portada): los dos lado a lado */
@media (min-width: 1000px) {
  .nosotros.equipo .contenedor { grid-template-columns: minmax(0, 1fr); }
  .nosotros.equipo .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nosotros.equipo .aval { max-width: 36em; }
}
