/* ════════════════════════════════════════════════════════════════════════════
   🔴 FICHERO GENERADO — NO LO EDITES. Lo escribe `scripts/generar-css.py`.

   Lo que se edita es la hoja COMENTADA:  assets/css/_fuente/contacto.css

   Aquí se sirve la misma hoja sin los comentarios, que son el 80 % de los bytes
   que descarga el visitante (`ROADMAP U-284`). Los comentarios NO se han
   perdido: siguen enteros en la fuente, que es donde se leen.
   ════════════════════════════════════════════════════════════════════════════ */
.ct-body {
  background: var(--vh-bg, #010103);

  --ct-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ct-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5% 100px;
}

.ct-eyebrow {
  font-family: var(--vh-font-sub, 'Space Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 14px;
}

.ct-hero {
  position: relative;
  padding: 140px 0 80px;
}

.ct-hero-foto {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: var(--vh-bg, #010103);
}

.ct-hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;

  opacity: 0.28;
}

.ct-hero-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(1, 1, 3, 0.35) 0%,
    rgba(1, 1, 3, 0.75) 55%,
    rgba(1, 1, 3, 1) 100%);
}

.ct-hero > *:not(.ct-hero-foto) { position: relative; z-index: 1; }

.ct-hero h1 {
  font-family: var(--vh-font-title, 'Syne', sans-serif);
  font-size: clamp(50px, 10vw, 130px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.ct-hero-frase {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  max-width: 30ch;
  margin-bottom: 24px;
}

.ct-hero-ultima {
  display: inline-block;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: 20px;
  padding: 18px 22px;
  background: rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.35);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ct-hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
  max-width: 44ch;
  color: var(--text-muted, #888);
}

.ct-seccion {
  padding-block: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  scroll-margin-top: 90px;
}

.ct-seccion h2 {
  font-family: var(--vh-font-title, 'Syne', sans-serif);
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 36px;
  scroll-margin-top: 90px;
}

@media (max-width: 600px) {
  .ct-wrap { padding-bottom: 64px; }
  .ct-hero { padding: 110px 0 56px; }
  .ct-seccion { padding-block: 64px; }
  .ct-seccion h2 { margin-bottom: 24px; }
}

.ct-canales {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.ct-canal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 128px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--text-primary, #f0f0f0);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.ct-canal:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.ct-canal:focus-visible { outline: 2px solid var(--vh-accent, #007bff); outline-offset: 3px; }

.ct-canal-wa {
  border-color: rgba(0, 123, 255, 0.4);
  box-shadow:
    0 0 28px -4px rgba(0, 123, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ct-canal-wa:hover { border-color: var(--vh-accent, #007bff); }

.ct-canal-que {
  font-family: var(--vh-font-sub, 'Space Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
}

.ct-canal-dato {
  font-family: var(--vh-font-title, 'Syne', sans-serif);
  font-size: 1.15rem;
  font-weight: 600;

  overflow-wrap: anywhere;
}

.ct-canal-nota { font-size: 0.88rem; color: var(--text-muted, #888); margin-top: auto; }

.ct-llegar,
.ct-horario {
  display: grid;
  gap: 0 32px;
  max-width: 68ch;
}

@media (min-width: 720px) {
  .ct-llegar,
  .ct-horario { grid-template-columns: max-content 1fr; }
  .ct-llegar dt,
  .ct-horario dt { padding-top: 4px; }
}

.ct-llegar dt,
.ct-horario dt {
  font-family: var(--vh-font-sub, 'Space Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  margin-top: 24px;
}

.ct-llegar dd,
.ct-horario dd {
  line-height: 1.65;
  margin-top: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.02rem;
}

.ct-llegar dd:last-of-type,
.ct-horario dd:last-of-type { border-bottom: none; }

.ct-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(0, 123, 255, 0.45);
  border-radius: 12px;
  color: var(--text-primary, #f0f0f0);
  font-family: var(--vh-font-sub, 'Space Grotesk', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.ct-boton:hover {
  background: rgba(0, 123, 255, 0.14);
  border-color: var(--vh-accent, #007bff);
  transform: translateY(-2px);
}

.ct-boton:focus-visible { outline: 2px solid var(--vh-accent, #007bff); outline-offset: 3px; }

.ct-antes-intro { color: var(--text-muted, #888); margin-bottom: 20px; font-size: 1.02rem; }

.ct-antes { list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 68ch; }

.ct-antes-enlace {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 44px 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  color: var(--text-primary, #f0f0f0);
  text-decoration: none;
  line-height: 1.45;
  transition: background 0.3s, border-color 0.3s, padding-right 0.3s;
}

.ct-antes-enlace::after {
  content: '→';
  position: absolute;
  right: 18px;
  color: var(--vh-accent, #007bff);
}

.ct-antes-enlace:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  padding-right: 38px;
}

.ct-antes-enlace:focus-visible { outline: 2px solid var(--vh-accent, #007bff); outline-offset: 3px; }

.ct-form-intro { color: var(--text-muted, #888); margin-bottom: 32px; max-width: 54ch; font-size: 1.02rem; }

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 46rem;
  padding: 36px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) { .ct-form { padding: 22px; } }

.ct-campo { display: flex; flex-direction: column; gap: 10px; }

.ct-etiqueta {
  font-family: var(--vh-font-sub, 'Space Grotesk', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
}

.ct-input {
  min-height: 52px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary, #f0f0f0);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.25s, background 0.25s;
}

.ct-input::placeholder { color: #777; }

.ct-input:focus {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 123, 255, 0.6);
}

.ct-input:focus-visible { outline: 2px solid var(--vh-accent, #007bff); outline-offset: 2px; }

.ct-textarea { min-height: 150px; resize: vertical; line-height: 1.6; }

.ct-trampa {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ct-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  position: relative;
}

.ct-consent input[type="checkbox"] {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin: 0;
  position: relative;
  cursor: pointer;

  accent-color: var(--vh-accent, #007bff);
}

.ct-consent input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
  pointer-events: auto;
}

.ct-consent span { font-size: 0.92rem; line-height: 1.55; color: var(--text-muted, #888); }
.ct-consent a { color: var(--text-primary, #f0f0f0); }

.ct-enviar {
  align-self: flex-start;
  min-height: 52px;
  padding: 0 36px;
  background: var(--vh-accent-fondo, #0062cc);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--vh-font-sub, 'Space Grotesk', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 0 24px -6px var(--vh-accent-glow, rgba(0, 123, 255, 0.6));
  transition: opacity 0.3s, transform 0.3s;
}

.ct-enviar:hover { opacity: 0.9; transform: translateY(-2px); }
.ct-enviar:disabled { opacity: 0.5; cursor: default; transform: none; }
.ct-enviar:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.ct-form-aviso:not(:empty) {
  padding: 18px;
  background: rgba(0, 123, 255, 0.08);
  border-left: 3px solid var(--vh-accent, #007bff);
  border-radius: 8px;
  line-height: 1.6;
}

.ct-form-otra { font-size: 0.92rem; color: var(--text-muted, #888); }
.ct-form-otra a { color: var(--text-primary, #f0f0f0); }

.ct-consent a,
.ct-form-otra a { position: relative; }

.ct-consent a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -2px; bottom: -2px;
  pointer-events: auto;
}

.ct-form-otra a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -13px; bottom: -13px;
  pointer-events: auto;
}

.ct-app { display: flex; flex-direction: column; gap: 40px; }

@media (min-width: 900px) {
  .ct-app { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 64px; }
  .ct-app-texto { max-width: 36rem; }
}

.ct-app-lista {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.55;
  font-size: 1.02rem;
}

.ct-app-lista::marker { color: var(--vh-accent, #007bff); }

.ct-app-oferta {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.3);
  border-radius: 14px;
  line-height: 1.6;
  max-width: 48ch;
}

.ct-app-camino { margin-top: 16px; color: var(--text-muted, #888); line-height: 1.6; max-width: 48ch; }

.ct-app-tiendas { display: flex; flex-wrap: wrap; gap: 14px; }

.ct-app-qr {
  align-self: flex-start;
  padding: 18px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.ct-app-qr img { display: block; width: 180px; height: 180px; }

.ct-app-qr figcaption {
  margin-top: 12px;
  font-family: var(--vh-font-sub, 'Space Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #444;
}

.ct-redes { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }

.ct-red {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-primary, #f0f0f0);
  font-family: var(--vh-font-sub, 'Space Grotesk', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.ct-red:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.ct-red:focus-visible { outline: 2px solid var(--vh-accent, #007bff); outline-offset: 3px; }

.ct-reloj {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.5;
  color: var(--text-muted, #888);
}
.ct-reloj:empty { display: none; }

body[data-ct-ahora] .ct-hero-ultima { display: none; }

.ct-reloj b { font-family: var(--ct-mono); font-weight: 600; letter-spacing: -0.02em; }
.ct-reloj strong { color: var(--text-primary, #f0f0f0); }

.ct-reloj::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  vertical-align: 0.08em;
  background: rgba(255, 255, 255, 0.3);
}
.ct-reloj[data-ct-estado="abierto"]::before {
  background: #46d16b;
  box-shadow: 0 0 10px rgba(70, 209, 107, 0.55);
}
.ct-reloj[data-ct-estado="tarde"]::before { background: #ffb400; }

body[data-ct-ahora="cerrado"] .ct-canal-wa,
body[data-ct-ahora="cerrado"] .ct-canal[data-ct-canal="telefono"] { opacity: 0.62; }
body[data-ct-ahora="cerrado"] .ct-canal[data-ct-canal="email"] .ct-canal-plazo,
body[data-ct-ahora="tarde"] .ct-canal[data-ct-canal="email"] .ct-canal-plazo {
  color: var(--vh-accent, #007bff);
}
.ct-canal-plazo { font-family: var(--ct-mono); font-size: 0.92em; }

.ct-hero-frase strong,
.ct-hero-ultima strong,
.ct-horario dd strong { font-family: var(--ct-mono); letter-spacing: -0.02em; }

@media (prefers-reduced-motion: no-preference) {
  .js #canales.ct-visible .ct-canales > li {
    animation: ct-encender 420ms ease-out both;
  }
  .js #canales.ct-visible .ct-canales > li:nth-child(2) { animation-delay: 90ms; }
  .js #canales.ct-visible .ct-canales > li:nth-child(3) { animation-delay: 180ms; }
  .js #canales.ct-visible .ct-canales > li:nth-child(4) { animation-delay: 270ms; }
}
@keyframes ct-encender {
  from { opacity: 0; transform: translateY(6px); filter: brightness(0.6); }
  to { opacity: 1; transform: none; filter: none; }
}

.tier-low .ct-canales > li { animation: none !important; }
.tier-low .ct-reloj[data-ct-estado="abierto"]::before { box-shadow: none; }

.js [data-ct-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.js [data-ct-reveal].ct-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  .ct-input { transition-duration: 180ms; }
  .js [data-ct-reveal] { opacity: 1; transform: none; transition: none; }
  .ct-canales > li { animation: none; }
  .ct-canal, .ct-boton, .ct-red, .ct-enviar, .ct-antes-enlace { transition: none; }
  .ct-canal:hover, .ct-boton:hover, .ct-red:hover, .ct-enviar:hover { transform: none; }
}

