:root {
    --motion-ink: #081822;
    --motion-blue: #0e2d3d;
    --motion-ice: #eaf5f5;
    --motion-accent: #ffd077;
    --motion-teal: #226e78;
    --gradient-orange: linear-gradient(110deg, #ffd077, #efaa4d);
}
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { background: var(--motion-ink); }
a:focus-visible, button:focus-visible, .motion-lane:focus-visible { outline: 3px solid #23a6ba; outline-offset: 4px; }
.header { background: #081822de; border-bottom: 1px solid #ffffff20; }
.header.scrolled { background: #081822eb; border-bottom-color: #9ed5de48; box-shadow: 0 8px 26px #03101645; }
.logo { height: 40px; }
.hero { background: var(--motion-ink); min-height: min(840px, 100svh); }
.hero-background {
    inset: -5% 0 -12%;
    background: linear-gradient(90deg, #081822 3%, #081822ef 31%, #08182238 77%), url('../images/hero-background.png') center 53% / cover no-repeat;
    transform: translate3d(0, var(--parallax, 0px), 0);
}
.hero-background::before {
    background: radial-gradient(ellipse at 68% 50%, #41cae63d, transparent 56%);
    inset: -8%;
    animation: float 12s ease-in-out infinite;
}
.hero-overlay {
    background: linear-gradient(to bottom, #08182255 15%, transparent 58%, #081822), repeating-linear-gradient(90deg, #bce2ef0e 0 1px, transparent 1px 84px);
}
.hero-content { grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 88px); padding-block: 34px 62px; }
.hero-title { font-size: clamp(2.5rem, 5.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.062em; }
.hero-title .motion-title-brand { display: block; font-size: .29em; letter-spacing: .15em; line-height: 1.3; color: #bce5ef; text-transform: uppercase; margin-bottom: 1.1em; }
.motion-title-copy { color: #fff; }
.motion-title-copy::after { content: ''; display: inline-block; vertical-align: baseline; margin-inline-start: .1em; width: .075em; height: .83em; background: var(--motion-accent); opacity: 0; }
.motion-title-copy.is-typing::after { opacity: 1; animation: caret .65s step-end infinite alternate; }
@keyframes caret { to { opacity: 0; } }
.hero-description { font-size: clamp(1rem, 1.45vw, 1.2rem); color: #d3e2e8; font-weight: 400; }
.hero .btn { border-radius: 100px; }
.hero .btn-primary, .contact .btn-primary { background: var(--motion-accent); color: #15202a; border-color: transparent; }
.hero .btn-secondary { background: #091a2b72; color: #f5fbff; border: 1px solid #ffffff61; }
.hero-stats { gap: .75rem; }
.hero-stats .company-logo { background: #123647a3; border: 1px solid #b6e5ec44; border-radius: 16px; padding: 1rem; min-height: 110px; cursor: default; }
.hero-stats .company-logo:hover { background: #194658; border-color: var(--motion-accent); box-shadow: 0 12px 30px #06141d6a; transform: translateY(-5px); }
.hero-stats .company-logo:hover .company-logo-img { filter: grayscale(1) brightness(0) invert(1); }
.company-logo-container { height: 54px; }
.about, .brands { color: var(--motion-ink); background: var(--motion-ice); }
.brands { background: #f9fbfc; }
.about::before, .brands::before, .ambassadors::before { display: none; }
.about .section-title, .about h3, .about h4, .brands .brands-header h2 { color: var(--motion-ink); -webkit-text-fill-color: currentColor; }
.about p, .brands .brands-header p { color: #365160; }
.about .feature-item { background: #fff; border: 1px solid #bad7de; box-shadow: none; border-radius: 16px; }
.about .feature-icon { background: #d5efef; color: #135663; }
.section-title, .brands-header h2 { letter-spacing: -.05em; }
.stats { background: var(--motion-blue); }
.stats-background { opacity: .44; }
.stats .stat-card { background: #0d293ad9; border: 1px solid #91c2d450; border-radius: 16px; }
.stats .stat-number, .stats .stat-plus { font-variant-numeric: tabular-nums; }
.ambassadors { background: var(--motion-ink); }
.ambassadors .section-title, .contact .section-title { color: #f5fbff; -webkit-text-fill-color: currentColor; }
.contact { background: #103341; }
.contact .contact-form { border: 1px solid #aed7df44; background: #0c2532; border-radius: 20px; }
.motion-reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.motion-reveal.is-visible { opacity: 1; transform: none; }
.motion-motion-toggle { display: block; margin: 0 auto 1.15rem; border: 1px solid currentColor; border-radius: 100px; padding: .5rem 1rem; font: inherit; color: inherit; background: transparent; cursor: pointer; }
.brands-scroll-container { min-height: 0; }
.motion-lane { display: block; overflow: hidden; mask: none; -webkit-mask: none; }
.motion-lane::before, .motion-lane::after { display: none; }
.motion-lane .brands-track, .motion-lane .ambassadors-track {
    display: flex; gap: 0; width: max-content; animation: motion-marquee var(--duration, 120s) linear infinite; transform: none;
}
.motion-lane.scroll-right .ambassadors-track { animation-direction: reverse; }
.motion-group { display: flex; flex: none; gap: 12px; padding: 13px 12px 15px 0; }
@keyframes motion-marquee { to { transform: translate3d(-50%, 0, 0); } }
.ambassadors .motion-lane:hover > div, .motion-lane:focus-within > div, .motion-lane:not(.is-on-screen) > div { animation-play-state: paused; }
.motion-lane.is-manual { overflow-x: auto; }
.motion-lane.is-manual > div { animation: none; transform: none; }
.motion-lane.is-manual .motion-clone { display: none; }
#brands .brand-card {
    --brand-card-width: clamp(184px, 22vw, 268px);
    width: var(--brand-card-width);
    min-width: var(--brand-card-width);
    height: clamp(108px, 12vw, 150px);
    padding: 14px;
    background: #fff;
    border: 1px solid #ccdde1;
    border-radius: 14px;
}
#brands .brand-card img {
    width: 100%;
    max-width: 100%;
    height: clamp(74px, 8.5vw, 112px);
    max-height: 100%;
    object-fit: contain;
}
#brands .brand-card:hover img { transform: scale(1.06); }
.ambassador-card { width: clamp(215px, 24vw, 320px); height: clamp(235px, 26vw, 335px); border-radius: 16px; background: #153342; }
.ambassador-card .ambassador-image { height: 100%; }
.ambassador-card .ambassador-image img { transition: transform .45s ease; }
.ambassador-card:is(:hover, :focus-within, .is-open) .ambassador-image img {
    transform: scale(1.035);
    filter: none;
}
.ambassador-card:hover { transform: none; box-shadow: 0 12px 28px #0005; }
.ambassador-card .ambassador-overlay {
    justify-content: flex-end;
    gap: .4rem;
    padding: clamp(.85rem, 1.65vw, 1.35rem);
    background: linear-gradient(180deg, #04111b2e, #04111bd9 48%, #04111bf8);
    opacity: 0;
    transition: opacity .32s ease;
}
.ambassador-card:is(:hover, :focus-within, .is-open) .ambassador-overlay { opacity: 1; }
.ambassador-card .ambassador-name-top {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
    color: #fff;
    text-align: left;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    text-shadow: none;
    opacity: 1;
    transform: none;
}
.ambassador-card .ambassador-info { flex: 0 1 auto; min-height: 0; }
.ambassador-card .ambassador-details { opacity: 1; transform: none; }
.ambassador-card .ambassador-details p {
    color: #eaf3f7;
    font-weight: 400;
    margin: 0;
    -webkit-line-clamp: 5;
    line-clamp: 5;
}
.ambassador-card .ambassador-links { justify-content: flex-start; margin-top: .55rem; }
.ambassador-card .ambassador-links:empty { display: none; }
.ambassador-card .ambassador-links a { width: 30px; height: 30px; }
.preview-note { color: #c5dce1; }
@media (max-width: 991px) {
    .hero-content { grid-template-columns: 1fr; gap: .75rem; }
    .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
    .hero-stats .company-logo { min-height: 74px; }
    .company-logo-container { height: 42px; }
    .hero-background { background-position: 58% center; }
}
@media (max-width: 560px) {
    .hero { min-height: auto; }
    .hero-content { padding-block: 38px 55px; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-description { line-height: 1.5; }
    .hero-buttons { gap: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .motion-reveal { opacity: 1; transform: none; }
    .hero-background { transform: none; }
}
#loader[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
    .motion-lane { overflow-x: auto; }
    .motion-lane > div { animation: none !important; }
    .motion-lane .motion-clone { display: none; }
}
.hero .scroll-indicator { bottom: 17px; }
@media (max-width: 991px) {
    .navbar { padding-block: 12px; }
    .hero { padding-top: 85px; }
    .hero-content { padding-top: 48px; }
}
@media (max-width: 560px) {
    .header .navbar .container, .hero > .container { width: calc(100% - 32px); padding-inline: 0; }
    .header .lang-switcher { margin-left: 0 !important; }
    .header .logo { height: 33px; }
    .hero .hero-title { font-size: clamp(2.2rem, 8.3vw, 2.85rem); }
}
@media (prefers-reduced-motion: reduce) {
    .motion-motion-toggle { display: none; }
}

/* Frosted surfaces over the existing animated globe and section backgrounds. */
:root {
    --glass-edge: #e6f8ff58;
    --glass-highlight: inset 0 1px 0 #f7fcff43;
    --glass-shadow: 0 14px 35px #06131f30;
}
.header, .header.scrolled {
    background: linear-gradient(115deg, #193347cc, #0b192bd9);
    border-bottom-color: var(--glass-edge);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
    backdrop-filter: blur(24px) saturate(155%);
    box-shadow: var(--glass-highlight), 0 8px 26px #03101635;
}
.hero-overlay {
    background: linear-gradient(to bottom, #08182226 12%, transparent 65%, #081822),
                radial-gradient(ellipse at 75% 30%, #87dcff1c, transparent 53%);
}
.hero-stats .company-logo,
.hero .btn-secondary,
.stats .stat-card,
.contact .contact-form {
    background: linear-gradient(135deg, #d5f3ff2e, #5697b41a 55%, #c3d6ff12), #102b40a8;
    border: 1px solid var(--glass-edge);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
}
.hero-stats .company-logo,
.hero .btn-secondary,
.contact .contact-form {
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    backdrop-filter: blur(16px) saturate(145%);
}
.hero-stats .company-logo:hover {
    background: linear-gradient(135deg, #c9efff55, #5295bb38), #13364eaa;
    border-color: #e1f7ffb0;
    box-shadow: var(--glass-highlight), 0 16px 38px #03132170;
}
.hero .btn-primary, .contact .btn-primary {
    background: linear-gradient(145deg, #ffe5af, #ffc56d);
    box-shadow: inset 0 1px 0 #fff8, 0 6px 20px #ffc46a26;
}
.about, .brands {
    background: radial-gradient(ellipse at 10% 12%, #c3e6ee, transparent 58%),
                radial-gradient(ellipse at 90% 74%, #dcdff5, transparent 58%), #edf7f9;
}
.about .feature-item,
#brands .brand-card {
    background: linear-gradient(145deg, #fff, #f8fcffeb);
    border-color: #fff;
    box-shadow: inset 0 1px 0 #fff, 0 4px 12px #253d5d16;
}
.about .feature-item, .contact .contact-form { border-radius: 24px; }
#brands .brand-card { border-radius: 20px; }
.brands .motion-motion-toggle {
    color: #173c55;
    background: #ffffffb8;
    border-color: #36689055;
    box-shadow: inset 0 1px 0 #fff, 0 4px 14px #253d5d14;
}
.ambassadors, .contact {
    background: radial-gradient(ellipse at 80% 6%, #214664, transparent 65%),
                radial-gradient(ellipse at 14% 98%, #263354, transparent 62%), #0b1c2a;
}
.ambassador-card {
    border-color: var(--glass-edge);
    border-radius: 22px;
}
.contact .contact-form input, .contact .contact-form textarea {
    background: #0515218c;
    border-color: #cfe7ff5c;
    color: #f5fbff;
}
@media (max-width: 991px) {
    .header .nav-menu {
        background: #102538f5;
        border-color: var(--glass-edge);
        box-shadow: var(--glass-highlight), var(--glass-shadow);
    }
}
@media (prefers-reduced-transparency: reduce) {
    .header, .header.scrolled, .hero-stats .company-logo,
    .hero .btn-secondary, .contact .contact-form {
        background: #153247;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
@media (min-width: 992px) {
    .header .navbar .container { gap: 1.4rem; }
    .header .nav-list { gap: clamp(.55rem, 1.45vw, 1.55rem); align-items: center; }
    .header .nav-link { white-space: nowrap; padding-inline: .5rem; }
    .header .lang-switcher { margin-left: 0 !important; }
}

/* Move the globe independently of the fixed contrast layer and scroll parallax. */
.hero-background {
    background: #081822;
}
.hero-background::after {
    content: '';
    position: absolute;
    inset: -4%;
    background: url('../images/hero-background.png') center 53% / cover no-repeat;
    transform-origin: 64% 59%;
    animation: globe-drift 14s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero-background::before { z-index: 1; pointer-events: none; }
.hero-overlay {
    background: linear-gradient(90deg, #081822ed 2%, #081822a8 40%, #08182214 80%),
                linear-gradient(to bottom, #08182220 14%, transparent 62%, #081822),
                radial-gradient(ellipse at 75% 30%, #87dcff1c, transparent 53%);
}
@keyframes globe-drift {
    from { transform: translate3d(-1.5%, .5%, 0) scale(1.02) rotate(-2.5deg); }
    to { transform: translate3d(2%, -1.5%, 0) scale(1.13) rotate(3deg); }
}
@media (max-width: 991px) {
    .hero-background::after { background-position: 58% center; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-background::after { animation: none; }
}

/* Both faces share one grid cell so the crossfade never resizes the card. */
.about .about-features { width: 100%; max-width: 34rem; }
.about .features-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-auto-rows: 1fr;
    align-items: stretch;
    justify-items: stretch;
    gap: clamp(.65rem, 1.4vw, 1.15rem);
}
.about .feature-item,
.about .feature-item:hover {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 9.5rem;
    padding: clamp(.85rem, 1.5vw, 1.3rem);
    border: 1px solid #fff;
    background: linear-gradient(150deg, #fffffff0, #f3fbff9c);
    transform: none;
    cursor: default;
    box-shadow: inset 0 1px 0 #fff, 0 7px 20px #253d5d16;
    transition: box-shadow .4s ease, border-color .4s ease;
}
.about .feature-item:is(:hover, :focus-visible) {
    border-color: #9ac0cf;
    box-shadow: inset 0 1px 0 #fff, 0 9px 24px #253d5d23;
}
.about .feature-item:focus-visible { outline: 2px solid #226e78; outline-offset: 3px; }
.about .feature-face {
    display: grid;
    place-items: center;
    align-content: center;
    gap: .55rem;
    text-align: center;
}
.about .feature-item .feature-icon {
    position: static;
    width: 2rem;
    height: 2rem;
    border-radius: .65rem;
    font-size: .9rem;
    background: #dceff3;
    color: #295465;
    box-shadow: none;
    transform: none;
}
.about .feature-face h4 {
    margin: 0;
    color: #102b3c;
    font-size: 1rem;
    line-height: 1.3;
}
.about .feature-item .feature-content {
    position: static;
    display: grid;
    place-items: center;
    padding: .5rem 0 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    transform: none;
}
.about .feature-content p {
    margin: 0 auto;
    color: #274657;
    font-size: .925rem;
    line-height: 1.45;
}
@media (hover: hover) and (pointer: fine) {
    .about .feature-item .feature-face,
    .about .feature-item .feature-content {
        grid-area: 1 / 1;
        transition: opacity .32s ease, transform .38s cubic-bezier(.22, 1, .36, 1);
    }
    .about .feature-item .feature-content { padding: 0; opacity: 0; transform: translateY(4px); }
    .about .feature-item:is(:hover, :focus-visible) .feature-face { opacity: 0; transform: translateY(-4px); }
    .about .feature-item:is(:hover, :focus-visible) .feature-content { opacity: 1; transform: none; }
}
@media (max-width: 380px) {
    .about .features-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
}

.stats { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.stats .section-header { margin-bottom: clamp(1.3rem, 3vw, 2.4rem); }
.stats .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.65rem, 1.3vw, 1rem);
}
.stats .stat-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .75rem;
    padding: clamp(.85rem, 1.5vw, 1.25rem);
    text-align: left;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.stats .stat-card:hover {
    transform: translateY(-2px);
    border-color: #e6f8ff94;
    box-shadow: var(--glass-highlight), 0 8px 22px #06131f50;
}
.stats .stat-card .stat-icon {
    width: 2rem;
    height: 2rem;
    margin: .06rem 0 0;
    border: 1px solid #ffcf7730;
    border-radius: .6rem;
    background: #ffcf7714;
    color: #ffd58f;
    font-size: .85rem;
    transform: none;
    box-shadow: none;
}
.stats .stat-number-wrapper {
    justify-content: flex-start;
    align-items: baseline;
    margin: 0;
    gap: .18rem;
}
.stats .stat-number {
    font-size: clamp(1.5rem, 2.75vw, 2.6rem);
    letter-spacing: -.05em;
    white-space: nowrap;
    margin: 0;
}
.stats .stat-plus { font-size: clamp(1rem, 1.55vw, 1.45rem); margin: 0; }
.stats .stat-label {
    font-size: .96rem;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    margin: .48rem 0 .28rem;
    hyphens: none;
    overflow-wrap: anywhere;
}
.stats .stat-description {
    font-size: .875rem;
    line-height: 1.45;
    color: #c8dce7;
    font-weight: 400;
    max-width: none;
    margin: 0;
}
@media (max-width: 930px) {
    .stats .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
    .stats .stats-grid { grid-template-columns: minmax(0, 1fr); }
}

.contact { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.contact > .container {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 66rem;
}
.contact .section-header { margin: 0; text-align: left; }
.contact .section-title {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.12;
    margin-bottom: .85rem;
}
.contact .section-title::after { left: 0; transform: none; }
.contact .section-subtitle { margin: 0; font-size: 1rem; color: #ccdee8; }
.contact .contact-form-container { width: 100%; max-width: 30rem; margin: 0; }
.contact .contact-form {
    display: grid;
    gap: .75rem;
    padding: clamp(.95rem, 2vw, 1.4rem);
    border-radius: 18px;
}
.contact .form-row { margin: 0; }
.contact .contact-form .form-group label {
    margin-bottom: .3rem;
    font-size: .9rem;
    font-weight: 600;
}
.contact .contact-form input[type="email"],
.contact .contact-form textarea {
    display: block;
    padding: .55rem .7rem;
    border-radius: .55rem;
    line-height: 1.45;
}
.contact .contact-form input[type="email"] { min-height: 42px; }
.contact .contact-form textarea { min-height: 5rem; }
.contact .contact-form input:focus,
.contact .contact-form textarea:focus { transform: none; }
.contact .contact-form button {
    width: auto;
    max-width: 100%;
    min-height: 44px;
    margin: .15rem 0 0;
    padding: .55rem .95rem;
    border-radius: 100px;
    font-size: .9rem;
}
.contact .preview-note { margin: 0; font-size: .8rem; }
@media (max-width: 720px) {
    .contact > .container { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-width: 34rem; }
}
