/* === ESTILOS MÁGICOS PARA menu-infantil.html === */

/* Introducción emocional */
.intro-magic {
  text-align: left;
  margin: 1rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
  border-radius: 12px;
  border: 1px solid #bbdefb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.intro-magic p {
  margin: 0.5rem 0;
  color: #1a1a1a;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Iconos en subtítulos */
.subtitle p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: #2E7D32;
  font-weight: 600;
  text-align: left;
}

/* Colores mágicos (dorado, morado) */
.magic-item h3 {
  color: #6a1b9a; /* Morado mágico */
}

.magic-item h3:hover {
  color: #9c27b0;
  text-shadow: 0 0 8px rgba(156, 39, 176, 0.3);
}

/* Destacado especial para "La Huella Mágica" */
.magic-item:last-of-type {
  background-color: #fff8e1 !important; /* Fondo dorado claro */
  border: 1px solid #ffcc80;
}

.magic-item:last-of-type h3 {
  color: #ef6c00; /* Naranja dorado */
  font-family: 'Baskervville', serif;
  font-variant: small-caps;
}

.magic-item:last-of-type p,
.magic-item:last-of-type li {
  color: #333;
}/* Variables */
:root {
  --primary-color: #2E7D32; /* Verde bosque */
  --bg-color: #f8f9fa; /* Fondo pastel: blanco roto cálido */
  --text-color: #1A1A1A;
  --btn-bg: #F8FAFC;
  --border-color: #E2E8F0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --max-width: 600px;
}

/* Tipografías */
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400;0,700&family=Montserrat:wght@400;600;700&family=Inter:wght@400;500&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

/* Page */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header */
.header {
  text-align: center;
  padding-bottom: 1.25rem;
}

.logo-small {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: none;
}

/* Hero Section (solo en index.html) */
.hero-section {
  text-align: center;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-section h2 {
  margin: 0 0 0.5rem 0;
  font-family: 'Baskervville', serif;
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.hero-section p {
  margin: 0;
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 500;
}

/* Menu Buttons */
.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.lang-btn {
  display: block;
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  width: 100%;
}

.lang-btn:hover {
  background-color: #F1F5F9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.lang-btn::before {
  content: "→";
  position: absolute;
  right: 1rem;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Content Pages */
.content {
  padding: 1rem 0;
  text-align: center;
}

.content h2 {
  font-family: 'Montserrat', serif;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 0 0 0.75rem 0;
}

.content p {
  margin: 0 0 1.25rem 0;
  color: #475569;
  font-size: 0.95rem;
}

/* Estilo unificado para todas las secciones */
.magic-item {
  background-color: white;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: left;
}

/* Encabezados con Baskervville SC */
.magic-item h3 {
  font-family: 'Baskervville', serif;
  font-size: 36px;
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-variant: small-caps;
  line-height: 1.2;
}

/* Subtítulo */
.magic-item .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

/* Texto normal */
.magic-item .text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #475569;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

/* ✅ Eliminar viñetas en listas */
.magic-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.magic-item li {
  margin: 0.5rem 0;
  line-height: 1.4;
}

/* Info Note - Sección con fondo azul claro */
.info-note {
  background-color: #e3f2fd; /* Azul claro pastel */
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #bbdefb;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-note p {
  margin: 0.5rem 0;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}

/* Botón Volver a Inicio */
.back-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 2rem auto 0;
  background-color: var(--primary-color);
  color: white !important;
  text-decoration: none;
  text-align: center;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #1b5e20;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.25rem 0;
  margin-top: 2rem;
  color: #64748B;
  font-family: 'Montserrat', serif;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .page {
    padding: 1rem;
  }

  .content h2 {
    font-size: 1.15rem;
  }

  .content p {
    font-size: 0.9rem;
  }

  .magic-item h3 {
    font-size: 28px;
  }

  .magic-item .subtitle {
    font-size: 0.9rem;
  }

  .back-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.1rem;
  }
}