/* ═══════════════════════════════════════════════
   THE VALERIO FOUNDATION  |  style.css
   Elegant · International · Scalable
═══════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────── */
:root {
  --navy:        #0B1628;
  --navy-mid:    #132040;
  --navy-light:  #1C2E52;
  --gold:        #C9A84C;
  --gold-light:  #E2C278;
  --gold-pale:   #F5E8C0;
  --white:       #FFFFFF;
  --off-white:   #F8F6F1;
  --text-dark:   #1A1A2E;
  --text-mid:    #4A4A6A;
  --text-light:  #B8C5D6;
  --border:      rgba(201, 168, 76, 0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:      4px;
  --radius-lg:   12px;
  --shadow-gold: 0 8px 40px rgba(201, 168, 76, 0.15);
  --shadow-dark: 0 20px 60px rgba(11, 22, 40, 0.4);
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; transition: var(--transition); }
em { font-style: italic; }
section { position: relative; overflow: hidden; }

/* ── SCROLL BAR ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
#mainNav {
  background: transparent;
  padding: 1.25rem 0;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
  z-index: 1000;
}
#mainNav.scrolled {
  background: rgba(11, 22, 40, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}
.navbar-brand, .footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.03em;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
}
.brand-v {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}
.brand-text { color: var(--white); }
.brand-foundation {
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-left: 0.4em;
  align-self: center;
}
.navbar-brand:hover, .footer-brand:hover { opacity: 0.9; }

.nav-link {
  color: var(--text-light) !important;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem !important;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover { color: var(--gold-light) !important; }
.nav-link:hover::after { width: 60%; }

.toggler-icon { color: var(--gold); font-size: 1.2rem; }
.navbar-toggler { border: 1px solid var(--border); padding: 0.4rem 0.65rem; }
.navbar-toggler:focus { box-shadow: none; outline: none; }

/* Buttons */
.btn-lang {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-lang:hover { border-color: var(--gold); color: var(--gold); }
.lang-en, .lang-es { cursor: pointer; transition: var(--transition); }
.lang-en.active, .lang-es.active { color: var(--gold); font-weight: 600; }
.lang-sep { color: var(--border); margin: 0 2px; }

.btn-donate {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
}
.btn-donate:hover { background: var(--gold-light); transform: translateY(-1px); }
/* ══════════════════════════════════════════════
   FIX SOLO: LANG + DONATE (DESKTOP + RESPONSIVE)
══════════════════════════════════════════════ */

/* CONTENEDOR ITEMS DERECHA */
.navbar-nav {
  align-items: center;
}

/* IDIOMA */
.btn-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0.3rem 0.65rem; /* 🔥 más compacto */
  font-size: 0.7rem;
  min-width: 64px;
  white-space: nowrap;
  flex-shrink: 0; /* 🔥 evita que se deforme */
}

/* ESPACIADO CONTROLADO */
.nav-item.ms-lg-3 {
  margin-left: 10px !important; /* 🔥 menos separación */
}

/* DONATE */
.btn-donate {
  padding: 0.5rem 1rem; /* 🔥 más compacto */
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* AJUSTE FINO ENTRE LANG Y DONATE */
.nav-item.ms-lg-2 {
  margin-left: 8px !important;
}

/* 🔥 CRÍTICO: evita que se encimen en resoluciones medias */
@media (max-width: 1200px) {
  .btn-lang {
    padding: 0.25rem 0.55rem;
    font-size: 0.68rem;
  }

  .btn-donate {
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
  }
}

/* MOBILE */
@media (max-width: 991px) {
  .btn-lang,
  .btn-donate {
    width: 100%;
    text-align: center;
  }

  .btn-lang {
    margin-top: 0.5rem;
  }

  .btn-donate {
    margin-top: 0.4rem;
  }
}

/* ═════════ LOGO NAVBAR ═════════ */

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

/* LOGO BASE */
.brand-logo {
  height: 48px; /* tamaño principal balanceado */
  width: auto;
  object-fit: contain;

  display: block;

  /* mejora visual sin cambiar estilo */
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
  transition: all 0.4s ease;
}

/* ESTADO SCROLL (se adapta al navbar) */
#mainNav.scrolled .brand-logo {
  height: 36px;
}

/* HOVER SUTIL PREMIUM */
.navbar-brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
}

