:root {
  --navy: #061b49;
  --blue: #1757c2;
  --red: #ff3b2f;
  --text: #071b46;
  --muted: #5c6b85;
  --light: #f6f9ff;
  --border: #e8edf7;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 27, 73, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  text-decoration: none;
}

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

.container {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eef2f8;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding: 34px 0;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 42px;
  height: 3px;
  background: var(--red);
}

.header-btn {
  background: var(--navy);
  color: #fff;
  padding: 18px 28px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(6, 27, 73, 0.18);
}

.header-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.24), transparent);
  transform: skewX(-20deg);
}

.header-btn:hover {
  background: #08235f;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(6, 27, 73, 0.28);
}

.header-btn:hover::after {
  left: 130%;
  transition: left 0.6s ease;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background:
    radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: 0;
  width: 560px;
  height: 560px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.eyebrow b {
  width: 4px;
  height: 20px;
  background: var(--red);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(54px, 5.1vw, 72px);
  line-height: 0.96;
  margin: 0;
  letter-spacing: -2.5px;
  color: var(--navy);
}

.red-line {
  width: 90px;
  height: 6px;
  background: var(--red);
  margin: 28px 0 26px;
}

.red-line.small {
  width: 60px;
  height: 4px;
  margin: 18px 0 24px;
}

.hero-role {
  font-size: 25px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 26px;
  font-weight: 500;
}

.hero-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 34px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  z-index: -1;
}

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

.btn:hover::after {
  left: 130%;
  transition: left 0.6s ease;
}

.btn span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn:hover span {
  transform: translateX(5px);
}

.btn-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(6, 27, 73, 0.25);
}

.btn-primary:hover {
  background: #08235f;
  box-shadow: 0 22px 40px rgba(6, 27, 73, 0.35);
}

.btn-outline {
  color: var(--navy);
  border: 2px solid rgba(6, 27, 73, 0.4);
  background: #fff;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 14px 30px rgba(6, 27, 73, 0.2);
}

.hero-visual {
  height: 520px;
  position: relative;
}

.hero-card {
  position: absolute;
  z-index: 3;
  left: -16px;
  top: 42px;
  width: 360px;
  height: 480px;
  overflow: hidden;
  border-radius: 13px;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-building {
  position: absolute;
  right: -8px;
  top: 0;
  width: 500px;
  height: 520px;
  border-radius: 0 0 0 46px;
  background:
    linear-gradient(rgba(6, 27, 73, 0.03), rgba(6, 27, 73, 0.03)),
    url("/img/ucjc.jpg") 42% 68% / cover no-repeat;
  box-shadow: var(--shadow);
}

.square {
  width: 24px;
  height: 24px;
  background: var(--red);
  display: block;
  position: absolute;
  z-index: 5;
}

.square-top {
  top: 30px;
  left: -34px;
}

.square-bottom {
  bottom: -16px;
  left: 332px;
}

/* PILLARS */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
  margin-bottom: 78px;
  position: relative;
  z-index: 5;
}

.pillar-card {
  background: #fff;
  border: 1px solid #edf1f8;
  border-radius: 12px;
  min-height: 245px;
  padding: 34px 32px;
  box-shadow: 0 18px 45px rgba(6, 27, 73, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(6, 27, 73, 0.10);
}

.pillar-top {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 24px;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.pillar-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.4px;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
  max-width: 270px;
}

.pillar-card a {
  display: inline-block;
  margin-top: 28px;
  color: var(--red);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}


/* ABOUT */

.about-section {
  padding: 10px 0 70px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 96px;
  align-items: center;
}

.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.3px;
  margin: 0 0 12px;
}

.about-copy h2,
.section-heading h2,
.business-cta h2 {
  color: var(--navy);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -1.4px;
  margin: 0;
}

.about-copy p:not(.section-kicker),
.business-cta p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 600;
  max-width: 570px;
}

.about-copy .btn {
  margin-top: 22px;
}

.about-image {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.about-image img {
  width: 460px;
  height: 330px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}

.about-frame {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(6, 27, 73, 0.25);
  border-radius: 14px;
  z-index: 1;
  transition: transform 0.25s ease;
}

.about-square {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  background: var(--red);
  z-index: 4;
  transition: transform 0.25s ease;
}

.about-dots {
  position: absolute;
  top: -30px;
  right: -42px;
  width: 190px;
  height: 190px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.85;
  z-index: 0;
}

.about-image:hover .about-frame {
  transform: translate(-4px, -4px);
}

.about-image:hover .about-square {
  transform: translate(4px, 4px);
}

/* RESEARCH */

.research-section {
  padding: 0 0 72px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading a {
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
}

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

.research-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.research-card div {
  padding: 24px;
}

.research-card h3 {
  font-size: 18px;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 14px;
}

.research-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
  font-weight: 600;
}

.research-card a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

/* CTA */

.business-cta {
  padding: 58px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.10), transparent 32%),
    linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
}

.cta-grid {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 36px;
  align-items: center;
}

.cta-icon {
  color: var(--blue);
  font-size: 76px;
  font-weight: 300;
}

.business-cta .btn {
  min-width: 270px;
}

/* LOGOS */

.logos {
  padding: 48px 0 40px;
  background: #fff;
}

.logos-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 40px;
}

.logos-row img {
  max-height: 62px;
  margin: 0 auto;
  object-fit: contain;
}

/* FOOTER */

.footer {
  background: linear-gradient(135deg, #061b49 0%, #001435 100%);
  color: #fff;
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 42px;
}

.footer h3,
.footer h4 {
  margin: 0 0 18px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

.footer a {
  display: block;
}

.socials {
  display: flex;
  gap: 22px;
  margin-top: 26px;
}

.socials a {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .container {
    width: min(100% - 40px, 1180px);
  }

  .main-nav,
  .header-btn {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 420px;
  }

  .hero-building {
    right: 0;
  }

  .pillars,
  .research-grid,
  .logos-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }


  .pillar-card {
    padding: 32px 28px;
  }

  .pillar-top {
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   AJUSTES DEFINITIVOS GLOBALES
   ========================================================= */

.logo img {
  height: 52px;
  width: auto;
  max-width: 190px;
  display: block;
}

.header-inner {
  gap: 28px;
}

.main-nav {
  margin-left: auto;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px !important;
  background: #ffffff !important;
  color: var(--navy) !important;
  border: 2px solid rgba(6, 27, 73, 0.16) !important;
  border-radius: 7px;
  box-shadow: 0 12px 26px rgba(6, 27, 73, 0.08) !important;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.header-btn:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(6, 27, 73, 0.22) !important;
}

.btn,
.header-btn {
  cursor: pointer;
}

.btn span {
  display: inline-block;
  transition: transform .25s ease;
}

.btn:hover span {
  transform: translateX(5px);
}

.nav-toggle,
.hamburger {
  display: none;
}
/* Enlaces exclusivos del menú móvil */
.mobile-nav-only {
  display: none !important;
}


.logos-row img,
.logos-grid img {
  filter: grayscale(1);
  opacity: .72;
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.logos-row img:hover,
.logos-grid img:hover {
  transform: translateY(-4px) scale(1.04);
  filter: grayscale(0);
  opacity: 1;
}

.socials a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .logo img { height: 46px; }

  .hamburger {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
    background: var(--navy);
    display: block;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .nav-toggle:checked ~ .main-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .nav-toggle:checked ~ .main-nav .mobile-nav-only {
    display: block !important;
  }

  .nav-toggle:checked ~ .main-nav .mobile-nav-contact {
    margin-top: 10px;
    padding: 15px 18px !important;
    text-align: center;
    color: #ffffff !important;
    background: var(--navy);
    border-radius: 8px;
    font-weight: 800;
  }

  .nav-toggle:checked ~ .main-nav .mobile-nav-contact::after {
    display: none;
  }

  .header-btn {
    display: none;
  }
}


/* =========================================================
   PÁGINA INVESTIGACIÓN
   ========================================================= */
/* =========================================================
       PÁGINA INVESTIGACIÓN - ADAPTADA A HOME PRINCIPAL
       ========================================================= */

    body.research-page {
      background: #fff;
    }

    .research-page .main-nav a.active::after {
      background: var(--red);
    }

    .main-nav a:hover {
      color: var(--red);
    }

    /* HERO */
    .inv-hero {
      position: relative;
      overflow: hidden;
      padding: 96px 0 82px;
      background:
        radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    }

    .inv-hero::after {
      content: "";
      position: absolute;
      right: -160px;
      top: 0;
      width: 560px;
      height: 560px;
      background-image: radial-gradient(#dce5f5 1px, transparent 1px);
      background-size: 14px 14px;
      opacity: 0.9;
    }

    .inv-hero-grid {
      display: grid;
      grid-template-columns: 1.02fr 1fr;
      gap: 70px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .inv-eyebrow {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
      color: var(--blue);
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 1.5px;
      margin-bottom: 24px;
      text-transform: uppercase;
    }

    .inv-eyebrow b {
      width: 4px;
      height: 20px;
      background: var(--red);
      display: inline-block;
    }

    .inv-hero-copy h1 {
      font-size: clamp(48px, 5vw, 68px);
      line-height: 1;
      margin: 0;
      letter-spacing: -2.4px;
      color: var(--navy);
      max-width: 720px;
    }

    .inv-hero-copy .red-line {
      margin: 28px 0 26px;
    }

    .inv-hero-lead {
      font-size: 24px;
      line-height: 1.55;
      color: var(--navy);
      margin: 0 0 22px;
      font-weight: 500;
      max-width: 620px;
    }

    .inv-hero-description {
      font-size: 16px;
      line-height: 1.9;
      color: var(--muted);
      max-width: 560px;
      margin: 0 0 34px;
      font-weight: 600;
    }

    .inv-hero-actions {
      display: flex;
      gap: 22px;
      flex-wrap: wrap;
    }

    .inv-hero-visual {
      height: 500px;
      position: relative;
    }

    .inv-hero-img {
      position: absolute;
      z-index: 3;
      right: 0;
      top: 32px;
      width: 500px;
      height: 405px;
      overflow: visible;
      border-radius: 14px;
      box-shadow: var(--shadow);
      background: #fff;
    }

    .inv-hero-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: inherit;
    }

    .inv-hero-panel {
      position: absolute;
      left: 0;
      bottom: 0;
      z-index: 4;
      width: 315px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 13px;
      padding: 28px 26px;
      box-shadow: 0 20px 48px rgba(6, 27, 73, 0.10);
    }

    .inv-hero-panel span {
      display: block;
      color: var(--blue);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 1px;
      margin-bottom: 10px;
      text-transform: uppercase;
    }

    .inv-hero-panel strong {
      display: block;
      color: var(--navy);
      font-size: 22px;
      line-height: 1.25;
      letter-spacing: -0.5px;
    }

    .inv-square-top,
    .inv-square-bottom {
      width: 24px;
      height: 24px;
      background: var(--red);
      display: block;
      position: absolute;
      z-index: 5;
      pointer-events: none;
    }

    .inv-square-top {
      top: -12px;
      left: -12px;
    }

    .inv-square-bottom {
      right: -12px;
      bottom: -12px;
    }

    /* RESEARCH LINES */
    .research-lines {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 54px;
      margin-bottom: 72px;
      position: relative;
      z-index: 5;
    }

    .line-card {
      background: #fff;
      border: 1px solid #edf1f8;
      border-radius: 12px;
      min-height: 245px;
      padding: 34px 32px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.06);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .line-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 24px 55px rgba(6, 27, 73, 0.10);
    }

    .line-top {
      display: flex;
      align-items: flex-start;
      gap: 22px;
      margin-bottom: 24px;
    }

    .line-icon {
      width: 56px;
      height: 56px;
      object-fit: contain;
      flex-shrink: 0;
      color: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .line-icon svg {
      width: 56px;
      height: 56px;
      display: block;
    }

    .line-card h3 {
      margin: 0;
      font-size: 21px;
      line-height: 1.35;
      color: var(--navy);
      font-weight: 800;
      letter-spacing: -0.4px;
    }

    .line-card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
      font-weight: 600;
      max-width: 270px;
    }

    /* PUBLICACIONES */
    .pubs-section {
      padding: 10px 0 76px;
    }

    .inv-section-heading {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 40px;
      margin-bottom: 30px;
    }

    .inv-section-heading h2 {
      color: var(--navy);
      font-size: 38px;
      line-height: 1.18;
      letter-spacing: -1.4px;
      margin: 0;
      position: relative;
      display: inline-block;
    }

    .inv-section-heading h2::after,
    .inv-cta h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 4px;
      background: var(--red);
      margin-top: 16px;
    }

    .inv-section-heading.centered-heading {
      justify-content: center;
      text-align: center;
    }

    .inv-section-heading.centered-heading h2::after {
      margin-left: auto;
      margin-right: auto;
    }

    .lines-heading {
      margin-top: 70px;
      margin-bottom: 0;
    }

    .inv-section-heading p:not(.section-kicker) {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.75;
      font-weight: 600;
      max-width: 720px;
      margin: 12px 0 0;
    }

    .tabs-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 0 0 32px;
      flex-wrap: wrap;
    }

    .tab-btn {
      min-height: 38px;
      padding: 0 22px;
      border-radius: 7px;
      background: #f3f6fb;
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      border: 0;
      cursor: pointer;
      font-family: inherit;
      transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

    .tab-btn:hover,
    .tab-btn.active {
      background: var(--navy);
      color: #fff;
      transform: translateY(-2px);
    }

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

    .pub-card {
      min-height: 335px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 28px 24px 24px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.05);
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .pub-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 26px 60px rgba(6, 27, 73, 0.11);
    }

    .pub-badge {
      display: inline-block;
      width: fit-content;
      color: var(--blue);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: 0.6px;
      border: 1px solid rgba(23, 87, 194, 0.25);
      border-radius: 5px;
      padding: 4px 8px;
      margin-bottom: 18px;
      text-transform: uppercase;
    }

    .pub-source {
      color: var(--navy);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.25;
      margin: 0 0 14px;
      letter-spacing: -0.3px;
    }

    .pub-title {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.72;
      font-weight: 600;
      margin: 0 0 22px;
      flex: 1;
    }

    .pub-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }

    .pub-meta span {
      background: #f6f9ff;
      color: var(--muted);
      border: 1px solid var(--border);
      font-size: 11px;
      font-weight: 800;
      padding: 5px 8px;
      border-radius: 5px;
    }

    .pub-footer {
      margin-top: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 20px;
    }

    .pub-year {
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    .pub-arrow {
      color: var(--red);
      font-size: 26px;
      line-height: 1;
      transition: transform 0.25s ease;
    }

    .pub-card:hover .pub-arrow {
      transform: translateX(5px);
    }


    /* PUBLICACIONES - ESTILO PORTFOLIO ACADÉMICO */
    .publication-heading {
      align-items: flex-start;
    }

    .publication-link {
      color: var(--blue);
      font-size: 13px;
      font-weight: 900;
      white-space: nowrap;
      margin-top: 12px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      border: 0;
      background: transparent;
      cursor: pointer;
      font-family: inherit;
      padding: 0;
    }

    .publication-link:hover {
      color: var(--navy);
    }

    .publication-link span {
      color: var(--red);
      font-size: 20px;
      line-height: 1;
    }

    .publication-tabs {
      margin-bottom: 32px;
    }

    .publication-tabs .tab-btn {
      min-height: 38px;
      padding: 0 22px;
      background: #f3f6fb;
      color: var(--muted);
      border-radius: 7px;
    }

    .publication-tabs .tab-btn:hover,
    .publication-tabs .tab-btn.active {
      background: var(--navy);
      color: #fff;
    }

    .publication-card {
      min-height: 368px;
      padding: 28px 24px 24px;
    }

    .publication-card .pub-badge {
      color: var(--blue);
      border-color: rgba(23, 87, 194, 0.28);
      background: #fff;
      margin-bottom: 22px;
    }

    .pub-logo {
      height: 58px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 16px;
      padding: 4px 0;
    }

    .pub-logo img {
      display: block;
      width: auto;
      max-width: 150px;
      max-height: 52px;
      object-fit: contain;
      object-position: left center;
      filter: contrast(1.04);
    }


    .pub-logo img[alt="Index Comunicación"],
    .pub-logo img[alt="Visual Review"] {
      max-width: 130px;
      max-height: 48px;
    }

    .pub-logo img[alt="Marcial Pons"],
    .pub-logo img[alt="Editorial Dykinson"],
    .pub-logo img[alt="Congreso Internacional CILCS"] {
      max-width: 140px;
      max-height: 44px;
    }

    .publication-card .pub-source {
      font-size: 18px;
      margin-bottom: 14px;
    }

    .publication-card .pub-title {
      font-size: 13.5px;
      line-height: 1.75;
      margin-bottom: 26px;
    }

    .publication-card .pub-footer {
      border-top: 0;
      padding-top: 18px;
    }

    .publication-card .pub-arrow {
      color: var(--red);
      font-size: 25px;
    }

    .empty-pubs {
      display: none;
      margin-top: 18px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.05);
      color: var(--muted);
      font-weight: 600;
      max-width: 560px;
    }

    .empty-pubs strong {
      display: block;
      color: var(--navy);
      font-size: 22px;
      margin-bottom: 8px;
    }

    .empty-pubs p {
      margin: 0;
      line-height: 1.7;
    }

    /* ACTIVIDAD INVESTIGADORA EN CIFRAS */
    .research-metrics {
      padding: 54px 0 58px;
      background:
        radial-gradient(circle at 18% 20%, rgba(23, 87, 194, 0.08), transparent 34%),
        linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
    }

    .metrics-heading {
      margin-bottom: 30px;
    }

    .metrics-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      align-items: stretch;
      background: rgba(255, 255, 255, 0.42);
    }

    .metric-item {
      position: relative;
      text-align: center;
      padding: 4px 34px 2px;
      min-height: 150px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
    }

    .metric-item:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 8px;
      bottom: 8px;
      width: 1px;
      background: #d8e2f4;
    }

    .metric-icon {
      width: 42px;
      height: 42px;
      color: var(--blue);
      margin-bottom: 14px;
    }

    .metric-icon svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .metric-item strong {
      display: block;
      color: var(--navy);
      font-size: 30px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: -1px;
      margin-bottom: 8px;
    }

    .metric-item span {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
      font-weight: 800;
      max-width: 160px;
    }

    /* ESTANCIA */
    .international-section {
      padding: 74px 0 76px;
    }

    .international-card {
      margin-top: 30px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.05);
      padding: 18px;
      display: grid;
      grid-template-columns: 390px 1fr 170px;
      gap: 36px;
      align-items: center;
    }

    .international-card > img {
      width: 390px;
      height: 245px;
      object-fit: cover;
      border-radius: 10px;
    }

    .international-content h3 {
      color: var(--navy);
      font-size: 22px;
      line-height: 1.35;
      margin: 0 0 18px;
      letter-spacing: -0.4px;
    }

    .international-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 18px;
    }

    .international-content p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
      font-weight: 600;
      margin: 0 0 10px;
    }

    .international-logo img {
      max-width: 135px;
      max-height: 62px;
      object-fit: contain;
      margin: 0 auto;
    }

    /* CTA FINAL */
    .inv-cta {
      padding: 58px 0;
      background:
        radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.10), transparent 32%),
        linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
    }

    .inv-cta-grid {
      display: grid;
      grid-template-columns: 110px 1fr auto;
      gap: 36px;
      align-items: center;
    }

    .inv-cta-icon {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .inv-cta h2 {
      color: var(--navy);
      font-size: 38px;
      line-height: 1.18;
      letter-spacing: -1.4px;
      margin: 0;
    }

    .inv-cta p:not(.section-kicker) {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.85;
      font-weight: 600;
      max-width: 650px;
      margin: 12px 0 0;
    }

    .inv-cta .btn {
      min-width: 270px;
    }

    @media (max-width: 980px) {
      .inv-hero-grid,
      .activity-grid,
      .international-card,
      .inv-cta-grid {
        grid-template-columns: 1fr;
      }

      .inv-hero-visual {
        height: auto;
      }

      .inv-hero-img,
      .inv-hero-panel {
        position: relative;
        width: 100%;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
      }

      .inv-hero-img {
        height: 330px;
      }

      .inv-hero-panel {
        margin-top: -42px;
        max-width: 330px;
      }

      .research-lines,
      .pub-grid {
        grid-template-columns: 1fr;
      }

      .inv-section-heading {
        align-items: flex-start;
        flex-direction: column;
      }

      .international-card > img {
        width: 100%;
      }

      .international-logo img {
        margin: 0;
      }

      .timeline::before {
        left: 78px;
      }

      .line-top {
        gap: 18px;
      }

      .metrics-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
      }

      .metric-item {
        min-height: 140px;
        padding: 18px 22px;
        border-bottom: 1px solid #d8e2f4;
      }

      .metric-item:not(:last-child)::after {
        display: none;
      }

      .metric-item:nth-child(odd)::after {
        content: "";
        display: block;
        position: absolute;
        right: 0;
        top: 18px;
        bottom: 18px;
        width: 1px;
        background: #d8e2f4;
      }
    }

    @media (max-width: 600px) {
      .inv-hero {
        padding: 70px 0 56px;
      }

      .inv-hero-lead {
        font-size: 20px;
      }

      .inv-hero-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .btn {
        width: 100%;
      }

      .inv-cta h2,
      .inv-section-heading h2 {
        font-size: 32px;
      }

      .research-metrics {
        padding: 44px 0 48px;
      }

      .metrics-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .metric-item {
        min-height: 150px;
        padding: 22px 10px 20px;
        border-bottom: 0;
      }

      .metric-item:nth-child(-n+2) {
        border-bottom: 1px solid #d8e2f4;
      }

      .metric-item:nth-child(odd)::after {
        content: "";
        display: block;
        position: absolute;
        right: 0;
        top: 18px;
        bottom: 18px;
        width: 1px;
        background: #d8e2f4;
      }

      .metric-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
      }

      .metric-item strong {
        font-size: 34px;
        margin-bottom: 8px;
      }

      .metric-item span {
        font-size: 13px;
        line-height: 1.3;
        max-width: 125px;
      }
    }


