/* Landing pública de GalopApp.
   Tokens del manual de marca (manual_marca/Manual de Marca Galopapp.md).
   CSS propio en lugar de Tailwind: la landing es HTML estático y no debe
   arrastrar el bundle de la aplicación. */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #0a1122;
  --navy-light: #1a2235;
  --gold: #ffd700;
  --gold-dark: #e6c200;
  --technical: #e5e5e5;
  --text-muted: #a9b2c3;
  /* Grid de 8pt */
  --s1: 8px;  --s2: 16px; --s3: 24px;
  --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 300;
  background: var(--navy);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--s3); }

/* Cabecera. El bloque horizontal (símbolo a la izquierda, marca denominativa a
   la derecha) no está recogido en el manual, que solo define una versión
   principal vertical: se adopta para web y queda pendiente de incorporarlo.
   El símbolo va en oro y el texto en blanco, ambos dentro de la paleta. */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); padding: var(--s3) 0;
  border-bottom: 1px solid var(--navy-light);
}
.brand { display: flex; align-items: center; gap: var(--s2); text-decoration: none; }
.brand svg { height: 36px; width: auto; color: var(--gold); display: block; }
.brand span { font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: #fff; }

/* Botones */
.actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 14px var(--s3); border-radius: 4px; text-decoration: none;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}
/* El texto sobre oro va siempre en navy, nunca en blanco: nota de
   accesibilidad del manual. */
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }

/* Hero */
.hero { padding: var(--s12) 0; }
.hero h1 {
  font-weight: 700; font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.1; letter-spacing: -.02em; max-width: 16ch;
}
.hero p {
  margin: var(--s3) 0 var(--s6); font-size: clamp(17px, 2vw, 21px);
  color: var(--text-muted); max-width: 52ch;
}

/* Secciones */
.section { padding: var(--s12) 0; border-top: 1px solid var(--navy-light); }
.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: var(--s2);
}
.section h2 {
  font-weight: 700; font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.2; margin-bottom: var(--s4); max-width: 22ch;
}

/* Método */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.step { background: var(--navy-light); border-radius: 8px; padding: var(--s4); }
.step-num {
  color: var(--gold); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; margin-bottom: var(--s1);
}
.step h3 { font-weight: 700; font-size: 19px; margin-bottom: var(--s1); }
.step p { color: var(--text-muted); font-size: 15px; }

/* Cobertura */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.stat { text-align: center; }
.stat b {
  display: block; color: var(--gold); font-weight: 700;
  font-size: clamp(30px, 4.5vw, 46px); line-height: 1;
}
.stat span {
  display: block; margin-top: var(--s1);
  color: var(--text-muted); font-size: 14px;
}

/* Prueba */
.shot {
  width: 100%; height: auto; border-radius: 8px;
  border: 1px solid var(--navy-light); display: block;
}
.quote {
  background: var(--navy-light); border-left: 3px solid var(--gold);
  border-radius: 4px; padding: var(--s3); margin-top: var(--s4);
  color: var(--text-muted); font-size: 15px;
}
.quote cite {
  display: block; margin-top: var(--s2);
  color: #fff; font-style: normal; font-size: 13px;
}

/* Cierre */
.closing { text-align: center; padding: var(--s12) 0; border-top: 1px solid var(--navy-light); }
.closing h2 { margin: 0 auto var(--s4); max-width: 20ch; }

/* Pie */
.site-footer {
  border-top: 1px solid var(--navy-light); padding: var(--s6) 0;
  display: flex; justify-content: space-between; gap: var(--s3);
  flex-wrap: wrap; color: var(--text-muted); font-size: 14px;
}
.site-footer a { color: var(--text-muted); text-decoration: none; margin-right: var(--s3); }
.site-footer a:hover { color: #fff; }
/* Sello 'by { cdiezgil }' según Manual de Marca cdiezgil §3.1 */
.seal {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.seal .by { font-weight: 300; color: var(--technical); }
.seal .brackets { font-weight: 400; color: var(--gold); }
.seal .name { font-weight: 700; color: #fff; }

@media (max-width: 860px) {
  .steps, .stats { grid-template-columns: 1fr 1fr; }
  .hero { padding: var(--s8) 0; }
  .section, .closing { padding: var(--s8) 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; align-items: flex-start; }
  .hero .actions .btn { width: 100%; text-align: center; }
  .brand svg { height: 30px; }
  .brand span { font-size: 21px; }
}
