@charset "UTF-8";
:root {
  /* ==========================================================================
     PALETA DE MARCA OFICIAL & MATICES
     ========================================================================== */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-pantone-grey-raw: #888B8D;
  --color-pantone-yellow-raw: #F1B434;
  /* ==========================================================================
     ROLES DE INTERFAZ EQUILIBRADA (BASE CLARA Y PERSONALIDAD)
     ========================================================================== */
  /* Estructura y Superficies */
  --color-bg: #FBFBF9;
  --color-bg-alt: #F6F6F2;
  --color-card: var(--color-white);
  --color-border: #E2E8F0;
  --color-border-subtle: #EDF2F7;
  /* Textos */
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  /* Acciones y Colores Identitarios (Azul Catedral + Paleta Acuarelada + Púrpura Eclesial) */
  --color-primary: #0C1E36;
  --color-primary-light: #162C4E;
  --color-primary-hover: #050E1A;
  --color-plum: #3F1943;
  --color-plum-light: #5C2762;
  --color-celeste: #2a75d3;
  --color-secondary: var(--color-pantone-grey-raw);
  --color-accent-warm: var(--color-pantone-yellow-raw);
  --color-accent-hover: #dba853;
  --color-coral: #F16536;
  --color-coral-soft: #F4A261;
  --color-green-pastoral: #2ECC71;
  --color-rojo-ladrillo: #D24238;
  --color-purple-soft: #9B59B6;
  /* Fondos Pasteles y Acuarelados de Sección / Tarjeta (Inspiración Presentación 2026) */
  --color-pastel-blue: #EDF5FD;
  --color-pastel-yellow: #FEF9EB;
  --color-pastel-coral: #FDF1EC;
  --color-pastel-green: #EDF9F1;
  --color-pastel-purple: #F6F0FA;
  --color-pastel-sand: #F8F6F0;
  /* Textura de Fondo Acuarelada (Watercolor Soft Gradient) */
  --bg-watercolor: radial-gradient(circle at 12% 15%, rgba(246, 214, 170, 0.45) 0%, transparent 42%),
                   radial-gradient(circle at 88% 80%, rgba(165, 203, 225, 0.38) 0%, transparent 48%),
                   #FAF8F5;
  /* Componentes Estructurales */
  --color-navbar-bg: rgba(251, 251, 249, 0.95);
  --color-footer-bg: var(--color-primary);
  --color-footer-text: rgba(255, 255, 255, 0.7);
  /* ==========================================================================
     SISTEMA DE DISEÑO (ESPACIADO, RADIOS, SOMBRAS)
     ========================================================================== */
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-display: 'D-DIN-Bold', 'Barlow-Bold', 'Barlow', 'Arial Condensed', sans-serif;
  --font-serif: 'Lora', 'Georgia', serif;
  --font-brand-condensed: 'D-DIN', 'Barlow', 'Arial Condensed', sans-serif;
  --font-brand-bold: 'D-DIN-Bold', 'Barlow-Bold', 'Barlow', 'Arial Condensed', sans-serif;
  --font-brand-black: 'Geometr415 Blk BT', 'Montserrat', 'Arial Black', sans-serif;
  --font-body: 'Inter', sans-serif;
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 0.75rem; /* 12px */
  --space-md: 1rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-xxl: 3rem; /* 48px */
  --space-3xl: 4rem; /* 64px */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-organic-1: 28px 10px 28px 10px;
  --radius-organic-2: 10px 28px 10px 28px;
  --radius-pill: 9999px;
  --shadow-subtle: 0 4px 10px -2px rgba(12, 30, 54, 0.05), 0 2px 4px -1px rgba(12, 30, 54, 0.03);
  --shadow-card: 0 8px 20px -4px rgba(12, 30, 54, 0.08), 0 4px 6px -2px rgba(12, 30, 54, 0.04);
  --shadow-premium: 0 20px 30px -8px rgba(12, 30, 54, 0.12), 0 10px 15px -5px rgba(12, 30, 54, 0.05);
  --shadow-glow: 0 0 18px rgba(241, 180, 52, 0.45);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --container-max-width: 1200px;
}

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

body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-brand-bold);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.35rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img, svg {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

.main-content {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.grid-three-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
@media (min-width: 768px) {
  .grid-three-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
@media (min-width: 768px) {
  .grid-two-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: var(--space-md);
}

.mt-3 {
  margin-top: var(--space-xl);
}

.main-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  box-shadow: var(--shadow-subtle);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  /* Estado Contraído al hacer Scroll */
}
.main-header.scrolled {
  box-shadow: 0 8px 24px rgba(12, 30, 54, 0.18);
}
.main-header.scrolled .header-top-bar {
  max-height: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  border-bottom: none !important;
}
.main-header.scrolled .header-nav-bar {
  padding: 0.35rem 0;
}
.main-header.scrolled .brand-logo-mobile .header-logo-mobile {
  height: 1.8rem;
}

body {
  padding-top: 112px;
}
@media (max-width: 767px) {
  body {
    padding-top: 58px;
  }
}

.header-top-bar {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-bg-alt);
  padding: 0.5rem 0;
  max-height: 90px;
  opacity: 1;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
}

.header-top-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 2.4rem;
  width: auto;
  display: block;
}

.footer-logo {
  height: 2.2rem;
  width: auto;
  display: block;
  margin-bottom: var(--space-xs);
}

