/* Google Fonts se cargan desde el HTML <head> con preconnect para evitar render-blocking */

/* Fallback @font-face con font-display: swap para que Lighthouse no marque el error */
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: local('Inter');
}
@font-face {
  font-family: 'Outfit';
  font-display: swap;
  src: local('Outfit');
}

:root {
  /* Travel Site Light Theme */
  --bg-color: #ffffff;
  --bg-secondary: #f7f9fa;
  --text-main: #222222;
  --text-muted: #717171;
  
  /* Travel Accents */
  --accent-primary: #FF385C; /* Airbnb-style Coral/Red */
  --accent-blue: #0071c2; /* Booking-style Blue */
  --accent-green: #00a699;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-blur: blur(20px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Header */
.elite-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.elite-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

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

.brand-logo img {
  height: 45px;
  width: auto;
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1); /* White on transparent hero */
}

.elite-header.scrolled .brand-logo img {
  filter: none; /* Original colors on white bg */
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.brand-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.elite-header.scrolled .brand-title {
  color: #2E3192;
}

.elite-header.scrolled .brand-subtitle {
  color: #2E3192;
}

.nav-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
  margin-right: 1rem;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s ease;
}

.elite-header.scrolled .nav-links a {
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--accent-primary) !important;
}

/* ---- Hamburger Button ---- */
.menu-toggle-btn {
  display: none; /* Oculto en escritorio */
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 5px 15px;
  border-radius: 30px;
  border: 1px solid #ddd;
  color: #222;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}
.menu-toggle-btn:hover {
  background: #f0f4f8;
}
.menu-user-icon {
  font-size: 1.8rem;
  color: #005eb8;
}

/* ---- Mobile Overlay ---- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-overlay.is-visible {
  display: block;
  opacity: 1;
}

/* ---- Mobile Menu Panel ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.mobile-menu.is-open {
  transform: translateX(0);
}

/* Panel Header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #ebebeb;
  background: #002244;
}
.mobile-menu-logo img {
  filter: brightness(0) invert(1);
}
.menu-close-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.menu-close-btn:hover {
  background: rgba(255,255,255,0.3);
}

/* Panel Links */
.mobile-menu-links {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}
.mobile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1rem 1.5rem;
  color: #222;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-link i {
  color: #005eb8;
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.mobile-link:hover {
  background: #f0f6ff;
  color: #005eb8;
}

/* Panel Footer */
.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid #ebebeb;
}
.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: #002244;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}
.mobile-cta-btn:hover {
  background: #005eb8;
}

/* Travel Search Widget in Hero */

.hero-section {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
  background: url('../img/carabobo-hero-1920.webp') center/cover no-repeat;
}

@media (max-width: 768px) {
  .hero-section {
    background: url('../img/carabobo-hero-mobile.webp') center/cover no-repeat;
  }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0, 20, 50, 0.9) 0%, rgba(0, 20, 50, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  width: 100%;
  max-width: 1200px;
  margin-top: 6rem;
}

/* New Hero Layout */
.wb-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.wb-hero-text {
  max-width: 700px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-paragraph {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
}

.wb-btn-white {
  background: #fff;
  color: #002244;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 2rem;
}

.wb-hero-footer {
  position: absolute;
  bottom: 20px;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 10;
}

.wb-line {
  height: 1px;
  background: rgba(255,255,255,0.4);
  width: 200px;
}

.search-widget {
  background: #fff;
  border-radius: 50px;
  padding: 10px;
  display: flex;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.search-field {
  flex: 1;
  padding: 15px 30px;
  border-right: 1px solid #ebebeb;
  text-align: left;
}

.search-field:last-of-type {
  border-right: none;
}

.search-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 5px;
}

.search-input {
  border: none;
  outline: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  width: 100%;
  background: transparent;
}

.search-btn {
  background: var(--accent-primary);
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}

.search-btn:hover {
  background: #e02e4e;
  transform: scale(1.05);
}

/* Categories Bar (WB Style Tabs) */
.categories-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 0 5%;
  background: #fff;
  border-bottom: 1px solid #ccc;
  overflow-x: auto;
}