/* =========================================================
   PÁGINA UNIVERSIDAD
   ========================================================= */
body.university-page { background:#fff; }

    .university-page .site-header {
      background:rgba(255,255,255,.97);
      backdrop-filter:blur(10px);
    }

    .university-page .header-btn {
      display:inline-flex;
      align-items:center;
      gap:10px;
    }

    .university-page .header-btn svg {
      width:18px;
      height:18px;
      color:#fff;
    }

    .univ-hero {
      position: relative;
      overflow: hidden;
      padding: 96px 0 82px;
      background:
        radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    }

    .univ-hero::after {
      content: "";
      position: absolute;
      right: -160px;
      top: 0;
      width: 560px;
      height: 560px;
      background-image: radial-gradient(#dce5f5 1px, transparent 1px);
      background-size: 14px 14px;
      opacity: 0.9;
      z-index: 1;
    }

    .univ-hero-grid {
      display: grid;
      grid-template-columns: 1.02fr 1fr;
      gap: 70px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .univ-eyebrow {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
      color: var(--blue);
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 1.5px;
      margin-bottom: 24px;
      text-transform: uppercase;
    }

    .univ-eyebrow b {
      width: 4px;
      height: 20px;
      background: var(--red);
      display: inline-block;
    }

    .univ-hero-copy h1 {
      font-size: clamp(48px, 5vw, 68px);
      line-height: 1;
      margin: 0;
      letter-spacing: -2.4px;
      color: var(--navy);
      max-width: 720px;
    }

    .univ-hero-copy .red-line {
      margin: 28px 0 26px;
    }

    .univ-hero-lead {
      font-size: 24px;
      line-height: 1.55;
      color: var(--navy);
      margin: 0 0 22px;
      font-weight: 500;
      max-width: 620px;
    }

    .univ-hero-description {
      font-size: 16px;
      line-height: 1.9;
      color: var(--muted);
      max-width: 560px;
      margin: 0 0 34px;
      font-weight: 600;
    }

    .univ-hero-actions {
      display: flex;
      gap: 22px;
      flex-wrap: wrap;
    }

    .univ-hero-visual {
      height: 500px;
      position: relative;
    }

    .univ-hero-img {
      position: absolute;
      z-index: 3;
      right: 0;
      top: 32px;
      width: 500px;
      height: 405px;
      overflow: visible;
      border-radius: 14px;
      box-shadow: var(--shadow);
      background: #fff;
    }

    .univ-hero-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: inherit;
      box-shadow: none;
    }

    .univ-hero-panel {
      position: absolute;
      left: 0;
      bottom: 0;
      z-index: 4;
      width: 315px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 13px;
      padding: 28px 26px;
      box-shadow: 0 20px 48px rgba(6, 27, 73, 0.10);
    }

    .univ-hero-panel span {
      display: block;
      color: var(--blue);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 1px;
      margin-bottom: 10px;
      text-transform: uppercase;
    }

    .univ-hero-panel strong {
      display: block;
      color: var(--navy);
      font-size: 22px;
      line-height: 1.25;
      letter-spacing: -0.5px;
    }

    .univ-square-top,
    .univ-square-bottom {
      width: 24px;
      height: 24px;
      background: var(--red);
      display: block;
      position: absolute;
      z-index: 5;
      pointer-events: none;
    }

    .univ-square-top {
      top: -12px;
      left: -12px;
    }

    .univ-square-bottom {
      right: -12px;
      bottom: -12px;
    }


    /* BLOQUE RESUMEN ACTIVIDAD UNIVERSITARIA */
    .univ-activity-lines {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 54px;
      margin-bottom: 72px;
      position: relative;
      z-index: 5;
    }

    .univ-activity-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      min-height: 255px;
      padding: 34px 32px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.05);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .univ-activity-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 24px 55px rgba(6, 27, 73, 0.10);
    }

    .univ-activity-top {
      display: flex;
      align-items: flex-start;
      gap: 22px;
      margin-bottom: 24px;
    }

    .univ-activity-icon {
      width: 56px;
      height: 56px;
      color: var(--blue);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .univ-activity-icon svg {
      width: 56px;
      height: 56px;
      display: block;
    }

    .univ-activity-card h3 {
      margin: 0;
      font-size: 21px;
      line-height: 1.35;
      color: var(--navy);
      font-weight: 900;
      letter-spacing: -0.4px;
    }

    .univ-activity-card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
      font-weight: 600;
      max-width: 290px;
    }

    .univ-activity-arrow {
      display: inline-block;
      margin-top: 28px;
      color: var(--red);
      font-size: 28px;
      line-height: 1;
      font-weight: 500;
      transition: transform 0.25s ease;
    }

    .univ-activity-card:hover .univ-activity-arrow {
      transform: translateX(5px);
    }

    .univ-section-intro {
      padding-top: 0;
    }

    /* BLOQUES UNIVERSIDAD - AJUSTADOS AL SISTEMA VISUAL DEL SITIO */
    .uni-section {
      padding: 0 0 72px;
    }

    .uni-section:first-of-type {
      padding-top: 0;
    }

    .uni-panel {
      position: relative;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.05);
      padding: 18px;
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 44px;
      align-items: center;
      overflow: hidden;
    }

    .uni-panel::after {
      content: "";
      position: absolute;
      right: -72px;
      top: -72px;
      width: 230px;
      height: 230px;
      background-image: radial-gradient(#dce5f5 1px, transparent 1px);
      background-size: 13px 13px;
      opacity: 0.65;
      pointer-events: none;
    }

    .uni-panel.reverse {
      grid-template-columns: 1.08fr 0.92fr;
    }

    .uni-photo {
      position: relative;
      z-index: 2;
      height: 100%;
    }

    .uni-photo::before,
    .uni-photo::after {
      content: "";
      position: absolute;
      width: 22px;
      height: 22px;
      background: var(--red);
      z-index: 4;
      pointer-events: none;
    }

    .uni-photo::before {
      top: -7px;
      left: -7px;
    }

    .uni-photo::after {
      right: -7px;
      bottom: -7px;
    }

    .uni-photo img {
      width: 100%;
      height: 100%;
      min-height: 390px;
      object-fit: cover;
      border-radius: 10px;
      box-shadow: var(--shadow);
      position: relative;
      z-index: 3;
    }

    .uni-content {
      position: relative;
      z-index: 2;
      padding: 34px 32px 34px 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .uni-panel.reverse .uni-content {
      padding: 34px 0 34px 32px;
    }

    .uni-title-row {
      display: flex;
      align-items: center;
      gap: 18px;
      margin-bottom: 14px;
    }

    .uni-icon {
      width: 56px;
      height: 56px;
      color: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
    }

    .uni-icon svg {
      width: 54px;
      height: 54px;
      stroke-width: 2.4;
    }

    .uni-content h2 {
      margin: 0;
      color: var(--navy);
      font-size: 34px;
      line-height: 1.15;
      font-weight: 900;
      letter-spacing: -1.1px;
    }

    .mini-red-line {
      width: 60px;
      height: 4px;
      background: var(--red);
      margin: 2px 0 24px 74px;
    }

    .uni-content > p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.9;
      font-weight: 600;
      max-width: 690px;
      margin: 0 0 18px;
    }

    .uni-cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
      margin-top: 22px;
    }

    .uni-card {
      background: #fff;
      border: 1px solid #edf1f8;
      border-radius: 12px;
      padding: 30px 26px;
      min-height: 220px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.055);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .uni-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 24px 55px rgba(6, 27, 73, 0.10);
    }

    .uni-card svg {
      width: 42px;
      height: 42px;
      color: var(--blue);
      margin-bottom: 20px;
    }

    .uni-card h3 {
      color: var(--navy);
      font-size: 16px;
      line-height: 1.35;
      font-weight: 900;
      margin: 0 0 12px;
      letter-spacing: -0.25px;
    }

    .uni-card p {
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.82;
      font-weight: 600;
      margin: 0;
    }


    .uni-subtle-link {
      margin-top: 30px;
      text-align: center;
      width: 100%;
    }

    .uni-subtle-link a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--blue);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      text-decoration: none;
      border-bottom: 2px solid rgba(23, 87, 194, 0.16);
      padding-bottom: 5px;
      transition: color 0.25s ease, border-color 0.25s ease;
    }

    .uni-subtle-link a span {
      color: var(--red);
      transition: transform 0.25s ease;
    }

    .uni-subtle-link a:hover {
      color: var(--navy);
      border-color: var(--red);
    }

    .uni-subtle-link a:hover span {
      transform: translateX(4px);
    }

    .stats-section {
      padding: 54px 0 58px;
      background:
        radial-gradient(circle at 18% 20%, rgba(23, 87, 194, 0.08), transparent 34%),
        linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
    }

    .stats-heading {
      text-align: center;
      margin-bottom: 34px;
    }

    .stats-heading .section-kicker {
      margin-bottom: 12px;
    }

    .stats-heading h2 {
      color: var(--navy);
      font-size: 38px;
      line-height: 1.18;
      letter-spacing: -1.4px;
      margin: 0;
    }

    .stats-heading h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 4px;
      background: var(--red);
      margin: 18px auto 0;
    }

    .stats-panel {
      display: block;
    }

    .stats-box {
      background: rgba(255, 255, 255, 0.42);
      border: 0;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
    }

    .stats-kicker {
      display: none;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      text-align: center;
      align-items: stretch;
    }

    .stat-item {
      position: relative;
      padding: 8px 34px 6px;
      min-height: 142px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      border-right: 0;
    }

    .stat-item:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 8px;
      bottom: 8px;
      width: 1px;
      background: #d8e2f4;
    }

    .stat-icon {
      width: 42px;
      height: 42px;
      color: var(--blue);
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 14px;
    }

    .stat-icon svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .stat-num {
      color: var(--navy);
      font-size: 30px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: -1px;
      margin-bottom: 8px;
    }

    .stat-label {
      color: var(--muted);
      font-size: 14px;
      font-weight: 800;
      line-height: 1.45;
      max-width: 160px;
    }

    .stats-img {
      display: none;
    }

    .univ-cta {
      padding: 58px 0;
      background:
        radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.10), transparent 32%),
        linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
    }

    .univ-cta-panel {
      display: grid;
      grid-template-columns: 110px 1fr auto;
      gap: 36px;
      align-items: center;
    }

    .univ-cta-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--blue);
    }

    .univ-cta-icon svg {
      width: 64px;
      height: 64px;
      display: block;
    }

    .univ-cta h2 {
      color: var(--navy);
      font-size: 38px;
      line-height: 1.18;
      letter-spacing: -1.4px;
      margin: 0;
    }

    .univ-cta h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 4px;
      background: var(--red);
      margin-top: 16px;
    }

    .univ-cta p:not(.section-kicker) {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.85;
      font-weight: 600;
      max-width: 650px;
      margin: 12px 0 0;
    }

    .univ-cta .btn {
      min-width: 270px;
    }

    .logos {
      padding: 70px 0 42px;
      background:#fff;
    }

    .logos-row {
      display:grid;
      grid-template-columns:repeat(4,1fr);
      align-items:center;
      gap:56px;
    }

    .logos-row img {
      max-height:60px;
      max-width:190px;
      object-fit:contain;
      margin:0 auto;
    }

    .university-page .footer {
      padding-top:34px;
    }

    .university-page .footer-grid {
      padding-bottom:30px;
    }


    .univ-section-intro {
      padding-top: 0;
      padding-bottom: 0;
    }

    .univ-section-intro .lines-heading {
      margin-top: 70px;
      margin-bottom: 0;
    }

    .univ-section-intro .inv-section-heading {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 40px;
      margin-bottom: 30px;
    }

    .univ-section-intro h2 {
      color: var(--navy);
      font-size: 38px;
      line-height: 1.18;
      letter-spacing: -1.4px;
      margin: 0;
      position: relative;
      display: inline-block;
    }

    .univ-section-intro h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 4px;
      background: var(--red);
      margin-top: 16px;
    }

    @media (max-width:980px) {
      .univ-activity-lines {
        grid-template-columns: 1fr;
        margin-top: 36px;
        margin-bottom: 56px;
      }

      .univ-activity-card {
        min-height: auto;
      }

      .univ-hero-grid,
      .uni-panel,
      .uni-panel.reverse,
      .stats-panel,
      .univ-cta-panel {
        grid-template-columns:1fr;
      }

      .univ-hero {
        padding:70px 0 56px;
      }

      .univ-hero-visual {
        height: auto;
      }

      .univ-hero-img,
      .univ-hero-panel {
        position: relative;
        width: 100%;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
      }

      .univ-hero-img {
        height: 330px;
      }

      .univ-hero-panel {
        margin-top: -42px;
        max-width: 330px;
      }

      .uni-content,
      .uni-panel.reverse .uni-content {
        padding: 28px 8px 8px;
      }

      .uni-photo img {
        min-height:300px;
      }

      .uni-panel.reverse .uni-photo { order:-1; }

      .uni-cards,
      .logos-row {
        grid-template-columns:1fr 1fr;
      }

      .logos {
        padding: 52px 0 34px;
      }

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

      .stat-item {
        min-height: 140px;
        padding: 18px 22px;
        margin-bottom: 0;
        border-bottom: 1px solid #d8e2f4;
      }

      .stat-item:not(:last-child)::after {
        display: none;
      }

      .stat-item:nth-child(odd)::after {
        content: "";
        display: block;
        position: absolute;
        right: 0;
        top: 18px;
        bottom: 18px;
        width: 1px;
        background: #d8e2f4;
      }

      .stat-item:nth-child(3),
      .stat-item:nth-child(4) {
        border-bottom: 0;
      }


      .univ-cta-panel .btn {
        width:100%;
      }
    }

    @media (max-width:620px) {
      .uni-cards,
      .logos-row {
        grid-template-columns:1fr;
      }

      .logos {
        padding: 44px 0 30px;
      }

      .stats-section {
        padding: 48px 0 58px;
      }

      .stats-heading h2 {
        font-size: 32px;
      }

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

      .stat-item {
        min-height: 178px;
        padding: 20px 8px 18px;
        border-bottom: 1px solid #dce5f5;
      }

      .stat-item:nth-child(odd)::after {
        content: "";
        display: block;
        position: absolute;
        right: 0;
        top: 20px;
        bottom: 20px;
        width: 1px;
        background: #d8e2f4;
      }

      .stat-item:nth-child(3),
      .stat-item:nth-child(4) {
        border-bottom: 0;
      }

      .stat-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 12px;
      }

      .stat-num {
        font-size: clamp(21px, 5.8vw, 24px);
        line-height: 1.02;
        letter-spacing: -0.8px;
        margin-bottom: 8px;
        max-width: 100%;
        white-space: nowrap;
      }

      .stat-label {
        font-size: 12.5px;
        line-height: 1.35;
        max-width: 142px;
      }

      .univ-hero-copy h1 {
        font-size:36px;
      }

      .univ-hero-lead {
        font-size: 20px;
      }

      .univ-hero-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .uni-panel,
      .univ-cta-panel {
        padding:22px;
      }

      .stats-box {
        padding: 18px 10px;
      }

      .mini-red-line { margin-left:0; }

      .univ-section-intro h2 {
        font-size: 32px;
      }
    }


    @media (max-width:380px) {
      .stat-num {
        font-size: 20px;
        letter-spacing: -0.7px;
      }

      .stat-label {
        font-size: 12px;
      }

      .stat-item {
        padding-left: 6px;
        padding-right: 6px;
      }
    }