.header-contact-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-meta-item {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.contact-meta-item a {
  color: var(--color-text-muted);
  font-weight: 500;
}
.contact-meta-item a:hover {
  color: var(--color-accent-warm);
}

.header-social-links {
  display: flex;
  gap: 0.75rem;
  font-size: 1.1rem;
}
.header-social-links a {
  transition: var(--transition-smooth);
  text-decoration: none;
}
.header-social-links a:hover {
  transform: scale(1.15);
}

.header-nav-bar {
  background-color: var(--color-primary);
  padding: 0.6rem 0;
}

.nav-bar-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.main-nav {
  width: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-brand-condensed);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.8px;
  position: relative;
  transition: var(--transition-smooth);
  text-decoration: none;
}
.nav-link .arrow-down {
  font-size: 0.6rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-warm);
  transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-accent-warm);
}
.nav-link:hover .arrow-down, .nav-link.active .arrow-down {
  transform: rotate(180deg);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.has-mega-menu:hover .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent-warm);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-premium);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.mega-menu-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mega-menu-column h5 {
  font-family: var(--font-brand-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4rem;
  margin-bottom: 0.6rem;
  margin-top: 0;
}
.mega-menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mega-menu-column ul a {
  font-size: 0.88rem;
  color: var(--color-text);
  font-weight: 500;
  transition: var(--transition-smooth);
  text-decoration: none;
}
.mega-menu-column ul a:hover {
  color: var(--color-accent-warm);
  padding-left: 4px;
}

@media (max-width: 767px) {
  .d-none-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .d-none-desktop {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .d-grid-mobile-1 {
    grid-template-columns: 1fr !important;
    gap: var(--space-xl) !important;
    text-align: center !important;
  }
  .d-grid-mobile-1 > div {
    text-align: center !important;
  }
}

@media (max-width: 991px) {
  .d-grid-mobile-reverse {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
}

.grid-split-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xxl);
  align-items: center;
}
.grid-split-2.split-reverse-desktop {
  grid-template-columns: 0.9fr 1.1fr;
}
.grid-split-2.split-equal {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 991px) {
  .grid-split-2 {
    grid-template-columns: 1fr !important;
    gap: var(--space-xl) !important;
    text-align: center !important;
  }
  .grid-split-2 > div {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
}

.grid-split-3 {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr 0.6fr;
  gap: var(--space-xxl);
  align-items: start;
}
@media (max-width: 991px) {
  .grid-split-3 {
    grid-template-columns: 1fr !important;
    gap: var(--space-xl) !important;
    text-align: center !important;
  }
  .grid-split-3 > div {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
  touch-action: manipulation;
}
.nav-toggle .bar {
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}
.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 767px) {
  .header-nav-bar {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .nav-bar-container {
    justify-content: space-between;
    height: 3.8rem;
    padding: 0 var(--space-md);
  }
  .brand-logo-mobile {
    display: flex;
    align-items: center;
  }
  .header-logo-mobile {
    height: 2.4rem;
    width: auto;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    z-index: 1005;
    visibility: hidden;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  }
  .main-nav.open {
    right: 0;
    visibility: visible;
  }
  .main-nav.open .drawer-overlay {
    opacity: 1;
    visibility: visible;
  }
  .main-nav.open .drawer-content {
    transform: translateX(0);
  }
  .drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 30, 54, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 1006;
  }
  .drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--color-bg);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1007;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
  }
  .drawer-header .drawer-logo {
    height: 2.2rem;
    width: auto;
  }
  .drawer-header .drawer-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    touch-action: manipulation;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
  }
  .nav-link {
    color: var(--color-text);
    padding: 0.75rem 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    width: 100%;
    justify-content: space-between;
    touch-action: manipulation;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover, .nav-link.active {
    color: var(--color-accent-warm);
  }
  .mega-menu-dropdown {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    border: none;
    background-color: var(--color-bg-alt);
    box-shadow: none;
    border-radius: var(--radius-sm);
    transform: none;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s;
  }
  .mega-menu-dropdown.open {
    max-height: 350px;
    opacity: 1;
    visibility: visible;
    padding: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .mega-menu-container {
    gap: 1rem;
  }
  .mega-menu-column h5 {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
  }
  .mega-menu-column ul a {
    font-size: 0.9rem;
    padding: 0.4rem 0;
    display: block;
  }
  .drawer-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .drawer-footer .drawer-contact-item {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .drawer-footer .drawer-contact-item a {
    color: var(--color-text);
    text-decoration: none;
  }
  .drawer-footer .drawer-social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.25rem;
  }
  .drawer-footer .drawer-social-links a {
    text-decoration: none;
  }
}
.main-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 5rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-3xl);
}
.main-footer h4, .main-footer h5 {
  color: var(--color-white);
  font-family: var(--font-brand-condensed);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}
.main-footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer-links ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.footer-links ul a:hover {
  color: var(--color-accent-warm);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-brand-condensed);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  text-decoration: none;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-primary {
  background-color: var(--color-accent-warm);
  color: var(--color-primary);
  border-color: var(--color-accent-warm);
  font-weight: 700;
}
.btn-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-accent-warm);
  border-color: var(--color-accent-warm);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.btn-coral {
  background-color: var(--color-coral);
  color: var(--color-white);
  border-color: var(--color-coral);
}
.btn-coral:hover {
  background-color: #d84e20;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 101, 54, 0.35);
}

.btn-white-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}
.btn-white-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}
.card:hover {
  box-shadow: var(--shadow-premium);
  border-color: rgba(241, 180, 52, 0.35);
  transform: translateY(-4px);
}
.card .card-title {
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
}
.card .card-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.pilar-card {
  position: relative;
  overflow: hidden;
}
.pilar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-accent-warm);
  transition: var(--transition-smooth);
}
.pilar-card:hover::before {
  width: 8px;
  background-color: var(--color-coral);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(241, 180, 52, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(241, 180, 52, 0.2);
  line-height: 1;
  color: var(--color-accent-warm);
}

.hero-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-accent-warm);
}

