/* ══════════════════════════════════════
   VARIABLES & RESET
══════════════════════════════════════ */
:root {
  --navy:       #0A1628;
  --navy-mid:   #0F1F38;
  --navy-light: #1A2F48;
  --blue:       #2B5876;
  --accent:     #5BB4E5;
  --gold:       #E4B844;
  --gold-light: #FDD95C;
  --gold-bright: #FFE27A;
  --navy-deep:  #060D18;
  --navy-rich:  #0C1E36;
  --white:      #FFFFFF;
  --off-white:  #F5F8FA;
  --muted:      #8FA8BE;
  --text:       #D4E3F0;
  --text-light: #D4E3F0;
  --text-muted: #8FA8BE;
  --shadow:     0 8px 32px rgba(0,0,0,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; color: var(--white); line-height: 1.15; }
p { line-height: 1.8; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.topbar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(79,163,209,0.12);
  padding: 9px 0;
}
.topbar-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.topbar-item i { color: var(--gold); font-size: 0.72rem; }
.topbar-item a { color: var(--muted); transition: color 0.2s; }
.topbar-item a:hover { color: var(--accent); }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13,31,53,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,169,81,0.15);
  padding: 0;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.4); }
.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-img-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(200,169,81,0.4);
  flex-shrink: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-text { line-height: 1.1; }
.logo-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-text span {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

.btn-donar {
  background: linear-gradient(135deg, var(--gold), #A8842A);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.3s !important;
  box-shadow: 0 4px 18px rgba(200,169,81,0.35);
}
.btn-donar::after { display: none !important; }
.btn-donar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,169,81,0.5) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(228,184,68,0.3); }
  50% { box-shadow: 0 0 40px rgba(228,184,68,0.6); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

[data-animate] { opacity: 0; }
/* Red de seguridad: si JS no llega a ejecutarse, el contenido permanece visible */
.no-js [data-animate] { opacity: 1 !important; transform: none !important; }
[data-animate].animated {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
[data-animate="fade-right"].animated { animation-name: fadeRight; }
[data-animate="fade-left"].animated { animation-name: fadeLeft; }
[data-animate="scale-in"].animated { animation-name: scaleIn; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(91,180,229,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 75%, rgba(228,184,68,0.12) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, #060D14 100%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(228,184,68,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228,184,68,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  opacity: 0.08;
}

.hero-particles::before {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
}

.hero-particles::after {
  width: 350px;
  height: 350px;
  bottom: -100px;
  left: -100px;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px 160px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

/* Hero left */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(228,184,68,0.12);
  border: 2px solid rgba(228,184,68,0.4);
  color: var(--gold-light);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 36px;
  position: relative;
}

.hero-eyebrow::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-light);
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--accent);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}
.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.85;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 28px rgba(91,180,229,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 40px rgba(91,180,229,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-ghost {
  border: 2px solid rgba(228,184,68,0.6);
  color: var(--gold-light);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(228,184,68,0.3), transparent);
  transition: left 0.6s;
}

.btn-ghost:hover::before {
  left: 100%;
}

.btn-ghost:hover {
  background: rgba(228,184,68,0.15);
  border-color: var(--gold-light);
  transform: translateY(-4px) scale(1.05);
  color: var(--gold-light);
  box-shadow: 0 12px 36px rgba(228,184,68,0.4);
}

/* Hero right — logo showcase */
.hero-logo-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-logo-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,81,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(79,163,209,0.15);
}
@keyframes slowRotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-logo-inner {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  border: 3px solid rgba(200,169,81,0.35);
  box-shadow:
    0 0 0 12px rgba(200,169,81,0.06),
    0 24px 64px rgba(0,0,0,0.5);
}
.hero-logo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-stats {
  display: flex;
  gap: 28px;
}
.hero-stat {
  text-align: center;
  padding: 16px 20px;
  background: rgba(28,58,88,0.5);
  border: 1px solid rgba(79,163,209,0.15);
  border-radius: 14px;
  flex: 1;
}
.hero-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 3;
}

.hero-scroll-indicator:hover {
  color: var(--gold);
  transform: translateX(-50%) translateY(-4px);
}

.hero-scroll-indicator i {
  font-size: 1.2rem;
}

/* ══════════════════════════════════════
   INFO BAR
══════════════════════════════════════ */
.infobar {
  background: linear-gradient(135deg, var(--navy-rich) 0%, var(--navy-deep) 100%);
  border-top: 2px solid rgba(228,184,68,0.2);
  border-bottom: 2px solid rgba(228,184,68,0.2);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.infobar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(228,184,68,0.06), transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(91,180,229,0.06), transparent 60%);
  pointer-events: none;
}

