/*
Theme Name: SPONSPORT
Theme URI: https://www.sponsport.pe
Author: SPONSPORT
Description: Tema de la agencia SPONSPORT — marketing y patrocinio deportivo. Landing de una pagina + blog. CSS escrito con fallbacks para navegadores antiguos y sintaxis moderna progresiva.
Version: 1.0.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sponsport
*/

/* ============================================================
   1. TOKENS
   Custom properties con fallback literal en cada uso, para que
   el tema siga siendo legible en navegadores sin var().
   ============================================================ */
:root {
  --sp-ink: #0a0b08;
  --sp-ink-2: #0f100c;
  --sp-card: #12130f;
  --sp-lima: #c2d100;
  --sp-lavanda: #6165aa;
  --sp-lavanda-claro: #9096e0;
  --sp-rojo-golazzo: #E8231A;
  --sp-papel: #f5f1ec;
  --sp-max: 1440px;
  --sp-gutter: 44px;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { -webkit-box-sizing: border-box; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0a0b08;
  background: var(--sp-ink, #0a0b08);
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #c2d100; color: var(--sp-lima, #c2d100); text-decoration: none; }
a:hover, a:focus { color: #ffffff; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
button, input, textarea { font-family: inherit; font-size: inherit; }
::-moz-selection { background: #c2d100; color: #0a0b08; }
::selection { background: #c2d100; color: #0a0b08; }

/* ============================================================
   3. LAYOUT
   Fallback float/inline-block -> flexbox antiguo -> flexbox moderno.
   ============================================================ */
.sp-wrap { max-width: 1440px; max-width: var(--sp-max, 1440px); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .sp-wrap { padding: 0 44px; padding: 0 var(--sp-gutter, 44px); } }

.sp-section { padding: 80px 0; }
@media (min-width: 900px) { .sp-section { padding: 130px 0; } }
.sp-section--alt { background: #0f100c; background: var(--sp-ink-2, #0f100c); }
.sp-section--lavanda { background: #6165aa; background: var(--sp-lavanda, #6165aa); }

.sp-row { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -11px; }
.sp-row > * { padding: 0 11px 22px; }
.sp-col-2 > * { width: 100%; }
@media (min-width: 900px) { .sp-col-2 > * { width: 50%; } }
.sp-col-3 > * { width: 100%; }
@media (min-width: 700px) { .sp-col-3 > * { width: 50%; } }
@media (min-width: 1000px) { .sp-col-3 > * { width: 33.3333%; } }

/* Grid moderno cuando el navegador lo soporta: anula los porcentajes. */
@supports (display: grid) {
  .sp-row { display: grid; margin: 0; gap: 22px; }
  .sp-row > * { padding: 0; width: auto !important; }
  .sp-col-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
  .sp-col-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .sp-col-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ============================================================
   4. TIPOGRAFIA
   ============================================================ */
.sp-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.3em; color: #6165aa; color: var(--sp-lavanda, #6165aa); margin-bottom: 22px; }
.sp-eyebrow--lima { color: #c2d100; color: var(--sp-lima, #c2d100); }
.sp-h1 { font-size: 40px; }
.sp-h2 { font-size: 34px; }
.sp-h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.28; }
.sp-lead { color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.6; }
.sp-body { color: rgba(255,255,255,0.76); font-size: 16.5px; line-height: 1.72; }
@media (min-width: 900px) {
  .sp-h1 { font-size: 86px; }
  .sp-h2 { font-size: 56px; }
  .sp-lead { font-size: 19px; }
}
.sp-accent { font-style: italic; color: #c2d100; color: var(--sp-lima, #c2d100); }
.sp-balance { text-wrap: balance; }
.sp-pretty { text-wrap: pretty; }

/* ============================================================
   5. BOTONES
   ============================================================ */
.sp-btn {
  display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  height: 60px; padding: 0 32px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  -webkit-transition: all 0.25s ease; transition: all 0.25s ease;
}
.sp-btn--lima { background: #c2d100; background: var(--sp-lima, #c2d100); color: #0a0b08; }
.sp-btn--lima:hover { background: #ffffff; color: #0a0b08; -webkit-transform: translateY(-3px); transform: translateY(-3px); }
.sp-btn--ghost { border: 1px solid rgba(255,255,255,0.28); color: #ffffff; }
.sp-btn--ghost:hover { border-color: #c2d100; color: #c2d100; }
.sp-btn--ink { background: #0a0b08; color: #c2d100; }
.sp-btn--ink:hover { background: #6165aa; color: #ffffff; }

/* ============================================================
   6. HEADER
   ============================================================ */
.sp-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  height: 86px; background: rgba(10,11,8,0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(194,209,0,0.2);
  -webkit-transition: height 0.3s ease; transition: height 0.3s ease;
}
.sp-header.is-scrolled { height: 68px; }
.sp-header__inner {
  height: 100%;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between;
  gap: 24px;
}
.sp-logo { -ms-flex-negative: 0; flex-shrink: 0; }
.sp-logo img { height: 34px; width: auto; }
.sp-nav {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -ms-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end;
  row-gap: 8px; column-gap: 18px;
  min-width: 0;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  list-style: none; margin: 0; padding: 0;
}
.sp-nav a { color: rgba(255,255,255,0.72); text-transform: uppercase; }
.sp-nav a:hover, .sp-nav .current-menu-item > a { color: #c2d100; }
.sp-nav__cta a {
  display: -webkit-inline-box; display: inline-flex;
  -webkit-box-align: center; align-items: center;
  height: 40px; padding: 0 24px; border-radius: 20px;
  background: #6165aa; background: var(--sp-lavanda, #6165aa);
  color: #ffffff; font-weight: 800;
}
.sp-nav__cta a:hover { background: #c2d100; color: #0a0b08; }
.sp-burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 10px; }
@media (max-width: 900px) {
  .sp-burger { display: block; }
  .sp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0a0b08; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .sp-nav.is-open { display: block; }
  .sp-nav li { display: block; padding: 12px 0; }
}

/* ============================================================
   7. HERO
   ============================================================ */
.sp-hero {
  position: relative; min-height: 900px; background: #0a0b08;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-orient: vertical; -webkit-box-direction: normal;
  -ms-flex-direction: column; flex-direction: column;
  overflow: hidden;
}
.sp-hero__media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; -webkit-filter: saturate(0.72) contrast(1.12); filter: saturate(0.72) contrast(1.12); }
.sp-hero__scrim { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: -webkit-linear-gradient(345deg, rgba(10,11,8,0.94) 0%, rgba(10,11,8,0.8) 46%, rgba(10,11,8,0.28) 100%); background: linear-gradient(105deg, rgba(10,11,8,0.94) 0%, rgba(10,11,8,0.8) 46%, rgba(10,11,8,0.28) 100%); }
.sp-hero__scrim--bottom { background: -webkit-linear-gradient(bottom, rgba(10,11,8,0.96) 0%, transparent 40%); background: linear-gradient(0deg, rgba(10,11,8,0.96) 0%, transparent 40%); }
.sp-hero__body { position: relative; z-index: 2; width: 100%; max-width: 1440px; max-width: var(--sp-max, 1440px); margin: 0 auto; padding: 150px 20px 64px; }
@media (min-width: 900px) { .sp-hero__body { padding: 186px 44px 64px; } }
.sp-hero__stats { position: relative; z-index: 3; margin-top: auto; border-top: 1px solid rgba(255,255,255,0.14); background: rgba(10,11,8,0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sp-stat__num { color: #c2d100; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.sp-stat__label { color: rgba(255,255,255,0.6); font-size: 10.5px; font-weight: 700; letter-spacing: 0.17em; margin-top: 6px; }
.sp-stat { padding: 26px 0; }
@supports (display: grid) { .sp-hero__stats .sp-row { gap: 0; } .sp-stat + .sp-stat { padding-left: 34px; border-left: 1px solid rgba(255,255,255,0.1); } }
/* Cifras del hero: las columnas del grid van inline en front-page.php, para que la fila salga
   horizontal incluso con un style.css viejo en cache. Aqui queda el respaldo para navegadores
   sin grid (flex con anchos) y, en pantallas chicas, sin filetes porque las columnas se reacomodan. */
.sp-hero__stats .sp-stat { width: 50%; }
@media (min-width: 900px) { .sp-hero__stats .sp-stat { width: 25%; } }
@media (max-width: 899px) { .sp-hero__stats .sp-stat + .sp-stat { padding-left: 0; border-left: 0; } }

/* Toggle de audiencia (Propiedad / Marca) */
.sp-toggle {
  display: -webkit-inline-box; display: inline-flex; padding: 5px;
  border-radius: 26px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sp-toggle button {
  height: 40px; padding: 0 24px; border: 0; border-radius: 20px;
  background: none; color: rgba(255,255,255,0.62);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; cursor: pointer;
  -webkit-transition: all 0.25s ease; transition: all 0.25s ease;
}
.sp-toggle button.is-active { background: #c2d100; color: #0a0b08; }
.sp-aud { display: none; }
.sp-aud.is-active { display: block; -webkit-animation: sp-fade 0.5s ease both; animation: sp-fade 0.5s ease both; }

/* ============================================================
   8. TARJETAS
   ============================================================ */
.sp-card {
  background: #12130f; background: var(--sp-card, #12130f);
  border: 1px solid rgba(255,255,255,0.1); padding: 40px;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column;
  -webkit-transition: border-color 0.3s ease, -webkit-transform 0.35s ease;
  transition: border-color 0.3s ease, transform 0.35s ease;
}
.sp-card:hover { border-color: #c2d100; -webkit-transform: translateY(-6px); transform: translateY(-6px); }
.sp-card__head {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -ms-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between;
  -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start;
  column-gap: 20px; row-gap: 14px; margin-bottom: 26px;
}
.sp-badge { display: inline-block; padding: 7px 13px; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; }
.sp-badge--lima { background: #c2d100; color: #0a0b08; }
.sp-badge--lavanda { background: #6165aa; color: #ffffff; }
.sp-list { margin: 0; padding: 0; list-style: none; }
.sp-list li { position: relative; padding-left: 22px; margin-bottom: 12px; color: rgba(255,255,255,0.72); font-size: 14.5px; }
.sp-list li::before { content: "—"; position: absolute; left: 0; color: #c2d100; }
.sp-card__foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: rgba(255,255,255,0.45); }

/* Marco de video de partner (relleno por ACF) */
.sp-video { position: relative; margin-bottom: 26px; background: #0a0b08; overflow: hidden; }
.sp-video::before { content: ""; display: block; padding-top: 56.25%; }
@supports (aspect-ratio: 16 / 9) { .sp-video { aspect-ratio: 16 / 9; } .sp-video::before { display: none; } }
.sp-video > iframe, .sp-video > video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; border: 0; }
.sp-video--empty { border: 1px dashed rgba(194,209,0,0.45); }
.sp-video__hint { position: absolute; top: 50%; left: 0; right: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%); text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; color: #c2d100; }

/* Placeholder animado de Golazzo Media (paleta del manual: red / ink / paper) */
.sp-golazzo { position: relative; background: #1a1616; overflow: hidden; }
.sp-golazzo__bar { position: absolute; left: 0; right: 0; height: 6px; background: #E8231A; background: var(--sp-rojo-golazzo, #E8231A); }
.sp-golazzo__bar--top { top: 0; }
.sp-golazzo__bar--bottom { bottom: 0; }
.sp-golazzo__stack { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: -webkit-box; display: flex; -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; }
.sp-golazzo__logo { display: block; transition: opacity 0.25s ease; }
.sp-golazzo__logo img { display: block; width: 246px; max-width: 100%; height: auto; -webkit-animation: sp-rise 7s ease-in-out infinite; animation: sp-rise 7s ease-in-out infinite; }
.sp-golazzo__logo:hover { opacity: 0.72; }
.sp-golazzo__rule { position: relative; width: 62%; height: 2px; margin: 12px 0; background: rgba(245,241,236,0.14); overflow: hidden; }
.sp-golazzo__rule i { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #E8231A; -webkit-animation: sp-wipe 7s cubic-bezier(0.6,0,0.4,1) infinite; animation: sp-wipe 7s cubic-bezier(0.6,0,0.4,1) infinite; }
.sp-golazzo__claim { font-size: 9.5px; font-weight: 700; letter-spacing: 0.26em; color: rgba(245,241,236,0.5); -webkit-animation: sp-rise 7s ease-in-out 0.35s infinite; animation: sp-rise 7s ease-in-out 0.35s infinite; }
.sp-golazzo__ball { position: absolute; bottom: 34px; left: 0; width: 40px; height: 40px; border-radius: 50%; background: -webkit-radial-gradient(35% 30%, circle, #f5f1ec, #c9c2b8); background: radial-gradient(circle at 35% 30%, #f5f1ec, #c9c2b8); opacity: 0.85; -webkit-animation: sp-ball 7s linear infinite; animation: sp-ball 7s linear infinite; }

/* ============================================================
   9. MARQUEE DE CLIENTES
   ============================================================ */
.sp-marquee { overflow: hidden; padding: 10px 0 24px; }
.sp-marquee__title { font-size: 10.5px; font-weight: 800; letter-spacing: 0.24em; color: rgba(255,255,255,0.35); padding: 0 20px 18px; }
.sp-marquee__track { display: -webkit-box; display: flex; width: -webkit-max-content; width: max-content; -webkit-animation: sp-marquee 34s linear infinite; animation: sp-marquee 34s linear infinite; }
.sp-marquee--rev .sp-marquee__track { -webkit-animation-name: sp-marquee-rev; animation-name: sp-marquee-rev; -webkit-animation-duration: 40s; animation-duration: 40s; }
.sp-marquee__group { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -ms-flex: 0 0 auto; flex: 0 0 auto; }
.sp-logo-tile {
  display: -webkit-box; display: flex;
  -webkit-box-align: center; align-items: center;
  -webkit-box-pack: center; justify-content: center;
  width: 280px; height: 130px; -ms-flex: 0 0 auto; flex: 0 0 auto;
  margin-right: 24px; background: #0f100c;
  border: 1px solid rgba(255,255,255,0.12); overflow: hidden;
}
.sp-logo-tile img { max-width: 70%; max-height: 70%; -o-object-fit: contain; object-fit: contain; }
.sp-logo-tile--round img { width: 114px; height: 114px; max-width: none; max-height: none; border-radius: 50%; -o-object-fit: cover; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .sp-marquee__track { -webkit-animation: none; animation: none; }
}

/* ============================================================
   10. SPONSTEAM
   ============================================================ */
.sp-team { background: #6165aa; background: var(--sp-lavanda, #6165aa); padding: 120px 0; }
.sp-team__member { text-align: center; }
.sp-team__photo { width: 190px; max-width: 100%; height: 190px; margin: 0 auto 20px; border-radius: 50%; border: 3px solid #c2d100; -o-object-fit: cover; object-fit: cover; -o-object-position: 50% 20%; object-position: 50% 20%; }
.sp-team__name { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: #ffffff; }
.sp-team__role { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; color: #c2d100; margin-top: 8px; line-height: 1.4; }
.sp-icon {
  display: -webkit-inline-box; display: inline-flex;
  -webkit-box-align: center; align-items: center;
  -webkit-box-pack: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: #6165aa; border: 1px solid rgba(97,101,170,0.55);
  color: #ffffff; -webkit-transition: all 0.25s ease; transition: all 0.25s ease;
}
.sp-icon:hover { background: #c2d100; border-color: #c2d100; color: #6165aa; }
.sp-icon svg { width: 18px; height: 18px; fill: currentColor; }
/* Icones de contorno (Instagram): sin esto el fill de arriba rellena el cuadrado entero. */
.sp-icon svg[fill="none"] { fill: none; }

/* ============================================================
   11. ARTICULO (single.php)
   ============================================================ */
.sp-article { max-width: 1040px; margin: 0 auto; padding: 48px 20px 120px; }
.sp-crumbs { display: -webkit-box; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; color: rgba(255,255,255,0.4); margin-bottom: 34px; text-transform: uppercase; }
.sp-article__head { text-align: center; max-width: 820px; margin: 0 auto; }
.sp-article__title { font-size: 32px; text-transform: uppercase; letter-spacing: -0.036em; }
@media (min-width: 900px) { .sp-article__title { font-size: 56px; } .sp-article { padding: 64px 44px 120px; } }
.sp-article__meta { display: -webkit-box; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.42); }
.sp-article__hero { position: relative; margin: 48px 0; background: #12130f; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; }
.sp-article__hero::before { content: ""; display: block; padding-top: 42.85%; }
@supports (aspect-ratio: 21 / 9) { .sp-article__hero { aspect-ratio: 21 / 9; } .sp-article__hero::before { display: none; } }
.sp-article__hero img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.sp-article__grid { display: -webkit-box; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 48px; }
@supports (display: grid) { .sp-article__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; } }
.sp-article h2.sp-sub { color: #c2d100; font-size: 15px; font-weight: 800; letter-spacing: 0.2em; margin-bottom: 20px; }
.sp-article__content > * + * { margin-top: 20px; }
.sp-article__content p { color: rgba(255,255,255,0.76); font-size: 16.5px; line-height: 1.72; }
.sp-article__content h3 { color: #ffffff; font-size: 22px; margin-top: 34px; }
.sp-article__content blockquote { margin: 30px 0; padding-left: 20px; border-left: 3px solid #c2d100; color: rgba(255,255,255,0.85); font-size: 19px; }
.sp-article__content ul, .sp-article__content ol { padding-left: 22px; color: rgba(255,255,255,0.76); }
.sp-article__content a { text-decoration: underline; }
.sp-outcome { margin-top: 48px; background: #12130f; border: 1px solid rgba(255,255,255,0.1); border-top: 3px solid #c2d100; padding: 40px; }
.sp-share { margin-top: 46px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); display: -webkit-box; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; align-items: center; gap: 16px; }
.sp-share__label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; color: rgba(255,255,255,0.45); }
.sp-share__list { display: -webkit-box; display: flex; gap: 10px; }
.sp-author { margin-top: 34px; display: -webkit-box; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 22px; -webkit-box-align: start; align-items: flex-start; background: #12130f; border: 1px solid rgba(255,255,255,0.1); border-left: 3px solid #c2d100; padding: 30px 32px; }
.sp-author__photo { width: 76px; height: 76px; border-radius: 50%; -o-object-fit: cover; object-fit: cover; -ms-flex-negative: 0; flex-shrink: 0; border: 2px solid #6165aa; }
.sp-author__role { color: #9096e0; font-size: 12.5px; font-weight: 700; margin-top: 4px; }
.sp-newsletter { margin-top: 52px; background: #c2d100; color: #0a0b08; padding: 52px 32px; text-align: center; }
.sp-newsletter h3 { color: #0a0b08; font-size: 30px; margin: 14px 0 10px; }
.sp-newsletter p { color: rgba(10,11,8,0.72); max-width: 440px; margin: 0 auto 26px; font-size: 15px; }
.sp-newsletter form { display: -webkit-box; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; justify-content: center; gap: 10px; }
.sp-newsletter input[type="email"] { height: 54px; min-width: 260px; -ms-flex: 0 1 320px; flex: 0 1 320px; padding: 0 20px; background: #fff; border: 1px solid rgba(10,11,8,0.2); color: #0a0b08; }
.sp-newsletter button { height: 54px; padding: 0 30px; background: #0a0b08; border: 0; color: #c2d100; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; cursor: pointer; }
.sp-newsletter button:hover { background: #6165aa; color: #fff; }
.sp-readmore { margin-top: 52px; }
.sp-readmore__title { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; gap: 14px; margin-bottom: 24px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; color: #c2d100; }
.sp-readmore__title::after { content: ""; -ms-flex: 1; flex: 1; height: 1px; background: rgba(255,255,255,0.14); }

/* ============================================================
   12. FOOTER
   ============================================================ */
.sp-footer { background: #0a0b08; border-top: 1px solid rgba(255,255,255,0.1); padding: 56px 0 40px; }
.sp-footer__logo img { height: 62px; width: auto; }
.sp-footer__socials { display: -webkit-box; display: flex; gap: 10px; margin-top: 16px; }
.sp-footer__legal { display: -webkit-box; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; justify-content: space-between; gap: 16px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 11.5px; color: rgba(255,255,255,0.4); }

/* ============================================================
   13. REVEAL + ANIMACIONES
   ============================================================ */
.sp-reveal { opacity: 0; -webkit-transform: translateY(28px); transform: translateY(28px); -webkit-transition: opacity 0.7s ease, -webkit-transform 0.7s ease; transition: opacity 0.7s ease, transform 0.7s ease; }
.sp-reveal.is-in { opacity: 1; -webkit-transform: none; transform: none; }
.no-js .sp-reveal, .no-intersection .sp-reveal { opacity: 1; -webkit-transform: none; transform: none; }
@media (prefers-reduced-motion: reduce) { .sp-reveal { opacity: 1; -webkit-transform: none; transform: none; -webkit-transition: none; transition: none; } }

@-webkit-keyframes sp-fade { from { opacity: 0; -webkit-transform: translateY(20px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes sp-fade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@-webkit-keyframes sp-marquee { from { -webkit-transform: translate3d(0,0,0); } to { -webkit-transform: translate3d(-50%,0,0); } }
@keyframes sp-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@-webkit-keyframes sp-marquee-rev { from { -webkit-transform: translate3d(-50%,0,0); } to { -webkit-transform: translate3d(0,0,0); } }
@keyframes sp-marquee-rev { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }
@-webkit-keyframes sp-wipe { 0%,8% { -webkit-transform: translateX(-101%); } 18%,82% { -webkit-transform: translateX(0); } 92%,100% { -webkit-transform: translateX(101%); } }
@keyframes sp-wipe { 0%,8% { transform: translateX(-101%); } 18%,82% { transform: translateX(0); } 92%,100% { transform: translateX(101%); } }
@-webkit-keyframes sp-rise { 0%,10% { opacity: 0; -webkit-transform: translateY(14px); } 22%,78% { opacity: 1; -webkit-transform: none; } 90%,100% { opacity: 0; -webkit-transform: translateY(-14px); } }
@keyframes sp-rise { 0%,10% { opacity: 0; transform: translateY(14px); } 22%,78% { opacity: 1; transform: none; } 90%,100% { opacity: 0; transform: translateY(-14px); } }
@-webkit-keyframes sp-ball { 0% { -webkit-transform: translateX(-40px) rotate(0); } 100% { -webkit-transform: translateX(340px) rotate(720deg); } }
@keyframes sp-ball { 0% { transform: translateX(-40px) rotate(0); } 100% { transform: translateX(340px) rotate(720deg); } }

/* ============================================================
   14. EDITOR DE BLOQUES (Gutenberg) — anchos y alineaciones
   ============================================================ */
.sp-article__content > .alignwide { max-width: 1040px; }
.sp-article__content > .alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-block-image figcaption { color: rgba(255,255,255,0.5); font-size: 13px; text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* Metodologia: las fases entran una tras otra y una linea lima recorre la fila. */
.sp-phases { position: relative; }
@supports (display: grid) { .sp-row.sp-phases { gap: 1px; } }
.sp-phases::before {
  content: ""; position: absolute; top: 0; left: 0; z-index: 2;
  width: 100%; height: 3px; background: #c2d100;
  -webkit-transform: scaleX(0); transform: scaleX(0);
  -webkit-transform-origin: left center; transform-origin: left center;
  -webkit-transition: -webkit-transform 1.4s cubic-bezier(0.6,0,0.2,1) 0.2s; transition: transform 1.4s cubic-bezier(0.6,0,0.2,1) 0.2s;
}
.sp-phases.is-in::before { -webkit-transform: scaleX(1); transform: scaleX(1); }
.sp-phase {
  position: relative; opacity: 0;
  -webkit-transform: translateY(32px); transform: translateY(32px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease; transition: opacity 0.6s ease, transform 0.6s ease;
}
.sp-phases.is-in .sp-phase { opacity: 1; -webkit-transform: none; transform: none; }
.sp-phases.is-in .sp-phase:nth-child(2) { -webkit-transition-delay: 0.25s; transition-delay: 0.25s; }
.sp-phases.is-in .sp-phase:nth-child(3) { -webkit-transition-delay: 0.5s; transition-delay: 0.5s; }
.sp-phases.is-in .sp-phase:nth-child(4) { -webkit-transition-delay: 0.75s; transition-delay: 0.75s; }
.sp-phases.is-in .sp-phase:hover { -webkit-transform: translateY(-6px); transform: translateY(-6px); -webkit-transition-delay: 0s; transition-delay: 0s; }
.no-intersection .sp-phase { opacity: 1; -webkit-transform: none; transform: none; }
.no-intersection .sp-phases::before { -webkit-transform: scaleX(1); transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .sp-phase, .sp-phases::before { -webkit-transition: none; transition: none; }
  .sp-phase { opacity: 1; -webkit-transform: none; transform: none; }
  .sp-phases::before { -webkit-transform: scaleX(1); transform: scaleX(1); }
}

/* Selector "Soy" del formulario de contacto */
.sp-choice {
  position: relative; -ms-flex: 1; flex: 1;
  display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  height: 50px; padding: 0 12px; text-align: center; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.6);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  -webkit-transition: all 0.25s ease; transition: all 0.25s ease;
}
.sp-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.sp-choice.is-active { border-color: #c2d100; background: rgba(194,209,0,0.08); color: #c2d100; }
/* Regla aparte: un navegador sin :has() descartaria la regla entera si fuera en la misma lista. */
.sp-choice:has(input:checked) { border-color: #c2d100; background: rgba(194,209,0,0.08); color: #c2d100; }
.sp-choice:focus-within { outline: 2px solid #c2d100; outline-offset: 2px; }

/* ============================================================
   15. MOVIL
   ============================================================ */
/* Las grillas no pueden pedir un minimo mayor que la pantalla (360px no entra en un telefono de 375).
   Un navegador sin min() descarta esta declaracion y se queda con la de la seccion 3. */
@supports (display: grid) {
  .sp-col-2 { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
  .sp-col-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
  .sp-col-4 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
}
#contacto .sp-wrap > * { min-width: 0; }
.sp-contact-panel input:not([type="radio"]), .sp-contact-panel textarea { width: 100%; min-width: 0; }

@media (max-width: 899px) {
  .sp-hero { min-height: 0; }
  .sp-hero__body { padding-top: 40px; padding-bottom: 40px; }
  .sp-section { padding: 60px 0; }
  .sp-pillar { padding: 26px 22px !important; }
  .sp-pillar__text { margin-left: 0 !important; }
  .sp-blog-ph { height: 170px !important; }
  .sp-team__grid { gap: 32px 16px !important; margin-top: 44px !important; }
  .sp-team__grid > div { gap: 14px !important; }
  .sp-footer .sp-wrap > div + div { gap: 28px 40px !important; }
  .sp-toggle button { padding: 0 14px; font-size: 10px; letter-spacing: 0.1em; }
  .sp-btn { height: auto; min-height: 56px; max-width: 100%; padding: 14px 22px; white-space: normal; text-align: center; line-height: 1.35; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
  .sp-card { padding: 26px 22px; }
  .sp-card h3 { font-size: 30px !important; }
  .sp-partners-cta { padding: 28px 22px !important; }
  .sp-partners-cta h3 { font-size: 24px !important; }
  .sp-contact-panel { padding: 26px 20px !important; }
  .sp-choice { height: auto; min-height: 50px; padding: 10px 8px; font-size: 10px; letter-spacing: 0.08em; }
  .sp-team { padding: 64px 0; }
  /* Golazzo Media en movil: solo el logo, quieto y siempre visible. */
  .sp-golazzo__rule, .sp-golazzo__claim, .sp-golazzo__ball { display: none; }
  .sp-golazzo__logo img { width: 70%; max-width: 220px; margin: 0 auto; opacity: 1; -webkit-animation: none; animation: none; }
}

/* Enlaces de los Digital Partners */
.sp-partner-link { color: #fff; text-decoration: none; -webkit-transition: color 0.25s ease; transition: color 0.25s ease; }
.sp-partner-link--lima:hover { color: #c2d100; }
.sp-partner-link--lavanda:hover { color: #9096e0; }