.hero-title {
  font-size: 2.5rem;
  max-width: 800px;
  margin: 0 auto var(--space-md);
  color: var(--color-primary);
  font-weight: 800;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.features-section {
  padding: var(--space-3xl) 0;
}

.section-title {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-xs);
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-accent-warm);
  margin: var(--space-xs) auto 0;
  border-radius: var(--radius-sm);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.cta-section {
  padding: var(--space-xxl) 0;
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-section .cta-title {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}
.cta-section .cta-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent-warm);
  margin: var(--space-xs) auto 0;
}
.cta-section .cta-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  padding: 5rem 0 4rem 0;
  background: linear-gradient(180deg, rgba(241, 180, 52, 0.02) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.page-hero .page-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}
.page-hero .page-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  padding: var(--space-2xl) 0;
}

.values-section {
  padding: var(--space-2xl) 0;
  background-color: var(--color-card);
  border-top: 1px solid var(--color-border);
}

.admin-hero {
  padding: var(--space-xl) 0;
  background-color: var(--color-card);
  border-bottom: 1px solid var(--color-border);
}

.admin-content {
  padding: var(--space-xl) 0;
}

.info-alert {
  background-color: #ebf8ff;
  border-left: 4px solid #3182ce;
  color: #2b6cb0;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}
@media (prefers-color-scheme: dark) {
  .info-alert {
    background-color: #1a365d;
    color: #90cdf4;
    border-left-color: #3182ce;
  }
}

.stat-card {
  text-align: center;
}
.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent-warm);
  margin: var(--space-xs) 0;
}
.stat-card .stat-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.error-section {
  padding: var(--space-3xl) 0;
}
.error-section .error-code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-accent-warm);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.mt-3 {
  margin-top: var(--space-xl);
}

.text-center {
  text-align: center;
}

.placeholder-tag {
  display: inline-block;
  background-color: rgba(241, 180, 52, 0.1);
  border: 1px solid rgba(241, 180, 52, 0.3);
  color: #b77a1a;
  font-family: var(--font-brand-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.eyebrow {
  font-family: var(--font-brand-condensed);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-coral);
  margin-bottom: 8px;
  display: block;
}

.circle-image-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}
.circle-image-wrapper .decorative-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border: 3px solid var(--color-pantone-yellow-raw);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.circle-image-wrapper .decorative-ring.ring-coral {
  border-color: var(--color-coral);
}
.circle-image-wrapper .decorative-ring.ring-bottom-right {
  top: 8px;
  left: auto;
  right: -8px;
}
.circle-image-wrapper .decorative-ring.ring-bottom-left {
  top: 8px;
  left: -8px;
}
.circle-image-wrapper .decorative-ring.ring-top-right {
  top: -8px;
  left: auto;
  right: -8px;
}
.circle-image-wrapper .circle-img {
  width: clamp(180px, 55vw, 280px);
  height: clamp(180px, 55vw, 280px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 5px solid var(--color-white);
  box-shadow: var(--shadow-subtle);
  display: block;
  margin: 0 auto;
  transition: var(--transition-smooth);
}
.circle-image-wrapper .circle-img.border-bg {
  border-color: var(--color-bg);
}
.circle-image-wrapper .circle-img.border-primary {
  border-color: var(--color-primary);
}

/* ==========================================================================
   1. KEYFRAMES DE ENTRADA HERO
   ========================================================================== */
@keyframes hero-in {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes brand-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}
@keyframes aurora-glow {
  0% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 0.65;
    transform: translateY(-8px);
  }
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
}
/* ==========================================================================
   2. SISTEMA DE REVELADO EN SCROLL (Scroll-Reveal de web_ejemplo.html)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

/* Estado Visible Activo cuando entra en el Viewport */
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
  filter: blur(0) !important;
}

/* Adaptación Responsiva para Celulares */
@media (max-width: 768px) {
  .reveal-left {
    transform: translateX(-24px) scale(0.98);
  }
  .reveal-right {
    transform: translateX(24px) scale(0.98);
  }
  .reveal {
    transform: translateY(28px) scale(0.98);
  }
}
/* ==========================================================================
   3. SPOTLIGHT CURSOR GLOW (Luz de Cursor en Tarjetas)
   ========================================================================== */
.card-spotlight {
  position: relative;
  overflow: hidden;
}
.card-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(241, 180, 52, 0.15), transparent 80%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 5;
}
.card-spotlight:hover::before {
  opacity: 1;
}

/* ==========================================================================
   4. BOTONES MAGNÉTICOS & MICRO-INTERACCIONES
   ========================================================================== */
