/*
Theme Name: Funder Theme
Theme URI: 
Author: AGY
Author URI: 
Description: Custom WordPress theme for Funder, based on the provided PDF prototype.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: funder-theme
*/

/* Local Fonts from assets/fonts */
@font-face {
  font-family: 'AmplitudeComp';
  src: url('assets/fonts/AmplitudeComp-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AntennaCond';
  src: url('assets/fonts/AntennaCond-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BentonSansComp';
  src: url('assets/fonts/BENTONSANS%20COMP%20REGULAR.OTF') format('opentype'),
    url('assets/fonts/BENTONSANS COMP REGULAR.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MinionPro';
  src: url('assets/fonts/MinionPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #156c3a;
  /* Green from logo */
  --color-primary-light: #2eb86b;
  /* Lighter vibrant green */
  --color-primary-light-bg: #eaf7f0;
  /* Soft light green background */
  --color-primary-mint: #c6f0d9;
  /* Mint accent */
  --color-accent-lime: #7bc043;
  /* Fresh lime green */
  --color-secondary: #f07e26;
  /* Orange from Solicite su credito */
  --color-text-main: #333333;
  --color-text-muted: #666666;
  --color-bg-light: #ffffff;
  --color-bg-offcanvas: rgba(21, 108, 58, 0.95);
  /* Glassmorphism background */

  --font-heading: 'AmplitudeComp', 'AntennaCond', 'BentonSansComp', sans-serif;
  --font-subheading: 'AntennaCond', 'BentonSansComp', sans-serif;
  --font-main: 'BentonSansComp', 'Open Sans', 'Inter', sans-serif;
  --font-serif: 'MinionPro', Georgia, serif;

  --header-height: 75px;
  --transition-speed: 0.3s;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px 40px;
  /* More vertical space */
  padding: 80px 15px;
}

.map-section {
  padding: 60px 15px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 40px;
  margin-top: 30px;
  align-items: center;
}

.departments-list {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e8ede9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.departments-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2ee;
}

.dept-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  background: rgba(21, 108, 58, 0.08);
  padding: 5px 12px;
  border-radius: 20px;
}

.dept-instruction {
  font-size: 0.82rem;
  color: #718096;
  font-weight: 500;
}

.departments-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
}

.departments-list li {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #2d3748;
  padding: 9px 12px;
  cursor: pointer;
  border-radius: 8px;
  background-color: #f8faf9;
  border: 1px solid #e8eeea;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.departments-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #a0aec0;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.departments-list li:hover {
  background-color: #ffffff;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 126, 38, 0.18);
}

.departments-list li:hover::before {
  background-color: var(--color-secondary);
  box-shadow: 0 0 6px var(--color-secondary);
  transform: scale(1.3);
}

.departments-list li.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(21, 108, 58, 0.32);
}

.departments-list li.active::before {
  background-color: var(--color-secondary);
  box-shadow: 0 0 8px var(--color-secondary);
  transform: scale(1.4);
}

.map-image-wrapper {
  position: relative;
  width: 100%;
}

.interactive-map {
  width: 100%;
  height: auto;
  display: block;
}

/* Map SVG Paths */
.map-dept {
  fill: #e6f0eb;
  stroke: #ffffff;
  stroke-width: 2;
  cursor: pointer;
  transition: fill 0.3s ease, transform 0.3s ease;
  transform-origin: center;
}

.map-dept:hover,
.map-dept.active {
  fill: var(--color-primary);
  stroke: var(--color-secondary);
  stroke-width: 3;
}

/* Map Points and Labels */
.map-point {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  z-index: 10;
  cursor: pointer;
}

.map-point-label {
  background-color: #3b3b3b;
  color: #ffffff;
  font-size: 0.8rem;
  padding: 4px 10px;
  margin-bottom: 8px;
  white-space: nowrap;
  font-family: var(--font-heading);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.map-point-dot {
  width: 18px;
  height: 18px;
  background-color: #3b3b3b;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.map-point-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
}

.map-point-dot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  opacity: 0;
  animation: mapPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Hover States */
.map-point:hover .map-point-dot,
.map-point.active .map-point-dot {
  transform: scale(1.3);
  background-color: var(--color-secondary);
}

.map-point:hover .map-point-label,
.map-point.active .map-point-label {
  opacity: 1;
  transform: translateY(0);
}

.map-point:hover .map-point-dot::after,
.map-point.active .map-point-dot::after {
  background-color: #ffffff;
}

.map-point:hover .map-point-dot::before,
.map-point.active .map-point-dot::before {
  border-color: var(--color-secondary);
}

/* Country Labels (e.g., Guatemala) */
.map-country-label {
  position: absolute;
  color: #999999;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes mapPing {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Map SVG Paths */
.map-dept {
  fill: #e6f0eb;
  stroke: #ffffff;
  stroke-width: 2;
  cursor: pointer;
  transition: fill 0.3s ease, transform 0.3s ease;
  transform-origin: center;
}

.map-dept:hover,
.map-dept.active {
  fill: var(--color-primary);
  stroke: var(--color-secondary);
  stroke-width: 3;
}

/* Editorial Minimalist Styles */
.editorial-item {
  padding-left: 20px;
  border-left: 3px solid var(--color-primary);
  /* Bold accent line */
  transition: border-color 0.3s ease;
}

.editorial-item:hover {
  border-left-color: var(--color-secondary);
}

.editorial-title {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
  letter-spacing: -0.5px;
}

.editorial-sub {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.editorial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

/* Modalities Section Super Professional Redesign */
.modalities-section {
  background: linear-gradient(180deg, #f9fbf9 0%, #ffffff 100%);
  padding: 100px 0;
  border-top: 1px solid #eef2f0;
  border-bottom: 1px solid #eef2f0;
  position: relative;
  overflow: hidden;
}

.modalities-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px auto;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  background: rgba(240, 126, 38, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.modalities-main-title {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.modalities-main-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.modalities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Modality Card */
.modality-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 34px 26px;
  position: relative;
  border: 1px solid #e8eeea;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    border-color 0.4s ease;
  z-index: 1;
}

/* Top accent line on card */
.modality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.25;
  transition: opacity 0.4s ease, height 0.4s ease;
}

.modality-card:hover::before {
  opacity: 1;
  height: 5px;
}

/* Background Number Watermark */
.card-watermark {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(21, 108, 58, 0.05);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease, transform 0.4s ease;
}

.modality-card:hover .card-watermark {
  color: rgba(240, 126, 38, 0.12);
  transform: translateY(-4px);
}

/* Icon Wrap */
.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(21, 108, 58, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modality-card:hover .card-icon-wrap {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 8px 20px rgba(21, 108, 58, 0.3);
}

.card-pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  background: #f0f7f3;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.card-pill.pill-accent {
  color: var(--color-secondary);
  background: #fdf5ef;
}

.modality-card:hover .card-pill {
  background: var(--color-secondary);
  color: #ffffff;
}

.modality-card-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 6px;
  line-height: 1.2;
}

.modality-card-sub {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 14px;
}

.modality-card-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4a5568;
  margin: 0;
  flex-grow: 1;
}

/* Card Hover Elevation */
.modality-card:hover {
  transform: translateY(-8px);
  border-color: rgba(21, 108, 58, 0.25);
  box-shadow: 0 20px 40px rgba(21, 108, 58, 0.1);
}

/* Staggered in-view animations for modalities-section */
.modalities-section.fade-up {
  opacity: 1;
  transform: none;
}

.modalities-section .modalities-header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.modalities-section .modality-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.modalities-section.in-view .modalities-header {
  opacity: 1;
  transform: translateY(0);
}

.modalities-section.in-view .modality-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.modalities-section.in-view .modality-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

.modalities-section.in-view .modality-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}

.modalities-section.in-view .modality-card:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.46s;
}

@media (max-width: 1080px) {
  .modalities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

  .modalities-main-title {
    font-size: 2.2rem;
  }
}

/* Basic Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

p,
.editorial-text,
.modality-card-text,
.modalities-main-desc {
  font-weight: 300;
  line-height: 1.7;
  color: #4b5563;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Utility Classes */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #0e4e29;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #d06518;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  box-shadow: none;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-main-bar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.4s ease;
}

