/* ==========================================================================
   ASESORÍA EDUCACIONAL - SISTEMA DE ESTILOS FIDELIDAD 100% VISUAL
   ========================================================================== */

:root {
  --primary-color: #004A8D;
  --primary-dark: #003366;
  --primary-light: #f0f4f8;
  --secondary-color: #e69500;
  --secondary-hover: #cc8400;
  --hero-bg: #5a6872;
  --text-main: #2b2b2b;
  --text-muted: #555555;
  --text-light: #ffffff;
  --bg-main: #ffffff;
  --bg-alt: #f7f9fa;
  --bg-dark: #1b242f;
  --border-color: #e2e8f0;
  --font-serif: 'Roboto Slab', Georgia, serif;
  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 50px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER Y LOGO OFICIAL
   ========================================================================== */

.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 90px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.branding-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.branding-top img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.branding-text {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.branding-text .brand-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.branding-text .brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #777777;
  font-weight: 400;
  margin-top: 2px;
}

/* Menú Principal */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #2c3e50;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link .dropdown-arrow {
  font-size: 0.75rem;
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  display: none;
  z-index: 100;
  border: 1px solid var(--border-color);
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 10px 18px;
  font-size: 0.9rem;
  color: #475569;
  display: block;
  border-bottom: 1px solid #f8fafc;
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* ==========================================================================
   SELECTOR DE IDIOMA MULTILINGÜE EN TIEMPO REAL (ES | EN)
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch-capsule {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  padding: 3px 6px;
  gap: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.lang-switch-capsule:hover {
  border-color: #94a3b8;
  background-color: #e2e8f0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 4px 9px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  text-decoration: none;
}

.lang-btn:hover {
  color: var(--primary-color);
}

.lang-btn.active {
  background-color: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.5px;
}

.lang-divider {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}

.lang-selector-mobile-item {
  display: none;
}

body.i18n-loading {
  cursor: wait;
}

/* ==========================================================================
   HERO SECTION (DISEÑO AUTÉNTICO SLATE GREY)
   ========================================================================== */

.hero-slate {
  position: relative;
  background: 
    linear-gradient(rgba(35, 46, 56, 0.68), rgba(24, 34, 43, 0.74)),
    url('/images/Copia-de-Profesional-Brillante-Oficina-Fondo-Virtual-para-Zoom-2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 95px 0 105px 0;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.35);
}

.hero-slate .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-accent-bar {
  width: 55px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-slate h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -1px;
}

.hero-slate .hero-sub {
  font-size: 1.35rem;
  color: #e2e8f0;
  margin: 18px 0 36px 0;
  font-weight: 400;
}

.btn-prospectus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #1a1a1a;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: all 0.2s ease;
}

.btn-prospectus:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  color: #000;
}

/* Social Grid Inside Hero */
.hero-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  max-width: 480px;
}

.social-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-btn svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  transition: transform 0.2s ease;
}

.social-icon-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.social-icon-btn:hover svg {
  transform: scale(1.1);
}