.btn-magnetic,
.btn-primary,
.btn-accent,
.btn-coral,
.btn-hero {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn-magnetic:hover,
.btn-primary:hover,
.btn-accent:hover,
.btn-coral:hover,
.btn-hero:hover {
  box-shadow: 0 8px 20px rgba(12, 30, 54, 0.14);
}

/* ==========================================================================
   5. HERO INTRO
   ========================================================================== */
.js-hero-intro .hero-content-animate {
  animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.js-hero-intro .hero-brand-animate {
  animation: brand-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Prevenir barras de scroll horizontal en móviles */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.home-section {
  padding: 5rem 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.home-section:nth-child(even) {
  background-color: var(--color-bg-alt);
}

.hero-section {
  background: linear-gradient(180deg, rgba(241, 180, 52, 0.03) 0%, rgb(251, 251, 249) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 8rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(241, 180, 52, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.hero-section .hero-container {
  position: relative;
  z-index: 2;
}
.hero-section .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 768px) {
  .hero-section .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.hero-section .hero-content h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  font-weight: 700;
}
@media (min-width: 768px) {
  .hero-section .hero-content h1 {
    font-size: 3rem;
  }
}
.hero-section .hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.lema-card {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-border);
  transform: rotate(1deg);
  transition: var(--transition-smooth);
  max-width: 300px;
  margin: 0 auto;
}
.lema-card:hover {
  transform: rotate(0deg) scale(1.02);
}
.lema-card .lema-img {
  max-height: 250px;
  width: auto;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.mission-card {
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-subtle);
}
.mission-card.vision {
  border-left-color: var(--color-accent-warm);
}
.mission-card .card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
}

.org-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.org-list .org-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: calc(var(--space-lg) + 8px);
  transition: var(--transition-smooth);
}
.org-list .org-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--color-primary);
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}
.org-list .org-item:nth-child(even)::before {
  background-color: var(--color-accent-warm);
}
.org-list .org-item:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-2px);
}
.org-list .org-item strong {
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: var(--space-xxs);
}
.org-list .org-item span {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.contact-info-list .contact-item h4 {
  font-size: 0.85rem;
  font-family: var(--font-brand-condensed);
  text-transform: uppercase;
  color: var(--color-coral);
  letter-spacing: 1px;
  margin-bottom: var(--space-xxs);
}
.contact-info-list .contact-item p, .contact-info-list .contact-item a {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 500;
  font-family: var(--font-display);
}
.contact-info-list .contact-item a:hover {
  color: var(--color-accent-warm);
  text-decoration: none;
}

.contact-form {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
}
.contact-form .form-group {
  margin-bottom: var(--space-md);
}
.contact-form .form-group label {
  display: block;
  font-family: var(--font-brand-condensed);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  color: var(--color-black);
  letter-spacing: 0.5px;
}
.contact-form .form-group input, .contact-form .form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}
.contact-form .form-group input:focus, .contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-warm);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(241, 180, 52, 0.15);
}
.contact-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.editorial-block {
  border-left: 4px solid var(--color-coral);
  padding-left: var(--space-lg);
}
.editorial-block h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.editorial-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.text-block-accent {
  display: flex;
  align-items: center;
}
.text-block-accent p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  border-left: 3px solid var(--color-accent-warm);
  padding-left: var(--space-md);
}

.province-title {
  font-family: var(--font-brand-condensed);
  color: var(--color-coral);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 2px solid var(--color-border);
  display: inline-block;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xxs);
  font-size: 1.1rem;
  font-weight: 700;
}

.school-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.school-card .school-header {
  margin-bottom: var(--space-xs);
}
.school-card .school-header .school-carisma {
  display: inline-block;
  background-color: rgba(241, 180, 52, 0.1);
  border: 1px solid rgba(241, 180, 52, 0.2);
  color: var(--color-coral);
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--space-xxs) var(--space-xs);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.school-card .school-name {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}
.school-card .school-info {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xxs);
  line-height: 1.5;
}
.school-card .school-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-xs);
  border-top: 1px dashed var(--color-border);
}
.school-card .school-footer .school-link {
  font-family: var(--font-brand-condensed);
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.school-card .school-footer .school-link:hover {
  color: var(--color-accent-warm);
}

.org-section-title {
  font-family: var(--font-brand-condensed);
  color: var(--color-coral);
  border-bottom: 2px solid var(--color-border);
  display: inline-block;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xxs);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.org-email {
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-top: var(--space-xxs);
  display: block;
  font-weight: 600;
}
.org-email:hover {
  color: var(--color-accent-warm);
}

.home-hero-section {
  background: linear-gradient(135deg, rgba(246, 214, 170, 0.72) 0%, rgba(165, 203, 225, 0.65) 55%, rgba(12, 30, 54, 0.4) 100%), url("/static/img/header_foundation-2048x1152.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none;
  padding: 10.5rem 0 16rem 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 992px) {
  .home-hero-section {
    padding: 6.5rem 0 8.5rem 0;
  }
}
.home-hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(241, 180, 52, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.home-hero-section .hero-container {
  position: relative;
  z-index: 2;
}
.home-hero-section .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xxl);
  align-items: center;
}
@media (min-width: 992px) {
  .home-hero-section .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}
.home-hero-section .hero-content .hero-text-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 249, 235, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2.75rem 2.5rem;
  border-radius: 28px 10px 28px 10px;
  border: 1px solid rgba(241, 180, 52, 0.35);
  border-left: 6px solid var(--color-pantone-yellow-raw, #F1B434);
  box-shadow: 0 25px 50px -10px rgba(12, 30, 54, 0.25), 0 10px 20px -5px rgba(12, 30, 54, 0.15);
}
@media (max-width: 768px) {
  .home-hero-section .hero-content .hero-text-card {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }
}
.home-hero-section .hero-content h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  font-weight: 700;
}
@media (min-width: 768px) {
  .home-hero-section .hero-content h1 {
    font-size: 2.85rem;
  }
}
.home-hero-section .hero-content p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: var(--space-xl);
  font-family: var(--font-sans);
}
.home-hero-section .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.home-hero-section .hero-media {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .home-hero-section .hero-media {
    max-width: none;
    margin: 0;
  }
}
.home-hero-section .hero-slider-container {
  position: relative;
  border: 2px solid rgba(241, 180, 52, 0.45);
  border-radius: 10px 28px 10px 28px;
  box-shadow: 0 20px 40px -10px rgba(12, 30, 54, 0.25), 0 0 0 5px rgba(254, 249, 235, 0.85);
  background-color: var(--color-pastel-sand, #FAF8F5);
  overflow: hidden;
  width: 100%;
  height: 420px;
}
@media (max-width: 768px) {
  .home-hero-section .hero-slider-container {
    height: 320px;
    border-radius: 16px;
  }
}
.home-hero-section .hero-slider-container:hover .slider-btn {
  opacity: 1;
}
.home-hero-section .hero-slider-container .hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.home-hero-section .hero-slider-container .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
}
.home-hero-section .hero-slider-container .hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}
.home-hero-section .hero-slider-container .hero-slide .hero-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-hero-section .hero-slider-container .hero-slide .hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl) var(--space-md) var(--space-md) var(--space-md);
  background: linear-gradient(to top, rgba(12, 30, 54, 0.95) 0%, rgba(12, 30, 54, 0.7) 50%, transparent 100%);
  color: var(--color-white);
  z-index: 3;
}
.home-hero-section .hero-slider-container .hero-slide .hero-slide-caption h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-xxs);
  color: var(--color-accent-warm);
}
.home-hero-section .hero-slider-container .hero-slide .hero-slide-caption p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  line-height: 1.4;
}
.home-hero-section .hero-slider-container .hero-slide.slide-light .hero-slide-caption {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 60%, transparent 100%);
  color: var(--color-primary);
}
.home-hero-section .hero-slider-container .hero-slide.slide-light .hero-slide-caption h3 {
  color: var(--color-coral);
}
.home-hero-section .hero-slider-container .hero-slide.slide-light .hero-slide-caption p {
  color: var(--color-text-muted);
}
.home-hero-section .hero-slider-container .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 30, 54, 0.65);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
  opacity: 0;
  touch-action: manipulation;
}
@media (max-width: 768px) {
  .home-hero-section .hero-slider-container .slider-btn {
    opacity: 0.9 !important;
    background: rgba(12, 30, 54, 0.75);
  }
}
.home-hero-section .hero-slider-container .slider-btn:hover {
  background: var(--color-accent-warm);
  color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
}
.home-hero-section .hero-slider-container .slider-btn.prev-btn {
  left: var(--space-xs);
}
.home-hero-section .hero-slider-container .slider-btn.next-btn {
  right: var(--space-xs);
}
.home-hero-section .hero-slider-container .slider-indicators {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.home-hero-section .hero-slider-container .slider-indicators .indicator {
  width: 24px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 10px 0; /* Ampliación de área táctil vertical */
  background-clip: content-box;
  box-sizing: content-box;
  touch-action: manipulation;
}
.home-hero-section .hero-slider-container .slider-indicators .indicator.active {
  background: var(--color-accent-warm);
  width: 36px;
  background-clip: content-box;
}
.home-hero-section .hero-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: 10;
  pointer-events: none;
}
.home-hero-section .hero-wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 992px) {
  .home-hero-section .hero-wave-divider {
    height: 80px;
  }
}

