/* ============================================================
   Charlie Blue Bird · sistema de diseño compartido · v2
   Wayne delegación 11-jul · refactor emocional Rick 13-jul 22:03 GMT-5
   Dark scheme azul + dorado · mobile-first · 0 dependencias runtime
   Tipografía: Source Serif 4 (display, con calor) + Inter (body, limpia)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source Serif 4:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta extendida */
  --bg: #0E1428;
  --bg-2: #131a35;
  --bg-3: #1a2347;
  --bg-soft: rgba(123, 167, 232, .04);
  --bg-card: rgba(123, 167, 232, .035);
  --bg-card-hover: rgba(123, 167, 232, .07);

  --fg: #EAE6DA;
  --fg-muted: #b9b3a3;
  --azul: #7BA7E8;
  --azul-claro: #9fb3d9;
  --azul-gris: #6a7ea3;
  --azul-profundo: #4a6fa5;
  --dorado: #E8C77B;
  --dorado-claro: #f5dca0;
  --dorado-suave: rgba(232, 199, 123, .35);
  --verde-tierno: #8fc8a8;
  --rojo-tierno: #d68a8a;

  /* Luces y sombras */
  --glow-azul: 0 0 30px rgba(123, 167, 232, .25);
  --glow-dorado: 0 0 24px rgba(232, 199, 123, .18);
  --shadow-card: 0 6px 24px rgba(0, 0, 0, .25), 0 2px 8px rgba(123, 167, 232, .08);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, .18);
  --shadow-emocional: 0 12px 48px rgba(123, 167, 232, .12), 0 4px 16px rgba(0, 0, 0, .3);

  /* Layout */
  --max: 64em;
  --max-lectura: 42em;
  --radio: 1em;
  --radio-card: .75em;
  --gap: 1.5rem;
  --gap-sm: .75rem;
  --gap-lg: 3rem;
  --gap-xl: 4.5rem;

  /* Tipografía con personalidad */
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-size-base: 1rem;
  --line-height: 1.65;
  --line-height-tight: 1.25;
  --line-height-loose: 1.8;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-emocional: cubic-bezier(.22, .61, .36, 1);
  --t-rapido: .15s;
  --t-base: .25s;
  --t-lento: .45s;
  --t-pausa: 1.2s;
}

/* ===== RESET + BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(123, 167, 232, .12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 110%, rgba(232, 199, 123, .06), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg-3) 100%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--azul);
  text-decoration: none;
  transition: color var(--t-rapido) var(--ease);
}
a:hover { color: var(--dorado); }
a:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ===== TIPOGRAFÍA CON ALMA ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--azul);
  letter-spacing: -.015em;
  line-height: var(--line-height-tight);
  margin: 0 0 .4em;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.025em;
  margin: .3em 0 .4em;
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  margin: var(--gap-lg) 0 .5em;
}
h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--azul);
  margin: .4em 0 .3em;
}
h4 {
  font-size: 1.05rem;
  color: var(--azul-claro);
  margin: .8em 0 .3em;
  font-weight: 500;
}
p { margin: 1em 0; color: var(--fg); }
em, i { font-family: var(--font-display); font-style: italic; }
strong, b { color: var(--azul-claro); font-weight: 600; }

/* ===== HEADER + NAV ===== */
header.cbb-header {
  border-bottom: 1px solid rgba(123, 167, 232, .1);
  padding: 1em 1.5em;
  position: sticky;
  top: 0;
  background: rgba(14, 20, 40, .82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  z-index: 100;
}
header.cbb-header .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  max-width: var(--max);
  margin: 0 auto;
}
header.cbb-header .marca {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  color: var(--azul);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .005em;
  transition: color var(--t-base) var(--ease);
}
header.cbb-header .marca:hover { color: var(--dorado); }
header.cbb-header .marca .pajarito-marca {
  display: inline-block;
  font-size: 1.15em;
  filter: drop-shadow(0 2px 6px rgba(123, 167, 232, .3));
  animation: flotar 5s var(--ease) infinite;
}
header.cbb-header nav.cbb-nav {
  display: flex;
  gap: .25em;
  flex-wrap: wrap;
  font-size: .92em;
  align-items: center;
}
header.cbb-header nav.cbb-nav a {
  color: var(--azul-claro);
  padding: .4em .7em;
  border-radius: .4em;
  font-weight: 500;
  transition: all var(--t-rapido) var(--ease);
}
header.cbb-header nav.cbb-nav a:hover,
header.cbb-header nav.cbb-nav a[aria-current="page"] {
  color: var(--dorado);
  background: rgba(232, 199, 123, .08);
}

