
    :root {
      --ac-blue: #0f67b4;
      --ac-blue-light: #47a0f4;
      --ac-blue-dark: #0a4d87;
      --ac-ink: #20262d;
      --ac-muted: #66707a;
      --ac-line: #d9dee3;
      --ac-soft: #f4f7fa;
      --ac-white: #ffffff;
      --shadow-soft: 0 12px 40px rgba(15, 34, 54, 0.10);
      --radius-xl: 24px;
      --radius-lg: 18px;
      --radius-md: 14px;
    }

    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', sans-serif; color: var(--ac-ink); background: #fff; }
    h1, h2, h3, h4, h5, .heading-condensed, .navbar-nav .nav-link, .section-kicker, .dropdown-menu { font-family: 'Barlow Condensed', sans-serif; letter-spacing: .02em; }

.text-blue-light {color: var(--ac-blue-light);}
.bg-blue {background: linear-gradient(135deg, #0a4d87 0%, #0f67b4 100%) !important}
.bg-light-2 {background: #eef5fb;}
    .topbar { background: var(--ac-ink); color: rgba(255,255,255,.82); font-size: .9rem; }
    .topbar a { color: #fff; text-decoration: none; }
    .topbar .social-link {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,.18);
      transition: .2s ease;
    }
    .topbar .social-link:hover { background: rgba(255,255,255,.1); }

    .navbar {
      background: rgba(255,255,255,.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0,0,0,.06);
    }
    .brand-wrap { display: flex; align-items: center; gap: 14px; }
    .brand-mark {
      width: 66px; height: 66px; border-radius: 50%; 
      display: grid; place-items: center; color: var(--ac-blue);
      font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .9rem; flex: 0 0 auto;
    }
    .brand-copy { line-height: 1.02; text-transform: uppercase; }
    .brand-copy small { display: block; color: var(--ac-muted); font-size: .62rem; letter-spacing: .08em;  margin-left: 2px;}
    .brand-copy strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--ac-ink); }
    .navbar-nav .nav-link {
      font-size: 1.08rem; font-weight: 600; color: var(--ac-ink); text-transform: uppercase;
      padding-left: 1rem !important; padding-right: 1rem !important;
    }

    .btn-brand {
      background: var(--ac-blue); color: #fff; border: 0; border-radius: 999px;
      padding: .9rem 1.35rem; font-weight: 600; box-shadow: var(--shadow-soft);
    }
    .btn-brand:hover { background: var(--ac-blue-dark); color: #fff; }

    .intranet-dropdown .btn {
      border-radius: 999px;
      padding: 5px 15px; font-size: 14px;
      text-transform: uppercase;
    }
    .dropdown-menu {
      border: 1px solid var(--ac-line);
      border-radius: 16px;
      box-shadow: var(--shadow-soft);
      padding: .65rem;
      min-width: 220px;
    }
    .dropdown-item {
      border-radius: 12px;
      padding: .7rem .85rem;
      font-size: 1.05rem;
      text-transform: uppercase;
      font-weight: 600;
    }

/* Dropdown hover */
.nav-item-hover {
  position: relative;
}

.nav-item-hover .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;

  margin-top: 0;
  border-radius: 14px;
  border: 1px solid #d9dee3;
  box-shadow: 0 14px 30px rgba(15, 34, 54, 0.12);
  padding: 10px;
  min-width: 220px;
}

/* Mostrar en hover */
.nav-item-hover:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Items */
.dropdown-item {
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #0f67b4;
  color: #fff;
}

/* En mobile desactivamos el hover */
@media (max-width: 991.98px) {

  .nav-item-hover .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 8px;
    border: 0;
    box-shadow: none;
    background: transparent;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item-hover .dropdown-menu.show {
    display: block;
  }
     .navbar-collapse {
    background: #fff;
    padding: 20px;
  }

  .navbar-collapse.show {
    height: auto;
  }
   .nav-item-hover .dropdown-menu {
    position: static !important;
    transform: none !important;
    margin-top: 8px;
  }

}

    .hero-slider,
    .hero-slider .swiper,
    .hero-slider .swiper-wrapper,
    .hero-slider .swiper-slide { min-height: 80vh; }

    .hero-slide {
      position: relative;
      min-height: 80vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      color: #fff;
      background-size: cover;
      background-position: center;
    }
    .hero-slide::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(7, 20, 35, .62), rgba(7, 20, 35, .28));
    }
    .hero-slide .container { position: relative; z-index: 2; }