.site-header.scrolled .header-main-bar {
  background-color: #ffffff;
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-logo {
  height: 55px;
  transition: height 0.3s ease;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-form input {
  border: 1px solid #d1dbd4;
  background: #f8faf9;
  border-radius: 20px;
  padding: 8px 34px 8px 16px;
  outline: none;
  color: #333333;
  font-family: var(--font-main);
  transition: all 0.3s ease;
}

.search-form input::placeholder {
  color: #888888;
}

.search-form button {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666666;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #333;
  color: white;
  border-radius: 50%;
  font-size: 14px;
}

.social-icons a:hover {
  background-color: var(--color-primary);
}

/* Menu Toggle (Modern, wide, thin) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  gap: 8px;
  /* space between lines */
}

.menu-toggle span {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Animation to X */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Header Right Group & Social Links */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-social-btn:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 126, 38, 0.35);
}

/* Scrolled Header state for social buttons */
.site-header.scrolled .header-social-btn {
  border-color: #e2e8f0;
  background: #f1f5f3;
  color: #2d3748;
}

.site-header.scrolled .header-social-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 108, 58, 0.28);
}

/* Offcanvas Backdrop */
.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 995;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.offcanvas-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.primary-nav li a {
  margin-left: -10px;
}

/* Offcanvas Menu Drawer - Positions Underneath the Header */
.offcanvas-menu {
  position: fixed;
  top: 136px;
  right: 0;
  width: 440px;
  max-width: 92vw;
  height: calc(100vh - 136px);
  background: linear-gradient(180deg, #146a39 0%, #082d18 100%);
  color: #ffffff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.offcanvas-menu.active {
  transform: translateX(0);
}

.offcanvas-inner {
  padding: 30px 26px 45px 26px;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.offcanvas-inner::-webkit-scrollbar {
  width: 5px;
}

.offcanvas-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Offcanvas Header */
.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 4px;
}

.offcanvas-brand {
  display: flex;
  flex-direction: column;
}

.offcanvas-brand-sub {
  font-size: 0.75rem;
  color: var(--color-secondary);
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.offcanvas-brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.offcanvas-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2010;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.offcanvas-close-btn:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 4px 16px rgba(240, 126, 38, 0.5);
}

/* Offcanvas Search */
.offcanvas-search-form {
  position: relative;
  width: 100%;
}

.offcanvas-search-form .search-field {
  width: 100%;
  padding: 12px 42px 12px 18px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.offcanvas-search-form .search-field:focus {
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.1);
}

.offcanvas-search-form .search-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.offcanvas-search-form .search-submit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.offcanvas-search-form .search-submit:hover {
  color: var(--color-secondary);
}

/* Offcanvas Sections */
.offcanvas-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offcanvas-section-heading {
  font-size: 0.78rem;
  color: #8fa395;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Offcanvas Primary List */
.offcanvas-primary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.offcanvas-primary-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: #f1f5f3;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: all 0.22s ease;
}

.offcanvas-primary-list li a svg {
  color: #6b7f72;
  transition: transform 0.22s ease, color 0.22s ease;
}

.offcanvas-primary-list li a:hover {
  background: rgba(21, 108, 58, 0.28);
  border-color: rgba(21, 108, 58, 0.5);
  color: #ffffff;
  padding-left: 18px;
}

.offcanvas-primary-list li a:hover svg {
  color: var(--color-secondary);
  transform: translateX(4px);
}

.offcanvas-primary-list li.current-menu-item a {
  background: rgba(21, 108, 58, 0.45);
  border-color: var(--color-secondary);
  color: #ffffff;
  font-weight: 700;
}

.offcanvas-primary-list li.current-menu-item a svg {
  color: var(--color-secondary);
}

/* Offcanvas CTA Button */
.offcanvas-cta-box {
  margin-top: 6px;
}

.offcanvas-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f07e26 0%, #d66a18 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(240, 126, 38, 0.35);
  transition: all 0.28s ease;
}

.offcanvas-cta-btn:hover {
  background: linear-gradient(135deg, #f58b38 0%, #e0721e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 126, 38, 0.45);
  color: #ffffff;
}

/* Offcanvas Secondary List */
.offcanvas-secondary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offcanvas-secondary-list li a {
  display: block;
  padding: 7px 12px;
  color: #a3b8aa;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: color 0.2s ease, transform 0.2s ease;
}

.offcanvas-secondary-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Super Professional Contact Cards */
.offcanvas-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s ease;
}

.contact-card:not(.contact-card-static):hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(21, 108, 58, 0.35);
  border: 1px solid rgba(21, 108, 58, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5ed694;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.contact-card-icon.whatsapp {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.08);
}

.contact-card-info {
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-size: 0.72rem;
  color: #8fa395;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.contact-card-val {
  font-size: 0.9rem;
  color: #e2ede6;
  font-weight: 500;
  font-family: var(--font-main);
}

