﻿/* ==========================================================================
   JCP MINISTRIES | J�VENES CON PROP�SITO
   Design System - Signature Farm Africa Letter "O" Video Portal
   ========================================================================== */

:root {
  /* ==========================================================================
     PALETA ORIGINAL GUARDADA (RESPALDO HISTORICO - AZUL CORPORATIVO JCP)
     --------------------------------------------------------------------------
     --jcp-navy: #003b5c;
     --jcp-navy-dark: #021a2c;
     --jcp-navy-deep: #01101b;
     --jcp-navy-light: #0d5580;
     --jcp-amber: #f59e0b;
     --jcp-amber-hover: #d97706;
     --jcp-amber-light: #fef3c7;
     --jcp-amber-glow: rgba(245, 158, 11, 0.35);
     --jcp-emerald: #10b981;
     --jcp-emerald-dark: #059669;
     --jcp-emerald-light: #ecfdf5;
     --jcp-slate-900: #0f172a;
     --jcp-slate-800: #1e293b;
     --jcp-slate-700: #334155;
     --jcp-slate-600: #475569;
     --jcp-slate-500: #64748b;
     --jcp-slate-300: #cbd5e1;
     --jcp-slate-100: #f1f5f9;
     --jcp-slate-50:  #f8fafc;
     --jcp-white:     #ffffff;
     ========================================================================== */

  /* ==========================================================================
     NUEVA PALETA: TERRACOTA ANDINO (Sistema Integral JCP)
     Primario:   #C9601F (Terracota Andino)
     Base:       #2C4A5C (Azul Petroleo / Base Andina)
     Acento:     #D9A441 (Ocre Dorado Andino)
     Secundario: #7C8B6F (Verde Salvia Andino)
     Fondo:      #F4F1EA (Blanco Hueso / Marfil Calido Andino)
     ========================================================================== */

  /* 1. Primario: Terracota Andino (#C9601F) */
  --jcp-primary: #C9601F;
  --jcp-primary-hover: #B35116;
  --jcp-primary-dark: #97400D;
  --jcp-primary-light: #FAECE3;
  --jcp-primary-glow: rgba(201, 96, 31, 0.35);

  /* 2. Base: Azul Petroleo Andino (#2C4A5C) */
  --jcp-base: #2C4A5C;
  --jcp-navy: #2C4A5C;
  --jcp-navy-dark: #1F3542;
  --jcp-navy-deep: #14232C;
  --jcp-navy-light: #3E637A;

  /* 3. Acento: Ocre Dorado Andino (#D9A441) */
  --jcp-accent: #D9A441;
  --jcp-amber: #D9A441;
  --jcp-amber-hover: #C28F32;
  --jcp-amber-light: #FBF4E6;
  --jcp-amber-glow: rgba(217, 164, 65, 0.35);

  /* 4. Secundario: Verde Salvia Andino (#7C8B6F) */
  --jcp-secondary: #7C8B6F;
  --jcp-emerald: #7C8B6F;
  --jcp-emerald-dark: #57644D;
  --jcp-emerald-light: #F0F3ED;
  --jcp-secondary-glow: rgba(124, 139, 111, 0.35);

  /* 5. Fondo y Escala Tonal Calida (#F4F1EA) */
  --jcp-bg: #F4F1EA;
  --jcp-slate-50:  #F4F1EA;
  --jcp-slate-100: #EDE8DE;
  --jcp-slate-300: #D8D1C2;
  --jcp-slate-500: #736F65;
  --jcp-slate-600: #4B555A;
  --jcp-slate-700: #323F46;
  --jcp-slate-800: #212F37;
  --jcp-slate-900: #142027;
  --jcp-white:     #ffffff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevations */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(44, 74, 92, 0.08);
  --shadow-lg: 0 14px 32px rgba(44, 74, 92, 0.12);
  --shadow-xl: 0 24px 48px rgba(20, 35, 44, 0.18);
  --shadow-gold: 0 10px 25px rgba(217, 164, 65, 0.3);
  --shadow-terracota: 0 10px 25px rgba(201, 96, 31, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Dynamic Portal Variables (Updated by JS Scroll Controller) */
  --portal-radius: 0px;
  --portal-cx: 50%;
  --portal-cy: 50%;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--jcp-slate-700);
  background-color: var(--jcp-slate-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--jcp-slate-900);
  font-weight: 700;
  line-height: 1.25;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-fluid {
  width: 100%;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--jcp-amber); }
.text-navy { color: var(--jcp-navy); }
.text-emerald { color: var(--jcp-emerald); }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-amber {
  background: var(--jcp-amber-light);
  color: var(--jcp-amber-hover);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   HEADER: Transparent Floating Navigation (Farm Africa Style)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: transparent;
  transition: all var(--transition-base);
}

.site-header.header-glass {
  padding: 0.85rem 0;
  background: rgba(20, 35, 44, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand .brand-img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-fast);
}

.header-brand:hover .brand-img {
  transform: scale(1.03);
}