.hero-slide .hero-title {font-size: 4rem}
    .hero-overlay-top {
      position: absolute;
      inset: 0 0 auto 0;
      height: 140px;
      background: linear-gradient(to bottom, rgba(7,20,35,.48), rgba(7,20,35,0));
      z-index: 1;
      pointer-events: none;
    }
    .hero-content { max-width: 760px; padding-top: 1rem; }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: .55rem;
      padding: .55rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18); font-size: .92rem; margin-bottom: 1.25rem;
    }
    .hero-title {
      font-size: clamp(3rem, 5.5vw, 5.3rem);
      line-height: .95;
      margin-bottom: 1rem;
      text-shadow: 0 4px 18px rgba(0,0,0,.22);
    }
    .hero-text {
      max-width: 620px;
      color: rgba(255,255,255,.92);
      font-size: 1.08rem;
      margin-bottom: 1.8rem;
    }
    .hero-search-shell {
      position: absolute;
      top: 92px;
      right: 6%;
      width: min(380px, 32vw);
      z-index: 2;
    }
    .hero-search-box {
      width: 100%;
      display: flex;
      align-items: center;
      gap: .75rem;
      border: 1px solid rgba(255,255,255,.48);
      border-radius: 16px;
      background: rgba(255,255,255,.06);
      backdrop-filter: blur(6px);
      padding: .8rem 1rem;
      color: rgba(255,255,255,.9);
    }
    .hero-search-box i { font-size: 1.2rem; }
    .hero-search-box span { opacity: .85; }
    .swiper-pagination-bullet {
      width: 11px; height: 11px; background: rgba(255,255,255,.55); opacity: 1;
    }
    .swiper-pagination-bullet-active { background: #fff; }
    .swiper-button-next, .swiper-button-prev {
      color: #fff;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.18);
      backdrop-filter: blur(6px);
    }
    .swiper-button-next:after, .swiper-button-prev:after { font-size: 1rem; font-weight: 700; }

    .impact-strip {
      margin-top: -54px;
      position: relative;
      z-index: 5;
    }

    .section-space { padding: 96px 0; }
    .section-kicker { color: var(--ac-blue); font-size: 1.25rem; font-weight: 600; text-transform: uppercase; margin-bottom: .5rem; }
    .section-title { font-size: clamp(2.3rem, 3.2vw, 3.6rem); line-height: .95; margin-bottom: 1rem; font-weight: 600}
    .section-subtitle { color: var(--ac-muted); max-width: 780px; font-size: 1.02rem; }

    .service-card,
    .news-card,
    .library-card,
    .center-card,
    .feature-panel,
    .message-card,
    .impact-card {
      height: 100%; border: 1px solid var(--ac-line); border-radius: var(--radius-lg);
      background: #fff; box-shadow: var(--shadow-soft); transition: .25s ease;
    }
    .service-card:hover,
    .news-card:hover,
    .library-card:hover,
    .center-card:hover,
    .feature-panel:hover,
    .message-card:hover,
    .impact-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 45px rgba(15, 34, 54, 0.14);
    }

    .impact-card { padding: 1.2rem 1.25rem; }
    .impact-card strong {
      display: block;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 2.3rem;
      color: var(--ac-blue);
      line-height: 1;
      margin-bottom: .3rem;
    }
    .impact-card span { color: var(--ac-muted); font-size: .95rem; }

    .service-card { padding: 1.6rem; position: relative; overflow: hidden; }
    .service-card .icon {
      width: 62px; height: 62px; border-radius: 18px; background: rgba(15,103,180,.08);
      color: var(--ac-blue); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1rem;
    }
    .service-card h3 { font-size: 1.7rem; margin-bottom: .65rem; }
    .service-card p { color: var(--ac-muted); margin-bottom: 1rem; }
    .service-link { color: var(--ac-blue); text-decoration: none; font-weight: 700; }

    .institutional-band { background: var(--ac-soft); border-top: 1px solid var(--ac-line); border-bottom: 1px solid var(--ac-line); }
    .number-box { padding: 1.25rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ac-line); height: 100%; }
    .number-box strong { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; color: var(--ac-blue); display: block; line-height: 1; }
    .number-box span { color: var(--ac-muted); font-size: .95rem; }

    .intranet-section {
      background: linear-gradient(135deg, #0a4d87 0%, #0f67b4 100%);
      color: #fff; position: relative; overflow: hidden;
    }
    .intranet-section::before,
    .intranet-section::after {
      content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06);
    }
    .intranet-section::before { width: 340px; height: 340px; right: -110px; top: -110px; }
    .intranet-section::after { width: 220px; height: 220px; left: -80px; bottom: -80px; }
    .intranet-card {
      background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
      border-radius: var(--radius-xl); padding: 1.4rem; height: 100%; backdrop-filter: blur(8px);
    }
    .intranet-card .icon {
      font-size: 1.4rem; width: 50px; height: 50px; display: grid; place-items: center;
      border-radius: 14px; background: rgba(255,255,255,.14); margin-bottom: 1rem;
    }

    .news-card img, .feature-image {
      width: 100%; height: 220px; object-fit: cover; border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg);
    }
    .news-card .card-body, .library-card .card-body, .center-card .card-body { padding: 1.3rem; }
    .news-tag, .library-tag {
      display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--ac-blue);
      background: rgba(15,103,180,.08); border-radius: 999px; padding: .35rem .65rem; margin-bottom: .9rem; letter-spacing: .05em;
    }
    .news-card h3, .library-card h3, .center-card h3 { font-size: 1.55rem; margin-bottom: .65rem; }
    .meta { color: var(--ac-muted); font-size: .92rem; }
    .meta.small { font-size: .72rem; }

    .library-card { padding: 1.25rem; }
    .library-icon {
      width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
      background: var(--ac-soft); color: var(--ac-blue); margin-bottom: 1rem;
    }

    .centers-panel {
      border-radius: 28px; overflow: hidden; background: linear-gradient(120deg, #f8fbff 0%, #eef5fb 100%); border: 1px solid var(--ac-line);
    }
    .map-placeholder {
      min-height: 420px;
      background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)), url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
      display: flex; align-items: center; justify-content: center; color: var(--ac-ink); text-align: center; padding: 2rem;
    }
    .map-placeholder .inner {
      background: rgba(255,255,255,.92); border: 1px solid var(--ac-line); border-radius: var(--radius-lg);
      padding: 1.5rem; max-width: 430px; box-shadow: var(--shadow-soft);
    }

    .cta-banner {
      border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, var(--ac-ink) 0%, #334150 100%); color: #fff; position: relative;
    }
    .cta-banner::after {
      content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(15,103,180,.35), transparent 32%); pointer-events: none;
    }

    .footer { background: #121920; color: rgba(255,255,255,.75); padding: 64px 0 26px; }
    .footer h5 { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
    .footer a { color: rgba(255,255,255,.75); text-decoration: none; }
    .footer a:hover { color: #fff; }
    .footer .mini-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
    .footer .mini-brand .brand-mark { border-color: rgba(255,255,255,.35); color: #fff; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1rem; font-size: .92rem; }
    .footer .brand-mark img {filter: invert(100);}
    .footer .bpa {opacity: .5;}

    @media (max-width: 991.98px) {
      .section-space { padding: 74px 0; }
      .navbar-nav .nav-link { padding-left: 0 !important; padding-right: 0 !important; }
      .hero-search-shell {
        position: static;
        width: 100%;
        margin-top: 1.5rem;
      }
      .hero-slide { min-height: auto; padding: 7rem 0 5rem; }
      .hero-slider, .hero-slider .swiper, .hero-slider .swiper-wrapper, .hero-slider .swiper-slide { min-height: auto; }
      .impact-strip { margin-top: 0; }
    }

    @media (max-width: 575.98px) {
        .brand-mark {width: 50px; margin-left: 5px}
        #mainNav {padding: 0 5%;}
      .hero-slide .hero-title { font-size: 2.7rem; }
      .brand-copy strong { font-size: 1.15rem; }
        .brand-copy small {letter-spacing: 0}
      .section-title { font-size: 2.2rem; }
      .swiper-button-next, .swiper-button-prev { display: none; }
    }

/*ACERCA*/
.page-hero--about {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero-about.jpg") center center / cover no-repeat;
}

.page-hero--about.centros {
  background: url("../img/hero-centros.jpg") center center / cover no-repeat;
}

.page-hero--about .page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 24, 40, 0.74) 0%, rgba(12, 24, 40, 0.34) 55%, rgba(12, 24, 40, 0.18) 100%);
}

.page-hero--about .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 90px 0 70px;
  color: #fff;
}