.category-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #666;
  cursor: pointer;
  padding: 1.5rem 0.5rem;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.category-item.active, .category-item:hover {
  color: #002244;
  border-bottom: 3px solid #002244;
}

.category-item i {
  font-size: 1.1rem;
}

.category-item span {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sections */
.section {
  padding: 5rem 5%;
  background: #fff;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Municipios Strip (Grey Card Style) */
.wb-municipios-section {
  background: #fff;
  padding: 2rem 5% 4rem;
}
.wb-municipios-container {
  max-width: 1400px;
  margin: 0 auto;
  background: #eef2f5;
  padding: 4rem 0; /* Strip touches edges of the grey container */
  border-radius: 8px;
}
.wb-municipios-header {
  padding: 0 5%;
  margin-bottom: 2rem;
  color: #002244;
}
.wb-municipios-header h2 {
  font-size: 2.2rem;
  font-weight: 300;
  margin: 0;
  color: #002244;
}
.wb-municipios-header h2 strong {
  font-weight: 800;
}
.wb-municipios-header p {
  color: #555;
}
.wb-municipios-strip {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden; /* Evita que aparezca un scroll vertical accidental */
  gap: 8px;
  height: 420px; /* Compensado para el padding */
  padding: 20px 5%; /* Padding vertical para que el hover no se corte ni cause overflow */
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
}
.wb-municipios-strip.active {
  cursor: grabbing;
}
.wb-municipios-strip::-webkit-scrollbar {
  display: none;
}
.wb-municipios-carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.muni-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #002244;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 10;
  opacity: 0;
  transition: all 0.3s ease;
}
.wb-municipios-carousel-wrapper:hover .muni-nav-btn {
  opacity: 1;
}
.muni-nav-btn:hover {
  background: #003366;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.muni-nav-btn.left {
  left: 2%;
}
.muni-nav-btn.right {
  right: 2%;
}
.wb-muni-card {
  flex: 0 0 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
  scroll-snap-align: start;
  border-bottom: 4px solid #005eb8;
}
.wb-muni-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0, 34, 68, 0.95) 0%, rgba(0, 34, 68, 0) 60%);
  transition: all 0.3s ease;
}
.wb-muni-card:hover::before {
  background: linear-gradient(to top, rgba(0, 34, 68, 0.95) 0%, rgba(0, 34, 68, 0.4) 100%);
}
.wb-muni-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wb-muni-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  text-align: left;
}

/* Travel Cards Grid */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.travel-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.travel-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
}

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

.travel-card:hover .travel-card-img img {
  transform: scale(1.05);
}

.heart-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.heart-btn:hover {
  transform: scale(1.1);
  color: var(--accent-primary);
}

.travel-card-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.travel-card-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.travel-card-price {
  font-weight: 700;
  margin-top: 8px;
}

.travel-card-price span {
  font-weight: 400;
  color: var(--text-muted);
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 0.95rem;
}

.rating i {
  color: var(--accent-primary);
}



