/*
 * Vitrina pública de Regenerative Expeditions (en inglés). Colores de
 * regenerativeexpeditions.org y de su logo: azul noche, oro, coral y oliva.
 * Fotos grandes, mucho aire y el impacto en el territorio bien visible.
 * Sin estilos en línea ni recursos de terceros (CSP y sin cookies).
 */
:root {
  --noche: #0b2239;
  --noche-2: #12304d;
  --oro: #e2b23c;
  --coral: #e8636f;
  --oliva: #a4b55e;
  --oliva-fondo: #f3f5ea;
  --accion: #175466;
  --accion-hover: #10404e;
  --papel: #fbfaf6;
  --linea: #e6e4dc;
  --texto: #18222b;
  --texto-2: #57616b;
  --radio: 16px;
  --fuente: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@font-face {
  font-family: 'Quicksand'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/quicksand-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quicksand'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/quicksand-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }
body.vt { margin: 0; background: var(--papel); color: var(--texto); font-family: var(--fuente); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.vt a { color: var(--accion); font-weight: 600; text-underline-offset: 3px; }
.vt a:hover { color: var(--accion-hover); }
.vt h1, .vt h2 { line-height: 1.2; font-weight: 600; letter-spacing: -.01em; margin: 0 0 14px; }
.vt h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.vt h2 { font-size: 1.3rem; margin-top: 28px; }
.vt img { max-width: 100%; }
.vt-contenedor { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.vt-estrecho { max-width: 720px; padding-top: 32px; padding-bottom: 48px; }
.vt-suave { color: var(--texto-2); font-weight: 400; }
.vt-saltar { position: absolute; left: -999px; }
.vt-saltar:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 60; }
.vt-previa { background: var(--oro); color: var(--noche); text-align: center; font-weight: 700; padding: 8px 16px; font-size: .9rem; }

/* Cabecera y pie */
.vt-cabecera { background: var(--noche); color: #fff; }
.vt-cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.vt-marca { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; line-height: 1.25; }
.vt-marca img { border-radius: 50%; }
.vt-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.vt-nav a { color: #e6ebf0; text-decoration: none; font-size: .95rem; }
.vt-nav a:hover { color: var(--oro); }
.vt-pie { background: var(--noche); color: #c9d2db; margin-top: 64px; padding: 32px 0; font-size: .92rem; }
.vt-pie a { color: #fff; }

/* Portada */
.vt-portada { background: linear-gradient(160deg, var(--noche) 0%, var(--noche-2) 70%, #1d4a5b 100%); color: #fff; padding: 56px 0 64px; margin-bottom: 32px; }
.vt-portada h1 { max-width: 16ch; }
.vt-portada p { max-width: 60ch; color: #dde4ea; font-size: 1.08rem; }

/* Botones y formularios */
.vt-btn { display: inline-block; background: var(--oro); color: var(--noche) !important; border: 0; border-radius: 999px; padding: 12px 24px; font: 700 .95rem var(--fuente); letter-spacing: .03em; text-decoration: none; cursor: pointer; }
.vt-btn:hover { background: #ebc35e; }
.vt-btn[disabled] { opacity: .5; cursor: not-allowed; }
.vt-btn-secundario { background: transparent; color: var(--accion) !important; box-shadow: inset 0 0 0 1.5px var(--accion); }
.vt-btn-secundario:hover { background: rgba(23, 84, 102, .06); }
.vt-formulario label { display: block; font-weight: 600; font-size: .92rem; margin: 12px 0 4px; }
.vt-formulario input[type=text], .vt-formulario input[type=email], .vt-formulario input[type=number], .vt-formulario input[type=date], .vt-formulario select, .vt-formulario textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: 9px 12px; border: 1px solid #cfd3cb; border-radius: 10px; background: #fff; color: var(--texto);
}
.vt-formulario fieldset { border: 0; padding: 0; margin: 0; }
.vt-formulario legend { font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.vt-formulario label.vt-opcion { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.vt-opcion input { margin-top: 5px; }
.vt-formulario .vt-btn { margin-top: 16px; width: 100%; }
.vt-fechas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vt-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vt-error { background: #fbeeec; color: #8c2a1d; padding: 10px 14px; border-radius: 10px; }
.vt-filtros { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 24px; }
.vt-filtros label { font-weight: 600; font-size: .9rem; }
.vt-filtros select { font: inherit; padding: 7px 10px; border-radius: 10px; border: 1px solid #cfd3cb; background: #fff; }

/* Tarjetas */
.vt-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.vt-tarjeta { display: flex; flex-direction: column; background: #fff; border-radius: var(--radio); overflow: hidden; text-decoration: none; color: var(--texto) !important; font-weight: 400 !important;
  box-shadow: 0 1px 2px rgba(11, 34, 57, .05), 0 10px 30px rgba(11, 34, 57, .07); transition: transform .2s ease, box-shadow .2s ease; }
.vt-tarjeta:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(11, 34, 57, .05), 0 16px 40px rgba(11, 34, 57, .12); }
.vt-tarjeta img, .vt-tarjeta-sinfoto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--oliva-fondo); display: block; }
.vt-tarjeta-cuerpo { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.vt-tarjeta-cuerpo strong { font-size: 1.12rem; line-height: 1.3; }
.vt-etiqueta { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5e6b2a; background: var(--oliva-fondo); padding: 3px 10px; border-radius: 999px; }
.vt-vacio { text-align: center; padding: 48px 16px; background: #fff; border-radius: var(--radio); }

/* Experiencia */
.vt-experiencia { padding-top: 24px; }
.vt-migas { font-size: .9rem; color: var(--texto-2); }
.vt-dos { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 20px; }
@media (max-width: 860px) { .vt-dos { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.vt-entradilla { font-size: 1.15rem; color: var(--texto); }
.vt-impacto { background: var(--oliva-fondo); border-radius: var(--radio); padding: 20px 24px; margin: 28px 0; }
.vt-impacto h2 { margin-top: 0; color: #4a5620; }
.vt-caja { background: #fff; border-radius: var(--radio); padding: 20px 22px; box-shadow: 0 1px 2px rgba(11, 34, 57, .05), 0 10px 30px rgba(11, 34, 57, .06); margin-bottom: 20px; }
.vt-caja h2 { margin-top: 0; font-size: 1.15rem; }
.vt-datos { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .95rem; }
.vt-datos dt { font-weight: 600; color: var(--texto-2); }
.vt-datos dd { margin: 0; }
.vt-anfitriona { display: flex; gap: 24px; align-items: center; margin: 12px 0 20px; flex-wrap: wrap; }
.vt-logo { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: var(--radio); padding: 10px; }

/* Galería: foto principal con lupa, miniaturas y visor (js/galeria.js) */
.vt-galeria { margin-bottom: 24px; }
.vt-foto { position: relative; display: block; border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 3; background: var(--oliva-fondo); cursor: zoom-in; }
.vt-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-lente { position: absolute; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; opacity: 0; background-repeat: no-repeat; background-color: #fff;
  box-shadow: 0 0 0 3px #fff, 0 14px 34px rgba(11, 34, 57, .28); transition: opacity .15s ease; }
.vt-lente.visible { opacity: 1; }
.vt-miniaturas { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.vt-miniatura { width: 76px; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .8; }
.vt-miniatura img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-miniatura.activa { border-color: var(--oro); opacity: 1; }
.vt-sin-scroll { overflow: hidden; }
.vt-visor { position: fixed; inset: 0; z-index: 50; display: none; flex-direction: column; background: rgba(6, 18, 31, .95); color: #fff; }
.vt-visor.abierto { display: flex; }
.vt-visor-barra { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.vt-visor-contador { font-size: .9rem; min-width: 3em; }
.vt-visor-ayuda { flex: 1; text-align: center; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.vt-visor-boton { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.vt-visor-boton:hover { background: rgba(255, 255, 255, .18); }
.vt-visor-boton svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.vt-visor-barra [data-cerrar] { margin-left: auto; }
.vt-visor-anterior, .vt-visor-siguiente { position: absolute; top: 50%; transform: translateY(-50%); }
.vt-visor-anterior { left: 16px; }
.vt-visor-siguiente { right: 16px; }
.vt-visor-marco { flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 8px 72px 32px; }
.vt-visor-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; border-radius: 6px; }
.vt-visor.ampliado .vt-visor-marco { overflow: auto; display: block; padding: 0; cursor: grab; }
.vt-visor.ampliado .vt-visor-img { max-width: none; max-height: none; width: min(200vw, 2400px); cursor: zoom-out; border-radius: 0; }
@media (max-width: 640px) {
  .vt-visor-marco { padding: 8px 8px 24px; }
  .vt-visor-anterior, .vt-visor-siguiente { top: auto; bottom: 18px; transform: none; }
  .vt-visor-ayuda, .vt-lente { display: none; }
  .vt-cabecera-fila { justify-content: center; }
  .vt-fechas { grid-template-columns: 1fr; }
}