/* ===== BANNER MARCA ===== */
.banner-marca {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5em 1.5em 0;
}
.banner-marca picture,
.banner-marca img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radio);
  box-shadow: var(--shadow-card);
}

/* ===== HERO · corazón emocional de la home ===== */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1em 1.5em var(--gap-lg);
  text-align: center;
  position: relative;
}
.hero--emocional {
  padding: 2em 1.5em 4em;
}
.hero--emocional::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(232, 199, 123, .35) 0, transparent 1.5px),
    radial-gradient(circle at 75% 18%, rgba(232, 199, 123, .25) 0, transparent 1px),
    radial-gradient(circle at 45% 12%, rgba(123, 167, 232, .3) 0, transparent 1.2px),
    radial-gradient(circle at 88% 40%, rgba(232, 199, 123, .2) 0, transparent 1px),
    radial-gradient(circle at 25% 8%, rgba(232, 199, 123, .2) 0, transparent 1px);
  pointer-events: none;
  z-index: 0;
  animation: estrellas-pulsan 8s var(--ease-emocional) infinite alternate;
}
@keyframes estrellas-pulsan {
  from { opacity: .7; }
  to   { opacity: 1; }
}
.hero--emocional > * { position: relative; z-index: 1; }
.pichon-svg {
  width: 7.5em;
  height: 7.5em;
  margin: 0 auto .8em;
  display: block;
  animation: flotar 6s var(--ease-emocional) infinite;
  filter: drop-shadow(0 8px 24px rgba(123, 167, 232, .35));
}
.pichon-svg--xl {
  width: 9em;
  height: 9em;
}
@keyframes flotar {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-.5em) rotate(1deg); }
}
.hero h1 {
  margin: .4em 0 .3em;
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .acento {
  color: var(--dorado);
  font-style: italic;
  font-weight: 500;
}
.subtitulo {
  color: var(--fg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  margin: .4em 0 .8em;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.propuesta {
  color: var(--azul-claro);
  font-size: 1.02em;
  max-width: 38em;
  margin: 1.4em auto 1.6em;
  line-height: 1.7;
}

/* ===== PUERTAS / CTAs ===== */
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .9em;
  justify-content: center;
  margin-top: 1.8em;
}
.puerta {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.6em;
  border: 1px solid var(--azul);
  border-radius: var(--radio);
  color: var(--azul);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .98em;
  letter-spacing: .01em;
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.puerta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(232, 199, 123, .15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform var(--t-lento) var(--ease-emocional);
  pointer-events: none;
}
.puerta:hover::after { transform: translateX(100%); }
.puerta:hover {
  color: var(--dorado);
  border-color: var(--dorado);
  transform: translateY(-2px);
  box-shadow: var(--glow-dorado);
}
.puerta.primaria {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-profundo) 100%);
  color: var(--bg);
  border-color: transparent;
  font-weight: 600;
}
.puerta.primaria:hover {
  background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-claro) 100%);
  color: var(--bg);
  border-color: transparent;
  box-shadow: var(--glow-dorado);
}

/* ===== MAIN + SECCIONES ===== */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5em 3em;
}
section { margin: var(--gap-lg) 0; }
section .intro-seccion {
  color: var(--azul-claro);
  margin: .3em 0 var(--gap);
  max-width: 44em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05em;
  line-height: 1.6;
}