/* =========================================================
   PÁGINA EMPRESA
   ========================================================= */
/* =========================================================
       PÁGINA EMPRESA
       ========================================================= */

    .empresa-page {
      background: #fff;
    }

    .empresa-hero {
      position: relative;
      overflow: hidden;
      padding: 96px 0 82px;
      background:
        radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    }

    .empresa-hero::after {
      content: "";
      position: absolute;
      right: -160px;
      top: 0;
      width: 560px;
      height: 560px;
      background-image: radial-gradient(#dce5f5 1px, transparent 1px);
      background-size: 14px 14px;
      opacity: 0.9;
      pointer-events: none;
      z-index: 1;
    }

    .empresa-hero-grid {
      display: grid;
      grid-template-columns: 1.02fr 1fr;
      gap: 70px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .empresa-eyebrow {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
      color: var(--blue);
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 1.5px;
      margin-bottom: 24px;
      text-transform: uppercase;
    }

    .empresa-eyebrow b {
      width: 4px;
      height: 20px;
      background: var(--red);
      display: inline-block;
    }

    .empresa-hero-copy h1 {
      font-size: clamp(48px, 5vw, 68px);
      line-height: 1;
      margin: 0;
      letter-spacing: -2.4px;
      color: var(--navy);
      max-width: 720px;
    }

    .empresa-hero-copy .red-line {
      margin: 28px 0 26px;
    }

    .empresa-hero-lead {
      font-size: 24px;
      line-height: 1.55;
      color: var(--navy);
      margin: 0 0 22px;
      font-weight: 500;
      max-width: 620px;
    }

    .empresa-hero-description {
      font-size: 16px;
      line-height: 1.9;
      color: var(--muted);
      max-width: 560px;
      margin: 0 0 34px;
      font-weight: 600;
    }

    .empresa-actions {
      display: flex;
      gap: 22px;
      flex-wrap: wrap;
    }

    .empresa-hero-visual {
      height: 500px;
      position: relative;
    }

    .empresa-hero-img {
      position: absolute;
      z-index: 3;
      right: 0;
      top: 32px;
      width: 500px;
      height: 405px;
      overflow: visible;
      border-radius: 14px;
      box-shadow: var(--shadow);
      background: #fff;
    }

    .empresa-hero-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: inherit;
      display: block;
    }

    .empresa-hero-panel {
      position: absolute;
      left: 0;
      bottom: 0;
      z-index: 4;
      width: 315px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 13px;
      padding: 28px 26px;
      box-shadow: 0 20px 48px rgba(6, 27, 73, 0.10);
    }

    .empresa-hero-panel span {
      display: block;
      color: var(--blue);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 1px;
      margin-bottom: 10px;
      text-transform: uppercase;
    }

    .empresa-hero-panel strong {
      display: block;
      color: var(--navy);
      font-size: 22px;
      line-height: 1.25;
      letter-spacing: -0.5px;
    }

    .empresa-square-top,
    .empresa-square-bottom {
      width: 24px;
      height: 24px;
      background: var(--red);
      display: block;
      position: absolute;
      z-index: 5;
      pointer-events: none;
    }

    .empresa-square-top {
      top: -12px;
      left: -12px;
    }

    .empresa-square-bottom {
      right: -12px;
      bottom: -12px;
    }

    .empresa-section-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 14px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.045);
      padding: 48px 34px;
      margin-bottom: 28px;
    }

    .empresa-section-title {
      text-align: center;
      margin-bottom: 42px;
    }

    .empresa-section-title h2 {
      color: var(--navy);
      font-size: 28px;
      line-height: 1.25;
      letter-spacing: -0.8px;
      margin: 0;
    }

    .empresa-section-title .red-line.small {
      margin: 16px auto 0;
      width: 38px;
      height: 3px;
    }

    .empresa-block-heading {
      margin: 0 0 42px;
    }

    .empresa-block-heading .section-kicker {
      color: var(--blue);
      font-size: 14px;
      font-weight: 900;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin: 0 0 12px;
    }

    .empresa-block-heading h2 {
      color: var(--navy);
      font-size: clamp(34px, 4vw, 42px);
      line-height: 1.08;
      letter-spacing: -1.6px;
      margin: 0;
    }

    .empresa-block-heading .red-line {
      margin: 20px 0 0;
      width: 60px;
      height: 3px;
    }

    .growth-drivers {
      padding: 72px 0 34px;
    }

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

    .driver-item {
      min-height: 260px;
      display: grid;
      grid-template-columns: 56px 1fr;
      gap: 26px;
      align-items: start;
      padding: 34px 30px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 10px;
      box-shadow: 0 14px 34px rgba(6, 27, 73, 0.035);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .driver-item:hover {
      transform: translateY(-4px);
      border-color: rgba(23, 87, 194, 0.22);
      box-shadow: 0 22px 48px rgba(6, 27, 73, 0.075);
    }

    .driver-icon,
    .method-icon,
    .audience-icon {
      width: 74px;
      height: 74px;
      border-radius: 50%;
      background: #f0f5ff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--blue);
      flex-shrink: 0;
    }

    .driver-icon {
      width: 50px;
      height: 50px;
      border-radius: 0;
      background: transparent;
    }

    .driver-item h3,
    .method-step h3,
    .audience-card h3 {
      color: var(--navy);
      font-size: 17px;
      line-height: 1.35;
      letter-spacing: -0.3px;
      margin: 0 0 10px;
      font-weight: 900;
    }

    .driver-item h3 {
      font-size: 22px;
      line-height: 1.22;
      letter-spacing: -0.6px;
      margin-bottom: 26px;
    }

    .driver-item p,
    .method-step p,
    .audience-card p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.8;
      font-weight: 600;
      margin: 0;
    }

    .driver-item p {
      font-size: 14px;
      line-height: 1.75;
      max-width: 260px;
    }


    .method-card-section {
      padding: 52px 0 36px;
      margin-bottom: 28px;
    }

    .method-card-section .empresa-section-title {
      margin-bottom: 34px;
    }

    .method-eyebrow {
      display: block;
      color: var(--blue);
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .method-card-grid {
      display: grid;
      grid-template-columns: 1fr 46px 1fr 46px 1fr;
      gap: 18px;
      align-items: center;
    }

    .method-card {
      min-height: 342px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #fff;
      padding: 30px 22px 22px;
      box-shadow: 0 14px 34px rgba(6, 27, 73, 0.035);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .method-card:hover {
      transform: translateY(-4px);
      border-color: rgba(23, 87, 194, 0.22);
      box-shadow: 0 22px 48px rgba(6, 27, 73, 0.075);
    }

    .method-card-header {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 16px;
      align-items: start;
      margin-bottom: 18px;
    }

    .method-badge {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--blue);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 900;
      position: relative;
      box-shadow: 0 12px 24px rgba(23, 87, 194, 0.16);
    }

    .method-badge::after {
      content: "";
      position: absolute;
      right: -3px;
      bottom: -3px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--red);
      border: 2px solid #fff;
    }

    .method-card h3 {
      color: var(--navy);
      font-size: 18px;
      line-height: 1.3;
      letter-spacing: -0.4px;
      margin: 3px 0 10px;
      font-weight: 900;
    }

    .method-card p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
      font-weight: 600;
      margin: 0;
    }

    .method-image {
      margin-top: 22px;
      height: 130px;
      border-radius: 9px;
      overflow: hidden;
      background: #eef4ff;
      border: 1px solid rgba(23, 87, 194, 0.10);
    }

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

    .method-arrow {
      position: relative;
      height: 2px;
      background: repeating-linear-gradient(90deg, #9bb0d6 0 3px, transparent 3px 7px);
    }

    .method-arrow::after {
      content: "";
      position: absolute;
      right: -2px;
      top: 50%;
      width: 9px;
      height: 9px;
      border-top: 2px solid #9bb0d6;
      border-right: 2px solid #9bb0d6;
      transform: translateY(-50%) rotate(45deg);
    }

    .method-flex-note {
      max-width: 850px;
      margin: 28px auto 0;
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 16px;
      align-items: center;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
      font-weight: 600;
    }

    .method-flex-note svg {
      color: var(--blue);
    }

    .method-flex-note strong {
      color: var(--navy);
      font-weight: 900;
    }

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

    .audience-card {
      display: grid;
      grid-template-columns: 74px 1fr;
      gap: 20px;
      align-items: start;
      padding: 30px 24px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 10px 26px rgba(6, 27, 73, 0.035);
    }


    .audience-feature-section {
      padding: 62px 0 66px;
      margin-bottom: 28px;
      overflow: hidden;
    }

    .audience-feature-grid {
      display: grid;
      grid-template-columns: 0.9fr 1fr;
      gap: 92px;
      align-items: center;
    }

    .audience-feature-copy .section-kicker {
      color: var(--blue);
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin: 0 0 12px;
    }

    .audience-feature-copy h2 {
      color: var(--navy);
      font-size: clamp(34px, 4vw, 42px);
      line-height: 1.08;
      letter-spacing: -1.6px;
      margin: 0;
      max-width: 610px;
    }

    .audience-feature-copy .red-line {
      margin: 20px 0 28px;
      width: 60px;
      height: 3px;
    }

    .audience-feature-copy .btn {
      margin-top: 30px;
    }

    .audience-feature-visual {
      position: relative;
      width: fit-content;
      max-width: 100%;
      margin-left: auto;
    }

    .audience-feature-image {
      position: relative;
      z-index: 3;
      width: 460px;
      max-width: 100%;
      height: 330px;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--shadow);
      background: #f4f7ff;
    }

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

    .audience-feature-frame {
      position: absolute;
      right: -20px;
      bottom: -20px;
      width: 200px;
      height: 200px;
      border: 2px solid rgba(6, 27, 73, 0.25);
      border-radius: 14px;
      z-index: 1;
      pointer-events: none;
    }

    .audience-feature-square {
      position: absolute;
      right: -8px;
      bottom: -8px;
      width: 18px;
      height: 18px;
      background: var(--red);
      z-index: 4;
      pointer-events: none;
    }

    .audience-feature-dots {
      position: absolute;
      top: -30px;
      right: -42px;
      width: 190px;
      height: 190px;
      background-image: radial-gradient(#dce5f5 1px, transparent 1px);
      background-size: 12px 12px;
      opacity: 0.85;
      z-index: 0;
      pointer-events: none;
    }

    .audience-checklist {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 14px;
    }

    .audience-checklist li {
      display: grid;
      grid-template-columns: 24px 1fr;
      gap: 12px;
      align-items: start;
    }

    .audience-checklist span {
      width: 20px;
      height: 20px;
      border: 1.8px solid var(--blue);
      border-radius: 50%;
      color: var(--blue);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 900;
      line-height: 1;
      margin-top: 2px;
      position: relative;
    }

    .audience-checklist span::after {
      content: "";
      position: absolute;
      right: -3px;
      bottom: -3px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--red);
      border: 1.5px solid #fff;
    }

    .audience-checklist p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.65;
      font-weight: 600;
      margin: 0;
    }


    .experience-card {
      text-align: center;
      padding-bottom: 42px;
    }

    .client-logos {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 34px;
      align-items: center;
      margin: 8px 0 30px;}

    .client-logos img {
      max-height: 54px;
      max-width: 150px;
      margin: 0 auto;
      object-fit: contain;
    }

    .experience-card p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.8;
      font-weight: 600;
      max-width: 680px;
      margin: 0 auto;
    }


    .empresa-logos {
      padding: 34px 0 42px;
      margin-bottom: 28px;
    }

    .empresa-block-heading.centered {
      text-align: center;
    }

    .empresa-block-heading.centered .red-line {
      margin-left: auto;
      margin-right: auto;
    }

    .logos-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 38px;
      align-items: center;
      justify-items: center;
      margin-top: 0;}

    .logos-grid img {
      max-height: 52px;
      max-width: 142px;
      width: auto;
      object-fit: contain;
      transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
    }

    .logos-grid img:hover {
      filter: grayscale(0%);
      opacity: 1;
      transform: scale(1.05);
    }

    .agil-growth-section {
      padding: 64px 0 72px;
      margin-bottom: 18px;
      background:
        radial-gradient(circle at 10% 20%, rgba(23, 87, 194, 0.10), transparent 28%),
        linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      padding-left: calc(50vw - 50%);
      padding-right: calc(50vw - 50%);
    }

    .agil-growth-grid {
      display: grid;
      grid-template-columns: 90px 1fr auto;
      gap: 40px;
      align-items: center;
    }

    .agil-growth-icon {
      width: 74px;
      height: 74px;
      border-radius: 50%;
      background: #f0f5ff;
      border: 2px solid rgba(23, 87, 194, 0.22);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--blue);
      flex-shrink: 0;
    }

    .agil-growth-content .section-kicker {
      color: var(--blue);
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin: 0 0 12px;
    }

    .agil-growth-content h2 {
      color: var(--navy);
      font-size: clamp(34px, 4vw, 42px);
      line-height: 1.08;
      letter-spacing: -1.6px;
      margin: 0;
      max-width: 760px;
    }

    .agil-growth-content .red-line {
      margin: 20px 0 18px;
      width: 60px;
      height: 3px;
    }

    .agil-growth-content p:not(.section-kicker) {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.75;
      font-weight: 600;
      max-width: 680px;
      margin: 0;
    }

    .agil-growth-cta {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .agil-growth-cta .btn {
      min-width: 268px;
      background: #ffffff !important;
    }

    .empresa-main-content {
      padding-bottom: 12px;
    }

    @media (max-width: 980px) {
      .empresa-hero-grid,
      .driver-grid,
      .audience-grid,
      .agil-growth-grid {
        grid-template-columns: 1fr;
      }

      .growth-drivers {
        padding-top: 54px;
      }

      .driver-item {
        min-height: auto;
      }

      .empresa-hero-visual {
        height: auto;
      }

      .empresa-hero-img,
      .empresa-hero-panel {
        position: relative;
        width: 100%;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
      }

      .empresa-hero-img {
        height: 330px;
      }

      .empresa-hero-panel {
        margin-top: -42px;
        max-width: 330px;
      }

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

      .method-arrow {
        width: 2px;
        height: 36px;
        margin: 0 auto;
        background: repeating-linear-gradient(180deg, #9bb0d6 0 3px, transparent 3px 7px);
      }

      .method-arrow::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -2px;
        transform: translateX(-50%) rotate(135deg);
      }

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

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

      .agil-growth-section {
        padding-top: 54px;
        padding-bottom: 58px;
      }

      .agil-growth-grid {
        gap: 26px;
      }

      .agil-growth-cta {
        justify-content: flex-start;
      }

      .audience-feature-grid {
        grid-template-columns: 1fr;
        gap: 34px;
      }

      .audience-feature-visual {
        margin: 20px auto 0;
        order: 2;
      }

      .audience-feature-copy {
        order: 1;
      }

      .audience-feature-image {
        width: min(100%, 460px);
        height: auto;
        aspect-ratio: 460 / 330;
      }

      .audience-feature-dots {
        right: -22px;
      }
    }

    @media (max-width: 640px) {
      .empresa-hero {
        padding: 70px 0 56px;
      }

      .empresa-hero-lead {
        font-size: 20px;
      }

      .empresa-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .empresa-actions .btn {
        width: 100%;
      }

      .driver-item,
      .audience-card,
      .method-card-header,
      .method-flex-note {
        grid-template-columns: 1fr;
      }

      .method-card-section {
        padding: 42px 0 30px;
      }

      .empresa-block-heading {
        margin-bottom: 34px;
      }

      .driver-item {
        padding: 30px 26px;
      }

      .audience-feature-section {
        padding: 42px 0 38px;
      }

      .agil-growth-section {
        padding-top: 46px;
        padding-bottom: 50px;
      }

      .agil-growth-content h2 {
        font-size: 28px;
      }

      .agil-growth-cta .btn {
        width: 100%;
      }

      .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
      }

      .logos-grid img {
        max-height: 44px;
        max-width: 130px;
      }

      .audience-feature-copy h2 {
        font-size: 28px;
      }

      .audience-feature-frame {
        right: -10px;
        bottom: -12px;
        width: 145px;
        height: 145px;
      }

      .audience-feature-square {
        right: -4px;
        bottom: -5px;
        width: 15px;
        height: 15px;
      }

      .audience-feature-dots {
        top: -22px;
        right: -14px;
        width: 140px;
        height: 140px;
        background-size: 11px 11px;
      }
    }


    /* HEADER LOGO BACKUP - EMPRESA */
    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
      height: 40px;
      width: auto;
      display: block;
    }