.home-identity-section {
  padding: 2.5rem 0;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.home-identity-section .identity-visual-block,
.home-identity-section .identity-text-block {
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-identity-section .identity-img {
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
}
.home-identity-section.is-visible .identity-img {
  transform: scale(1);
}
.home-identity-section .identity-image-wrapper {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-identity-section .identity-image-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 35px -5px rgba(12, 30, 54, 0.16);
}
.home-identity-section .identity-image-wrapper:hover .identity-img {
  transform: scale(1.08) !important;
}
.home-identity-section .identity-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-identity-section .identity-text-block {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.home-identity-section .identity-text-block:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 25px 35px -5px rgba(12, 30, 54, 0.14);
  border-left-color: var(--color-coral);
}
.home-identity-section .identity-text-block .lead-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text);
  font-weight: 500;
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
}
.home-identity-section .identity-text-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.home-identity-section .identity-text-block .identity-quote {
  border-left: 4px solid var(--color-accent-warm);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}
.home-identity-section .identity-text-block .identity-quote p {
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.home-identity-section .identity-visual-block {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .home-identity-section .identity-visual-block {
    max-width: none;
    margin: 0;
  }
}
.home-identity-section .identity-image-wrapper {
  border: 6px solid var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  background-color: var(--color-white);
}
.home-identity-section .identity-image-wrapper .identity-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .home-identity-section .identity-image-wrapper .identity-img {
    height: 300px;
  }
}

.home-accompaniment-section {
  padding: 7.5rem 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.home-accompaniment-section .section-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.home-accompaniment-section .section-header .section-subtitle {
  max-width: 650px;
  margin: 0 auto var(--space-xxl) auto;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.home-accompaniment-section .accompaniment-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 992px) {
  .home-accompaniment-section .accompaniment-split-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-xxl);
  }
}
.home-accompaniment-section .accompaniment-visual-block {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .home-accompaniment-section .accompaniment-visual-block {
    max-width: none;
    margin: 0;
  }
}
.home-accompaniment-section .accompaniment-visual-block .accompaniment-image-wrapper {
  border: 6px solid var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  background-color: var(--color-white);
}
.home-accompaniment-section .accompaniment-visual-block .accomp-vertical-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.home-accompaniment-section .accompaniment-list {
  display: flex;
  flex-direction: column;
}
.home-accompaniment-section .accomp-list-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}
.home-accompaniment-section .accomp-list-item:first-child {
  border-top: 1px solid var(--color-border);
}
@media (max-width: 576px) {
  .home-accompaniment-section .accomp-list-item {
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md) 0;
  }
}
.home-accompaniment-section .accomp-list-item .accomp-num-col {
  flex-shrink: 0;
  width: 3rem;
}
.home-accompaniment-section .accomp-list-item .accomp-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-accent-warm);
  line-height: 1.1;
}
.home-accompaniment-section .accomp-list-item .accomp-text-col {
  flex-grow: 1;
}
.home-accompaniment-section .accomp-list-item .accomp-text-col h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: var(--space-xs);
  font-weight: 700;
  line-height: 1.3;
}
.home-accompaniment-section .accomp-list-item .accomp-text-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.home-mission-band {
  padding: 8.5rem 0;
  background-image: linear-gradient(rgba(12, 30, 54, 0.88), rgba(12, 30, 54, 0.88)), url("../img/placeholder-chapel.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  position: relative;
  text-align: center;
}
.home-mission-band .mission-band-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.home-mission-band .mission-cross-icon {
  margin-bottom: var(--space-lg);
  display: inline-block;
}
.home-mission-band .mission-quote {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  font-weight: 400;
  color: var(--color-white);
  border: none;
  padding: 0;
}
@media (max-width: 768px) {
  .home-mission-band .mission-quote {
    font-size: 1.5rem;
  }
}
.home-mission-band .mission-author {
  font-family: var(--font-brand-condensed);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-warm);
  font-weight: 600;
  display: block;
}

