/* ============================================
   JAVI CARNICERO — LANDING
   Editorial + guiños pixel art.
   Fondos alternados por sección.
   ============================================ */


/* ============================================
   01. TOKENS
   ============================================ */
:root {
  /* Tres tonos de papel + acento */
  --bg:          #F2ECDF;   /* papel claro */
  --bg-alt:      #EADFC6;   /* papel medio */
  --bg-warm:     #DCCDA8;   /* papel viejo */
  --bg-frame:    #C9BC97;
  --text:        #1A1814;
  --text-soft:   #4B4339;
  --text-muted:  #8A7F6E;
  --line:        #C8BC9E;
  --accent:      #1F3D5C;
  --accent-dark: #14283D;
  --accent-soft: #2C5680;
  --cream:       #F4EEE1;
  --dark:        #1F3D5C;

  /* Color pixel */
  --pixel-green: #7FFFB0;
  --pixel-dark:  #1A2A2A;

  /* Tipografía */
  --font-display: 'Newsreader', 'Georgia', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-pixel:   'VT323', 'Courier New', monospace;

  /* Layout */
  --max-width:   1240px;
  --gutter:      clamp(1.5rem, 5vw, 4rem);
  --section-pad: clamp(4.5rem, 10vw, 8rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ============================================
   02. RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
ul { list-style: none; }

::selection { background: var(--accent); color: var(--cream); }


/* ============================================
   03. UTILIDADES
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.marker {
  background: linear-gradient(180deg, transparent 0 62%, rgba(31, 61, 92, 0.22) 62% 92%, transparent 92%);
  padding: 0 0.06em;
}


/* ============================================
   04. TIPOGRAFÍA BASE
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  font-variation-settings: "opsz" 60;
}

em, .italic { font-style: italic; }
strong { font-weight: 600; color: var(--text); }

.kicker {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1;
}
.kicker--light { color: var(--pixel-green); text-shadow: 0 0 6px rgba(127, 255, 176, 0.3); }

.section-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  max-width: 620px;
  margin: -1.25rem 0 3.25rem;
  color: var(--text-soft);
  font-variation-settings: "opsz" 24;
}


/* ============================================
   05. BARRA DE PROGRESO
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 200;
  pointer-events: none;
}


/* ============================================
   06. HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 236, 223, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(242, 236, 223, 0.96);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.012em;
  line-height: 1;
  font-variation-settings: "opsz" 14;
}

.primary-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}
.primary-nav a {
  font-size: 0.875rem;
  color: var(--text-soft);
  transition: color 0.12s steps(3);
}
.primary-nav a:hover { color: var(--text); }

.primary-nav .nav-cta {
  color: var(--accent);
  font-weight: 500;
}
.primary-nav .nav-cta:hover { color: var(--accent-dark); }

@media (max-width: 720px) {
  .primary-nav a:not(.nav-cta) { display: none; }
}


/* ============================================
   07. BOTONES (pixel depth)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 2px solid var(--text);
  cursor: pointer;
  text-align: center;
  background: transparent;
  white-space: nowrap;
  line-height: 1;
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--text);
  transition: transform 0.08s steps(2),
              box-shadow 0.08s steps(2),
              background 0.08s steps(2),
              color 0.08s steps(2);
}

.btn-primary {
  background: var(--accent);
  color: var(--cream);
  border-color: var(--text);
  cursor: crosshair;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text);
}
.btn-primary:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--text);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.18rem;
  line-height: 1;
  transition: color 0.12s steps(3), gap 0.12s steps(3);
}
.link-arrow:hover { color: var(--accent); gap: 0.8rem; }


/* ============================================
   08. PLACEHOLDERS DE FOTO
   ============================================ */
.photo-frame {
  position: relative;
  background: var(--bg-frame);
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--text);
}
.photo-frame::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--text-soft);
  font-weight: 500;
  padding: 1rem;
  z-index: 0;
}
.photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}
.photo-frame--vertical { aspect-ratio: 4 / 5; }
.photo-frame--wide     { aspect-ratio: 16 / 10; }
.photo-frame--square   { aspect-ratio: 1 / 1; }


/* ============================================
   09. PIXEL FRAMES
   ============================================ */
