/* ============================================
   PROCENTRHICO – ESTILOS PRINCIPALES
   Sociedad Civil Sin Fines de Lucro
   Centro Histórico, CDMX
   ============================================ */

/* ===== VARIABLES ===== */
:root {
  --primary:       #8B1A1A;
  --primary-dark:  #6b1313;
  --primary-light: #c0392b;
  --navy:          #1A2A6B;
  --navy-dark:     #0D1A4A;
  --gold:          #C9A84C;
  --gold-light:    #e8c96b;
  --dark:          #1a1a1a;
  --gray:          #6b7280;
  --gray-light:    #9ca3af;
  --bg-light:      #f8f6f2;
  --white:         #ffffff;
  --border:        #e5e0d8;
  --shadow:        0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.14);
  --radius:        14px;
  --radius-lg:     20px;
  --transition:    all 0.3s ease;
  --font-heading:  'Playfair Display', serif;
  --font-body:     'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: var(--font-body); }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title span { color: var(--primary); }
.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-desc  { color: rgba(255,255,255,0.82); }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-padding { padding: 6rem 0; }
.bg-light        { background: var(--bg-light); }
.bg-dark-texture {
  background: linear-gradient(135deg,
    var(--primary-dark) 0%,
    var(--dark)        55%,
    var(--navy-dark)   100%);
}
.bg-contact { background: linear-gradient(160deg, var(--bg-light) 0%, #ede8e0 100%); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg    { padding: 15px 36px; font-size: 1rem; }
.btn-sm    { padding: 8px 20px;  font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(139,26,26,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,26,26,0.42);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== COOKIE BANNER ===== */
/* Sin overlay, sin blur de fondo — el usuario puede navegar libremente */
.cookie-overlay { display: none; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 4px solid var(--primary);
  z-index: 9999;
  box-shadow: 0 -6px 36px rgba(0,0,0,0.15);
  /* Estado inicial: oculto debajo de la pantalla */
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  flex-wrap: wrap;
}
.cookie-icon { font-size: 2.2rem; color: var(--gold); flex-shrink: 0; }
.cookie-text  { flex: 1; min-width: 220px; }
.cookie-text h4 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--dark); }
.cookie-text p  { font-size: 0.85rem; color: var(--gray); line-height: 1.55; }
.cookie-text a  { color: var(--primary); font-weight: 600; }
.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.btn-cookie-accept {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-cookie-accept:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139,26,26,0.3); }
.btn-cookie-config {
  padding: 10px 20px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-cookie-config:hover { background: var(--navy); color: white; }
.btn-cookie-reject {
  padding: 10px 20px;
  background: transparent;
  color: var(--gray);
  border: 2px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-cookie-reject:hover { border-color: var(--gray); color: var(--dark); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 100%);
  transition: background 0.35s ease, padding 0.3s ease, box-shadow 0.3s ease;
  padding: 0.9rem 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  backdrop-filter: blur(10px);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo del navbar:
   - Oculto (transparente) mientras el usuario está en el hero
   - Aparece con fade-in al hacer scroll (clase .scrolled en navbar) */
.nav-logo img {
  height: 48px;
  width: auto;
  transition: opacity 0.35s ease, filter 0.35s ease;
  filter: none;
  /* Oculto al inicio */
  opacity: 0;
  pointer-events: none;
}
.navbar.scrolled .nav-logo img {
  /* Aparece con color natural al hacer scroll */
  opacity: 1;
  pointer-events: auto;
  filter: none;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-link {
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  transition: var(--transition);
  display: block;
}
.navbar.scrolled .nav-link { color: var(--dark); }

.nav-link:hover {
  background: rgba(255,255,255,0.18);
  color: white;
}
.navbar.scrolled .nav-link:hover {
  background: var(--bg-light);
  color: var(--primary);
}
/* Botón "Únete" siempre destacado */
.nav-link.nav-cta {
  background: rgba(255,255,255,0.92);
  color: var(--primary) !important;
  font-weight: 700;
  padding: 8px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.navbar.scrolled .nav-link.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white !important;
  box-shadow: 0 4px 14px rgba(139,26,26,0.3);
}
.nav-link.nav-cta:hover { transform: translateY(-2px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(180deg,
      rgba(8,8,8,0.78)  0%,
      rgba(20,20,20,0.62) 55%,
      rgba(8,8,8,0.84)  100%),
    url('../images/hero-bg.jpg') center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,26,26,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 80%, rgba(201,168,76,0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(139,26,26,0.14) 0%, transparent 45%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}
/* Logo centrado en el hero — desaparece al hacer scroll */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}
.hero-logo-wrap.hide {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.hero-logo-img {
  height: 320px;
  width: auto;
  /* Logo es azul marino → invertimos a blanco sobre el hero oscuro */
  filter: brightness(0) invert(1);
  display: block;
  /* Sombra sutil para dar presencia sobre la foto */
  drop-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.4rem;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-highlight { color: var(--gold-light); }
.hero-subtitle {
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  color: rgba(255,255,255,0.86);
  max-width: 600px;
  margin: 0 auto 2.4rem;
  line-height: 1.82;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 1.2rem 2rem;
  max-width: 480px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}
.stat-item { text-align: center; padding: 0 1.5rem; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator a {
  color: rgba(255,255,255,0.55);
  font-size: 1.3rem;
  animation: bounce 2.2s infinite;
  display: block;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(9px); }
}

/* ===== MISIÓN / VISIÓN ===== */
.mission-vision { background: var(--white); }
.mv-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: var(--transition);
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card:hover::before { opacity: 1; }
.mv-card-center {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-color: var(--primary);
}
.mv-card-center h3, .mv-card-center p { color: white; }
.mv-card-center p { opacity: 0.9; }
.mv-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0 auto 1.5rem;
}
.mv-card-center .mv-card-icon {
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
}
.mv-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--dark); }
.mv-card p  { font-size: 0.95rem; color: var(--gray); line-height: 1.7; }
.nonprofit-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #fffbf0, #fff8e6);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.5rem;
  flex-wrap: wrap;
}
.nonprofit-icon { font-size: 2rem; color: var(--primary); }
.nonprofit-text { flex: 1; min-width: 200px; }
.nonprofit-text strong { display: block; font-size: 1.05rem; color: var(--dark); margin-bottom: 0.3rem; }
.nonprofit-text span   { font-size: 0.9rem; color: var(--gray); }

/* ===== BENEFICIOS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white;
  margin-bottom: 1.2rem;
}
.benefit-card h4 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--dark); }
.benefit-card p  { font-size: 0.9rem;  color: var(--gray); line-height: 1.65; }

/* ===== ASESORÍAS ===== */
.services-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fff8e6, #fffbf0);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.9rem;
  color: var(--dark);
}
.services-note i { color: var(--gold); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--bg-light), #ede8e0);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}
.service-body { flex: 1; }
.service-num {
  display: block;
  font-size: 0.7rem; font-weight: 800;
  color: var(--gold); letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.service-body h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; line-height: 1.3; }
.service-body p  { font-size: 0.82rem; color: var(--gray); line-height: 1.6; }

.service-card-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-color: var(--primary);
  justify-content: center;
  align-items: center;
}
.service-card-cta::after { display: none; }
.service-card-cta:hover { box-shadow: 0 12px 32px rgba(139,26,26,0.32); }
.service-cta-inner { text-align: center; color: white; }
.service-cta-inner i    { font-size: 2rem; color: var(--gold-light); margin-bottom: 1rem; display: block; }
.service-cta-inner h4   { color: white; margin-bottom: 0.75rem; font-size: 1.05rem; }
.service-cta-inner p    { color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1.2rem; }
.service-cta-inner .btn {
  background: rgba(255,255,255,0.14);
  color: white;
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
}
.service-cta-inner .btn:hover {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

/* ===== CÓMO FUNCIONA ===== */
.how-it-works { padding: 5rem 0; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.step-item { text-align: center; position: relative; color: white; }
.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.step-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 2px;
  background: linear-gradient(90deg, rgba(201,168,76,0.8), rgba(201,168,76,0.15));
}
.step-item h4 { font-size: 1.05rem; color: white; margin-bottom: 0.5rem; }
.step-item p  { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ===== EQUIPO ===== */
.team-pillars {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.team-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.team-pillar h4 { font-size: 1.2rem; color: var(--dark); margin-bottom: 0.75rem; }
.team-pillar p  { font-size: 0.9rem;  color: var(--gray); line-height: 1.65; }
.team-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.team-hl-stat { flex: 1; text-align: center; }
.hl-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem; font-weight: 800;
  color: var(--gold-light); line-height: 1;
}
.hl-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}
.team-hl-sep {
  width: 1px; height: 70px;
  background: rgba(255,255,255,0.2);
}
.team-quote { text-align: center; max-width: 720px; margin: 0 auto; }
.team-quote blockquote {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-style: italic;
  color: var(--gray); line-height: 1.8;
  padding: 1.5rem 2.5rem;
  position: relative;
}
.team-quote blockquote::before {
  content: '"';
  font-size: 5rem; color: var(--primary); opacity: 0.2;
  position: absolute; top: -0.8rem; left: 0;
  font-family: var(--font-heading); line-height: 1;
}
.team-quote cite { font-size: 0.88rem; font-weight: 700; color: var(--primary); }

/* ===== COMMUNITY TYPES ===== */
.community-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}
.community-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.community-type {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.community-type:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139,26,26,0.2);
}
.community-type i {
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.community-type:hover i { color: white; }

/* ===== ACORDEÓN DE ASESORÍAS ===== */
.services-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.acc-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease;
}
.acc-item:hover { box-shadow: var(--shadow-lg); }
.acc-item.open { border-color: var(--primary); }
.acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}
.acc-header:hover { background: var(--bg-light); }
.acc-item.open .acc-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.acc-item.open .acc-header .acc-num,
.acc-item.open .acc-header .acc-title { color: white; }
.acc-item.open .acc-header .acc-arrow { color: white; transform: rotate(180deg); }
.acc-item.open .acc-icon-wrap { background: rgba(255,255,255,0.2); color: white; }

