:root {
    color-scheme: light;
    --gob-maroon: #611232;
    --gob-maroon-dark: #4a0d25;
    --escom-blue: #073b72;
    --escom-blue-dark: #062f5b;
    --escom-blue-deep: #031d38;
    --blue-soft: #eaf2fa;
    --blue-mist: #f3f8fc;
    --gold: #c7a445;
    --gold-light: #e9d49b;
    --surface: #f4f7fb;
    --surface-strong: #ffffff;
    --surface-warm: #fbf8f0;
    --text: #152335;
    --muted: #667085;
    --muted-dark: #475467;
    --border: #d9e1e9;
    --success: #177245;
    --shadow-sm: 0 0.55rem 1.5rem rgba(10, 32, 58, 0.07);
    --shadow-md: 0 1.15rem 3rem rgba(10, 32, 58, 0.11);
    --shadow-lg: 0 2rem 5rem rgba(3, 26, 51, 0.16);
    --font-body: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Montserrat", var(--font-body);
    --shell: 76rem;
    --focus: rgba(7, 59, 114, 0.3);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 20rem;
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
    font: inherit;
}

/* Los textos descriptivos mantienen una lectura uniforme en toda la landing. */
.home-page p {
    text-align: justify;
    text-justify: inter-word;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

[hidden] {
    display: none !important;
}

.page-shell {
    width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
}

.main-content {
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    padding: 0.7rem 1rem;
    border-radius: 0.6rem;
    background: #ffffff;
    color: var(--escom-blue);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transform: translateY(-180%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.gob-header {
    position: relative;
    z-index: 70;
    background: var(--gob-maroon);
    color: #ffffff;
}

.gob-header__inner {
    width: min(100% - 2rem, 92rem);
    min-height: 4.25rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.gob-header__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.gob-header__logo img {
    width: auto;
    height: 2.85rem;
}

.gob-header__nav {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.gob-header__nav a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 160ms ease, background 160ms ease;
}

.gob-header__nav a:hover {
    opacity: 0.8;
}

.gob-header__search {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.05rem;
}

.gob-header__search:hover {
    background: rgba(255, 255, 255, 0.08);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.25rem 1.2rem rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    width: min(100% - 2rem, 92rem);
    min-height: 5.6rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2.4rem);
}

.site-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
    text-decoration: none;
}

.site-brand__ipn {
    width: auto;
    height: 3rem;
    object-fit: contain;
}

.site-brand__escom {
    width: auto;
    height: 2.75rem;
    object-fit: contain;
}

.site-brand__divider {
    width: 1px;
    height: 2.55rem;
    background: #d4dbe4;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.3vw, 1.2rem);
}

.site-nav a {
    position: relative;
    padding-block: 0.55rem;
    color: var(--muted-dark);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 999px;
    background: var(--escom-blue);
    transition: right 180ms ease;
}

.site-nav a:hover {
    color: var(--escom-blue);
}

.site-nav a:hover::after {
    right: 0;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.mobile-menu {
    position: relative;
    display: none;
    margin-left: auto;
}

.mobile-menu > summary {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    color: var(--escom-blue);
    cursor: pointer;
    font-size: 1.15rem;
    list-style: none;
}

.mobile-menu > summary::-webkit-details-marker {
    display: none;
}

.mobile-menu[open] > summary {
    background: var(--blue-soft);
    border-color: rgba(7, 59, 114, 0.2);
}

.mobile-menu__panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    width: min(22rem, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem 1rem 1.5rem 1rem;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.mobile-menu__panel nav {
    display: grid;
}

.mobile-menu__panel nav a {
    padding: 0.78rem 0.7rem;
    border-radius: 0.6rem;
    color: var(--muted-dark);
    font-weight: 700;
    text-decoration: none;
}

.mobile-menu__panel nav a:hover {
    background: var(--blue-mist);
    color: var(--escom-blue);
}

.mobile-menu__actions {
    margin-top: 0.75rem;
    padding-top: 0.9rem;
    display: grid;
    gap: 0.6rem;
    border-top: 1px solid var(--border);
}

.button {
    min-height: 2.95rem;
    padding: 0.78rem 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease,
        color 160ms ease,
        border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--compact {
    min-height: 2.65rem;
    padding: 0.65rem 0.95rem;
    font-size: 0.82rem;
}

.button--primary {
    background: var(--escom-blue);
    color: #ffffff;
    box-shadow: 0 0.6rem 1.3rem rgba(7, 59, 114, 0.16);
}

.button--primary:hover {
    background: var(--escom-blue-dark);
    box-shadow: 0 0.8rem 1.6rem rgba(7, 59, 114, 0.22);
}

.button--outline {
    border-color: #b8c6d4;
    background: #ffffff;
    color: var(--escom-blue);
}

.button--outline:hover {
    border-color: var(--escom-blue);
    background: var(--blue-mist);
}

.button--gold {
    background: var(--gold);
    color: #132333;
    box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.16);
}

.button--gold:hover {
    background: #d2b253;
}

.button--ghost {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.button--ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.11);
}

.button--light {
    border-color: rgba(255, 255, 255, 0.16);
    background: #ffffff;
    color: var(--escom-blue);
    box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.12);
}

.button--light:hover {
    background: #f2f6fa;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--escom-blue);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #cfd9e4;
}

.section {
    position: relative;
    padding: clamp(4.75rem, 7vw, 7rem) 0;
}

.section-heading {
    max-width: 43rem;
}

.section-heading h2,
.student-requirements h2,
.company-section__intro h2,
.contact-section__intro h2 {
    margin: 0.65rem 0 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.section-heading p,
.company-section__intro > p,
.contact-section__intro > p,
.student-requirements__heading > p {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading-row {
    margin-bottom: 2.6rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 9rem;
    background:
        radial-gradient(circle at 82% 18%, rgba(55, 132, 193, 0.28), transparent 26%),
        radial-gradient(circle at 12% 110%, rgba(199, 164, 69, 0.12), transparent 30%),
        linear-gradient(125deg, #031a33 0%, #073b72 58%, #0a4e8d 100%);
    color: #ffffff;
}

.hero::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -5.8rem;
    height: 11rem;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: #fbfdff;
}

.hero__mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 100%);
}

.hero__grid {
    position: relative;
    z-index: 1;
    min-height: 38rem;
    padding-block: clamp(5rem, 8vw, 7.6rem);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 6.5rem);
}

.hero__intro {
    max-width: 34rem;
}

.hero__title {
    margin: 0.85rem 0 0;
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 6.4vw, 5.8rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.hero__title span {
    display: block;
    color: var(--gold-light);
}

.hero__summary {
    max-width: 31rem;
    margin: 1.55rem 0 0;
    color: #d7e4f0;
    font-size: clamp(1.08rem, 1.7vw, 1.23rem);
    line-height: 1.7;
}

.hero__actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero__definition {
    position: relative;
    max-width: 44rem;
    padding: clamp(1.7rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2rem) clamp(1.8rem, 3vw, 2.4rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem 5rem 2rem 5rem;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 1.5rem 4rem rgba(2, 16, 32, 0.18);
    backdrop-filter: blur(10px);
}

.hero__definition::before {
    content: "“";
    position: absolute;
    top: -2.7rem;
    right: 1.4rem;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: 11rem;
    line-height: 1;
    pointer-events: none;
}

.hero__definition-label {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__definition-rule {
    width: 4.6rem;
    height: 3px;
    margin: 1rem 0 1.5rem;
    border-radius: 999px;
    background: var(--gold);
}

.hero__definition p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #f5f8fb;
    font-size: clamp(1.06rem, 1.75vw, 1.24rem);
    line-height: 1.82;
}

.hero__definition p + p {
    margin-top: 1.05rem;
    color: #d8e3ed;
}

.audience-section {
    z-index: 2;
    margin-top: 0;
    padding-top: clamp(2.5rem, 4vw, 4rem);
    padding-bottom: clamp(4rem, 6vw, 6rem);
    background: #fbfdff;
}

.audience-grid {
    max-width: 67rem;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.audience-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: clamp(1.8rem, 4vw, 2.5rem);
    border: 1px solid #dce4ec;
    border-radius: 1.5rem 3.25rem 1.5rem 1.5rem;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.audience-card:hover {
    border-color: #c8d7e5;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.audience-card__topline {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--escom-blue);
}

.audience-card--company .audience-card__topline {
    background: var(--gold);
}

.audience-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: var(--blue-soft);
    color: var(--escom-blue);
    font-size: 1.35rem;
}

.audience-card--company .audience-card__icon {
    background: #f7f0df;
    color: #866b21;
}

.audience-card__label {
    margin-top: 1.3rem;
    display: block;
    color: var(--escom-blue);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.audience-card--company .audience-card__label {
    color: #7b6424;
}

.audience-card h3 {
    max-width: 26rem;
    margin: 0.6rem 0 0;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.72rem);
    line-height: 1.2;
}

.audience-card > p {
    margin: 0.95rem 0 0;
    color: var(--muted);
}

.feature-list {
    margin: 1.45rem 0 0;
    padding: 1.25rem 0 0;
    display: grid;
    gap: 0.7rem;
    border-top: 1px solid #e7ecf1;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--muted-dark);
    font-size: 0.94rem;
}

.feature-list i {
    color: var(--success);
    font-size: 0.77rem;
}

.text-link {
    margin-top: 1.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--escom-blue);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.text-link i {
    transition: transform 160ms ease;
}

.text-link:hover i {
    transform: translateX(3px);
}

.student-requirements {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(4.75rem, 7vw, 6.75rem);
}

.student-requirements__surface {
    position: relative;
    overflow: hidden;
    padding: clamp(2.2rem, 5vw, 3.2rem);
    border-radius: 2.25rem 7rem 2.5rem 7rem;
    background: linear-gradient(135deg, #031a33 0%, #062f5b 42%, #073b72 100%);
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

.student-requirements__surface::before {
    content: "";
    position: absolute;
    width: 28rem;
    height: 28rem;
    right: -10rem;
    top: -12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 72%);
}

.student-requirements__surface::after {
    content: "";
    position: absolute;
    left: -8rem;
    bottom: -11rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 2.5rem rgba(255, 255, 255, 0.02),
        0 0 0 5rem rgba(255, 255, 255, 0.01);
}

.student-requirements__heading,
.student-requirements__grid,
.student-requirements__action {
    position: relative;
    z-index: 1;
}

.student-requirements__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.72fr);
    align-items: end;
    gap: 3rem;
}

.student-requirements__heading h2 {
    color: #ffffff;
}

.student-requirements__heading > p {
    margin: 0;
    color: #bdd0e0;
}

.student-requirements__grid {
    margin-top: 3.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.student-requirement {
    min-height: 19rem;
    padding: 2rem 1.75rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.4rem 2.4rem 1.4rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.student-requirement__number {
    display: block;
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.student-requirement__icon {
    width: 3.55rem;
    height: 3.55rem;
    margin-top: 1.65rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    color: var(--gold-light);
    font-size: 1.25rem;
}

.student-requirement h3 {
    margin: 1.25rem 0 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.25;
}

.student-requirement p {
    margin: 0.8rem 0 0;
    color: #bdd0e0;
    font-size: 0.96rem;
}

.student-requirements__action {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

.company-section {
    position: relative;
    padding: 0 0 clamp(4.75rem, 7vw, 6.6rem);
}

.company-section__surface {
    position: relative;
    overflow: hidden;
    padding: clamp(2.4rem, 5vw, 3.2rem);
    border: 1px solid rgba(217, 209, 187, 0.75);
    border-radius: 7rem 2rem 6rem 2rem;
    background:
        linear-gradient(90deg, rgba(199, 164, 69, 0.06) 0%, transparent 30%),
        var(--surface-warm);
    box-shadow: var(--shadow-md);
}

.company-section__surface::before {
    content: "";
    position: absolute;
    inset: -6rem auto auto -5rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(199, 164, 69, 0.12) 0%, rgba(199, 164, 69, 0) 72%);
    pointer-events: none;
}

.company-section__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}

.company-section__intro {
    max-width: 31rem;
}

.company-section__intro .button {
    margin-top: 1.8rem;
}

.company-requirements {
    border-left: 4px solid var(--gold);
    padding: 0.3rem 0 0.3rem clamp(1.6rem, 4vw, 3rem);
}

.company-requirements__title span {
    display: block;
    color: #8d7535;
    font-family: var(--font-heading);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.company-requirements__title strong {
    margin-top: 0.35rem;
    display: block;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.2;
}

.company-checklist {
    margin: 1.8rem 0 0;
    padding: 0;
    display: grid;
    gap: 0;
    list-style: none;
}

.company-checklist li {
    padding: 1.15rem 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.9rem;
    border-top: 1px solid #ddd9cf;
}

.company-checklist li:last-child {
    border-bottom: 1px solid #ddd9cf;
}

.company-checklist__icon {
    width: 1.75rem;
    height: 1.75rem;
    margin-top: 0.05rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--escom-blue);
    color: #ffffff;
    font-size: 0.68rem;
}

.company-checklist p {
    margin: 0;
    color: var(--muted-dark);
}

.programs-band {
    position: relative;
    z-index: 1;
    margin-top: clamp(3rem, 5vw, 4rem);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-top: 1px solid #dcd8cf;
}

.programs-band__intro {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.programs-band__icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: #ffffff;
    color: var(--escom-blue);
    box-shadow: var(--shadow-sm);
}

.programs-band__intro strong {
    display: block;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.programs-band__intro p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.programs-band__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.program-link {
    min-width: 7rem;
    padding: 0.68rem 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #d6dce3;
    border-radius: 999px;
    background: #ffffff;
    color: var(--muted-dark);
    font-family: var(--font-heading);
    font-size: 0.79rem;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.program-link:hover {
    border-color: #aebcca;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.program-link span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.program-link span > i {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--escom-blue);
}

.program-link--iia span > i {
    background: #7656a4;
}

.program-link--lcd span > i {
    background: #2f7c53;
}

.vacancy-section {
    position: relative;
    padding-top: 7.5rem;
    padding-bottom: clamp(5rem, 7vw, 7rem);
    background: #dcebf7;
}

.vacancy-section__transition {
    position: absolute;
    inset: 0 0 auto;
    height: 6.5rem;
    overflow: hidden;
    background: #f4f7fb;
    pointer-events: none;
}

.vacancy-section__transition::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -3.2rem;
    height: 6.4rem;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: #dcebf7;
}

.vacancy-section__content {
    position: relative;
    z-index: 1;
}

.vacancy-section__heading {
    max-width: 40rem;
}

.vacancy-section__heading h2 {
    color: #10233b;
}

.vacancy-section__heading p {
    color: #55677c;
}

.vacancy-section__actions {
    max-width: 18rem;
    display: grid;
    justify-items: end;
    gap: 1rem;
}

.vacancy-section__aside {
    margin: 0;
    color: #5d7085;
    font-size: 0.92rem;
    text-align: right;
}

.vacancy-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.35rem;
}

.vacancy-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(120, 151, 181, 0.28);
    border-radius: 1.25rem 2.3rem 1.25rem 1.25rem;
    background: #ffffff;
    box-shadow: 0 1rem 2.5rem rgba(33, 73, 111, 0.10);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vacancy-card:hover {
    border-color: rgba(7, 59, 114, 0.28);
    box-shadow: 0 1.35rem 3.2rem rgba(33, 73, 111, 0.16);
    transform: translateY(-4px);
}

.vacancy-card__visual {
    position: relative;
    min-height: 10.75rem;
    padding: 1.4rem;
    display: grid;
    place-items: center;
    border-bottom: 1px solid #e8edf2;
    background:
        linear-gradient(135deg, rgba(7, 59, 114, 0.045), transparent 58%),
        #f8fafc;
}

.vacancy-card__logo,
.vacancy-card__logo-fallback {
    width: min(100%, 13rem);
    height: 7rem;
}

.vacancy-card__logo {
    object-fit: contain;
}

.vacancy-card__logo-fallback {
    display: grid;
    place-items: center;
    border: 1px solid #d7e0e8;
    border-radius: 1rem;
    background: #ffffff;
    color: var(--escom-blue);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.vacancy-card__career {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.vacancy-card__career--isc {
    background: var(--escom-blue);
}

.vacancy-card__career--iia {
    background: #7656a4;
}

.vacancy-card__career--lcd {
    background: #2f7c53;
}

.vacancy-card__career--default {
    background: #667085;
}

.vacancy-card__body {
    min-height: 16rem;
    padding: 1.45rem;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.vacancy-card__heading h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.28;
}

.vacancy-card__heading p {
    margin: 0.35rem 0 0;
    color: var(--escom-blue);
    font-size: 0.88rem;
    font-weight: 700;
}

.vacancy-card__description {
    margin: 1rem 0 1.4rem;
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.vacancy-card__action {
    margin-top: auto;
    padding-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    border-top: 1px solid #e8edf2;
    color: var(--escom-blue);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.vacancy-card__action i {
    transition: transform 160ms ease;
}

.vacancy-card__action:hover i {
    transform: translateX(3px);
}

.vacancy-empty {
    grid-column: 1 / -1;
    padding: 3.5rem 2rem;
    border: 1px dashed #9eb5c9;
    border-radius: 1.4rem 2.6rem 1.4rem 1.4rem;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.vacancy-empty__icon {
    width: 3.4rem;
    height: 3.4rem;
    margin-inline: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: var(--escom-blue);
    box-shadow: var(--shadow-sm);
}

.vacancy-empty h3 {
    margin: 1rem 0 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.vacancy-empty p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.contact-section {
    position: relative;
    padding: clamp(5rem, 7vw, 6.5rem) 0;
    border-top: 1px solid #d9e1e9;
    background: #ffffff;
}

.contact-section__content {
    display: grid;
    grid-template-columns: minmax(17rem, 0.50fr) minmax(0, 1.50fr);
    align-items: start;
    gap: clamp(2.5rem, 4.5vw, 4.5rem);
}

.contact-section__intro {
    max-width: 31rem;
}

.contact-section__intro h2 {
    margin: 0.65rem 0 0;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.contact-section__intro > p {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.contact-list {
    margin: 0;
    display: grid;
    grid-template-columns:
        minmax(13.5rem, 0.90fr)
        minmax(16.5rem, 1.10fr)
        minmax(18.5rem, 1.30fr);
    border-top: 2px solid var(--escom-blue);
    border-bottom: 1px solid var(--border);
    font-style: normal;
}

.contact-item {
    min-width: 0;
    padding: 1.4rem 1.5rem 1.55rem;
}

.contact-item + .contact-item {
    border-left: 1px solid var(--border);
}

.contact-item__label {
    display: block;
    color: var(--escom-blue);
    font-family: var(--font-heading);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.contact-item p,
.contact-item a {
    margin: 0.45rem 0 0;
    display: inline-block;
    color: #26384b;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.contact-item a {
    color: var(--escom-blue);
}

.contact-item a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.institution-footer {
    padding: 2.6rem 0;
    border-top: 4px solid var(--gold);
    background: #202733;
    color: #ffffff;
}

.institution-footer__grid {
    display: grid;
    grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
    gap: 3rem;
}

.institution-footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.institution-footer__brand > img {
    width: auto;
    max-width: 10.2rem;
    max-height: 3.3rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.94;
}

.institution-footer__brand > span {
    width: 1px;
    height: 2.8rem;
    background: rgba(255, 255, 255, 0.2);
}

.institution-footer__brand strong,
.institution-footer__brand small {
    display: block;
}

.institution-footer__brand strong {
    font-family: var(--font-heading);
    font-size: 0.84rem;
    text-transform: uppercase;
}

.institution-footer__brand small {
    margin-top: 0.25rem;
    color: #b8c0cb;
    font-size: 0.78rem;
}

.institution-footer__content p {
    margin: 0;
    color: #d0d5dd;
    font-size: 0.8rem;
    line-height: 1.65;
}

.institution-footer__legal {
    margin-top: 0.7rem !important;
    color: #98a2b3 !important;
    font-size: 0.74rem !important;
}

.gob-footer {
    padding: 1.15rem 0;
    background: var(--gob-maroon);
    color: #ffffff;
}

.gob-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.gob-footer__brand img {
    width: auto;
    height: 2.15rem;
}

.gob-footer__nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.gob-footer__nav a {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.gob-footer__nav a:hover {
    opacity: 0.78;
}

.gob-header a:focus-visible,
.site-header a:focus-visible,
.site-header summary:focus-visible,
.hero a:focus-visible,
.audience-section a:focus-visible,
.student-requirements a:focus-visible,
.company-section a:focus-visible,
.vacancy-section a:focus-visible,
.contact-section a:focus-visible,
.institution-footer a:focus-visible,
.gob-footer a:focus-visible {
    outline: 3px solid rgba(199, 164, 69, 0.75);
    outline-offset: 3px;
}

@media (max-width: 78rem) {
    .site-nav {
        display: none;
    }

    .site-header__actions {
        margin-left: auto;
    }
}

@media (max-width: 64rem) {
    .hero__grid,
    .company-section__layout,
    .contact-section__content {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        min-height: auto;
        gap: 3rem;
    }

    .hero__intro,
    .hero__definition,
    .company-section__intro,
    .contact-section__intro {
        max-width: 44rem;
    }


    .student-requirements__heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .vacancy-section__actions {
        max-width: none;
        justify-items: start;
    }

    .vacancy-section__aside {
        text-align: left;
    }

    .contact-list {
        grid-template-columns: 1fr;
    }

    .contact-item p,
    .contact-item a {
        white-space: normal;
    }

    .contact-item + .contact-item {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .programs-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .institution-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
}

@media (max-width: 48rem) {
    .page-shell,
    .gob-header__inner,
    .site-header__inner {
        width: min(100% - 1.5rem, var(--shell));
    }

    .gob-header__inner {
        min-height: 3.8rem;
    }

    .gob-header__logo img {
        height: 2.4rem;
    }

    .gob-header__nav {
        gap: 0.9rem;
    }

    .gob-header__nav > a:not(.gob-header__search) {
        display: none;
    }

    .site-header__inner {
        min-height: 4.8rem;
    }

    .site-brand__ipn {
        height: 2.45rem;
    }

    .site-brand__escom {
        height: 2.25rem;
    }

    .site-brand__divider {
        height: 2.15rem;
    }

    .site-header__actions {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding-bottom: 7rem;
    }

    .hero::after {
        left: -20%;
        right: -20%;
        bottom: -4.5rem;
        height: 8rem;
    }

    .hero__grid {
        padding-block: 4.5rem;
    }

    .hero__title {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .hero__definition {
        border-radius: 1.4rem 2.5rem 1.4rem 2.5rem;
    }

    .hero__definition::before {
        display: none;
    }


    .student-requirements__surface,
    .company-section__surface {
        padding: 1.5rem;
    }

    .student-requirements__surface {
        border-radius: 1.6rem 3rem 1.6rem 3rem;
    }

    .company-section__surface {
        border-radius: 3rem 1.5rem 3rem 1.5rem;
    }

    .audience-grid,
    .student-requirements__grid,
    .vacancy-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .student-requirements,
    .company-section,
    .contact-section {
        padding-block: 4.25rem;
    }

    .vacancy-section {
        padding-top: 5.75rem;
    }

    .vacancy-section__transition {
        height: 5rem;
    }

    .vacancy-section__transition::after {
        bottom: -2.5rem;
        height: 5rem;
    }

    .section-heading-row {
        margin-bottom: 2.2rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading-row .button,
    .vacancy-section__actions {
        width: 100%;
    }

    .student-requirement {
        min-height: auto;
    }

    .student-requirements__action {
        justify-content: stretch;
    }

    .student-requirements__action .button {
        width: 100%;
    }

    .company-requirements {
        padding-left: 1.25rem;
    }

    .programs-band__links {
        width: 100%;
    }

    .program-link {
        flex: 1 1 30%;
    }

    .contact-section__content {
        gap: 2.4rem;
    }

    .contact-item {
        padding-inline: 0.25rem;
    }

    .gob-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.vacancy-empty p {
    text-align: center;
}

/* =========================================================
   INFOGRAFÍA DE ESTANCIAS PROFESIONALES
   ========================================================= */

.infographic-section {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    background:
        linear-gradient(
            115deg,
            #f7fafc 0%,
            #f7fafc 52%,
            #edf4fa 52%,
            #e7f0f8 100%
        );
}

.infographic-section__shape {
    position: absolute;
    top: -11rem;
    right: -8rem;
    width: 31rem;
    height: 31rem;
    border: 1px solid rgba(7, 59, 114, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.infographic-section__shape::before,
.infographic-section__shape::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.infographic-section__shape::before {
    inset: 4rem;
    border: 1px solid rgba(7, 59, 114, 0.06);
}

.infographic-section__shape::after {
    inset: 8rem;
    background: rgba(7, 59, 114, 0.025);
}

.infographic-section__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(18rem, 0.85fr)
        minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 5.5rem);
}

.infographic-section__intro {
    max-width: 31rem;
}

.infographic-section__intro h2 {
    margin: 0.75rem 0 0;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.infographic-section__intro > p {
    margin: 1.25rem 0 0;
    color: var(--muted-dark);
    font-size: 1.02rem;
    line-height: 1.7;
    text-align: justify;
}

.infographic-section__link {
    width: fit-content;
    margin-top: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--gold);
    color: var(--escom-blue);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.infographic-section__link i {
    font-size: 0.78rem;
    transition: transform 160ms ease;
}

.infographic-section__link:hover i {
    transform: translate(2px, -2px);
}

.infographic-section__document {
    position: relative;
    width: min(100%, 34rem);
    margin-inline: auto;
}

.infographic-section__document::before {
    content: "";
    position: absolute;
    top: 1.4rem;
    right: -1.8rem;
    bottom: -1.4rem;
    left: 2rem;
    z-index: -1;
    background: rgba(7, 59, 114, 0.08);
    clip-path: polygon(
        7% 0,
        100% 0,
        100% 88%,
        89% 100%,
        0 100%,
        0 10%
    );
}

.infographic-section__document iframe {
    width: 100%;
    min-height: 30rem;
    display: block;
    border: 1px solid #d7e1ea;
    background: #ffffff;
    box-shadow:
        0 1.2rem 2.8rem rgba(14, 42, 68, 0.11),
        0 0.2rem 0.7rem rgba(14, 42, 68, 0.05);
}

.infographic-section__fallback {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: right;
}

.infographic-section__fallback a {
    color: var(--escom-blue);
    font-weight: 700;
}

@media (max-width: 64rem) {
    .infographic-section__layout {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .infographic-section__intro {
        max-width: 43rem;
    }

    .infographic-section__document {
        width: min(100%, 36rem);
    }

    .infographic-section__document iframe {
        min-height: 32rem;
    }
}

@media (max-width: 48rem) {
    .infographic-section {
        padding-block: 4.25rem;
        background:
            linear-gradient(
                160deg,
                #f7fafc 0%,
                #f7fafc 55%,
                #eaf2f8 100%
            );
    }

    .infographic-section__shape {
        width: 20rem;
        height: 20rem;
        top: -8rem;
        right: -10rem;
    }

    .infographic-section__layout {
        gap: 2.25rem;
    }

    .infographic-section__document {
        width: min(100%, 30rem);
    }

    .infographic-section__document::before {
        top: 1rem;
        right: -0.75rem;
        bottom: -1rem;
        left: 1.2rem;
    }

    .infographic-section__document iframe {
        min-height: 27rem;
    }

    .infographic-section__fallback {
        text-align: left;
    }
}