/* Ocean Signature Resorts — luxury careers layer */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background: var(--surface);
    color: var(--on_surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    --type-display: clamp(2.2rem, 4vw, 3.35rem);
    --type-title: clamp(1.75rem, 2.8vw, 2.4rem);
    --type-search: clamp(1.5rem, 2.2vw, 1.9rem);
    --type-sub: clamp(1.28rem, 1.4vw, 1.45rem);
    --type-body: 1.05rem;
    --type-meta: 0.9rem;
    --type-ui: 0.75rem;
    --type-eyebrow: 0.7rem;
}

h1, h2, h3, .responsive-huge-title, .title-main {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

h1 {
    font-size: var(--type-title);
}

h2 {
    font-size: var(--type-title);
    font-weight: 500;
}

h3,
.title-main {
    font-size: var(--type-sub);
}

.responsive-huge-title {
    font-size: var(--type-display);
}

p {
    font-size: var(--type-body);
}

.eyebrow {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: var(--type-eyebrow);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.eyebrow.dark {
    color: var(--navy);
}

body.page-home main,
body.page-inner main {
    margin-top: 0;
}

/* —— Header —— */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.8rem clamp(1.25rem, 4vw, 3rem);
    transition: background 400ms ease, box-shadow 400ms ease, backdrop-filter 400ms ease;
}

.site-brand,
.header-actions {
    flex-shrink: 0;
}

.page-home .site-header {
    background: transparent;
}

.page-inner .site-header,
.page-home .site-header.is-scrolled {
    background: color-mix(in srgb, var(--navy-deep) 88%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(26, 39, 73, 0.18);
}

.site-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-brand .logo {
    display: block;
    height: clamp(56px, 6.6vw, 72px);
    width: auto;
    transition: filter 400ms ease;
    filter:
        drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22))
        drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
    -webkit-filter:
        drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22))
        drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
}

.page-inner .site-header .site-brand .logo,
.page-home .site-header.is-scrolled .site-brand .logo {
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.2));
    -webkit-filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.2));
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    background: none;
    border: 0;
    height: auto;
    overflow: visible;
    border-radius: 0;
}

.site-nav .nav-item {
    min-width: 0;
    height: auto;
    padding: 0.35rem 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #fff;
    font-size: var(--type-ui);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.site-nav .nav-item:hover,
.site-nav .nav-item[data-status="active"] {
    color: var(--gold);
    background: none;
    box-shadow: none;
    text-shadow: none;
}

.site-nav .nav-home {
    display: flex !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
    white-space: nowrap;
    color: rgba(255,255,255,0.55);
    font-size: var(--type-ui);
    letter-spacing: 0.16em;
}

.lang-switch button {
    height: auto;
    padding: 0.2rem 0.15rem;
    border: 0;
    background: none;
    border-radius: 0;
    color: rgba(255,255,255,0.55);
    font-size: var(--type-ui);
    font-weight: 500;
    letter-spacing: 0.16em;
}
.lang-switch button:hover,
.lang-switch button.is-active {
    color: #fff;
    background: none;
    border: 0;
    outline: none;
}

.lang-switch button:focus {
    outline: none;
    border: 0;
}

.menu-lang {
    min-width: 160px;
    padding: 0.5rem 0;
    border: 1px solid var(--outline);
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(26, 39, 73, 0.16);
    list-style: none;
    z-index: 60;
}

.menu-lang li {
    padding: 0.65rem 1.1rem;
    cursor: pointer;
    font-size: var(--type-meta);
    color: var(--on_surface);
}

.menu-lang li:hover {
    background: var(--cream);
    color: var(--navy);
}

/* —— Buttons —— */
button, a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 48px;
    border-radius: 0;
    padding: 0 1.6rem;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: var(--type-ui);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

button:hover, a.button:hover {
    background: var(--navy-deep);
    color: #fff;
    border-color: var(--navy-deep);
}

.btn-ghost,
a.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 1.6rem;
    border: 1px solid rgba(255,255,255,0.7);
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: var(--type-ui);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all 300ms ease;
}