.acc-header--gold:hover { background: linear-gradient(135deg, #fffbf0, #fff8e6); }
.acc-item.open .acc-header--gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.acc-item.open .acc-header--gold .acc-num,
.acc-item.open .acc-header--gold .acc-title { color: var(--dark); }
.acc-item.open .acc-header--gold .acc-arrow { color: var(--dark); }
.acc-item.open .acc-header--gold .acc-icon-wrap { background: rgba(0,0,0,0.1); color: var(--dark); }

.acc-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.acc-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 28px;
  transition: var(--transition);
}
.acc-title {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  transition: var(--transition);
}
.acc-arrow {
  font-size: 0.85rem;
  color: var(--gray-light);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.3s ease;
  padding: 0 1.5rem;
}
.acc-body.open {
  max-height: 600px;
  padding: 1.2rem 1.5rem 1.6rem;
}
.acc-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.9rem;
}
.acc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  padding: 0;
}
.acc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--dark);
  line-height: 1.5;
}
.acc-list li i {
  color: var(--primary);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Banner CTA de servicios */
.services-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  flex-wrap: wrap;
}
.scta-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
  min-width: 200px;
}
.scta-left > i { font-size: 2.2rem; color: var(--gold-light); flex-shrink: 0; }
.scta-left strong { display: block; font-size: 1.05rem; color: white; margin-bottom: 0.3rem; }
.scta-left p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin: 0; line-height: 1.55; }
.services-cta-banner .btn {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
  flex-shrink: 0;
}
.services-cta-banner .btn:hover {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* ===== TEAM EXPERTISE ===== */
.team-expertise {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.te-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.te-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 20px;
  background: linear-gradient(to bottom, var(--primary), var(--gold));
  border-radius: 2px;
}
.te-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.te-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}
.te-item i {
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.te-item:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fff5f5, #fff);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139,26,26,0.1);
}

