/* =========================================================
   GEOPLOT WEB — DISEÑO RESPONSIVO
   ========================================================= */

/* Notebook y pantallas medianas */

@media (max-width: 1180px) {
  .header-container {
    gap: 22px;
  }

  .main-navigation {
    gap: 16px;
  }

  .main-navigation a {
    font-size: 13px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand-name {
    font-size: 26px;
  }
}

/* Tablet y menú móvil */

@media (max-width: 920px) {
  :root {
    --header-height: 90px;
  }

  .site-header {
    position: sticky;
  }

  .header-container {
    position: relative;
    justify-content: space-between;
  }

  .main-navigation {
    display: none;

    position: absolute;
    top: var(--header-height);
    left: 50%;

    width: 100vw;
    padding: 26px 6%;

    background-color: #050505;
    border-bottom: 2px solid var(--color-border);

    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    transform: translateX(-50%);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35);
  }

  .main-navigation.menu-open {
    display: flex;
  }

  .main-navigation a {
    width: 100%;
    padding: 4px 0;

    font-size: 16px;
  }

  .language-selector {
    margin-left: auto;
  }

  .mobile-menu-button {
    display: block;
  }
}

/* Celular */

@media (max-width: 560px) {
  :root {
    --header-height: 78px;
  }

  .header-container {
    width: 92%;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-tagline {
    margin-top: 5px;
    font-size: 8px;
  }

  .language-selector {
    padding: 6px 7px;
    border-radius: 8px;
  }

  .language-selector button {
    font-size: 11px;
  }

  .mobile-menu-button {
    width: 38px;
    height: 38px;
  }
}

/* =========================================================
   HEADER GEOPLOT — CELULARES MUY ESTRECHOS
   Mantiene visible GEOPLOT + I + D + i Territorial
   ========================================================= */

@media (max-width: 400px) {

  .header-container {
    width: calc(100% - 20px);
    gap: 8px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .brand-text {
    display: flex;
    min-width: 0;
  }

  .brand-name {
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
  }

  .brand-tagline {
    margin-top: 4px;

    font-size: 6.5px;
    line-height: 1;

    white-space: nowrap;
  }

  .language-selector {
    padding: 5px 6px;
  }

  .language-selector button {
    font-size: 10px;
  }

  .mobile-menu-button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

}
/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
  .hero-container {
    width: 90%;
  }

  .hero-content {
    width: min(660px, 58%);
  }

  .hero-description {
    margin-top: 55px;
  }

  .hero-capabilities {
    grid-template-columns: repeat(5, minmax(90px, 1fr));
  }

  .capability {
    min-width: 92px;
    padding: 0 12px;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 850px;
    align-items: flex-end;
  }

  .hero-background {
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.50) 38%,
        rgba(0, 0, 0, 0.94) 72%,
        rgba(0, 0, 0, 0.99) 100%
      );
  }

  .hero-container {
    width: 90%;
    padding: 220px 0 45px;
  }

  .hero-content {
    width: 100%;
    max-width: 720px;
  }

  .hero-description {
    max-width: 650px;
    margin-top: 38px;
  }

  .hero-actions {
    margin-top: 38px;
  }

  .hero-capabilities {
    width: 100%;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 45px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .hero-background {
    background-position: 72% top;
  }

  .hero-container {
    width: 88%;
    padding: 230px 0 80px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
    line-height: 1.08;
  }

  .hero-description {
    margin-top: 30px;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 34px;
  }

  .button {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    justify-content: space-between;
  }

  .hero-capabilities {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 6px 0;
  }

  .capability {
    min-height: 125px;
    padding: 18px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .capability:nth-child(2n) {
    border-right: 0;
  }

  .capability:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .hero-slider-controls {
    right: 50%;
    bottom: 28px;
    transform: translateX(50%);
  }
}

@media (max-width: 400px) {
  .hero-container {
    width: 90%;
    padding-top: 195px;
  }

  .hero-title {
    font-size: 2.05rem;
  }

  .capability p {
    font-size: 0.78rem;
  }
}

/* Evita animaciones si el usuario lo solicita */

@media (prefers-reduced-motion: reduce) {
  .hero-background,
  .button,
  .hero-slider-dot {
    transition: none;
  }
}
/* =========================================================
   INVESTIGACIÓN — RESPONSIVE
   ========================================================= */

@media (max-width: 920px) {
  .research-preview {
    padding: 62px 0 78px;
  }

  .research-container {
    width: 90%;
  }

  .research-lab-layout,
  .research-case-layout {
    grid-template-columns: 1fr;
  }

  .research-lab-layout {
    gap: 24px;
    margin-bottom: 66px;
  }

  .research-case-layout {
    gap: 36px;
  }

  .research-video-card {
    width: min(100%, 390px);
  }
}

@media (max-width: 620px) {
  .research-preview {
    padding: 50px 0 64px;
  }

  .research-title {
    margin-bottom: 30px;
  }

  .research-intro {
    margin-bottom: 38px;
    padding: 22px;
  }

  .research-intro p {
    font-size: 0.94rem;
  }

  .research-lab-visual {
    min-height: 330px;
  }

  .research-lab-brand {
    padding: 28px 22px;
  }

  .research-lab-logo {
    width: 58px;
    height: 58px;
  }

  .research-lab-brand h3 {
    font-size: 2rem;
  }

  .research-lab-button {
    left: 22px;
    bottom: 24px;
  }

  .research-text-card {
    padding: 23px;
  }

  .research-case-button {
    width: 100%;
    min-width: 0;
  }
}
/* =========================================================
   TECNOLOGÍA — RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .technology-grid {
    gap: 34px;
  }

  .technology-card {
    padding: 22px;
  }

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

  .technology-card-image {
    max-width: 260px;
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .technology-preview {
    padding: 62px 0 78px;
  }

  .technology-container {
    width: 90%;
  }

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

  .technology-card {
    min-height: 0;
  }

  .technology-card-body {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.75fr);
  }
}

@media (max-width: 620px) {
  .technology-preview {
    padding: 50px 0 64px;
  }

  .technology-title {
    margin-bottom: 30px;
  }

  .technology-intro {
    margin-bottom: 38px;
    padding: 22px;
  }

  .technology-intro p {
    font-size: 0.94rem;
  }

  .technology-card {
    padding: 20px;
  }

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

  .technology-card-image {
    width: 100%;
    max-width: none;

    margin-top: 4px;
  }

  .technology-button {
    width: 100%;
    min-width: 0;
  }

  .technology-logo-morphoflow,
  .technology-logo-tsunamigo,
  .technology-logo-chirpview,
  .technology-logo-iroe {
    width: min(100%, 300px);
  }
}
/* =========================================================
   GEOPLOT CAMPUS — RESPONSIVE
   ========================================================= */

@media (max-width: 920px) {
  .campus-preview {
    padding: 62px 0 78px;
  }

  .campus-container {
    width: 90%;

    grid-template-columns: 1fr;

    gap: 26px;
  }

  .campus-description-card {
    min-height: 190px;
  }
}


@media (max-width: 620px) {
  .campus-preview {
    padding: 50px 0 64px;
  }

  .campus-visual-card {
    min-height: 430px;
  }

  .campus-background {
    object-position: 66% center;
  }

  .campus-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.67) 58%,
        rgba(0, 0, 0, 0.8) 100%
      );
  }

  .campus-brand {
    align-items: flex-start;
    gap: 13px;

    padding: 28px 22px;
  }

  .campus-logo {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .campus-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .campus-platform {
    margin-top: 9px;

    font-size: 1.15rem;
  }

  .campus-button {
    left: 22px;
    right: 22px;
    bottom: 24px;

    width: auto;
  }

  .campus-description-card {
    padding: 25px;
  }
}