/* World Bank Data Section */
.wb-data-section {
  background: #f0f4f8; /* Light blueish gray from image */
  padding: 5rem 5%;
  position: relative;
  overflow: hidden;
}
.wb-data-section::before {
  content: '';
  position: absolute;
  left: -5%; top: 20%;
  width: 50%; height: 60%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><path d="M0 150 L100 50 L200 120 L300 20 L400 80" fill="none" stroke="%23cbd5e1" stroke-width="2"/><circle cx="100" cy="50" r="4" fill="%23f0f4f8" stroke="%23cbd5e1" stroke-width="2"/><circle cx="200" cy="120" r="4" fill="%23f0f4f8" stroke="%23cbd5e1" stroke-width="2"/><circle cx="300" cy="20" r="4" fill="%23f0f4f8" stroke="%23cbd5e1" stroke-width="2"/></svg>') no-repeat center/contain;
  opacity: 0.6;
  pointer-events: none;
}
.wb-data-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
}
.wb-data-title {
  font-size: 2.2rem;
  color: #002244;
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.2;
}
.wb-data-desc {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.wb-btn-dark {
  background: #003366;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 3rem;
}
.wb-pills-title {
  font-size: 1.1rem;
  color: #002244;
  margin-bottom: 1rem;
}
.wb-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wb-pill {
  border: 1px solid #003366;
  color: #003366;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.wb-pill:hover {
  background: #003366;
  color: #fff;
}
.wb-data-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.wb-data-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
}
.wb-data-card::before {
  content: '';
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 3px;
}
.card-orange::before { background: #f29c38; }
.card-purple::before { background: #8e44ad; }
.card-red::before { background: #c0392b; }

.card-category {
  font-size: 0.8rem;
  font-weight: 800;
  color: #333;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.card-number {
  font-size: 3rem;
  font-weight: 800;
  color: #002244;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.card-text {
  font-size: 0.95rem;
  color: #002244;
  flex-grow: 1;
  margin-bottom: 2rem;
}
.card-text strong {
  font-weight: 800;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}
.card-footer a {
  font-size: 0.8rem;
  color: #003366;
  font-weight: 700;
  font-style: italic;
  text-decoration: underline;
}
.card-arrow {
  width: 30px; height: 30px;
  border: 1px solid #003366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #003366;
  font-size: 0.8rem;
}
/* Impulsar / Empoderar Section */
.wb-empower-section {
  padding: 4rem 5%;
}
.wb-empower-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 900px) {
  .wb-empower-container {
    flex-direction: row;
    gap: 4rem;
  }
}
.wb-empower-left {
  flex: 1;
}
.wb-empower-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: #002244;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.wb-empower-title strong {
  font-weight: 800;
}
.wb-empower-link {
  display: inline-block;
  color: #005eb8;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 5px;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}
.wb-empower-link:hover {
  border-bottom-color: #005eb8;
}
.wb-empower-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}
.wb-empower-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wb-pill-outline {
  padding: 8px 16px;
  border: 1px solid #005eb8;
  border-radius: 20px;
  color: #005eb8;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.wb-pill-outline:hover {
  background: #005eb8;
  color: #fff;
}
.wb-empower-right {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.wb-empower-main-card, .wb-empower-secondary-card {
  display: flex;
  flex-direction: column;
}
.empower-img-main {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.empower-img-sec {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.wb-empower-content {
  padding: 1.5rem 0;
}
.wb-empower-content.border-green {
  border-left: 3px solid #28a745;
  padding-left: 1.5rem;
}
.wb-empower-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #002244;
  line-height: 1.4;
  margin: 0;
}

/* World Bank Newsletter Section */
.wb-newsletter-section {
  background: #fff;
  padding: 2rem 5% 4rem;
}
.wb-newsletter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: #eef2f5;
  padding: 4rem 5%;
  border-radius: 6px;
  align-items: center;
}
.wb-nl-title {
  font-size: 1.8rem;
  color: #002244;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.wb-nl-title strong {
  font-weight: 800;
}
.wb-nl-desc {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}
.wb-nl-inputs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
}
.wb-nl-inputs input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  outline: none;
  background: #fff;
}
.wb-nl-inputs input:first-child {
  border-radius: 25px 0 0 25px;
  border-right: none;
}
.wb-nl-inputs input:last-child {
  border-radius: 0 25px 25px 0;
}
.wb-nl-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  line-height: 1.4;
}
.wb-nl-checkbox input {
  margin-top: 3px;
}
.wb-nl-checkbox a {
  color: #003366;
  text-decoration: underline;
}
.wb-nl-submit {
  background: #003366;
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s;
}
.wb-nl-submit:hover {
  opacity: 0.9;
}

.exp-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.exp-text {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Nuestras Prioridades (World Bank Style) */
.wb-priorities-section {
  padding: 4rem 5%;
  background: #fff;
  max-width: 1600px;
  margin: 0 auto;
}
.wb-priorities-header {
  margin-bottom: 2rem;
  text-align: left;
}
.wb-priorities-header h2 {
  font-size: 2.2rem;
  color: #002244;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 0;
}
.wb-priorities-header h2 strong {
  font-weight: 800;
}
.wb-priorities-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3px;
  height: 550px;
}
.wb-priority-main {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.wb-priority-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0, 34, 68, 0.95) 0%, rgba(0, 34, 68, 0.1) 60%);
}
.wb-priority-main-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
}
.wb-priority-main-content h3 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.wb-priority-main-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 90%;
  color: rgba(255,255,255,0.95);
}
.wb-priority-link {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
  text-transform: uppercase;
}

