:root {
    --navy: #001435;
    --navy-2: #04375d;
    --navy-3: #054466;
    --blue: #188ece;
    --blue-light: #429ffc;
    --ink: #25282b;
    --muted: #5d6974;
    --paper: #ffffff;
    --mist: #f2f4f6;
    --line: #dce3e8;
    --red: #e3002b;
    --shadow: 0 24px 70px rgba(0, 20, 53, 0.14);
    --container: 1300px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Avenir", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--mist);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

p {
    margin: 0;
    font-size: 17px;
    line-height: 1.78;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy-3);
    font-weight: 700;
    letter-spacing: -0.035em;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 18px;
    color: var(--navy);
    background: var(--paper);
    transform: translateY(-160%);
}

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

/* NAVBAR */
.paySoftNav {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    padding: 25px 0;
    color: var(--paper);
}

.nav-inner {
    display: flex;
    align-items: center;
    min-height: 52px;
}

.navbar-brand {
    position: relative;
    z-index: 22;
    flex: 0 0 auto;
}

.navbar-brand img {
    width: 176px;
    height: auto;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0 28px 0 auto;
    padding: 0;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    color: var(--paper);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--blue-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

/* LANGUAGE DROPDOWN */
.lang-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 10px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--paper);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    font-family: inherit;
}

.lang-btn::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s;
}

.lang-dropdown.is-open .lang-btn::after {
    transform: rotate(225deg) translateY(0px);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--paper);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    min-width: 60px;
    z-index: 100;
    text-align: center;
}

.lang-dropdown.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li a {
    display: block;
    padding: 6px 16px;
    color: var(--navy-3);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.lang-menu li a:hover,
.lang-menu li a.active {
    color: var(--blue);
    background: var(--mist);
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 22;
    width: 46px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    color: var(--paper);
    background: transparent;
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    content: "";
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

/* PRIVACY HERO */
.privacy-hero {
    min-height: 570px;
    padding: 180px 0 105px;
    position: relative;
    overflow: hidden;
    color: var(--paper);
    background: radial-gradient(circle at 77% 28%, rgba(24, 142, 206, .2), transparent 25%), linear-gradient(135deg, var(--navy) 0%, #032b50 100%);
}

.privacy-hero::before {
    position: absolute;
    top: 122px;
    right: -62px;
    width: 280px;
    height: 280px;
    content: "";
    opacity: .42;
    background-image: radial-gradient(rgba(255, 255, 255, .55) 1.3px, transparent 1.3px);
    background-size: 14px 14px;
    transform: rotate(12deg);
}

.privacy-hero .hero-grid {
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
    display: grid;
    align-items: center;
}

.privacy-hero .hero-content {
    max-width: 930px;
}

.privacy-hero h1 {
    max-width: 900px;
    font-size: clamp(50px, 5.4vw, 78px);
    line-height: .98;
    color: var(--paper);
}

.privacy-hero h1 span {
    display: block;
    color: var(--blue-light);
}

.privacy-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;
    color: #9dd7f6;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.privacy-hero .eyebrow::before {
    width: 28px;
    height: 3px;
    content: "";
    background: var(--blue-light);
}

.privacy-hero .hero-copy {
    margin-top: 31px;
    color: #d8e4ec;
    font-size: 19px;
    line-height: 1.65;
}

/* PRIVACY CONTENT */
.privacy-section {
    padding: 110px 0;
    background: var(--paper);
}

.privacy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 78px;
    align-items: start;
}

.privacy-content {
    max-width: 900px;
}

.privacy-block+.privacy-block {
    margin-top: 54px;
    padding-top: 54px;
    border-top: 1px solid var(--line);
}

.privacy-block h2 {
    color: var(--navy-3);
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.2;
    letter-spacing: -.025em;
}

.privacy-block h3 {
    margin-top: 30px;
    color: var(--navy-3);
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -.015em;
}

.privacy-block p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.78;
}

.privacy-block ul {
    margin: 20px 0 0;
    padding-left: 23px;
    color: var(--muted);
}