.btn-ghost:hover {
    background: #fff;
    color: var(--navy);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.hero-ctas a.button {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.hero-ctas a.button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

/* —— Cinematic hero —— */
.hero-cinematic {
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 1.15rem 3rem;
}

@media (min-width: 901px) {
    .hero-cinematic {
        min-height: 100vh;
        min-height: 100svh;
        justify-content: center;
        padding: 7.5rem 2rem 8rem;
    }

    .hero-cinematic .hero-inner {
        transform: translateY(-4vh);
    }

    .search-panel {
        margin-top: -3.5rem;
        padding: 0 clamp(1rem, 4vw, 2rem) 4rem;
    }
}

.hero-cinematic::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(26,39,73,0.35) 0%, rgba(26,39,73,0.28) 38%, rgba(26,39,73,0.78) 100%);
}

.hero-cinematic .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-cinematic .eyebrow {
    text-shadow: 0 1px 12px rgba(26, 39, 73, 0.45);
}

.hero-cinematic h1 {
    font-size: var(--type-display);
    line-height: 1.12;
    font-weight: 500;
    max-inline-size: none;
    margin: 0 0 0.45rem;
    color: #fff;
    text-shadow: 0 2px 24px rgba(26, 39, 73, 0.35);
}

.hero-cinematic .hero-sub {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: var(--type-title);
    font-weight: 400;
    line-height: 1.25;
    max-inline-size: none;
    color: #fff;
    margin: 0 0 0.7rem;
    text-shadow: 0 2px 18px rgba(26, 39, 73, 0.3);
}

.hero-cinematic p {
    font-size: var(--type-body);
    font-weight: 300;
    line-height: 1.65;
    max-inline-size: 46ch;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.75rem;
}

.scroll-hint {
    display: none;
}

.scroll-hint::after {
    content: "";
    display: block;
    width: 1px;
    height: 28px;
    margin: 0.55rem auto 0;
    background: rgba(255,255,255,0.55);
}

/* —— Search panel —— */
.search-panel {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 1.25rem 1rem 2.5rem;
}

.search-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    box-shadow: 0 24px 60px rgba(26, 39, 73, 0.12);
    border: 1px solid var(--outline);
}

.search-card h2 {
    font-size: var(--type-search);
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.search-card > p {
    color: var(--on_surface_variant);
    margin-bottom: 1.5rem;
    max-inline-size: 50ch;
}

.destinations-line {
    text-align: center;
    font-size: var(--type-ui);
    max-inline-size: none;
    padding: 0.25rem 1rem 2.5rem;
}

.search-card .form-row {
    align-items: flex-end;
}

.search-card .form-row > div {
    max-width: none;
}

.search-card label {
    font-size: var(--type-eyebrow);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 500;
}

.search-card input:not([type="radio"]),
.search-card select {
    border: 0;
    border-bottom: 1px solid var(--outline);
    border-radius: 0;
    background: transparent;
    height: 46px;
    padding-left: 0;
}

.search-card input:focus,
.search-card select:focus {
    outline: none;
    border-color: var(--navy);
    color: var(--navy);
}

.search-card span:has(select)::after {
    background: transparent;
    transform: translateY(-42px);
}

.page-inner .search-wrap {
    padding: 7.5rem 0 3rem;
    background:
        linear-gradient(180deg, rgba(26,39,73,0.72), rgba(26,39,73,0.72)),
        url(/plantilla/images/header-ofertas.jpg) center/cover no-repeat;
    color: #fff;
}

.page-inner .search-wrap .search-card {
    background: #fff;
    color: var(--on_surface);
}

.page-inner .search-wrap > .container > h1 {
    font-size: var(--type-title);
    font-weight: 500;
    color: #fff;
    margin: 0 0 1.25rem;
}

.page-inner .search-wrap .search-card h2 {
    color: var(--navy);
    font-size: var(--type-search);
}

.page-inner .search-wrap .eyebrow {
    color: var(--gold);
}

.page-inner .search-wrap > .container > p {
    color: rgba(255,255,255,0.82);
    margin-bottom: 1.5rem;
}

.page-inner .search-wrap .container {
    max-width: 1100px;
}

.page-inner .hero-section.container {
    padding-top: 7.5rem;
    padding-inline: 0;
    width: min(95%, 1100px);
}

.apply-page {
    flex-direction: column;
    align-items: flex-start;
}

dialog {
    border: 0;
    max-width: 720px;
    width: min(92vw, 720px);
    padding: 1.75rem;
    color: var(--on_surface);
}

dialog::backdrop {
    background: rgba(26, 39, 73, 0.55);
}

dialog header h1 {
    color: var(--navy);
    font-size: var(--type-search);
    margin-bottom: 1rem;
}

/* —— Logo ticker —— */
.brand-strip {
    background: var(--cream);
    padding: 1.5rem 0 2rem;
    overflow: hidden;
}

.infinite-slider img {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding-inline: 8px;
    filter: grayscale(0.2);
    opacity: 0.9;
}

/* —— Sections —— */
.section-pad {
    padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2rem);
}