.page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero__title {
  margin: 0 0 14px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .95;
  color: #fff;
}

.page-hero__text {
  max-width: 680px;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}

.about-intro {
  padding: 90px 0 40px;
  background: #fff;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 360px;
  gap: 36px;
  align-items: start;
}

.about-intro__main p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.8;
  color: #66707a;
}

.about-intro__stats {
  display: grid;
  gap: 16px;
}

.about-stat-card {
  padding: 26px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #d9dee3;
  box-shadow: 0 14px 34px rgba(15, 34, 54, 0.08);
}

.about-stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 52px;
  line-height: 1;
  color: #0f67b4;
}

.about-stat-card span {
  display: block;
  font-size: 15px;
  line-height: 1.6;
  color: #66707a;
}

.about-highlight {
  padding: 34px 0 90px;
  background: #fff;
}

.about-highlight__box {
  padding: 42px 48px;
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(12, 24, 40, 0.82), rgba(15, 103, 180, 0.52)),
    url("../img/quienes.jpg") center center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(15, 34, 54, 0.14);
}

.about-highlight__box p {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  font-size: 30px;
  line-height: 1.08;
  color: #fff;
}

.about-values {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.section-heading.centered {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.about-value-card {
  padding: 28px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 14px 34px rgba(15, 34, 54, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 34, 54, 0.12);
}

.about-value-card__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 103, 180, 0.08);
  color: #0f67b4;
  font-size: 28px;
}

.about-value-card h3 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1;
  color: #20262d;
}

.about-value-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #66707a;
}

.about-history {
  padding: 90px 0;
  background: #fff;
}

.about-history__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: start;
}

.about-history__content p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.8;
  color: #66707a;
}

.about-history__timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid #d9dee3;
}

.timeline-item__year {
  display: inline-flex;
  align-items: start;
  justify-content: center;
  padding-top: 2px;
  font-size: 28px;
  line-height: 1;
  color: #0f67b4;
}

.timeline-item__content h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1;
  color: #20262d;
}

.timeline-item__content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #66707a;
}

.about-cta {
  padding: 0 0 100px;
  background: #fff;
}

.about-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, #121920 0%, #334150 100%);
  position: relative;
  overflow: hidden;
}

.about-cta__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15,103,180,.28), transparent 34%);
  pointer-events: none;
}