/* ===== GRID + CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
  gap: var(--gap);
}
.card {
  display: flex;
  flex-direction: column;
  gap: .35em;
  padding: 1.4em;
  background: var(--bg-card);
  border: 1px solid rgba(123, 167, 232, .12);
  border-radius: var(--radio-card);
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(232, 199, 123, .35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.card .icono {
  font-size: 1.7em;
  margin-bottom: .2em;
  filter: drop-shadow(0 2px 6px rgba(123, 167, 232, .25));
}
.card .cuantos {
  font-size: .82em;
  color: var(--azul-gris);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
}
.card h3 {
  margin: .3em 0;
  color: var(--azul);
  font-size: 1.2em;
}
.card p {
  margin: 0;
  color: var(--fg);
  font-size: .96em;
  line-height: 1.6;
}

/* ===== HIGHLIGHT (puertas del home) ===== */
.highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
  gap: var(--gap);
  margin: var(--gap-lg) 0;
}
.highlight .puerta-card {
  display: flex;
  flex-direction: column;
  gap: .55em;
  padding: 1.8em 1.6em;
  background: linear-gradient(135deg, rgba(123, 167, 232, .055), rgba(232, 199, 123, .035));
  border: 1px solid rgba(232, 199, 123, .22);
  border-radius: var(--radio);
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.highlight .puerta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232, 199, 123, .08) 0, transparent 70%);
  transition: opacity var(--t-lento) var(--ease-emocional);
  pointer-events: none;
}
.highlight .puerta-card:hover {
  transform: translateY(-4px);
  border-color: var(--dorado-suave);
  box-shadow: var(--shadow-emocional);
}
.highlight .puerta-card:hover::before { opacity: 1.6; }
.highlight .puerta-card .badge {
  display: inline-block;
  background: var(--dorado);
  color: var(--bg);
  padding: .2em .7em;
  border-radius: 4px;
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  align-self: flex-start;
}
.highlight .puerta-card .icono {
  font-size: 2em;
  margin: .2em 0;
}
.highlight .puerta-card h3 {
  margin: .2em 0;
  font-size: 1.35em;
  color: var(--azul);
}
.highlight .puerta-card p {
  color: var(--fg);
  font-size: .98em;
  line-height: 1.6;
  margin: 0;
}
.highlight .puerta-card .ver-mas {
  margin-top: .6em;
  color: var(--dorado);
  font-size: .9em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .3em;
  transition: gap var(--t-base) var(--ease);
}
.highlight .puerta-card:hover .ver-mas { gap: .55em; }

/* ===== TIMBRE / FRANJA EMOCIONAL ===== */
.timbre {
  background: linear-gradient(120deg, rgba(123, 167, 232, .08) 0%, rgba(232, 199, 123, .06) 100%);
  border-left: 3px solid var(--dorado);
  padding: 1.3em 1.5em;
  border-radius: 0 var(--radio) var(--radio) 0;
  margin: var(--gap-lg) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--azul-claro);
  position: relative;
}
.timbre::before {
  content: "“";
  position: absolute;
  top: -.1em;
  left: .3em;
  font-family: var(--font-display);
  font-size: 4em;
  color: var(--dorado);
  opacity: .25;
  line-height: 1;
}
.timbre strong { color: var(--dorado); font-style: normal; font-weight: 600; }
.timbre p { margin: .3em 0; }

/* ===== MANIFIESTO VISUAL (hero central) ===== */
.manifiesto {
  max-width: 38em;
  margin: var(--gap-xl) auto;
  padding: 0 1.5em;
  text-align: center;
}
.manifiesto .texto {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.5;
  color: var(--fg);
  font-weight: 400;
  letter-spacing: -.005em;
}
.manifiesto .texto em {
  color: var(--dorado);
  font-style: italic;
  font-weight: 500;
}
.manifiesto .firma {
  margin-top: 1.4em;
  color: var(--azul-gris);
  font-size: .9em;
  letter-spacing: .04em;
}