/* =========================================================
   PÁGINA SOBRE MÍ - FORMATO DEFINITIVO UNIFICADO
   ========================================================= */

.about-page { background: #fff; }

.about-page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  background:
    radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.about-page-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: 0;
  width: 560px;
  height: 560px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

.about-page-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-page-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.about-page-hero-copy h1 {
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1;
  margin: 0;
  letter-spacing: -2.4px;
  color: var(--navy);
  max-width: 720px;
}

.about-page-hero-copy .red-line { margin: 28px 0 26px; }

.about-page-hero-lead {
  font-size: 24px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 22px;
  font-weight: 500;
  max-width: 620px;
}

.about-page-hero-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 34px;
  font-weight: 600;
}

.about-page-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.about-page-hero-visual {
  height: 500px;
  position: relative;
}

.about-page-hero-img {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 32px;
  width: 500px;
  height: 405px;
  overflow: visible;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: #fff;
}

.about-page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.about-page-hero-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: 315px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 28px 26px;
  box-shadow: 0 20px 48px rgba(6, 27, 73, 0.10);
}

.about-page-hero-panel span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-page-hero-panel strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.about-page-square-top,
.about-page-square-bottom {
  width: 24px;
  height: 24px;
  background: var(--red);
  display: block;
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.about-page-square-top { top: -12px; left: -12px; }
.about-page-square-bottom { right: -12px; bottom: -12px; }

.about-thinking-section,
.about-trajectory-section,
.about-education-section,
.about-volunteer-section {
  padding: 72px 0 0;
}

.about-section-heading {
  margin-bottom: 34px;
}

.about-section-heading.centered {
  text-align: center;
}

.about-section-heading.centered .red-line.small {
  margin-left: auto;
  margin-right: auto;
}

.about-section-heading h2 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -1.4px;
  margin: 0;
}

.about-thinking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-thinking-card,
.about-timeline-card,
.about-edu-card,
.about-vol-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(6, 27, 73, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-thinking-card:hover,
.about-timeline-card:hover,
.about-edu-card:hover,
.about-vol-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 87, 194, 0.22);
  box-shadow: 0 24px 55px rgba(6, 27, 73, 0.10);
}

.about-thinking-card {
  min-height: 255px;
  padding: 34px 32px;
}

.about-thinking-top {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 24px;
}

.about-thinking-icon {
  width: 56px;
  height: 56px;
  color: var(--blue);
  flex: 0 0 auto;
}

.about-thinking-card h3,
.about-timeline-card h3,
.about-edu-card h3,
.about-vol-card h3 {
  color: var(--navy);
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.about-thinking-card h3 {
  font-size: 21px;
  line-height: 1.35;
}

.about-thinking-card p,
.about-timeline-card p,
.about-edu-card p,
.about-vol-card p,
.about-purpose-grid p:not(.section-kicker) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
  font-weight: 600;
  margin: 0;
}

.about-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.about-timeline-card {
  position: relative;
  min-height: 315px;
  padding: 34px 28px;
  overflow: hidden;
}

.about-timeline-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.65;
  pointer-events: none;
}

.about-timeline-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 24px;
  box-shadow: 0 12px 24px rgba(6, 27, 73, 0.16);
}

.about-timeline-card:nth-child(even) .about-timeline-number {
  background: var(--blue);
}

.about-timeline-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.about-timeline-card strong {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.about-education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-edu-card {
  min-height: 210px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-edu-logo {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 26px;
}

.about-edu-logo img {
  max-height: 48px;
  max-width: 145px;
  object-fit: contain;
}

.about-edu-text {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.05;
  font-weight: 900;
}

.about-edu-text.red { color: #d7192a; }

.about-edu-card h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.about-edu-card p {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.about-vol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-vol-card {
  padding: 34px 32px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  align-items: center;
}

.about-vol-logo img {
  max-width: 120px;
  max-height: 110px;
  object-fit: contain;
}

.about-vol-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.about-vol-card span {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 16px;
}

.about-purpose-section {
  padding: 72px 0 58px;
}

.about-purpose-grid {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 54px 58px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.10), transparent 32%),
    linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
}

.about-purpose-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-purpose-grid h2 {
  color: var(--navy);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -1.1px;
  margin: 4px 0 14px;
  max-width: 620px;
}

.about-purpose-grid .btn {
  min-width: 270px;
}

@media (max-width: 980px) {
  .about-page-hero-grid,
  .about-thinking-grid,
  .about-timeline-grid,
  .about-education-grid,
  .about-vol-grid,
  .about-purpose-grid {
    grid-template-columns: 1fr;
  }

  .about-page-hero-visual {
    height: 420px;
  }

  .about-page-hero-img {
    width: 100%;
    height: 360px;
    right: 0;
  }

  .about-page-hero-panel {
    left: 18px;
    bottom: 0;
    width: calc(100% - 36px);
  }

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

  .about-purpose-grid {
    padding: 36px 28px;
  }

  .about-purpose-grid .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .about-page-hero {
    padding: 74px 0 62px;
  }

  .about-page-actions {
    flex-direction: column;
  }

  .about-page-actions .btn {
    width: 100%;
  }

  .about-thinking-section,
  .about-trajectory-section,
  .about-education-section,
  .about-volunteer-section {
    padding-top: 54px;
  }
}


/* =========================================================
   PÁGINA CONTACTO - DEFINITIVA
   ========================================================= */

    /* =========================================================
       PÁGINA CONTACTO
       ========================================================= */

    body {
      background: #ffffff;
    }
/* HERO */

    .contact-hero {
      padding: 96px 0 82px;
      background:
        radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
      position: relative;
      overflow: hidden;
    }

    .contact-hero::after {
      content: "";
      position: absolute;
      right: -160px;
      top: 0;
      width: 560px;
      height: 560px;
      background-image: radial-gradient(#dce5f5 1px, transparent 1px);
      background-size: 14px 14px;
      opacity: 0.9;
      pointer-events: none;
    }

    .contact-hero-grid {
      display: grid;
      grid-template-columns: 1.02fr 1fr;
      gap: 70px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .contact-hero-copy h1 {
      color: var(--navy);
      font-size: clamp(48px, 5vw, 68px);
      line-height: 1;
      letter-spacing: -2.4px;
      margin: 0;
      max-width: 650px;
    }

    .contact-hero-copy .red-line {
      margin: 28px 0 26px;
    }

    .contact-hero-lead {
      font-size: 24px;
      line-height: 1.55;
      color: var(--navy);
      margin: 0 0 22px;
      font-weight: 500;
      max-width: 620px;
    }

    .contact-hero-description {
      font-size: 16px;
      line-height: 1.9;
      color: var(--muted);
      max-width: 560px;
      margin: 0 0 34px;
      font-weight: 600;
    }

    .contact-info-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      max-width: 620px;
    }

    .contact-info-item {
  width: 150px;
  padding: 0 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: transform .25s ease;
}

    .contact-info-item + .contact-info-item {
  border-left: 1px solid #dfe7f5;
}

    .contact-info-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 18px;
  transition: color .25s ease, background .25s ease, transform .25s ease;
  flex-shrink: 0;
}

    .contact-info-item h3 {
      color: var(--navy);
      font-size: 16px;
      font-weight: 900;
      margin: 0 0 8px;
      letter-spacing: -0.2px;
    }

    .contact-info-item p,
    .contact-info-item a,
    .contact-info-action {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.65;
      font-weight: 700;
      margin: 0;
      overflow-wrap: anywhere;
      transition: color .25s ease;
    }

    .contact-info-item[href]:hover,
    .contact-info-item[href]:focus-visible {
      transform: translateY(-3px);
    }

    .contact-info-item[href]:hover .contact-info-icon,
    .contact-info-item[href]:focus-visible .contact-info-icon {
      color: var(--red);
      background: #fff1ef;
      transform: scale(1.04);
    }

    .contact-info-item[href]:hover .contact-info-action,
    .contact-info-item[href]:focus-visible .contact-info-action {
      color: var(--navy);
    }

    .contact-hero-visual {
      height: 500px;
      position: relative;
    }

    .contact-hero-img {
      position: absolute;
      z-index: 3;
      right: 0;
      top: 32px;
      width: 500px;
      height: 405px;
      overflow: visible;
      border-radius: 14px;
      box-shadow: var(--shadow);
      background: #fff;
    }

    .contact-hero-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: inherit;
      display: block;
    }

    .contact-hero-panel {
      position: absolute;
      left: 0;
      bottom: 0;
      z-index: 4;
      width: 315px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 13px;
      padding: 28px 26px;
      box-shadow: 0 20px 48px rgba(6, 27, 73, 0.10);
    }

    .contact-hero-panel span {
      display: block;
      color: var(--blue);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 1px;
      margin-bottom: 10px;
      text-transform: uppercase;
    }

    .contact-hero-panel strong {
      display: block;
      color: var(--navy);
      font-size: 22px;
      line-height: 1.25;
      letter-spacing: -0.5px;
    }

    .contact-square-top,
    .contact-square-bottom {
      width: 24px;
      height: 24px;
      background: var(--red);
      display: block;
      position: absolute;
      z-index: 5;
      pointer-events: none;
    }

    .contact-square-top {
      top: -12px;
      left: -12px;
    }

    .contact-square-bottom {
      right: -12px;
      bottom: -12px;
    }

    /* CONTACT MAIN */

    .contact-main {
      padding: 48px 0 64px;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1.08fr 0.92fr;
      gap: 34px;
      align-items: stretch;
    }

    .contact-panel {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: 14px;
      box-shadow: 0 18px 45px rgba(6, 27, 73, 0.05);
      padding: 46px 38px 42px;
    }

    .panel-title {
      text-align: center;
      color: var(--navy);
      font-size: 28px;
      font-weight: 900;
      line-height: 1.2;
      letter-spacing: -0.8px;
      margin: 0;
    }

    .panel-title-line {
      width: 36px;
      height: 3px;
      background: var(--red);
      margin: 18px auto 30px;
    }

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

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      border: 1px solid #dfe7f5;
      border-radius: 8px;
      background: #ffffff;
      color: var(--navy);
      font-family: inherit;
      font-size: 15px;
      font-weight: 600;
      padding: 18px 18px;
      outline: none;
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .contact-form textarea {
      min-height: 175px;
      resize: vertical;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
      color: #9aa8bf;
      font-weight: 600;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: rgba(23, 87, 194, 0.55);
      box-shadow: 0 0 0 4px rgba(23, 87, 194, 0.08);
    }

    .privacy-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 600;
      line-height: 1.5;
      margin-top: 2px;
    }

    .privacy-row input {
      width: 18px;
      height: 18px;
      padding: 0;
      margin-top: 1px;
      accent-color: var(--blue);
      flex-shrink: 0;
    }

    .privacy-row a {
      color: var(--blue);
      font-weight: 800;
    }

    .form-submit {
      width: 100%;
      margin-top: 2px;
      border: 0;
      cursor: pointer;
      min-height: 58px;
      font-family: inherit;
    }

    .form-note {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      color: #8a98b2;
      font-size: 13px;
      font-weight: 700;
      margin-top: 16px;
    }

    .help-list {
      display: grid;
      gap: 0;
    }

    .help-item {
      display: grid;
      grid-template-columns: 70px 1fr;
      gap: 18px;
      padding: 25px 0;
      border-bottom: 1px solid #e7edf8;
    }

    .help-item:first-of-type {
      padding-top: 4px;
    }

    .help-item:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .help-icon {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: #eef5ff;
      color: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .help-item h3 {
      color: var(--navy);
      font-size: 17px;
      line-height: 1.3;
      font-weight: 900;
      margin: 0 0 8px;
      letter-spacing: -0.3px;
    }

    .help-item p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.7;
      font-weight: 600;
      margin: 0;
    }

    /* CTA */

    .contact-cta {
      padding: 0 0 48px;
    }

    .contact-cta-card {
      background:
        radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.10), transparent 32%),
        linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
      border: 1px solid var(--border);
      border-radius: 13px;
      padding: 40px 56px;
      display: grid;
      grid-template-columns: 110px 1fr auto;
      gap: 34px;
      align-items: center;
    }

    .contact-cta-icon {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .contact-cta-card h2 {
      color: var(--navy);
      font-size: 28px;
      line-height: 1.28;
      letter-spacing: -0.9px;
      font-weight: 900;
      margin: 0 0 10px;
    }

    .contact-cta-card p {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.65;
      font-weight: 600;
      margin: 0;
      max-width: 560px;
    }

    .cta-side {
      display: grid;
      gap: 14px;
      justify-items: start;
    }

    .cta-side .btn {
      min-width: 245px;
    }

    .cta-note {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }

        /* RESPONSIVE */

    @media (max-width: 980px) {
      .contact-hero-grid,
      .contact-grid,
      .contact-cta-card {
        grid-template-columns: 1fr;
      }

      .contact-hero {
        padding: 60px 0 44px;
      }

      .contact-hero-visual {
        height: auto;
        min-height: 420px;
      }

      .contact-hero-img {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: 360px;
      }

      .contact-hero-panel {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(100%, 315px);
        margin-top: -52px;
        margin-left: 24px;
      }

      .contact-info-row {
        grid-template-columns: 1fr;
        gap: 22px;
      }

      .contact-info-item {
        padding: 0;
      }

      .contact-info-item + .contact-info-item {
        padding-left: 0;
        border-left: 0;
      }

      .contact-panel {
        padding: 34px 24px;
      }

      .help-item {
        grid-template-columns: 58px 1fr;
      }

      .contact-cta-card {
        padding: 34px 26px;
      }

      .cta-side {
        justify-items: stretch;
      }

      .cta-side .btn {
        width: 100%;
      }
    }

    @media (max-width: 600px) {
      .contact-hero-copy h1 {
        font-size: 42px;
      }

      .panel-title {
        font-size: 24px;
      }

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


/* =========================================================
   FOOTER - enlaces legales alineados
   ========================================================= */

.footer-bottom {
  align-items: center;
  gap: 24px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  text-align: right;
}

.footer-legal a,
.footer-legal span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
}

.footer-legal a {
  display: inline-flex;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-legal a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .footer-bottom {
    align-items: flex-start;
  }

  .footer-legal {
    justify-content: flex-start;
    text-align: left;
    margin-top: 12px;
  }
}


/* =========================================================
   HOME - BLOQUE CTA UNIFICADO CON RESTO DE PÁGINAS
   ========================================================= */

.business-cta-card-section {
  padding: 72px 0;
  background: #ffffff;
}

.business-cta-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 52px;
  padding: 54px 64px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 11% 20%, rgba(23, 87, 194, 0.13), transparent 28%),
    linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
  box-shadow: 0 18px 45px rgba(6, 27, 73, 0.04);
}

