/* ═══════════════════════════════════════════
   IMAGE PLACEHOLDERS
═══════════════════════════════════════════ */
.img-placeholder {
  background: var(--color-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay {
  transition-delay: 0.15s;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #925CFF 45%,
    rgba(114, 92, 255, 0) 100%
  );
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 48px) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  width: 100%;
  position: relative;
  overflow: visible;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.hero-photo-movil {
  display: none;
}

.hero-title {
  font-family: "Google Sans", "Inter", sans-serif;
  font-size: clamp(18px, 5.5vw, 22px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-title-sub {
  font-family: "Google Sans", "Inter", sans-serif;
  font-size: clamp(22px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-family: "Google Sans", "Inter", sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 480px;
}

.hero-photo-wrap {
  position: absolute;
  right: clamp(20px, 5vw, 48px);
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-photo {
  display: block;
  width: 700px;
  max-width: 700px;
  height: auto;
  mix-blend-mode: multiply;
  background: transparent;
  margin-right: auto;
  transform: translateX(-60px);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  width: 100%;
  transform: translateY(40px);
  position: relative;
  z-index: 2;
}

.hero-card {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(75, 63, 228, 0.25);
}

.hero-card-thumb {
  width: 110px;
  align-self: stretch;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-placeholder);
}
.hero-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.hero-card:hover .hero-card-thumb img {
  transform: scale(1.08);
}

.hero-card-body {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.hero-card-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
}

.hero-card-text {
  font-size: 10px;
  color: var(--color-gray);
  line-height: 1.4;
}

.hero-card-link {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary);
}

/* ═══════════════════════════════════════════
   BIOGRAFÍA
═══════════════════════════════════════════ */

.section-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--color-dark);
}
.section-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-gray);
  max-width: 640px;
  margin: 0;
}

.enlace-biografia p{
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-primary);
}

.contenedor-seccion-enlace-biografia{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media(min-width: 770px){
    .contenedor-seccion-enlace-biografia{
        display: flex;
        flex-direction: row;
        margin-bottom: 2.5rem;
    }
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ BIOGRAFÍA POR BLOQUES ============ */
.bio-blocks {
  background: var(--color-bg-light);
  padding: 6rem 0 0 0;
}
@media (min-width: 800px) {
  .bio-blocks {
    background: var(--color-bg-light);
    padding: 10rem 0 0 0;
  }
}

.bio-header {
  margin-bottom: 48px;
}

.bio-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  align-items: start;
}

/* --- Rail de navegación --- */
.bio-rail {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid rgba(75, 63, 228, 0.14);
}

.bio-rail-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 18px;
  margin-left: -2px;
  padding-left: 20px;
  border-left: 2px solid transparent;
  background: transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
  transition:
    background 0.2s,
    border-color 0.2s;
  border-radius: 0 10px 10px 0;
}
.bio-rail-item:hover:not(.active) {
  background: rgba(75, 63, 228, 0.05);
}
.bio-rail-item .bio-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-gray);
  flex-shrink: 0;
  width: 20px;
}
.bio-rail-item .bio-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.35;
}
.bio-rail-item.active {
  border-left-color: var(--color-primary);
  background: rgba(75, 63, 228, 0.07);
}
.bio-rail-item.active .bio-num,
.bio-rail-item.active .bio-label {
  color: var(--color-primary);
}

/* --- Panel de contenido --- */
.bio-panel {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bio-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 520px;
}
.bio-photo {
  position: relative;
  background: var(--color-placeholder);
  height: 100%;
  overflow: hidden;
}
.bio-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bio-img-mobile {
  display: none;
}

.bio-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 40, 0) 55%,
    rgba(17, 15, 32, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.bio-content {
  height: 100%;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  gap: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(75, 63, 228, 0.35) transparent;
}
.bio-content::-webkit-scrollbar {
  width: 6px;
}
.bio-content::-webkit-scrollbar-track {
  background: transparent;
}
.bio-content::-webkit-scrollbar-thumb {
  background: rgba(75, 63, 228, 0.3);
  border-radius: 10px;
}
.bio-content::-webkit-scrollbar-thumb:hover {
  background: rgba(75, 63, 228, 0.5);
}
.bio-eyebrow-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gray);
}
.bio-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  color: var(--color-dark);
  margin: 0;
}
.bio-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--color-white);
  position: relative;
  padding-left: 26px;
  margin: 0;
}
.bio-quote::before {
  content: "\201C";
  position: absolute;
  left: -6px;
  top: -16px;
  font-size: 48px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--color-accent);
  line-height: 1;
}
.bio-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-gray);
  margin: 0;
}
.bio-body p + p {
  margin-top: 12px;
}