/* AJUSTE FINO PARA ALINEACIÓN PERFECTA */
.navbar {
  align-items: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .brand-logo {
    height: 38px;
  }

  #mainNav.scrolled .brand-logo {
    height: 30px;
  }
}
/* ═════════ LOGO NAVBAR — RESPONSIVE PRO ═════════ */

.brand-logo {
  height: clamp(38px, 4.2vw, 52px); /* 🔥 fluido */
  width: auto;
  object-fit: contain;

  display: block;

  /* calidad visual */
  image-rendering: -webkit-optimize-contrast;

  /* profundidad */
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));

  transition:
    height 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

/* SCROLL STATE — más elegante */
#mainNav.scrolled .brand-logo {
  height: clamp(32px, 3.2vw, 40px);
}

/* HOVER PREMIUM */
.navbar-brand:hover .brand-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
}

/* MOBILE — mejor presencia visual */
@media (max-width: 768px) {

  .brand-logo {
    height: clamp(42px, 6vw, 50px); /* 🔥 más dominante */
  }

  #mainNav.scrolled .brand-logo {
    height: clamp(34px, 5vw, 42px);
  }
}


/* ══════════════════════════════════════════════
   HERO — VERSION FINAL VALIDADA
══════════════════════════════════════════════ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0E1F3A 100%);
}

/* ===== VIDEO ===== */
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}

.hero-video{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.55; /* control visual */
}

/* ===== OVERLAYS ===== */
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: radial-gradient(
    ellipse 80% 60% at 70% 50%, 
    rgba(201,168,76,0.03) 0%, 
    transparent 70%
  );
  pointer-events:none;
}

.hero-grid-pattern{
  position:absolute;
  inset:0;
  z-index:1;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size:60px 60px;
  pointer-events:none;
}

/* ===== CONTENT ===== */
.hero-content{
  position:relative;
  z-index:3;
  padding-top:5rem;
}

/* ===== TEXT ===== */
.hero-eyebrow{
  font-size:0.7rem;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:1.5rem;
  font-weight:500;
}

.hero-title{
  font-family:var(--font-display);
  font-size:clamp(2.8rem, 6vw, 5.5rem);
  line-height:1.05;
  color:var(--white);
  font-weight:300;
  margin-bottom:1.75rem;
}

.hero-title .serif-italic{
  font-style:italic;
  font-weight:300;
  color:var(--gold-light);
}

.hero-title-bold{
  font-weight:700;
  color:var(--white);
  display:block;
}

.hero-title-sub{
  font-size:0.55em;
  color:var(--text-light);
}

.hero-desc{
  color:var(--text-light);
  font-size:1.1rem;
  line-height:1.75;
  max-width:560px;
  margin-bottom:2.5rem;
  font-weight:300;
}

/* ===== CTA ===== */
.hero-cta-group{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  align-items:center;
}

.btn-hero-primary{
  background:var(--gold);
  color:var(--navy);
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  font-size:0.8rem;
  padding:0.9rem 2rem;
  border-radius:var(--radius);
  transition:var(--transition);
}

.btn-hero-primary:hover{
  background:var(--gold-light);
  transform:translateY(-2px);
  box-shadow:var(--shadow-gold);
}

.btn-hero-secondary{
  background:transparent;
  color:var(--white);
  border:1px solid rgba(255,255,255,0.3);
  font-weight:400;
  letter-spacing:0.1em;
  text-transform:uppercase;
  font-size:0.8rem;
  padding:0.9rem 2rem;
  border-radius:var(--radius);
  transition:var(--transition);
}

.btn-hero-secondary:hover{
  border-color:var(--gold);
  color:var(--gold);
  transform:translateY(-2px);
}

/* ===== LOGO ===== */
.hero-logo-wrap{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin-top:40px;
}

/* halo premium */
.hero-logo-wrap::before{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  background: radial-gradient(circle, rgba(0,0,0,.45), transparent 70%);
  filter:blur(25px);
  z-index:-1;
}

.hero-logo{
  width:clamp(190px, 20vw, 300px);
  height:auto;
  object-fit:contain;
  opacity:1;
  filter:
    drop-shadow(0 30px 80px rgba(0,0,0,.65))
    drop-shadow(0 0 30px rgba(201,168,76,.25));
  transition:transform .45s ease;
  animation:heroLogoFloat 6s ease-in-out infinite;
}

.hero-logo:hover{
  transform:translateY(-16px) scale(1.03);
}