.wb-priority-vertical {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}
.wb-vert-card {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.wb-vert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0, 34, 68, 0.9) 0%, rgba(0, 34, 68, 0.1) 50%);
  transition: all 0.3s ease;
}
.wb-vert-card:hover::before {
  background: linear-gradient(to top, rgba(0, 34, 68, 0.95) 0%, rgba(0, 34, 68, 0.4) 100%);
}
.wb-vert-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wb-vert-content h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  max-width: 70%;
  line-height: 1.2;
}
.wb-plus-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}
.wb-plus-btn:hover {
  background: #fff;
  color: #002244;
  border-color: #fff;
}

/* Make it responsive */
@media (max-width: 1200px) {
  .wb-priorities-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .wb-priority-main {
    height: 400px;
  }
  .wb-priority-vertical {
    height: 400px;
  }
}
@media (max-width: 768px) {
  .wb-priority-vertical {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .wb-vert-card {
    height: 250px;
  }
}

/* Academy Section (Transformando Vidas Style) */
.wb-academy-section {
  background: #002244;
  padding: 3.5rem 5%;
  margin: 7rem 0; /* Huge margins to allow the circle image to break out */
  position: relative;
}
.wb-academy-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
}
.wb-academy-content {
  flex: 1;
  max-width: 50%;
}
.wb-academy-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}
.wb-academy-title strong {
  font-weight: 800;
}
.wb-academy-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}
.wb-academy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.wb-academy-col {
  position: relative;
}
/* Divider line for the right column */
.wb-academy-col:nth-child(2)::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.2);
}
.wb-academy-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.wb-academy-col p {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.wb-academy-col a {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  padding-bottom: 3px;
  display: inline-block;
}
.wb-academy-image {
  flex-shrink: 0;
  position: relative;
  width: 450px;
}
.circle-image-wrapper {
  width: 550px;
  height: 550px;
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  z-index: 10;
}
.circle-image-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.circle-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.circle-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px; bottom: -15px; left: -15px; right: -15px;
  border-radius: 50%;
  border-left: 20px solid rgba(0, 34, 68, 0.4);
  border-top: 5px solid rgba(0, 34, 68, 0.1);
  border-bottom: 5px solid rgba(0, 34, 68, 0.1);
  transform: rotate(-15deg);
  z-index: 1;
}
.circle-image-wrapper::after {
  content: '';
  position: absolute;
  top: -30px; bottom: -30px; left: -30px; right: -30px;
  border-radius: 50%;
  border-left: 15px solid rgba(0, 34, 68, 0.2);
  transform: rotate(-5deg);
  z-index: 1;
}

@media (max-width: 1024px) {
  .wb-academy-container {
    flex-direction: column;
    text-align: left;
  }
  .wb-academy-content {
    max-width: 100%;
  }
  .circle-image-wrapper {
    position: relative;
    top: auto; left: auto;
    right: auto;
    transform: none;
    width: 350px;
    height: 350px;
    margin: 2rem auto 0;
  }
}
@media (max-width: 768px) {
  .wb-academy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .wb-academy-col:nth-child(2)::before {
    display: none;
  }
}