.bio-panel-content {
  display: none;
}
.bio-panel-content.active {
  display: contents;
}

/* --- Controles inferiores --- */
.bio-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
.bio-arrows {
  display: flex;
  gap: 10px;
}
.bio-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.bio-arrow-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.bio-arrow-btn svg {
  width: 18px;
  height: 18px;
}
.bio-counter {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-gray);
  font-variant-numeric: tabular-nums;
}

/* --- Rail móvil (pills horizontales) --- */
@media (max-width: 900px) {
  .bio-layout {
    grid-template-columns: 1fr;
  }
  .bio-rail {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    border-left: none;
    padding-bottom: 6px;
    margin-bottom: 10px;
    margin-top: 10px;
    scrollbar-width: thin;
  }
  .bio-rail-item {
    flex-shrink: 0;
    border-left: none;
    border: 1.5px solid var(--color-gray-light);
    border-radius: 50px;
    padding: 9px 16px;
    margin-left: 0;
  }
  .bio-rail-item.active {
    border-color: var(--color-primary);
  }
  .bio-panel-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .bio-photo {
    height: 300px;
  }
  .bio-content {
    height: auto;
    max-height: 60vh;
    overflow-y: auto;
  }
  .bio-img-desktop {
    display: none;
  }
  .bio-img-mobile {
    display: block;
  }
}

/* ═══════════════════════════════════════════
   TRAYECTORIA EMPRESARIAL
═══════════════════════════════════════════ */
.empresarial {
  background: var(--color-bg-light);
  padding: 6rem 0 0 0;
}

@media (min-width: 900px) {
  .empresarial {
    background: var(--color-bg-light);
    padding: 10rem 0 0 0;
  }
}

.empresarial-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--gap);
  align-items: center;
}

.empresarial-text {
  padding-right: 24px;
}
.empresarial-text .section-body {
  margin-top: 20px;
  margin-bottom: 32px;
}

.empresarial-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

.section-title {
  color: var(--color-dark);
}

/* ═══════════════════════════════════════════
   PREMIOS
═══════════════════════════════════════════ */
.premios {
  background: var(--color-bg-light);
  padding: 6rem 0 0 0;
  overflow: visible;
}
@media (min-width: 900px) {
  .premios {
    padding: 10rem 0 0 0;
  }
}

.premios-grid {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: var(--gap);
  align-items: center;
  overflow: visible;
}

.premios-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.premios-img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: -120px;
  margin-bottom: -60px;
  position: relative;
  z-index: 0;
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 60%,
        rgba(0,0,0,0.5) 85%,
        transparent 100%
    );
    
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 60%,
        rgba(0,0,0,0.5) 85%,
        transparent 100%
    );

    overflow: hidden;
}

.premios-content .section-title {
  margin-bottom: 36px;
}

.premios-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.premio-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
  cursor: default;
}
.premio-item:last-child {
  padding-bottom: 0;
}

.premio-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 0 4px rgba(75, 63, 228, 0.15);
  position: relative;
  z-index: 1;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.premio-item:hover .premio-dot {
  transform: scale(1.4);
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(245, 200, 66, 0.25);
}

.premio-line {
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--color-gray-light);
  transition: background 0.25s ease;
}

.premio-item:hover .premio-line {
  background: rgba(75, 63, 228, 0.2);
}

.premio-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  margin-top: -10px;
}

.premio-item:hover .premio-info {
  background: rgba(75, 63, 228, 0.05);
  transform: translateX(6px);
}

.premio-year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  text-transform: uppercase;
  transition: color 0.25s;
}

.premio-item:hover .premio-year {
  color: var(--color-accent);
  filter: brightness(0.85);
}

.premio-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  font-family: var(--font-display);
  transition: color 0.25s;
}

.premio-item:hover .premio-name {
  color: var(--color-primary);
}

.premio-org {
  font-size: 13px;
  color: var(--color-gray);
}

/* ═══════════════════════════════════════════
   FUNDACIÓN
═══════════════════════════════════════════ */
.fundacion {
  overflow: hidden;
}

/* — Parte superior: foto full-width con overlay — */
.fundacion-hero {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--color-bg-light);
  padding: 6rem 0 0 0;
}

@media (min-width: 900px) {
  .fundacion-hero {
    padding: 10rem 0 0 0;
  }
}

.fundacion-bg-photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.fundacion-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 clamp(20px, 5vw, 80px) 40px;
  text-align: center;
}