/* animación flotante */
@keyframes heroLogoFloat{
  0%,100%{ transform:translateY(-8px); }
  50%{ transform:translateY(-16px); }
}

/* ===== SCROLL INDICATOR ===== */
.hero-scroll{
  position:absolute;
  bottom:2.5rem;
  left:50%;
  transform:translateX(-50%);
  z-index:3;
}

.hero-scroll span{
  display:block;
  width:1px;
  height:60px;
  background:linear-gradient(to bottom, var(--gold), transparent);
  animation:scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown{
  0%{ transform:scaleY(0); transform-origin:top; opacity:1; }
  50%{ transform:scaleY(1); transform-origin:top; opacity:1; }
  100%{ transform:scaleY(1); transform-origin:bottom; opacity:0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px){

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

  .hero-desc{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-cta-group{
    justify-content:center;
  }

  .hero-logo{
    width:clamp(140px, 45vw, 220px);
    margin-top:20px;
  }

  .hero-logo-wrap{
    margin-top:20px;
  }

}
/* ══════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════ */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-sfx { font-size: 0.5em; font-weight: 300; vertical-align: super; }
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-light);
  font-weight: 400;
}

/* ══════════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════════ */
.section-mission{
    background: var(--off-white);
    padding: 0.4rem 0 4.8rem;
}

.section-contact{
    background: var(--off-white);
    padding: 0.4rem 0 6rem;
}
.section-programs{
    background: linear-gradient(135deg, var(--navy) 0%, #03142f 100%);
    padding: 0.2rem 0 5rem;
    margin-top: -1px;
    position: relative;
}

.section-impact { background: var(--navy-mid); padding: 6rem 0; }
.section-donate { background: var(--off-white); padding: 5rem 0; }

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.section-title em { color: var(--gold); font-style: italic; }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-light); }

.section-body {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.section-body.light { color: var(--text-light); }

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 1rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   MISSION
══════════════════════════════════════════════ */

.section-mission{
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(180deg, #F8F9FB 0%, #F2F4F7 100%);
  overflow: hidden;
}

/* grid */
.section-mission::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size:60px 60px;
  pointer-events:none;
}

/* ===== IMAGE ===== */
.mission-img-frame{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  aspect-ratio:4/5;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  box-shadow: 0 30px 80px rgba(0,0,0,.25);

  transform: perspective(1000px) rotateY(6deg) scale(.96);
  opacity:0;
  transition: all 1.2s cubic-bezier(.2,.65,.2,1);
}

/* reveal activo */
.mission-img-frame.active{
  transform: perspective(1000px) rotateY(0deg) scale(1);
  opacity:1;
}

/* imagen */
.mission-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform 1.4s ease, filter .6s ease;
}

/* hover */
.mission-img-frame:hover .mission-img{
  transform: scale(1.06);
  filter: contrast(1.08) brightness(1.05);
}

/* glow edge */
.mission-img-frame::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:
    inset 0 0 0 1px rgba(201,168,76,.2),
    0 0 60px rgba(201,168,76,.12);
}

/* ===== LIGHT FOLLOW EFFECT ===== */
.mission-light{
  position:absolute;
  width:300px;
  height:300px;
  background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%);
  pointer-events:none;
  mix-blend-mode: overlay;
  opacity:0;
  transition: opacity .4s ease;
}

.mission-img-frame:hover .mission-light{
  opacity:1;
}

/* ===== ACCENT BOX ===== */
.mission-accent-box{
  position:absolute;
  bottom:-2rem;
  right:-1.5rem;
  background: linear-gradient(135deg, var(--gold), #D6B45A);
  color: var(--navy);
  padding:1.6rem;
  max-width:260px;
  border-radius: var(--radius);
  box-shadow:
    0 25px 60px rgba(0,0,0,.25),
    0 0 30px rgba(201,168,76,.35);
  transform: translateY(40px);
  opacity:0;
  transition: all .9s ease .3s;
}

.mission-accent-box.active{
  transform: translateY(0);
  opacity:1;
}

/* ===== TEXT ===== */
.section-title{
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  color:var(--navy);
  opacity:0;
  transform: translateY(30px);
  transition: all .8s ease;
}

.section-title.active{
  opacity:1;
  transform: translateY(0);
}

/* ===== PILLARS ===== */
.pillar{
  display:flex;
  gap:1rem;
  padding:1rem;
  border-radius:var(--radius);
  transition: all .35s ease;
  opacity:0;
  transform: translateY(20px);
}

/* animación en cascada */
.pillar.active{
  opacity:1;
  transform: translateY(0);
}

.pillar:nth-child(1){ transition-delay:.2s; }
.pillar:nth-child(2){ transition-delay:.35s; }
.pillar:nth-child(3){ transition-delay:.5s; }

.pillar:hover{
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  transform: translateX(6px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px){

  .mission-img-frame{
    transform:none;
    opacity:1;
  }

  .mission-accent-box{
    position:relative;
    bottom:auto;
    right:auto;
    margin-top:1.5rem;
    opacity:1;
    transform:none;
  }

}
/* ══════════════════════════════════════════════
   PROGRAMS
══════════════════════════════════════════════ */
.program-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}
.program-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow-gold); }
.program-card:hover::before { background: var(--gold); }
.program-card--gold { background: linear-gradient(135deg, var(--navy-light), var(--navy-mid)); border-color: var(--border); }
.program-card--gold::before { background: var(--gold) !important; }