.about-cta__content,
.about-cta__actions {
  position: relative;
  z-index: 2;
}

.section-kicker--light {
  color: rgba(255,255,255,.72);
}

.about-cta__content h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: .96;
  color: #fff;
}

.about-cta__content p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}

.btn-about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}

.btn-about--light {
  background: #fff;
  color: #20262d;
}

.btn-about--light:hover {
  background: #f0f4f8;
  color: #20262d;
}

@media (max-width: 1199px) {
  .about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-history__grid,
  .about-intro__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-hero--about {
    min-height: 340px;
  }

  .page-hero--about .page-hero__content {
    padding: 72px 0 56px;
  }

  .page-hero__text {
    font-size: 16px;
  }

  .about-intro,
  .about-values,
  .about-history {
    padding: 72px 0;
  }

  .about-highlight {
    padding: 10px 0 72px;
  }

  .about-highlight__box {
    padding: 30px 22px;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .about-cta {
    padding-bottom: 72px;
  }

  .about-cta__box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}


/*AUTORIDADES*/
.page-hero--authorities {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/quienes.jpg") center center / cover no-repeat;
}

.page-hero--authorities .page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 24, 40, 0.76) 0%,
    rgba(12, 24, 40, 0.44) 52%,
    rgba(12, 24, 40, 0.2) 100%
  );
}

.page-hero--authorities .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 90px 0 70px;
  color: #fff;
}

.authorities-intro {
  padding: 84px 0 28px;
  background: #fff;
}

.authorities-grid-section {
  padding: 20px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

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

.authority-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 14px 34px rgba(15, 34, 54, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.authority-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 34, 54, 0.12);
}

.authority-card__photo {
  position: relative;
  aspect-ratio: 4 / 3.6;
  background: linear-gradient(180deg, #edf4fb 0%, #dfeaf3 100%);
  overflow: hidden;
}

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

/* Si todavía no tenés fotos reales, esto ayuda a que quede prolijo igual */
.authority-card__photo:empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(15,103,180,.12), rgba(15,103,180,.03)),
    linear-gradient(180deg, #eef5fb 0%, #dfeaf3 100%);
}

.authority-card__photo:empty::after {
  content: "\\F4DA";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 54px;
  color: #0f67b4;
  opacity: .9;
}

.authority-card__body {
  padding: 24px 24px 26px;
}

.authority-card__role {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 103, 180, 0.08);
  color: #0f67b4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.authority-card__name {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: .98;
  color: #20262d;
}

.authority-card__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #66707a;
}

.authority-card--featured {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(15,103,180,.16);
}

.authority-card--featured .authority-card__body {
  padding-bottom: 30px;
}

.authorities-note {
  padding: 0 0 96px;
  background: #fff;
}

.authorities-note__box {
  border-radius: 28px;
  overflow: hidden;
  padding: 40px 42px;
  background: linear-gradient(135deg, #121920 0%, #334150 100%);
  position: relative;
}

.authorities-note__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15,103,180,.28), transparent 34%);
  pointer-events: none;
}

.authorities-note__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.authorities-note__content h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: .96;
  color: #fff;
}

.authorities-note__content p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
}

@media (max-width: 1199px) {
  .authorities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-hero--authorities {
    min-height: 340px;
  }

  .page-hero--authorities .page-hero__content {
    padding: 72px 0 56px;
  }

  .authorities-intro {
    padding: 72px 0 20px;
  }

  .authorities-grid-section {
    padding: 12px 0 72px;
  }

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

  .authority-card__body {
    padding: 22px 20px 24px;
  }

  .authority-card__name {
    font-size: 25px;
  }

  .authorities-note {
    padding-bottom: 72px;
  }

  .authorities-note__box {
    padding: 30px 24px;
  }
}


/*SERVICIOS*/
.page-hero--services {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero-servicios.png") center center / cover no-repeat;
}

.page-hero--services .page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 24, 40, 0.76) 0%,
    rgba(12, 24, 40, 0.44) 55%,
    rgba(12, 24, 40, 0.18) 100%
  );
}

.page-hero--services .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 90px 0 72px;
  color: #fff;
}

.services-intro {
  padding: 84px 0 48px;
  background: #fff;
}

.services-anchor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.service-anchor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 24px;
  border: 1px solid #d9dee3;
  background: #fff;
  padding: 28px 22px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(15, 34, 54, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-anchor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 34, 54, 0.12);
  border-color: rgba(15, 103, 180, 0.22);
}

.service-anchor-card__icon {
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-anchor-card__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.service-anchor-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.05;
  color: #20262d;
}

.service-anchor-card span {
  font-size: 14px;
  font-weight: 700;
  color: #0f67b4;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.service-detail {
  padding: 90px 0;
}

.service-detail--light {
  background: #fff;
}

