/* ==========================================================
   CONTINUUM — Accueil multi-pays (panneaux + tour de page)
   Maquette : colonnes verticales côte à côte
   ========================================================== */

:root {
    --splash-dark: #060a10;
    --splash-dark-2: #0b1220;
    --splash-text: #f4f7fb;
    --splash-muted: rgba(255, 255, 255, .62);
    --splash-accent: #1FA34A;
    --splash-header-h: 4.25rem;
}

.splash-page {
    margin: 0;
    padding: 0;
    background: var(--splash-dark);
    color: var(--splash-text);
    font-family: var(--font-body, 'Outfit', system-ui, sans-serif);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.splash-upper {
    text-transform: uppercase;
    letter-spacing: .12em;
}

.splash-page a {
    color: inherit;
    text-decoration: none;
}

.splash-container {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
}

/* ---- Header flottant ---- */
.splash-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .95rem 1.35rem;
    pointer-events: none;
}

.splash-header .brand,
.splash-header .splash-lang,
.splash-header .splash-globe {
    pointer-events: auto;
}

.splash-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(16rem, 62vw);
    padding: .3rem .55rem;
    border-radius: .7rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.splash-logo .brand-logo--full,
.splash-logo .brand-logo--mark {
    display: block;
    line-height: 0;
}

.splash-logo .brand-mark--full {
    height: 3.6rem;
    width: auto;
    max-width: min(15rem, 58vw);
    object-fit: contain;
    object-position: center;
    filter: none;
}

.splash-logo .brand-name,
.splash-logo .brand-tag,
.splash-logo .brand-wordmark {
    display: none !important;
}

.splash-header__right {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.splash-globe {
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    color: rgba(255, 255, 255, .85);
}

.splash-globe .icon,
.splash-globe svg {
    width: 100%;
    height: 100%;
}

.splash-lang a {
    color: rgba(255, 255, 255, .85);
    border-color: rgba(255, 255, 255, .3);
    background: rgba(0, 0, 0, .28);
    backdrop-filter: blur(8px);
    font-weight: 700;
}

.splash-lang a.active {
    background: #fff;
    color: #0a1628;
    border-color: #fff;
}

/* ==========================================================
   PANNEAUX PAYS (4 colonnes)
   ========================================================== */
.country-panels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 100dvh;
    min-height: 100vh;
    width: 100%;
    position: relative;
    background: #000;
}

.country-panel {
    position: relative;
    min-height: 100dvh;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    transition: flex .45s ease;
}

.country-panel__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.country-panel__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 32%;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform .85s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
    filter: contrast(1.06) saturate(1.08);
}

.country-panel:hover .country-panel__img,
.country-panel:focus-within .country-panel__img {
    transform: scale(1.03) translateZ(0);
    filter: contrast(1.1) saturate(1.12);
}

.country-panel__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .28) 0%,
            rgba(var(--panel-color-rgb), .42) 45%,
            rgba(var(--panel-color-rgb), .72) 100%
        );
    opacity: .92;
    transition: opacity .4s ease;
}

.country-panel--has-photo .country-panel__img {
    filter: contrast(1.08) saturate(1.1);
    object-position: center 30%;
}

.country-panel--has-photo .country-panel__overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .18) 0%,
            rgba(var(--panel-color-rgb), .32) 48%,
            rgba(var(--panel-color-rgb), .65) 100%
        );
    mix-blend-mode: normal;
    opacity: .88;
}

.country-panel--has-photo:hover .country-panel__img,
.country-panel--has-photo:focus-within .country-panel__img {
    filter: contrast(1.12) saturate(1.14);
}

.country-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 30%, rgba(0, 0, 0, .55) 100%);
    pointer-events: none;
}

/* Liseré entre colonnes */
.country-panel:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .12);
    z-index: 5;
    pointer-events: none;
}

.country-panel__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 100dvh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--splash-header-h) + 1.25rem) .75rem 2rem;
    text-align: center;
}

.country-panel__flag {
    flex-shrink: 0;
}

.country-panel__flag .country-flag {
    width: 42px;
    height: 28px;
    border-radius: 3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .18);
    display: block;
}

/* Nom vertical */
.country-panel__name {
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-display, 'Syne', sans-serif);
    font-weight: 800;
    font-size: clamp(1.65rem, 2.6vw, 2.75rem);
    letter-spacing: .18em;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, .4);
    text-transform: uppercase;
}