.privacy-block li {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.7;
}

.privacy-block a {
    color: var(--navy-3);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-note {
    margin-top: 22px;
    padding: 18px 20px;
    border-left: 4px solid var(--blue);
    background: var(--mist);
}

.privacy-note p {
    margin-top: 0;
}

.privacy-toc {
    position: sticky;
    top: 28px;
    padding: 28px 25px;
    background: var(--mist);
    border-top: 4px solid var(--blue);
}

.privacy-toc strong {
    display: block;
    margin-bottom: 15px;
    color: var(--navy-3);
    font-size: 14px;
}

.privacy-toc a {
    display: block;
    padding: 7px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
    color: var(--blue);
}

.privacy-last-update {
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

/* FOOTER */
.footerWidgets {
    color: var(--paper);
    background: #054371;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.footerLinks {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 54px;
    padding: 64px max(5vw, 42px) 64px max(calc((100vw - var(--container)) / 2), 24px);
    background: #054371;
}

.footerSocial {
    margin-top: 0;
    padding: 64px max(calc((100vw - var(--container)) / 2), 48px) 64px 58px;
    background: #054371;
}

.footerLinks h2 {
    margin-bottom: 25px;
    color: var(--paper);
    font-size: 20px;
    letter-spacing: 0;
}

.footerLinks ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footerLinks a,
.footerLinks p,
.footerSocial p {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.footerLinks a {
    display: inline-block;
    margin-bottom: 5px;
}

.footerLinks a:hover,
.footerLinks a:focus-visible {
    color: var(--paper);
    text-decoration: underline;
}

.footerSocial img {
    width: 176px;
    margin-bottom: 27px;
}

.footerSocial h2 {
    margin-bottom: 25px;
    color: var(--paper);
    font-size: 20px;
    letter-spacing: 0;
}

.footerSocial a {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.footerSocial a:hover,
.footerSocial a:focus-visible {
    color: var(--paper);
    text-decoration: underline;
}

.footer-empresa {
    display: grid;
    justify-content: center;
    justify-items: start;
}

.footer-bottom {
    padding: 40px 0 20px;
    color: var(--paper);
    background: #04375D;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.funding-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
}

.funding-logos img {
    max-height: 45px;
    width: auto;
    display: block;
}

.footer-bottom p {
    font-size: 13px;
    text-align: center;
    margin: 0;
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: var(--blue, #188ece);
    color: var(--paper, #ffffff);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 20, 53, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
    background-color: var(--navy-3, #054466);
    transform: translateY(0) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 20, 53, 0.25);
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .menu-toggle {
        display: block;
    }

    .navbar-nav,
    .lang-dropdown {
        display: none;
    }

    .nav-inner.is-open .navbar-nav {
        position: fixed;
        inset: 0;
        z-index: 21;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 26px;
        margin: 0;
        padding: 110px 28px 50px;
        background: rgba(0, 20, 53, .98);
    }

    .nav-inner.is-open .nav-link {
        font-size: 20px;
    }

    .nav-inner.is-open .menu-toggle span {
        opacity: 0;
    }

    .nav-inner.is-open .menu-toggle::before {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-inner.is-open .menu-toggle::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    .privacy-hero {
        padding-top: 145px;
    }

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

    .privacy-toc {
        position: static;
        order: -1;
    }

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

    .footerLinks {
        padding-right: 24px;
        padding-left: 24px;
    }

    .footerSocial {
        padding: 55px 24px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 560px) {
    .privacy-hero {
        padding: 140px 0 75px;
    }

    .privacy-hero h1 {
        font-size: clamp(43px, 13vw, 60px);
    }

    .privacy-section {
        padding: 74px 0;
    }

    .privacy-block+.privacy-block {
        margin-top: 42px;
        padding-top: 42px;
    }

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

    .footer-empresa {
        justify-content: start;
        justify-items: start;
        width: 100%;
        text-align: left;
    }

    .footer-empresa ul {
        width: 100%;
        text-align: left;
    }

    .funding-logos {
        flex-direction: column;
        gap: 20px;
    }
}