.pixel-frame {
  position: relative;
  background: var(--pixel-dark);
  overflow: hidden;
  width: 100%;
  border: 2px solid var(--text);
  box-shadow: 6px 6px 0 var(--text);
}
.pixel-frame::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: 0.22em;
  color: var(--pixel-green);
  padding: 1rem;
  z-index: 0;
  text-shadow: 0 0 10px rgba(127, 255, 176, 0.5);
  line-height: 1;
}
.pixel-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.18) 0,
    rgba(0, 0, 0, 0.18) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 3;
}
.pixel-frame--vertical { aspect-ratio: 4 / 5; }
.pixel-frame--wide     { aspect-ratio: 16 / 9; }
.pixel-frame--square   { aspect-ratio: 1 / 1; }

.pixel-art {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  color: transparent;
  font-size: 0;
  opacity: 0;
  transition: opacity 0.5s steps(4);
}
.pixel-art.is-visible { opacity: 1; }

.cta-final .pixel-frame {
  border-color: var(--cream);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
}


/* ============================================
   10. HERO
   ============================================ */
.hero {
  background: var(--bg);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: end;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5.5rem);
  }
}

.hero-kicker { margin-bottom: 1.75rem; }

.hero-headline {
  font-size: clamp(2.25rem, 12vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  font-variation-settings: "opsz" 72, "wght" 600;
}

@media (min-width: 960px) {
  .hero-headline {
    font-size: clamp(2.5rem, 5.8vw, 4.5rem);
  }
}
.hero-headline .hl-line { display: block; }
.hero-headline .hl-accent {
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
  font-size: 0.82em;
  margin-top: 0.4rem;
  font-variation-settings: "opsz" 72, "wght" 500;
}

.cursor-blink {
  display: inline-block;
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  margin-left: 0.08em;
  animation: blink 1s steps(2) infinite;
  line-height: 1;
  vertical-align: baseline;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.075rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  max-width: 540px;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
  font-variation-settings: "opsz" 20;
}
.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 1.85rem;
}

.hero-photo-wrap { position: relative; }
.hero-photo-caption {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-pixel);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  line-height: 1;
}


/* ============================================
   11. AGENCIAS (logo bar)
   ============================================ */
.agencies {
  background: var(--bg-alt);
  padding: clamp(2.75rem, 4.5vw, 4rem) 0;
}

.agencies-label {
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.85rem;
  line-height: 1;
}

.agencies-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 3.75rem);
}

.agency {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  opacity: 0.55;
  filter: grayscale(1);
  color: var(--text);
  user-select: none;
  cursor: default;
  transition: opacity 0.15s steps(2), filter 0.15s steps(2);
}
.agency:hover {
  opacity: 1;
  filter: none;
}

/* Cada agencia con su propio tono tipográfico (mientras no haya SVG real) */
.agency--ogilvy {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.1vw, 1.95rem);
  letter-spacing: -0.025em;
  color: #C8102E;
  text-transform: lowercase;
}
.agency--yr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  letter-spacing: -0.05em;
  font-variation-settings: "opsz" 14, "wght" 700;
  color: #111111;
}
.agency--yr .amp {
  font-style: italic;
  font-weight: 500;
  margin: 0 -0.05em;
}
.agency--publicis {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.95vw, 1.75rem);
  letter-spacing: 0.005em;
  color: #122C5C;
}
.agency--mother {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 60, "wght" 500;
  color: #111111;
}
.agency--hoff {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.2rem, 1.85vw, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
}


/* ============================================
   12. SECCIONES — base + fondos alternados
   ============================================ */
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}

/* Fondos por sección (ritmo de papel) */
.problem   { background: var(--bg-warm); }
.who       { background: var(--bg); }
.story     { background: var(--bg-warm); }
.teach     { background: var(--bg-alt); }
.products  { background: var(--bg); }
.audience  { background: var(--bg-alt); }
.quotes    { background: var(--bg-warm); }
.channels  { background: var(--bg); }