/* ===== ÚLTIMO DEL NIDO (cuadernos recientes) ===== */
.ultimo-nido {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
  gap: var(--gap);
  margin: var(--gap) 0;
}
.ultimo-nido .cuaderno {
  display: flex;
  flex-direction: column;
  gap: .35em;
  padding: 1.3em 1.4em;
  background: var(--bg-card);
  border: 1px solid rgba(123, 167, 232, .12);
  border-radius: var(--radio-card);
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base) var(--ease);
}
.ultimo-nido .cuaderno:hover {
  border-color: rgba(232, 199, 123, .3);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}
.ultimo-nido .cuaderno .pilar-tag {
  display: inline-block;
  font-size: .72em;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: .2em;
}
.ultimo-nido .cuaderno h3 {
  font-size: 1.15em;
  margin: .1em 0;
  color: var(--azul);
}
.ultimo-nido .cuaderno p {
  margin: 0;
  font-size: .93em;
  color: var(--fg);
  line-height: 1.55;
}

/* ===== ARTÍCULO (lectura) ===== */
article.lectura {
  max-width: var(--max-lectura);
  margin: 0 auto;
  padding: 0 1.5em 3em;
}
article.lectura h1 { text-align: left; margin-top: 1em; }
article.lectura h2 {
  margin-top: var(--gap-xl);
  font-size: 1.6rem;
  color: var(--azul);
}
article.lectura h2::before {
  content: "✦";
  color: var(--dorado);
  margin-right: .4em;
  opacity: .7;
}
article.lectura p {
  font-family: var(--font-body);
  font-size: 1.06em;
  line-height: var(--line-height-loose);
  color: var(--fg);
}
article.lectura p strong { color: var(--azul-claro); }
article.lectura blockquote {
  border-left: 3px solid var(--dorado);
  padding: .4em 0 .4em 1.4em;
  margin: 2em 0;
  color: var(--azul-claro);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer.cbb-footer {
  border-top: 1px solid rgba(123, 167, 232, .1);
  padding: 2.5em 1.5em 2em;
  text-align: center;
  color: var(--azul-gris);
  font-size: .9em;
  margin-top: var(--gap-xl);
  background: linear-gradient(180deg, transparent 0%, rgba(14, 20, 40, .6) 100%);
}
footer.cbb-footer nav.cbb-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4em 1em;
  justify-content: center;
  margin: 1em 0 1.5em;
}
footer.cbb-footer nav.cbb-footer-nav a {
  color: var(--azul-claro);
  padding: .3em .5em;
  font-weight: 500;
}
footer.cbb-footer .firma {
  margin-top: 1.2em;
  color: var(--azul-gris);
  font-size: .85em;
  font-style: italic;
  font-family: var(--font-display);
}
footer.cbb-footer .firma strong {
  color: var(--dorado);
  font-style: normal;
  font-weight: 600;
}

/* ===== BREADCRUMB ===== */
.cbb-breadcrumb {
  max-width: var(--max);
  margin: 1em auto .4em;
  padding: 0 1.5em;
  font-size: .88em;
  color: var(--azul-gris);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25em;
}
.cbb-breadcrumb a { color: var(--azul-claro); }
.cbb-breadcrumb a:hover { color: var(--dorado); }
.cbb-breadcrumb .sep { margin: 0 .3em; opacity: .5; }
.cbb-breadcrumb [aria-current="page"] {
  color: var(--dorado);
  font-weight: 500;
}