.program-card-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.program-card:hover .program-card-icon { background: var(--gold); color: var(--navy); }
.program-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.program-card-body { font-size: 0.9rem; color: var(--text-light); line-height: 1.75; font-weight: 300; margin-bottom: 1.5rem; }
.program-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
}


/* ══════════════════════════════════════════════
   PROGRAM CARD PREMIUM (ICON FLOAT)
══════════════════════════════════════════════ */

/* CARD */
.program-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* MEDIA */
.program-card-media {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

/* OVERLAY */
.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,40,0.15),
    rgba(10,20,40,0.75)
  );
}

/* CONTENIDO */
.program-card-content {
  padding: 1.8rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

/* BORDE SUPERIOR */
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}

/* HOVER CARD */
.program-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border);
  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

.program-card:hover::before {
  background: var(--gold);
}

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

/* ═════════ ICON FLOAT TOP RIGHT ═════════ */
.program-card-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  /* glass effect */
  background: rgba(10,20,40,0.45);
  backdrop-filter: blur(6px);

  color: var(--gold);
  font-size: 1.1rem;

  border: 1px solid rgba(201,168,76,0.25);

  z-index: 3;
  transition: all .35s ease;
}

/* glow + interacción */
.program-card:hover .program-card-icon {
  background: var(--gold);
  color: var(--navy);
  box-shadow:
    0 0 0 4px rgba(201,168,76,0.15),
    0 8px 25px rgba(201,168,76,0.35);
  transform: scale(1.08);
}

/* TITULO */
.program-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

/* TEXTO */
.program-card-body {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* TAG */
.program-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
/* RESET DEL CARD (clave para full width) */
.program-card {
  padding: 0; /* 🔥 quita padding general */
  overflow: hidden;
}

/* MEDIA FULL WIDTH */
.program-card-media {
  position: relative;
  width: 100%;
  height: 200px; /* puedes subir a 220-240 si quieres más impacto */
  overflow: hidden;
}

/* IMAGEN */
.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* elimina espacios fantasmas */
  transition: transform .6s ease;
}

/* OVERLAY */
.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,40,0.15),
    rgba(10,20,40,0.85)
  );
}

/* CONTENIDO (ahora el padding vive aquí) */
.program-card-content {
  padding: 2rem;
}

/* ICON FLOAT */
.program-card--image .program-card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;

  background: rgba(10,20,40,0.5);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);

  z-index: 3;
}

/* HOVER */
.program-card:hover .program-card-media img {
  transform: scale(1.08);
}
/* ══════════════════════════════════════════════
   IMPACT
══════════════════════════════════════════════ */

/* GRID */
.impact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* CARD BASE */
.impact-feature-card {
  position: relative;
}

.impact-feature-card.featured {
  margin-bottom: 8px;
}

/* ─────────────────────────────
   CARD BASE
───────────────────────────── */
.ifc-card {
  position: relative;
  background: linear-gradient(145deg, #1c2742, #182133);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all .4s ease;
}

/* BADGE */
.ifc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;

  width: 42px;
  height: 42px;
  border-radius: 12px;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--gold);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all .3s ease;
}

/* ─────────────────────────────
   IMAGEN FULL
───────────────────────────── */
.ifc-image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.ifc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

/* SMALL */
.ifc-card.small .ifc-image {
  height: 200px;
}

/* OVERLAY */
.ifc-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,15,25,0.15),
    rgba(10,15,25,0.65)
  );
  pointer-events: none;
}