/* Offcanvas Social Links */
.offcanvas-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offcanvas-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.offcanvas-social-links a:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(240, 126, 38, 0.35);
}

/* Header Tagline (from reference prototype) */
.header-tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.15;
}

.tagline-sub {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.tagline-main {
  font-size: 1.45rem;
  color: #1a1a1a;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Modern Minimalist Navigation (Arrows & Dots) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 18, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-arrow-prev {
  left: 28px;
}

.hero-arrow-next {
  right: 28px;
}

.hero-arrow:hover {
  background: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(21, 108, 58, 0.45);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-arrow svg {
  transition: transform 0.25s ease;
}

.hero-arrow-prev:hover svg {
  transform: translateX(-2px);
}

.hero-arrow-next:hover svg {
  transform: translateX(2px);
}

/* Minimalist Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot:hover {
  background-color: #ffffff;
  transform: scale(1.2);
}

.hero-dot.active {
  width: 28px;
  background-color: var(--color-secondary);
  box-shadow: 0 0 10px rgba(240, 126, 38, 0.8);
}

/* Main Content Padding */
.site-main {
  padding-top: 0;
  /* Hero sits under the transparent header */
}

/* White text for transparent header when not scrolled */
.site-header:not(.scrolled) .tagline-main,
.site-header:not(.scrolled) .tagline-sub {
  color: #ffffff;
}

.site-header:not(.scrolled) .menu-toggle span {
  background-color: #ffffff;
}

.site-header:not(.scrolled) .site-logo {
  filter: brightness(0) invert(1);
}

/* Bottom Header: Solid Green Navigation Bar */
.primary-nav-bar {
  background-color: transparent;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 100;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.site-header.scrolled .primary-nav-bar {
  background-color: var(--color-primary);
  border-top-color: transparent;
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.primary-nav-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.primary-nav li {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.primary-nav li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 11px;
  color: #ffffff;
  font-family: 'BentonSansComp', 'AntennaCond', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.primary-nav li a:hover {
  background-color: rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

@media (min-width: 769px) and (max-width: 1250px) {
  .primary-nav li a {
    padding: 0 7px;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
  }

  .btn-nav {
    padding: 0 14px;
    font-size: 0.95rem;
  }
}

/* Orange Button: Solicite su crédito */
.btn-nav {
  background-color: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: none;
  /* In reference image: 'Solicite su crédito' */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 24px;
  margin-left: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.btn-nav:hover {
  background-color: #d66a18;
  color: #ffffff;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .map-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px;
    width: 100%;
  }

  .map-image-wrapper {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .departments-list {
    order: 2;
    width: 100%;
    padding: 20px 16px;
  }
}

@media (max-width: 768px) {
  .header-right {
    display: none;
  }

  .header-main-bar {
    height: 65px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 14px;
  }

  .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    flex-direction: row;
  }

  .site-logo {
    height: 40px;
  }

  .header-tagline {
    display: none;
  }

  .header-right-group {
    gap: 8px;
  }

  .header-social-links {
    gap: 6px;
  }

  .header-social-btn {
    width: 30px;
    height: 30px;
  }

  .header-social-btn svg {
    width: 13px;
    height: 13px;
  }

  /* Mobile Bottom Header - Sleek App-style Horizontal Pill Bar */
  .primary-nav-bar {
    display: block;
    height: 46px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background-color: var(--color-primary);
    scrollbar-width: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .primary-nav-bar::-webkit-scrollbar {
    display: none;
  }

  .nav-container {
    padding: 0 10px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .primary-nav-wrapper {
    min-width: max-content;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 0px;
  }

  .primary-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
  }

  .primary-nav li {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .primary-nav li.nav-desktop-only {
    display: none !important;
  }

  .primary-nav li a {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    font-family: 'BentonSansComp', 'AntennaCond', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    white-space: nowrap;
    height: 32px;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .primary-nav li a:hover,
  .primary-nav li a:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.02);
  }

  .btn-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 0.84rem;
    font-weight: 700;
    height: 32px;
    border-radius: 20px;
    margin-left: 4px;
    background-color: var(--color-secondary);
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .btn-nav:hover,
  .btn-nav:active {
    background-color: #d66a18;
    transform: scale(1.02);
  }

  .site-main {
    padding-top: 0;
  }

  .offcanvas-menu {
    top: 111px;
    height: calc(100vh - 111px);
    width: 88vw;
    max-width: 380px;
    z-index: 999;
  }

  .offcanvas-inner {
    padding: 24px 20px 40px 20px;
  }

  /* Hero Navigation Arrows aligned with .icon-circle on Mobile */
  .hero-arrow {
    top: auto;
    bottom: 58px;
    transform: translateY(50%);
    width: 38px;
    height: 38px;
  }

  .hero-arrow:hover {
    transform: translateY(50%) scale(1.08);
  }

  .hero-arrow:active {
    transform: translateY(50%) scale(0.95);
  }

  .hero-arrow-prev {
    left: auto;
    right: 58px;
  }

  .hero-arrow-next {
    right: 14px;
  }

  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-dots {
    bottom: 8px;
    padding: 4px 10px;
  }

  /* Map Responsive Tuning */
  .map-section {
    padding: 40px 10px;
  }

  .map-country-label {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .map-point-dot {
    width: 14px;
    height: 14px;
  }

  .map-point-dot::after {
    width: 4.5px;
    height: 4.5px;
  }

  .map-point-label {
    font-size: 0.7rem;
    padding: 3px 7px;
    margin-bottom: 5px;
  }

  .departments-list {
    padding: 20px 15px;
  }

  .departments-list ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 8px;
  }

  .departments-list li {
    font-size: 0.84rem;
    padding: 8px 10px;
  }

  /* Stats Responsive */
  .stats-header h2 {
    font-size: 2rem;
  }

  .icon-circle.large {
    width: 62px;
    height: 62px;
  }

  .stat-img-icon {
    width: 80px;
    height: 80px;
  }

  .stat-item .number {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .map-country-label {
    font-size: 0.85rem;
    top: 25% !important;
  }

  .map-point-dot {
    width: 11px;
    height: 11px;
  }

  .map-point-dot::after {
    width: 3.5px;
    height: 3.5px;
  }

  .map-point-dot::before {
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
  }

  .map-point-label {
    font-size: 0.62rem;
    padding: 2px 6px;
    margin-bottom: 4px;
  }

  .departments-list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .departments-list ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 6px;
  }

  .departments-list li {
    font-size: 0.76rem;
    padding: 6px 8px;
    gap: 6px;
  }

  .departments-list li::before {
    width: 5px;
    height: 5px;
  }

  .modalities-main-title {
    font-size: 1.85rem;
  }

  .modality-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   Professional Multi-Column Institutional Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #125c31 0%, #082916 100%);
  color: #ffffff;
  margin-top: 80px;
  position: relative;
  border-top: 4px solid var(--color-secondary);
}

.footer-main {
  padding: 70px 0 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}

/* Column 1: Brand */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 0.9;
}

.footer-brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 0.76rem;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-brand-main {
  font-size: 1.15rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-main);
  margin: 0;
}

.footer-social-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(240, 126, 38, 0.4);
}

/* Headings */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

/* Menus & Link Lists */
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links-list li a::before {
  content: '›';
  font-size: 1.1rem;
  margin-right: 8px;
  color: var(--color-secondary);
  transition: transform 0.22s ease;
}

.footer-links-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links-list li a:hover::before {
  transform: translateX(2px);
}

.footer-link-cta {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.footer-cta-tag {
  display: inline-block;
  background: var(--color-secondary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 8px;
  letter-spacing: 0.5px;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7a8;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.22s ease;
}

.footer-contact-icon.whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.25);
}

.footer-contact-list li:hover .footer-contact-icon {
  transform: scale(1.08);
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  font-size: 0.88rem;
  line-height: 1.35;
}

.footer-contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-contact-text a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-text a:hover {
  color: var(--color-secondary);
}

.footer-contact-text span {
  color: rgba(255, 255, 255, 0.85);
}

/* Bottom Bar */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.32);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copy {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-main);
}

.footer-copy strong {
  color: #ffffff;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-family: var(--font-main);
  transition: color 0.2s ease;
}

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

/* Responsive Footer */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 30px;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 50px 0 35px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* ==========================================================================
   INNER PAGES HEADER SUPPORT (Non-Home Pages)
   ========================================================================== */
body:not(.home) .site-header {
  position: relative;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body:not(.home) .header-main-bar {
  background-color: #ffffff;
}

body:not(.home) .site-header .tagline-main,
body:not(.home) .site-header .tagline-sub {
  color: #000000;
}

body:not(.home) .site-header .menu-toggle span {
  background-color: #333333;
}

body:not(.home) .site-header .site-logo {
  filter: none;
}

body:not(.home) .header-social-btn {
  border-color: #e2e8f0;
  background: #f1f5f3;
  color: #2d3748;
}

body:not(.home) .header-social-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

body:not(.home) .primary-nav-bar {
  background-color: var(--color-primary);
  border-top: none;
}

body:not(.home) .site-main {
  padding-top: 0;
}

/* Primary Nav Active State */
.primary-nav li.current-menu-item a {
  color: #ffffff;
  font-weight: 400;
  position: relative;
}

.primary-nav li.current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}


/* ==========================================================================
   PÁGINA DE CRÉDITOS (3-COLUMN LAYOUT & STYLES)
   ========================================================================== */
.creditos-page-wrapper {
  background-color: #ffffff;
  padding: 40px 0 60px 0;
  min-height: 80vh;
}

.creditos-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.creditos-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Header de cada columna */
.creditos-col-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #edf2ef;
}

.creditos-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-green {
  background: linear-gradient(135deg, #ebf7ee 0%, #c9ebd0 100%);
  color: #1e7033;
  border: 1px solid #a8dfb4;
}

.badge-yellow {
  background: linear-gradient(135deg, #fffde7 0%, #fff59d 100%);
  color: #c98a0c;
  border: 1px solid #ffe57f;
}

.badge-green-dark {
  background: linear-gradient(135deg, #e4f5ee 0%, #b8e6d2 100%);
  color: #136942;
  border: 1px solid #94d8ba;
}

.creditos-col-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  color: #0c3325;
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

/* Columna 1: FAQ List */
.creditos-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creditos-faq-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f2f5f3;
  transition: transform 0.2s ease;
}

.creditos-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #1e7033;
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(30, 112, 51, 0.15);
}

.faq-content {
  flex: 1;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c1f17;
  margin: 0 0 6px 0;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.faq-answer {
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: #52635a;
  margin: 0;
  line-height: 1.52;
}

/* Columna 2: Google Form Card */
.creditos-form-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e1e7e4;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

.google-form-embed-wrapper {
  position: relative;
  width: 100%;
  background: #ffffff;
}

.google-form-iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: 960px;
}

/* Espacio inferior amplio para el formulario solicitado */
.creditos-form-bottom-spacer {
  height: 80px;
  width: 100%;
}

/* Columna 3: Historias */
.creditos-stories-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.creditos-story-card {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.story-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background-color: #eef2ef;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

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

.creditos-story-card:hover .story-img {
  transform: scale(1.03);
}

.story-body {
  padding-top: 10px;
}

.story-category-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1e7033;
  margin-bottom: 2px;
}

.story-caption {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: #64748b;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.story-quote {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.32;
  letter-spacing: -0.2px;
}

.story-desc {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: #475569;
  margin: 0;
  line-height: 1.48;
}

/* Responsive Créditos Page */
@media (max-width: 1100px) {
  .creditos-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .google-form-iframe {
    min-height: 800px;
  }

  .creditos-col-form {
    order: 2;
  }

  .creditos-col-faq {
    order: 1;
  }

}

/* ==========================================================================
   PÁGINA DE CIFRAS CSF (MODERN DASHBOARD)
   ========================================================================== */
.cifras-page-wrapper {
  background-color: #f7faf8;
  padding: 50px 0 80px 0;
  min-height: 80vh;
}

.page-header-cifras {
  text-align: center;
  margin-bottom: 40px;
}

.page-title-cifras {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #11382b;
  margin: 0 0 10px 0;
}

.page-subtitle-cifras {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
}

.cifras-dashboard {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Summary Cards */
.cifras-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-card.stat-primary {
  background: linear-gradient(135deg, #156c3a 0%, #0d4624 100%);
  color: #ffffff;
  border: none;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
}

.stat-primary .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

.stat-primary .stat-value {
  color: #ffffff;
}

/* Details Grid */
.cifras-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cifras-panel {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.cifras-panel.full-width {
  grid-column: 1 / -1;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #11382b;
  margin: 0 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2ef;
}

.stats-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.stats-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f8faf9;
  border-radius: 6px;
}

.stats-list .item-name {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
}

.stats-list .item-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #156c3a;
}

.panel-footer {
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: auto;
}

.panel-footer p {
  margin: 0;
}

/* Split Stats for Full Width Panel */
.split-stats {
  display: flex;
  gap: 40px;
}

.split-side {
  flex: 1;
}

.summary-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fdfdfd;
  padding: 24px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}

.stat-large {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: #11382b;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  font-family: var(--font-main);
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 20px;
}

.mini-stats {
  display: flex;
  gap: 15px;
}

.mini-stats span {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: #475569;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 20px;
}

.mini-stats span strong {
  color: #0f172a;
}

.list-side .sub-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #334155;
  margin: 0 0 16px 0;
}

/* Responsive Cifras */
@media (max-width: 1100px) {
  .cifras-summary-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cifras-details-grid {
    grid-template-columns: 1fr;
  }

  .split-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-large {
    font-size: 2.2rem;
  }
}
}