.business-cta-card .cta-icon {
  width: 90px;
  height: 90px;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-cta-copy h2 {
  color: var(--navy);
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin: 0 0 18px;
  max-width: 680px;
}

.business-cta-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 700;
  max-width: 760px;
  margin: 0;
}

.business-cta-card .btn {
  min-width: 270px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .business-cta-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 30px;
  }

  .business-cta-card .btn {
    width: 100%;
  }
}


/* =========================================================
   EMPRESA - BLOQUE ¿PARA QUIÉN? / IMAGEN DERECHA DEFINITIVA
   Igualado al sistema visual de Home
   ========================================================= */

.audience-feature-section,
.audience-feature-grid,
.audience-feature-visual {
  overflow: visible !important;
}

.audience-feature-section {
  padding-bottom: 96px !important;
}

.audience-feature-visual {
  position: relative !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-left: auto !important;
  padding: 0 34px 34px 0 !important;
}

.audience-feature-image {
  position: relative !important;
  z-index: 3 !important;
  width: 460px !important;
  height: 330px !important;
  max-width: 100% !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow) !important;
}

.audience-feature-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.audience-feature-frame {
  position: absolute !important;
  right: 14px !important;
  bottom: 14px !important;
  width: 200px !important;
  height: 200px !important;
  border: 2px solid rgba(6, 27, 73, 0.25) !important;
  border-radius: 14px !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.audience-feature-square {
  position: absolute !important;
  right: 26px !important;
  bottom: 26px !important;
  width: 18px !important;
  height: 18px !important;
  background: var(--red) !important;
  z-index: 6 !important;
  pointer-events: none !important;
}

.audience-feature-dots {
  position: absolute !important;
  top: -30px !important;
  right: -8px !important;
  width: 190px !important;
  height: 190px !important;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px) !important;
  background-size: 12px 12px !important;
  opacity: 0.85 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 980px) {
  .audience-feature-visual {
    margin: 32px auto 0 !important;
    padding: 0 24px 24px 0 !important;
  }

  .audience-feature-image {
    width: 100% !important;
    height: 310px !important;
  }

  .audience-feature-frame {
    right: 8px !important;
    bottom: 8px !important;
  }

  .audience-feature-square {
    right: 20px !important;
    bottom: 20px !important;
  }
}


/* =========================================================
   SOBRE MÍ - ANCLAS Y HERO OPTIMIZADO
   ========================================================= */

#trayectoria-profesional,
#formacion-academica,
#como-trabajo,
#para-quien {
  scroll-margin-top: 120px;
}

.about-page-hero-panel,
.inv-hero-panel,
.univ-hero-panel,
.empresa-hero-panel,
.contact-hero-panel {
  display: none !important;
}

.about-page-hero-copy h1 {
  max-width: 640px;
}

.about-page-hero-description {
  margin-bottom: 34px;
}

.about-trajectory-section .about-section-heading.centered {
  text-align: center;
}

.about-trajectory-section .about-section-heading.centered .red-line.small {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   FOOTER DEFINITIVO - redes, legal y spacing pro
   ========================================================= */
.footer {
  background: linear-gradient(135deg, #061b49 0%, #001435 100%);
  color: #fff;
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr .95fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 44px;
}

.footer-brand h3,
.footer h4 {
  margin: 0 0 18px;
  color: #fff;
}

.footer-brand h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.footer-brand p,
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand p {
  margin: 0;
  font-weight: 500;
}

.footer h4 {
  font-size: 15px;
  font-weight: 800;
}

.footer-col a,
.footer-contact a {
  display: block;
  width: fit-content;
  transition: color .25s ease, transform .25s ease;
}

.footer-col a:hover,
.footer-contact a:hover {
  color: #fff;
  transform: translateX(3px);
}

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  opacity: .82;
  transition: transform .25s ease, opacity .25s ease, background .25s ease, border-color .25s ease;
}

.socials a svg {
  width: 19px;
  height: 19px;
  display: block;
}

.socials a:hover {
  transform: translateY(-4px);
  opacity: 1;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .36);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  text-align: right;
}

.footer-legal a,
.footer-legal span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
}

.footer-legal a {
  display: inline-flex;
  width: auto;
  transition: color .25s ease, transform .25s ease;
}

.footer-legal a:hover {
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 48px 0 22px;
  }

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

  .socials {
    gap: 12px;
  }
}

/* =========================================================
   FORMULARIO CONTACTO - FORMSPREE
   ========================================================= */

.form-message {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
  animation: formMessageIn .25s ease both;
}

.form-message.is-visible {
  display: block;
}

.form-success {
  color: #0f6b3a;
  background: #eaf8f0;
  border: 1px solid #bfe8cf;
}

.form-error {
  color: #8a1f18;
  background: #fff0ee;
  border: 1px solid #ffc4bd;
}

.form-submit:disabled {
  opacity: .72;
  cursor: not-allowed;
  transform: none !important;
}

@keyframes formMessageIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   PUBLICACIONES HTML ESTÁTICO
   ========================================================= */

.blog-page,
.blog-post-page {
  background: #fff;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  background:
    radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.blog-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: 0;
  width: 560px;
  height: 560px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .9;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.blog-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.blog-eyebrow b {
  width: 4px;
  height: 20px;
  background: var(--red);
  display: inline-block;
}

.blog-hero h1 {
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
  margin: 0;
  letter-spacing: -2.4px;
  color: var(--navy);
  max-width: 760px;
}

.blog-hero-lead {
  font-size: 24px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 22px;
  font-weight: 500;
  max-width: 650px;
}

.blog-hero-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 570px;
  margin: 0 0 34px;
  font-weight: 600;
}

.blog-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.blog-hero-visual,
.blog-hero-img {
  position: relative;
}

.blog-hero-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}

.blog-hero-img::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 210px;
  height: 210px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: .85;
  z-index: 1;
}

.blog-square-top,
.blog-square-bottom {
  width: 22px;
  height: 22px;
  background: var(--red);
  position: absolute;
  display: block;
  z-index: 4;
}

.blog-square-top { left: -14px; top: 42px; }
.blog-square-bottom { right: 34px; bottom: -14px; }

.blog-featured-section {
  padding: 70px 0 32px;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 38px;
}

.blog-featured-content h2,
.blog-section-heading h2,
.blog-cta-card h2 {
  color: var(--navy);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -1.4px;
  margin: 0 0 18px;
}

.blog-featured-content p,
.blog-section-heading p,
.blog-cta-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 600;
  margin: 0 0 22px;
}

.blog-featured-image img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-meta,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.blog-meta span,
.post-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2f6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0 36px;
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  transition: transform .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.blog-category-pill:hover {
  transform: translateY(-3px);
  color: var(--red);
  border-color: rgba(255, 59, 47, .35);
  box-shadow: 0 14px 28px rgba(6, 27, 73, .08);
}

.blog-list-section {
  padding: 28px 0 76px;
}

.blog-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(6, 27, 73, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(6, 27, 73, .11);
}

.blog-card-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card-content {
  padding: 26px;
}

.blog-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.4px;
}

.blog-card h3 a {
  color: inherit;
}

.blog-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
  margin: 0 0 20px;
}

.blog-read-more {
  color: var(--red);
  font-weight: 900;
  font-size: 14px;
}

.blog-card-placeholder {
  border-style: dashed;
  background: #fbfcff;
}

.blog-cta-section {
  padding: 58px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.10), transparent 32%),
    linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
}

.blog-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
}

/* POST */
.post-hero {
  padding: 76px 0 52px;
  background:
    radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.post-hero-inner {
  max-width: 900px;
}

.post-back {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 28px;
}

.post-hero h1 {
  color: var(--navy);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -2.2px;
  margin: 0;
}

.post-excerpt {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

.post-cover {
  margin-top: 58px;
}

.post-cover img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.post-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  padding: 70px 0 90px;
}

.post-sidebar {
  position: sticky;
  top: 116px;
  border-left: 3px solid var(--red);
  padding-left: 22px;
}

.post-sidebar p {
  color: var(--navy);
  font-weight: 900;
  margin: 0 0 14px;
}

.post-sidebar a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
}

.post-sidebar a:hover {
  color: var(--red);
}

.post-content {
  color: var(--text);
}

.post-content .post-lead {
  font-size: 21px;
  line-height: 1.75;
  color: var(--navy);
  font-weight: 500;
}

.post-content h2 {
  color: var(--navy);
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: -1px;
  margin: 48px 0 18px;
}

.post-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
  font-weight: 500;
  margin: 0 0 22px;
}

.post-content blockquote {
  margin: 38px 0;
  padding: 28px 32px;
  border-left: 5px solid var(--red);
  background: #f6f9ff;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 800;
  border-radius: 0 12px 12px 0;
}

.post-cta {
  margin-top: 58px;
  padding: 34px;
  border-radius: 16px;
  background: linear-gradient(135deg, #061b49 0%, #001435 100%);
  color: #fff;
}

.post-cta h3 {
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.post-cta p:not(.section-kicker) {
  color: rgba(255,255,255,.78);
}

.post-cta .section-kicker {
  color: #fff;
  opacity: .82;
}

@media (max-width: 980px) {
  .blog-hero-grid,
  .blog-featured-card,
  .blog-cta-card,
  .post-layout {
    grid-template-columns: 1fr;
  }

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

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding: 70px 0 56px;
  }

  .blog-hero-img img,
  .post-cover img {
    height: 320px;
  }

  .blog-featured-card {
    padding: 24px;
  }

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

  .post-layout {
    gap: 36px;
    padding: 46px 0 70px;
  }
}

/* =========================================================
   PUBLICACIONES PREMIUM - VERSIÓN VISUAL COHERENTE CON EL SITIO
   ========================================================= */

.blog-page-premium {
  background: #fff;
}

.blog-premium-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  background:
    radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.blog-premium-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: 0;
  width: 560px;
  height: 560px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .9;
}

.blog-premium-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.blog-premium-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.blog-premium-eyebrow b {
  width: 4px;
  height: 20px;
  background: var(--red);
  display: inline-block;
}

.blog-premium-copy h1 {
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1;
  margin: 0;
  letter-spacing: -2.4px;
  color: var(--navy);
  max-width: 760px;
}

.blog-premium-lead {
  font-size: 24px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 22px;
  font-weight: 500;
  max-width: 650px;
}

.blog-premium-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 570px;
  margin: 0 0 34px;
  font-weight: 600;
}

.blog-premium-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.blog-premium-visual {
  position: relative;
  min-height: 520px;
}

.blog-premium-panel {
  position: relative;
  min-height: 520px;
}

.blog-premium-dots {
  position: absolute;
  right: -34px;
  top: -30px;
  width: 210px;
  height: 210px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: .9;
  z-index: 1;
}

.blog-premium-device {
  position: absolute;
  right: 20px;
  top: 18px;
  width: min(460px, 100%);
  min-height: 470px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,249,255,.94)),
    radial-gradient(circle at 30% 20%, rgba(23,87,194,.16), transparent 38%);
  border: 1px solid rgba(232,237,247,.95);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 3;
}

.blog-device-header {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
}

.blog-device-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dce5f5;
}

.blog-device-header span:first-child {
  background: var(--red);
}

.blog-device-body {
  padding: 42px 42px 38px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.blog-device-body h2 {
  color: var(--navy);
  font-size: 46px;
  line-height: .98;
  letter-spacing: -1.8px;
  margin: 0 0 36px;
}

.blog-chart {
  height: 145px;
  display: flex;
  align-items: end;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(6, 27, 73, .06);
}

.blog-chart i {
  flex: 1;
  display: block;
  min-width: 24px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--navy));
}

.blog-chart i:nth-child(4) {
  background: linear-gradient(180deg, var(--red), #c71f18);
}

.blog-device-lines {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.blog-device-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #e8edf7;
}

.blog-device-lines span:nth-child(1) { width: 92%; }
.blog-device-lines span:nth-child(2) { width: 76%; }
.blog-device-lines span:nth-child(3) { width: 58%; }

.blog-floating-card {
  position: absolute;
  z-index: 4;
  width: 235px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(6, 27, 73, .10);
  padding: 18px 20px;
}

.blog-floating-card strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 6px;
}

.blog-floating-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.blog-floating-card-one {
  left: 4px;
  top: 104px;
}

.blog-floating-card-two {
  left: 34px;
  bottom: 54px;
}

.blog-premium-square-top,
.blog-premium-square-bottom {
  width: 22px;
  height: 22px;
  background: var(--red);
  position: absolute;
  display: block;
  z-index: 6;
}

.blog-premium-square-top { left: 28px; top: 56px; }
.blog-premium-square-bottom { right: 70px; bottom: 10px; }

.blog-premium-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 46px 0 26px;
}

.blog-premium-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  transition: transform .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, background .25s ease;
}

.blog-premium-pill:hover,
.blog-premium-pill.active {
  transform: translateY(-3px);
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 14px 28px rgba(6, 27, 73, .13);
}

.blog-premium-featured {
  padding: 28px 0 52px;
}

.blog-premium-featured-card {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 46px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 38px;
  overflow: hidden;
}

.blog-premium-featured-media {
  min-height: 360px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,59,47,.18), transparent 26%),
    radial-gradient(circle at 78% 76%, rgba(23,87,194,.20), transparent 30%),
    linear-gradient(135deg, #061b49 0%, #082d78 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-premium-featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .45;
}

.blog-featured-abstract {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 34px;
}

.blog-featured-abstract span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  margin-bottom: 24px;
  font-weight: 900;
}

.blog-featured-abstract h3 {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -1.2px;
  margin: 0 0 12px;
}

.blog-featured-abstract p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-weight: 700;
}

.blog-premium-featured-content h2,
.blog-premium-section-heading h2,
.blog-premium-cta-card h2 {
  color: var(--navy);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -1.4px;
  margin: 0 0 18px;
}

.blog-premium-featured-content p,
.blog-premium-section-heading p,
.blog-premium-cta-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 600;
  margin: 0 0 22px;
}

.blog-premium-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.blog-premium-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2f6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.blog-premium-list {
  padding: 18px 0 78px;
}

.blog-premium-section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.blog-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-premium-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(6, 27, 73, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(6, 27, 73, .11);
}

.blog-card-visual {
  height: 212px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .65;
}

.blog-card-visual span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
}