.section-header {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 1.85rem);
  margin-bottom: 2.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.section-header--meta {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

/* Cuadradito pixel decorativo antes del número */
.section-number {
  font-family: var(--font-pixel);
  font-size: 1.65rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.section-number::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1;
  font-variation-settings: "opsz" 60, "wght" 600;
}


/* ============================================
   13. EL PROBLEMA
   ============================================ */
.problem-headline {
  font-size: clamp(2.1rem, 5.2vw, 3.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 2.5rem;
  font-variation-settings: "opsz" 72, "wght" 600;
}
.problem-headline em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
  display: inline-block;
}

.problem-body {
  max-width: 680px;
  margin-bottom: 3.5rem;
}
.problem-body p {
  font-family: var(--font-display);
  font-size: clamp(1.075rem, 1.35vw, 1.225rem);
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text);
  font-variation-settings: "opsz" 20;
}
.problem-lead {
  font-weight: 500 !important;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem) !important;
  line-height: 1.45 !important;
  margin-bottom: 1.1rem !important;
}
.problem-key {
  font-weight: 500 !important;
  font-size: clamp(1.1rem, 1.45vw, 1.3rem) !important;
  margin-top: 1.5rem !important;
}

.symptoms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .symptoms { grid-template-columns: 1fr 1fr; }
}
.symptoms li {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.5;
  color: var(--text);
  font-variation-settings: "opsz" 18;
}
.sym-mark {
  color: var(--accent);
  margin-right: 0.45rem;
  font-weight: 500;
}


/* ============================================
   14. QUIÉN SOY
   ============================================ */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 900px) {
  .who-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: start;
  }
}

.who-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 60, "wght" 500;
}
.who-headline em { color: var(--accent); font-style: italic; }

.who-text > p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.175rem);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  color: var(--text);
  font-variation-settings: "opsz" 18;
}
.who-text > .link-arrow { margin-top: 0.85rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--accent);
  font-variation-settings: "opsz" 72, "wght" 500;
}
.stat-value sup {
  font-size: 0.45em;
  vertical-align: super;
  top: -0.5em;
  position: relative;
  font-weight: 400;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}


/* ============================================
   15. HISTORIA
   ============================================ */
.story-headline {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 22ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  font-variation-settings: "opsz" 72, "wght" 600;
}
.story-headline em { color: var(--accent); display: inline-block; }

.story-body { max-width: 720px; }

.story-body p {
  font-family: var(--font-display);
  font-size: clamp(1.075rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  color: var(--text);
  font-variation-settings: "opsz" 18;
}

.story-lead {
  font-weight: 500 !important;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem) !important;
  line-height: 1.45 !important;
  margin-bottom: 2rem !important;
  font-variation-settings: "opsz" 36, "wght" 500 !important;
}

.drop-cap {
  float: left;
  font-family: var(--font-display);
  font-size: 4.3em;
  line-height: 0.82;
  margin: 0.06em 0.12em -0.05em 0;
  font-weight: 600;
  color: var(--accent);
  font-variation-settings: "opsz" 72, "wght" 600;
}

.story-figure {
  margin: clamp(2.5rem, 4.5vw, 4rem) 0;
  width: 100%;
  clear: both;
}
@media (min-width: 960px) {
  .story-figure {
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    width: calc(100% + 5rem);
  }
}

.story-figure figcaption {
  margin-top: 1.25rem;
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 540px;
}
.story-figure figcaption em {
  font-style: italic;
  color: var(--text-soft);
}


/* ============================================
   16. QUÉ APRENDES
   ============================================ */
.teach-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 640px) { .teach-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .teach-grid { grid-template-columns: repeat(3, 1fr); } }