/* Central Pill Button for Menu */
.nav-pill-btn {
  background: rgba(0, 43, 68, 0.75);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.6rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-pill-btn:hover {
  background: rgba(0, 59, 92, 0.95);
  border-color: var(--jcp-amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.pill-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pill-bars span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: background-color 0.2s;
}

.nav-pill-btn:hover .pill-bars span {
  background-color: var(--jcp-amber);
}

.pill-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Right Header Action Container */
.header-right-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* ==========================================================================
   Language Selector Dropdown (Pill Glassmorphic & Modern)
   ========================================================================== */
.lang-selector-dropdown {
  position: relative;
}

.lang-pill-btn {
  background: rgba(0, 43, 68, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.15rem;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-pill-btn:hover,
.lang-selector-dropdown.open .lang-pill-btn {
  background: rgba(0, 59, 92, 0.95);
  border-color: var(--jcp-amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.lang-icon {
  color: var(--jcp-amber);
  font-size: 1rem;
}

.current-lang-code {
  letter-spacing: 0.05em;
}

.lang-caret {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease;
  margin-left: 0.15rem;
}

.lang-selector-dropdown.open .lang-caret {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  background: rgba(2, 26, 44, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  padding: 0.6rem 0;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-selector-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-header {
  padding: 0.5rem 1.15rem 0.65rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jcp-amber);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.35rem;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #ffffff;
}

.lang-option.active {
  background: rgba(245, 158, 11, 0.22);
  color: #ffffff;
}

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

.lang-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lang-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.2;
}

.lang-sub {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.55);
}

.lang-check {
  font-size: 0.85rem;
  color: var(--jcp-amber);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.lang-option.active .lang-check {
  opacity: 1;
  transform: scale(1);
}

/* Selector dentro del Men� Drawer (M�vil) */
.drawer-lang-picker {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-lang-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--jcp-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.drawer-lang-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.drawer-lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.drawer-lang-btn:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--jcp-amber);
}

.drawer-lang-btn.active {
  background: var(--jcp-amber);
  color: var(--jcp-navy-dark);
  border-color: var(--jcp-amber);
  font-weight: 800;
}

/* Right Golden Donate Pill */
.btn-donate-pill {
  background: linear-gradient(135deg, var(--jcp-primary) 0%, #B35116 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px var(--jcp-primary-glow);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.btn-donate-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(201, 96, 31, 0.55);
  color: #fff;
}

/* ==========================================================================
   Google Translate Overrides (Hides Default Banners & Keeps Layout Pristine)
   ========================================================================== */
body {
  top: 0px !important;
  position: static !important;
}

.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
}

body > .skiptranslate {
  display: none !important;
}

#google_translate_element {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Fullscreen Navigation Overlay */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 35, 44, 0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.fullscreen-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 860px;
  height: 100%;
  background: linear-gradient(165deg, #14232C 0%, #1F3542 100%);
  z-index: 2001;
  padding: 2.25rem 3.5rem 2.5rem 3.5rem;
  box-shadow: -25px 0 70px rgba(0, 0, 0, 0.65);
  transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.fullscreen-menu.active {
  right: 0;
}

.menu-close-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  flex-shrink: 0;
}

.menu-top-logo {
  max-height: 48px;
}

.menu-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.menu-close-btn:hover {
  background: var(--jcp-amber, #f59e0b);
  color: #01101b;
  border-color: var(--jcp-amber, #f59e0b);
  transform: rotate(90deg);
}

/* Grilla de Contenido en 2 Columnas Balanceadas */
.menu-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
  flex: 1;
}

.menu-left-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-mission-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

.drawer-lang-picker {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.drawer-lang-title {
  color: var(--jcp-amber, #f59e0b);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.drawer-lang-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.drawer-lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-lang-btn:hover,
.drawer-lang-btn.active {
  background: var(--jcp-amber, #f59e0b);
  color: #01101b;
  border-color: var(--jcp-amber, #f59e0b);
}

.menu-social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.menu-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.menu-social-links a:hover {
  background: var(--jcp-amber, #f59e0b);
  color: #01101b;
  border-color: var(--jcp-amber, #f59e0b);
  transform: translateY(-2px);
}

/* Columna Derecha: Enlaces de Navegacion (Desde arriba y completos) */
.menu-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.menu-nav-item {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: all var(--transition-fast);
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
}

.menu-nav-item span {
  font-size: 0.85rem;
  color: var(--jcp-amber, #f59e0b);
  font-weight: 800;
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-family: monospace;
}

.menu-nav-item:hover {
  color: var(--jcp-amber, #f59e0b);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(8px);
}

@media (max-width: 820px) {
  .fullscreen-menu {
    max-width: 100%;
    padding: 1.75rem 2rem;
  }
  .menu-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .menu-nav-item {
    font-size: 1.25rem;
  }
}
/* ==========================================================================
   SIGNATURE HERO ZOOM PORTAL SECTION (Letter 'O' Video Portal)
   ========================================================================== */
.hero-zoom-track {
  position: relative;
  height: 250vh;
  background-color: var(--jcp-navy-deep);
}

.hero-sticky-frame {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--jcp-navy-deep);
}

/* ==========================================================================
   Fondo Hero: Geometría Sagrada Andina de Cusco (Chakana & Constelaciones)
   Inspirado en el concepto tono sobre tono de Farm Africa
   ========================================================================== */
.hero-pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 42%, rgba(31, 53, 66, 0.6) 0%, #14232C 100%);
  background-color: #14232C;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

/* Initial Screen View: Headline with the letter 'o' as video counter */
.hero-intro-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  pointer-events: auto;
  will-change: opacity, transform;
}

.hero-question-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-portal-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

/* The word "PROP�SITO" with its last letter 'O' containing the video */
.portal-word {
  display: inline-flex;
  align-items: baseline;
  vertical-align: baseline;
  position: relative;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.portal-stem {
  display: inline-block;
  color: var(--jcp-amber);
  background: linear-gradient(135deg, var(--jcp-primary) 0%, var(--jcp-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
  font-weight: 800;
  text-shadow: 0 0 35px rgba(201, 96, 31, 0.45);
}

/* The letter 'O' with the video playing inside its exact circular shape */
.portal-letter-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 0.70em;
  height: 0.70em;
  margin-left: 0.03em;
  vertical-align: -0.04em;
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 0 20px rgba(201, 96, 31, 0.45);
  background: #021422;
  will-change: transform;
}

.portal-o-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 175%;
  height: 175%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  filter: saturate(1.15) contrast(1.05);
}

.portal-o-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 0.085em solid var(--jcp-amber);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6), 0 0 12px rgba(217, 164, 65, 0.5);
  pointer-events: none;
  z-index: 2;
}

.hero-intro-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Mouse Scroll Indicator */
.hero-scroll-prompt {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: opacity 0.3s;
}

.scroll-mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--jcp-primary);
  border-radius: 2px;
  animation: scrollWheelBounce 1.8s infinite;
}

@keyframes scrollWheelBounce {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   Full Expanded Video Layer (The Zoom Portal that takes over the screen)
   ========================================================================== */
.hero-expanded-portal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
  clip-path: circle(var(--portal-radius, 0px) at var(--portal-cx, 50%) var(--portal-cy, 50%));
  will-change: clip-path;
  opacity: 0;
}

.hero-fullscreen-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.expanded-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(2, 20, 34, 0.45) 0%, rgba(1, 16, 27, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}

.expanded-content-box {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  z-index: 8;
  opacity: 0;
  transition: opacity 0.35s ease-out;
  pointer-events: none;
  max-width: 860px;
  width: 90%;
}

.expanded-content-box.active {
  opacity: 1;
  pointer-events: auto;
}

.expanded-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 1.25rem 0 1.25rem 0;
}

.expanded-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--jcp-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.expanded-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 2rem auto;
}

.expanded-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-base);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--jcp-primary) 0%, #B35116 100%);
  color: #fff;
  box-shadow: 0 4px 15px var(--jcp-primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #D46924 0%, #97400D 100%);
  box-shadow: 0 6px 22px rgba(201, 96, 31, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

.btn-navy {
  background-color: var(--jcp-navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 59, 92, 0.25);
}

.btn-navy:hover {
  background-color: var(--jcp-navy-dark);
  box-shadow: 0 6px 20px rgba(0, 59, 92, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.btn-emerald {
  background: linear-gradient(135deg, var(--jcp-emerald) 0%, var(--jcp-emerald-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
  color: #fff;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-white:hover {
  background: #fff;
  border-color: #fff;
  color: var(--jcp-navy);
  transform: translateY(-2px);
}

.btn-pulse {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ==========================================================================
   TEXTURED BACKGROUNDS & ORGANIC WAVE DIVIDERS (Estilo One More Child)
   ========================================================================== */

/* Topographic & Ambient Dark Background */
.bg-topo-dark {
  background-color: var(--jcp-navy-deep);
  background-image: 
    radial-gradient(ellipse at 85% 15%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 85%, rgba(2, 132, 199, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(1, 16, 27, 0.8) 0%, transparent 100%),
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 80 Q 40 50 80 80 T 160 80 M0 40 Q 40 10 80 40 T 160 40 M0 120 Q 40 90 80 120 T 160 120 M0 0 Q 40 -30 80 0 T 160 0 M0 160 Q 40 130 80 160 T 160 160' fill='none' stroke='%23f59e0b' stroke-width='1.2' stroke-opacity='0.05'/%3E%3Ccircle cx='80' cy='80' r='1.5' fill='%2338bdf8' fill-opacity='0.15'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%2338bdf8' fill-opacity='0.15'/%3E%3C/svg%3E");
  background-size: cover, cover, cover, 160px 160px;
}

/* Tactile Linen & Grid Light Background */
.bg-textured-light {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(0, 59, 92, 0.04) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23003b5c' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M24 22v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-20V0h-2v2h-2v2h2v2h2V4h2V2h-2zM4 22v-4H2v4H0v2h2v4h2v-4h4v-2H4zm0-20V0H2v2H0v2h2v2h2V4h2V2H4z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, cover, 48px 48px;
}



/* Glassmorphic Elevated Dark Card with Textured Border */
.card-texture-glass {
  background: rgba(3, 32, 52, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.card-texture-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--jcp-amber), transparent);
  opacity: 0.6;
}

/* Elevated Light Card with Micro-border and Paper Depth */
.card-texture-light {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 59, 92, 0.08);
  box-shadow: 0 10px 30px rgba(1, 16, 27, 0.05), 0 2px 8px rgba(1, 16, 27, 0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-texture-light:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(1, 16, 27, 0.12), 0 4px 12px rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
}

/* Stat Card Halo & Luminous Numbers */
.stat-icon-halo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--jcp-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem auto;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

/* Stat card � override para light mode */
.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--jcp-navy);
  line-height: 1;
  margin-bottom: 0.65rem;
  letter-spacing: -0.03em;
}

.stat-card .stat-label {
  font-weight: 800;
  font-size: 1rem;
  color: var(--jcp-slate-900);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.stat-card .stat-subtext {
  font-size: 0.85rem;
  color: var(--jcp-slate-500);
  line-height: 1.55;
}

/* ==========================================================================
   Metrics / Stats Section
   ========================================================================== */
.stats-section {
  padding: 6rem 0;
  position: relative;
  z-index: 20;
  /* Fondo claro y vibrante en lugar del oscuro */
  background: linear-gradient(135deg, #EDE8DE 0%, #F4F1EA 50%, #F0F3ED 100%);
  overflow: hidden;
}

/* Decoraci�n de fondo para stats */
.stats-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.stat-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

/* L�nea de acento superior por tarjeta (color variable) */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--stat-accent, var(--jcp-amber));
  border-radius: 20px 20px 0 0;
}

.stat-card:nth-child(1) { --stat-accent: #0ea5e9; }
.stat-card:nth-child(2) { --stat-accent: #10b981; }
.stat-card:nth-child(3) { --stat-accent: #f59e0b; }
.stat-card:nth-child(4) { --stat-accent: #8b5cf6; }

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--jcp-slate-900);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.section-description {
  font-size: 1.15rem;
  color: var(--jcp-slate-600);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   MISI�N & VISI�N � Redise�o Premium con Formas y Fondo Din�mico
   ========================================================================== */
.mision-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #F4F1EA 0%, #FFFFFF 50%, #EDE8DE 100%);
}

/* C�rculos decorativos de fondo */
.mision-bg-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.mision-decor-circle-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%);
  top: -120px;
  right: -80px;
}

.mision-decor-circle-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(2,132,199,0.08) 0%, transparent 70%);
  bottom: -60px;
  left: -80px;
}

.mision-decor-dots {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(circle, rgba(0,59,92,0.12) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  border-radius: 0;
  pointer-events: none;
  opacity: 0.7;
}

.mision-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.mision-text-col {
  display: flex;
  flex-direction: column;
}

.mision-heading {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 800;
  color: var(--jcp-slate-900);
  line-height: 1.2;
  margin: 1.25rem 0 1.5rem 0;
  letter-spacing: -0.015em;
}

.mision-lead {
  font-size: 1.1rem;
  color: var(--jcp-navy);
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.mision-desc {
  font-size: 1rem;
  color: var(--jcp-slate-600);
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

/* Tarjetas de Misi�n/Visi�n con dise�o premium */
.mision-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mision-card-premium {
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mision-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.mision-card-vision {
  background: linear-gradient(135deg, var(--jcp-navy) 0%, #015a8a 100%);
  box-shadow: 0 8px 24px rgba(0,59,92,0.25);
}

.mision-card-mision {
  background: linear-gradient(135deg, var(--jcp-amber) 0%, #d97706 100%);
  box-shadow: 0 8px 24px rgba(245,158,11,0.3);
}

.mision-card-premium::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.mision-card-icon-bg {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}

.mision-card-premium h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.35rem 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.mision-card-premium p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  margin: 0;
}

/* Stats Strip horizontal bajo las tarjetas */
.mision-stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--jcp-navy-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
}

.mision-stat-item {
  flex: 1;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.mision-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--jcp-amber);
  line-height: 1;
  letter-spacing: -0.02em;
}

.mision-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  line-height: 1.35;
}

.mision-stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Columna Media con forma detr�s */
.mision-media-col {
  position: relative;
}

.mision-img-shape-bg {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: linear-gradient(135deg, rgba(245,158,11,0.15) 0%, rgba(2,132,199,0.1) 100%);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  z-index: 0;
}

.mision-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,59,92,0.22);
  z-index: 1;
  border: 8px solid #ffffff;
}

.mision-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.mision-image-wrapper:hover .mision-main-img {
  transform: scale(1.04);
}

/* Pill de ubicaci�n sobre la imagen */
.mision-img-top-pill {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(20, 35, 44, 0.82);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 5;
}

.mision-img-top-pill i {
  color: var(--jcp-amber);
}

/* Badge flotante inferior */
.mision-float-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, rgba(1,16,27,0.92) 0%, rgba(0,59,92,0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  z-index: 5;
}

.mision-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245,158,11,0.2);
  border: 2px solid rgba(245,158,11,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--jcp-amber);
  flex-shrink: 0;
}

.float-badge-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--jcp-amber);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.float-badge-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   LAS 5 �REAS � Tarjetas Premium con Fondos de Color y Formas Org�nicas SVG
   ========================================================================== */
.areas-section {
  padding: 8rem 0;
  background: var(--jcp-navy-deep);
  position: relative;
  overflow: hidden;
}

/* Orbs de fondo decorativos */
.areas-bg-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.areas-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.areas-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2,132,199,0.12) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
}

/* Fila Superior: 3 columnas */
.areas-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Fila Inferior: 2 columnas centradas */
.areas-row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}

/* Tarjeta base v2 con fondo de color */
.area-card-v2 {
  border-radius: 24px;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  cursor: default;
}

.area-card-v2:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

/* Fondos de color por tema */
.area-sky {
  background: linear-gradient(145deg, #0ea5e9 0%, #0284c7 55%, #0369a1 100%);
}

.area-violet {
  background: linear-gradient(145deg, #a78bfa 0%, #7c3aed 55%, #6d28d9 100%);
}

.area-amber {
  background: linear-gradient(145deg, #fcd34d 0%, #f59e0b 55%, #d97706 100%);
}

.area-emerald {
  background: linear-gradient(145deg, #34d399 0%, #10b981 55%, #059669 100%);
}

.area-coral {
  background: linear-gradient(145deg, #f87171 0%, #ef4444 55%, #dc2626 100%);
}

/* SVG blob decoration dentro de la tarjeta */
.area-card-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  opacity: 0.35;
  pointer-events: none;
}

.area-card-shape svg {
  width: 100%;
  height: 100%;
}

/* N�mero watermark grande */
.area-watermark-num {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
  user-select: none;
}

/* Contenido interior */
.area-card-inner {
  position: relative;
  z-index: 2;
  padding: 2.25rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* �cono en c�rculo */
.area-icon-v2 {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.area-card-v2:hover .area-icon-v2 {
  transform: scale(1.12) rotate(6deg);
  background: rgba(255,255,255,0.32);
}

/* T�tulos y texto */
.area-card-v2 h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.area-card-v2 p {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Lista de features v2 */
.area-features-v2 {
  list-style: none;
  padding: 0;
  margin: auto 0 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.area-features-v2 li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.area-features-v2 li i {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  flex-shrink: 0;
}

/* Amber card text override (amarillo = necesita texto oscuro) */
.area-amber h3,
.area-amber p,
.area-amber .area-features-v2 li,
.area-amber .area-features-v2 li i {
  color: rgba(0,0,0,0.82);
}

.area-amber .area-watermark-num {
  color: rgba(0,0,0,0.06);
}

.area-amber .area-features-v2 {
  border-top-color: rgba(0,0,0,0.15);
}

.area-amber .area-icon-v2 {
  background: rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.2);
  color: rgba(0,0,0,0.75);
}

/* Section title y descripcion para fondo claro de areas - Alto Contraste */
.areas-section .section-title {
  color: var(--jcp-navy-dark, #021a2c) !important;
  font-weight: 800 !important;
  font-size: clamp(2rem, 3.2vw, 2.75rem) !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
  margin-top: 0.85rem !important;
  margin-bottom: 1rem !important;
}

.areas-section .section-description {
  color: var(--jcp-slate-600, #475569) !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}

.areas-section .badge-pill.badge-amber {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  font-weight: 700 !important;
}

.mision-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.mision-text-col {
  display: flex;
  flex-direction: column;
}

.mision-heading {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 800;
  color: var(--jcp-slate-900);
  line-height: 1.2;
  margin: 1.25rem 0 1.5rem 0;
  letter-spacing: -0.015em;
}

.mision-lead {
  font-size: 1.15rem;
  color: var(--jcp-navy);
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.mision-desc {
  font-size: 1.02rem;
  color: var(--jcp-slate-600);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.mision-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mision-card-box {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.mision-card-box:hover {
  transform: translateY(-5px);
}

.border-navy-accent {
  border-left-color: var(--jcp-navy);
}

.border-amber-accent {
  border-left-color: var(--jcp-amber);
}

.mision-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-circle-navy {
  background: rgba(0, 59, 92, 0.1);
  color: var(--jcp-navy);
}

.icon-circle-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--jcp-amber-hover);
}

.mision-card-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--jcp-slate-900);
  margin: 0;
}

.mision-card-box p {
  font-size: 0.92rem;
  color: var(--jcp-slate-600);
  line-height: 1.65;
  margin: 0;
}

.mision-media-col {
  position: relative;
}

.mision-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 59, 92, 0.25);
  border: 10px solid #ffffff;
  background: #ffffff;
}

.mision-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-lg) - 4px);
  transition: transform 0.6s ease;
}

.mision-image-wrapper:hover .mision-main-img {
  transform: scale(1.04);
}

.mision-float-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(1, 16, 27, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.float-badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--jcp-amber);
  line-height: 1;
  flex-shrink: 0;
  text-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.float-badge-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.45;
  font-weight: 500;
}

/* ==========================================================================
   The 5 Areas of Comprehensive Formation (Distribuci�n Balanceada 3 + 2)
   ========================================================================== */
.areas-section {
  padding: 7.5rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.areas-balanced-container {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 1240px;
  margin: 0 auto;
}

/* Fila Superior con 3 Tarjetas C�modas y Amplias */
.areas-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

/* Fila Inferior con 2 Tarjetas Centradas y de Gran Presencia */
.areas-row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.area-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  border: 1px solid rgba(0, 59, 92, 0.08);
  box-shadow: 0 10px 30px rgba(1, 16, 27, 0.04), 0 2px 8px rgba(1, 16, 27, 0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--area-accent, var(--jcp-amber));
  transition: height 0.25s ease;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(1, 16, 27, 0.12), 0 4px 12px rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

.area-card:hover::before {
  height: 7px;
}

.area-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--area-bg, var(--jcp-amber-light));
  color: var(--area-accent, var(--jcp-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.area-card:hover .area-icon-wrap {
  transform: scale(1.1) rotate(4deg);
}

.area-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--jcp-slate-900);
}

.area-card p {
  font-size: 0.95rem;
  color: var(--jcp-slate-600);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.area-features {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--jcp-slate-200);
  list-style: none;
  padding-left: 0;
}

.area-features li {
  font-size: 0.85rem;
  color: var(--jcp-slate-600);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.area-features li i {
  color: var(--area-accent, var(--jcp-amber));
  font-size: 0.8rem;
}

/* ==========================================================================
   Scholarship Programs
   ========================================================================== */
.programs-section {
  padding: 6rem 0;
  background: #ffffff;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jcp-slate-50);
  border: 1px solid var(--jcp-slate-100);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.program-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.08);
}

.program-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(3, 32, 52, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.program-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.program-body p {
  color: var(--jcp-slate-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-highlights {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--jcp-slate-100);
}

.program-highlights li {
  font-size: 0.85rem;
  color: var(--jcp-slate-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.program-highlights li:last-child {
  margin-bottom: 0;
}

.program-highlights li i {
  color: var(--jcp-emerald);
}

/* ==========================================================================
   DONATION WIDGET & HEROIC DONATION SECTION (Core Feature)
   ========================================================================== */
.donation-section {
  padding: 6.5rem 0;
  background: linear-gradient(135deg, var(--jcp-navy-deep) 0%, var(--jcp-navy) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.donation-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.donation-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.donation-pitch h2 {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.donation-pitch p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.donation-guarantees {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.guarantee-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--jcp-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.guarantee-text h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.guarantee-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Modern Glass Donation Card */
.donation-card {
  background: #ffffff;
  color: var(--jcp-slate-800);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  position: relative;
}

/* Frequency Toggle Switch */
.donation-freq-switch {
  display: flex;
  background: var(--jcp-slate-100);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 1.8rem;
  border: 1px solid var(--jcp-slate-300);
}

.freq-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jcp-slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.freq-btn.active {
  background: var(--jcp-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.freq-btn.active .heart-icon {
  color: #ef4444;
}

/* Amount Selector Grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.amount-btn {
  border: 2px solid var(--jcp-slate-300);
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--jcp-slate-800);
  position: relative;
}

.amount-btn:hover {
  border-color: var(--jcp-amber);
  background: var(--jcp-amber-light);
  color: var(--jcp-navy);
}

.amount-btn.active {
  border-color: var(--jcp-amber);
  background: linear-gradient(135deg, var(--jcp-amber-light) 0%, #fff 100%);
  color: var(--jcp-navy);
  box-shadow: 0 0 0 3px var(--jcp-amber-glow);
}

.amount-btn.active::after {
  content: '?';
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.75rem;
  color: var(--jcp-amber-hover);
  font-weight: 900;
}

/* Impact Badge Preview */
.impact-preview {
  background: var(--jcp-slate-50);
  border-left: 3px solid var(--jcp-emerald);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.impact-preview i {
  color: var(--jcp-emerald);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.impact-preview p {
  font-size: 0.85rem;
  color: var(--jcp-slate-600);
  margin: 0;
}

.impact-preview strong {
  color: var(--jcp-slate-900);
}

/* Custom Amount Input Field */
.custom-amount-wrapper {
  margin-bottom: 1.5rem;
  display: none;
}

.custom-amount-wrapper.show {
  display: block;
}

.input-currency-group {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jcp-slate-500);
}

.input-currency-group input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.25rem;
  border: 2px solid var(--jcp-slate-300);
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--jcp-slate-900);
  outline: none;
  transition: border-color 0.2s;
}

.input-currency-group input:focus {
  border-color: var(--jcp-amber);
}

/* Donor Info Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jcp-slate-700);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--jcp-slate-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--jcp-navy);
}

/* PayPal Submit Area */
.paypal-submit-wrap {
  margin-top: 1.5rem;
}

.btn-paypal {
  width: 100%;
  background: #0070ba;
  background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
  color: #ffffff;
  padding: 1rem;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(0, 112, 186, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.btn-paypal:hover {
  background: linear-gradient(135deg, #005ea6 0%, #002568 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 112, 186, 0.5);
  color: #fff;
}

.security-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--jcp-slate-500);
}

.security-badges i {
  color: var(--jcp-emerald);
}

/* Alternative Payment Method Tabs (Bank Transfer / Checks) */
.alt-donation-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--jcp-slate-300);
}

.alt-toggle-btn {
  background: none;
  border: none;
  font-size: 0.85rem;
  color: var(--jcp-navy);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

.alt-toggle-btn:hover {
  text-decoration: underline;
}

.alt-details {
  display: none;
  margin-top: 1rem;
  background: var(--jcp-slate-50);
  border-radius: var(--radius-sm);
  padding: 1rem;
  border: 1px solid var(--jcp-slate-300);
  font-size: 0.825rem;
}

.alt-details.show {
  display: block;
}

.bank-card {
  background: #fff;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  border: 1px solid var(--jcp-slate-200);
}

.bank-card h5 {
  font-size: 0.85rem;
  color: var(--jcp-navy);
  margin-bottom: 0.25rem;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
}

.btn-copy {
  background: var(--jcp-slate-100);
  border: 1px solid var(--jcp-slate-300);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.btn-copy:hover {
  background: var(--jcp-slate-200);
}

/* ==========================================================================
   Testimonials / Student Stories (Con Textura y Quotes Art�sticos)
   ========================================================================== */
/* ==========================================================================
   SECCI�N TESTIMONIOS � Redise�o Premium (Nuestro D�a a D�a)
   ========================================================================== */
.stories-section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--jcp-navy-deep) 0%, #01101e 55%, #021a30 100%);
}

/* Decoraci�n de puntos en el fondo */
.stories-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Orb decorativo derecho */
.stories-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* Override de t�tulos para fondo oscuro */
.stories-section .section-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.stories-section .section-description {
  color: rgba(255,255,255,0.72);
}

.stories-section .badge-pill.badge-amber {
  background: rgba(245,158,11,0.15);
  color: var(--jcp-amber);
  border: 1px solid rgba(245,158,11,0.3);
}

/* Grid de testimonios */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

/* Tarjeta base � glassmorphism sobre fondo oscuro */
.story-card {
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, background 0.35s ease;
  overflow: hidden;
}

.story-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(245,158,11,0.2);
}

/* L�nea de acento inferior que aparece en hover */
.story-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--jcp-amber), transparent);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.story-card:hover::after {
  transform: scaleX(1);
}

/* Comilla watermark grande */
.story-quote-watermark {
  position: absolute;
  top: -0.5rem;
  right: 1.75rem;
  font-size: 7rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(245,158,11,0.12);
  pointer-events: none;
  font-weight: 700;
  user-select: none;
}

/* Estrellas */
.story-stars {
  display: flex;
  gap: 0.3rem;
  font-size: 0.85rem;
  margin-bottom: 1.35rem;
}

.text-gold { color: #f59e0b; }

/* Texto de la cita */
.story-text {
  font-style: italic;
  color: rgba(255,255,255,0.82);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
  border-left: 3px solid rgba(245,158,11,0.4);
  padding-left: 1rem;
}

/* Separador */
.story-card-sep {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

/* Autor */
.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.avatar-navy   { background: linear-gradient(135deg, #0284c7, #0369a1); }
.avatar-amber  { background: linear-gradient(135deg, #f59e0b, #d97706); }
.avatar-emerald{ background: linear-gradient(135deg, #10b981, #059669); }

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.author-info p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   SECCI�N CONTACTO � Redise�o Premium
   ========================================================================== */
.contact-section {
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #fff8ec 40%, #f0f9ff 100%);
}

/* Decoraci�n de fondo */
.contact-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: start;
}

/* Columna de informaci�n */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Tarjeta de oficina */
.contact-office-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
}

/* Barra de color lateral */
.contact-office-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  border-radius: 20px 0 0 20px;
}

.contact-card-usa::before { background: linear-gradient(180deg, #0284c7, #0369a1); }
.contact-card-peru::before { background: linear-gradient(180deg, #10b981, #059669); }

.contact-office-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
}

.contact-office-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.icon-usa  { background: rgba(2,132,199,0.1);  color: #0284c7; }
.icon-peru { background: rgba(16,185,129,0.1); color: #10b981; }

.contact-office-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--jcp-slate-900);
  margin: 0;
}

.contact-info-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--jcp-slate-600);
  margin-bottom: 0.6rem;
  padding-left: 0.75rem;
}

.contact-info-line i {
  color: var(--jcp-amber);
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.contact-info-note {
  font-size: 0.82rem;
  color: var(--jcp-slate-400);
  font-style: italic;
  padding-left: 0.75rem;
  margin-top: 0.5rem;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37,211,102,0.4);
  color: #ffffff;
  text-decoration: none;
}

/* Columna del formulario */
.contact-form-col {
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

/* Orb decorativo en el formulario */
.contact-form-col::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--jcp-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.contact-form-subtitle {
  font-size: 0.92rem;
  color: var(--jcp-slate-500);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Form rows y grupos */
.form-row-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jcp-slate-700);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border: 2px solid var(--jcp-slate-100);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--jcp-slate-900);
  background: var(--jcp-slate-50);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--jcp-amber);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(245,158,11,0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-send-message {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--jcp-amber) 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(245,158,11,0.35);
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
}

.btn-send-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245,158,11,0.45);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.story-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.story-quote-watermark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5.5rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(245, 158, 11, 0.14);
  pointer-events: none;
  font-weight: 700;
}

.story-stars {
  display: flex;
  gap: 0.35rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.story-text {
  font-style: italic;
  color: var(--jcp-slate-700);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid #ffffff;
  flex-shrink: 0;
}

.avatar-navy {
  background: linear-gradient(135deg, var(--jcp-navy) 0%, var(--jcp-navy-dark) 100%);
}

.avatar-amber {
  background: linear-gradient(135deg, var(--jcp-amber) 0%, #d97706 100%);
}

.avatar-emerald {
  background: linear-gradient(135deg, var(--jcp-emerald) 0%, var(--jcp-emerald-dark) 100%);
}

.author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--jcp-slate-900);
}

.author-info p {
  font-size: 0.825rem;
  color: var(--jcp-slate-500);
  margin: 0;
}
  gap: 1rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--jcp-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid var(--jcp-amber);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--jcp-slate-500);
}

/* ==========================================================================
   Photo Gallery Grid
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
  background: var(--jcp-slate-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(3, 32, 52, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #021a2c;
  background-image: 
    linear-gradient(180deg, rgba(2, 26, 44, 0.89) 0%, rgba(1, 16, 27, 0.94) 100%),
    url('../img/jovenes_jcp.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.85);
  padding: 5.5rem 0 2.25rem 0;
  border-top: 4px solid var(--jcp-amber, #f59e0b);
  overflow: hidden;
}

/* Velo sutil translúcido y resplandor ambiental */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--jcp-amber);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--jcp-amber);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.footer-contact-item i {
  color: var(--jcp-amber);
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Floating Donate Action Button */
.floating-donate-btn { display: none !important; 
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  background: linear-gradient(135deg, var(--jcp-primary) 0%, #B35116 100%);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-terracota);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.floating-donate-btn.visible { display: none !important; 
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-donate-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(201, 96, 31, 0.55);
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .mision-grid-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .mision-main-img {
    height: 420px;
  }
  .areas-row-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .areas-row-bottom {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .donation-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mision-section,
  .areas-section {
    padding: 4.5rem 0;
  }
  .mision-cards-row {
    grid-template-columns: 1fr;
  }
  .mision-main-img {
    height: 320px;
  }
  .areas-row-top,
  .areas-row-bottom {
    grid-template-columns: 1fr;
  }
  .hero-portal-heading {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .programs-grid,
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .container-fluid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}


/* ==========================================================================
   Video Modal Window (Oculto en flujo normal)
   ========================================================================== */
.video-modal {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(1, 16, 27, 0.88) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 999999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-modal-close:hover {
  background: var(--jcp-amber, #f59e0b);
  color: #000;
  transform: scale(1.1);
}

/* ==========================================================================
   SECCIÓN NUESTRO DÍA A DÍA — Inspiración Farm Africa (Bento Grid Profesional)
   ========================================================================== */
.dia-section {
  padding: 7.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.dia-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 100%;
  background-image: radial-gradient(rgba(0, 59, 92, 0.04) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

.dia-bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  position: relative;
  z-index: 3;
}

/* Tarjeta Destacada Principal */
.dia-card-featured {
  grid-row: span 2;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 59, 92, 0.07);
  border: 1px solid rgba(0, 59, 92, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.dia-card-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 59, 92, 0.12);
}

.dia-img-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.dia-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dia-card-featured:hover .dia-img-wrapper img,
.dia-card-compact:hover .dia-compact-img img {
  transform: scale(1.05);
}

.dia-location-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(2, 26, 44, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dia-location-badge i {
  color: var(--jcp-amber, #f59e0b);
}

.dia-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dia-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  width: fit-content;
}

.tag-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.tag-navy {
  background: rgba(0, 59, 92, 0.1);
  color: #003b5c;
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.dia-content h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--jcp-navy-dark, #021a2c);
  margin-bottom: 0.9rem;
  line-height: 1.3;
}

.dia-content p {
  color: var(--jcp-slate-600, #475569);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.dia-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.dia-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--jcp-slate-700, #334155);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.dia-card-featured:hover .dia-feature-pill,
.dia-card-compact:hover .dia-feature-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.dia-feature-pill i {
  color: var(--jcp-amber, #f59e0b);
}

/* Tarjetas Compactas Laterales */
.dia-card-compact {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 59, 92, 0.06);
  border: 1px solid rgba(0, 59, 92, 0.08);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.dia-card-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 59, 92, 0.11);
}

.dia-compact-img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 190px;
  overflow: hidden;
}

.dia-compact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dia-compact-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dia-compact-body h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--jcp-navy-dark, #021a2c);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.dia-compact-body p {
  font-size: 0.88rem;
  color: var(--jcp-slate-600, #475569);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

/* Banner de Frase Inspiradora (Farm Africa Style Quote Bar) */
.dia-quote-strip {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--jcp-navy, #003b5c) 0%, #021a2c 100%);
  border-radius: 20px;
  padding: 2.25rem 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 32, 52, 0.2);
}

.dia-quote-strip::before {
  content: '"';
  position: absolute;
  left: 1.5rem;
  top: -1.5rem;
  font-size: 9rem;
  font-family: serif;
  color: rgba(245, 158, 11, 0.12);
  line-height: 1;
  pointer-events: none;
}

.dia-quote-strip p {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 2;
}

.dia-quote-strip p strong {
  color: var(--jcp-amber, #f59e0b);
}

.dia-quote-action {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .dia-bento-grid {
    grid-template-columns: 1fr;
  }
  .dia-card-featured {
    grid-row: auto;
  }
  .dia-card-compact {
    grid-template-columns: 1fr;
  }
  .dia-compact-img {
    height: 220px;
  }
  .dia-quote-strip {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}


/* ==========================================================================
   TARJETAS DE TESTIMONIOS CLARAS — Alto Contraste sobre fondo oscuro
   ========================================================================== */
.stories-grid .story-card,
.story-card {
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 2.5rem 2.25rem !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-top: 5px solid #f59e0b !important;
  box-shadow: 0 16px 40px rgba(0, 10, 25, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
  overflow: hidden !important;
}

.stories-grid .story-card:hover,
.story-card:hover {
  transform: translateY(-8px) !important;
  background: #ffffff !important;
  box-shadow: 0 24px 50px rgba(0, 10, 25, 0.5), 0 0 0 2px rgba(245, 158, 11, 0.45) !important;
}

.story-card::after {
  display: none !important;
}

.story-quote-watermark {
  position: absolute !important;
  top: -0.25rem !important;
  right: 1.5rem !important;
  font-size: 6.5rem !important;
  font-family: Georgia, serif !important;
  line-height: 1 !important;
  color: rgba(245, 158, 11, 0.15) !important;
  pointer-events: none !important;
  font-weight: 700 !important;
  user-select: none !important;
}

.story-stars {
  display: flex !important;
  gap: 0.35rem !important;
  font-size: 0.95rem !important;
  margin-bottom: 1.25rem !important;
  position: relative !important;
  z-index: 2 !important;
}

.story-stars .fa-star,
.text-gold {
  color: #f59e0b !important;
}

.story-text {
  font-style: italic !important;
  color: #334155 !important;
  font-size: 0.98rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.75rem !important;
  flex-grow: 1 !important;
  position: relative !important;
  z-index: 2 !important;
  border-left: 3px solid #f59e0b !important;
  padding-left: 1.1rem !important;
}

.story-card-sep {
  height: 1px !important;
  background: #e2e8f0 !important;
  margin-bottom: 1.25rem !important;
  position: relative !important;
  z-index: 2 !important;
}

.story-author {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  position: relative !important;
  z-index: 2 !important;
}

.author-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border: 2px solid #ffffff !important;
}

.avatar-navy {
  background: linear-gradient(135deg, #003b5c, #0284c7) !important;
}

.avatar-amber {
  background: linear-gradient(135deg, #d97706, #f59e0b) !important;
}

.avatar-emerald {
  background: linear-gradient(135deg, #059669, #10b981) !important;
}

.author-info h4 {
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.2rem !important;
  color: #0f172a !important;
}

.author-info p {
  font-size: 0.85rem !important;
  color: #64748b !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-weight: 600 !important;
}

.author-info p i {
  color: #f59e0b !important;
}


@media (max-width: 768px) {
  /* Global anti-overflow */
  body, html {
    overflow-x: hidden !important;
  }
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ==========================================================================
     1. NUESTRO IMPACTO: 1 tarjeta por fila en celular
     ========================================================================== */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .stat-card {
    padding: 2rem 1.5rem !important;
  }

  /* ==========================================================================
     2. QUIÉNES SOMOS: Sin desborde horizontal a la derecha
     ========================================================================== */
  .mision-section {
    overflow: hidden !important;
    padding: 4.5rem 0 !important;
  }
  .mision-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .mision-text-col,
  .mision-media-col {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .mision-heading {
    font-size: 1.95rem !important;
    word-break: break-word !important;
  }
  .mision-cards-row {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  .mision-card-premium {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mision-stats-strip {
    flex-direction: column !important;
    width: 100% !important;
    border-radius: 16px !important;
  }
  .mision-stat-item {
    width: 100% !important;
    padding: 1.1rem 1rem !important;
  }
  .mision-stat-sep {
    width: 80% !important;
    height: 1px !important;
  }
  .mision-img-shape-bg {
    display: none !important; /* Elimina desborde lateral por coordenadas negativas */
  }
  .mision-image-wrapper {
    width: 100% !important;
    border-width: 4px !important;
    box-sizing: border-box !important;
  }
  .mision-main-img {
    height: 300px !important;
  }
  .mision-float-badge {
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.8rem !important;
  }

  /* ==========================================================================
     3. DONACIONES: Nombre y Apellido en 1 sola fila cada uno en celular
     ========================================================================== */
  .donation-section .form-row,
  .donation-card .form-row,
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .donation-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 20px !important;
  }
  .amount-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }

  /* ==========================================================================
     4. ESTAMOS EN CONTACTO: Formulario adaptado al 100% sin perderse a la derecha
     ========================================================================== */
  .contact-section {
    overflow: hidden !important;
    padding: 4.5rem 0 !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
    width: 100% !important;
  }
  .contact-info-col,
  .contact-form-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .contact-form-col {
    padding: 2rem 1.35rem !important;
    border-radius: 20px !important;
  }
  .form-row-double {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .contact-office-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 16px !important;
  }

  /* Otras secciones en celular */
  .areas-section {
    padding: 4.5rem 0 !important;
  }
  .areas-row-top,
  .areas-row-bottom {
    grid-template-columns: 1fr !important;
  }
  .programs-grid,
  .stories-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


/* Fallback y nitidez de la capa expandida */
.hero-expanded-portal {
  background-color: #14232C;
  background-image: url('../img/jovenes_jcp.jpg');
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  /* En celular: altura c�moda de 180vh para que el zoom se sienta natural y �gil con el pulgar */
  .hero-zoom-track {
    height: 180vh !important;
    position: relative !important;
  }
  .hero-sticky-frame {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden !important;
    display: block !important;
    padding: 0 !important;
  }
  .hero-intro-view {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1.25rem !important;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
  }
  .hero-portal-heading {
    font-size: clamp(2.0rem, 6.5vw, 2.75rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-intro-sub {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    max-width: 100% !important;
  }
  .hero-expanded-portal {
    display: block !important;
    z-index: 6 !important;
  }
  .expanded-video-overlay {
    background: linear-gradient(180deg, rgba(2, 20, 34, 0.4) 0%, rgba(1, 16, 27, 0.75) 100%) !important;
  }
  .expanded-content-box {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 440px !important;
    padding: 0.5rem 0 !important;
    z-index: 10 !important;
    text-align: center !important;
  }
  .expanded-title {
    font-size: clamp(1.65rem, 5.5vw, 2.1rem) !important;
    line-height: 1.22 !important;
    margin: 0.65rem 0 !important;
  }
  .expanded-description {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }
  .expanded-btn-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  .expanded-btn-row .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1.25rem !important;
  }
  .hero-scroll-prompt {
    bottom: 1.25rem !important;
  }
  .scroll-text {
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   UTILIDADES EXTENDIDAS - PALETA TERRACOTA ANDINO
   ========================================================================== */
.text-terracota { color: var(--jcp-primary) !important; }
.text-secondary { color: var(--jcp-secondary) !important; }
.text-base { color: var(--jcp-base) !important; }

.badge-terracota {
  background: var(--jcp-primary-light);
  color: var(--jcp-primary-dark);
  border: 1px solid rgba(201, 96, 31, 0.35);
}

.badge-secondary {
  background: var(--jcp-secondary-light);
  color: var(--jcp-emerald-dark);
  border: 1px solid rgba(124, 139, 111, 0.35);
}


/* ==========================================================================
   PAGE HERO BANNER (Para P�ginas Interiores: Nosotros, Programas, D�a a D�a, etc.)
   ========================================================================== */
.page-hero-banner {
  position: relative;
  background: linear-gradient(145deg, var(--jcp-navy-deep) 0%, #1c323e 60%, var(--jcp-base) 100%);
  padding: 8.5rem 0 4.5rem 0;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 3px solid var(--jcp-primary);
}

.page-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(20, 35, 44, 0.45) 0%, rgba(20, 35, 44, 0.92) 100%),
    
  background-size: auto, 240px 150px;
  background-repeat: no-repeat, repeat;
  opacity: 0.8;
  pointer-events: none;
}

.page-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.page-breadcrumbs a:hover {
  color: var(--jcp-primary);
}

.breadcrumb-sep {
  font-size: 0.65rem;
  color: var(--jcp-amber);
}

.breadcrumb-current {
  color: var(--jcp-amber);
  font-weight: 700;
}

.page-hero-badge-wrap {
  margin-bottom: 0.85rem;
}

.badge-terracota-glow {
  background: rgba(201, 96, 31, 0.22);
  border: 1.5px solid var(--jcp-primary);
  color: #ffa366;
  box-shadow: 0 0 20px var(--jcp-primary-glow);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  max-width: 950px;
}

.page-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
  line-height: 1.7;
}

/* Breadcrumb and nav helpers */
.menu-nav-item.active {
  color: var(--jcp-primary);
  background: rgba(201, 96, 31, 0.12);
  border-left: 3px solid var(--jcp-primary);
}

.menu-nav-item.active span {
  background: var(--jcp-primary);
  color: #ffffff;
  border-color: var(--jcp-primary);
}

/* Callout and Quote Boxes */
.quote-box-andino {
  background: #ffffff;
  border-left: 5px solid var(--jcp-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
}

.quote-box-andino p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--jcp-base);
  line-height: 1.8;
  font-weight: 600;
  margin: 0;
}

.quote-box-andino cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jcp-primary);
  font-style: normal;
}


/* ==========================================================================
   PAGINA GALERIA & MODAL LIGHTBOX
   ========================================================================== */
.gallery-filter-btn {
  background: #ffffff;
  border: 1.5px solid var(--jcp-slate-300);
  color: var(--jcp-slate-700);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.gallery-filter-btn:hover {
  border-color: var(--jcp-primary);
  color: var(--jcp-primary);
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: var(--jcp-primary);
  border-color: var(--jcp-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--jcp-primary-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--jcp-slate-300);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}

.gallery-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--jcp-primary);
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--jcp-slate-900);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-card:hover .gallery-img-wrap img {
  transform: scale(1.08);
}

.gallery-type-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.badge-video {
  background: var(--jcp-primary);
  color: #ffffff;
}

.badge-foto {
  background: var(--jcp-base);
  color: #ffffff;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 35, 44, 0.65);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item-card:hover .gallery-overlay {
  opacity: 1;
}

.zoom-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--jcp-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 20px var(--jcp-primary-glow);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item-card:hover .zoom-circle {
  transform: scale(1);
}

.gallery-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--jcp-slate-900);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: var(--jcp-slate-600);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 960px;
  background: #14232C;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.65);
  display: flex;
  flex-direction: column;
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-close-btn:hover {
  background: var(--jcp-primary);
  color: #fff;
  border-color: var(--jcp-primary);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--jcp-primary);
  border-color: var(--jcp-primary);
}

.nav-prev { left: 1rem; }
.nav-next { right: 1rem; }

.lightbox-media-box {
  background: #000;
  width: 100%;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-lightbox-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.image-lightbox-wrap img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.video-responsive-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

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

.lightbox-details-box {
  padding: 1.75rem 2rem;
  background: #14232C;
  border-top: 1px solid rgba(255,255,255,0.1);
}