.blog-card-visual-blue {
  background: linear-gradient(135deg, #061b49 0%, #1757c2 100%);
}

.blog-card-visual-red {
  background: linear-gradient(135deg, #061b49 0%, #ff3b2f 120%);
}

.blog-card-visual-light {
  background: linear-gradient(135deg, #f2f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.blog-card-visual-light span {
  color: var(--blue);
}

.blog-premium-card-content {
  padding: 26px;
}

.blog-premium-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.4px;
}

.blog-premium-card h3 a {
  color: inherit;
}

.blog-premium-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
  margin: 0 0 20px;
}

.blog-premium-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 900;
  font-size: 14px;
}

.blog-premium-read-more span {
  transition: transform .25s ease;
}

.blog-premium-read-more:hover span {
  transform: translateX(5px);
}

.blog-premium-card-soft {
  border-style: dashed;
  background: #fbfcff;
}

.blog-premium-cta-section {
  padding: 58px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.10), transparent 32%),
    linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
}

.blog-premium-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
}

@media (max-width: 980px) {
  .blog-premium-hero-grid,
  .blog-premium-featured-card,
  .blog-premium-cta-card {
    grid-template-columns: 1fr;
  }

  .blog-premium-visual,
  .blog-premium-panel {
    min-height: 460px;
  }

  .blog-premium-device {
    right: 0;
    width: 100%;
  }

  .blog-floating-card-one,
  .blog-floating-card-two {
    display: none;
  }

  .blog-premium-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-premium-hero {
    padding: 74px 0 58px;
  }

  .blog-premium-copy h1 {
    font-size: 42px;
  }

  .blog-premium-lead {
    font-size: 20px;
  }

  .blog-premium-actions {
    flex-direction: column;
  }

  .blog-premium-actions .btn,
  .blog-premium-cta-card .btn {
    width: 100%;
  }

  .blog-device-body h2 {
    font-size: 36px;
  }

  .blog-premium-featured-card {
    padding: 24px;
  }
}

/* =========================================================
   PUBLICACIONES PAGE FIX - DISEÑO PREMIUM
   ========================================================= */

.blog-page .blog-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 90px;
  background:
    radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.blog-page .blog-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: 0;
  width: 560px;
  height: 560px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .9;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.blog-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.blog-eyebrow b {
  width: 4px;
  height: 20px;
  background: var(--red);
  display: inline-block;
}

.blog-hero-copy h1 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  margin: 0;
  letter-spacing: -2.4px;
  color: var(--navy);
  max-width: 720px;
}

.blog-hero-lead {
  font-size: 23px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 22px;
  font-weight: 500;
  max-width: 650px;
}

.blog-hero-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 590px;
  margin: 0 0 34px;
  font-weight: 600;
}

.blog-hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.blog-hero-card {
  position: relative;
  min-height: 420px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(6,27,73,.94), rgba(23,87,194,.82)),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 28%);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 44px;
}

.blog-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .45;
}

.blog-visual-inner {
  position: relative;
  z-index: 2;
  max-width: 360px;
}

.blog-visual-inner p {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin: 0 0 16px;
}

.blog-visual-inner h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 0 0 18px;
}

.blog-visual-inner span {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.blog-square-top,
.blog-square-bottom {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--red);
  z-index: 3;
}

.blog-square-top {
  left: 30px;
  top: 30px;
}

.blog-square-bottom {
  right: 34px;
  bottom: 34px;
}

.featured-blog-section,
.blog-list-section {
  padding: 86px 0 40px;
}

.blog-section-heading {
  margin-bottom: 34px;
}

.blog-section-heading h2 {
  color: var(--navy);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -1.4px;
  margin: 0;
}

.featured-blog-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-blog-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.featured-blog-content {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.featured-blog-content h3 {
  color: var(--navy);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -1px;
  margin: 0 0 20px;
}

.featured-blog-content p,
.blog-card-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin: 18px 0 26px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 34px;
}

.blog-filters span,
.blog-filter-btn {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  background: #fff;
}


.blog-filter-btn {
  cursor: pointer;
  font-family: inherit;
}

.blog-filter-btn.active,
.blog-filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 10px 24px rgba(231, 46, 38, .08);
}

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

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(6,27,73,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(6,27,73,.12);
}

.blog-card-image img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.blog-card-content {
  padding: 30px;
}

.blog-card-content h3 {
  margin: 0 0 16px;
}

.blog-card-content h3 a {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.6px;
  font-weight: 900;
}

.blog-read-more {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.blog-final-cta {
  padding: 70px 0;
  margin-top: 60px;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.10), transparent 32%),
    linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
}

.blog-final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.blog-final-cta h2 {
  color: var(--navy);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -1.4px;
  margin: 0 0 18px;
  max-width: 760px;
}

.blog-final-cta p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
  max-width: 680px;
}

@media (max-width: 980px) {
  .blog-hero-grid,
  .featured-blog-card,
  .blog-grid,
  .blog-final-cta-inner {
    grid-template-columns: 1fr;
  }

  .blog-hero-card {
    min-height: 320px;
  }

  .featured-blog-content {
    padding: 34px;
  }

  .featured-blog-image img {
    min-height: 260px;
  }
}
/* =========================================================
   PUBLICACIONES POST PAGES - DISEÑO PREMIUM
   ========================================================= */

.blog-post {
  background: #fff;
}

.post-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 72% 25%, rgba(23, 87, 194, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.post-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: 0;
  width: 560px;
  height: 560px;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .9;
}

.post-hero .container {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.post-category {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.post-category::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--red);
  display: inline-block;
}

.post-hero h1 {
  color: var(--navy);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -2.2px;
  margin: 0;
  max-width: 950px;
}

.post-intro {
  color: var(--navy);
  font-size: 23px;
  line-height: 1.55;
  font-weight: 500;
  max-width: 780px;
  margin: 28px 0 18px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 38px;
}

.post-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(6, 27, 73, 0.14);
  border: 1px solid var(--border);
}

.post-content {
  padding: 78px 0 90px;
}

.post-content .container {
  max-width: 880px;
}

.post-content h2 {
  color: var(--navy);
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: -1px;
  margin: 58px 0 20px;
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.95;
  font-weight: 500;
  margin: 0 0 24px;
}

.post-content ul {
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.post-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 600;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(6, 27, 73, 0.05);
}

.post-content li strong {
  color: var(--navy);
}

.post-cta {
  margin-top: 70px;
  padding: 46px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 87, 194, 0.12), transparent 32%),
    linear-gradient(90deg, #f2f7ff 0%, #ffffff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.post-cta h3 {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 18px;
}

.post-cta p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

@media (max-width: 980px) {
  .post-hero {
    padding: 70px 0 56px;
  }

  .post-hero h1 {
    font-size: 42px;
  }

  .post-intro {
    font-size: 20px;
  }

  .post-content {
    padding: 58px 0 70px;
  }

  .post-content h2 {
    font-size: 28px;
  }

  .post-content p {
    font-size: 16px;
  }

  .post-cta {
    padding: 32px;
  }
}


/* =========================================================
   PUBLICACIONES - LISTADO PAGINADO PREMIUM
   ========================================================= */

.blog-page .blog-list-section {
  padding-top: 86px;
}

.blog-card.is-hidden-by-pagination {
  display: none !important;
}

.blog-pagination-wrap {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.blog-pagination-info {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 800;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(6, 27, 73, .045);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.blog-page-btn:hover:not(:disabled),
.blog-page-btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(6, 27, 73, .16);
}

.blog-page-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  box-shadow: none;
}

.blog-page-number.active {
  position: relative;
}

.blog-page-number.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  transform: translateX(-50%);
}

.blog-page-nav {
  min-width: 128px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.blog-page-nav span {
  display: inline-block;
  transition: transform .25s ease;
}

.blog-page-nav:hover:not(:disabled) span {
  transform: translateX(3px);
}

.blog-page-nav:first-child:hover:not(:disabled) span {
  transform: translateX(-3px);
}

@media (max-width: 760px) {
  .blog-pagination-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .blog-pagination {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .blog-page .blog-list-section {
    padding-top: 64px;
  }

  .blog-page-nav {
    width: 100%;
  }

  .blog-pagination {
    width: 100%;
  }

  .blog-page-number {
    flex: 1;
  }
}


/* =========================================================
   COOKIE BANNER
   ========================================================= */

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(6, 27, 73, .12);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(6, 27, 73, .18);
  backdrop-filter: blur(10px);
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.cookie-banner-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  max-width: 720px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.cookie-link:hover {
  color: var(--red);
}

.cookie-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 24px rgba(6, 27, 73, .22);
}

.cookie-btn-primary:hover {
  background: #08235f;
  box-shadow: 0 16px 30px rgba(6, 27, 73, .28);
}

.cookie-btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: rgba(6, 27, 73, .18);
}

.cookie-btn-outline:hover {
  border-color: var(--navy);
}

@media (max-width: 760px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .cookie-link,
  .cookie-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


/* CTA final unificado en páginas principales */
.about-purpose-icon img {
  display: block;
  width: 104px;
  height: 104px;
}

.about-purpose-grid > .btn.btn-outline {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .about-purpose-icon img {
    width: 82px;
    height: 82px;
  }
}

/* Logos de trayectoria profesional en Sobre mí / Empresa */
.empresa-career-logos {
  padding: 58px 0 68px;
  margin: 0 auto;
}

.career-logos-grid {
  grid-template-columns: repeat(8, 1fr);
  gap: 40px;
  align-items: center;
}

.career-logos-grid img {
  max-height: 54px;
  max-width: 145px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .career-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .career-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 34px;
  }
}


/* =========================================
   PUBLICACIONES - FILTROS PREMIUM
========================================= */

.publicaciones-kicker{
  color:inherit !important;
}

.blog-filters{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:32px;
}

.blog-filter-btn{
  background:#eef1f7;
  border:none;
  border-radius:10px;
  padding:14px 26px;
  font-size:16px;
  font-weight:700;
  color:#4f5d7a;
  transition:all .25s ease;
  cursor:pointer;
  box-shadow:none;
}

.blog-filter-btn:hover{
  background:#e2e7f2;
  color:#061b49;
  transform:translateY(-1px);
}

.blog-filter-btn.active{
  background:#061b49;
  color:#ffffff;
}





/* =========================================
   PUBLICACIONES - HEADING IGUAL A INVESTIGACIÓN
========================================= */

.blog-section-heading .section-kicker,
.blog-section-heading .publicaciones-kicker{
  color:#1f56d8 !important;
  font-size:14px;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  margin:0 0 14px;
}

.blog-section-heading h2{
  color:#061b49;
  font-size:42px;
  line-height:1.12;
  letter-spacing:-0.035em;
  margin:0;
}

.blog-section-heading .red-line.small{
  width:60px;
  height:4px;
  margin-top:18px;
  margin-bottom:0;
}

@media (max-width: 768px){
  .blog-section-heading h2{
    font-size:34px;
  }
}



/* =========================================
   POST - NAVEGACIÓN ACADÉMICA FINAL
========================================= */

.post-academic-nav{
  margin-top:64px;
  padding:34px 36px;
  border:1px solid #dfe5f0;
  border-radius:22px;
  background:#f8fafc;
}

.post-academic-nav-kicker{
  margin:0 0 10px;
  color:#1f56d8;
  font-size:13px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.post-academic-nav h3{
  margin:0 0 12px;
  color:#061b49;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.02em;
}

.post-academic-nav p{
  max-width:780px;
  margin:0 0 22px;
  color:#5d6a82;
  font-size:16px;
  line-height:1.7;
}

.post-academic-nav-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#061b49;
  font-weight:800;
  text-decoration:none;
}

.post-academic-nav-link span{
  transition:transform .2s ease;
}

.post-academic-nav-link:hover span{
  transform:translateX(4px);
}

@media (max-width:768px){
  .post-academic-nav{
    padding:28px 24px;
    margin-top:48px;
  }

  .post-academic-nav h3{
    font-size:24px;
  }
}



.research-link {
  margin-top: 34px;
  text-align: center;
}

.research-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #dbe3f3;
  padding-bottom: 6px;
}


/* ===== Corrección efecto logos: gris por defecto y color original en hover ===== */
/* Importante: el filtro debe estar en la imagen, no en el contenedor, para que el hover recupere el color. */
.logos-row img,
.logos-grid img,
.client-logos img,
.empresa-logos img,
.career-logos-grid img {
  filter: grayscale(100%);
  opacity: 0.72;
  transition: transform 0.30s ease, filter 0.30s ease, opacity 0.30s ease;
}

.logos-row img:hover,
.logos-grid img:hover,
.client-logos img:hover,
.empresa-logos img:hover,
.career-logos-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px) scale(1.06);
}


/* ===== SOBRE MI - LOGOS TRAYECTORIA EN DOS LINEAS ===== */
.empresa-career-logos .career-logos-two-lines {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 28px !important;
    margin: 48px auto 86px !important;
}

.empresa-career-logos .career-logos-line {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 56px !important;
}

.empresa-career-logos .career-logos-line img {
    display: block !important;
    width: auto !important;
    height: 34px !important;
    max-width: 190px !important;
    object-fit: contain !important;
    opacity: 0.65 !important;
    filter: grayscale(100%) !important;
    transition: transform .3s ease, opacity .3s ease, filter .3s ease !important;
}

.empresa-career-logos .career-logos-line img:hover {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
    transform: scale(1.08) !important;
}

@media (max-width: 900px) {
    .empresa-career-logos .career-logos-line {
        flex-wrap: wrap !important;
        gap: 30px !important;
    }

    .empresa-career-logos .career-logos-line img {
        height: 28px !important;
        max-width: 150px !important;
    }
}


/* ===== Sobre mí: bloque lifestyle ===== */
.about-lifestyle-section {
    padding: 70px 0 70px;
}

.about-lifestyle-wrapper {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 96px;
    align-items: center;
}

.about-lifestyle-copy h2 {
    color: var(--navy);
    font-size: 38px;
    line-height: 1.18;
    letter-spacing: -1.4px;
    margin: 0;
    max-width: 570px;
    font-weight: 800;
}

.about-lifestyle-text {
    margin-top: 28px;
}

.about-lifestyle-text p,
.about-lifestyle-copy p:not(.section-kicker) {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    font-weight: 600;
    max-width: 570px;
    margin: 0 0 18px;
}

.about-lifestyle-copy .btn {
    margin-top: 22px;
}

.about-lifestyle-photo {
    position: relative;
    width: fit-content;
    max-width: 100%;
    justify-self: end;
}

.about-lifestyle-photo::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -42px;
    width: 190px;
    height: 190px;
    background-image: radial-gradient(#dce5f5 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.85;
    z-index: 0;
}

.about-lifestyle-photo img {
    width: 460px;
    height: 330px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 3;
    display: block;
}

.about-lifestyle-frame {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(6, 27, 73, 0.25);
    border-radius: 14px;
    z-index: 1;
    transition: transform 0.25s ease;
}

.about-lifestyle-dot {
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 18px;
    height: 18px;
    background: var(--red);
    z-index: 4;
    transition: transform 0.25s ease;
}

.about-lifestyle-photo:hover .about-lifestyle-frame {
    transform: translate(-4px, -4px);
}

.about-lifestyle-photo:hover .about-lifestyle-dot {
    transform: translate(4px, 4px);
}

@media (max-width: 980px) {
    .about-lifestyle-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-lifestyle-photo {
        justify-self: start;
    }
}

@media (max-width: 768px) {
    .about-lifestyle-section {
        padding: 55px 0 50px;
    }

    .about-lifestyle-copy h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .about-lifestyle-photo img {
        width: 100%;
        max-width: 460px;
        height: auto;
        aspect-ratio: 460 / 330;
    }
}


.contact-info-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* =========================================================
   AJUSTE FINAL - EMPRESA / IMAGEN "PARA QUIÉN"
   Igualado al efecto visual de la Home: marco y cuadrado fuera de la imagen
   ========================================================= */
.empresa-page .audience-feature-section,
.empresa-page .audience-feature-grid,
.empresa-page .audience-feature-visual {
  overflow: visible !important;
}

.empresa-page .audience-feature-visual {
  position: relative !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-left: auto !important;
  padding: 0 !important;
}

.empresa-page .audience-feature-image {
  position: relative !important;
  z-index: 3 !important;
  width: 460px !important;
  max-width: 100% !important;
  height: 330px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow) !important;
  background: #f4f7ff !important;
}

.empresa-page .audience-feature-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.empresa-page .audience-feature-frame {
  position: absolute !important;
  right: -20px !important;
  bottom: -20px !important;
  width: 200px !important;
  height: 200px !important;
  border: 2px solid rgba(6, 27, 73, 0.25) !important;
  border-radius: 14px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  transition: transform 0.25s ease !important;
}

.empresa-page .audience-feature-square {
  position: absolute !important;
  right: -8px !important;
  bottom: -8px !important;
  width: 18px !important;
  height: 18px !important;
  background: var(--red) !important;
  z-index: 4 !important;
  pointer-events: none !important;
  transition: transform 0.25s ease !important;
}