.home-network-section {
  padding: 7.5rem 0;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.home-network-section .network-content h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.home-network-section .network-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.home-network-section .network-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
@media (max-width: 480px) {
  .home-network-section .network-stats .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
.home-network-section .network-stats .stat-item {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}
.home-network-section .network-stats .stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}
@media (max-width: 768px) {
  .home-network-section .network-stats .stat-item .stat-number {
    font-size: 2.5rem;
  }
}
.home-network-section .network-stats .stat-item .stat-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
}

.home-news-section {
  padding: 5rem 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
.home-news-section .section-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.home-news-section .section-header .section-subtitle {
  max-width: 650px;
  margin: 0 auto var(--space-xxl) auto;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.home-news-section .news-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}
@media (min-width: 768px) {
  .home-news-section .news-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}
@media (min-width: 992px) {
  .home-news-section .news-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.home-news-section .news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  height: 100%;
  width: 100%;
  max-width: 100%;
  flex: none;
}
@media (min-width: 768px) {
  .home-news-section .news-card {
    flex: none;
    max-width: none;
  }
}
.home-news-section .news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}
.home-news-section .news-card:hover .news-img {
  transform: scale(1.03);
}
.home-news-section .news-card .news-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--color-bg-alt);
}
@supports not (aspect-ratio: 16/10) {
  .home-news-section .news-card .news-image-wrapper {
    height: 200px;
  }
}
.home-news-section .news-card .news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}
.home-news-section .news-card .news-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.home-news-section .news-card .news-date {
  font-family: var(--font-brand-condensed);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-coral);
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
  display: block;
  font-weight: 700;
}
.home-news-section .news-card .news-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-weight: 700;
  line-height: 1.4;
  min-height: 3.5rem;
}
@media (max-width: 768px) {
  .home-news-section .news-card .news-title {
    min-height: auto;
  }
}
.home-news-section .news-card .news-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}
.home-news-section .news-card .news-link-btn {
  font-family: var(--font-brand-condensed);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  width: fit-content;
  transition: var(--transition-smooth);
  margin-top: auto;
}
.home-news-section .news-card .news-link-btn:hover {
  color: var(--color-accent-warm);
}
.home-news-section .news-card .news-link-btn:hover .arrow {
  transform: translateX(4px);
}
.home-news-section .news-card .news-link-btn .arrow {
  display: inline-block;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   ESTILOS COMPONENTES /FRONTEND-DESIGN (CIFRAS, CLAVES, ORGANIGRAMA, ESTRATEGIAS)
   ========================================================================== */
/* 1. Dashboard de Cifras de Impacto (index.html) */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (min-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stat-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-4px);
  border-color: var(--color-accent-warm);
}
.stat-card:hover .stat-number {
  color: var(--color-coral);
}
.stat-card .stat-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  opacity: 0.85;
}
.stat-card .stat-number {
  font-family: var(--font-brand-condensed);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
  transition: var(--transition-smooth);
}
.stat-card .stat-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 2. Claves del Funcionamiento (index.html) */
#claves-funcionamiento {
  background: linear-gradient(180deg, rgba(12, 30, 54, 0.78) 0%, rgba(12, 30, 54, 0.88) 100%), url("/static/img/2015_10_21_ALTA_RESOLUCION_0110-scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 7.5rem 0;
}
#claves-funcionamiento .section-title {
  color: var(--color-white);
}
#claves-funcionamiento .section-title::after {
  background-color: var(--color-accent-warm);
}
#claves-funcionamiento .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.keys-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (min-width: 768px) {
  .keys-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.key-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--color-accent-warm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.key-card:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  border-left-color: var(--color-coral);
  transform: translateY(-2px);
}
.key-card:hover .key-indicator {
  color: var(--color-coral);
  transform: translateX(3px);
}
.key-card .key-indicator {
  font-size: 1.5rem;
  color: var(--color-accent-warm);
  transition: var(--transition-smooth);
  line-height: 1;
  padding-top: 2px;
}
.key-card .key-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-accent-warm);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}
.key-card .key-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* 3. Organigrama de Gobernanza CSS (organizacion.html) */
.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  margin: var(--space-xl) auto;
  max-width: 1100px;
  position: relative;
}

.tree-connector-v {
  width: 2px;
  height: 20px;
  background-color: var(--color-border);
  position: relative;
  z-index: 1;
}

.org-section {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}
.org-section .org-section-title {
  font-family: var(--font-brand-bold);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xxs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.org-section .org-section-years {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--space-sm);
  background-color: var(--color-bg-alt);
  padding: var(--space-xxs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.members-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
}

.members-row-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .members-row-two {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ficha del Integrante (Horizontal y Compacta) */
.member-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: var(--space-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
.member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: var(--color-accent-warm);
}
.member-card .member-photo-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%; /* Foto Circular */
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-card .member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-card .member-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1px;
  width: 100%;
}
.member-card .member-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background-color: var(--color-bg-alt);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.member-card .member-name {
  font-family: var(--font-brand-bold);
  font-size: 1.05rem;
  color: var(--color-primary);
  margin: 1px 0;
  font-weight: 700;
  line-height: 1.2;
}
.member-card .member-congregacion {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0;
}
.member-card .member-email {
  font-size: 0.7rem;
  color: var(--color-coral);
  font-weight: 600;
  margin-top: 1px;
  word-break: break-all;
}
.member-card .member-email:hover {
  text-decoration: underline;
}

/* Ajustes especiales por rol */
.card-president {
  max-width: 400px;
  border-left: 4px solid var(--color-accent-warm);
}
.card-president .member-photo-wrapper {
  width: 72px;
  height: 72px;
}
.card-president .member-role {
  background-color: rgba(241, 190, 72, 0.15);
  color: #a47a18;
}

.card-vocal {
  max-width: 280px;
}
.card-vocal .member-photo-wrapper {
  width: 56px;
  height: 56px;
}
.card-vocal .member-name {
  font-size: 0.95rem;
}

.middle-layout {
  max-width: 760px;
}

.sub-pills {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}
.sub-pills .pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--space-xxs) var(--space-xs);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  box-shadow: var(--shadow-subtle);
}