/* ─────────────────────────────
   CONTENIDO
───────────────────────────── */
.ifc-content {
  padding: 22px 22px 26px;
}

.ifc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.ifc-body {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

/* SMALL TEXT */
.ifc-card.small .ifc-title {
  font-size: 1.05rem;
}

.ifc-card.small .ifc-body {
  font-size: 0.9rem;
}

/* ─────────────────────────────
   HOVER AZUL PREMIUM (UNIFICADO)
───────────────────────────── */
.ifc-card:hover {
  transform: translateY(-8px);

  background: linear-gradient(
    145deg,
    #1c2742,
    #1a2a4a
  );

  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(40,90,180,0.25),
    0 12px 40px rgba(40,90,180,0.18);
}

/* ZOOM IMAGEN */
.ifc-card:hover img {
  transform: scale(1.05);
}

/* BADGE REACCIONA */
.ifc-card:hover .ifc-badge {
  background: rgba(20,30,60,0.7);
  border-color: rgba(40,90,180,0.4);
}

/* ─────────────────────────────
   BORDE PREMIUM (AZUL + ORO)
───────────────────────────── */
.ifc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(40,90,180,0.45),
    rgba(201,168,76,0.35),
    transparent
  );

  opacity: 0;
  transition: opacity .4s ease;
}

.ifc-card:hover::before {
  opacity: 1;
}

/* ─────────────────────────────
   TAGS
───────────────────────────── */
.ifc-tags {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ifc-tags span {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
}

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */
@media (max-width: 768px) {
  .ifc-image {
    height: 200px;
  }
}
/* ═══════════════════ NEWS HERO  ═══════════════════ */

/* NAV */
:root {
  --nav-height: 80px;
}

/* NAVBAR OVERLAY */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(11,22,40,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* SCROLL OFFSET */
html {
  scroll-padding-top: var(--nav-height);
}

/* HERO */
.news-hero {
  position: relative;
  height: 100vh; /* 🔥 FULL REAL HEIGHT */
  min-height: 700px;

  overflow: hidden;
  color: white;
  background: var(--navy);
}

/* PARTICLES */
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
}

/* VIDEO */
.news-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: brightness(0.5) contrast(1.08) saturate(1.1);
  transform: scale(1.05);
  z-index: 0;
}

/* OVERLAY */
.news-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(circle at 50% 28%, rgba(201,168,76,0.08), transparent 60%),
    linear-gradient(to bottom,
      rgba(11,22,40,0.2),
      rgba(11,22,40,0.95)
    );
}

/* CONTENT */
.news-inner {
  position: relative;
  z-index: 2;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 110px 20px 70px;
  gap: 14px;

  transform: translateY(-10px);
}

/* ANIMATION */
[data-anim] {
  opacity: 0;
  transform: translateY(30px);
}

.animate-in [data-anim="title"] {
  animation: fadeUp 1s ease forwards;
}

.animate-in [data-anim="fade"] {
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.25s;
}

.animate-in [data-anim="cta"] {
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.5s;
}

.animate-in [data-anim="logos"] {
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TITLE */
.news-main-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.1;

  margin-bottom: 6px;

  text-shadow:
    0 0 20px rgba(255,255,255,0.12),
    0 0 40px rgba(0,0,0,0.65);
}

/* SUB */
.news-sub {
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: 0.78rem;
}

.news-sub-small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

/* CHALLENGES */
.news-challenges {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  max-width: 680px;

  margin: 8px 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.news-challenges .left,
.news-challenges .right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-challenges .highlight {
  color: var(--gold);
  font-weight: 700;
}

/* CTA */
.news-cta {
  margin-top: 18px;
}

.news-cta a {
  display: inline-block;

  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);

  padding: 14px 34px;
  border-radius: 12px;

  font-weight: 700;
  letter-spacing: 0.12em;

  text-decoration: none;

  box-shadow: 0 8px 25px rgba(201,168,76,0.25);
  transition: all 0.3s ease;
}

.news-cta a:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 35px rgba(201,168,76,0.35);
}

/* DESC */
.news-desc {
  max-width: 560px;
  font-size: 0.95rem;
  line-height: 1.6;

  margin-top: 14px;
  margin-bottom: 40px;

  color: var(--text-light);
}
/* ═════════ MOBILE VIDEO FIX ═════════ */

.news-hero{
  position: relative;
  overflow: hidden;
  background: #050a19;
}