@media (max-width: 400px) {
  .campus-brand {
    flex-direction: column;
  }

  .campus-logo {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .campus-title {
    font-size: 1.85rem;
  }
}
/* =========================================================
   PÁGINA NOSOTROS — RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-heading {
    position: static;
  }

  .about-capabilities,
  .about-principles-grid,
  .about-work-model {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-team-card {
    grid-template-columns: 1fr;
    gap: 46px;
  }

}


@media (max-width: 720px) {

  .internal-container,
  .internal-hero-container {
    width: min(100% - 32px, 1180px);
  }

  .internal-hero {
    min-height: 520px;
    padding: 150px 0 64px;
  }

  .internal-title {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .internal-description {
    margin-top: 26px;
    font-size: 1rem;
  }

  .about-section-navigation {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .about-section-navigation a {
    justify-content: space-between;
  }

  .about-section {
    padding: 78px 0;
  }

  .about-section-header {
    margin-bottom: 40px;
  }

  .about-capabilities,
  .about-principles-grid,
  .about-work-model {
    grid-template-columns: 1fr;
  }

  .about-capabilities {
    margin-top: 56px;
  }

  .about-capability,
  .about-principle-card {
    min-height: auto;
    padding: 28px;
    border-radius: 18px;
  }

  .about-capability-number,
  .about-principle-number {
    margin-bottom: 38px;
  }

  .about-team-card {
    padding: 30px;
    border-radius: 20px;
  }

  .about-cta {
    padding: 68px 0;
  }

  .about-cta-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
  }

}


@media (max-width: 420px) {

  .internal-hero {
    min-height: 490px;
    padding-top: 135px;
  }

  .internal-title {
    font-size: 2.7rem;
  }

  .about-team-card {
    padding: 24px;
  }

  .about-team-disciplines span {
    width: 100%;
    text-align: center;
  }

}
/* =========================================================
   TSUNAMIGO — HERO COMPLETO EN LA PRIMERA PANTALLA
   Escritorio y notebook
   ========================================================= */

@media (min-width: 921px) {

  .tsunamigo-hero {
    width: 100%;

    height: calc(100vh - var(--header-height));
    min-height: 620px;
    max-height: 900px;

    padding: 32px 0;

    display: flex;
    align-items: center;

    overflow: hidden;
  }

  .tsunamigo-hero-layout {
    width: min(94%, 1440px);
    height: 100%;
    margin-inline: auto;

    grid-template-columns:
      minmax(0, 0.88fr)
      minmax(500px, 1.12fr);

    gap: clamp(30px, 4vw, 64px);
    align-items: center;
  }

  .tsunamigo-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    max-height: 100%;
  }

  .tsunamigo-eyebrow {
    margin-bottom: 14px;

    font-size: clamp(0.68rem, 0.72vw, 0.82rem);
  }

  .tsunamigo-hero h1 {
    font-size: clamp(3.8rem, 5.4vw, 6.2rem);
    line-height: 0.92;
  }

  .tsunamigo-hero h2 {
    max-width: 620px;
    margin-top: 22px;

    font-size: clamp(1.55rem, 2vw, 2.25rem);
    line-height: 1.12;
  }

  .tsunamigo-hero-description {
    max-width: 650px;
    margin-top: 20px;

    font-size: clamp(0.9rem, 1vw, 1.05rem);
    line-height: 1.55;
  }

  .tsunamigo-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 24px;
  }

  .tsunamigo-hero-actions .tsunamigo-button {
    min-height: 48px;
    padding-inline: 20px;
  }

  .tsunamigo-hero-visual {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tsunamigo-hero-visual img {
    width: 100%;
    height: auto;
    max-height: min(62vh, 570px);

    object-fit: contain;
    object-position: center;
  }
}