/* ==========================================================================
   PÁGINAS: INNOVACIÓN & INCLUSIÓN (MODERN)
   ========================================================================== */
.page-header-modern {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-title-modern {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #11382b;
  margin: 0 0 15px 0;
  line-height: 1.1;
}

.page-subtitle-modern {
  font-family: var(--font-main);
  font-size: 1.15rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Innovacion */
.innovacion-page-wrapper {
  background-color: #ffffff;
  padding: 60px 0 80px 0;
}

.innovacion-hero {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
  background: #f7faf8;
  border-radius: 16px;
  overflow: hidden;
}

.innovacion-hero-content {
  flex: 1;
  padding: 40px;
}

.innovacion-hero-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #156c3a;
  margin-bottom: 15px;
}

.innovacion-hero-content p {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.6;
}

.innovacion-hero-image {
  flex: 1;
}

.innovacion-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.innovacion-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.feature-col-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.feature-icon.badge-green {
  background-color: #156c3a;
}

.feature-icon.badge-yellow {
  background-color: #f07e26;
}

.feature-col-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #11382b;
  margin: 0;
}

.feature-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-card-list li {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.feature-card-list li h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #11382b;
  margin: 0 0 8px 0;
}

.feature-card-list li p {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.innovacion-impacto {
  background: linear-gradient(135deg, #156c3a 0%, #0d4624 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 60px;
}

.innovacion-impacto h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 15px;
}

.innovacion-impacto p {
  font-family: var(--font-main);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.innovacion-gallery h3 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #11382b;
  margin-bottom: 30px;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Inclusion Financiera */
.inclusion-page-wrapper {
  background-color: #fcfcfc;
  padding: 60px 0 80px 0;
}

/* ==========================================================================
   PÁGINA DE INCLUSIÓN FINANCIERA (COMPLETA)
   ========================================================================== */
.inclusion-page-wrapper {
  background-color: #f6f8f7;
  min-height: 100vh;
  padding: 40px 0 80px;
}

.inclusion-proposito-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  border: 1px solid #e1e8e3;
  border-radius: 16px;
  padding: 35px 40px;
  margin-bottom: 35px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.proposito-content {
  flex: 1.2;
}

.proposito-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.proposito-content h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: #162b20;
  margin: 0 0 12px;
}

.proposito-content p {
  color: #4e6256;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.proposito-stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.p-stat-box {
  background: #f8faf8;
  border: 1px solid #e2ece5;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.p-stat-box.p-stat-highlight {
  background: linear-gradient(135deg, #f07e26, #df6b13);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(240, 126, 38, 0.25);
}

.p-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #156c3a;
  line-height: 1.1;
  display: block;
}

.p-stat-box.p-stat-highlight .p-stat-num {
  color: #ffffff;
}

.p-stat-lbl {
  font-size: 0.82rem;
  color: #63786c;
  font-weight: 600;
  margin-top: 5px;
}

.p-stat-box.p-stat-highlight .p-stat-lbl {
  color: rgba(255, 255, 255, 0.9);
}

/* Split Desafíos y Oportunidades */
.inclusion-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 35px;
}