.fundacion-quote-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  max-width: 800px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* — Parte inferior: contenido sobre fondo blanco→beige — */
.fundacion-content {
  background: linear-gradient(
    135deg,
    var(--color-white) 0%,
    var(--color-bg-light) 100%
  );
  padding: var(--section-pad) 0;
}

.fundacion-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fundacion-logo {
  margin-bottom: 24px;
}

.fundacion-logo-img {
  display: block;
  height: 140px;
  width: auto;
  margin: 0 auto;
}

.fundacion-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.fundacion-body {
  color: var(--color-gray);
  font-size: 15px;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 40px;
}

.fundacion-carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.fundacion-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: carousel-scroll 18s linear infinite;
}

.fundacion-track:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.fundacion-foto {
  width: 220px;
  height: 220px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-placeholder);
  color: #9ca3af;
  font-size: 11px;
}

/* ═══════════════════════════════════════════
   NOTICIAS
═══════════════════════════════════════════ */
.noticias {
background: linear-gradient(
    180deg,
    #925CFF 0%,
    #925CFF 35%,
    #623ABD 100%
);
  padding: var(--section-pad) 0;
}

.noticias-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 48px;
  max-width: 600px;
}

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

.noticia-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  min-height: 60rem;
}
.noticia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 26, 46, 0.2);
}

.noticia-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

.noticia-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.noticia-fecha {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.noticia-titulo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
}

.noticia-resumen {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
}

.noticia-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 8px;
  display: inline-block;
  transition: gap 0.2s;
}
.noticia-link:hover {
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════
   TRAYECTORIA PÚBLICA
═══════════════════════════════════════════ */
.trayectoria-publica {
  background: var(--color-bg-light);
  padding: var(--section-pad) 0;
}

.trayectoria-intro {
  margin-bottom: 48px;
}

.tabs-container {
  width: 100%;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--color-gray-light);
  padding-bottom: 0;
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tab-btn:hover {
  color: var(--color-primary);
  background: rgba(75, 63, 228, 0.06);
}
.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: rgba(75, 63, 228, 0.06);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

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

.cargo-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cargo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.cargo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.cargo-icon svg {
  width: 100%;
  height: 100%;
  color: var(--color-primary);
}

.cargo-titulo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  display: block;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cargo-desc {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   LIBRO
═══════════════════════════════════════════ */
.libro {
background: linear-gradient(
    180deg,
    #925CFF 45%,
    rgba(114, 92, 255, 0) 100%
);
  padding: var(--section-pad) 0 0;
  overflow: hidden;
}

.libro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.libro-content .eyebrow-light {
  margin-bottom: 16px;
}

.libro-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.libro-title em {
  color: var(--color-accent);
  font-style: normal;
}

.libro-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 16px;
}

.libro-body {
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.75;
  margin-bottom: 32px;
}

.libro-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 32px;
}

.libro-quote {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--color-accent);
}

.libro-quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.5;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
  opacity: 0.8;
}

.libro-quote-text {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: 16px;
}

.libro-quote-cite {
  display: block;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: var(--color-accent);
  letter-spacing: 0.08em;
}

.libro-img {
  display: block;
  width: 115%;
  max-width: none;
  height: auto;
  mix-blend-mode: multiply;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .fundacion-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .noticias-grid .noticia-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

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

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + 40px);
  }

  .hero-content {
    order: 1;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-photo-wrap {
    order: 2;
    justify-content: center;
  }

  .hero-photo {
    max-width: 260px;
    aspect-ratio: auto;
    border-radius: 0;
    display: none;
  }

  .hero-photo-movil {
    display: block;
    width: 100%;
    margin-bottom: -100px;
    margin-top: -150px;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    transform: translateY(0);
    margin-top: 32px;
    gap: 12px;
  }

  .empresarial-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .empresarial-text {
    padding-right: 0;
    text-align: center;
  }

  .empresarial-text .section-body {
    margin: 20px auto 32px;
  }

  .empresarial-text .btn {
    display: inline-flex;
  }

  .img-circle {
    max-width: 280px;
  }

  .fundacion-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .premios-photo {
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .premios-img {
    margin-left: 0;
    margin-bottom: 0;
  }

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

  .noticias-grid .noticia-card:last-child {
    grid-column: auto;
    max-width: none;
  }

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

  .tabs {
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0;
  }

  .tab-btn {
    font-size: 12px;
    padding: 8px 14px;
    white-space: nowrap;
  }

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

  .libro-right {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .libro-photo {
    max-width: 200px;
  }

  .libro-quote {
    flex: 1;
    min-width: 240px;
  }
}