.service-detail--alt {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.service-detail__grid--reverse {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.service-detail__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail__media-box {
  width: 100%;
  min-height: 340px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #edf4fb 0%, #dfeaf3 100%);
  border: 1px solid #d9dee3;
  box-shadow: 0 16px 36px rgba(15, 34, 54, 0.08);
}

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

.service-detail__media-box--icon {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.service-detail__media-box--icon img {
  max-width: 210px;
  max-height: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.service-detail__content p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.8;
  color: #66707a;
}

.service-detail__list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.service-detail__item {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 10px 24px rgba(15, 34, 54, 0.05);
}

.service-detail__item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: #20262d;
}

.service-detail__item span {
  display: block;
  font-size: 15px;
  line-height: 1.65;
  color: #66707a;
}

.service-bullets {
  margin: 24px 0;
  padding-left: 22px;
}

.service-bullets li {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.75;
  color: #66707a;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 103, 180, 0.08);
  color: #0f67b4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.services-cta {
  padding: 0 0 96px;
  background: #fff;
}

.services-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, #121920 0%, #334150 100%);
  position: relative;
  overflow: hidden;
}

.services-cta__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15,103,180,.28), transparent 34%);
  pointer-events: none;
}

.services-cta__content,
.services-cta__actions {
  position: relative;
  z-index: 2;
}

.services-cta__content h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: .96;
  color: #fff;
}

.services-cta__content p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
}

.btn-services {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}

.btn-services--light {
  background: #fff;
  color: #20262d;
}

.btn-services--light:hover {
  background: #f0f4f8;
  color: #20262d;
}

@media (max-width: 1199px) {
  .services-anchor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail__grid,
  .service-detail__grid--reverse {
    grid-template-columns: 1fr;
  }

  .service-detail__grid--reverse .service-detail__media {
    order: -1;
  }
}

@media (max-width: 767px) {
  .page-hero--services {
    min-height: 340px;
  }

  .page-hero--services .page-hero__content {
    padding: 72px 0 56px;
  }

  .services-intro {
    padding: 72px 0 34px;
  }

  .services-anchor-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .service-detail {
    padding: 72px 0;
  }

  .service-detail__media-box,
  .service-detail__media-box--icon {
    min-height: 250px;
  }

  .service-detail__media-box--icon img {
    max-width: 150px;
    max-height: 150px;
  }

  .services-cta {
    padding-bottom: 72px;
  }

  .services-cta__box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }
}

.services-detail-grid-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.service-detail-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 36px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 16px 36px rgba(15, 34, 54, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 34, 54, 0.12);
}

/* leve acento visual arriba */
.service-detail-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, #0f67b4, #4aa3ff);
  opacity: .85;
}

/* TITULOS */

.service-detail-card .section-kicker {
  margin-bottom: 8px;
}

.service-detail-card .section-title {
  margin-bottom: 14px;
}

/* TEXTOS */

.service-detail-card p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #66707a;
}

/* LISTA TIPO BLOQUES (asesoramiento) */

.service-detail-card__list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-detail-card__item {
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7fafc;
  border: 1px solid #e1e6eb;
  transition: .2s ease;
}

.service-detail-card__item:hover {
  background: #f0f6fc;
  border-color: rgba(15,103,180,.25);
}

.service-detail-card__item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15.5px;
  color: #20262d;
}

.service-detail-card__item span {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: #66707a;
}

/* BULLETS */

.service-bullets {
  margin: 18px 0;
  padding-left: 20px;
}

.service-bullets li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #66707a;
}

/* TAGS (representación) */

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 103, 180, 0.08);
  color: #0f67b4;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: .2s ease;
}

.service-tags span:hover {
  background: rgba(15, 103, 180, 0.15);
}

/* RESPONSIVE */

@media (max-width: 1199px) {
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .services-detail-grid-section {
    padding: 72px 0;
  }

  .service-detail-card {
    padding: 28px 22px 30px;
    border-radius: 22px;
  }

  .service-detail-card::before {
    border-radius: 22px 22px 0 0;
  }

  .service-detail-card p {
    font-size: 15.5px;
  }

  .service-detail-card__item {
    padding: 14px 14px;
  }
}

/*CONTACTO*/
.page-hero--contact {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero-contacto.jpg") center center / cover no-repeat;
}

.page-hero--contact .page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 24, 40, 0.78) 0%,
    rgba(12, 24, 40, 0.42) 55%,
    rgba(12, 24, 40, 0.18) 100%
  );
}

.page-hero--contact .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 90px 0 70px;
  color: #fff;
}

.contact-page-section {
  padding: 90px 0 40px;
  background: #fff;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 380px;
  gap: 30px;
  align-items: start;
}

.contact-form-card,
.contact-info-card,
.contact-support-card {
  border-radius: 28px;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 16px 36px rgba(15, 34, 54, 0.08);
}

.contact-form-card {
  padding: 34px 34px 36px;
}

.contact-form-card__head {
  margin-bottom: 28px;
}

.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form-modern__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-form-modern__row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  font-size: 14px;
  font-weight: 700;
  color: #20262d;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #d9dee3;
  background: #f9fbfd;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  color: #20262d;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(15, 103, 180, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 103, 180, 0.08);
  background: #fff;
}

.contact-field textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-form-modern__actions {
  margin-top: 8px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
  border: 0;
  cursor: pointer;
}

.btn-contact--primary {
  background: #0f67b4;
  color: #fff;
}

.btn-contact--primary:hover {
  background: #0a4d87;
  color: #fff;
}