/* ===== 404 ===== */
.cbb-404 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3em 1.5em var(--gap-xl);
  text-align: center;
  position: relative;
}
.cbb-404::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(232, 199, 123, .25) 0, transparent 1.2px),
    radial-gradient(circle at 70% 15%, rgba(232, 199, 123, .2) 0, transparent 1px),
    radial-gradient(circle at 45% 8%, rgba(123, 167, 232, .25) 0, transparent 1.2px);
  pointer-events: none;
  z-index: 0;
}
.cbb-404 > * { position: relative; z-index: 1; }
.cbb-404 .codigo {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  color: var(--dorado);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  letter-spacing: -.05em;
  opacity: .9;
}
.cbb-404 h1 { margin-top: .2em; }
.cbb-404 .pichon-perdido {
  width: 8em;
  height: 8em;
  margin: 1em auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(123, 167, 232, .3));
  animation: flotar 7s var(--ease-emocional) infinite;
}
.cbb-404 .opciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
  gap: var(--gap);
  margin: var(--gap-lg) auto;
  max-width: 50em;
}
.cbb-404 .opcion {
  display: flex;
  flex-direction: column;
  gap: .4em;
  padding: 1.4em 1.3em;
  background: var(--bg-card);
  border: 1px solid rgba(123, 167, 232, .12);
  border-radius: var(--radio-card);
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base) var(--ease);
}
.cbb-404 .opcion:hover {
  border-color: var(--dorado-suave);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.cbb-404 .opcion .icono { font-size: 1.8em; }
.cbb-404 .opcion h3 { font-size: 1.1em; margin: .1em 0; }
.cbb-404 .opcion p { font-size: .9em; color: var(--fg); margin: 0; }

/* ===== BOTÓN FLOTANTE NEWSLETTER ===== */
.puerta-newsletter {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .7em 1.3em;
  background: rgba(232, 199, 123, .08);
  border: 1px solid var(--dorado-suave);
  border-radius: 100px;
  color: var(--dorado);
  font-size: .9em;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
}
.puerta-newsletter:hover {
  background: rgba(232, 199, 123, .15);
  color: var(--dorado-claro);
  transform: translateY(-1px);
}

/* ===== SKIP LINK (accesibilidad) ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--dorado);
  color: var(--bg);
  padding: .55em 1em;
  z-index: 200;
  font-weight: 600;
  border-radius: 0 0 .4em 0;
}
.skip-link:focus { top: 0; }

/* ===== MOBILE-FIRST TWEAKS ===== */
@media (max-width: 720px) {
  header.cbb-header { padding: .8em 1em; }
  header.cbb-header .header-row { gap: .5em; }
  header.cbb-header nav.cbb-nav { gap: .15em; font-size: .85em; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: .25em; -webkit-overflow-scrolling: touch; }
  header.cbb-header nav.cbb-nav a { padding: .35em .55em; white-space: nowrap; }
  .banner-marca { padding: 1em 1em 0; }
  .hero { padding: 1em 1em 2em; }
  .hero--emocional { padding: 1.5em 1em 3em; }
  .pichon-svg { width: 5.5em; height: 5.5em; }
  .pichon-svg--xl { width: 7em; height: 7em; }
  section { margin: var(--gap) 0; }
  .grid { grid-template-columns: 1fr; gap: var(--gap-sm); }
  .highlight { grid-template-columns: 1fr; gap: var(--gap-sm); }
  .ultimo-nido { grid-template-columns: 1fr; }
  main { padding: 0 1em 2.5em; }
  .manifiesto { margin: var(--gap-lg) auto; }
  .cbb-404 .opciones { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --font-size-base: .98rem; }
  h1 { font-size: clamp(1.85rem, 7vw, 2.5rem); }
  h2 { font-size: 1.5rem; }
  .puerta { padding: .7em 1.2em; font-size: .92em; }
  .puerta-newsletter { padding: .6em 1em; font-size: .85em; }
}

/* ===== PRINT ===== */
@media print {
  body { background: white; color: #111; font-family: serif; }
  a { color: #003; }
  header.cbb-header, footer.cbb-footer, .banner-marca, .pichon-svg, .cbb-404::before, .hero--emocional::before { display: none; }
  h1, h2, h3 { color: #111; }
  .timbre { background: #f5f5f5; border-left-color: #888; }
}

/* ===== UTILIDADES ===== */
.texto-azul { color: var(--azul); }
.texto-dorado { color: var(--dorado); }
.texto-gris { color: var(--azul-gris); }
.centro { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--gap-sm); }
.mt-2 { margin-top: var(--gap); }
.mt-3 { margin-top: var(--gap-lg); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--gap); }
.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;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   FIN · cbb.css v2 · Charlie Blue Bird · sistema compartido
   Refactor emocional Rick 13-jul 22:03 GMT-5
   ============================================================ */