/* ===== CONTACTO ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 1rem; }
.contact-info > p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
.contact-details { margin-bottom: 2rem; }
.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-item strong { display: block; font-size: 0.78rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.contact-detail-item span   { font-size: 0.92rem; color: var(--dark); line-height: 1.5; }
.contact-detail-item a { color: var(--primary); font-weight: 600; }
.contact-detail-item a:hover { text-decoration: underline; }
.whatsapp-contact { margin-bottom: 1.5rem; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.btn-whatsapp i { font-size: 1.3rem; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.45); color: white; }
.whatsapp-note { display: block; font-size: 0.78rem; color: var(--gray-light); margin-top: 6px; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 1.4rem; color: var(--dark);
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--bg-light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 0.8rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e74c3c; }
.field-error { display: block; font-size: 0.78rem; color: #e74c3c; margin-top: 4px; min-height: 1.1em; }

/* ---- Checkbox de privacidad — custom visual ---- */
.form-privacy { flex-direction: column; gap: 6px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.55;
  user-select: none;
}

/* Ocultar el input nativo pero mantenerlo accesible */
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Cuadro personalizado */
.checkbox-label .checkbox-box {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  margin-top: 1px;
  position: relative;
}

/* Palomita SVG (oculta por defecto) */
.checkbox-label .checkbox-box::after {
  content: '';
  display: block;
  width: 5px;
  height: 10px;
  border: 2.5px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) scale(0);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: -2px;
}