.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-head h2 {
    font-size: var(--type-title);
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.section-head p {
    margin: 0.4rem auto 0;
    color: var(--on_surface_variant);
}

/* —— Job cards —— */
.card {
    position: relative;
    border-radius: 0;
    background: #fff;
    border: 1px solid var(--outline);
    overflow: hidden;
}

.card a.button {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.card-full-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card-full-link .content {
    padding: 1.15rem 1.2rem 1.35rem;
}

.card-meta {
    font-size: var(--type-meta);
    color: var(--on_surface_variant);
    max-inline-size: none;
    font-weight: 400;
}

.card-cta {
    margin-top: auto;
    font-size: var(--type-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
}

.card:hover .card-cta {
    color: var(--gold);
}

.jobs-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.featured-band {
    background: var(--cream);
}

.featured-band .section-head h2,
.featured-band .section-head p {
    color: var(--navy);
}

.featured-band .destacados {
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    border: 0;
    backdrop-filter: none;
}

.card-wrapper .card img,
.jobs-row .card img {
    border-radius: 0;
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
}

.card h2 {
    font-size: var(--type-sub);
    color: var(--navy);
}

.label {
    border-radius: 0;
    background: var(--cream);
    color: var(--navy);
    border: 1px solid var(--outline);
    letter-spacing: 0.04em;
}

/* —— Growth editorial —— */
.crecimiento {
    padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2rem) 2rem;
    gap: 0;
}

.crecimiento .section-head {
    margin-bottom: 1.5rem;
}

.crecimiento ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.crecimiento li {
    max-width: none;
    width: 100%;
    aspect-ratio: 16/10;
    margin-bottom: 0;
    min-height: 240px;
    overflow: hidden;
    list-style: none;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.crecimiento li > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(
        180deg,
        rgba(26, 39, 73, 0.7) 0%,
        rgba(26, 39, 73, 0.12) 28%,
        rgba(26, 39, 73, 0.2) 52%,
        rgba(26, 39, 73, 0.92) 100%
    );
    justify-content: flex-end;
    padding: 1.5rem 1.25rem;
    text-align: left;
    align-items: flex-start;
    animation: none !important;
    color: #fff;
}

.crecimiento li > div h3,
.crecimiento li > div p {
    animation: none !important;
    max-inline-size: none;
    overflow-wrap: break-word;
    color: #fff;
}

.crecimiento li > div h3 {
    background: none;
}

.crecimiento .title-main {
    width: auto;
    background: none;
    padding: 0;
    margin: 0 0 0.6rem;
    text-align: left;
    font-size: var(--type-sub);
}

.crecimiento a.link {
    color: var(--gold);
    padding-inline: 0;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: var(--type-ui);
}

.crecimiento a.link:hover {
    background: none;
    color: #fff;
}

@media (min-width: 901px) {
    .crecimiento ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .crecimiento li {
        aspect-ratio: 4/5;
        min-height: 380px;
    }

    .crecimiento li > div {
        padding: 2rem 1.5rem;
    }
}

/* —— Prestige —— */
.prestige {
    background: var(--navy-deep);
    color: #fff;
}

.prestige .section-head h2,
.prestige .eyebrow {
    color: #fff;
}

.prestige-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.prestige-grid li {
    border-top: 1px solid rgba(196,165,116,0.45);
    padding-top: 1.4rem;
}

.prestige-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--type-title);
    margin-bottom: 0.6rem;
}

.prestige-grid h3 {
    font-size: var(--type-sub);
    margin-bottom: 0.6rem;
}

.prestige-grid p {
    color: rgba(255,255,255,0.78);
}

/* —— Benefits —— */
.beneficios {
    background: var(--surface);
    color: var(--navy);
    min-height: 0;
    padding-block: clamp(3rem, 7vw, 5rem);
}

.beneficios h2 {
    color: var(--navy);
}

.beneficios ul.benefits-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.benefits-list li {
    flex-basis: auto;
    padding: 1.35rem 1.5rem;
    border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--type-sub);
    text-align: left;
}