.infobar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
  z-index: 1;
}

.infobar-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 32px;
  background: rgba(11,22,32,0.8);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(228,184,68,0.25);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.infobar-item:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(228,184,68,0.3);
  background: rgba(11,22,32,0.95);
}

.infobar-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(228,184,68,0.2), rgba(91,180,229,0.12));
  border: 3px solid rgba(228,184,68,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: all 0.4s;
  box-shadow: 0 0 25px rgba(228,184,68,0.25);
}

.infobar-item:hover .infobar-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 35px rgba(228,184,68,0.5);
  border-color: var(--gold-light);
}

.infobar-text strong {
  display: block;
  font-size: 1.15rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.infobar-text span, .infobar-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
}

.infobar-text a {
  color: var(--gold);
  transition: color 0.3s;
  font-weight: 700;
}

.infobar-text a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 5;
  background: var(--navy);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, rgba(21,34,50,0.5) 0%, rgba(11,22,32,0.5) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(228,184,68,0.12);
  border: 2px solid rgba(228,184,68,0.3);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 28px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(228,184,68,0.2);
}

.tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
  animation: glow 2s infinite;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 2;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-left p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 2;
  font-weight: 400;
}

.about-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 50%, transparent 100%);
  margin: 40px 0;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(228,184,68,0.3);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  background: linear-gradient(135deg, rgba(30,49,69,0.7), rgba(21,34,50,0.7));
  border: 2px solid rgba(228,184,68,0.25);
  border-radius: 24px;
  padding: 40px 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 0;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 0 4px 0;
}

.about-card:hover {
  transform: translateX(12px);
  border-color: var(--gold);
  box-shadow: 0 16px 48px rgba(228,184,68,0.25);
  background: linear-gradient(135deg, rgba(30,49,69,0.85), rgba(21,34,50,0.85));
}

.about-card:hover::before {
  height: 100%;
}

.about-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.about-card-head i {
  color: var(--gold-light);
  font-size: 2.4rem;
  width: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 10px rgba(228,184,68,0.3));
}

.about-card:hover .about-card-head i {
  transform: scale(1.2) rotate(10deg);
}

.about-card-head h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.01em;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ══════════════════════════════════════
   IMPACT
══════════════════════════════════════ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.impact-card {
  background: linear-gradient(135deg, rgba(15,31,56,0.9), rgba(10,22,40,0.95));
  border: 1px solid rgba(228,184,68,0.2);
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.4s;
}

.impact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(228,184,68,0.08) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}

.impact-card:hover {
  transform: translateY(-12px);
  border-color: rgba(228,184,68,0.5);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(228,184,68,0.12);
}

.impact-card:hover::before,
.impact-card:hover::after {
  opacity: 1;
}

.impact-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(228,184,68,0.15), rgba(91,180,229,0.1));
  border: 2px solid rgba(228,184,68,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 1.7rem;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  transition: all 0.4s;
  box-shadow: 0 0 20px rgba(228,184,68,0.2);
}

.impact-card:hover .impact-icon {
  transform: scale(1.1);
  box-shadow: 0 0 32px rgba(228,184,68,0.4);
  border-color: var(--gold);
}

.impact-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}

.impact-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.service-card {
  background: rgba(13,31,53,0.7);
  border: 1px solid rgba(79,163,209,0.1);
  border-radius: 18px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,169,81,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(200,169,81,0.08);
  border: 1px solid rgba(200,169,81,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 22px;
}
.service-card h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.75;
}

/* ══════════════════════════════════════
   CRAFTEMBASSY / SLIDES
══════════════════════════════════════ */
.slider-wrap {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--blue) 100%);
  border-radius: 24px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200,169,81,0.15);
}
.slider-wrap::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(200,169,81,0.06);
  pointer-events: none;
}
.slide { display: none; }
.slide.active { display: block; animation: fadeUp 0.5s ease; }
.slide-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.slide-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
}
.slide h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: 16px;
  max-width: 600px;
}
.slide p {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
}
.sdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.sdot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(30,49,69,0.5), rgba(21,34,50,0.5));
  border: 2px solid rgba(228,184,68,0.2);
  border-radius: 24px;
  padding: 40px 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 16px 48px rgba(228,184,68,0.2);
}

.testimonial-quote {
  font-size: 3rem;
  color: rgba(228,184,68,0.25);
  line-height: 1;
  margin-bottom: 20px;
}

