/* ============================================================
   COLEGIO MARCELINA — COMPONENTES GLOBALES
   Sistema de componentes reutilizables v1.0
   Basado en sistema visual y funcional aprobado
   ============================================================
   Dependencias: variables.css, animations.css, responsive.css
   ============================================================ */


/* ──────────────────────────────────────────
   BOTONES — Sistema completo
────────────────────────────────────────── */

/* Base — todas las variantes heredan de .btn */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.22s var(--ease-smooth),
              box-shadow 0.22s var(--ease-smooth),
              background-color 0.18s ease;
}

.btn:active { transform: scale(0.97); }

/* Lima — CTA principal */
.btn-lima {
  background: var(--color-lima);
  color: var(--color-indigo-deeper);
  font-size: 14px;
  padding: 13px 28px;
  box-shadow: var(--shadow-lima);
}
.btn-lima:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lima-hover);
}

/* Lima grande — CTA hero y secciones finales */
.btn-lima.lg {
  font-size: 15px;
  padding: 15px 34px;
}

/* Rojo — exclusivo admisiones */
.btn-red {
  background: var(--color-red);
  color: white;
  font-size: 14px;
  padding: 13px 28px;
  box-shadow: var(--shadow-red);
}
.btn-red:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-hover);
}

/* Índigo — acciones secundarias */
.btn-indigo {
  background: var(--color-indigo);
  color: white;
  font-size: 14px;
  padding: 13px 28px;
}
.btn-indigo:hover {
  background: var(--color-indigo-dark);
  transform: translateY(-2px);
}

/* Ghost — sobre fondos oscuros */
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.80);
  font-size: 14px;
  padding: 13px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.50);
  background: rgba(255, 255, 255, 0.08);
}

/* Outline — acciones terciarias */
.btn-outline {
  background: transparent;
  color: var(--color-indigo);
  font-size: 13px;
  padding: 9px 20px;
  border: 1.5px solid rgba(76, 72, 200, 0.25);
  border-radius: var(--radius-pill);
}
.btn-outline:hover {
  background: var(--color-indigo);
  color: white;
  border-color: var(--color-indigo);
}

/* WhatsApp */
.btn-wa {
  background: var(--color-whatsapp);
  color: white;
  font-size: 14px;
  padding: 13px 24px;
}
.btn-wa:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-2px);
}

/* Tamaños adicionales */
.btn-sm { font-size: 12px; padding: 8px 18px; }
.btn-xs { font-size: 11px; padding: 6px 14px; }

/* Full width */
.btn-full {
  width: 100%;
  height: 48px;
  font-size: 14.5px;
}


/* ──────────────────────────────────────────
   EYEBROW — Etiqueta de sección
────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-indigo);
  margin-bottom: 12px;
}

.eyebrow-light { color: var(--color-lima); }
.eyebrow-center { display: block; text-align: center; }


/* ──────────────────────────────────────────
   TÍTULOS DE SECCIÓN
────────────────────────────────────────── */

.sec-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--color-indigo-deeper);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sec-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-indigo);
}

.sec-title.light     { color: white; }
.sec-title.light em  { color: rgba(255, 255, 255, 0.75); }
.sec-title.center    { text-align: center; }

/* Header de sección — eyebrow + título + link */
.sec-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Link "Ver más →" */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-indigo);
  text-decoration: none;
  transition: gap 0.15s ease;
}
.link-more:hover     { gap: 9px; }
.link-more.light     { color: rgba(255, 255, 255, 0.60); }
.link-more.light:hover { color: white; }


/* ──────────────────────────────────────────
   CARDS — Sistema de tarjetas
────────────────────────────────────────── */