/* Estilos de Ramificaciones Inferiores */
.tree-branches {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  width: 100%;
  position: relative;
}
@media (min-width: 992px) {
  .tree-branches {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}
.tree-branches .branch-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.tree-branches .branch-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-color: var(--color-accent-warm);
}
.tree-branches .branch-card .branch-title {
  font-family: var(--font-brand-bold);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xxs);
  text-align: center;
}
.tree-branches .branch-card .branch-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-sm);
}
.tree-branches .branch-card .branch-members {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-grow: 1;
  justify-content: flex-start;
}
.tree-branches .branch-card .branch-subgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 576px) {
  .tree-branches .branch-card .branch-subgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tree-branches .branch-card .member-card-sm {
  max-width: 100%;
  padding: var(--space-xs) var(--space-sm);
  gap: var(--space-sm);
}
.tree-branches .branch-card .member-card-sm .member-photo-wrapper {
  width: 48px;
  height: 48px;
}
.tree-branches .branch-card .member-card-sm .member-name {
  font-size: 0.95rem;
}
.tree-branches .branch-pastoral {
  border-left: 5px solid var(--color-celeste);
}
.tree-branches .branch-pastoral:hover {
  border-color: var(--color-celeste);
}
.tree-branches .branch-financiera {
  border-left: 5px solid var(--color-accent-warm);
}
.tree-branches .branch-financiera:hover {
  border-color: var(--color-accent-warm);
}

/* 4. Timeline / Cuadrícula de Estrategias Formativas (organizacion.html) */
.strategies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
@media (min-width: 600px) {
  .strategies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .strategies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.strategy-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
  overflow: hidden;
}
.strategy-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-3px);
}
.strategy-card .strategy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.strategy-card .strategy-icon {
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-weight: 700;
}
.strategy-card .strategy-badge {
  font-family: var(--font-brand-condensed);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.strategy-card .strategy-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: var(--space-xs);
}
.strategy-card .strategy-text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}
.strategy-card.strategy-purple {
  border-top: 3px solid #7C3AED;
}
.strategy-card.strategy-purple .strategy-icon {
  background-color: #7C3AED;
}
.strategy-card.strategy-pink {
  border-top: 3px solid #DB2777;
}
.strategy-card.strategy-pink .strategy-icon {
  background-color: #DB2777;
}
.strategy-card.strategy-magenta {
  border-top: 3px solid #EC4899;
}
.strategy-card.strategy-magenta .strategy-icon {
  background-color: #EC4899;
}
.strategy-card.strategy-violet {
  border-top: 3px solid #8B5CF6;
}
.strategy-card.strategy-violet .strategy-icon {
  background-color: #8B5CF6;
}
.strategy-card.strategy-indigo {
  border-top: 3px solid #6366F1;
}
.strategy-card.strategy-indigo .strategy-icon {
  background-color: #6366F1;
}
.strategy-card.strategy-amber {
  border-top: 3px solid #D97706;
}
.strategy-card.strategy-amber .strategy-icon {
  background-color: #D97706;
}

/* 5. Sección Quiénes Somos - Rediseño Mobile Integrado con Orden de Lectura */
.home-about-section {
  padding: var(--space-xl) 0 var(--space-3xl) 0;
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30,0 C18,0 10,15 10,30 L10,60 L50,60 L50,30 C50,15 42,0 30,0 Z' fill='none' stroke='%23f1b434' stroke-width='1' stroke-opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: visible;
}
@media (min-width: 992px) {
  .home-about-section {
    background-image: none;
  }
}
.home-about-section .about-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  position: relative;
  z-index: 12;
}
@media (min-width: 992px) {
  .home-about-section .about-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    align-items: center;
    text-align: left;
  }
}
.home-about-section .about-header-block {
  order: 1;
}
@media (min-width: 992px) {
  .home-about-section .about-header-block {
    order: unset;
  }
}
.home-about-section .about-image-container {
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  order: 2;
}
@media (min-width: 992px) {
  .home-about-section .about-image-container {
    display: block;
    padding-right: var(--space-xxl);
    margin-top: 0;
    order: unset;
  }
}
.home-about-section .about-body-block {
  order: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 992px) {
  .home-about-section .about-body-block {
    order: unset;
    display: block;
    width: auto;
  }
}
.home-about-section .about-featured-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 4px solid var(--color-pantone-yellow-raw);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}
@media (min-width: 992px) {
  .home-about-section .about-featured-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    border-radius: 140px 30px 140px 30px;
    border: none;
    box-shadow: var(--shadow-premium);
  }
}
.home-about-section .about-featured-img:hover {
  transform: scale(1.015);
}
.home-about-section .about-content-card {
  display: contents;
}
@media (min-width: 992px) {
  .home-about-section .about-content-card {
    display: block;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-pantone-yellow-raw);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 2;
    margin-left: -120px;
    margin-right: 0;
    margin-top: var(--space-xl);
    transition: var(--transition-smooth);
  }
  .home-about-section .about-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 30px -5px rgba(12, 30, 54, 0.12), 0 12px 12px -5px rgba(12, 30, 54, 0.06);
  }
}
.home-about-section .about-content-card .eyebrow {
  color: var(--color-pantone-yellow-raw);
  margin-bottom: var(--space-xs);
  display: block;
}
.home-about-section .about-content-card .about-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: var(--space-md);
  font-weight: 700;
  line-height: 1.15;
}
@media (min-width: 992px) {
  .home-about-section .about-content-card .about-title {
    font-size: 2.2rem;
  }
}
.home-about-section .about-content-card .about-description {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-top: 0;
  margin-bottom: var(--space-lg);
  white-space: pre-line;
}
@media (min-width: 992px) {
  .home-about-section .about-content-card .about-description {
    font-size: 1.05rem;
  }
}
.home-about-section .about-content-card .about-actions {
  display: flex;
  justify-content: center;
}
@media (min-width: 992px) {
  .home-about-section .about-content-card .about-actions {
    justify-content: flex-start;
  }
}