.testimonial-card p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(228,184,68,0.2);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(228,184,68,0.2), rgba(91,180,229,0.15));
  border: 2px solid rgba(228,184,68,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ══════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.contact-info h3 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 800;
  font-family: 'Cormorant Garamond', serif;
}

.contact-info > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 48px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(228,184,68,0.2), rgba(91,180,229,0.15));
  border: 2px solid rgba(228,184,68,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(228,184,68,0.2);
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 30px rgba(228,184,68,0.4);
}

.contact-info-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-info-item p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* Contact Form */
.contact-form-wrap {
  background: linear-gradient(135deg, rgba(30,49,69,0.6), rgba(21,34,50,0.6));
  border: 2px solid rgba(228,184,68,0.2);
  border-radius: 24px;
  padding: 56px 48px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(11,22,32,0.7);
  border: 2px solid rgba(228,184,68,0.2);
  border-radius: 12px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(11,22,32,0.9);
  box-shadow: 0 0 0 3px rgba(228,184,68,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(150,179,204,0.5);
}

.contact-form .btn-primary {
  margin-top: 12px;
  width: fit-content;
}

/* ══════════════════════════════════════
   DONATION CTA
══════════════════════════════════════ */
.donation-cta {
  text-align: center;
  padding: 80px 48px;
  background: linear-gradient(135deg, rgba(30,49,69,0.5), rgba(21,34,50,0.5));
  border: 2px solid rgba(228,184,68,0.2);
  border-radius: 32px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.donation-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,184,68,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.donation-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(228,184,68,0.2), rgba(91,180,229,0.15));
  border: 3px solid rgba(228,184,68,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  color: var(--gold);
  font-size: 2.2rem;
  animation: glow 3s infinite;
}

.donation-cta h3 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.donation-cta p {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.donation-note {
  font-size: 0.88rem !important;
  color: var(--gold) !important;
  font-style: italic;
  margin: 24px auto 0 !important;
}

.btn-paypal {
  background: linear-gradient(135deg, #0070BA, #003087);
  color: white;
  padding: 18px 44px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 28px rgba(0,112,186,0.4);
  border: none;
  cursor: pointer;
}

.btn-paypal:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,112,186,0.55);
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(200,169,81,0.1);
  padding: 72px 0 32px;
}
.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo-img {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(200,169,81,0.3);
  background: #000;
}
.footer-logo-img img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand-name strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--white);
}
.footer-brand-name span {
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 22px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  background: rgba(28,58,88,0.6);
  border: 1px solid rgba(79,163,209,0.2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
  transition: all 0.3s;
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(200,169,81,0.15);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  color: var(--muted);
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
}
.footer-links a i { font-size: 0.65rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold); gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 11px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item i { color: var(--gold); font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { color: var(--muted); font-size: 0.87rem; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(79,163,209,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--gold); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ══════════════════════════════════════
   BOTONES FLOTANTES (INTERFAZ)
══════════════════════════════════════ */

/* Botón de Noticias — siempre visible */
.btn-noticias-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--gold), #A8842A);
  color: var(--navy) !important;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-noticias-float i {
  font-size: 1.1rem;
}
.btn-noticias-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(228,184,68,0.4);
  background: var(--gold-light);
}

/* Scroll Top — ubicado arriba del botón de noticias */
.scroll-top {
  position: fixed;
  bottom: 95px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--navy-light);
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(200,169,81,0.4);
  z-index: 998;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* ─── TABLET GRANDE / LAPTOP PEQUEÑO: 1024px ─── */
@media (max-width: 1024px) {
  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 32px 120px;
  }
  .hero-logo-showcase {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }
  .hero-logo-ring {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
  }
  .hero-logo-inner { width: 180px; height: 180px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-scroll-indicator { bottom: 36px; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Impact */
  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-info h3 { font-size: 2rem; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Infobar */
  .infobar-inner { gap: 20px; }

  /* Sections */
  .section { padding: 80px 0; }
  .section-inner { padding: 0 32px; }
  .section-header { margin-bottom: 56px; }
}

/* ─── AJUSTE: evita que el menú se desborde y empuje el botón
   "Donar" fuera de la pantalla en páginas con más enlaces (Alianzas,
   Embajadores, Noticias tienen más ítems que Inicio). Activa el menú
   hamburguesa antes (960px) en vez de esperar a 768px, dejando margen
   de sobra para que el menú de escritorio nunca se desborde. ─── */
@media (max-width: 960px) {
  .nav { display: none; }
  .hamburger { display: flex; }
}

/* ─── TABLET MEDIANA / MÓVIL GRANDE: 768px ─── */
@media (max-width: 768px) {
  /* Topbar */
  .topbar { padding: 8px 0; }
  .topbar-inner {
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    flex-wrap: wrap;
  }
  .topbar-item { font-size: 0.72rem; gap: 5px; }
  .topbar-item:nth-child(2) { display: none; }

  /* Header */
  .header-inner { padding: 0 16px; height: 68px; }
  .logo-text strong { font-size: 1.1rem; }
  .logo-text span { font-size: 0.6rem; }
  .logo-img-wrap { width: 46px; height: 46px; }

  /* Nav Hamburger */
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    padding: 24px 20px;
    gap: 6px;
    border-bottom: 1px solid rgba(200,169,81,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 199;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav.open a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
  }
  .nav.open a:hover {
    background: rgba(228,184,68,0.08);
    color: var(--gold);
  }
  .nav.open .btn-donar {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    border-radius: 12px;
  }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 80px 20px 100px;
    gap: 40px;
    text-align: center;
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-eyebrow { font-size: 0.65rem; padding: 8px 18px; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
    gap: 12px;
  }
  .btn-primary, .btn-ghost {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  /* Hero logo showcase */
  .hero-logo-showcase {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .hero-logo-ring { width: 200px; height: 200px; }
  .hero-logo-inner { width: 160px; height: 160px; }
  .hero-stats {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
  .hero-stat {
    padding: 12px 14px;
    flex: 1;
    min-width: 0;
  }
  .hero-stat strong { font-size: 1.4rem; }
  .hero-stat span { font-size: 0.65rem; }
  .hero-scroll-indicator { display: none; }

  /* Infobar */
  .infobar { padding: 40px 0; }
  .infobar-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px;
  }
  .infobar-item {
    padding: 24px 20px;
    gap: 16px;
  }
  .infobar-icon { width: 52px; height: 52px; font-size: 1.3rem; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-inner { padding: 0 20px; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .section-desc { font-size: 0.97rem; }
  .tag { font-size: 0.66rem; padding: 8px 18px; }

  /* About */
  .about-grid { gap: 36px; }
  .about-left p { font-size: 0.97rem; }
  .about-card { padding: 28px 24px; }
  .about-card-head h5 { font-size: 1.2rem; }
  .about-card:hover { transform: translateX(6px); }

  /* Impact */
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .impact-card { padding: 28px 20px; }
  .impact-number { font-size: 2.4rem; }
  .impact-icon { width: 56px; height: 56px; font-size: 1.4rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 24px; }

  /* Slider */
  .slider-wrap {
    padding: 36px 24px;
    border-radius: 16px;
  }
  .slider-controls { margin-top: 24px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonial-card { padding: 28px 24px; }

  /* Contact */
  .contact-grid { gap: 36px; }
  .contact-info h3 { font-size: 1.8rem; }
  .contact-info > p { font-size: 0.97rem; margin-bottom: 32px; }
  .contact-info-items { gap: 20px; }
  .contact-info-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .contact-form-wrap { padding: 28px 20px; border-radius: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { gap: 20px; }

  /* Donation CTA */
  .donation-cta { padding: 48px 24px; border-radius: 20px; }
  .donation-cta h3 { font-size: 1.8rem; }
  .donation-cta p { font-size: 0.93rem; }
  .btn-paypal { padding: 14px 28px; font-size: 0.95rem; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-inner { padding: 0 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Botones flotantes */
  .btn-noticias-float {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .scroll-top {
    bottom: 80px;
    right: 25px;
    width: 40px;
    height: 40px;
  }
}
/* =========================================================
   FOOTER — BLACK EMBASSY
========================================================= */

.site-footer {
    position: relative;
    background:
        linear-gradient(
            135deg,
            #061525 0%,
            #081b2e 55%,
            #05111e 100%
        );
    color: #ffffff;
    border-top: 1px solid rgba(212, 166, 48, 0.22);
    overflow: hidden;
}


/* Línea decorativa superior */

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 166, 48, 0.8),
        transparent
    );
}


/* Contenedor principal */

.footer-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 80px 0 65px;

    display: grid;
    grid-template-columns:
        1.6fr
        1fr
        1fr
        1.1fr;

    gap: 55px;
}


/* =========================================================
   IDENTIDAD
========================================================= */

.footer-brand {
    max-width: 360px;
}


.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;
    color: #ffffff;

    margin-bottom: 25px;
}


.footer-logo img {
    width: 64px;
    height: 64px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 5px 15px
            rgba(0, 0, 0, 0.35)
        );
}


.footer-logo-text {
    display: flex;
    flex-direction: column;
}


.footer-logo-text strong {
    font-family: Georgia, serif;

    font-size: 1.45rem;

    letter-spacing: 0.02em;

    line-height: 1.1;
}


.footer-logo-text span {
    margin-top: 6px;

    font-size: 0.62rem;

    letter-spacing: 0.22em;

    color: #d4a630;
}


.footer-description {
    color: rgba(255, 255, 255, 0.68);

    line-height: 1.8;

    font-size: 0.92rem;

    margin: 0;
}


/* =========================================================
   REDES SOCIALES
========================================================= */

.footer-social {
    margin-top: 28px;
}


.footer-social-title {
    display: block;

    font-size: 0.68rem;

    letter-spacing: 0.2em;

    color: #d4a630;

    margin-bottom: 14px;
}


.footer-social-links {
    display: flex;
    gap: 10px;
}


.footer-social-links a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid
        rgba(212, 166, 48, 0.35);

    border-radius: 50%;

    color: #ffffff;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


.footer-social-links a:hover {
    background: #d4a630;

    border-color: #d4a630;

    color: #071626;

    transform: translateY(-3px);
}


/* =========================================================
   COLUMNAS
========================================================= */

.footer-column h3 {
    margin: 0 0 22px;

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.2em;

    color: #d4a630;
}


.footer-column ul {
    list-style: none;

    padding: 0;
    margin: 0;
}


.footer-column li {
    margin-bottom: 12px;
}


.footer-column li a {
    position: relative;

    color: rgba(255, 255, 255, 0.7);

    text-decoration: none;

    font-size: 0.9rem;

    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}


.footer-column li a:hover {
    color: #ffffff;

    padding-left: 5px;
}


.footer-column li a::before {
    content: "";

    position: absolute;

    left: -5px;
    top: 50%;

    width: 0;
    height: 1px;

    background: #d4a630;

    transform: translateY(-50%);

    transition: width 0.3s ease;
}


.footer-column li a:hover::before {
    width: 3px;
}


/* =========================================================
   CONTACTO
========================================================= */

.footer-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 17px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.88rem;

    line-height: 1.5;
}


.footer-contact-item i {
    color: #d4a630;

    width: 16px;

    margin-top: 3px;
}


/* =========================================================
   PARTE INFERIOR
========================================================= */

.footer-bottom {
    border-top: 1px solid
        rgba(255, 255, 255, 0.08);
}


.footer-bottom-container {
    width: min(1200px, 90%);
    margin: 0 auto;

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer-bottom-container p {
    margin: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 0.78rem;
}


.footer-legal {
    display: flex;

    align-items: center;

    gap: 12px;
}


.footer-legal a {
    color: rgba(255, 255, 255, 0.5);

    text-decoration: none;

    font-size: 0.76rem;

    transition: color 0.3s ease;
}


.footer-legal a:hover {
    color: #d4a630;
}


.footer-legal span {
    color: rgba(255, 255, 255, 0.2);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .footer-container {
        grid-template-columns:
            1.5fr
            1fr
            1fr;

        gap: 45px;
    }

    .footer-contact {
        grid-column: span 3;
    }

}


@media (max-width: 680px) {

    .footer-container {
        grid-template-columns: 1fr;

        padding: 60px 0 45px;

        gap: 38px;
    }


    .footer-brand {
        max-width: 100%;
    }


    .footer-contact {
        grid-column: auto;
    }


    .footer-bottom-container {
        min-height: auto;

        padding: 22px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 14px;
    }


    .footer-legal {
        flex-wrap: wrap;
    }

}

/* ─── MÓVIL MEDIANO: 480px ─── */
@media (max-width: 480px) {
  /* Topbar */
  .topbar-inner { gap: 8px; }
  .topbar-item:nth-child(1),
  .topbar-item:nth-child(4) { display: none; }

  /* Header */
  .logo-text { display: none; }
  .logo-img-wrap { width: 42px; height: 42px; }

  /* Hero */
  .hero-inner { padding: 72px 16px 88px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 8px;
  }
  .hero-stat { flex: none; width: 100%; }

  /* Infobar */
  .infobar-inner { padding: 0 16px; }
  .infobar-item { gap: 14px; padding: 20px 16px; }

  /* Sections */
  .section-inner { padding: 0 16px; }
  .section { padding: 52px 0; }

  /* Impact */
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .impact-card { padding: 24px 20px; }

  /* About cards */
  .about-card { padding: 24px 20px; }

  /* Contact */
  .contact-form-wrap { padding: 24px 16px; }
  .contact-info-item { gap: 14px; }

  /* Donation */
  .donation-cta { padding: 36px 16px; }
  .donation-cta h3 { font-size: 1.6rem; }
  .btn-paypal { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner { padding: 0 16px; }
  .socials { flex-wrap: wrap; }

  /* Slider */
  .slider-wrap { padding: 28px 16px; }
}

/* ─── MÓVIL PEQUEÑO: 360px ─── */
@media (max-width: 360px) {
  .hero-inner { padding: 64px 12px 80px; }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .section-inner { padding: 0 12px; }
  .infobar-inner { padding: 0 12px; }
  .footer-inner { padding: 0 12px; }
  .contact-form-wrap { padding: 20px 12px; }
  .hero-logo-ring { width: 170px; height: 170px; }
  .hero-logo-inner { width: 138px; height: 138px; }
}

/* ─── ALTURA REDUCIDA / LANDSCAPE MÓVIL ─── */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }
  .hero-inner { padding: 60px 20px 60px; gap: 24px; }
  .nav.open {
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .hero-logo-ring { width: 140px; height: 140px; }
  .hero-logo-inner { width: 110px; height: 110px; }
}
/* ══════════════════════════════════════════════════════════
   EXTENSIÓN — NUEVOS COMPONENTES (rediseño 2026)
   Galería, Somos, Timeline, Aliados, Donación, Holding, CEO
══════════════════════════════════════════════════════════ */

/* ---- Reveal genérico basado en scroll (además de [data-animate]) ---- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* ---- Hero: imagen de fondo cinematográfica (estilo editorial) ---- */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-photo-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  filter: saturate(1.05);
}
@keyframes heroKenBurns {
  0% { transform: scale(1.08) translate(0,0); }
  100% { transform: scale(1.16) translate(-1.5%, -1%); }
}
.hero-photo-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,16,29,0.55) 0%, rgba(8,16,29,0.72) 45%, rgba(8,16,29,0.96) 100%),
    linear-gradient(90deg, rgba(8,16,29,0.92) 0%, rgba(8,16,29,0.35) 55%, rgba(8,16,29,0.75) 100%);
}

/* ---- Franja distintivo institucional ---- */
.trust-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(228,184,68,0.12);
  border-bottom: 1px solid rgba(228,184,68,0.12);
  padding: 18px 0;
  overflow: hidden;
}
.trust-strip-inner {
  max-width: 1220px; margin: 0 auto; padding: 0 28px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 0.82rem; letter-spacing: 0.02em;
  white-space: nowrap;
}
.trust-item i { color: var(--gold); }
.trust-item strong { color: var(--text); font-weight: 600; }

/* ---- SOMOS — pilares institucionales ---- */
.somos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.somos-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  border: 1px solid rgba(228,184,68,0.18);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}
.somos-card:hover {
  transform: translateY(-8px);
  border-color: rgba(228,184,68,0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.somos-icon {
  width: 62px; height: 62px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,184,68,0.18), transparent 70%);
  border: 1px solid rgba(228,184,68,0.35);
  color: var(--gold);
  font-size: 1.5rem;
}
.somos-card h5 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.somos-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }

/* ---- Timeline institucional (Historia / marco legal) ---- */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 2px solid rgba(228,184,68,0.25);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
}
.timeline-year {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.timeline-item h5 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.93rem; color: var(--muted); }

/* ---- Objeto Social — lista de actividades ---- */
.objeto-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.objeto-item {
  display: flex; gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px 22px;
}
.objeto-item i { color: var(--gold); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.objeto-item p { font-size: 0.92rem; color: var(--text); line-height: 1.65; }

/* ---- Galería de programas (grid con lightbox) ---- */
.gallery-tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-bottom: 40px;
}
.gallery-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(228,184,68,0.3);
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-tab:hover { color: var(--gold); border-color: var(--gold); }
.gallery-tab.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  grid-column: span 1;
  grid-row: span 1;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1), filter 0.6s;
  filter: saturate(0.96);
}
.gallery-item:hover img { transform: scale(1.1); filter: saturate(1.1); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,16,29,0.85) 0%, rgba(8,16,29,0) 45%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 0.85; }
.gallery-caption {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-item[data-cat] { display: block; }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(6,12,22,0.96);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: fadeUp 0.3s ease; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(228,184,68,0.4);
  color: var(--gold);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--gold); color: var(--navy); }

/* ---- Holding Business — categorías de comercio ---- */
.holding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.holding-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1.05;
}
.holding-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.holding-card:hover img { transform: scale(1.08); }
.holding-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,16,29,0.92) 5%, rgba(8,16,29,0.1) 60%);
}
.holding-label {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
}