.bg-facebook { background: linear-gradient(135deg, #1877F2 0%, #0d5bbd 100%); }
.bg-twitter { background: #000000; }
.bg-youtube { background: linear-gradient(135deg, #FF0000 0%, #c40000 100%); }
.bg-linkedin { background: linear-gradient(135deg, #0A66C2 0%, #004182 100%); }
.bg-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.bg-tiktok { background: #010101; box-shadow: 0 0 8px rgba(37, 244, 238, 0.4); }
.bg-pinterest { background: linear-gradient(135deg, #E60023 0%, #ad001a 100%); }
.bg-maps { background: linear-gradient(135deg, #EA4335 0%, #c5221f 100%); }
.bg-threads { background: #101010; }
.bg-group { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }

/* Botones de Redes Sociales en Bloques de Contenido */
.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.social-pill-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.social-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

/* ==========================================================================
   SECCIONES Y CONTENIDOS
   ========================================================================== */

.section {
  padding: 70px 0;
}

.section-bg-alt {
  background-color: var(--bg-alt);
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.image-gallery-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.image-gallery-2x2 a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
  border: 1px solid var(--border-color);
}

.image-gallery-2x2 a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.image-gallery-2x2 img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Banner Servicio Gratuito */
.free-service-banner {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin: 30px 0;
}

.free-service-banner h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.btn-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-whatsapp-pill:hover {
  background-color: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Tarjetas de Servicios */
.service-icon-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.service-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-box h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.service-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-box .saber-mas {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
}

/* ==========================================================================
   FOOTER & WHATSAPP FLOTANTE
   ========================================================================== */

.main-footer {
  background-color: #1c232b;
  color: #cbd5e1;
  padding: 60px 0 24px 0;
  border-top: 3px solid var(--secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

/* Floating WhatsApp Widget */
.floating-whatsapp-container {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: auto;
}

/* Ocultar WhatsApp limpiamente por opacidad sin transform para evitar saltos al hacer scroll */
html.cookie-banner-pending .floating-whatsapp-container,
body.cookie-banner-active .floating-whatsapp-container {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.whatsapp-badge {
  background-color: #ffffff;
  color: #1e293b;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
  border: 1px solid #cbd5e1;
  white-space: nowrap;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
}

.whatsapp-badge.badge-faded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-whatsapp-container:hover .whatsapp-badge.badge-faded {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.whatsapp-circle-btn {
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.whatsapp-circle-btn:hover {
  transform: scale(1.08);
  color: #ffffff;
}

/* Responsive Videos */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 24px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Botones de Descarga de Materiales en Cursos */
.content-body a[role="button"],
.content-body a[href*="drive.google.com"],
.content-body a[href*="export=download"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  margin: 6px 0 16px 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.content-body a[role="button"]:hover,
.content-body a[href*="drive.google.com"]:hover {
  background-color: #002244;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   CATÁLOGO ESTRUCTURADO DE CURSOS (ESTILO EXACTO DE PRODUCCIÓN)
   ========================================================================== */

.course-catalog-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: flex-start;
}

.course-media-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.course-media-col .video-container {
  width: 100%;
  margin: 0 0 16px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.course-media-col h2,
.course-media-col h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin: 8px 0 18px 0;
}

.btn-solicitar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-solicitar-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.btn-solicitar-whatsapp:hover {
  background-color: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

.course-info-col {
  display: flex;
  flex-direction: column;
}

.course-info-header {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-details-text {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-main);
}

.course-details-text p {
  margin-bottom: 12px;
}

.course-details-text strong {
  color: #1e293b;
}

.course-details-text ul,
.course-details-text ol {
  margin: 8px 0 14px 20px;
}

@media (max-width: 992px) {
  .course-catalog-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
}

/* ==========================================================================
   BLOG GRID & CARDS (ESTILO EXACTO DE PRODUCCIÓN)
   ========================================================================== */

.blog-section-header {
  padding-top: 40px;
  margin-bottom: 24px;
}

.blog-section-title {
  font-family: 'Roboto Slab', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.blog-section-title .dot {
  color: #0077b5;
  font-size: 1.8rem;
  line-height: 1;
}

.blog-section-divider {
  border-bottom: 1px solid #e2e8f0;
  margin-top: 18px;
  margin-bottom: 36px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 36px;
  margin-bottom: 60px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.blog-card-media {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 4px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}

.blog-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.blog-card-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.blog-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--primary-color);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 16px;
}

.blog-card-meta svg {
  fill: #64748b;
}

.blog-card-meta a {
  color: #64748b;
  text-decoration: none;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
  flex-grow: 1;
}

.btn-blog-leer-mas {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #ffffff;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-blog-leer-mas:hover {
  background: #002244;
  color: #ffffff;
  border-color: #002244;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   CABECERAS INTERNAS SLATE GREY & BOTÓN DE CUPÓN DE DESCUENTO
   ========================================================================== */

.page-header-slate {
  background-color: #3e4a52;
  color: #ffffff;
  padding: 48px 0 52px 0;
  text-align: center;
}

.page-header-slate h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.page-header-slate .breadcrumb {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.page-header-slate .breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
}

.page-header-slate .breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-header-slate .breadcrumb span {
  color: #ffffff;
  font-weight: 500;
}

.btn-cupon-descuento {
  display: inline-block;
  background-color: #8b0000;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(139, 0, 0, 0.35);
  transition: all 0.25s ease;
  text-align: center;
}

.btn-cupon-descuento:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 0, 0, 0.45);
}

.course-individual-body {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.course-individual-body h1,
.course-individual-body h2 {
  font-family: 'Roboto Slab', serif;
  color: var(--text-main);
  margin-top: 24px;
}

.course-individual-body h1:first-child {
  margin-top: 0;
}

.course-individual-body .video-container {
  margin: 24px 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* ==========================================================================
   MATERIALES DEL CURSO & CLASES (ESTILO EXACTO DE PRODUCCIÓN)
   ========================================================================== */

.materials-section {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.materials-heading {
  font-family: 'Roboto Slab', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
  margin: 0 0 36px 0;
  text-transform: uppercase;
}

.materials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.material-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
}

.material-card h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 16px 0;
  text-align: center;
}

.btn-material-descargar {
  display: inline-block;
  background-color: #d32f2f;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
  transition: all 0.25s ease;
}

.btn-material-descargar:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 47, 47, 0.45);
}

.course-lessons-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.lesson-temario-list {
  margin: 8px 0 14px 20px;
  padding-left: 0;
  list-style-type: disc;
}

.lesson-temario-list li {
  margin-bottom: 6px;
  color: var(--text-main);
  line-height: 1.5;
}

/* ==========================================================================
   COOKIE CONSENT BANNER & PÁGINAS LEGALES
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #1e293b;
  color: #f8fafc;
  padding: 12px 0 max(12px, env(safe-area-inset-bottom, 12px)) 0;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.35);
  z-index: 100000;
  transition: opacity 0.3s ease;
  border-top: 1px solid #334155;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.btn-cookie-reject {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #64748b;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #94a3b8;
}

.legal-content h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.45rem;
  color: #0f172a;
  margin-top: 32px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #334155;
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 20px 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ==========================================================================
   ESTILOS PREMIUM PARA PÁGINAS DE SERVICIOS INDIVIDUALES Y CATÁLOGO
   ========================================================================== */

.service-badge-pill {
  display: inline-block;
  background-color: rgba(217, 119, 6, 0.2);
  color: #fde68a;
  border: 1px solid rgba(253, 230, 138, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.service-header-lead {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 800px;
  margin: 0 auto 18px auto;
  line-height: 1.6;
}

.service-layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}

.service-main-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

/* Barra de Garantías / Valor Añadido */
.service-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 700;
}

.trust-item span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
}

.service-body-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #334155;
}

.service-body-content h2,
.service-body-content h3 {
  font-family: 'Roboto Slab', serif;
  color: #0f172a;
  margin-top: 36px;
  margin-bottom: 16px;
}

.service-body-content p {
  margin-bottom: 16px;
}

/* Tarjeta de Información Inicial Requerida */
.service-requirements-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.req-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.req-badge-icon {
  font-size: 2rem;
  background: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.req-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0369a1;
  margin: 0 0 6px 0;
}

.req-subtitle {
  font-size: 0.94rem;
  color: #334155;
  margin: 0;
}

.req-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.req-number {
  width: 28px;
  height: 28px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.req-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
}

/* Fases y Tarjetas de Etapas */
.service-phases-header {
  margin-top: 40px;
  margin-bottom: 24px;
}

.phases-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.phases-desc {
  font-size: 0.98rem;
  color: #64748b;
  margin: 0;
}

.phase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.phase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.phase-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.phase-num-badge {
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.phase-card-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.phase-subitem {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 14px;
  background-color: #f8fafc;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
}

.subitem-letter {
  width: 24px;
  height: 24px;
  background: #cbd5e1;
  color: #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.subitem-content {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.55;
}

/* Banner Destacado de WhatsApp */
.service-cta-banner {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 32px;
  margin-top: 48px;
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.25);
  text-align: center;
  overflow: hidden;
}

.cta-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.service-cta-banner h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.service-cta-banner p {
  color: #d1fae5;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-whatsapp-cta:hover {
  background-color: #1eb954;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-cta-outline:hover {
  background-color: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-whatsapp-cta,
  .btn-cta-outline {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 14px 20px;
  }
}

/* Sidebar Estilizado */
.sidebar-contact-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.sidebar-form-header {
  margin-bottom: 20px;
  text-align: center;
}

.sidebar-badge {
  display: inline-block;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.sidebar-form-header h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.3rem;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.sidebar-form-header p {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}

.sidebar-info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.sidebar-info-card h4 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
  color: #0f172a;
  margin: 0 0 16px 0;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.sidebar-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.sidebar-features-list strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}

.sidebar-features-list p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 2px 0 0 0;
  line-height: 1.4;
}

.sidebar-services-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-services-card h4 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
  color: #0f172a;
  margin: 0 0 16px 0;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.sidebar-services-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-services-menu li {
  margin-bottom: 8px;
}

.sidebar-services-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: #f8fafc;
  border-radius: 6px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-services-menu a:hover {
  background-color: #e0f2fe;
  color: #0369a1;
  transform: translateX(3px);
}

/* Catálogo General de Servicios (/servicios) */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.service-catalog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-card-tag {
  display: inline-block;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.service-card-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.service-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-card-title a:hover {
  color: var(--primary-color);
}

.service-card-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.btn-whatsapp-mini {
  background-color: #25d366;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.btn-whatsapp-mini:hover {
  background-color: #1eb954;
}

.services-bottom-cta {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 40px;
  margin-top: 50px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-inner h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.cta-inner p {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 24px auto;
}

/* ==========================================================================
   INFORMACIÓN ACADÉMICA & RECURSOS METODOLÓGICOS
   ========================================================================== */

.academic-intro-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 36px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.intro-icon {
  font-size: 2.2rem;
  background: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.academic-intro-card h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0369a1;
  margin: 0 0 6px 0;
}

.academic-intro-card p {
  font-size: 0.94rem;
  color: #334155;
  margin: 0;
  line-height: 1.55;
}

/* Módulos SEO Enriquecidos de Información Académica */
.academic-seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.academic-seo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.academic-seo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.seo-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.seo-card-icon {
  font-size: 2rem;
  background-color: #f8fafc;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.seo-card-badge {
  display: inline-block;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
}

.seo-card-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.seo-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.seo-card-title a:hover {
  color: var(--primary-color);
}

.seo-card-body p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 12px;
}

.seo-card-body p:last-child {
  margin-bottom: 0;
}

.seo-feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.seo-feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 8px;
}

.seo-feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.seo-feature-list a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.seo-feature-list a:hover {
  text-decoration: underline;
}

.seo-card-footer {
  padding-top: 18px;
  margin-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.btn-seo-card {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-seo-card:hover {
  color: var(--primary-hover);
  transform: translateX(4px);
}

.academic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.academic-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.academic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #94a3b8;
}

.academic-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.academic-icon-box {
  font-size: 1.8rem;
  background-color: #f8fafc;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}

.academic-cat-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 50px;
}

.academic-card-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.academic-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.academic-card-title a:hover {
  color: var(--primary-color);
}

.academic-card-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.academic-card-footer {
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.btn-academic-read {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-academic-read:hover {
  color: var(--primary-hover);
}

.btn-academic-read:hover .arrow {
  transform: translateX(4px);
}

.academic-bottom-cta {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 45px 36px;
  margin-top: 50px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.academic-cta-inner h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.65rem;
  color: #ffffff;
  margin: 12px 0 10px 0;
}

.academic-cta-inner p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.academic-body-rendered h1,
.academic-body-rendered h2,
.academic-body-rendered h3 {
  font-family: 'Roboto Slab', serif;
  color: #0f172a;
  margin-top: 32px;
  margin-bottom: 14px;
}

.academic-body-rendered h1:first-child,
.academic-body-rendered h2:first-child {
  margin-top: 0;
}

.academic-body-rendered p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}

.academic-body-rendered ul,
.academic-body-rendered ol {
  margin: 14px 0 22px 24px;
}

.academic-body-rendered li {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 8px;
}

.academic-body-rendered a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: underline;
}

.academic-body-rendered a:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   BLOG POSTS & COMPONENTES ENRIQUECIDOS
   ========================================================================== */

.blog-post-card {
  padding: 36px 40px;
}

.blog-post-hero-image {
  margin: -36px -40px 28px -40px;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  overflow: hidden;
  max-height: 420px;
}

.blog-post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-body-rendered {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.blog-body-rendered h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.55rem;
  color: #0f172a;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.blog-body-rendered h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  color: #0f172a;
  margin-top: 24px;
  margin-bottom: 12px;
}

.blog-body-rendered p {
  margin-bottom: 18px;
}

.blog-body-rendered ul,
.blog-body-rendered ol {
  margin: 16px 0 24px 24px;
}

.blog-body-rendered li {
  margin-bottom: 10px;
  line-height: 1.65;
}

/* Caja de Texto Destacado */
.blog-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--secondary-color);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 28px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.highlight-icon-badge {
  font-size: 1.8rem;
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.highlight-content p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.65;
}

/* Tarjeta de Características (Feature Cards) */
.blog-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.feature-num-badge {
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 0.82rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.feature-body p {
  margin: 0;
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.6;
}

/* Tarjeta Cupón de Descuento (High-Conversion) */
.blog-coupon-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 2px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 34px 30px;
  margin: 36px 0;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.coupon-badge-top {
  display: inline-block;
  background-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.coupon-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.6rem;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.coupon-subtitle {
  color: #cbd5e1;
  font-size: 0.96rem;
  max-width: 600px;
  margin: 0 auto 24px auto;
  line-height: 1.5;
}

.coupon-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.coupon-code-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.coupon-discount-tag {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.coupon-code-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.code-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
}

.code-val {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #b91c1c;
  letter-spacing: 1px;
}

.coupon-desc {
  font-size: 0.85rem;
  color: #e2e8f0;
}

.coupon-action-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-coupon-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  transition: all 0.25s ease;
}

.btn-coupon-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.rocket-icon {
  font-size: 1.2rem;
}

.coupon-guarantee-note {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Imágenes dentro del artículo */
.blog-media-wrapper {
  margin: 28px 0;
  text-align: center;
}

.blog-media-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .service-layout-grid {
    grid-template-columns: 1fr;
  }
  .service-trust-bar {
    grid-template-columns: 1fr;
  }
  .services-catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .floating-whatsapp-container {
    bottom: 20px;
    right: 18px;
    max-width: calc(100vw - 36px);
  }

  .whatsapp-badge {
    font-size: 0.80rem;
    padding: 7px 11px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  }

  /* Cartel de cookies en móvil: holgura inferior generosa para evitar corte con barras de navegación del sistema (Redmi 8 / Android) */
  .cookie-banner {
    padding: 12px 0 max(28px, calc(env(safe-area-inset-bottom, 0px) + 24px)) 0;
  }
  .cookie-banner-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 16px;
  }
  .cookie-banner-text p {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #e2e8f0;
  }
  .cookie-banner-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: stretch;
  }
  .cookie-banner-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.86rem;
    font-weight: 600;
    justify-content: center;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 480px) {
  .floating-whatsapp-container {
    bottom: 16px;
    right: 16px;
    max-width: calc(100vw - 32px);
  }

  .whatsapp-badge {
    font-size: 0.74rem;
    padding: 6px 9px;
  }

  .cookie-banner {
    padding: 10px 0 max(30px, calc(env(safe-area-inset-bottom, 0px) + 26px)) 0;
  }
  .cookie-banner-container {
    gap: 8px;
    padding: 0 12px;
  }
  .cookie-banner-text p {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .cookie-banner-actions {
    gap: 8px;
  }
  .cookie-banner-actions .btn {
    padding: 9px 8px;
    font-size: 0.80rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .cookie-banner {
    padding: 6px 0 max(8px, env(safe-area-inset-bottom, 8px)) 0;
  }
  .cookie-banner-container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .cookie-banner-text p {
    font-size: 0.74rem;
    line-height: 1.25;
  }
  .cookie-banner-actions {
    width: auto;
    flex-shrink: 0;
  }
  .cookie-banner-actions .btn {
    padding: 6px 8px;
    font-size: 0.74rem;
  }
}

@media (max-width: 992px) {
  .hero-slate .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-accent-bar {
    margin: 0 auto 20px auto;
  }
  .hero-social-grid {
    justify-content: center;
  }
  .grid-2col {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
  }
}

/* ==========================================================================
   PÁGINA Y FORMULARIO DE CONTACTO PREMIUM (/contacto)
   ========================================================================== */

.contact-page-section {
  padding: 50px 0 80px 0;
  background-color: #f8fafc;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: start;
}

/* Columna Izquierda: Tarjeta de Canales */
.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}

.contact-card-badge {
  display: inline-block;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.contact-card-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.contact-card-desc {
  font-size: 0.96rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 26px;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.channel-item:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bg-whatsapp {
  background-color: #dcfce7;
  color: #15803d;
}

.bg-email {
  background-color: #e0f2fe;
  color: #0369a1;
}

.bg-location {
  background-color: #fee2e2;
  color: #b91c1c;
}

.bg-online {
  background-color: #eff6ff;
  color: #1d4ed8;
}

.bg-hours {
  background-color: #fef3c7;
  color: #b45309;
}

.channel-details strong {
  display: block;
  font-size: 0.94rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 3px;
}

.channel-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.whatsapp-link {
  color: #15803d;
}

.whatsapp-link:hover {
  color: #166534;
  text-decoration: underline;
}

.email-link {
  color: var(--primary-color);
  word-break: break-all;
}

.email-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.channel-text {
  font-size: 0.92rem;
  color: #334155;
  margin: 0;
  line-height: 1.45;
}

.channel-sub {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 3px;
}

.contact-whatsapp-action {
  margin-bottom: 24px;
}

.btn-whatsapp-chat-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
}

.btn-whatsapp-chat-full:hover {
  background-color: #1eb954;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Tarjeta de Modalidad Online en Contacto */
.contact-online-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-left: 4px solid #004A8D;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.online-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.online-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.online-card-header h4 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.online-card-header p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.online-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.contact-map-container {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Columna Derecha: Tarjeta de Formulario */
.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}

.form-card-header {
  margin-bottom: 28px;
}

.form-badge-top {
  display: inline-block;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.form-card-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.form-card-subtitle {
  font-size: 0.96rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* Campos de Formulario */
.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.req-star {
  color: #ef4444;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  outline: none;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-control::placeholder {
  color: #94a3b8;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  font-size: 1rem;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-actions {
  margin-top: 10px;
  margin-bottom: 16px;
}

.btn-submit-contact {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #004A8D 0%, #0284c7 100%);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 15px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 74, 141, 0.3);
  transition: all 0.25s ease;
}

.btn-submit-contact:hover {
  background: linear-gradient(135deg, #003366 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 74, 141, 0.4);
}

.btn-submit-contact:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  font-size: 1.2rem;
}

.form-security-badge {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

/* Feedback banners */
.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 14px;
}

.form-feedback.success {
  display: block;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-feedback.error {
  display: block;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-feedback ul {
  margin: 8px 0 0 18px;
}

@media (max-width: 992px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-card {
    padding: 26px 20px;
  }
  .contact-info-card {
    padding: 26px 20px;
  }
}

/* ==========================================================================
   PÁGINA INSTITUCIONAL ¿QUIÉNES SOMOS? (/quienes-somos)
   ========================================================================== */

/* Barra de 4 Métricas y Credenciales */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 74, 141, 0.1);
  border-color: #93c5fd;
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px auto;
  border-radius: 12px;
  background-color: #f0f9ff;
  border: 1px solid #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.stat-number {
  font-family: 'Roboto Slab', serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: #004A8D;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 6px;
  margin-bottom: 6px;
}

.stat-sub {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Introducción Destacada */
.about-intro-highlight {
  margin-bottom: 32px;
}

.about-pill {
  display: inline-block;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.about-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

.about-lead-text {
  font-size: 1.1rem;
  color: #1e293b;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Bloque de Claustro de Asesores Internacionales */
.about-advisors-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-left: 5px solid #004A8D;
  border-radius: 12px;
  padding: 26px 24px;
  margin: 32px 0;
}

.advisors-box-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.advisors-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.advisors-box-header h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.advisors-box-header p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.countries-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #cbd5e1;
}

.country-tag {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.country-tag:hover {
  background-color: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-1px);
}

/* Grid de Misión, Visión y Valores */
.about-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.mvv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mvv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.mvv-card:nth-child(1)::before {
  background-color: #004A8D;
}

.mvv-card:nth-child(2)::before {
  background-color: #0284c7;
}

.mvv-card:nth-child(3)::before {
  background-color: #f59e0b;
}

.mvv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.mvv-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.mvv-card h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.mvv-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Grid de Servicios y Ejes de Especialización */
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 18px;
  transition: all 0.2s ease;
}

.about-service-item:hover {
  background-color: #ffffff;
  border-color: #004A8D;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 74, 141, 0.08);
}

.about-service-item .item-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-service-item h4 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.about-service-item h4 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-service-item h4 a:hover {
  color: #004A8D;
  text-decoration: underline;
}

.about-service-item p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Botones de Redes Sociales en Sidebar */
.about-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.about-social-link:hover {
  transform: translateX(4px);
  filter: brightness(1.08);
}

.bg-facebook {
  background-color: #1877f2;
}

.bg-youtube {
  background-color: #dc2626;
}

.bg-linkedin {
  background-color: #0a66c2;
}

.bg-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.bg-tiktok {
  background-color: #0f172a;
}

/* Responsividad para Quienes Somos */
@media (max-width: 992px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-mvv-grid {
    grid-template-columns: 1fr;
  }
  .about-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .advisors-box-header {
    flex-direction: column;
    gap: 8px;
  }
  .advisors-icon {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   PÁGINA DE INICIO PREMIUM (/ - HOME REDISEÑADO)
   ========================================================================== */

/* Hero Modernizado */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #93c5fd;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-lead-text {
  font-size: 1.15rem;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
}

.btn-hero-whatsapp:hover {
  background-color: #1eb954;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Tarjeta Ejecutiva en Hero (Columna Derecha) */
.hero-credentials-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.credentials-card-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-cred-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-cred-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.hero-cred-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero-cred-text span {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Strip Social Integrado en Hero Card */
.hero-social-strip {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-social-strip-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #94a3b8;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-social-strip-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-social-mini-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.hero-social-mini-btn svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.hero-social-mini-btn:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Barra de Confianza Horizontal */
.home-trust-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
}

.trust-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #004A8D;
  line-height: 1.2;
}

.trust-text span {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* 2x2 Gallery Mejorada */
.home-gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  display: block;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 74, 141, 0.12);
}

.home-gallery-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.home-gallery-card:hover img {
  transform: scale(1.05);
}

.home-gallery-card-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Grid de Temas Académicos (Pills interactivas) */
.academic-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 22px 0;
}

.topic-pill-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
  color: #334155;
  transition: all 0.2s ease;
}

.topic-pill-card:hover {
  background-color: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.topic-pill-card a {
  color: #004A8D;
  font-weight: 700;
  text-decoration: none;
}

.topic-pill-card a:hover {
  text-decoration: underline;
}

.topic-pill-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Banner de Servicio Gratuito Modernizado */
.free-service-banner-modern {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
  border: 2px solid #fef08a;
  border-radius: 16px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
  position: relative;
  overflow: hidden;
}

.free-service-pill {
  display: inline-block;
  background-color: #fef3c7;
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.free-service-banner-modern h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.free-service-banner-modern p {
  color: #475569;
  line-height: 1.65;
}

/* Catálogo de 7 Servicios en Home */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  margin-top: 36px;
}

.home-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #004A8D;
  transition: background-color 0.2s ease;
}

.home-service-card:nth-child(even)::before {
  background-color: #0284c7;
}

.home-service-card:nth-child(4)::before {
  background-color: #f59e0b;
}

.home-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 74, 141, 0.1);
  border-color: #93c5fd;
}

.home-service-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.home-service-card h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.home-service-card h3 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-service-card h3 a:hover {
  color: #004A8D;
}

.home-service-card p {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.btn-service-saber-mas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 18px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #004A8D !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-service-saber-mas:hover {
  background-color: #004A8D;
  border-color: #004A8D;
  color: #ffffff !important;
}

/* Responsividad Home */
@media (max-width: 992px) {
  .home-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .academic-topics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .home-trust-grid {
    grid-template-columns: 1fr;
  }
  .free-service-banner-modern {
    padding: 30px 20px;
  }
}

/* Espacios Publicitarios AdSense Limpios y Respetuosos */
.adsense-in-article-banner {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 36px 0;
  text-align: center;
  position: relative;
  min-height: 90px;
}

.sidebar-adsense-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 24px;
  text-align: center;
  position: relative;
  min-height: 120px;
}

.adsense-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  text-align: center;
}