.country-panel__name-text {
    display: block;
    white-space: nowrap;
}

.country-panel__slogan {
    margin: 0 0 1.4rem;
    max-width: 14ch;
    font-family: var(--font-body, var(--font-sans, 'Outfit', sans-serif));
    font-size: clamp(.78rem, 1.05vw, .95rem);
    line-height: 1.4;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

/* Bouton ENTRER circulaire */
.country-panel__enter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    color: #fff;
    transition: transform .3s ease, color .3s ease;
}

.country-panel__enter-icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.country-panel__enter-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform .3s ease;
}

.country-panel__enter-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.country-panel:hover .country-panel__enter-icon,
.country-panel__enter:hover .country-panel__enter-icon,
.country-panel__enter:focus-visible .country-panel__enter-icon {
    background: #fff;
    color: var(--panel-color, #0a1628);
    border-color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    transform: scale(1.06);
}

.country-panel:hover .country-panel__enter-icon svg,
.country-panel__enter:hover .country-panel__enter-icon svg {
    transform: translateX(3px);
}

.country-panel__enter:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 6px;
    border-radius: .5rem;
}

/* ==========================================================
   SECTIONS BAS — maquette footer
   ========================================================== */
.splash-lower {
    position: relative;
    background: #050b15;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.splash-lower::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent);
    pointer-events: none;
    z-index: 1;
}

.splash-section {
    position: relative;
    z-index: 2;
    padding: 2.75rem 0;
}

/* Titres avec double barre verte */
.splash-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.splash-heading__title {
    margin: 0;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.splash-heading__bars {
    display: flex;
    justify-content: center;
    gap: .45rem;
    margin-top: .85rem;
}

.splash-heading__bars i {
    display: block;
    width: 2.1rem;
    height: 3px;
    background: var(--splash-accent);
    border-radius: 2px;
    font-style: normal;
}

/* Domaines */
.splash-domains {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}

.splash-domains__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.splash-domain {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
    text-align: center;
    padding: 0 1.15rem;
}

.splash-domain:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.splash-domain__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .92);
}

.splash-domain__icon .icon,
.splash-domain__icon svg {
    width: 2.4rem;
    height: 2.4rem;
}

.splash-domain__title {
    margin: 0;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.splash-domain__desc {
    margin: 0;
    font-size: .78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .55);
    max-width: 22ch;
}

/* Stats */
.splash-stats {
    padding-top: 2.5rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.splash-stats__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.splash-stat {
    text-align: center;
    min-width: 0;
}

.splash-stat__value {
    display: block;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin-bottom: .3rem;
}

.splash-stat__label {
    display: block;
    font-size: .76rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, .52);
}

/* Carte pays d'intervention */
.splash-intervention {
    margin: 0;
    padding: 1.5rem 0 1.75rem;
    background:
        radial-gradient(ellipse 80% 120% at 50% 0%, rgba(57, 255, 20, .04), transparent 55%),
        #050b15;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.splash-intervention__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.splash-intervention__frame {
    width: 100%;
    max-width: 880px;
    padding: .65rem;
    border-radius: .85rem;
    border: 1px solid rgba(57, 255, 20, .18);
    background: linear-gradient(145deg, rgba(57, 255, 20, .04) 0%, rgba(5, 11, 21, .95) 42%);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, .35),
        0 0 0 1px rgba(255, 255, 255, .03) inset,
        0 0 48px rgba(57, 255, 20, .05);
    overflow: hidden;
}

.splash-intervention__img {
    width: 100%;
    height: auto;
    max-height: clamp(200px, 32vw, 320px);
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
    border-radius: .55rem;
}

/* Footer */
.splash-footer {
    border-top: none;
    padding: 0;
    background: #050b15;
}

.splash-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1.15fr 0.75fr;
    gap: 0;
    padding: 2.25rem 0 2rem;
}

.splash-footer__col {
    padding: 0 2rem;
    min-width: 0;
}

.splash-footer__col:first-child {
    padding-left: 0;
}

.splash-footer__col:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, .08);
}

.splash-footer h3 {
    margin: 0 0 1rem;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
}

.splash-footer p {
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, .55);
    font-size: .82rem;
    line-height: 1.6;
    max-width: 40ch;
}

.splash-footer__more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    transition: gap .2s ease, opacity .2s ease;
}