.btn-contact--light {
  background: #fff;
  color: #20262d;
}

.btn-contact--light:hover {
  background: #f0f4f8;
  color: #20262d;
}

.contact-info-column {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  padding: 28px 28px 30px;
}

.contact-info-card h3 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1;
  color: #20262d;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-info-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.contact-info-list i {
  font-size: 18px;
  color: #0f67b4;
  margin-top: 2px;
}

.contact-info-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #0f67b4;
}

.contact-info-list span,
.contact-info-list a {
  font-size: 15px;
  line-height: 1.65;
  color: #66707a;
  text-decoration: none;
}

.contact-support-card {
  padding: 28px 28px 30px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.contact-support-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1;
  color: #20262d;
}

.contact-support-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #66707a;
}

.contact-map-section {
  padding: 30px 0 90px;
  background: #fff;
}

.contact-map-box {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #d9dee3;
  box-shadow: 0 16px 36px rgba(15, 34, 54, 0.08);
  background: #fff;
}

.contact-map-box__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 30px 24px;
}

.contact-map-box__head p {
  max-width: 420px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #66707a;
}

.contact-map-embed {
  height: 460px;
  background: #dfeaf3;
}

.contact-cta-section {
  padding: 0 0 96px;
  background: #fff;
}

.contact-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, #121920 0%, #334150 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15,103,180,.28), transparent 34%);
  pointer-events: none;
}

.contact-cta-box__content,
.contact-cta-box__actions {
  position: relative;
  z-index: 2;
}

.contact-cta-box__content h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: .96;
  color: #fff;
}

.contact-cta-box__content p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
}

@media (max-width: 1199px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-box__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .page-hero--contact {
    min-height: 340px;
  }

  .page-hero--contact .page-hero__content {
    padding: 72px 0 56px;
  }

  .contact-page-section {
    padding: 72px 0 26px;
  }

  .contact-form-card,
  .contact-info-card,
  .contact-support-card {
    border-radius: 22px;
  }

  .contact-form-card {
    padding: 26px 22px 28px;
  }

  .contact-form-modern__row--2 {
    grid-template-columns: 1fr;
  }

  .contact-map-section {
    padding: 20px 0 72px;
  }

  .contact-map-box {
    border-radius: 22px;
  }

  .contact-map-box__head {
    padding: 24px 22px 18px;
  }

  .contact-map-embed {
    height: 360px;
  }

  .contact-cta-section {
    padding-bottom: 72px;
  }

  .contact-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    border-radius: 22px;
  }
}

/*NOTICIAS*/
.page-hero--news {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero-noticias.jpg") center center / cover no-repeat;
}

.page-hero--news .page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 24, 40, 0.78) 0%,
    rgba(12, 24, 40, 0.42) 55%,
    rgba(12, 24, 40, 0.18) 100%
  );
}

.page-hero--news .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 90px 0 70px;
  color: #fff;
}

.news-page-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.news-page-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #d9dee3;
  background: #fff;
  color: #20262d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}

.news-filter-chip:hover,
.news-filter-chip.is-active {
  background: #0f67b4;
  color: #fff;
  border-color: #0f67b4;
}

.news-featured-card {
  display: grid;
  grid-template-columns: 1.05fr minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 16px 36px rgba(15, 34, 54, 0.08);
  margin-bottom: 34px;
}

.news-featured-card__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.news-featured-card__body {
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-card__body h3 {
  margin: 0 0 14px;
  font-size: clamp(32px, 3.1vw, 48px);
  line-height: .95;
  color: #20262d;
}

.news-featured-card__body p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.75;
  color: #66707a;
}

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

.news-card-modern {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 14px 34px rgba(15, 34, 54, 0.08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.news-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 34, 54, 0.12);
}

.news-card-modern__media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.news-card-modern__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.news-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 103, 180, 0.08);
  color: #0f67b4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.news-card-category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #66707a;
}

.news-card-modern__body h3 {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1;
  color: #20262d;
}

.news-card-modern__body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #66707a;
}

.news-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-card-date {
  font-size: 14px;
  font-weight: 700;
  color: #0f67b4;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #0f67b4;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.news-card-link:hover {
  background: #0a4d87;
  color: #fff;
}

.news-pagination {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.news-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d9dee3;
  background: #fff;
  color: #20262d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}

.news-pagination__item:hover,
.news-pagination__item.is-active {
  background: #0f67b4;
  color: #fff;
  border-color: #0f67b4;
}

.news-pagination__item--wide {
  min-width: 74px;
}

.news-cta-section {
  padding: 0 0 96px;
  background: #fff;
}

.news-cta-box {
  border-radius: 28px;
  overflow: hidden;
  padding: 40px 42px;
  background: linear-gradient(135deg, #121920 0%, #334150 100%);
  position: relative;
}

.news-cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15,103,180,.28), transparent 34%);
  pointer-events: none;
}

.news-cta-box__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.news-cta-box__content h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: .96;
  color: #fff;
}

.news-cta-box__content p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
}