/* ---- Aliados — grid de logos ---- */
.aliados-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.aliado-logo {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1/1;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(228,184,68,0.15);
}
.aliado-logo:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,0.35); }
.aliado-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---- Mensaje del CEO / cita institucional ---- */
.ceo-quote {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 40px;
}
.ceo-quote .quote-icon { color: var(--gold); font-size: 2.2rem; opacity: 0.5; margin-bottom: 18px; }
.ceo-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 26px;
}
.ceo-quote .ceo-name { color: var(--gold); font-weight: 700; letter-spacing: 0.03em; font-size: 1rem; }
.ceo-quote .ceo-title { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 4px; }

/* ---- Donación — tarjeta de cuenta bancaria y beneficios ---- */
.donation-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(228,184,68,0.2);
}
.donation-panel-left {
  background: linear-gradient(160deg, var(--navy-mid), var(--navy));
  padding: 48px 44px;
}
.donation-panel-left h3 { font-size: 2rem; margin-bottom: 16px; }
.donation-panel-left p { color: var(--text); margin-bottom: 24px; }
.donation-items { display: grid; gap: 12px; margin-bottom: 28px; }
.donation-item-row { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--text); }
.donation-item-row i { color: var(--gold); margin-top: 4px; }
.donation-benefits { display: flex; flex-wrap: wrap; gap: 10px; }
.donation-benefit-pill {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid rgba(228,184,68,0.35);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
}
.donation-panel-right {
  background: linear-gradient(160deg, #12233c, #0A1628);
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 22px;
  position: relative;
}
.donation-panel-right::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(228,184,68,0.12), transparent 60%);
}
.bank-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(228,184,68,0.25);
  border-radius: 16px;
  padding: 26px;
}
.bank-card span.bank-label { display: block; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.bank-card strong.bank-value { display: block; color: var(--white); font-size: 1.15rem; margin-bottom: 16px; font-weight: 700; }
.bank-card strong.bank-value:last-child { margin-bottom: 0; }
.bank-card .bank-account { font-size: 1.35rem; letter-spacing: 0.03em; color: var(--gold-light); }

/* ---- Info bar legal (NIT / registros) ---- */
.legal-bar {
  display: flex; flex-wrap: wrap; gap: 26px; justify-content: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.legal-bar-item { text-align: center; }
.legal-bar-item strong { display: block; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.05em; }
.legal-bar-item span { color: var(--muted); font-size: 0.78rem; }

/* ---- Responsive: nuevos componentes ---- */
@media (max-width: 1024px) {
  .somos-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .holding-grid { grid-template-columns: repeat(2, 1fr); }
  .aliados-grid { grid-template-columns: repeat(4, 1fr); }
  .objeto-list { grid-template-columns: 1fr; }
  .donation-panel { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .somos-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .somos-card { padding: 24px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item.wide { grid-column: span 2; }
  .holding-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .aliados-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .trust-strip-inner { gap: 10px 20px; }
  .trust-item { font-size: 0.74rem; }
  .timeline { padding-left: 24px; }
  .timeline-item::before { left: -31px; width: 13px; height: 13px; }
  .donation-panel-left, .donation-panel-right { padding: 32px 24px; }
  .ceo-quote { padding: 30px 16px; }
  .legal-bar { gap: 16px; }
}
@media (max-width: 480px) {
  .somos-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .aliados-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════
   NOTICIAS (Supabase) — tarjetas y modal
══════════════════════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  border: 1px solid rgba(228,184,68,0.16);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), border-color 0.35s, box-shadow 0.35s;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(228,184,68,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.news-card-img { position: relative; height: 210px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.08); }
.news-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 14px; border-radius: 50px; text-transform: uppercase;
}
.news-card-body { padding: 24px 24px 26px; }
.news-card-date { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.news-card-body h3 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.3; color: var(--white); }
.news-card-body p { font-size: 0.9rem; color: var(--text); line-height: 1.6; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-link { color: var(--gold); font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

.news-modal-card {
  background: var(--navy-mid);
  border-radius: 20px;
  overflow: hidden;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid rgba(228,184,68,0.25);
}
.news-modal-img { width: 100%; height: 320px; overflow: hidden; }
.news-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.news-modal-body { padding: 34px 38px 40px; }
.news-modal-body h2 { font-size: 1.9rem; margin: 10px 0 18px; }
.news-modal-body p { font-size: 1rem; color: var(--text); line-height: 1.75; white-space: pre-line; }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-modal-img { height: 220px; }
  .news-modal-body { padding: 24px 20px 30px; }
  .news-modal-body h2 { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════
   ÁRBOL DE EMBAJADORES — organigrama genealógico
══════════════════════════════════════════════════════════ */
.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.org-level {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 56px;
}
.org-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, rgba(228,184,68,0.5), rgba(228,184,68,0.15));
  margin: 0 auto 16px;
}
.org-connector-h {
  height: 2px;
  background: rgba(228,184,68,0.25);
  margin-bottom: 40px;
  width: 100%;
  max-width: 900px;
}
.org-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid rgba(228,184,68,0.22);
  border-radius: 18px;
  padding: 26px 24px;
  text-align: center;
  width: 230px;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), border-color 0.35s, box-shadow 0.35s;
  position: relative;
}
.org-card:hover {
  transform: translateY(-6px);
  border-color: rgba(228,184,68,0.55);
  box-shadow: 0 20px 40px rgba(0,0,0,0.32);
}
.org-card.org-card-top {
  width: 260px;
  padding: 32px 26px;
  border-color: rgba(228,184,68,0.4);
  background: linear-gradient(160deg, rgba(228,184,68,0.1), rgba(255,255,255,0.02));
}
.org-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--gold);
  background: linear-gradient(160deg, var(--navy-mid), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 2rem;
}
.org-card-top .org-avatar { width: 108px; height: 108px; font-size: 2.4rem; }
.org-avatar img { width: 100%; height: 100%; object-fit: cover; }
.org-card h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--white); line-height: 1.3; }
.org-card-top h4 { font-size: 1.3rem; }
.org-role {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.org-region { font-size: 0.82rem; color: var(--muted); }
.org-card-edit-hint {
  font-size: 0.68rem;
  color: var(--muted);
  opacity: 0.6;
  margin-top: 8px;
}

.embajadores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.embajador-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(228,184,68,0.16);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.embajador-card:hover { transform: translateY(-5px); border-color: rgba(228,184,68,0.4); }
.embajador-card .org-avatar { width: 72px; height: 72px; font-size: 1.6rem; margin-bottom: 12px; }
.embajador-card h5 { font-size: 0.95rem; color: var(--white); margin-bottom: 4px; line-height: 1.3; }
.embajador-card .org-region { font-size: 0.76rem; }

.editable-note {
  display: flex; align-items: center; gap: 12px;
  background: rgba(228,184,68,0.08);
  border: 1px dashed rgba(228,184,68,0.4);
  border-radius: 14px;
  padding: 16px 22px;
  color: var(--text);
  font-size: 0.88rem;
  max-width: 760px;
  margin: 0 auto 50px;
}
.editable-note i { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }

@media (max-width: 1024px) {
  .embajadores-grid { grid-template-columns: repeat(3, 1fr); }
  .org-level { gap: 20px; }
}
@media (max-width: 768px) {
  .embajadores-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .org-card { width: 100%; max-width: 260px; }
  .org-level { flex-direction: column; align-items: center; }
  .embajador-card { padding: 16px 12px; }
  .editable-note { flex-direction: column; text-align: center; padding: 18px; }
}
@media (max-width: 480px) {
  .embajadores-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════
   CARRUSEL DE LOGOS ALIADOS — movimiento infinito
══════════════════════════════════════════════════════════ */
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  will-change: transform;
  animation: logoMarqueeScroll linear infinite;
  animation-duration: var(--marquee-duration, 28s);
}
.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}
.logo-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 64px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(228,184,68,0.14);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.logo-marquee-item:hover {
  transform: translateY(-3px);
  border-color: rgba(228,184,68,0.5);
}
.logo-marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes logoMarqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* NOTA: se retiró la regla @media (prefers-reduced-motion: reduce) que
   pausaba por completo esta animación. El carrusel de logos es decorativo
   y no contiene texto esencial en movimiento, así que se mantiene animado
   siempre — evita el problema de "logos quietos" en equipos que tienen
   activada la opción de accesibilidad "Reducir movimiento" del sistema
   operativo. Si en algún momento quieres restaurar el comportamiento
   original, vuelve a agregar este bloque:
   @media (prefers-reduced-motion: reduce) {
     .logo-marquee-track { animation: none; overflow-x: auto; }
   }
*/
@media (max-width: 768px) {
  .logo-marquee-item { width: 100px; height: 52px; padding: 6px 10px; }
  .logo-marquee-track { gap: 24px; }
}