.teach-card {
  padding: clamp(1.85rem, 2.8vw, 2.5rem) clamp(1.5rem, 2.2vw, 2rem) clamp(2rem, 3.5vw, 2.75rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.12s steps(2);
  display: flex;
  flex-direction: column;
}
.teach-card:hover { background: var(--bg); }

.card-num {
  display: block;
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.teach-card h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  font-weight: 600;
  margin-bottom: 0.7rem;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 36, "wght" 600;
}

.teach-card p {
  color: var(--text-soft);
  font-size: 0.975rem;
  line-height: 1.55;
  flex-grow: 1;
}

.card-benefit {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  line-height: 1.45;
  font-variation-settings: "opsz" 14;
}


/* ============================================
   17. PRODUCTOS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2vw, 1.65rem);
}
@media (min-width: 720px) { .products-grid { grid-template-columns: 1fr 1fr; } }

.product-card {
  position: relative;
  padding: clamp(2rem, 2.5vw, 2.5rem) clamp(1.65rem, 2.2vw, 2.15rem);
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  background: var(--cream);
  transition: border-color 0.12s steps(2),
              transform 0.12s steps(2),
              box-shadow 0.12s steps(2);
}
.product-card:hover {
  border-color: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}

.product-card--featured {
  background: var(--bg-warm);
  border-color: var(--accent);
  box-shadow: 4px 4px 0 var(--accent);
}
.product-card--featured:hover {
  box-shadow: 6px 6px 0 var(--accent);
}

.card-flag {
  position: absolute;
  top: -0.75rem;
  left: clamp(1.25rem, 2vw, 1.85rem);
  background: var(--accent);
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem 0.25rem;
  line-height: 1;
  z-index: 2;
  border: 2px solid var(--text);
}

.card-tag {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 48, "wght" 600;
  line-height: 1.05;
}

.product-pitch {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.175rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  font-variation-settings: "opsz" 24, "wght" 500;
}

.product-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
  flex-grow: 1;
}
.product-benefits li {
  padding-left: 1.1rem;
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.product-benefits li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: gap 0.12s steps(3), color 0.12s steps(3);
}
.card-link:hover { gap: 0.85rem; color: var(--accent-dark); }


/* ============================================
   18. AUDIENCIA
   ============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
@media (min-width: 820px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.audience-col h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 1.65rem;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 36, "wght" 600;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.audience-col--no h3 { color: var(--text-soft); }

.audience-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audience-col li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.025rem, 1.3vw, 1.175rem);
  line-height: 1.45;
  color: var(--text);
  font-variation-settings: "opsz" 18;
}
.audience-col--no li { color: var(--text-soft); }

.mark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.55;
}
.mark--yes { color: var(--accent); }
.mark--no  { color: var(--text-muted); }


/* ============================================
   19. EN SUS PALABRAS
   ============================================ */
.quotes-list { border-top: 1px solid var(--line); }

.big-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-bottom: 1px solid var(--line);
  max-width: 26ch;
  font-variation-settings: "opsz" 60, "wght" 500;
}
.big-quote:nth-child(2) {
  margin-left: auto;
  text-align: right;
  max-width: 24ch;
}
.big-quote:nth-child(3) {
  margin: 0 auto;
  text-align: center;
  max-width: 28ch;
}
.big-quote:nth-child(4) { max-width: 30ch; }

.quote-mark {
  display: inline-block;
  margin-right: 0.4rem;
  color: var(--accent);
  font-weight: 400;
}
.big-quote:nth-child(2) .quote-mark {
  margin-right: 0;
  margin-left: 0.4rem;
  float: right;
}

@media (max-width: 640px) {
  .big-quote,
  .big-quote:nth-child(2),
  .big-quote:nth-child(3),
  .big-quote:nth-child(4) {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  .big-quote:nth-child(2) .quote-mark {
    margin-right: 0.4rem;
    margin-left: 0;
    float: none;
  }
}


/* ============================================
   20. CANALES (hover glitch pixel)
   ============================================ */
.channels-list { border-top: 1px solid var(--line); }
.channels-list li { border-bottom: 1px solid var(--line); }

.channel-link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  padding: clamp(1.35rem, 2.6vw, 2rem) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variation-settings: "opsz" 60, "wght" 600;
  transition: color 0.12s steps(3),
              transform 0.12s steps(3),
              padding 0.12s steps(3);
}
.channel-link:hover {
  color: var(--accent);
  padding-left: clamp(0.5rem, 1.2vw, 1rem);
  transform: translateX(2px);
}

.channel-handle {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
  font-variation-settings: normal;
}

.channel-arrow {
  font-weight: 400;
  display: inline-block;
  color: var(--accent);
  transition: transform 0.12s steps(3);
}
.channel-link:hover .channel-arrow {
  transform: translateX(0.4rem);
}

@media (max-width: 640px) {
  .channel-link { grid-template-columns: 1fr auto; }
  .channel-handle { display: none; }
}


/* ============================================
   21. CTA NEWSLETTER
   ============================================ */
.cta-final {
  background: var(--accent);
  color: var(--cream);
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .cta-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

.cta-content > .kicker { margin-bottom: 1.5rem; }

.cta-headline {
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--cream);
  font-variation-settings: "opsz" 72, "wght" 600;
}
.cta-headline em {
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
  opacity: 0.8;
  display: inline-block;
}