.numeros-fem-section {
  overflow: hidden;
  padding: 2.75rem 0;
}
.numeros-fem-section .cifras-header {
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.numeros-fem-section.js-motion-ready .cifras-header {
  opacity: 0;
  transform: translateX(-50px);
}
.numeros-fem-section.js-motion-ready.is-visible .cifras-header {
  opacity: 1;
  transform: translateX(0);
}

.num-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s var(--ease-organic), color 0.3s ease;
}
.num-counter.is-settled {
  animation: counter-pop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes counter-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
.colegios-dashboard-section {
  padding: 3rem 0;
  background-color: var(--color-bg);
}

.compact-controls {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.compact-controls .search-input-container input {
  width: 100%;
  padding: 0.8rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--color-text);
  font-family: "Inter", sans-serif;
  transition: all 0.25s ease;
}
.compact-controls .search-input-container input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(241, 190, 72, 0.15);
}
.compact-controls .compact-filters {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.compact-controls .filter-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .compact-controls .filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
.compact-controls .filter-row .row-label {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  min-width: 90px;
}
.compact-controls .filter-row .pills-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .compact-controls .filter-row .pills-group.scrollable-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .compact-controls .filter-row .pills-group.scrollable-pills::-webkit-scrollbar {
    height: 5px;
  }
  .compact-controls .filter-row .pills-group.scrollable-pills::-webkit-scrollbar-thumb {
    background-color: var(--color-border);
    border-radius: 3px;
  }
}
.compact-controls .filter-row .pills-group .pill-btn {
  background-color: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.compact-controls .filter-row .pills-group .pill-btn:hover {
  border-color: var(--color-accent);
  background-color: var(--color-white);
}
.compact-controls .filter-row .pills-group .pill-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}
.results-header .results-title {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}
.results-header .count-badge {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
}

.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.school-card {
  background-color: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
  /* Estado inicial para animación al scroll (Fade-in + Slide-up Paralaje) */
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
  will-change: opacity, transform;
}
.school-card.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}
.school-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px) scale(1.01) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.school-card .card-header-badge {
  align-self: flex-start;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}
.school-card .card-title {
  font-family: "Lora", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.school-card .card-province-label {
  font-family: "Barlow", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}
.school-card .card-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  margin-bottom: 1.5rem;
}
.school-card .card-details .detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.school-card .card-details .detail-item .detail-icon {
  font-size: 1rem;
  flex-shrink: 0;
}
.school-card .card-details .detail-item .detail-text {
  font-family: "Inter", sans-serif;
  font-weight: 500;
}
.school-card .card-actions {
  margin-top: auto;
}
.school-card .card-actions .btn-card-link {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.empty-state h4 {
  font-family: "Lora", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.empty-state .btn {
  padding: 0.6rem 1.5rem;
}

.d-none {
  display: none !important;
}

.school-card {
  cursor: pointer;
}
.school-card.active-card {
  border-color: var(--color-accent-warm) !important;
  box-shadow: var(--shadow-glow) !important;
  transform: translateY(-4px) !important;
  background-color: #FFFDF8; /* Fondo crema muy suave de selección premium */
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(5px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.maps-split-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
@media (min-width: 992px) {
  .maps-split-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}
.maps-split-container .map-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.maps-split-container .map-box-title {
  font-family: var(--font-brand-condensed);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.maps-split-container .map-instance {
  height: 420px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  z-index: 1;
}
.maps-split-container .map-floating-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 330px;
  background-color: #FFFDF8; /* Fondo crema de selección premium */
  border: 1.5px solid var(--color-accent-warm); /* Borde dorado destacado */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  padding: var(--space-lg);
  animation: overlayFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@media (max-width: 768px) {
  .maps-split-container .map-floating-overlay {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    box-shadow: 0 -4px 20px rgba(12, 30, 54, 0.12);
  }
}
.maps-split-container .map-floating-overlay.on-left {
  right: auto;
  left: 20px;
}
@media (max-width: 768px) {
  .maps-split-container .map-floating-overlay.on-left {
    left: 12px;
    right: 12px;
  }
}
.maps-split-container .map-floating-overlay .close-card-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}
.maps-split-container .map-floating-overlay .close-card-btn:hover {
  color: var(--color-coral);
  transform: scale(1.1);
}
.maps-split-container .map-floating-overlay .floating-card-body {
  display: flex;
  flex-direction: column;
}
.maps-split-container .map-floating-overlay .floating-card-body .popup-carisma {
  font-family: var(--font-brand-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.maps-split-container .map-floating-overlay .floating-card-body h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 6px 0;
  line-height: 1.25;
}
.maps-split-container .map-floating-overlay .floating-card-body .province-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-brand-condensed);
  font-size: 0.7rem;
  font-weight: 700;
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}
.maps-split-container .map-floating-overlay .floating-card-body .detail-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: 6px;
}
.maps-split-container .map-floating-overlay .floating-card-body .detail-item .detail-icon {
  font-size: 1rem;
  flex-shrink: 0;
}
.maps-split-container .map-floating-overlay .floating-card-body .detail-item .detail-text {
  font-family: var(--font-sans);
  font-weight: 500;
}
.maps-split-container .map-floating-overlay .floating-card-body .btn-card-link {
  margin-top: var(--space-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-family: var(--font-brand-condensed);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1.5px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}
.maps-split-container .map-floating-overlay .floating-card-body .btn-card-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*# sourceMappingURL=main.css.map */