.news-video{
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;

  /* 🔥 FIX MOBILE */
  display: block;
  pointer-events: none;

  /* Safari/iOS */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);

  will-change: transform;
  backface-visibility: hidden;

  opacity: 1;
}

/* 🔥 iPhone FIX */
@media (max-width: 768px){

  .news-video{
    object-position: center center;
    transform: translateZ(0) scale(1.08);
  }

}

/* ══════════════════════════════════════════════
   DONATE
══════════════════════════════════════════════ */
.donate-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-dark);
}
.donate-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.donate-title em { color: var(--gold-light); font-style: italic; }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; justify-content: flex-end; }
.btn-amount {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-amount:hover, .btn-amount.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-donate-main {
  display: block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
  width: 100%;
}
.btn-donate-main:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--navy); }
.donate-note { font-size: 0.72rem; color: var(--text-light); margin-top: 0.75rem; letter-spacing: 0.05em; text-align: right; }
/* CONTROL DE CAPAS */
.news-card {
  position: relative;
  z-index: 1;
}

/* ASEGURA CONTENIDO ARRIBA */
.news-content {
  position: relative;
  z-index: 3;
}

.news-img-wrap {
  position: relative;
  z-index: 1;
}

/* OVERLAY no bloquea interacción */
.news-overlay {
  pointer-events: none;
  z-index: 2;
}

/* 🔥 FIX CRÍTICO */
.tech-news::before {
  pointer-events: none; /* 👈 esto desbloquea todo */
  z-index: 0;
}
/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--text-mid);
  font-size: 0.9rem;
}
.contact-info-item i { color: var(--gold); width: 18px; text-align: center; }
.contact-info-item a { color: var(--text-mid); }
.contact-info-item a:hover { color: var(--gold); }

.contact-form .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.vf-input {
  background: var(--white);
  border: 1px solid #E2DED5;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  transition: var(--transition);
}
.vf-input:focus {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  outline: none;
  color: var(--text-dark);
}
.btn-form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: none;
  transition: var(--transition);
}
.btn-form-submit:hover { background: var(--gold); color: var(--navy); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
.footer-top { padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-tagline {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.65;
  font-weight: 300;
}
.footer-legal { font-size: 0.75rem; color: rgba(184,197,214,0.5); }
.footer-heading {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 300;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-email {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  word-break: break-all;
}
.footer-email:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.875rem;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(184,197,214,0.4); margin: 0; }
.btn-lang-footer {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-lang-footer:hover { border-color: var(--gold); color: var(--gold); }
/* =========================
   HERO ULTRA FINAL
========================= */

:root {
  --nav-height: 80px;
  --hero-max-w: 620px;
}

/* HERO */
#hero {
  position: relative;
  height: clamp(520px, 72vh, 760px);
  margin-top: var(--nav-height);
  overflow: hidden;
  isolation: isolate;
}

/* VIDEO */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s ease;
}

/* cinematic sutil */
#hero:hover .hero-video {
  transform: scale(1.1);
}

/* OVERLAY */
.hero-overlay,
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  background: linear-gradient(
    rgba(0,0,0,0.58),
    rgba(0,0,0,0.5)
  );
}

/* CONTENIDO */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  padding-top: 18px;
}

/* ALTURA CONTROLADA */
#hero .container,
#hero .row {
  height: 100%;
}

#hero .row {
  align-items: flex-start !important;
}

/* =========================
   COMPOSICIÓN EDITORIAL
========================= */

/* columna de texto */
.hero-content .col-lg-8 {
  max-width: var(--hero-max-w);
}