/* Card base */
.card {
  background: white;
  border-radius: var(--radius-xl);
  border: var(--border-default);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-body { padding: clamp(20px, 3vw, 28px); }

/* Card con imagen superior */
.card-img {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Card pilar educativo — centrado con ícono */
.card-pilar {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  border: var(--border-default);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}
.card-pilar:hover {
  border-color: var(--color-indigo);
  box-shadow: 0 8px 32px rgba(76, 72, 200, 0.14);
  transform: translateY(-5px);
}

.card-pilar-ico {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: var(--bg-indigo-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}

/* Card dark — sobre fondos oscuros */
.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: var(--transition-slow);
}
.card-dark:hover {
  background: rgba(0, 194, 240, 0.08);
  border-color: rgba(0, 194, 240, 0.22);
  transform: translateY(-4px);
}

/* Card razón — con pseudo-elemento decorativo */
.card-razon {
  background: white;
  border-radius: var(--radius-xl);
  padding: 22px;
  border: var(--border-default);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
}
.card-razon::after {
  content: '';
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-indigo-pale);
  opacity: 0.55;
  transition: transform 0.25s ease;
}
.card-razon:hover {
  border-color: var(--color-indigo);
  box-shadow: 0 8px 32px rgba(76, 72, 200, 0.13);
  transform: translateY(-4px);
}
.card-razon:hover::after {
  transform: scale(1.5);
  opacity: 0.30;
}

.card-razon-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-indigo-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* Card paso — proceso admisión */
.card-paso {
  background: white;
  border-radius: 20px;
  padding: 26px 18px 22px;
  text-align: center;
  border: 1px solid rgba(76, 72, 200, 0.09);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
}
.card-paso::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-indigo-pale);
  opacity: 0.60;
  transition: transform 0.28s ease;
}
.card-paso:hover {
  border-color: var(--color-indigo);
  box-shadow: 0 8px 32px rgba(76, 72, 200, 0.14);
  transform: translateY(-5px);
}
.card-paso:hover::after { transform: scale(1.6); opacity: 0.30; }

.card-paso-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-lima-pale);
  border: 2px solid var(--color-lima);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--color-indigo-deeper);
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
  transition: var(--transition-base);
}
.card-paso:hover .card-paso-num {
  background: var(--color-indigo);
  color: white;
  border-color: var(--color-indigo);
}

/* Card testimonio */
.card-testi {
  background: white;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  border: var(--border-default);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
}
.card-testi:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-testi-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--color-indigo), var(--color-cyan));
}

.card-testi-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-indigo-pale), var(--color-indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 auto 16px;
}

/* Card blog */
.card-post {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: var(--border-default);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}
.card-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-post-body  { padding: 20px; }

/* Card canal contacto */
.card-canal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  border: var(--border-default);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}
.card-canal:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-canal-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
}

/* Card misión/visión/valores — sobre fondo oscuro */
.card-mv {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-xl);
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: var(--transition-slow);
}
.card-mv:hover {
  background: rgba(0, 194, 240, 0.08);
  border-color: rgba(0, 194, 240, 0.22);
  transform: translateY(-4px);
}

.card-mv-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(0, 194, 240, 0.12);
}


/* ──────────────────────────────────────────
   PILLS Y BADGES
────────────────────────────────────────── */

/* Filter pill — galería y blog */
.fpill {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  border: 1.5px solid rgba(76, 72, 200, 0.16);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--sans);
}
.fpill.act,
.fpill:hover {
  background: var(--color-indigo);
  color: white;
  border-color: var(--color-indigo);
  font-weight: 600;
}

/* Tab button — requisitos admisión */
.tab-btn {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(76, 72, 200, 0.15);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--sans);
}
.tab-btn.act,
.tab-btn:hover {
  background: var(--color-lima);
  color: var(--color-indigo-deeper);
  border-color: var(--color-lima);
  font-weight: 700;
}

/* Badge nivel — etiqueta de color por nivel */
.badge-nivel {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* Badge lima — genérico */
.badge-lima {
  background: var(--color-lima);
  color: var(--color-indigo-deeper);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-md);
  display: inline-block;
}

/* Badge categoría blog */
.badge-cat {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* Badge urgencia — admisiones */
.badge-urgencia {
  background: rgba(255, 255, 255, 0.90);
  color: var(--color-red);
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}
.badge-urgencia:hover { background: white; }

/* Hero pill — inscripciones abiertas */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(43, 173, 212, 0.12);
  border: 1px solid rgba(43, 173, 212, 0.28);
  color: var(--color-cyan);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-cyan);
  animation: pulseDot 2.5s ease infinite;
  flex-shrink: 0;
}