@media (max-width: 1199px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .news-featured-card__media img {
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  .page-hero--news {
    min-height: 340px;
  }

  .page-hero--news .page-hero__content {
    padding: 72px 0 56px;
  }

  .news-page-section {
    padding: 72px 0;
  }

  .news-featured-card {
    border-radius: 22px;
  }

  .news-featured-card__body {
    padding: 26px 22px 24px;
  }

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

  .news-card-modern {
    border-radius: 22px;
  }

  .news-card-modern__media img {
    height: 220px;
  }

  .news-card-modern__body {
    padding: 20px 18px 18px;
  }

  .news-card-modern__body h3 {
    font-size: 24px;
  }

  .news-card-meta,
  .news-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-cta-section {
    padding-bottom: 72px;
  }

  .news-cta-box {
    padding: 30px 24px;
    border-radius: 22px;
  }
}

/*NOTICIA*/
.news-detail-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: end;
  overflow: hidden;
}

.news-detail-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12,24,40,.3) 0%,
    rgba(12,24,40,.85) 100%
  );
}

.news-detail-hero__content {
  position: relative;
  z-index: 2;
  padding: 90px 0 60px;
  color: #fff;
  max-width: 800px;
}

.news-detail-hero__content h1 {
  margin: 10px 0 14px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: .95;
}

.news-detail-hero__meta {
  font-size: 15px;
  font-weight: 600;
  opacity: .85;
}

.news-detail-section {
  padding: 90px 0;
  background: #fff;
}

.news-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}

.news-detail-content {
  max-width: 720px;
}

.news-detail-content .lead {
  font-size: 20px;
  line-height: 1.7;
  color: #20262d;
  font-weight: 500;
}

.news-detail-content p {
  font-size: 16.5px;
  line-height: 1.8;
  color: #66707a;
  margin-bottom: 18px;
}

.news-detail-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid #0f67b4;
  background: #f6f9fc;
  font-size: 18px;
  line-height: 1.6;
  color: #20262d;
  font-weight: 500;
}

.news-detail-image {
  margin: 30px 0;
}

.news-detail-image img {
  width: 100%;
  border-radius: 18px;
}

.news-detail-image figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #8a94a0;
}

.news-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-sidebar-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #d9dee3;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,34,54,0.08);
}

.news-sidebar-card h3 {
  margin: 8px 0 16px;
  font-size: 22px;
}

.news-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-related-list li {
  margin-bottom: 14px;
}

.news-related-list a {
  text-decoration: none;
  color: #20262d;
}

.news-related-list span {
  display: block;
  font-weight: 600;
}

.news-related-list small {
  font-size: 13px;
  color: #8a94a0;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef5fb;
  font-size: 13px;
  font-weight: 600;
}

.news-detail-nav {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.news-detail-nav__item {
  text-decoration: none;
  font-weight: 600;
  color: #0f67b4;
}

.news-detail-cta {
  padding-bottom: 90px;
}

/* responsive */

@media (max-width: 991px) {
  .news-detail-grid {
    grid-template-columns: 1fr;
  }

  .news-detail-sidebar {
    order: 2;
  }
}

@media (max-width: 767px) {
  .news-detail-hero {
    min-height: 400px;
  }

  .news-detail-hero__content {
    padding: 70px 0 40px;
  }

  .news-detail-section {
    padding: 70px 0;
  }
}

/*BIBLIOTECA*/
.biblioteca-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg,#0c2438,#0f67b4);
  color: #fff;
}

.biblioteca-hero h1 {
  font-size: clamp(38px,4vw,56px);
  margin: 10px 0;
}

.biblioteca-search {
  margin: 30px auto;
  max-width: 520px;
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.biblioteca-search input {
  flex: 1;
  border: none;
  padding: 14px 18px;
  outline: none;
}

.biblioteca-search button {
  background: #0f67b4;
  border: none;
  color: #fff;
  padding: 0 18px;
}

.biblioteca-tabs {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.biblioteca-tabs button {
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
}

.biblioteca-tabs .active {
  background: #fff;
  color: #0f67b4;
}

.biblioteca-filters {
  padding: 30px 0;
  background: #f6f9fc;
}

.biblioteca-filters__wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.biblioteca-filters select {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d9dee3;
}

.biblioteca-featured {
  padding: 60px 0;
}

.biblioteca-featured-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.biblioteca-featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biblioteca-featured-main .content {
  position: absolute;
  bottom: 0;
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg,transparent,rgba(0,0,0,.7));
}

.biblioteca-featured-side .item {
  padding: 20px;
  border: 1px solid #d9dee3;
  border-radius: 14px;
  margin-bottom: 12px;
}

.biblioteca-grid {
  padding: 60px 0;
}

.biblioteca-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d9dee3;
  transition: .3s;
}

.biblioteca-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,.08);
}

.biblioteca-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.biblioteca-card .content {
  padding: 18px;
}

.biblioteca-card h3 {
  font-size: 18px;
  margin: 8px 0;
}

.biblioteca-card p {
  font-size: 14px;
  color: #66707a;
}

.biblioteca-card .meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
}

.biblioteca-card .plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f67b4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.biblioteca-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.biblioteca-pagination button {
  border: 1px solid #d9dee3;
  padding: 6px 12px;
  background: #fff;
}