.benefits-list li img {
    display: none;
}

/* —— Final CTA —— */
.banner.testimonios {
    position: relative;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 4rem 1.5rem;
    color: #fff;
}

.banner.testimonios::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,39,73,0.45), rgba(26,39,73,0.72));
}

.banner.testimonios > * {
    position: relative;
    z-index: 1;
}

.banner.testimonios h2 {
    text-shadow: none;
    font-size: var(--type-display);
}

.banner.testimonios p {
    color: rgba(255,255,255,0.88);
}

.banner {
    background-color: transparent;
}

/* —— Footer —— */
.footer {
    margin-top: 0;
    background: var(--navy-deep);
    color: rgba(255,255,255,0.82);
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.footer section > img,
.footer .brand-logo {
    display: block;
    height: clamp(52px, 6.4vw, 68px);
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.footer-countries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 3rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.footer-countries h3 {
    font-size: var(--type-eyebrow);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.85rem;
}

.footer-countries ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-countries li {
    padding-inline: 0;
    color: rgba(255,255,255,0.8);
    font-size: var(--type-meta);
}

.footer details {
    background: transparent;
    border-radius: 0;
    flex-basis: 240px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer summary {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--type-sub);
    color: #fff;
}

.footer .redes {
    gap: 0.65rem;
    align-items: center;
}

.footer .redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-decoration: none;
    transition: color 250ms ease, border-color 250ms ease, background 250ms ease;
}

.footer .redes a:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(196, 165, 116, 0.12);
}

.footer .redes img,
.footer .redes .social-svg {
    width: 16px;
    height: 16px;
    opacity: 1;
    filter: none;
    fill: currentColor;
}

.footer .footer-copy {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.4rem;
    font-size: var(--type-meta);
}

.footer p {
    max-inline-size: none;
}

.footer-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--gold);
}

/* —— Inner offer page —— */
.offer-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 7.5rem 1.5rem 4.5rem;
    box-sizing: border-box;
}

.offer-back {
    display: inline-block;
    margin-bottom: 1.75rem;
    color: var(--navy);
    text-decoration: none;
    font-size: var(--type-ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-back:hover {
    color: var(--gold);
}

.offer-crumbs,
.apply-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 1.25rem;
}

.offer-crumbs .offer-back,
.apply-crumbs .offer-back {
    margin-bottom: 0;
}

.offer-crumbs span {
    color: var(--on_surface_variant);
    font-size: var(--type-ui);
}

.search-wrap .search-back {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.search-wrap .search-back:hover {
    color: var(--gold);
}
.offer-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--outline);
}

.offer-header h1 {
    font-size: var(--type-title);
    color: var(--navy);
    margin: 0.35rem 0 0.6rem;
}

.offer-date {
    color: var(--on_surface_variant);
    font-size: var(--type-meta);
}

.offer-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.offer-main h2,
.offer-side h3 {
    color: var(--navy);
    font-size: var(--type-sub);
    margin: 1.75rem 0 0.7rem;
}

.offer-main h2:first-child,
.offer-side h3:first-child {
    margin-top: 0;
}

.offer-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--cream);
    border: 1px solid var(--outline);
}

.offer-side .button {
    width: 100%;
    margin-top: 0.5rem;
}

.offer-share p {
    font-size: var(--type-eyebrow);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on_surface_variant);
    margin-bottom: 0.5rem;
}

.offer-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--navy);
    border: 1px solid var(--outline);
    cursor: pointer;
}

.offer-share .social-svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.offer-main,
.datos-oferta-container {
    font-size: var(--type-body);
    line-height: 1.65;
    color: var(--on_surface);
}

.offer-main p,
.offer-main div,
.datos-oferta-container p,
.datos-oferta-container div {
    margin: 0 0 0.75rem;
    max-inline-size: none;
}