/* World Bank Research Section */
.wb-research-section {
  padding: 6rem 5%;
  background: #fff;
}
.wb-research-container {
  max-width: 1250px;
  margin: 0 auto;
}
.wb-research-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}
.wb-research-header h2 {
  font-size: 2.2rem;
  color: #002244;
  font-weight: 300;
  margin: 0;
}
.wb-research-header h2 strong {
  font-weight: 800;
}
.wb-research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.wb-research-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.wb-research-img {
  width: 220px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.wb-research-img img {
  width: 100%;
  height: auto;
  display: block;
}
.wb-research-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wb-research-title {
  color: #003366;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.wb-research-divider {
  border: none;
  border-top: 1px solid #eee;
  margin-bottom: 1rem;
  width: 100%;
}
.wb-research-desc {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.wb-research-link {
  color: #003366;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
  transition: border-color 0.3s;
}
.wb-research-link:hover {
  border-bottom: 1px solid #003366;
}

@media (max-width: 1024px) {
  .wb-research-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .stats-banner {
    grid-template-columns: 1fr 1fr;
  }
  .wb-research-header {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .wb-research-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .wb-research-img {
    width: 100%;
    max-width: 300px;
  }
  .wb-research-link {
    align-self: center;
  }
}

/* World Bank CTA Section */
.wb-cta-section {
  background: #002244;
  padding: 4rem 5%;
}
.wb-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}
.wb-cta-text {
  flex: 1;
}
.wb-cta-text h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.wb-cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.6;
}
.wb-cta-action {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .wb-cta-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

/* Structured Elite Footer */
.elite-footer {
  background: #eef2f5;
  padding: 5rem 5% 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-family: 'Inter', sans-serif;
  color: #002244;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-brand-col {
  padding-right: 2rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer-brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #002244;
  letter-spacing: 0.5px;
}

.footer-brand-title span {
  font-weight: 300;
  color: #555;
}

.footer-brand-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 300;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 5px;
}

.social-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: #002244;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: #002244;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  color: #002244;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links a {
  color: #555;
  font-size: 0.95rem;
  font-weight: 300;
  position: relative;
  transition: color 0.3s ease;
  width: fit-content;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #005eb8;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #005eb8;
}

.footer-links a:hover::after {
  width: 100%;
}

.highlight-link {
  font-weight: 500 !important;
  color: #005eb8 !important;
}

.footer-contact-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 3rem;
  margin-bottom: 3rem;
}

.contact-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  color: #002244;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-item i {
  color: #005eb8;
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact-item span {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
  color: #777;
  font-size: 0.85rem;
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-bottom-links a {
  color: #777;
}

.footer-bottom-links a:hover {
  color: var(--text-main);
}

/* El Poder del Proposito Section */
.wb-purpose-section {
  background: #fff;
  padding: 4rem 5%;
}
.wb-purpose-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 900px) {
  .wb-purpose-container {
    flex-direction: row;
    gap: 5rem;
  }
}
.wb-purpose-left {
  flex: 1;
}
.wb-purpose-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #002244;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.wb-purpose-title strong {
  font-weight: 800;
}
.wb-purpose-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}
.wb-purpose-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.wb-purpose-stat {
  border-left: 3px solid #0071c2;
  padding-left: 1.5rem;
}
.wb-purpose-stat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}
.wb-purpose-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #002244;
  line-height: 1;
}
.wb-purpose-icon {
  font-size: 1.2rem;
  color: #003366;
}
.wb-purpose-stat-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  margin: 0;
}


/* Newsletter Section */
.wb-newsletter-section {
  background: #f0f4f8;
  padding: 5rem 5%;
  border-top: 1px solid #e0e0e0;
}
.wb-newsletter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.wb-nl-left {
  flex: 1;
  min-width: 0;
}
.wb-nl-title {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.3;
  color: #003366;
  margin-bottom: 1rem;
}
.wb-nl-title strong {
  font-weight: 800;
}
.wb-nl-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
.wb-nl-right {
  flex: 1;
  min-width: 0;
}
.wb-nl-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wb-nl-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wb-nl-inputs input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #c8d6e5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  color: #222;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  display: block;
}
.wb-nl-inputs input::placeholder {
  color: #888;
}
.wb-nl-inputs input:focus {
  border-color: #005eb8;
  box-shadow: 0 0 0 3px rgba(0,94,184,0.12);
}
.wb-nl-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}
.wb-nl-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #005eb8;
}
.wb-nl-checkbox a {
  color: #005eb8;
  text-decoration: underline;
}
.wb-nl-submit {
  background: #005eb8;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
}
.wb-nl-submit:hover {
  background: #003d7a;
  transform: translateY(-2px);
}