.cta-sub {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  max-width: 540px;
  color: rgba(244, 238, 225, 0.82);
  margin-bottom: 2rem;
  font-variation-settings: "opsz" 20;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 520px;
  margin-bottom: 0.9rem;
}
.cta-form input[type="email"] {
  flex: 1 1 220px;
  padding: 0.95rem 1.15rem;
  background: rgba(244, 238, 225, 0.06);
  border: 2px solid rgba(244, 238, 225, 0.4);
  color: var(--cream);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.12s steps(2), background 0.12s steps(2);
  font-family: var(--font-sans);
  line-height: 1;
}
.cta-form input[type="email"]::placeholder {
  color: rgba(244, 238, 225, 0.45);
}
.cta-form input[type="email"]:focus {
  border-color: var(--pixel-green);
  background: rgba(244, 238, 225, 0.12);
}

.cta-final .btn-primary {
  background: var(--cream);
  color: var(--accent);
  border-color: var(--cream);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}
.cta-final .btn-primary:hover {
  background: var(--cream);
  color: var(--accent-dark);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}
.cta-final .btn-primary:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
}

.cta-foot {
  font-size: 0.82rem;
  color: rgba(244, 238, 225, 0.55);
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}

.cta-ps {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 238, 225, 0.18);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.985rem;
  color: rgba(244, 238, 225, 0.72);
  line-height: 1.5;
  max-width: 500px;
  font-variation-settings: "opsz" 14;
}
.cta-ps strong {
  font-family: var(--font-pixel);
  font-style: normal;
  color: var(--pixel-green);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1em;
  margin-right: 0.25em;
  text-shadow: 0 0 6px rgba(127, 255, 176, 0.3);
}


/* ============================================
   22. FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-alt);
  padding-top: clamp(2.75rem, 4.5vw, 4rem);
  padding-bottom: clamp(2.25rem, 3.5vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.012em;
  margin-bottom: 0.4rem;
  font-variation-settings: "opsz" 24, "wght" 600;
}

.footer-tagline {
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 280px;
  line-height: 1.5;
}

.footer-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.95rem;
}

.footer-col ul {
  display: grid;
  gap: 0.4rem;
}
.footer-col ul a {
  color: var(--text);
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  transition: border-color 0.12s steps(2), color 0.12s steps(2);
}
.footer-col ul a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-note {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 320px;
}

.year {
  font-family: var(--font-pixel);
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 1.05em;
}


/* ============================================
   23. STATUS BADGE
   ============================================ */
.status-badge {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--pixel-green);
  background: var(--pixel-dark);
  padding: 0.45rem 0.8rem 0.3rem;
  border: 2px solid var(--text);
  box-shadow: 3px 3px 0 var(--text);
  z-index: 90;
  letter-spacing: 0.18em;
  line-height: 1;
  text-shadow: 0 0 6px rgba(127, 255, 176, 0.45);
  user-select: none;
}
.status-dot {
  width: 9px;
  height: 9px;
  background: var(--pixel-green);
  display: inline-block;
  animation: blink 1.2s steps(2) infinite;
  box-shadow: 0 0 6px rgba(127, 255, 176, 0.7);
}
@media (max-width: 720px) {
  .status-badge { display: none; }
}


/* ============================================
   24. ANIMACIONES DE SCROLL
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease-out),
              transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
.fade-in.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .pixel-art { opacity: 1; }
  .cursor-blink, .status-dot { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}


/* ============================================
   25. RESPONSIVE FINOS
   ============================================ */
@media (max-width: 720px) {
  body { font-size: 1rem; }

  .section-header { gap: 0.85rem; flex-wrap: wrap; }

  .hero-ctas { flex-direction: column; align-items: stretch; gap: 1rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-ctas .link-arrow { align-self: flex-start; }

  .cta-form { flex-direction: column; }
  .cta-form input[type="email"],
  .cta-form .btn { width: 100%; }
  .cta-form .btn { justify-content: center; }

  .hero-photo-caption { text-align: left; }

  .drop-cap { font-size: 3.6em; }

  .btn { box-shadow: 3px 3px 0 var(--text); }
  .pixel-frame { box-shadow: 4px 4px 0 var(--text); }
  .product-card--featured { box-shadow: 3px 3px 0 var(--accent); }
}