.split-card {
  background: #ffffff;
  border: 1px solid #e1e8e3;
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.split-card:hover {
  transform: translateY(-3px);
}

.split-card.challenge {
  border-left: 5px solid #f07e26;
}

.split-card.opportunity {
  border-left: 5px solid #156c3a;
}

.split-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.split-card.challenge .card-icon {
  background: rgba(240, 126, 38, 0.1);
  color: #f07e26;
}

.split-card.opportunity .card-icon {
  background: rgba(21, 108, 58, 0.1);
  color: #156c3a;
}

.split-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #162b20;
  margin: 0 0 10px;
}

.split-card p {
  color: #4e6256;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* Quote Section */
.inclusion-quote-section {
  background: linear-gradient(135deg, #156c3a, #0d4a27);
  color: #ffffff;
  padding: 40px 45px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(21, 108, 58, 0.22);
  position: relative;
}

.quote-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.inclusion-quote-section blockquote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.96);
  border: none;
  padding: 0;
}

/* Content Blocks */
.inclusion-content-block {
  background: #ffffff;
  border: 1px solid #e1e8e3;
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 35px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.block-header {
  margin-bottom: 24px;
}

.block-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.block-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #162b20;
  margin: 0 0 6px;
}

.block-desc {
  color: #55685d;
  font-size: 0.95rem;
  margin: 0;
}

/* Obstáculos Grid */
.obstaculos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.obstaculo-card {
  background: #f9faf9;
  border: 1px solid #e3ede6;
  border-radius: 12px;
  padding: 22px;
  transition: all 0.2s ease;
}

.obstaculo-card:hover {
  transform: translateY(-3px);
  border-color: #156c3a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.obs-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(240, 126, 38, 0.1);
  color: #f07e26;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.obstaculo-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #162b20;
  margin: 0 0 8px;
}

.obstaculo-card p {
  font-size: 0.88rem;
  color: #55685d;
  line-height: 1.5;
  margin: 0;
}