/* Priorities Section */

.wb-priorities-section {
  padding: 5rem 5%;
  background: #fff;
}
.wb-priorities-header {
  margin-bottom: 3rem;
}
.wb-priorities-header h2 {
  font-size: 2.2rem;
  font-weight: 300;
  color: #002244;
}
.wb-priorities-header h2 strong {
  font-weight: 800;
}
.wb-priorities-grid {
  display: flex;
  gap: 2px;
  align-items: stretch;
}
.wb-priority-main {
  flex: 0 0 35%; /* Estructura original restaurada */
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  border-radius: 4px;
  overflow: hidden;
}
.wb-priority-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,34,68,0.9), transparent);
}
.wb-priority-main-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.wb-priority-main-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.wb-priority-main-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.wb-priority-link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.wb-priority-vertical {
  flex: 1; /* Ocupa el 65% restante */
  display: flex;
  gap: 2px;
}
.wb-vert-card {
  flex: 1; /* Cada tarjeta toma un ancho igual */
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem 0.5rem;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.wb-vert-card:hover {
  transform: translateY(-10px);
}
.wb-vert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,34,68,0.8), transparent);
}
.wb-vert-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center; /* alinea texto y botón en la misma fila */
  width: 100%;
  gap: 5px;
}
.wb-vert-content h4 {
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.1;
  white-space: normal; /* permite que baje a dos líneas limpias en vez de cortarse */
  text-align: left;
}
.wb-plus-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.wb-plus-btn i {
  font-size: 0.65rem;
}
.wb-plus-btn:hover {
  background: #fff;
  color: #002244;
}

/* =====================================================
   MOBILE RESPONSIVENESS - Complete Overhaul
   ===================================================== */