.biblioteca-pagination .active {
  background: #0f67b4;
  color: #fff;
}

.page-hero--biblioteca-detail {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero-biblioteca-detail.jpg") center center / cover no-repeat;
}

.page-hero--biblioteca-detail .page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 24, 40, 0.78) 0%,
    rgba(12, 24, 40, 0.42) 55%,
    rgba(12, 24, 40, 0.18) 100%
  );
}

.page-hero--biblioteca-detail .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 90px 0 70px;
  color: #fff;
}

.biblioteca-detail-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.biblioteca-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.biblioteca-detail-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.biblioteca-video-box,
.biblioteca-downloads-box,
.biblioteca-sidebar-card {
  border-radius: 28px;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 16px 36px rgba(15, 34, 54, 0.08);
}

.biblioteca-video-box {
  overflow: hidden;
}

.biblioteca-video-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #0e1b2a;
}

.biblioteca-video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.biblioteca-detail-body {
  padding: 6px 2px 0;
}

.biblioteca-detail-body .lead {
  font-size: 20px;
  line-height: 1.7;
  color: #20262d;
  font-weight: 500;
}

.biblioteca-detail-body p {
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.8;
  color: #66707a;
}

.biblioteca-detail-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid #0f67b4;
  background: #f6f9fc;
  font-size: 18px;
  line-height: 1.6;
  color: #20262d;
  font-weight: 500;
  border-radius: 0 16px 16px 0;
}

.biblioteca-downloads-box {
  padding: 28px;
}

.biblioteca-downloads-box__head {
  margin-bottom: 18px;
}

.biblioteca-downloads-box__head h3 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1;
  color: #20262d;
}

.biblioteca-download-list {
  display: grid;
  gap: 14px;
}

.biblioteca-download-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  padding: 16px 16px;
  border-radius: 18px;
  text-decoration: none;
  background: #f8fbff;
  border: 1px solid #e0e7ee;
  transition: .2s ease;
}

.biblioteca-download-item:hover {
  background: #f0f6fc;
  border-color: rgba(15,103,180,.22);
  transform: translateY(-2px);
}

.biblioteca-download-item__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,103,180,.08);
  color: #0f67b4;
  font-size: 24px;
}

.biblioteca-download-item__content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: #20262d;
}

.biblioteca-download-item__content span {
  display: block;
  font-size: 14px;
  color: #66707a;
}

.biblioteca-download-item__action {
  color: #0f67b4;
  font-size: 18px;
  text-align: right;
}

.biblioteca-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.biblioteca-sidebar-card {
  padding: 24px;
}

.biblioteca-sidebar-card h3 {
  margin: 8px 0 16px;
  font-size: 24px;
  line-height: 1;
  color: #20262d;
}

.biblioteca-meta-list,
.biblioteca-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.biblioteca-meta-list {
  display: grid;
  gap: 14px;
}

.biblioteca-meta-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f4;
}

.biblioteca-meta-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.biblioteca-meta-list strong {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0f67b4;
}

.biblioteca-meta-list span {
  font-size: 15px;
  line-height: 1.6;
  color: #66707a;
}

.biblioteca-related-list li {
  margin-bottom: 14px;
}

.biblioteca-related-list li:last-child {
  margin-bottom: 0;
}

.biblioteca-related-list a {
  display: block;
  text-decoration: none;
  color: #20262d;
}

.biblioteca-related-list span {
  display: block;
  font-weight: 600;
  line-height: 1.5;
}

.biblioteca-related-list small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #8a94a0;
}

.biblioteca-detail-nav {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.biblioteca-detail-nav__item {
  text-decoration: none;
  font-weight: 600;
  color: #0f67b4;
}

.biblioteca-detail-cta {
  padding: 0 0 96px;
  background: #fff;
}

.biblioteca-detail-cta__box {
  border-radius: 28px;
  overflow: hidden;
  padding: 40px 42px;
  background: linear-gradient(135deg, #121920 0%, #334150 100%);
  position: relative;
}

.biblioteca-detail-cta__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15,103,180,.28), transparent 34%);
  pointer-events: none;
}

.biblioteca-detail-cta__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.biblioteca-detail-cta__content h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: .96;
  color: #fff;
}

.biblioteca-detail-cta__content p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
}

@media (max-width: 991px) {
  .biblioteca-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-hero--biblioteca-detail {
    min-height: 340px;
  }

  .page-hero--biblioteca-detail .page-hero__content {
    padding: 72px 0 56px;
  }

  .biblioteca-detail-section {
    padding: 72px 0;
  }

  .biblioteca-video-box,
  .biblioteca-downloads-box,
  .biblioteca-sidebar-card,
  .biblioteca-detail-cta__box {
    border-radius: 22px;
  }

  .biblioteca-downloads-box {
    padding: 22px;
  }

  .biblioteca-download-item {
    grid-template-columns: 46px minmax(0, 1fr) 22px;
    gap: 12px;
    padding: 14px;
  }

  .biblioteca-download-item__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 20px;
  }

  .biblioteca-detail-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .biblioteca-detail-cta {
    padding-bottom: 72px;
  }

  .biblioteca-detail-cta__box {
    padding: 30px 24px;
  }
}