/* Tag galería */
.gal-tag {
  font-size: 10px;
  font-weight: 700;
  background: var(--color-lima);
  color: var(--color-indigo-deeper);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

/* Wrap de filtros */
.filter-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}


/* ──────────────────────────────────────────
   INPUTS Y FORMULARIOS
────────────────────────────────────────── */

/* Contenedor del formulario */
.form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(76, 72, 200, 0.09);
  box-shadow: var(--shadow-lg);
}

/* Grupo de campo */
.form-group { margin-bottom: 14px; }

/* Label */
.form-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-indigo-deeper);
  margin-bottom: 5px;
  display: block;
  letter-spacing: 0.3px;
}

/* Input base */
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(76, 72, 200, 0.16);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--sans);
  color: var(--color-text-primary);
  background: var(--bg-surface);
  outline: none;
  transition: border-color 0.15s ease,
              box-shadow 0.15s ease;
  resize: none;
}
.form-input:focus {
  border-color: var(--color-indigo);
  box-shadow: var(--shadow-focus);
}
.form-input::placeholder { color: var(--color-text-subtle); }

/* Textarea */
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(76, 72, 200, 0.16);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--sans);
  color: var(--color-text-primary);
  background: var(--bg-surface);
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s ease,
              box-shadow 0.15s ease;
}
.form-textarea:focus {
  border-color: var(--color-indigo);
  box-shadow: var(--shadow-focus);
}

/* Select */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234C48C8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Grid de 2 campos en fila */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Checkbox row */
.form-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-indigo);
  flex-shrink: 0;
}
.form-check-label {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.55;
  font-weight: 300;
}

/* Input de búsqueda */
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(76, 72, 200, 0.15);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  background: white;
  transition: border-color 0.15s ease;
}
.search-wrap:focus-within { border-color: var(--color-indigo); }

.search-input {
  border: none;
  outline: none;
  font-size: 12.5px;
  font-family: var(--sans);
  color: var(--color-text-primary);
  background: transparent;
  width: 100%;
}
.search-input::placeholder { color: var(--color-text-subtle); }

/* Newsletter input + botón en fila */
.newsletter-wrap {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin-inline: auto;
}
.newsletter-input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid rgba(76, 72, 200, 0.16);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-family: var(--sans);
  outline: none;
  background: white;
}
.newsletter-input:focus { border-color: var(--color-indigo); }


/* ──────────────────────────────────────────
   ACCORDION
────────────────────────────────────────── */

.acc-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(76, 72, 200, 0.09);
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease,
              background 0.15s ease;
}
.acc-item.open { border-color: var(--lv, var(--color-indigo)); }

.acc-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
}

.acc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-indigo-deeper);
  transition: color 0.15s ease;
}
.acc-item.open .acc-title { color: var(--lv, var(--color-indigo)); }

.acc-arrow {
  font-size: 20px;
  color: var(--color-text-subtle);
  transition: transform 0.28s var(--ease-smooth),
              color 0.15s ease;
  flex-shrink: 0;
}
.acc-item.open .acc-arrow {
  transform: rotate(180deg);
  color: var(--lv, var(--color-indigo));
}

.acc-body {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
  display: none;
  font-weight: 300;
}
.acc-item.open .acc-body { display: block; }


/* ──────────────────────────────────────────
   FAQ
────────────────────────────────────────── */

.faq-item {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(76, 72, 200, 0.09);
  margin-bottom: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}
.faq-item.open { border-color: var(--color-indigo); }

.faq-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.faq-q {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-indigo-deeper);
}

.faq-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-indigo-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--color-indigo);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-smooth),
              background 0.15s ease,
              color 0.15s ease;
}
.faq-item.open .faq-ico {
  background: var(--color-indigo);
  color: white;
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 20px 15px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
  display: none;
  font-weight: 300;
}
.faq-item.open .faq-body { display: block; }