/* --- TABLET (≤ 1024px) --- */
@media (max-width: 1024px) {

  /* Global overflow fix */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* ---- Header tablet ---- */
  .nav-links {
    display: none !important;   /* Ocultar nav en tablet — demasiados links */
  }
  .menu-toggle-btn {
    display: flex; /* Mostrar hamburguesa en tablet */
  }
  .elite-header {
    padding: 1rem 4%;
  }
  .brand-title {
    font-size: 1rem;
  }

  /* ---- Hero tablet ---- */
  .hero-section {
    padding: 0 4%;
    padding-top: 110px;
    padding-bottom: 60px;
    height: auto;
    min-height: 80vh;
    align-items: flex-start;
  }
  .hero-content.wb-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
  }
  .wb-hero-text {
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.6rem;
  }

  /* ---- Footer tablet ---- */
  .footer-top-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* ---- Data Section tablet ---- */
  .wb-data-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .wb-data-right {
    grid-template-columns: 1fr 1fr;
  }
}

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

  /* Global fix: nothing overflows the page horizontally */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* ---- Header / Nav ---- */
  .nav-links {
    display: none !important;
  }
  .menu-toggle-btn {
    display: flex; /* Mostrar hamburguesa en móvil */
  }
  .elite-header {
    padding: 0.8rem 4%;
  }
  .brand-logo img {
    height: 34px;
  }
  .brand-title {
    font-size: 0.85rem;
  }
  .brand-subtitle {
    font-size: 0.6rem;
  }

  /* ---- Hero ---- */
  .hero-section {
    height: auto;
    min-height: 90vh;
    padding: 0 4%;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .hero-content.wb-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
  }
  .wb-hero-text {
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .hero-paragraph {
    font-size: 0.95rem;
  }
  .wb-hero-action {
    width: 100%;
  }
  .wb-btn-white {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 260px;
  }
  .wb-hero-footer {
    display: none;
  }

  /* ---- Data / Estadísticas ---- */
  .wb-data-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 4%;
  }
  .wb-data-right {
    grid-template-columns: 1fr;
  }
  .wb-data-title {
    font-size: 1.8rem;
  }

  /* ---- Directorio / Buscador ---- */
  .wb-directory-section {
    padding: 3rem 4% !important;
  }
  .search-widget {
    flex-direction: column !important;
    border-radius: 16px;
    padding: 16px;
    gap: 10px;
  }
  .search-field {
    border-right: none !important;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    padding: 10px 0;
  }
  .search-field:last-of-type {
    border-bottom: none;
  }
  .search-btn {
    width: 100%;
    border-radius: 10px;
    margin-left: 0;
    height: 50px;
  }

  /* ---- Categories Bar ---- */
  .categories-bar {
    justify-content: flex-start;
    gap: 1rem;
    padding: 0 4%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .category-item {
    flex-shrink: 0;
  }

  /* ---- Prioridades ---- */
  .wb-priorities-section {
    padding: 3rem 4%;
  }
  .wb-priorities-grid {
    flex-direction: column;
    gap: 5px;
  }
  .wb-priority-main {
    flex: none;
    width: 100%;
    min-height: 280px;
    padding: 1.5rem;
  }
  .wb-priority-main-content h3 {
    font-size: 1.8rem;
  }
  .wb-priority-vertical {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 5px;
  }
  .wb-vert-card {
    flex: 0 0 calc(33.333% - 4px);
    min-height: 180px;
    padding: 1rem 0.7rem;
  }
  .wb-vert-content h4 {
    font-size: 0.8rem;
    white-space: normal;
  }

  /* ---- Municipios ---- */
  .wb-municipios-section {
    padding: 2rem 0;
  }
  .wb-municipios-container {
    border-radius: 0;
    padding: 2rem 0;
  }
  .wb-municipios-header {
    padding: 0 4%;
  }
  .wb-municipios-header h2 {
    font-size: 1.7rem;
  }
  .wb-municipios-strip {
    height: 280px;
    padding: 10px 4%;
  }
  .wb-muni-card {
    flex: 0 0 160px;
  }

  /* ---- Newsletter ---- */
  .wb-newsletter-section {
    padding: 3rem 4%;
  }
  .wb-newsletter-container {
    flex-direction: column;
    gap: 2rem;
  }
  .wb-nl-left,
  .wb-nl-right {
    width: 100%;
  }
  .wb-nl-title {
    font-size: 1.6rem;
  }
  .wb-nl-submit {
    width: 100%;
    justify-content: center;
  }

  /* ---- Impulsar / Empoderar ---- */

  .wb-empower-section {
    padding: 3rem 4%;
  }
  .wb-empower-container {
    flex-direction: column !important;
    gap: 2rem;
  }
  .wb-empower-right {
    flex-direction: column;
    gap: 1rem;
  }
  .wb-empower-main-card,
  .wb-empower-secondary-card {
    flex-direction: column !important;
  }
  .wb-empower-main-card img,
  .wb-empower-secondary-card img {
    width: 100% !important;
    height: 200px;
    object-fit: cover;
  }
  .empower-img-main,
  .empower-img-sec {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
  }

  /* ---- El Poder del Gremio ---- */
  .wb-purpose-section {
    padding: 3rem 4%;
  }
  .wb-purpose-container {
    flex-direction: column !important;
    gap: 2rem;
  }
  .wb-purpose-title {
    font-size: 1.8rem;
  }
  .wb-purpose-right {
    gap: 1.5rem;
  }

  /* ---- Investigación y Publicaciones ---- */
  .wb-data-section {
    padding: 3rem 4% !important;
  }

  /* ---- CTA ---- */
  .wb-cta-section {
    padding: 3rem 4%;
  }
  .wb-cta-container {
    flex-direction: column !important;
    gap: 1.5rem;
    text-align: center;
  }
  .wb-cta-text h2 {
    font-size: 1.5rem;
  }
  .wb-cta-action .wb-btn-white {
    max-width: 100%;
    width: 100%;
  }

  /* ---- Footer ---- */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
    text-align: center;
    font-size: 0.75rem;
  }
  .footer-bottom-links {
    gap: 8px;
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* --- SMALL MOBILE (≤ 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-paragraph {
    font-size: 0.9rem;
  }
  .wb-vert-card {
    flex: 0 0 calc(50% - 3px);
  }
  .wb-muni-card {
    flex: 0 0 140px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .brand-text {
    display: none; /* Solo logo en pantallas muy pequeñas */
  }
}