/* Iniciativas Expanded */
.iniciativas-grid-expanded {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.iniciativa-box {
  background: #f9faf9;
  border: 1px solid #e3ede6;
  border-radius: 14px;
  padding: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.iniciativa-box.full-span {
  grid-column: span 3;
}

.ini-num {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(21, 108, 58, 0.1);
  color: #156c3a;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ini-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #162b20;
  margin: 0 0 8px;
  padding-right: 35px;
}

.ini-header p {
  font-size: 0.9rem;
  color: #55685d;
  line-height: 1.5;
  margin: 0 0 16px;
}

.ini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid #e4ece6;
  padding-top: 14px;
}

.ini-metric-item {
  background: #ffffff;
  border: 1px solid #e2eae4;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}

.ini-metric-item.highlight {
  background: rgba(21, 108, 58, 0.08);
  border-color: rgba(21, 108, 58, 0.25);
}

.ini-metric-item .val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #156c3a;
}

.ini-metric-item .lbl {
  font-size: 0.75rem;
  color: #63786c;
  font-weight: 600;
}

/* Cargos Table */
.cargos-table-wrapper {
  background: #ffffff;
  border: 1px solid #e2eae4;
  border-radius: 12px;
  padding: 22px;
  margin-top: 15px;
  overflow-x: auto;
}

.sub-table-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #162b20;
  margin: 0 0 14px;
}

.inclusion-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.inclusion-data-table th {
  background: #f0f5f2;
  color: #2d4536;
  font-weight: 700;
  padding: 11px 14px;
  border-bottom: 2px solid #dbe4de;
  text-align: left;
}

.inclusion-data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #edf2ef;
  color: #33473c;
  vertical-align: middle;
}

.inclusion-data-table tr:hover td {
  background: #f8faf8;
}

.inclusion-data-table .table-total-row td {
  background: #eaf1ed;
  font-weight: 700;
  color: #156c3a;
  border-top: 2px solid #156c3a;
}

.gender-bar {
  display: flex;
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: #e6ede8;
}

.gender-women {
  background: #156c3a;
}

.gender-men {
  background: #8fa096;
}

.gender-legend {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #55685d;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.legend-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-item .dot.women {
  background: #156c3a;
}

.legend-item .dot.men {
  background: #8fa096;
}

/* Temas Impartidos */
.temas-wrapper {
  margin-bottom: 28px;
}

.temas-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #162b20;
  margin: 0 0 12px;
}

.temas-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tema-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(21, 108, 58, 0.08);
  color: #156c3a;
  border: 1px solid rgba(21, 108, 58, 0.2);
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Inclusion Split Tables */
.inclusion-split-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.table-card {
  background: #f9faf9;
  border: 1px solid #e3ede6;
  border-radius: 12px;
  padding: 22px;
}

.table-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #162b20;
  margin: 0 0 14px;
}

.inclusion-table-scroll {
  overflow-x: auto;
  border: 1px solid #e2eae4;
  border-radius: 10px;
  background: #ffffff;
}

.ratio-badge-box {
  margin-top: 16px;
}

.ratio-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #55685d;
  display: block;
  margin-bottom: 6px;
}

.ratio-bar {
  display: flex;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 24px;
}

.r-seg.men {
  background: #607568;
}

.r-seg.women {
  background: #156c3a;
}

/* Microseguros Grid Cards */
.microseguros-grid-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.m-card {
  background: #f9faf9;
  border: 1px solid #e3ede6;
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.m-card.m-highlight {
  background: linear-gradient(135deg, #156c3a, #0d4a27);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(21, 108, 58, 0.25);
}

.m-card.m-secondary {
  background: linear-gradient(135deg, #f07e26, #df6b13);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(240, 126, 38, 0.25);
}

.m-card .m-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #156c3a;
  line-height: 1.1;
}

.m-card.m-highlight .m-num,
.m-card.m-secondary .m-num {
  color: #ffffff;
}

.m-card .m-lbl {
  font-size: 0.85rem;
  color: #63786c;
  font-weight: 600;
  margin: 5px 0 2px;
}

.m-card.m-highlight .m-lbl,
.m-card.m-secondary .m-lbl {
  color: rgba(255, 255, 255, 0.92);
}

.m-card .m-pct {
  font-size: 0.78rem;
  color: #889c91;
}

.m-card.m-highlight .m-pct,
.m-card.m-secondary .m-pct {
  color: rgba(255, 255, 255, 0.82);
}

/* Planes a Largo Plazo Grid */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.plan-item {
  background: #f9faf9;
  border: 1px solid #e3ede6;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  gap: 16px;
  transition: all 0.2s ease;
}

.plan-item:hover {
  transform: translateY(-2px);
  border-color: #156c3a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.plan-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(21, 108, 58, 0.1);
  color: #156c3a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #162b20;
  margin: 0 0 6px;
}

.plan-item p {
  font-size: 0.88rem;
  color: #55685d;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Inclusión */
@media (max-width: 992px) {
  .inclusion-proposito-card {
    flex-direction: column;
    padding: 28px;
  }

  .iniciativas-grid-expanded {
    grid-template-columns: 1fr;
  }

  .iniciativa-box.full-span {
    grid-column: span 1;
  }

  .obstaculos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inclusion-split-tables {
    grid-template-columns: 1fr;
  }

  .microseguros-grid-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .planes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .inclusion-split-section {
    grid-template-columns: 1fr;
  }

  .obstaculos-grid {
    grid-template-columns: 1fr;
  }

  .microseguros-grid-card {
    grid-template-columns: 1fr;
  }

  .inclusion-content-block {
    padding: 22px 18px;
  }

  .inclusion-quote-section {
    padding: 28px 20px;
  }

  .inclusion-quote-section blockquote {
    font-size: 1.1rem;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .innovacion-hero {
    flex-direction: column;
  }

  .innovacion-features-grid,
  .inclusion-section,
  .inclusion-split-section,
  .iniciativas-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .inclusion-stats-banner {
    order: -1;
  }

  .gallery-grid,
  .microseguros-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid,
  .microseguros-stats,
}

/* ==========================================================================
   PÁGINA: EDUCACIÓN FINANCIERA
   ========================================================================== */
.educacion-page-wrapper {
  background-color: #f7faf8;
  padding: 60px 0 80px 0;
}

.edu-jornadas-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 60px;
  border: 1px solid #edf2ef;
}

.jornadas-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #11382b;
  margin-bottom: 15px;
  text-align: center;
}

.jornadas-content p {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: #475569;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.jornadas-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.j-stat {
  background: #f8faf9;
  border: 1px solid #e2e8f0;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  min-width: 200px;
}

.j-stat.highlight {
  background: linear-gradient(135deg, #156c3a 0%, #0d4624 100%);
  border: none;
  color: #fff;
  transform: scale(1.05);
}

.j-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #11382b;
  margin-bottom: 5px;
}

.j-stat.highlight .j-num {
  color: #fff;
}

.j-lbl {
  font-family: var(--font-main);
  font-size: 1rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.j-stat.highlight .j-lbl {
  color: rgba(255, 255, 255, 0.9);
}

.encuentro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.enc-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #edf2ef;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}

.enc-card:hover {
  transform: translateY(-5px);
  border-color: #156c3a;
}

.enc-icon {
  width: 50px;
  height: 50px;
  background: #ecfdf5;
  color: #156c3a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 20px;
}

.enc-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #11382b;
  margin-bottom: 15px;
}

.enc-card p {
  font-family: var(--font-main);
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .jornadas-stats {
    flex-direction: column;
  }

  .j-stat.highlight {
    transform: none;
  }
}

/* ==========================================================================
   PÁGINA: INMUEBLES EN VENTA
   ========================================================================== */
.inmuebles-page-wrapper {
  background-color: #f7faf8;
  padding: 60px 0 80px 0;
}

.inmuebles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.inmueble-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #edf2ef;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inmueble-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.inmueble-img {
  position: relative;
  height: 220px;
}

.inmueble-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inmueble-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #156c3a;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.inmueble-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.inmueble-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #11382b;
  margin-bottom: 10px;
}