/* ──────────────────────────────────────────
   CHECK LIST — Listas con check circle
────────────────────────────────────────── */

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.check-list li::before {
  content: '✓';
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-lima-pale);
  color: var(--color-lima-dark);
  margin-top: 1px;
}

/* Check list sobre fondo oscuro */
.check-list.dark li { color: rgba(255, 255, 255, 0.60); }
.check-list.dark li::before {
  background: rgba(132, 204, 22, 0.15);
  color: var(--color-lima);
}


/* ──────────────────────────────────────────
   DIVIDER — Separadores
────────────────────────────────────────── */

.divider {
  height: 1px;
  background: rgba(76, 72, 200, 0.08);
  margin-block: 24px;
}

.divider-light {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-block: 24px;
}


/* ──────────────────────────────────────────
   HIGHLIGHT / CALLOUT — Bloques destacados
────────────────────────────────────────── */

/* Callout índigo — texto legal, notas */
.callout-indigo {
  background: var(--bg-indigo-pale);
  border-left: 3px solid var(--color-indigo);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--color-indigo-deeper);
  line-height: 1.7;
  margin-block: 16px;
}

/* Callout lima — información positiva */
.callout-lima {
  background: var(--bg-lima-pale);
  border: 1px solid rgba(132, 204, 22, 0.30);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.7;
  margin-block: 16px;
}

/* Callout dark — testimonial sobre oscuro */
.callout-dark {
  background: rgba(0, 194, 240, 0.08);
  border: 1px solid rgba(0, 194, 240, 0.20);
  border-radius: var(--radius-xl);
  padding: 22px;
}


/* ──────────────────────────────────────────
   AVATAR — Iniciales circulares
────────────────────────────────────────── */

.avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar-sm  { width: 28px; height: 28px; font-size: 11px; }
.avatar-md  { width: 36px; height: 36px; font-size: 13px; }
.avatar-lg  { width: 52px; height: 52px; font-size: 18px; }

.avatar-indigo { background: var(--bg-indigo-pale); color: var(--color-indigo); }
.avatar-lima   { background: var(--color-lima);      color: var(--color-indigo-deeper); }
.avatar-dark   { background: var(--color-indigo);    color: white; }


/* ──────────────────────────────────────────
   MAPA PLACEHOLDER
────────────────────────────────────────── */

.map-placeholder {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-xl);
  background: var(--bg-indigo-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  border: var(--border-default);
  position: relative;
}
.map-placeholder::after {
  content: 'Google Maps · Integración en producción';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(76, 72, 200, 0.72);
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-family: var(--sans);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}


/* ──────────────────────────────────────────
   PAGINATION — Blog
────────────────────────────────────────── */

.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 36px;
}

.pg-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(76, 72, 200, 0.12);
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  font-family: var(--sans);
}
.pg-num.act {
  background: var(--color-indigo);
  color: white;
  border-color: var(--color-indigo);
}
.pg-num:hover:not(.act) {
  background: var(--bg-indigo-pale);
  color: var(--color-indigo);
}


/* ──────────────────────────────────────────
   STICKY BAR — Urgencia admisiones
────────────────────────────────────────── */

.urgency-bar {
  background: var(--color-red);
  padding: 8px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: sticky;
  top: 66px;
  z-index: 89;
}


/* ──────────────────────────────────────────
   WHATSAPP BUTTON FLOTANTE
────────────────────────────────────────── */

.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.50);
  z-index: 800;
  text-decoration: none;
  animation: glowPulse 3s ease infinite;
  transition: transform 0.15s ease;
}
.wa-float:hover {
  transform: scale(1.10);
  animation: none;
}


/* ──────────────────────────────────────────
   CTA SECTION — Sección de llamada a acción
────────────────────────────────────────── */

.cta-sec {
  background: var(--color-indigo);
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Patrón diagonal decorativo */
.cta-diag {
  position: absolute;
  inset: -100%;
  width: 300%;
  height: 300%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.018) 0,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 22px 22px;
  pointer-events: none;
}

/* Anillo decorativo */
.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