/* Estado: checked */
.checkbox-label input[type="checkbox"]:checked + .checkbox-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(139,26,26,0.3);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-box::after {
  transform: rotate(45deg) scale(1);
}

/* Estado: hover */
.checkbox-label:hover .checkbox-box {
  border-color: var(--primary);
  background: #fff5f5;
}

/* Estado: focus (accesibilidad teclado) */
.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-box {
  outline: 3px solid rgba(139,26,26,0.35);
  outline-offset: 2px;
}

/* Estado: error */
.checkbox-label.has-error .checkbox-box {
  border-color: #e74c3c;
  background: #fff5f5;
}

.checkbox-label a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.checkbox-label a:hover { color: var(--primary-dark); }
.form-success {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #16a34a;
  border-radius: var(--radius);
  padding: 1.5rem; text-align: center; margin-top: 1rem;
}
.form-success i      { font-size: 2rem; color: #16a34a; display: block; margin-bottom: 0.5rem; }
.form-success strong { display: block; font-size: 1.05rem; color: #15803d; margin-bottom: 0.5rem; }
.form-success p      { font-size: 0.9rem; color: #166534; }
.form-error-msg {
  background: #fef2f2; border: 2px solid #e74c3c;
  border-radius: var(--radius);
  padding: 1.2rem; display: flex; gap: 0.75rem; margin-top: 1rem;
}
.form-error-msg i { color: #e74c3c; font-size: 1.2rem; }
.form-error-msg p { font-size: 0.88rem; color: #991b1b; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-logo {
  height: 52px; width: auto;
  margin-bottom: 1.2rem;
  /* Invertir logo a blanco sobre footer oscuro */
  filter: brightness(0) invert(1) brightness(0.88);
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.footer-links h5,
.footer-contact h5 {
  font-size: 0.9rem; font-weight: 700;
  color: white; margin-bottom: 1.2rem;
}
.footer-links ul li { margin-bottom: 0.55rem; }
.footer-links ul li a {
  font-size: 0.87rem; color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact address { font-style: normal; }
.footer-contact p {
  display: flex; gap: 8px;
  align-items: flex-start;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  margin-bottom: 0.8rem;
}
.footer-contact p i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-cta { margin-top: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; }
.footer-bottom-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.38); }
.footer-legal { display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; }
.footer-legal a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-legal a:hover { color: var(--gold-light); }
.footer-legal span { color: rgba(255,255,255,0.18); }

/* ===== FLOTANTES ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  color: white; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  z-index: 900;
  transition: var(--transition);
  text-decoration: none;
}
.floating-whatsapp:hover { transform: scale(1.1); color: white; }
.wa-tooltip {
  position: absolute; right: 68px;
  background: var(--dark); color: white;
  padding: 6px 12px; border-radius: 8px;
  font-size: 0.78rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: var(--transition); text-align: center; line-height: 1.4;
}
.wa-tooltip::after {
  content: ''; position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark); border-right: none;
}
.floating-whatsapp:hover .wa-tooltip { opacity: 1; }
.back-to-top {
  position: fixed;
  bottom: 6.5rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--primary); color: white;
  border-radius: 50%; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(139,26,26,0.35);
  z-index: 899;
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  border: none; cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */

/* ── Tablet grande (≤1024px) ── */
@media (max-width: 1024px) {
  .mv-cards       { grid-template-columns: 1fr 1fr; }
  .mv-card:last-child { grid-column: span 2; }
  .services-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .impact-grid    { grid-template-columns: repeat(2, 1fr); }
  .te-grid        { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablet / Mobile grande (≤768px) ── */
@media (max-width: 768px) {
  .section-padding { padding: 3.5rem 0; }

  /* ---- Navbar mobile ---- */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(80vw, 300px); height: 100vh;
    background: white;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -8px 0 40px rgba(0,0,0,0.14);
    transition: right 0.35s cubic-bezier(0.16,1,0.3,1);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu ul { flex-direction: column; gap: 0.25rem; }
  .nav-link { color: var(--dark) !important; padding: 12px 16px; font-size: 0.95rem; }
  .nav-link:hover { background: var(--bg-light) !important; color: var(--primary) !important; }
  .nav-link.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: white !important; text-align: center; margin-top: 1rem;
    box-shadow: 0 4px 14px rgba(139,26,26,0.3) !important;
  }

  /* ---- Hero mobile ---- */
  .hero { padding: 6rem 1.2rem 3rem; min-height: 100svh; }
  .hero-logo-img { height: 160px; }
  .hero-logo-wrap { margin-bottom: 1.5rem; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.15; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.8rem; }
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn-lg { padding: 13px 24px; font-size: 0.92rem; }
  .hero-stats {
    flex-direction: row;
    gap: 0;
    padding: 1rem 0.8rem;
    max-width: 100%;
    justify-content: space-around;
  }
  .stat-item { padding: 0 0.6rem; }
  .stat-number { font-size: 1.5rem; }
  .stat-label  { font-size: 0.65rem; }
  .stat-divider { width: 1px; height: 36px; }

  /* ---- Misión / Visión ---- */
  .mv-cards      { grid-template-columns: 1fr; gap: 1rem; }
  .mv-card:last-child { grid-column: span 1; }
  .community-types { grid-template-columns: 1fr 1fr; }
  .nonprofit-banner { flex-direction: column; text-align: center; gap: 1rem; }

  /* ---- Valores ---- */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .value-card  { padding: 1.5rem 1.2rem; }

  /* ---- Impacto ---- */
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .impact-message { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem 1.5rem; }
  .impact-msg-icon { font-size: 2.5rem; }
  .impact-msg-text h3 { font-size: 1.15rem; }

  /* ---- Beneficios ---- */
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .benefit-card  { padding: 1.5rem 1.2rem; }

  /* ---- Acordeón ---- */
  .acc-header { padding: 1rem 1.1rem; gap: 0.7rem; }
  .acc-title  { font-size: 0.9rem; }
  .acc-list   { grid-template-columns: 1fr; }
  .acc-body.open { padding: 1rem 1.1rem 1.4rem; }

  /* ---- Pasos ---- */
  .steps-row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .step-connector { display: none; }

  /* ---- Equipo ---- */
  .team-pillars  { grid-template-columns: 1fr; gap: 1rem; }
  .team-highlight { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; }
  .team-hl-sep   { width: 60px; height: 1px; }
  .hl-number     { font-size: 2.2rem; }
  .te-grid       { grid-template-columns: 1fr 1fr; }

  /* ---- Formulario ---- */
  .form-row      { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.8rem 1.4rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; padding: 13px 14px; } /* tamaño táctil mínimo */

  /* ---- CTA final ---- */
  .cta-final-inner { padding: 2.5rem 1.5rem; }
  .cta-final-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .cta-final-actions { flex-direction: column; align-items: center; }
  .cta-final-features { gap: 0.7rem 1.2rem; }
  .cff-item { font-size: 0.8rem; }

  /* ---- Acordeón CTA banner ---- */
  .services-cta-banner { flex-direction: column; text-align: center; }
  .scta-left { flex-direction: column; text-align: center; }

  /* ---- Footer ---- */
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-legal  { flex-wrap: wrap; justify-content: center; }
  .footer-top    { padding: 3rem 0 2rem; }

  /* ---- Flotantes ---- */
  .floating-whatsapp { bottom: 1.2rem; right: 1.2rem; width: 52px; height: 52px; font-size: 1.5rem; }
  .back-to-top { bottom: 5rem; right: 1.2rem; width: 40px; height: 40px; font-size: 0.9rem; }

  /* ---- Cookie banner ---- */
  .cookie-content { flex-direction: column; padding: 1.2rem 1rem; gap: 1rem; }
  .cookie-actions { width: 100%; flex-direction: column; gap: 0.5rem; }
  .btn-cookie-accept,
  .btn-cookie-config,
  .btn-cookie-reject { width: 100%; text-align: center; padding: 12px 20px; }
}

/* ── Mobile pequeño (≤480px) ── */
@media (max-width: 480px) {
  .section-padding { padding: 3rem 0; }

  /* Hero */
  .hero { padding: 5.5rem 1rem 2.5rem; }
  .hero-logo-img { height: 120px; }
  .hero-title    { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-actions  { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-stats    { padding: 0.9rem 0.5rem; }
  .stat-number   { font-size: 1.3rem; }
  .stat-label    { font-size: 0.6rem; }

  /* Grids a 1 columna */
  .values-grid   { grid-template-columns: 1fr; }
  .impact-grid   { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .community-types { grid-template-columns: 1fr; }
  .steps-row     { grid-template-columns: 1fr; }
  .te-grid       { grid-template-columns: 1fr 1fr; }

  /* Acordeón */
  .acc-icon-wrap { width: 34px; height: 34px; font-size: 0.95rem; }
  .acc-num       { min-width: 22px; font-size: 0.65rem; }

  /* Equipo */
  .team-highlight { padding: 1.5rem 1rem; }
  .hl-number     { font-size: 1.8rem; }
  .hl-label      { font-size: 0.75rem; }

  /* Formulario */
  .contact-form-wrap { padding: 1.3rem 1rem; }
  .contact-form h3   { font-size: 1.15rem; margin-bottom: 1.2rem; }

  /* CTA final */
  .cta-final-inner { padding: 2rem 1.2rem; }
  .cta-final-features { flex-direction: column; align-items: center; }

  /* Footer */
  .footer-legal span { display: none; } /* ocultar separadores | */
  .footer-legal { gap: 0.6rem; }

  /* Flotantes — sin superposición */
  .floating-whatsapp { bottom: 1rem; right: 1rem; width: 48px; height: 48px; font-size: 1.4rem; }
  .back-to-top { bottom: 4.5rem; right: 1rem; }
  .wa-tooltip { display: none; } /* tooltip no cabe en pantalla pequeña */

  /* Cookie banner muy pequeño */
  .cookie-icon { display: none; }
}

/* ===== VALORES INSTITUCIONALES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 14px rgba(139,26,26,0.25);
  transition: var(--transition);
}
.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
}
.value-card h4 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--dark); }
.value-card p  { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

/* ===== IMPACTO ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.impact-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 2rem 1.2rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.impact-stat:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-4px);
}
.impact-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.impact-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.impact-message {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  flex-wrap: wrap;
}
.impact-msg-icon {
  font-size: 3.5rem;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.8;
}
.impact-msg-text { flex: 1; min-width: 260px; }
.impact-msg-text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: white;
  margin-bottom: 0.9rem;
  line-height: 1.35;
}
.impact-msg-text p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* ===== CTA FINAL ===== */
.cta-final { }
.cta-final-inner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4a0f0f 50%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-final-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(139,26,26,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.cta-final-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.8rem;
}
.cta-final-title {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  color: white;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  position: relative;
}
.cta-final-title span { color: var(--gold-light); }
.cta-final-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  position: relative;
}
.cta-final-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  position: relative;
}
.btn-outline-dark {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: white;
  transform: translateY(-2px);
}
.cta-final-features {
  display: flex;
  gap: 1.2rem 2rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cff-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.cff-item i { color: var(--gold-light); font-size: 0.8rem; }

/* ===== RESPONSIVE: nuevas secciones ===== */
@media (max-width: 1024px) {
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .impact-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .values-grid  { grid-template-columns: 1fr 1fr; }
  .impact-grid  { grid-template-columns: 1fr 1fr; }
  .impact-message { flex-direction: column; text-align: center; gap: 1.5rem; }
  .cta-final-inner { padding: 2.5rem 1.5rem; }
  .cta-final-features { gap: 0.8rem 1.5rem; }
}
@media (max-width: 480px) {
  .values-grid  { grid-template-columns: 1fr; }
  .impact-grid  { grid-template-columns: 1fr; }
  .cta-final-actions { flex-direction: column; align-items: center; }
}

/* ===== MISC ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