.empresa-page .audience-feature-dots {
  position: absolute !important;
  top: -30px !important;
  right: -42px !important;
  width: 190px !important;
  height: 190px !important;
  background-image: radial-gradient(#dce5f5 1px, transparent 1px) !important;
  background-size: 12px 12px !important;
  opacity: 0.85 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.empresa-page .audience-feature-visual:hover .audience-feature-frame {
  transform: translate(-4px, -4px) !important;
}

.empresa-page .audience-feature-visual:hover .audience-feature-square {
  transform: translate(4px, 4px) !important;
}

@media (max-width: 980px) {
  .empresa-page .audience-feature-visual {
    margin: 32px auto 0 !important;
  }

  .empresa-page .audience-feature-image {
    width: 100% !important;
    height: 310px !important;
  }
}

/* =========================================================
   RESPONSIVE MOBILE POLISH - MAYO 2026
   Ajustes globales para mejorar lectura, espaciado y encaje en móvil
   ========================================================= */

@media (max-width: 980px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 36px, 1180px) !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .header-inner {
    height: 72px !important;
    gap: 14px;
  }

  .logo img {
    height: 42px !important;
    max-width: 165px !important;
  }

  .hamburger {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    background: #fff;
  }

  .nav-toggle:checked ~ .main-nav {
    top: 72px !important;
    left: 18px !important;
    right: 18px !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
  }

  .nav-toggle:checked ~ .main-nav a {
    padding: 15px 0 !important;
    font-size: 15px !important;
  }

  .main-nav a.active::after {
    bottom: 6px !important;
  }

  .hero,
  .inv-hero,
  .univ-hero,
  .empresa-hero,
  .about-page-hero,
  .contact-hero,
  .blog-premium-hero,
  .blog-hero,
  .post-hero {
    padding-top: 64px !important;
    padding-bottom: 54px !important;
  }

  .hero-grid,
  .inv-hero-grid,
  .univ-hero-grid,
  .empresa-hero-grid,
  .about-page-hero-grid,
  .contact-hero-grid,
  .blog-premium-hero-grid,
  .blog-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
  }

  .hero h1,
  .inv-hero-copy h1,
  .univ-hero-copy h1,
  .empresa-hero-copy h1,
  .about-page-hero-copy h1,
  .contact-hero-copy h1,
  .blog-premium-hero h1,
  .blog-hero h1,
  .post-hero h1 {
    font-size: clamp(38px, 11vw, 52px) !important;
    line-height: 1.02 !important;
    letter-spacing: -1.6px !important;
  }

  .hero-role,
  .inv-hero-lead,
  .univ-hero-lead,
  .empresa-hero-lead,
  .about-page-hero-lead,
  .contact-hero-lead,
  .blog-premium-lead,
  .blog-hero-lead,
  .post-excerpt {
    font-size: 19px !important;
    line-height: 1.55 !important;
  }

  .hero-description,
  .inv-hero-description,
  .univ-hero-description,
  .empresa-hero-description,
  .about-page-hero-description,
  .contact-hero-description,
  .blog-premium-description,
  .blog-hero-description {
    font-size: 15.5px !important;
    line-height: 1.8 !important;
    max-width: 100% !important;
  }

  .hero-actions,
  .inv-hero-actions,
  .univ-hero-actions,
  .empresa-hero-actions,
  .about-page-hero-actions,
  .contact-hero-actions,
  .blog-premium-actions,
  .blog-hero-actions {
    flex-wrap: wrap !important;
    gap: 14px !important;
  }

  .btn {
    min-height: 54px !important;
    padding: 0 22px !important;
    font-size: 14px !important;
  }

  .hero-visual,
  .inv-hero-visual,
  .univ-hero-visual,
  .empresa-hero-visual,
  .about-page-hero-visual,
  .contact-hero-visual,
  .blog-premium-visual,
  .blog-hero-visual {
    width: 100% !important;
    height: auto !important;
    min-height: initial !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .hero-card,
  .inv-hero-img,
  .univ-hero-img,
  .empresa-hero-img,
  .about-page-hero-img,
  .contact-hero-img,
  .blog-premium-img,
  .blog-hero-img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
  }

  .hero-card img,
  .inv-hero-img img,
  .univ-hero-img img,
  .empresa-hero-img img,
  .about-page-hero-img img,
  .contact-hero-img img,
  .blog-premium-img img,
  .blog-hero-img img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  .hero-building,
  .hero-dots,
  .inv-hero-panel,
  .univ-hero-panel,
  .empresa-hero-panel,
  .about-page-hero-panel,
  .contact-hero-panel,
  .blog-premium-panel,
  .blog-hero-panel {
    display: none !important;
  }

  section,
  .section,
  .about-section,
  .about-trajectory-section,
  .business-cta-card-section,
  .audience-feature-section,
  .empresa-logos,
  .logos,
  .contact-section,
  .blog-premium-section {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .section-heading h2,
  .about-section-heading h2,
  .contact-section-heading h2,
  .business-cta-copy h2,
  .post-content h2 {
    font-size: clamp(30px, 8vw, 40px) !important;
    line-height: 1.14 !important;
    letter-spacing: -1px !important;
  }

  .pillars,
  .research-grid,
  .cards-grid,
  .about-grid,
  .about-cards,
  .trajectory-grid,
  .education-grid,
  .services-grid,
  .methodology-grid,
  .contact-grid,
  .contact-content-grid,
  .blog-grid,
  .blog-premium-grid,
  .pub-grid,
  .logos-grid,
  .client-logos {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .card,
  .pillar-card,
  .about-card,
  .trajectory-card,
  .education-card,
  .service-card,
  .methodology-card,
  .contact-card,
  .blog-card,
  .pub-card,
  .business-cta-card,
  .post-cta {
    padding: 28px 22px !important;
    border-radius: 14px !important;
  }

  .logos-row,
  .logos-grid,
  .client-logos {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 20px !important;
  }

  .logos-row img,
  .logos-grid img,
  .client-logos img {
    max-width: 130px !important;
    max-height: 54px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .footer {
    display: block !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .footer-bottom {
    gap: 16px !important;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px) !important;
  }

  .header-inner {
    height: 68px !important;
  }

  .logo img {
    height: 38px !important;
    max-width: 150px !important;
  }

  .nav-toggle:checked ~ .main-nav {
    top: 68px !important;
    left: 14px !important;
    right: 14px !important;
  }

  .eyebrow,
  .blog-premium-eyebrow {
    font-size: 12px !important;
    letter-spacing: 1.1px !important;
    gap: 10px !important;
  }

  .hero,
  .inv-hero,
  .univ-hero,
  .empresa-hero,
  .about-page-hero,
  .contact-hero,
  .blog-premium-hero,
  .blog-hero,
  .post-hero {
    padding-top: 48px !important;
    padding-bottom: 46px !important;
  }

  .red-line {
    width: 72px !important;
    height: 5px !important;
    margin: 22px 0 22px !important;
  }

  .hero-actions,
  .inv-hero-actions,
  .univ-hero-actions,
  .empresa-hero-actions,
  .about-page-hero-actions,
  .contact-hero-actions,
  .blog-premium-actions,
  .blog-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions .btn,
  .inv-hero-actions .btn,
  .univ-hero-actions .btn,
  .empresa-hero-actions .btn,
  .about-page-hero-actions .btn,
  .contact-hero-actions .btn,
  .blog-premium-actions .btn,
  .blog-hero-actions .btn,
  .business-cta-card .btn,
  .post-cta .btn {
    width: 100% !important;
  }

  .hero-card img,
  .inv-hero-img img,
  .univ-hero-img img,
  .empresa-hero-img img,
  .about-page-hero-img img,
  .contact-hero-img img,
  .blog-premium-img img,
  .blog-hero-img img,
  .post-cover img {
    aspect-ratio: 16 / 11 !important;
    height: auto !important;
  }

  section,
  .section,
  .about-section,
  .about-trajectory-section,
  .business-cta-card-section,
  .audience-feature-section,
  .empresa-logos,
  .logos,
  .contact-section,
  .blog-premium-section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .logos-row,
  .logos-grid,
  .client-logos {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  .post-layout {
    padding-top: 42px !important;
  }

  .post-sidebar {
    display: none !important;
  }

  .post-content .post-lead {
    font-size: 18px !important;
    line-height: 1.7 !important;
  }

  .post-content p {
    font-size: 16px !important;
    line-height: 1.85 !important;
  }

  .post-content blockquote {
    padding: 22px !important;
    font-size: 19px !important;
  }

  .audience-feature-visual {
    width: 100% !important;
    padding: 0 18px 18px 0 !important;
  }

  .audience-feature-image {
    height: auto !important;
    aspect-ratio: 16 / 11 !important;
  }

  .audience-feature-frame {
    width: 140px !important;
    height: 140px !important;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1180px) !important;
  }

  .logo img {
    max-width: 138px !important;
  }

  .hero h1,
  .inv-hero-copy h1,
  .univ-hero-copy h1,
  .empresa-hero-copy h1,
  .about-page-hero-copy h1,
  .contact-hero-copy h1,
  .blog-premium-hero h1,
  .blog-hero h1,
  .post-hero h1 {
    font-size: 36px !important;
    letter-spacing: -1.2px !important;
  }

  .hero-role,
  .inv-hero-lead,
  .univ-hero-lead,
  .empresa-hero-lead,
  .about-page-hero-lead,
  .contact-hero-lead,
  .blog-premium-lead,
  .blog-hero-lead,
  .post-excerpt {
    font-size: 18px !important;
  }

  .card,
  .pillar-card,
  .about-card,
  .trajectory-card,
  .education-card,
  .service-card,
  .methodology-card,
  .contact-card,
  .blog-card,
  .pub-card,
  .business-cta-card,
  .post-cta {
    padding: 24px 18px !important;
  }
}


/* =========================================================
   FIX HERO MOBILE IMAGE - MAYO 2026
   ========================================================= */

@media (max-width: 980px) {

  .hero-visual {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 420px !important;
    margin-top: 12px !important;
  }

  .hero-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 82% !important;
    height: 420px !important;
    margin: 0 auto !important;
  }

  .hero-building {
    position: absolute !important;
    right: 0 !important;
    top: 24px !important;
    width: 72% !important;
    height: 380px !important;
    border-radius: 0 0 0 32px !important;
  }

  .square-top {
    left: 2px !important;
    top: 12px !important;
  }

  .square-bottom {
    left: auto !important;
    right: 12% !important;
    bottom: -10px !important;
  }
}

@media (max-width: 640px) {

  .hero-visual {
    min-height: 360px !important;
  }

  .hero-card {
    width: 86% !important;
    height: 340px !important;
  }

  .hero-building {
    width: 74% !important;
    height: 300px !important;
  }
}


/* =========================================================
   FIX HERO HOME MOBILE - IMAGEN COMPLETA SIN RECORTE
   ========================================================= */

@media (max-width: 980px) {
  .home-page .hero-visual,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual {
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 34px auto 0 !important;
    padding: 0 18px 34px !important;
    position: relative !important;
  }

  .home-page .hero-card,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-card {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 24px 70px rgba(6, 27, 73, 0.10) !important;
  }

  .home-page .hero-card img,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    border-radius: 24px !important;
  }

  .home-page .hero-building,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-building {
    display: none !important;
  }

  .home-page .hero-visual .square,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square {
    display: block !important;
    position: absolute !important;
    width: 24px !important;
    height: 24px !important;
    background: var(--red) !important;
    z-index: 4 !important;
  }

  .home-page .hero-visual .square-top,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-top {
    left: 16px !important;
    top: 24px !important;
  }

  .home-page .hero-visual .square-bottom,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-bottom {
    right: 30px !important;
    bottom: 12px !important;
  }
}

@media (max-width: 640px) {
  .home-page .hero-visual,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual {
    max-width: 100% !important;
    margin-top: 30px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .home-page .hero-card,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-card {
    max-width: 340px !important;
  }
}


/* =========================================================
   FIX HOME HERO MOBILE - PUNTOS ROJOS ALINEADOS
   ========================================================= */

@media (max-width: 980px) {
  .home-page .hero-visual,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual {
    max-width: 420px !important;
    width: calc(100% - 44px) !important;
    padding: 0 0 34px !important;
    margin: 34px auto 0 !important;
  }

  .home-page .hero-card,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-card {
    max-width: none !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .home-page .hero-visual .square-top,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-top {
    left: -10px !important;
    top: 30px !important;
  }

  .home-page .hero-visual .square-bottom,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-bottom {
    right: -10px !important;
    bottom: 22px !important;
    left: auto !important;
  }
}

@media (max-width: 640px) {
  .home-page .hero-visual,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual {
    max-width: 340px !important;
    width: calc(100% - 58px) !important;
    margin-top: 32px !important;
  }

  .home-page .hero-visual .square-top,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-top {
    left: -8px !important;
    top: 32px !important;
  }

  .home-page .hero-visual .square-bottom,
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-bottom {
    right: -8px !important;
    bottom: 22px !important;
  }
}

/* =========================================================
   AJUSTE DEFINITIVO HOME HERO - DESKTOP + MÓVIL
   Mantiene visible la imagen UCJC de fondo y alinea los cuadrados rojos
   ========================================================= */

/* Desktop: la imagen UCJC de fondo usa el mismo lenguaje de esquinas redondeadas */
.hero-building {
  border-radius: 13px !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual {
    display: block !important;
    position: relative !important;
    width: min(100%, 430px) !important;
    height: 430px !important;
    max-width: 430px !important;
    margin: 36px auto 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-building {
    display: block !important;
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: 78% !important;
    height: 380px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background:
      linear-gradient(rgba(6, 27, 73, 0.02), rgba(6, 27, 73, 0.02)),
      url("/img/ucjc.jpg") 52% 58% / cover no-repeat !important;
    box-shadow: 0 24px 70px rgba(6, 27, 73, 0.10) !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-card {
    display: block !important;
    position: absolute !important;
    z-index: 3 !important;
    left: 0 !important;
    top: 54px !important;
    right: auto !important;
    bottom: auto !important;
    width: 82% !important;
    max-width: none !important;
    height: 340px !important;
    margin: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(6, 27, 73, 0.14) !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 0 !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square {
    display: block !important;
    position: absolute !important;
    z-index: 5 !important;
    width: 24px !important;
    height: 24px !important;
    background: var(--red) !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-top {
    left: -10px !important;
    top: 42px !important;
    right: auto !important;
    bottom: auto !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-bottom {
    right: 46px !important;
    bottom: 24px !important;
    left: auto !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual {
    width: min(calc(100vw - 48px), 360px) !important;
    max-width: 360px !important;
    height: 390px !important;
    margin-top: 34px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-building {
    width: 78% !important;
    height: 342px !important;
    border-radius: 24px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-card {
    top: 48px !important;
    width: 82% !important;
    height: 300px !important;
    border-radius: 24px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-top {
    left: -8px !important;
    top: 38px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-bottom {
    right: 38px !important;
    bottom: 22px !important;
  }
}

/* =========================================================
   CORRECCIÓN HOME HERO MOBILE - cuadrado rojo inferior alineado
   ========================================================= */
@media (max-width: 980px) {
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-bottom {
    left: calc(82% - 12px) !important;
    right: auto !important;
    top: calc(54px + 340px - 12px) !important;
    bottom: auto !important;
  }
}

@media (max-width: 640px) {
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual .square-bottom {
    left: calc(82% - 12px) !important;
    right: auto !important;
    top: calc(48px + 300px - 12px) !important;
    bottom: auto !important;
  }
}


/* Ajuste CTA publicaciones destacadas */
.research-all-link-mobile {
  display: none;
}

@media (max-width: 768px) {
  .section-heading .research-all-link-desktop {
    display: none !important;
  }

  .research-all-link-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-height: 54px;
    margin: 28px auto 0;
    padding: 0 24px;
    color: var(--navy);
    background: #fff;
    border: 2px solid rgba(6, 27, 73, 0.18);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(6, 27, 73, 0.08);
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }

  .research-all-link-mobile:hover {
    transform: translateY(-3px);
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    box-shadow: 0 16px 34px rgba(6, 27, 73, 0.18);
  }

  .research-all-link-mobile span {
    display: inline-block;
    transition: transform 0.25s ease;
  }

  .research-all-link-mobile:hover span {
    transform: translateX(5px);
  }
}

/* =========================================================
   AJUSTE RESPONSIVE - ESPACIADO ENTRE BLOQUES
   Reduce ligeramente la separación vertical en móvil sin pegar secciones.
   ========================================================= */
@media (max-width: 640px) {
  section,
  .section,
  .about-section,
  .about-trajectory-section,
  .business-cta-card-section,
  .audience-feature-section,
  .empresa-logos,
  .logos,
  .contact-section,
  .blog-premium-section,
  .pubs-section,
  .research-section,
  .uni-section,
  .stats-section,
  .international-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .hero,
  .inv-hero,
  .univ-hero,
  .empresa-hero,
  .about-page-hero,
  .contact-hero,
  .blog-premium-hero,
  .blog-hero,
  .post-hero {
    padding-bottom: 40px !important;
  }

  .section-heading,
  .inv-section-heading,
  .lines-heading,
  .stats-heading {
    margin-bottom: 26px !important;
  }

  .grid,
  .cards-grid,
  .pubs-grid,
  .blog-grid,
  .research-grid,
  .methodology-grid,
  .services-grid,
  .contact-grid,
  .featured-grid {
    gap: 22px !important;
  }

  .research-all-link-mobile {
    margin-top: 24px !important;
  }
}

/* =========================================================
   AJUSTE HOME MOBILE - MENOS ESPACIO ENTRE HERO, BLOQUES Y SOBRE MÍ
   ========================================================= */
@media (max-width: 640px) {
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero {
    padding-bottom: 22px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .pillars {
    margin-top: 22px !important;
    margin-bottom: 38px !important;
    gap: 18px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .about-section {
    padding-top: 24px !important;
  }
}

/* =========================================================
   CORRECCIÓN CTA PUBLICACIONES HOME - centrado en móvil
   ========================================================= */
@media (max-width: 768px) {
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .research-section > .research-all-link-mobile {
    display: flex !important;
    width: max-content !important;
    max-width: calc(100% - 48px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* =========================================================
   FIX FINAL HEADER MÓVIL - ocultar CTA Contactar fuera del menú
   ========================================================= */
@media (max-width: 980px) {
  .site-header .header-btn {
    display: none !important;
    visibility: hidden !important;
  }

  .site-header .nav-toggle:checked ~ .main-nav .mobile-nav-contact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Paginación publicaciones - Investigación */
.pub-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
}

.pub-page-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #f3f6fb;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.pub-page-btn:hover,
.pub-page-btn.active {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   OPTIMIZACIÓN RESPONSIVE ESPECÍFICA - PÁGINA INVESTIGACIÓN
   Compacta separaciones verticales en móvil sin perder aire visual.
   ========================================================= */
@media (max-width: 640px) {
  body.research-page .inv-hero {
    padding-bottom: 34px !important;
  }

  body.research-page #lineas {
    padding-top: 32px !important;
    padding-bottom: 18px !important;
  }

  body.research-page .lines-heading {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }

  body.research-page .research-lines {
    gap: 18px !important;
    margin-top: 24px !important;
    margin-bottom: 26px !important;
  }

  body.research-page .line-card {
    min-height: auto !important;
    padding: 26px 24px !important;
  }

  body.research-page .line-top {
    gap: 16px !important;
    margin-bottom: 18px !important;
  }

  body.research-page .line-icon,
  body.research-page .line-icon svg {
    width: 48px !important;
    height: 48px !important;
  }

  body.research-page .line-card h3 {
    font-size: 20px !important;
    line-height: 1.28 !important;
  }

  body.research-page .line-card p {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  body.research-page .pubs-section {
    padding-top: 26px !important;
    padding-bottom: 42px !important;
  }

  body.research-page .publication-heading {
    gap: 0 !important;
    margin-bottom: 24px !important;
  }

  body.research-page .inv-section-heading h2 {
    font-size: 36px !important;
    line-height: 1.08 !important;
  }

  body.research-page .inv-section-heading h2::after,
  body.research-page .inv-cta h2::after {
    margin-top: 14px !important;
  }

  body.research-page .inv-section-heading p:not(.section-kicker) {
    margin-top: 18px !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body.research-page .publication-tabs {
    margin-bottom: 22px !important;
    gap: 10px !important;
  }

  body.research-page .tab-btn {
    min-height: 36px !important;
    padding: 0 16px !important;
  }

  body.research-page .pub-grid {
    gap: 18px !important;
  }

  body.research-page .publication-card {
    min-height: auto !important;
    padding: 24px 22px 22px !important;
  }

  body.research-page .pub-logo {
    height: 48px !important;
    margin-bottom: 14px !important;
  }

  body.research-page .publication-card .pub-badge {
    margin-bottom: 16px !important;
  }

  body.research-page .publication-card .pub-title {
    margin-bottom: 18px !important;
  }

  body.research-page .pub-pagination {
    margin-top: 22px !important;
  }

  body.research-page .research-metrics {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }

  body.research-page .metrics-heading {
    margin-bottom: 24px !important;
  }

  body.research-page .metric-item {
    min-height: 118px !important;
    padding: 18px 10px 16px !important;
  }

  body.research-page .metric-icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 10px !important;
  }

  body.research-page .metric-item strong {
    font-size: 30px !important;
    margin-bottom: 6px !important;
  }

  body.research-page .metric-item span {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  body.research-page .international-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  body.research-page .international-card {
    margin-top: 22px !important;
    gap: 22px !important;
    padding: 16px !important;
  }

  body.research-page .international-card > img {
    height: 210px !important;
  }

  body.research-page .international-content h3 {
    margin-bottom: 14px !important;
  }

  body.research-page .international-meta {
    gap: 10px 14px !important;
    margin-bottom: 14px !important;
  }

  body.research-page .inv-cta {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
}

/* =========================================================
   OPTIMIZACIÓN RESPONSIVE HOME - ESPACIADO ENTRE BLOQUES
   Mayo 2026
   ========================================================= */

@media (max-width: 980px) {
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero {
    padding-bottom: 38px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .pillars {
    margin-top: 28px !important;
    margin-bottom: 42px !important;
    gap: 18px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .about-section {
    padding-top: 34px !important;
    padding-bottom: 46px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .about-grid {
    gap: 34px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .research-section {
    padding-top: 34px !important;
    padding-bottom: 46px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .section-heading {
    margin-bottom: 24px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .research-grid {
    gap: 22px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .about-purpose-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
}

@media (max-width: 640px) {
  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero {
    padding-top: 44px !important;
    padding-bottom: 32px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-grid {
    gap: 26px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .hero-visual {
    margin-top: 22px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .pillars {
    margin-top: 24px !important;
    margin-bottom: 34px !important;
    gap: 14px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .pillar-card {
    min-height: auto !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .about-section {
    padding-top: 30px !important;
    padding-bottom: 38px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .about-grid {
    gap: 28px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .about-copy .btn {
    margin-top: 14px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .research-section {
    padding-top: 30px !important;
    padding-bottom: 38px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .research-card div {
    padding: 20px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .research-all-link-mobile {
    margin-top: 22px !important;
  }

  body:not(.investigacion-page):not(.universidad-page):not(.empresa-page):not(.about-page):not(.contact-page) .about-purpose-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
}

/* =========================================================
   UNIVERSIDAD - AJUSTE RESPONSIVE DE ESPACIADOS
   ========================================================= */
@media (max-width: 980px) {
  body.university-page .univ-hero {
    padding-bottom: 34px !important;
  }

  body.university-page .univ-section-intro .lines-heading {
    margin-top: 42px !important;
  }

  body.university-page .univ-section-intro .inv-section-heading {
    margin-bottom: 22px !important;
  }

  body.university-page .univ-activity-lines {
    margin-top: 28px !important;
    margin-bottom: 44px !important;
  }

  body.university-page .uni-section {
    padding-bottom: 48px !important;
  }

  body.university-page .uni-panel {
    gap: 24px !important;
  }

  body.university-page .stats-section {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  body.university-page .about-purpose-section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }
}

@media (max-width: 620px) {
  body.university-page .univ-hero {
    padding-top: 52px !important;
    padding-bottom: 28px !important;
  }

  body.university-page .univ-hero-grid {
    gap: 28px !important;
  }

  body.university-page .univ-hero-img {
    height: 265px !important;
  }

  body.university-page .univ-section-intro .lines-heading {
    margin-top: 34px !important;
  }

  body.university-page .univ-section-intro .inv-section-heading {
    margin-bottom: 18px !important;
  }

  body.university-page .univ-activity-lines {
    margin-top: 22px !important;
    margin-bottom: 36px !important;
    gap: 16px !important;
  }

  body.university-page .univ-activity-card {
    padding: 24px 22px !important;
    min-height: auto !important;
  }

  body.university-page .univ-activity-top {
    margin-bottom: 18px !important;
  }

  body.university-page .univ-activity-arrow {
    margin-top: 20px !important;
  }

  body.university-page .uni-section {
    padding-bottom: 36px !important;
  }

  body.university-page .uni-panel,
  body.university-page .uni-panel.reverse {
    padding: 16px !important;
    gap: 18px !important;
  }

  body.university-page .uni-photo img {
    min-height: 245px !important;
  }

  body.university-page .uni-content,
  body.university-page .uni-panel.reverse .uni-content {
    padding: 20px 4px 4px !important;
  }

  body.university-page .uni-title-row {
    margin-bottom: 10px !important;
  }

  body.university-page .mini-red-line {
    margin-bottom: 18px !important;
  }

  body.university-page .uni-content > p {
    margin-bottom: 13px !important;
  }

  body.university-page .uni-cards {
    margin-top: 16px !important;
    gap: 14px !important;
  }

  body.university-page .uni-card {
    padding: 22px 20px !important;
    min-height: auto !important;
  }

  body.university-page .uni-subtle-link {
    margin-top: 22px !important;
  }

  body.university-page .stats-section {
    padding-top: 34px !important;
    padding-bottom: 38px !important;
  }

  body.university-page .stats-heading {
    margin-bottom: 20px !important;
  }

  body.university-page .stats-box {
    padding: 8px 6px !important;
  }

  body.university-page .stat-item {
    min-height: 156px !important;
    padding-top: 18px !important;
    padding-bottom: 16px !important;
  }

  body.university-page .about-purpose-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  body.university-page .about-purpose-grid {
    padding: 32px 24px !important;
    gap: 22px !important;
  }
}

/* Mobile footer optimization */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 32px;
  }

  .footer-brand,
  .footer-contact,
  .footer-bottom,
  .footer-legal {
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .footer .socials {
    justify-content: center;
  }

  .footer-grid .footer-col:nth-child(2),
  .footer-grid .footer-col:nth-child(3) {
    display: none;
  }

  .footer-contact p,
  .footer-contact a {
    margin-left: auto;
    margin-right: auto;
  }

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

/* =========================================================
   FIX EMPRESA MOBILE - BLOQUE "CON QUIÉN TRABAJO"
   Fuerza el contenedor de la imagen para que no colapse en responsive
   y mantenga visible la fotografía junto al marco decorativo.
   ========================================================= */
@media (max-width: 980px) {
  .empresa-page .audience-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .empresa-page .audience-feature-visual {
    display: block !important;
    position: relative !important;
    width: min(100%, 460px) !important;
    max-width: calc(100vw - 48px) !important;
    margin: 34px auto 0 !important;
    padding: 0 18px 18px 0 !important;
    overflow: visible !important;
  }

  .empresa-page .audience-feature-image {
    display: block !important;
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 11 !important;
    min-height: 220px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f4f7ff !important;
  }

  .empresa-page .audience-feature-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 220px !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .empresa-page .audience-feature-dots {
    top: -24px !important;
    right: -8px !important;
    width: 180px !important;
    height: 180px !important;
    z-index: 0 !important;
  }

  .empresa-page .audience-feature-frame {
    right: -2px !important;
    bottom: -2px !important;
    width: 150px !important;
    height: 150px !important;
    z-index: 1 !important;
  }

  .empresa-page .audience-feature-square {
    right: 10px !important;
    bottom: 10px !important;
    width: 18px !important;
    height: 18px !important;
    z-index: 4 !important;
  }
}

/* =========================================================
   EMPRESA - OPTIMIZACIÓN COMPLETA RESPONSIVE
   Compacta la separación entre bloques en móvil y tablet,
   manteniendo visible la imagen de "Con quién trabajo".
   ========================================================= */
@media (max-width: 980px) {
  body.empresa-page .empresa-hero {
    padding-top: 54px !important;
    padding-bottom: 38px !important;
  }

  body.empresa-page .empresa-hero-grid {
    gap: 28px !important;
  }

  body.empresa-page .empresa-main-content {
    padding-bottom: 0 !important;
  }

  body.empresa-page .growth-drivers {
    padding-top: 38px !important;
    padding-bottom: 22px !important;
  }

  body.empresa-page .method-card-section {
    padding-top: 34px !important;
    padding-bottom: 28px !important;
    margin-bottom: 0 !important;
  }

  body.empresa-page .audience-feature-section {
    padding-top: 36px !important;
    padding-bottom: 34px !important;
    margin-bottom: 0 !important;
  }

  body.empresa-page .empresa-logos {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
    margin-bottom: 0 !important;
  }

  body.empresa-page .empresa-block-heading {
    margin-bottom: 28px !important;
  }

  body.empresa-page .driver-grid,
  body.empresa-page .method-card-grid,
  body.empresa-page .logos-grid {
    gap: 18px !important;
  }

  body.empresa-page .driver-item {
    min-height: auto !important;
    padding: 28px 24px !important;
  }

  body.empresa-page .method-card {
    min-height: auto !important;
    padding: 26px 22px 20px !important;
  }

  body.empresa-page .method-image {
    margin-top: 18px !important;
  }

  body.empresa-page .method-flex-note {
    margin-top: 22px !important;
  }

  body.empresa-page .audience-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.empresa-page .audience-feature-copy .btn {
    margin-top: 22px !important;
  }

  body.empresa-page .audience-feature-visual {
    display: block !important;
    position: relative !important;
    width: min(100%, 460px) !important;
    max-width: calc(100vw - 48px) !important;
    margin: 8px auto 0 !important;
    padding: 0 18px 18px 0 !important;
    overflow: visible !important;
  }

  body.empresa-page .audience-feature-image {
    display: block !important;
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 11 !important;
    min-height: 210px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f4f7ff !important;
  }

  body.empresa-page .audience-feature-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 210px !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 640px) {
  body.empresa-page .empresa-hero {
    padding-top: 42px !important;
    padding-bottom: 30px !important;
  }

  body.empresa-page .empresa-hero-grid {
    gap: 24px !important;
  }

  body.empresa-page .empresa-hero-copy .red-line,
  body.empresa-page .empresa-block-heading .red-line,
  body.empresa-page .audience-feature-copy .red-line {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }

  body.empresa-page .growth-drivers {
    padding-top: 30px !important;
    padding-bottom: 14px !important;
  }

  body.empresa-page .method-card-section {
    padding-top: 28px !important;
    padding-bottom: 22px !important;
  }

  body.empresa-page .audience-feature-section {
    padding-top: 30px !important;
    padding-bottom: 26px !important;
  }

  body.empresa-page .empresa-logos {
    padding-top: 26px !important;
    padding-bottom: 32px !important;
  }

  body.empresa-page .empresa-block-heading {
    margin-bottom: 22px !important;
  }

  body.empresa-page .empresa-block-heading h2,
  body.empresa-page .audience-feature-copy h2 {
    font-size: 31px !important;
    line-height: 1.12 !important;
    letter-spacing: -1px !important;
  }

  body.empresa-page .driver-grid,
  body.empresa-page .method-card-grid {
    gap: 14px !important;
  }

  body.empresa-page .driver-item {
    padding: 24px 22px !important;
    gap: 14px !important;
  }

  body.empresa-page .driver-item h3 {
    margin-bottom: 12px !important;
  }

  body.empresa-page .method-card {
    padding: 24px 20px 18px !important;
  }

  body.empresa-page .method-card-header {
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  body.empresa-page .method-arrow {
    height: 24px !important;
  }

  body.empresa-page .method-flex-note {
    margin-top: 18px !important;
    gap: 12px !important;
  }

  body.empresa-page .audience-checklist {
    gap: 12px !important;
  }

  body.empresa-page .audience-checklist li {
    gap: 10px !important;
  }

  body.empresa-page .audience-feature-copy .btn {
    margin-top: 18px !important;
  }

  body.empresa-page .audience-feature-visual {
    margin-top: 0 !important;
    max-width: calc(100vw - 40px) !important;
  }

  body.empresa-page .audience-feature-dots {
    top: -18px !important;
    right: -6px !important;
    width: 150px !important;
    height: 150px !important;
  }

  body.empresa-page .audience-feature-frame {
    right: -2px !important;
    bottom: -2px !important;
    width: 128px !important;
    height: 128px !important;
  }

  body.empresa-page .audience-feature-square {
    right: 10px !important;
    bottom: 10px !important;
  }
}