.splash-footer__more:hover {
    gap: .65rem;
    opacity: .85;
}

.splash-footer__contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    align-items: start;
}

.splash-footer__phones,
.splash-footer__channels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.splash-footer__phones li,
.splash-footer__channels li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, .55);
}

.splash-footer__icon {
    display: inline-flex;
    width: .95rem;
    height: .95rem;
    margin-top: .1rem;
    flex-shrink: 0;
}

.splash-footer__icon .icon,
.splash-footer__icon svg {
    width: 100%;
    height: 100%;
}

.splash-footer__icon--green {
    color: #39ff14;
}

.splash-footer__icon--green svg {
    stroke-width: 2.1;
}

.splash-footer__phones a:hover,
.splash-footer__channels a:hover {
    color: #fff;
}

.splash-footer__social {
    display: flex;
    gap: .55rem .6rem;
    flex-wrap: wrap;
    max-width: 10.5rem;
}

.splash-footer__social-link {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    background: transparent;
    border: 1.5px solid #39ff14;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.splash-footer__social-link .icon,
.splash-footer__social-link svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.splash-footer__social-link:hover {
    transform: translateY(-2px);
    background: rgba(57, 255, 20, .12);
    border-color: #39ff14;
}

.splash-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1rem 0 1.25rem;
    font-size: .72rem;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .35);
    text-align: center;
}

/* ==========================================================
   ANIMATION TOUR DE PAGE (livre)
   ========================================================== */
.book-turn {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    perspective: 2200px;
    perspective-origin: left center;
}

.book-turn.is-active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.book-turn__stage {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    background: #05080f;
}

.book-turn__back {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(31, 163, 74, .18), transparent 55%),
        linear-gradient(135deg, #0a1628 0%, #05080f 100%);
    opacity: 0;
    transition: opacity .35s ease .1s;
}

.book-turn.is-active .book-turn__back {
    opacity: 1;
}

.book-turn__page {
    position: absolute;
    inset: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 1.05s cubic-bezier(.55, .05, .2, 1);
    box-shadow: 0 0 0 transparent;
}

.book-turn.is-turning .book-turn__page {
    transform: rotateY(-168deg);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .55);
}

.book-turn__page-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.book-turn__page-face--front {
    background: #0a1628 center/cover no-repeat;
    background-image:
        linear-gradient(105deg, rgba(10, 22, 40, .15) 0%, rgba(10, 22, 40, .55) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .45));
}

.book-turn__page-face--front::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 42%;
    background: linear-gradient(90deg, rgba(0, 0, 0, .22), transparent);
    pointer-events: none;
}

.book-turn__page-face--front::after {
    /* Ombre de reliure */
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 18px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent);
    pointer-events: none;
}

.book-turn__page-face--back {
    transform: rotateY(180deg);
    background:
        linear-gradient(180deg, #f7f2e8 0%, #ebe3d4 100%);
    box-shadow: inset 0 0 40px rgba(120, 90, 40, .12);
}

.book-turn__page-face--back::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 28px;
    background: linear-gradient(270deg, rgba(0, 0, 0, .08), transparent);
}

/* Curl shadow on front while turning */
.book-turn.is-turning .book-turn__page-face--front {
    box-shadow: inset -40px 0 80px rgba(0, 0, 0, .25);
}

/* Loader brand during turn */
.book-turn__page-face--front .book-turn__brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display, 'Syne', sans-serif);
    font-weight: 800;
    letter-spacing: .2em;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #fff;
    text-transform: uppercase;
    opacity: .9;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .4);
}

/* Country switcher in site header (from previous impl) */
.country-switch {
    position: relative;
}

