/* Ajustes sobre el CSS exportado de Webflow (templeton.webflow.shared.*.css). Cargar después de él. */

/* Preferencias de cookies: el interruptor no mostraba su estado */
.fs-cc-prefs_checkbox-field {
  transition: background-color 0.2s ease;
}
.fs-cc-prefs_checkbox-field:has(input:checked) {
  background-color: var(--blue, #0043d8);
  justify-content: flex-end;
}
.fs-cc-prefs_checkbox-field:has(input:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Títulos convertidos por SEO (ver _herramientas/fase2-3-titulos.py): replican los estilos de su tag
   original (navegador + Webflow). :where() deja la especificidad al nivel de un selector de tag,
   así las clases del diseño siguen teniendo prioridad. */
div:where(.tpl-h1),
h2:where(.tpl-h1) {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 38px;
  line-height: 44px;
  font-weight: 700;
}
div:where(.tpl-h2) {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: Helveticanowdisplay, sans-serif;
  font-size: 2em;
  line-height: 100%;
  font-weight: 700;
}
div:where(.tpl-h3) {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
}

/* Texto solo para lectores de pantalla y buscadores */
.tpl-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* POP-UP DE VÍDEO INICIAL — DESACTIVADO (decisión de Templeton, 2026-09-28).
   El marcado sigue en index.html (<figure class="pop-up-modal">, vídeo Vimeo 754716660).
   Para reactivarlo: borrar esta regla. Al estar oculto, su iframe de Vimeo no se carga. */
.pop-up-modal {
  display: none !important;
}

/* Cursor sobre las flechas del carrusel de la oficina: flecha centrada en el recuadro (sin "Next/Previous Project") */
.cursor-box-base { position: relative; }
.tpl-flecha { display: none; position: absolute; left: 50%; top: 50%; width: 70px; height: 28px; transform: translate(-50%, -50%); }
.cursor-box-base.tpl-flecha-on .tpl-flecha { display: block; }
.cursor-box-base.tpl-flecha-izq .tpl-flecha { transform: translate(-50%, -50%) scaleX(-1); }