.inmueble-content p {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.inmueble-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f07e26;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
}

.inmueble-btn:hover {
  background: #d96d1d;
  color: #fff;
}

/* ==========================================================================
   PÁGINA: MULTIMEDIA
   ========================================================================== */
.multimedia-page-wrapper {
  background-color: #f7faf8;
  padding: 60px 0 80px 0;
}

.multimedia-section {
  margin-bottom: 60px;
}

.section-title-left {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #11382b;
  margin-bottom: 30px;
  border-bottom: 2px solid #edf2ef;
  padding-bottom: 10px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.media-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2ef;
}

.media-thumb {
  height: 140px;
  background: #11382b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.media-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 108, 58, 0.4);
}

.media-thumb svg {
  position: relative;
  z-index: 1;
}

.media-info {
  padding: 20px;
}

.media-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #11382b;
  margin-bottom: 8px;
}

.media-info p {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.capsulas-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.capsula-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  border: 1px solid #edf2ef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.capsula-icon {
  width: 50px;
  height: 50px;
  background: #f07e26;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.capsula-text {
  flex-grow: 1;
}

.capsula-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #11382b;
  margin-bottom: 5px;
}

.capsula-text p {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.play-btn {
  background: #ecfdf5;
  color: #156c3a;
  border: 1px solid #156c3a;
  padding: 8px 20px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.play-btn:hover {
  background: #156c3a;
  color: #fff;
}

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

.gallery-masonry img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.gallery-masonry img:hover {
  transform: scale(1.02);
}

/* Responsive Inmuebles/Multimedia */
@media (max-width: 992px) {
  .inmuebles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid,
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .inmuebles-grid,
  .media-grid,
  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .capsula-item {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   PÁGINA CSF CIFRAS (DASHBOARD, TABLAS COMPLETAS Y TABS)
   ========================================================================== */
.cifras-page-wrapper {
  background-color: #f5f7f6;
  min-height: 100vh;
  padding: 40px 0 80px;
}

.page-header-cifras {
  text-align: center;
  margin-bottom: 35px;
}

.page-header-cifras .header-badge {
  display: inline-block;
  background: rgba(21, 108, 58, 0.08);
  color: #156c3a;
  border: 1px solid rgba(21, 108, 58, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.page-title-cifras {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: #162b20;
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}

.page-subtitle-cifras {
  color: #55685d;
  font-size: 1.05rem;
  max-width: 750px;
  margin: 0 auto 25px;
  line-height: 1.5;
}

/* Period Tabs */
.period-tabs-wrapper {
  display: inline-flex;
  background: #e6eee8;
  padding: 5px;
  border-radius: 35px;
  gap: 6px;
  border: 1px solid #d5e2d8;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.period-tab {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a5c51;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.22s ease;
}

.period-tab:hover {
  color: #156c3a;
}

.period-tab.active {
  background: #156c3a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 108, 58, 0.28);
}

.period-content {
  display: none;
}

.period-content.active {
  display: block;
  animation: cifrasFadeIn 0.3s ease-in-out;
}

@keyframes cifrasFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* KPI Summary Cards Grid */
.cifras-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid #e1e8e3;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.kpi-card.kpi-highlight {
  background: linear-gradient(135deg, #156c3a, #0d4a27);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(21, 108, 58, 0.25);
}

.kpi-card.kpi-highlight .kpi-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.kpi-card.kpi-highlight .kpi-label,
.kpi-card.kpi-highlight .kpi-sub {
  color: rgba(255, 255, 255, 0.85);
}

.kpi-card.kpi-highlight .kpi-value {
  color: #ffffff;
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(21, 108, 58, 0.08);
  color: #156c3a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-body {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 0.82rem;
  color: #63776b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #172b20;
  line-height: 1.2;
}

.kpi-sub {
  font-size: 0.78rem;
  color: #83968c;
  margin-top: 4px;
}

/* Sections & Boxes */
.cifras-section-box {
  background: #ffffff;
  border: 1px solid #e1e8e3;
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.section-box-header {
  margin-bottom: 18px;
}

.box-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.box-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #162b20;
  margin: 0 0 6px;
}

.box-desc {
  font-size: 0.92rem;
  color: #55685d;
  margin: 0;
}

/* Highlight Alert Box */
.cifras-highlight-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(21, 108, 58, 0.05);
  border-left: 4px solid #156c3a;
  border-radius: 0 8px 8px 0;
  padding: 13px 18px;
  margin-bottom: 20px;
}

.alert-icon {
  color: #156c3a;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-text {
  font-size: 0.92rem;
  color: #274233;
  line-height: 1.45;
}

/* Tables */
.cifras-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e6ede8;
  border-radius: 10px;
}

.cifras-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cifras-table th {
  background: #f0f5f2;
  color: #2d4536;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 2px solid #dbe4de;
  text-align: left;
}

.cifras-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #edf2ef;
  color: #33473c;
  vertical-align: middle;
}

.cifras-table tr:hover td {
  background: #f8faf8;
}

.cifras-table .table-total-row td {
  background: #eaf1ed;
  font-weight: 700;
  color: #156c3a;
  border-top: 2px solid #156c3a;
  border-bottom: none;
}

.cifras-table .text-right {
  text-align: right;
}

.cifras-table .font-mono {
  font-family: 'Consolas', 'Courier New', monospace;
  letter-spacing: -0.2px;
}

.cifras-table .font-semibold {
  font-weight: 600;
}

.cifras-table .font-bold {
  font-weight: 700;
}

.cifras-table .font-medium {
  font-weight: 500;
}

.cifras-table .text-primary {
  color: #156c3a;
}

.cifras-table .text-muted {
  color: #8c9e94;
}

/* Progress Bars */
.cifras-progress-bar {
  width: 100%;
  height: 8px;
  background: #e6eee8;
  border-radius: 10px;
  overflow: hidden;
}

.cifras-progress-bar .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #156c3a, #28a745);
  border-radius: 10px;
}

.cifras-progress-bar .progress-fill.secondary {
  background: linear-gradient(90deg, #f07e26, #f39c12);
}

/* Split Grid */
.cifras-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Mini KPI Summary */
.mini-kpi-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: #f8faf9;
  border: 1px solid #e1e8e3;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 18px;
}

.mini-kpi-item {
  display: flex;
  flex-direction: column;
}

.mini-kpi-item .m-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #156c3a;
}

.mini-kpi-item .m-lbl {
  font-size: 0.8rem;
  color: #667a6f;
}

/* Responsive Cifras */
@media (max-width: 992px) {
  .cifras-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cifras-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-title-cifras {
    font-size: 1.8rem;
  }

  .cifras-kpi-grid {
    grid-template-columns: 1fr;
  }

  .period-tabs-wrapper {
    flex-direction: column;
    border-radius: 14px;
    width: 100%;
  }

  .period-tab {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
  }

  .cifras-section-box {
    padding: 18px 14px;
  }

  .cifras-table th,
  .cifras-table td {
    padding: 9px 10px;
    font-size: 0.85rem;
  }

    .mini-kpi-summary {
    flex-direction: column;
    gap: 10px;
  }
}

/* =============================================
   TIPOGRAFÍA: BentonSans para todos los elementos de texto
   (párrafos, span, li, a, td, th, label, etc.)
   y peso regular (max 400 en párrafos/spans)
   ============================================= */
body,
p,
span,
li,
a,
td,
th,
label,
small,
strong,
b,
em,
i,
figcaption,
blockquote,
.entry-content p,
.entry-content span,
.pb-content p,
.pb-content span,
.site-main p,
.site-main span,
.page-subtitle-modern,
.jornadas-content p,
.enc-card p,
.text-center {
  font-family: 'BentonSansComp', 'Open Sans', 'Inter', sans-serif !important;
}

p,
span,
li,
td,
th,
label,
small,
.entry-content p,
.pb-content p,
.site-main p,
.page-subtitle-modern,
.jornadas-content p,
.enc-card p,
.text-center {
  font-weight: 400 !important;
}

/* =============================================
   SECCIÓN DE INNOVACIÓN - ESTILOS MODERNOS Y VERDE CLARO
   ============================================= */
.innovacion-page-wrapper {
  padding: 40px 0 80px;
  background-color: #f7faf8;
}

.innovacion-header {
  margin-bottom: 45px;
}

.innovacion-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-light-bg);
  border: 1px solid var(--color-primary-mint);
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(46, 184, 107, 0.12);
}