.country-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .65rem;
    border-radius: .55rem;
    border: 1px solid var(--color-border, #e2e8f0);
    background: #fff;
    color: var(--color-primary, #0a1628);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}

.country-switch__btn .country-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    flex-shrink: 0;
}

.country-switch__btn .chev {
    font-size: .6rem;
    opacity: .6;
}

.country-switch__panel {
    display: none;
    position: absolute;
    top: calc(100% + .4rem);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 16px 40px rgba(10, 22, 40, .16);
    border: 1px solid var(--color-border, #e2e8f0);
    padding: .4rem;
    z-index: 200;
}

.country-switch.open .country-switch__panel {
    display: block;
}

.country-switch__panel a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .7rem;
    border-radius: .5rem;
    text-decoration: none;
    color: var(--color-primary, #0a1628);
    font-size: .85rem;
    font-weight: 500;
}

.country-switch__panel a:hover {
    background: var(--color-background, #f8fafc);
}

.country-switch__panel a.is-active {
    background: rgba(var(--country-color-rgb, 196, 92, 38), .1);
    color: var(--country-color, var(--color-secondary));
    font-weight: 700;
}

.country-switch__panel a .country-flag {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    flex-shrink: 0;
}

.country-switch__panel .country-switch__all {
    border-top: 1px solid var(--color-border, #e2e8f0);
    margin-top: .25rem;
    padding-top: .55rem;
    font-weight: 600;
    color: var(--color-muted, #64748b);
    font-size: .8rem;
}

.country-local-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.5rem;
    padding: .85rem 1.25rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--color-border, #e2e8f0);
    box-shadow: 0 8px 24px rgba(10, 22, 40, .06);
    margin-top: -2.5rem;
    position: relative;
    z-index: 5;
}

.country-local-bar__item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    color: var(--color-muted, #64748b);
}

.country-local-bar__item strong {
    color: var(--color-primary, #0a1628);
    font-weight: 700;
}

.country-local-bar .country-flag {
    width: 28px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.country-local-bar__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(var(--country-color-rgb, 196, 92, 38), .12);
    color: var(--country-color, var(--color-secondary));
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

[data-animate].is-inview {
    animation: country-fade-up .7s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes country-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
    .country-panels {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .country-panel {
        min-width: 58vw;
        scroll-snap-align: start;
    }

    .splash-domains__grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 2rem;
    }

    .splash-domain:nth-child(3) {
        border-right: none;
    }

    .splash-domain:nth-child(4),
    .splash-domain:nth-child(5) {
        border-right: none;
    }

    .splash-domain:not(:last-child) {
        border-right: none;
        border-bottom: none;
    }

    .splash-domain:nth-child(-n+3):not(:nth-child(3)) {
        border-right: 1px solid rgba(255, 255, 255, .1);
    }

    .splash-stats__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .splash-footer__contact {
        grid-template-columns: 1fr;
    }

    .splash-footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 2rem;
    }

    .splash-footer__col {
        padding: 0 0 2rem;
        border-left: none !important;
    }

    .splash-footer__col:not(:first-child) {
        border-top: 1px solid rgba(255, 255, 255, .08);
        padding-top: 2rem;
    }
}

@media (max-width: 640px) {
    .splash-header {
        padding-top: max(.85rem, env(safe-area-inset-top));
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .splash-logo {
        max-width: min(12.5rem, 68vw);
        padding: .22rem .4rem;
    }

    .splash-logo .brand-mark--full {
        height: 2.75rem;
        max-width: min(11.8rem, 64vw);
    }

    .country-panels {
        min-height: calc(100svh - var(--splash-header-h));
        scroll-padding-inline: 1rem;
    }

    .country-panel {
        min-width: 78vw;
    }

    .country-panel__name {
        font-size: 1.5rem;
        letter-spacing: .12em;
    }

    .country-panel__slogan {
        max-width: 18ch;
        font-size: .85rem;
    }

    .splash-domains__grid {
        grid-template-columns: 1fr;
    }

    .splash-domain {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        padding-bottom: 1.5rem;
    }

    .splash-domain:last-child {
        border-bottom: none;
    }

    .splash-stats__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: center;
    }

    .splash-intervention {
        padding: 1.15rem 0 1.35rem;
    }

    .splash-intervention__frame {
        padding: .45rem;
        border-radius: .65rem;
    }

    .splash-intervention__img {
        max-height: min(42vw, 210px);
    }

    .splash-footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 2rem;
    }

    .splash-footer__col {
        padding: 0 0 2rem;
        border-left: none !important;
    }

    .splash-footer__col:not(:first-child) {
        border-top: 1px solid rgba(255, 255, 255, .08);
        padding-top: 2rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .country-panel__img,
    .country-panel__enter-icon,
    .country-panel__enter-icon svg,
    .book-turn__page,
    .book-turn__back {
        transition: none !important;
        animation: none !important;
    }

    .book-turn.is-turning .book-turn__page {
        transform: none;
        opacity: 0;
    }
}