.offer-main ul,
.offer-main ol,
.datos-oferta-container ul,
.datos-oferta-container ol {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.offer-main li,
.datos-oferta-container li {
    list-style: disc;
    margin: 0 0 0.55rem 0.15rem;
    padding-left: 0.15rem;
    line-height: 1.55;
}

.offer-main ol li,
.datos-oferta-container ol li {
    list-style: decimal;
}

.oferta-bg {
    padding-top: 6.5rem;
    background: var(--cream);
}

.oferta-post {
    border-radius: 0;
    box-shadow: 0 18px 50px rgba(26, 39, 73, 0.08);
}

.page-inner .hero-section.oferta-bg {
    margin-block: 0;
}

.jobs-grid {
    padding: 3.5rem 1rem 5rem;
}

.jobs-grid .section-head h1,
.jobs-grid .section-head h2 {
    font-size: var(--type-title);
    color: var(--navy);
}

/* forms */
input:not([type="radio"]),
select {
    border-radius: 0;
    border-color: var(--outline);
}

span:has(select)::after {
    background-color: var(--cream);
    border-radius: 0;
}

button.icon, a.icon {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 0;
    box-shadow: none;
    color: #fff;
}

button.icon:hover, a.icon:hover {
    background: rgba(255,255,255,0.12);
    box-shadow: none;
}

.page-inner a.icon {
    border-color: var(--navy);
    color: var(--navy);
}

.block-form {
    max-width: 720px;
    margin: 0 auto 4rem;
    background: #fff;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid var(--outline);
    width: 100%;
    box-sizing: border-box;
}

.block-form h1 {
    color: var(--navy);
    font-size: var(--type-title);
}

.offer-apply-mobile {
    display: none;
}

.search-card input,
.search-card select,
.block-form input,
.block-form select {
    font-size: 16px;
}

.offer-main img,
.datos-oferta-container img,
.block-form img {
    max-width: 100%;
    height: auto;
}

.offer-main table,
.datos-oferta-container table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.card h2,
.card-meta {
    overflow-wrap: anywhere;
}

.footer {
    min-height: 0;
    padding-bottom: env(safe-area-inset-bottom);
}

.search-card span:has(select),
.block-form span:has(select) {
    display: block;
    width: 100%;
}

.cv-label {
    font-size: var(--type-eyebrow);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 500;
}

.block-form input.cv-native[type="file"] {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    opacity: 1 !important;
    overflow: visible !important;
    border: 1px solid var(--outline) !important;
    background: #fff !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    z-index: auto !important;
    pointer-events: auto !important;
    color: var(--on_surface);
    touch-action: manipulation;
}

.block-form input.cv-native[type="file"]::after {
    content: none !important;
    display: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.block-form input.cv-native[type="file"]::-webkit-file-upload-button,
.block-form input.cv-native[type="file"]::file-selector-button {
    display: inline-block !important;
    width: auto !important;
    height: 40px !important;
    margin: 0 12px 0 6px !important;
    padding: 0 14px !important;
    opacity: 1 !important;
    border: 0 !important;
    background: var(--navy) !important;
    color: #fff !important;
    font-size: 13px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: auto !important;
}

@media (max-width: 900px) {
    .site-header {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .site-nav {
        gap: 1rem;
    }

    .crecimiento ul,
    .prestige-grid,
    .beneficios ul.benefits-list,
    .footer-countries,
    .offer-layout {
        grid-template-columns: 1fr;
    }

    .crecimiento li {
        aspect-ratio: 16/10;
        min-height: 260px;
    }

    .hero-cinematic {
        padding: 5.5rem 1.25rem 3.25rem;
    }

    .search-card .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.25rem;
        align-items: end;
    }

    .search-card .form-row > div,
    .form-row > div {
        max-width: none;
        flex-basis: 100%;
        width: 100%;
    }

    .search-card .form-row button {
        grid-column: 1 / -1;
        width: 100%;
    }

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

    .offer-apply-mobile {
        display: flex;
        width: 100%;
        max-width: 320px;
        margin-top: 1.25rem;
    }

    .block-form .fields-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-countries {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    body {
        --type-display: clamp(1.85rem, 6.4vw, 2.15rem);
        --type-title: clamp(1.55rem, 5vw, 1.8rem);
        --type-search: 1.5rem;
        --type-sub: 1.28rem;
        --type-body: 0.95rem;
        --type-meta: 0.88rem;
        --type-ui: 0.7rem;
        --type-eyebrow: 0.65rem;
    }

    .site-header {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.4rem;
        padding: max(0.35rem, env(safe-area-inset-top)) 0.6rem 0.35rem max(0.6rem, env(safe-area-inset-left));
        padding-right: max(0.6rem, env(safe-area-inset-right));
    }

    .site-nav {
        flex: 1 1 auto;
        justify-content: center;
        gap: 0.55rem;
        min-width: 0;
    }

    .site-nav .nav-item {
        letter-spacing: 0.04em;
        padding: 0.2rem 0;
        min-height: 0;
        min-width: 0;
        white-space: nowrap;
    }

    .site-brand .logo {
        height: 36px;
    }

    .lang-switch button {
        min-height: 0;
        min-width: 28px;
        padding: 0.15rem 0.2rem;
    }

    .eyebrow {
        letter-spacing: 0.16em;
        margin-bottom: 0.55rem;
    }

    .hero-cinematic {
        padding: 4.4rem 1.1rem 2rem;
    }

    .hero-cinematic h1 {
        margin-bottom: 0.45rem;
        max-inline-size: none;
    }

    .hero-cinematic .hero-sub {
        margin-bottom: 1.1rem;
    }

    .hero-cinematic p {
        line-height: 1.55;
        margin-bottom: 1.1rem;
    }

    .scroll-hint {
        display: none;
    }

    .hero-ctas a.button,
    .banner.testimonios a.button {
        width: 100%;
        max-width: 320px;
    }

    .search-panel {
        margin-top: 0;
        padding: 0.85rem 1rem 2.25rem;
    }

    .search-card {
        padding: 1.2rem 1.05rem 1.35rem;
    }

    .search-card .form-row {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .destinations-line {
        letter-spacing: 0.08em;
        padding: 0 1rem 2rem;
        line-height: 1.6;
    }

    .section-pad {
        padding: 2.6rem 1rem 3rem;
    }

    .section-head {
        margin-bottom: 1.4rem;
    }

    .jobs-row {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .card-full-link .content {
        padding: 1rem 1.05rem 1.2rem;
    }

    .crecimiento {
        padding: 2.4rem 1rem 1.25rem;
        gap: 0.5rem;
    }

    .crecimiento li {
        min-height: 220px;
        aspect-ratio: 16/11;
        margin-bottom: 0;
    }

    .crecimiento li > div {
        padding: 1.35rem 1.15rem;
    }

    .beneficios {
        padding-block: 2.5rem;
        padding-inline: 1.15rem;
    }

    .benefits-list li {
        padding: 1rem 0.2rem;
        text-align: center;
    }

    .banner.testimonios {
        min-height: 0;
        padding: 3.25rem 1.15rem;
        gap: 0.9rem;
    }

    .banner.testimonios p {
        max-inline-size: 36ch;
        margin-inline: auto;
    }

    .footer {
        padding-inline: max(1.15rem, env(safe-area-inset-left)) max(1.15rem, env(safe-area-inset-right));
        padding-top: 2.25rem;
    }

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

    .footer section:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-block-end: 1.5rem;
    }

    .footer .redes a {
        width: 44px;
        height: 44px;
    }

    .footer-copy {
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-inner .search-wrap {
        padding: 4.75rem 1rem 2rem;
    }

    .page-inner .search-wrap .container {
        width: 100%;
    }

    .page-inner .hero-section.container {
        padding-top: 4.5rem;
        width: 100%;
        padding-inline: 1rem;
        box-sizing: border-box;
    }

    .jobs-grid {
        padding: 2.6rem 1rem 3rem;
        width: 100%;
        box-sizing: border-box;
    }

    .offer-page {
        padding: 4.75rem 1.15rem 3rem;
    }

    .offer-header {
        margin-bottom: 1.75rem;
        padding-bottom: 1.15rem;
    }

    .offer-layout {
        gap: 1.35rem;
    }

    .offer-side {
        padding: 1.15rem;
    }

    .offer-apply-mobile {
        max-width: none;
    }

    .block-form {
        margin-bottom: 3rem;
        padding: 1.25rem 1.05rem 1.5rem;
    }

    .block-form h1 {
        word-break: break-word;
    }

    .page-inner a.icon {
        min-width: 44px;
        min-height: 44px;
    }

    dialog {
        width: calc(100% - 1rem);
        max-width: none;
        height: min(92dvh, 92vh);
        max-height: min(92dvh, 92vh);
        padding: 0;
        margin: auto;
        box-sizing: border-box;
    }

    dialog footer {
        height: auto;
        flex-wrap: wrap;
        justify-content: stretch;
        gap: 0.65rem;
        padding: 0.85rem;
    }

    dialog footer button {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 380px) {
    body {
        --type-ui: 0.65rem;
        --type-display: 1.8rem;
    }

    .site-brand .logo {
        height: 34px;
    }

    .site-nav .nav-item {
        letter-spacing: 0.04em;
    }
}