.innovacion-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.innovacion-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Hero Card MiCaja */
.innovacion-hero-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(21, 108, 58, 0.08);
  border: 1px solid rgba(46, 184, 107, 0.2);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.innovacion-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-accent-lime) 100%);
}

.innovacion-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.micaja-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 184, 107, 0.1);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.innovacion-hero-text h2 {
  font-size: 2rem;
  color: #1a3c27;
  margin-bottom: 18px;
  font-weight: 700;
}

.innovacion-hero-text h2 span {
  color: var(--color-primary-light);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.innovacion-hero-text p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 24px;
}

.micaja-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-light-bg);
  border: 1px solid var(--color-primary-mint);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-primary);
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 8px var(--color-primary-light);
}

/* Image Wrapper */
.innovacion-hero-media .image-wrapper-styled {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.innovacion-hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.innovacion-hero-media:hover img {
  transform: scale(1.03);
}

.floating-tech-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.badge-icon-tech {
  font-size: 1.6rem;
  background: var(--color-primary-light-bg);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.badge-text small {
  font-size: 0.8rem;
  color: #718096;
}

/* Metrics Strip */
.innovacion-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.metric-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #e2ece5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
  box-shadow: 0 10px 25px rgba(46, 184, 107, 0.15);
}

.metric-icon {
  font-size: 2rem;
  background: var(--color-primary-light-bg);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.82rem;
  color: #718096;
}

/* Features Section */
.innovacion-features-section {
  margin-bottom: 50px;
}

.innovacion-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.innovacion-feature-col {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid #e2ece5;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.feature-col-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary-light-bg);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper.icon-green {
  background: var(--color-primary-light-bg);
  color: var(--color-primary);
}

.feature-icon-wrapper.icon-lime {
  background: #f3faf0;
  color: var(--color-accent-lime);
}

.feature-col-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.col-subtitle {
  font-size: 0.82rem;
  color: #718096;
}

.feature-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.innovacion-card {
  background: #f8fcf9;
  border-radius: 16px;
  padding: 20px;
  border-left: 4px solid var(--color-primary-light);
  position: relative;
  transition: all 0.3s ease;
}

.innovacion-card:hover {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(46, 184, 107, 0.12);
  transform: translateX(4px);
}

.card-corner-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.innovacion-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3c27;
  margin-bottom: 8px;
}

.innovacion-card p {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* Impacto Card */
.innovacion-impacto-card {
  background: linear-gradient(135deg, #0e562f 0%, #156c3a 50%, var(--color-primary-light) 100%);
  border-radius: 28px;
  padding: 45px 40px;
  color: #ffffff;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(14, 86, 47, 0.25);
}

.impacto-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.innovacion-impacto-card h2 {
  font-size: 1.9rem;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 700;
}

.innovacion-impacto-card p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  max-width: 900px;
  margin: 0;
}

/* Gallery Section */
.innovacion-gallery-section {
  margin-bottom: 30px;
}

.gallery-header {
  margin-bottom: 30px;
}

.gallery-header h2 {
  font-size: 1.8rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.gallery-header p {
  color: #718096;
}

.innovacion-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid #ffffff;
  height: 200px;
}

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

.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 86, 47, 0.85), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item-overlay span {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

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

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

@media (max-width: 768px) {
  .innovacion-hero-grid {
    grid-template-columns: 1fr;
  }
  .innovacion-hero-card {
    padding: 24px;
  }
  .innovacion-title {
    font-size: 1.75rem;
  }
  .innovacion-impacto-card {
    padding: 30px 24px;
  }
}