/* =========================================================
   TSUNAMIGO — PANTALLAS DE POCA ALTURA
   Evita que los botones queden fuera del hero
   ========================================================= */

@media (min-width: 921px) and (max-height: 800px) {

  .tsunamigo-hero {
    min-height: 560px;
    padding: 20px 0;
  }

  .tsunamigo-eyebrow {
    margin-bottom: 10px;
  }

  .tsunamigo-hero h1 {
    font-size: clamp(3.4rem, 4.8vw, 5.3rem);
  }

  .tsunamigo-hero h2 {
    margin-top: 16px;

    font-size: clamp(1.4rem, 1.75vw, 1.9rem);
  }

  .tsunamigo-hero-description {
    margin-top: 14px;

    font-size: 0.9rem;
    line-height: 1.45;
  }

  .tsunamigo-hero-actions {
    margin-top: 18px;
  }

  .tsunamigo-hero-visual img {
    max-height: 54vh;
  }
}
/* =========================================================
   TSUNAMIGO — MARCA DEL HERO
   ========================================================= */

@media (min-width: 921px) {

  .tsunamigo-hero-content {
    transform: translateY(-28px);
  }

  .tsunamigo-brand-title {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 8px;
  }

  .tsunamigo-brand-logo {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;

    object-fit: contain;
  }

  .tsunamigo-brand-title h1 {
    margin: 0;

    display: flex;
    align-items: flex-start;

    font-size: clamp(3.8rem, 5.4vw, 6.2rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.055em;
  }

  .tsunamigo-name-white {
    color: #ffffff;
  }

  .tsunamigo-name-blue {
    color: #2da9f7;
  }

  .tsunamigo-brand-title sup {
    position: relative;
    top: 0.08em;

    margin-left: 6px;

    color: #ffffff;

    font-size: 0.18em;
    line-height: 1;
  }
}
/* =========================================================
   MORPHOFLOW — HERO COMPLETO EN LA PRIMERA PANTALLA
   ========================================================= */

@media (min-width: 921px) {

  .morphoflow-hero {
    width: 100%;

    height: calc(100vh - var(--header-height));
    min-height: 620px;
    max-height: 900px;

    padding: 28px 0;

    display: flex;
    align-items: center;

    overflow: hidden;
  }

  .morphoflow-hero-layout {
    width: min(94%, 1440px);
    height: 100%;
    margin-inline: auto;

    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(500px, 1.1fr);

    gap: clamp(30px, 4vw, 64px);
    align-items: center;
  }

  .morphoflow-hero-content {
    min-width: 0;
    max-height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transform: translateY(-24px);
  }

  .morphoflow-brand {
    margin-bottom: 18px;
  }

  .morphoflow-brand-logo {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
  }

  .morphoflow-brand-name {
    font-size: clamp(2rem, 2.8vw, 3.3rem);
  }

  .morphoflow-eyebrow {
    margin-bottom: 14px;

    font-size: clamp(0.68rem, 0.72vw, 0.82rem);
  }

  .morphoflow-hero h1 {
    max-width: 690px;

    font-size: clamp(2.9rem, 4.4vw, 5.2rem);
    line-height: 0.98;
  }

  .morphoflow-hero-description {
    max-width: 650px;
    margin-top: 18px;

    font-size: clamp(0.9rem, 1vw, 1.05rem);
    line-height: 1.5;
  }

  .morphoflow-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 22px;
  }

  .morphoflow-hero-actions .morphoflow-button {
    min-height: 48px;
    padding-inline: 20px;
  }

  .morphoflow-hero-visual {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .morphoflow-hero-visual img {
    width: 100%;
    height: auto;
    max-height: min(60vh, 560px);

    object-fit: contain;
    object-position: center;
  }
}


/* =========================================================
   MORPHOFLOW — PANTALLAS DE POCA ALTURA
   ========================================================= */

@media (min-width: 921px) and (max-height: 800px) {

  .morphoflow-hero {
    min-height: 560px;
    padding: 18px 0;
  }

  .morphoflow-hero-content {
    transform: translateY(-12px);
  }

  .morphoflow-brand {
    margin-bottom: 12px;
  }

  .morphoflow-brand-logo {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .morphoflow-hero h1 {
    font-size: clamp(2.65rem, 3.8vw, 4.4rem);
  }

  .morphoflow-hero-description {
    margin-top: 14px;

    font-size: 0.9rem;
    line-height: 1.42;
  }

  .morphoflow-hero-actions {
    margin-top: 17px;
  }

  .morphoflow-hero-visual img {
    max-height: 53vh;
  }
}
/* =========================================================
   MORPHOFLOW — TÍTULO DEL HERO EN TRES LÍNEAS
   ========================================================= */

@media (min-width: 921px) {

  .morphoflow-hero-content {
    transform: translateY(-52px);
  }

  .morphoflow-hero-title {
    width: 100%;
    max-width: 760px;

    margin: 0;

    display: flex;
    flex-direction: column;

    font-size: clamp(3rem, 4.15vw, 5rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .morphoflow-hero-title span {
    display: block;
    white-space: nowrap;
  }
}
/* =========================================================
   CHIRPVIEW — HERO COMPLETO EN LA PRIMERA PANTALLA
   Botones visibles al 100 %
   ========================================================= */

@media (min-width: 921px) {

  .chirpview-hero {
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: 590px;
    max-height: 850px;

    padding: 14px 0;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-size: cover;
    background-position: center right;
  }

  .chirpview-hero-content {
    width: min(94%, 1440px);
    height: 100%;
    margin-inline: auto;

    display: flex;
    align-items: center;
  }

  .chirpview-hero-copy {
    width: min(610px, 45%);
    max-height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transform: translateY(-34px);
  }

  .chirpview-brand {
    margin-bottom: 12px;
  }

  .chirpview-brand-logo {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
  }

  .chirpview-brand-label {
    margin-bottom: 4px;
    font-size: 0.68rem;
  }

  .chirpview-brand-name {
    font-size: clamp(1.8rem, 2.45vw, 2.9rem);
  }

  .chirpview-eyebrow {
    margin-bottom: 10px;

    font-size: clamp(0.64rem, 0.68vw, 0.76rem);
  }

  .chirpview-hero h1 {
    max-width: 600px;
    margin: 0;

    font-size: clamp(2.25rem, 3.15vw, 3.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .chirpview-hero-description {
    max-width: 580px;
    margin-top: 12px;

    font-size: clamp(0.82rem, 0.9vw, 0.95rem);
    line-height: 1.4;
  }

  .chirpview-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 14px;
  }

  .chirpview-hero-actions .chirpview-button {
    min-height: 44px;
    padding-inline: 18px;

    font-size: 0.84rem;
  }
}


/* =========================================================
   CHIRPVIEW — PANTALLAS BAJAS
   ========================================================= */

@media (min-width: 921px) and (max-height: 800px) {

  .chirpview-hero {
    min-height: 540px;
    padding: 8px 0;
  }

  .chirpview-hero-copy {
    transform: translateY(-46px);
  }

  .chirpview-brand {
    margin-bottom: 8px;
  }

  .chirpview-brand-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .chirpview-brand-name {
    font-size: clamp(1.65rem, 2.2vw, 2.5rem);
  }

  .chirpview-eyebrow {
    margin-bottom: 7px;
  }

  .chirpview-hero h1 {
    font-size: clamp(2rem, 2.8vw, 3.2rem);
  }

  .chirpview-hero-description {
    margin-top: 9px;

    font-size: 0.82rem;
    line-height: 1.34;
  }

  .chirpview-hero-actions {
    margin-top: 11px;
  }

  .chirpview-hero-actions .chirpview-button {
    min-height: 40px;
    padding-inline: 16px;
  }
}
/* =========================================================
   IROE-1 — HERO COMPLETO EN LA PRIMERA PANTALLA
   Imagen del dashboard como fondo
   ========================================================= */

@media (min-width: 921px) {

  .iroe1-hero {
    position: relative;

    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: 580px;
    max-height: 850px;

    padding: 14px 0;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
      linear-gradient(
        90deg,
        rgba(2, 10, 24, 0.98) 0%,
        rgba(2, 13, 32, 0.92) 34%,
        rgba(2, 18, 43, 0.64) 58%,
        rgba(2, 21, 50, 0.28) 100%
      ),
      url("/assets/images/tecnologia/Iroe1/imagencomputadordashbordiroe.png");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
  }

  .iroe1-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
      linear-gradient(
        90deg,
        rgba(1, 7, 18, 0.42) 0%,
        rgba(1, 8, 22, 0.18) 48%,
        rgba(1, 8, 22, 0) 100%
      );
  }

  .iroe1-hero-layout {
    position: relative;
    z-index: 2;

    width: min(94%, 1440px);
    height: 100%;
    margin-inline: auto;

    display: grid;
    grid-template-columns: minmax(0, 610px) 1fr;
    gap: 40px;
    align-items: center;
  }

  .iroe1-hero-content {
    width: 100%;
    max-height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transform: translateY(-30px);
  }

  .iroe1-hero-visual {
    display: none;
  }

  .iroe1-brand {
    margin-bottom: 12px;
  }

  .iroe1-brand-logo {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
  }

  .iroe1-brand-label {
    margin-bottom: 4px;

    font-size: 0.68rem;
  }

  .iroe1-brand-name {
    font-size: clamp(2rem, 2.8vw, 3.2rem);
  }

  .iroe1-eyebrow {
    margin-bottom: 10px;

    font-size: clamp(0.64rem, 0.68vw, 0.76rem);
  }

  .iroe1-hero-title {
    max-width: 610px;
    margin: 0;

    font-size: clamp(2.25rem, 3.15vw, 3.7rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .iroe1-hero-description {
    max-width: 580px;
    margin-top: 14px;

    font-size: clamp(0.82rem, 0.9vw, 0.96rem);
    line-height: 1.42;
  }

  .iroe1-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 16px;
  }

  .iroe1-hero-actions .iroe1-button {
    min-height: 44px;
    padding-inline: 18px;

    font-size: 0.84rem;
  }
}


/* =========================================================
   IROE-1 — PANTALLAS BAJAS
   ========================================================= */

@media (min-width: 921px) and (max-height: 800px) {

  .iroe1-hero {
    min-height: 540px;
    padding: 8px 0;
  }

  .iroe1-hero-content {
    transform: translateY(-42px);
  }

  .iroe1-brand {
    margin-bottom: 8px;
  }

  .iroe1-brand-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .iroe1-brand-name {
    font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  }

  .iroe1-eyebrow {
    margin-bottom: 7px;
  }

  .iroe1-hero-title {
    font-size: clamp(2rem, 2.8vw, 3.2rem);
  }

  .iroe1-hero-description {
    margin-top: 10px;

    font-size: 0.82rem;
    line-height: 1.35;
  }

  .iroe1-hero-actions {
    margin-top: 12px;
  }

  .iroe1-hero-actions .iroe1-button {
    min-height: 40px;
    padding-inline: 16px;
  }
}


/* =========================================================
   IROE-1 — TABLET Y CELULAR
   ========================================================= */

@media (max-width: 920px) {

  .iroe1-hero {
    min-height: auto;
    padding: 80px 0 70px;

    background:
      linear-gradient(
        180deg,
        rgba(1, 8, 22, 0.35) 0%,
        rgba(1, 9, 24, 0.9) 48%,
        rgba(1, 9, 24, 1) 100%
      ),
      url("/assets/images/tecnologia/Iroe1/imagencomputadordashbordiroe.png");

    background-size: cover;
    background-position: 67% center;
  }

  .iroe1-hero-layout {
    grid-template-columns: 1fr;
  }

  .iroe1-hero-visual {
    display: none;
  }

  .iroe1-hero-content {
    max-width: 680px;
  }

  .iroe1-hero-title {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }
}
/* =========================================================
   RESPONSIVE — PÁGINA GENERAL DE CURSOS
   ========================================================= */

@media (max-width: 1100px) {
  .courses-catalog-hero-container {
    grid-template-columns: 1fr 360px;
    gap: 3rem;
  }

  .courses-catalog-intro-container,
  .courses-moodle-container {
    gap: 3rem;
  }

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

@media (max-width: 900px) {
  .courses-catalog-hero {
    padding: 8rem 0 5rem;
  }

  .courses-catalog-hero-container,
  .courses-catalog-intro-container,
  .courses-moodle-container {
    grid-template-columns: 1fr;
  }

  .courses-catalog-hero-content {
    max-width: 800px;
  }

  .courses-catalog-hero-visual {
    width: 100%;
    max-width: 640px;
  }

  .courses-catalog-intro-text {
    padding-top: 0;
  }

  .courses-catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .courses-catalog-filters {
    justify-content: flex-start;
  }

  .courses-catalog-grid {
    gap: 1.4rem;
  }

  .courses-moodle-panel {
    min-height: 390px;
  }

  .courses-final-cta-container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .courses-catalog-hero {
    padding: 7rem 0 4rem;
  }

  .courses-catalog-title {
    font-size: clamp(2.7rem, 12vw, 4.5rem);
  }

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

  .courses-catalog-hero-actions .button {
    width: 100%;
  }

  .courses-catalog-hero-badge {
    min-height: 135px;
  }

  .courses-catalog-hero-stat {
    grid-template-columns: 95px minmax(0, 1fr);
  }

  .courses-catalog-intro,
  .courses-moodle-section {
    padding: 5rem 0;
  }

  .courses-catalog-section,
  .courses-method-section {
    padding: 5rem 0;
  }

  .courses-catalog-grid {
    grid-template-columns: 1fr;
  }

  .courses-catalog-card-body {
    padding: 1.4rem;
  }

  .courses-catalog-card-title {
    font-size: 1.65rem;
  }

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

  .courses-method-card {
    min-height: auto;
  }

  .courses-method-card h3 {
    margin-top: 1.8rem;
  }

  .courses-moodle-benefits {
    grid-template-columns: 1fr;
  }

  .courses-final-cta {
    padding: 4rem 0;
  }

  .courses-final-cta-container {
    padding: 2rem;
  }
}

@media (max-width: 520px) {
  .courses-catalog-hero {
    padding-top: 6.5rem;
  }

  .courses-catalog-hero-container {
    gap: 2.2rem;
  }

  .courses-catalog-title {
    letter-spacing: -0.045em;
  }

  .courses-catalog-description {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .courses-catalog-hero-visual {
    padding: 0.8rem;
    border-radius: 22px;
  }

  .courses-catalog-hero-badge {
    padding: 1.1rem;
    border-radius: 17px;
  }

  .courses-catalog-hero-badge span {
    font-size: 4rem;
  }

  .courses-catalog-hero-stat {
    padding: 0.95rem;
    border-radius: 15px;
  }

  .courses-catalog-toolbar {
    margin-bottom: 2rem;
  }

  .courses-catalog-filters {
    width: 100%;
  }

  .courses-filter-button {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .courses-catalog-card {
    border-radius: 19px;
  }

  .courses-catalog-card-body {
    padding: 1.25rem;
  }

  .courses-catalog-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .courses-catalog-card-button {
    width: 100%;
    justify-content: center;
  }

  .courses-moodle-panel {
    min-height: 330px;
    padding: 1.6rem;
    border-radius: 22px;
  }

  .courses-final-cta-container {
    padding: 1.5rem;
    border-radius: 22px;
  }

  .courses-final-cta .button {
    width: 100%;
  }
}
/* =========================================================
   RESPONSIVE — BOTÓN DE TECNOLOGÍA
   ========================================================= */

@media (max-width: 720px) {
  body[data-page="investigacion"]
  .research-line-technology-brand {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 360px !important;

    min-height: 68px !important;

    padding: 0.65rem 0.9rem !important;
  }

  body[data-page="investigacion"]
  .research-line-technology-logo {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;

    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;

    flex-basis: 46px !important;
  }

  body[data-page="investigacion"]
  .research-line:first-child
  .research-line-technology-logo {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
  }

  body[data-page="investigacion"]
  .research-line-technology-name {
    font-size: clamp(1.3rem, 7vw, 1.8rem) !important;
  }
}

@media (max-width: 420px) {
  body[data-page="investigacion"]
  .research-line-technology-brand {
    max-width: 100% !important;
  }

  body[data-page="investigacion"]
  .research-line-technology-name {
    font-size: 1.25rem !important;
  }
}
/* =========================================================
   RESPONSIVE — PANEL DE 5 MÉTRICAS
   ========================================================= */

@media (max-width: 980px) {
  body[data-page="investigacion"] .research-index-hero {
    min-height: auto !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-panel {
    max-width: 560px !important;
  }
}

@media (max-width: 520px) {
  body[data-page="investigacion"]
  .research-index-hero-panel {
    max-width: 100% !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-number {
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-metric {
    grid-template-columns: 34px minmax(0, 1fr) !important;

    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-metric p {
    font-size: 11px !important;
  }
}
/* =========================================================
   RESPONSIVE DEFINITIVO — PANEL DE INVESTIGACIÓN
   ========================================================= */

@media (max-width: 1100px) {
  body[data-page="investigacion"]
  .research-index-hero-container {
    grid-template-columns: minmax(0, 1fr) 390px !important;
    gap: 35px !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-panel {
    max-width: 390px !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-metric p {
    font-size: 11px !important;
  }
}

@media (max-width: 900px) {
  body[data-page="investigacion"]
  .research-index-hero {
    min-height: auto !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-container {
    grid-template-columns: 1fr !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-panel {
    width: 100% !important;
    max-width: 520px !important;
    justify-self: start !important;
  }
}

@media (max-width: 520px) {
  body[data-page="investigacion"]
  .research-index-hero-panel {
    max-width: 100% !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-metric {
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }

  body[data-page="investigacion"]
  .research-index-hero-metric p {
    font-size: 10.5px !important;
  }
}
/* =========================================================
   CAMPUS — HERO PARA ESCRITORIO MEDIO
   ========================================================= */

@media (min-width: 901px) and (max-width: 1300px) {

  body[data-page="campus"] .campus-page-hero-layout {
    grid-template-columns:
      minmax(0, 620px)
      minmax(340px, 440px) !important;

    gap: 36px !important;
  }

  body[data-page="campus"] .campus-page-hero h1 {
    max-width: 620px !important;

    font-size: 44px !important;
    line-height: 1 !important;
  }

  body[data-page="campus"] .campus-page-hero-description {
    max-width: 590px !important;

    font-size: 14px !important;
  }

  body[data-page="campus"] .campus-page-hero-visual {
    max-width: 440px !important;
  }

  body[data-page="campus"] .campus-page-hero-visual img {
    height: 230px !important;
  }

}
/* =========================================================
   CAMPUS — HERO MÁS GRANDE EN ESCRITORIO MEDIO
   ========================================================= */

@media (min-width: 901px) and (max-width: 1300px) {

  body[data-page="campus"] .campus-page-hero-layout {
    grid-template-columns:
      minmax(0, 680px)
      minmax(360px, 480px) !important;

    gap: 36px !important;
  }

  body[data-page="campus"] .campus-page-brand-logo {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }

  body[data-page="campus"] .campus-page-brand-name {
    font-size: 32px !important;
  }

  body[data-page="campus"] .campus-page-hero h1 {
    max-width: 680px !important;

    font-size: 42px !important;
  }

  body[data-page="campus"] .campus-page-hero-description {
    max-width: 650px !important;

    font-size: 14px !important;
  }

  body[data-page="campus"] .campus-page-hero-visual {
    max-width: 480px !important;
  }

  body[data-page="campus"] .campus-page-hero-visual img {
    height: 235px !important;
  }

  body[data-page="campus"]
  .campus-page-hero-actions
  .campus-page-button {
    min-height: 42px !important;

    padding: 9px 16px !important;

    font-size: 12px !important;
  }

}
/* =========================================================
   CATÁLOGO DE CURSOS — HERO RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

  body[data-page="campus-cursos"]
  .courses-catalog-hero-container {
    grid-template-columns:
      minmax(0, 1fr)
      380px !important;

    gap: 34px !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-title {
    font-size: 46px !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-campus-brand-copy strong {
    font-size: 25px !important;
  }

}


@media (max-width: 900px) {

  body[data-page="campus-cursos"]
  .courses-catalog-hero {
    min-height: auto !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-container {
    grid-template-columns: 1fr !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-panel {
    width: 100% !important;
    max-width: 560px !important;
  }

}


@media (max-width: 720px) {

  body[data-page="campus-cursos"]
  .courses-catalog-hero {
    padding: 3.5rem 0 !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-campus-brand img {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-campus-brand-copy strong {
    font-size: 22px !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-title {
    font-size: clamp(2.4rem, 10vw, 3.3rem) !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-title span {
    white-space: normal !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-description {
    font-size: 16px !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-actions
  .button {
    width: 100% !important;
  }

}


@media (max-width: 440px) {

  body[data-page="campus-cursos"]
  .courses-catalog-campus-brand-copy strong {
    font-size: 19px !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-campus-brand-copy small {
    font-size: 9px !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-course {
    min-height: 58px !important;
  }

  body[data-page="campus-cursos"]
  .courses-catalog-hero-course p {
    font-size: 11px !important;
  }

}
/* =========================================================
   INVESTIGACIÓN — TEXTO E IMAGEN EN CELULAR
   ========================================================= */

@media (max-width: 768px) {

  body[data-page="investigacion"]
  .census-research-study
  .internal-container {
    width: min(calc(100% - 32px), 720px);
    margin-inline: auto;
  }

  body[data-page="investigacion"]
  .census-research-section-header {
    width: 100%;
    max-width: none;
  }

  body[data-page="investigacion"]
  .census-research-section-header h2 {
    width: 100%;
    max-width: none;

    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.08;
  }

  body[data-page="investigacion"]
  .census-research-introduction-layout {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr;

    gap: 32px;
  }

  body[data-page="investigacion"]
  .census-research-introduction {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  body[data-page="investigacion"]
  .census-research-introduction p {
    width: 100%;
    max-width: none;
    min-width: 0;

    margin-inline: 0;

    font-size: 1rem;
    line-height: 1.7;

    word-break: normal;
    overflow-wrap: normal;
  }

  body[data-page="investigacion"]
  .census-research-poe-inline-figure {
    position: static;
    top: auto;

    width: 100%;
    max-width: none;

    margin: 0;

    justify-self: stretch;
  }

  body[data-page="investigacion"]
  .census-research-poe-inline-figure img {
    width: 100%;
    height: auto;
    max-height: none;

    object-fit: contain;
  }

  body[data-page="investigacion"]
  .census-research-poe-inline-figure figcaption {
    padding: 16px;

    font-size: 0.82rem;
    line-height: 1.55;
  }

}
/* =========================================================
   SOLUCIONES — CTA FINAL RESPONSIVO
   ========================================================= */

@media (max-width: 768px) {

  body[data-page="soluciones"]
  .solutions-index-connection {
    padding: 64px 0;
  }

  body[data-page="soluciones"]
  .solutions-index-connection-container {
    width: min(calc(100% - 28px), 680px);

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 28px;

    padding: 28px 22px;

    border-radius: 22px;
  }

  body[data-page="soluciones"]
  .solutions-index-connection-copy {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  body[data-page="soluciones"]
  .solutions-index-connection h2 {
    width: 100%;
    max-width: none;

    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    line-height: 1.08;

    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-page="soluciones"]
  .solutions-index-connection p:not(.section-kicker) {
    width: 100%;
    max-width: none;

    font-size: 1rem;
    line-height: 1.65;
  }

  body[data-page="soluciones"]
  .solutions-index-connection-actions {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 12px;
  }

  body[data-page="soluciones"]
  .solutions-index-connection-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 54px;

    padding: 0 18px;

    justify-content: center;

    white-space: normal;
    text-align: center;
  }

}
/* =========================================================
   CONTACTO — RESPONSIVE DEFINITIVO
   Datos de contacto + formulario en una columna
   ========================================================= */

@media (max-width: 768px) {

  body[data-page="contacto"] .contact-page {
    min-height: 0;
  }

  body[data-page="contacto"] .contact-main-section {
    min-height: 0;
    height: auto;

    padding: 56px 0;

    overflow: visible;
  }

  body[data-page="contacto"] .contact-container {
    width: min(calc(100% - 28px), 680px);

    margin-inline: auto;
  }

  body[data-page="contacto"] .contact-main-layout {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr);

    gap: 28px;

    align-items: start;
  }

  body[data-page="contacto"] .contact-information-card,
  body[data-page="contacto"] .contact-form-card {
    width: 100%;
    min-width: 0;
    max-width: none;

    padding: 28px 22px;

    border-radius: 20px;
  }

  body[data-page="contacto"] .contact-form {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr);

    gap: 18px;

    margin-top: 28px;
  }

  body[data-page="contacto"] .contact-form-field,
  body[data-page="contacto"] .contact-form-field-full,
  body[data-page="contacto"] .contact-form-consent,
  body[data-page="contacto"] .contact-form-privacy-note,
  body[data-page="contacto"] .contact-form-status,
  body[data-page="contacto"] .contact-submit-button {
    grid-column: 1;
    width: 100%;
    min-width: 0;
  }

  body[data-page="contacto"] .contact-form-field input,
  body[data-page="contacto"] .contact-form-field select,
  body[data-page="contacto"] .contact-form-field textarea {
    width: 100%;
    max-width: 100%;
  }

  body[data-page="contacto"] .contact-form-field textarea {
    min-height: 150px;
  }

  body[data-page="contacto"] .contact-direct-actions {
    width: 100%;
  }

  body[data-page="contacto"] .contact-whatsapp-button,
  body[data-page="contacto"] .contact-email-button,
  body[data-page="contacto"] .contact-submit-button {
    width: 100%;
    min-width: 0;
  }

}
@media (max-width: 420px) {

  body[data-page="investigacion"]
  .census-research-results {
    margin-top: 28px;
    padding-top: 32px;
  }

}
/* =========================================================
   ANÁLISIS CENSAL — ENCABEZADO DE RESULTADOS EN CELULAR
   Elimina la columna estrecha que genera el espacio negro
   ========================================================= */

@media (max-width: 768px) {

  body[data-page="investigacion"]
  .census-research-results {
    width: 100%;

    margin-top: 36px;
    padding-top: 36px;
  }

  body[data-page="investigacion"]
  .census-research-results-header {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr);

    gap: 18px;
    align-items: start;

    margin-bottom: 32px;
  }

  body[data-page="investigacion"]
  .census-research-results-header > div,
  body[data-page="investigacion"]
  .census-research-results-header > p {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  body[data-page="investigacion"]
  .census-research-results-header > p {
    margin: 0;

    font-size: 1rem;
    line-height: 1.65;

    word-break: normal;
    overflow-wrap: normal;
  }

  body[data-page="investigacion"]
  .census-research-results-layout {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr);

    gap: 28px;
  }

}
/* =========================================================
   HEADER MÓVIL — SOLUCIONES SIN DESPLAZAMIENTO NI SALTOS
   Conserva el mismo comportamiento de Investigación
   y Tecnología.
   ========================================================= */

@media (max-width: 920px) {

  .main-navigation #solutions-dropdown {
    position: absolute;

    top: calc(100% + 2px);

    left: 0;
    right: auto;

    width: max-content;
    min-width: 280px;
    max-width: min(390px, calc(100vw - 48px));

    margin: 0;

    transform: translateY(8px);
  }

  .main-navigation
  .compact-dropdown.is-open
  #solutions-dropdown,

  .main-navigation
  .compact-dropdown:focus-within
  #solutions-dropdown {
    transform: translateY(0);
  }

}