/* eyebrow */
.hero-eyebrow {
  margin-bottom: 6px;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* título */
.hero-title {
  margin-bottom: 10px;
  line-height: 1.06;
  max-width: 600px;
}

/* refuerzo jerarquía */
.hero-title-bold {
  display: block;
  margin-top: 4px;
}

/* subtítulo */
.hero-title-sub {
  display: block;
  margin-top: 6px;
  opacity: 0.9;
}

/* descripción */
.hero-desc {
  margin-top: 8px;
  margin-bottom: 14px;
  max-width: 480px;
  line-height: 1.6;
  font-size: 16px;
  opacity: 0.9;
}

/* =========================
   BOTONES PRO
========================= */

.hero-cta-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* botón principal */
.btn-hero-primary {
  padding: 12px 22px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
}

/* botón secundario elegante */
.btn-hero-secondary {
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* =========================
   BADGE (lado derecho)
========================= */

.hero-badge {
  transform: translateY(-10px);
  opacity: 0.95;
  transition: all 0.4s ease;
}

.hero-badge:hover {
  transform: translateY(-14px) scale(1.02);
}

/* =========================
   NAV
========================= */

#mainNav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 99999;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  #hero {
    height: clamp(460px, 68vh, 620px);
  }

  .hero-content {
    padding-top: 12px;
  }

  .hero-title {
    line-height: 1.1;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-cta-group {
    gap: 10px;
  }
}

/* =========================
   HERO logo TVF1
========================= */

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(11,22,40,0.98);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 0.75rem;
    border: 1px solid var(--border);
  }
  .nav-link { padding: 0.6rem 0 !important; }
  .btn-donate { display: inline-block; margin-top: 0.5rem; }
  .mission-accent-box { position: relative; bottom: 0; right: 0; max-width: 100%; margin-top: 1.5rem; }
  .donate-card { padding: 2rem; }
  .donate-amounts { justify-content: flex-start; }
  .btn-donate-main { margin-top: 0; }
  .donate-note { text-align: left; }
}
@media (max-width: 575.98px) {
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
}

#hero{
    min-height: 58vh;
    height: auto;
}

.hero-content{
    padding-top: 0.5rem;
    margin-bottom: 30px;
}


.hero-scroll{
    display: none;
}

.stats-bar{
    position: relative;
    margin-top: 0;
    z-index: 10;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.12);
}
.hero-buttons{
    margin-top: 16px;
    margin-bottom: 40px;
}

.stats-bar{
    padding-top: 18px;
    padding-bottom: 18px;
}

.hero-logo-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 42px;
    margin-left: 6px;
}
/* =========================
   DONATE QR UPDATE
========================= */

.donate-qr-wrap{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.donate-qr{
    width:220px;
    max-width:100%;
    border-radius:18px;
    background:#fff;
    padding:12px;
    box-shadow:0 8px 30px rgba(0,0,0,.18);
}

.donate-note{
    margin-top:14px;
    font-size:15px;
    opacity:.85;
    color:#d7dbe6;
}

@media(max-width:768px){
    .donate-qr{
        width:190px;
    }
}
/* BOTÓN MÓVIL OCULTO EN DESKTOP */
.donate-mobile-btn{
    display: none;
    margin-top: 1.5rem;
}

.btn-donate-mobile{
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    background: #0070ba;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(0,112,186,.25);
    transition: all .3s ease;
}

.btn-donate-mobile:hover{
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px){

    /* OCULTAR QR EN MÓVIL */
    .donate-qr-wrap{
        display: none;
    }

    /* MOSTRAR BOTÓN */
    .donate-mobile-btn{
        display: block;
        text-align: center;
    }
}
/* =========================
   THE VALERIO NAVBAR
========================= */

.navbar-brand{
    display: flex;
    align-items: baseline;
    gap: 4px;
    text-decoration: none;
}

.brand-the{
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-right: 2px;
}

.brand-v{
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-text{
    font-size: 1.35rem;
    font-weight: 600;
}

.brand-foundation{
    font-size: 0.95rem;
    margin-left: 4px;
    opacity: 0.9;
}

/* ═══════════════════════════════════════
   STORIES (NAVY LIGHT CARDS — PREMIUM)
═══════════════════════════════════════ */

.section-stories{
    background: var(--off-white);
    padding: 6rem 0;
}

/* CARD */
.story-card,
.tech-hover-cta{
    background: var(--navy-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

/* HOVER */
.story-card:hover,
.tech-hover-cta:hover{
    transform: translateY(-6px);
    background: var(--navy-mid);
    box-shadow: var(--shadow-dark);
}

/* IMAGE */
.story-img{
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech-hover-cta:hover .story-img{
    transform: scale(1.04);
}

/* CONTENT */
.story-content{
    padding: 1.6rem;
}

/* TITLE */
.story-title{
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

/* TEXT */
.story-text{
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

/* CTA */
.story-cta{
    margin-top: 1.3rem;
}

/* BOTÓN */
.btn-donate{
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    border-radius: var(--radius);
    padding: 0.65rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: var(--transition);
}

.btn-donate:hover{
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* LÍNEA DECORATIVA */
.story-card::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.35), transparent);
    opacity:0.6;
}
