/* ============================================================
   ACATHI — pantalla: Pequeñas Miradas (patterns/kids.php)
   ============================================================ */

.ac-kids-hero-band {
  background: linear-gradient(135deg, var(--secondary-fixed) 0%, var(--primary-fixed) 100%);
  padding: var(--stack-lg) 0;
}
.ac-kids-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--stack-lg); align-items: center; }
.ac-kids-hero__title {
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 46px;
  line-height: 52px; letter-spacing: -0.01em; color: var(--primary); margin: 18px 0 8px;
}
.ac-kids-hero__tagline { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--on-surface-variant); margin: 0 0 18px; }
.ac-kids-hero__lead { font-family: var(--font-body); font-size: 17px; line-height: 26px; color: var(--on-surface-variant); margin: 0 0 24px; max-width: 520px; }
.ac-kids-quote {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-container-lowest); border-radius: var(--radius-full);
  padding: 10px 18px; box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 14px; color: var(--primary);
}
.ac-kids-quote .material-symbols-outlined { font-size: 18px; color: var(--secondary); }
.ac-kids-hero__media { display: flex; justify-content: center; }
.ac-kids-hero__circle {
  width: 270px; height: 270px; border-radius: 50%; background: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.ac-kids-hero__circle img { width: 220px; height: 220px; object-fit: contain; }

/* Tile de icono con tono variable (color por estilo inline) */
.ac-kids-tile {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.ac-kids-tile .material-symbols-outlined { font-size: 28px; }

/* ¿Qué encontrarás? */
.ac-kids-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ac-kids-cat {
  background: var(--surface-container-lowest); border-radius: var(--radius-xl);
  border-top: 4px solid var(--primary); box-shadow: var(--shadow-sm); padding: 24px; text-align: center;
}
.ac-kids-cat h3 { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 16px; color: var(--on-surface); margin: 0 0 8px; }
.ac-kids-cat p { font-family: var(--font-body); font-size: 13px; line-height: 19px; color: var(--on-surface-variant); margin: 0; }

/* Cuento destacado */
.ac-kids-story-band { background: var(--surface-container-low); padding: var(--stack-lg) var(--gutter); }
.ac-kids-story { max-width: 760px; margin: 0 auto; text-align: center; }
.ac-kids-story .ac-eyebrow { margin-bottom: 6px; }
.ac-kids-story__title { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 30px; color: var(--primary); margin: 8px 0 2px; }
.ac-kids-story__sub { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--on-surface-variant); margin: 0 0 26px; }
.ac-kids-story__page {
  background: var(--surface-container-lowest); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md); border-top: 4px solid var(--primary);
  padding: 36px; position: relative; overflow: hidden; text-align: left; margin-bottom: 18px;
}
.ac-kids-story__page > p { font-family: var(--font-body); font-size: 19px; line-height: 30px; color: var(--on-surface); margin: 0; }
.ac-kids-story__quote { position: absolute; top: 14px; right: 16px; font-size: 52px; opacity: 0.12; }
.ac-kids-imagine { margin-top: 24px; background: var(--primary-container); border-radius: var(--radius-xl); padding: 22px; }
.ac-kids-imagine h3 { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 19px; color: #fff; margin: 0 0 6px; }
.ac-kids-imagine > p { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.9); margin: 0 0 16px; }
.ac-kids-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ac-kids-color {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px;
  border-radius: var(--radius-md); background: rgba(255,255,255,0.14); border: 2px solid rgba(255,255,255,0.35);
}
.ac-kids-color .material-symbols-outlined { font-size: 24px; color: #fff; }
.ac-kids-color span:last-child { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 12px; color: #fff; }
.ac-kids-story__cta { margin-top: 22px; }

/* Cuentos de diversidad */
.ac-kids-head { text-align: center; margin-bottom: 40px; }
.ac-kids-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ac-kids-cuento {
  background: var(--surface-container-lowest); border-radius: var(--radius-2xl);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-subtle);
}
.ac-kids-cuento__media { height: 180px; background: #fff; display: flex; align-items: center; justify-content: center; }
.ac-kids-cuento__media img { width: 100%; height: 100%; object-fit: cover; }
.ac-kids-cuento__media .material-symbols-outlined { font-size: 60px; }
.ac-kids-cuento__body { padding: 24px; border-top: 4px solid var(--primary); }
.ac-kids-cuento__body h3 { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 19px; color: var(--primary); margin: 0 0 8px; }
.ac-kids-cuento__body p { font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--on-surface-variant); margin: 0 0 14px; }
.ac-kids-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 14px; color: var(--secondary);
}
.ac-kids-more .material-symbols-outlined { font-size: 18px; }

/* Paneles inferiores */
.ac-kids-lower-band { background: var(--surface-container-low); padding: var(--stack-lg) 0; }
.ac-kids-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ac-kids-panel {
  background: var(--surface-container-lowest); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm); padding: 32px;
}
.ac-kids-panel h3 { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 22px; color: var(--primary); margin: 12px 0 8px; }
.ac-kids-panel > p { font-family: var(--font-body); font-size: 15px; line-height: 22px; color: var(--on-surface-variant); margin: 0 0 18px; }
.ac-kids-panel--wide { margin-top: 24px; }
.ac-kids-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ac-kids-panel__head h3 { margin: 0; }
.ac-kids-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ac-kids-panel--wide .ac-kids-pills { margin-bottom: 0; }
.ac-kids-pill {
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 13px;
  color: var(--primary); background: var(--primary-fixed); border-radius: var(--radius-full); padding: 6px 12px;
}
.ac-kids-pill--muted { color: var(--on-surface-variant); background: var(--surface-container); }
.ac-kids-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 12px; line-height: 1;
  letter-spacing: 0.02em; padding: 4px 10px; border-radius: var(--radius-full);
  background: var(--secondary-fixed); color: var(--on-secondary-fixed-variant);
}

/* Aviso de protección de la infancia (tono "privacy" del prototipo) */
.ac-kids-alert { background: var(--surface-container); color: var(--on-surface-variant); margin-top: 24px; }
.ac-kids-alert strong {
  display: block; font-family: var(--font-display); font-weight: var(--weight-semibold);
  font-size: 15px; color: var(--on-surface); margin-bottom: 2px;
}
.ac-kids-alert p { font-size: 14px; line-height: 20px; }

/* Cierre */
.ac-kids-closing { max-width: 680px; margin: 0 auto; text-align: center; padding: 0 var(--gutter); }
.ac-kids-closing h2 { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 30px; line-height: 38px; margin: 14px 0 14px; }
.ac-kids-closing > p { font-family: var(--font-body); font-size: 17px; line-height: 26px; color: rgba(255,255,255,0.82); margin: 0 auto 28px; max-width: 500px; }
.ac-kids-closing__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .ac-kids-grid, .ac-kids-cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .ac-kids-hero, .ac-kids-grid, .ac-kids-cats, .ac-kids-lower { grid-template-columns: 1fr; }
  .ac-kids-hero__title { font-size: 36px; line-height: 42px; }
}

/* ═══ Rediseño editorial (añadido) ═══ */
.ac-kids-hero-band { position: relative; overflow: hidden; }
.ac-kids-hero-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--rainbow-gradient); }
.ac-kids-hero__title { font-size: clamp(2.1rem, 1.4rem + 2vw, 3.3rem); line-height: 1.07; letter-spacing: -0.02em; }
