/* Shared and home page styles. Legal pages also load legal.css.

   Contents
   1. Fonts
   2. Custom properties
   3. Base
   4. Button
   5. Section title
   6. Light section
   7. Contact form
   8. Frame
   9. Status bar fill
   10. Hero
   11. Externalisation hero
   12. Site header
   13. Site nav
   14. Stat card
   15. Sliding section
   16. Double columns
   17. Solution
   18. Numbered cards
   19. Step
   20. Map
   21. Location card
   22. Commitments
   23. Function card
   24. Contact
   25. Footer links
   26. Contact modal
   27. Wide container
*/


/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi_Complete-2/Fonts/WEB/fonts/Satoshi-Variable.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax_Complete-2/Fonts/WEB/fonts/Chillax-Variable.woff2') format('woff2');
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   Custom properties
   ========================================================================== */

:root {
    --color-primary: #9FBBC7;
    --color-secondary: #ced9d1;
    --color-terciary: #f0f2ef;
    /* Brand colour: map, solution cards, text on light backgrounds */
    --color-main: #115473;
    --color-white: white;
    --color-black: black;
    /* Mobile menu. Text on light blue (--color-primary) where --color-main is too low in contrast: button labels, modal support bar */
    --color-background-dark: #092E35;
    --color-background-light: #f5f5f5;
    /* Pinned site header bar and legal pages header */
    --color-header: #001D3C;
    /* Light blue panels, borders and dividers (externalisation page) */
    --color-primary-pale: #c7e3ef;
    /* Body text on white */
    --color-text: #2d2d2d;
    --color-primary-light: color-mix(in srgb, var(--color-primary), var(--color-white) 20%);
    --color-main-light: color-mix(in srgb, var(--color-main), var(--color-white) 20%);
    --font-body: 'Satoshi', sans-serif;
    --font-heading: 'Chillax', sans-serif;

    --font-weight-extra-light: 200;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    --font-size-button-small: 11px;
    --font-size-small: 12px;
    --font-size-label: 14px;
    --font-size-body-small: 16px;
    --font-size-body: 20px;
    --font-size-heading-small: 30px;
    --font-size-heading-mobile: 32px;
    --font-size-heading: 48px;

    /* Space between the screen edge and the frame, and side margin of the sections */
    --page-gutter: 20px;
    /* Side padding of full-width bars (mobile menu, footer links) */
    --bar-padding: 40px;
    --radius-small: 10px;
    --radius-large: 30px;
    /* Compact buttons on phones (site header, contact modal) */
    --radius-button-small: 7px;
    --button-small-height: 29px;

    --site-header-height: 90px;
    --status-bar-fill-height: 40px;
    /* Pinned headers and .status-bar-fill sit above the page, under the contact modal backdrop (998), the modal (999) and .frame (1000) */
    --z-index-header: 997;
}

@media (max-width: 767.98px) {
    :root {
        --page-gutter: 10px;
    }
}


/* ==========================================================================
   Base
   ========================================================================== */

h1, h2, h3 {
    font-family: var(--font-heading);
}


/* ==========================================================================
   Button
   ========================================================================== */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 15px 20px;

    font-family: var(--font-body);
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;

    border-radius: var(--radius-small);
}

.button--large {
    height: 46px;
}

.button--primary {
    color: var(--color-background-dark);
    background-color: var(--color-primary);
}

.button--primary:hover {
    background-color: var(--color-primary-light);
}

/* Through Bootstrap's .btn variables, so the label stays white on hover, focus and click */
.button--dark {
    --bs-btn-color: var(--color-white);
    --bs-btn-bg: var(--color-main);
    --bs-btn-hover-color: var(--color-white);
    --bs-btn-hover-bg: var(--color-main-light);
    --bs-btn-active-color: var(--color-white);
    --bs-btn-active-bg: var(--color-main-light);
}

.button--me {
    margin-right: 15px;
}

.button--padding {
    padding: 13px 30px;
}

@media (max-width: 991.98px) {
    .button--large {
        width: auto;
        padding: 10px 14px;
    }
}


/* ==========================================================================
   Section title
   ========================================================================== */

.section-title {
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: var(--font-size-heading-mobile);
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: var(--font-size-heading-mobile);
    }
}


/* ==========================================================================
   Light section
   ========================================================================== */

/* Light grey band at the side margins, shared by the sections on a light background
   (externalisation, destination and implementation pages) */
.light-section {
    margin: 0 var(--page-gutter);
    background-color: var(--color-background-light);
}


/* ==========================================================================
   Contact form
   ========================================================================== */

/* Fields shared by the footer form and the contact modal */
.contact-form__label {
    padding-left: 10px;
    font-family: var(--font-body);
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-regular);
    color: var(--color-main);
}

.contact-form__field {
    font-family: var(--font-body);
    border-radius: var(--radius-small);
}

.contact-form__field::placeholder {
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-medium);
    color: var(--color-secondary);
}

/* Off-screen rather than display: none, which some bots detect and skip */
.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* The widget's height, kept before it loads so the button doesn't jump */
.contact-form__captcha {
    min-height: 65px;
}

.contact-form__status {
    margin-top: 16px;
    padding-left: 10px;
    font-family: var(--font-body);
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-medium);
}

/* Takes no space until there is something to say */
.contact-form__status:empty {
    display: none;
}

@media (max-width: 767.98px) {
    .contact-form__field--message {
        height: 250px;
    }
}


/* ==========================================================================
   Frame
   ========================================================================== */

.frame {
    position: fixed;
    inset: var(--page-gutter);
    z-index: 1000;

    width: calc(100% - 2 * var(--page-gutter));
    height: calc(100vh - 2 * var(--page-gutter));

    border-radius: var(--radius-large);
    /* Outside color of the frame, since its outside the border needs to be
    with box-shadow or outline */
    box-shadow: 0 0 0 100vmax var(--color-terciary);

    pointer-events: none;
}

/* Gradient on frame, since frame is a box shadow the gradient is a bit more complex */
@supports (mask-composite: exclude) {
    .frame {
        inset: calc(var(--page-gutter) - 100px);
        width: calc(100% - 2 * var(--page-gutter) + 200px);
        height: calc(100vh - 2 * var(--page-gutter) + 200px);
        padding: 100px;
        background: linear-gradient(195deg, var(--color-terciary), var(--color-white)) fixed;
        border-radius: calc(var(--radius-large) + 100px);
        box-shadow: none;
        mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    }
}


/* ==========================================================================
   Status bar fill
   ========================================================================== */

/* iOS 26 Safari never draws pinned content behind the status bar: it fills that area with the
   background color of a pinned element at the top edge, or lets the page show through.
   This strip is that element, so the gutter color runs up behind the clock. It ends at the gutter,
   under .frame, so it is invisible elsewhere. Taller than the gutter (most of it above the screen)
   because Safari ignores pinned elements 10px tall or less */
.status-bar-fill {
    position: fixed;
    top: calc(var(--page-gutter) - var(--status-bar-fill-height));
    right: 0;
    left: 0;
    z-index: var(--z-index-header);
    height: var(--status-bar-fill-height);
    background-color: var(--color-terciary);
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    padding: var(--page-gutter) var(--page-gutter) 0 var(--page-gutter);
}

.hero__frame {
    display: flex;
    flex-direction: column;

    width: 100%;
    /* Take off the top and bottom padding of .hero */
    min-height: calc(100vh - 2 * var(--page-gutter));
    padding-bottom: 95px;

    /* background-color: color-mix(in srgb, var(--color-main), var(--color-black) 45%); */
    /* JPEG only (quality 85, full colour resolution): the AVIF and WebP versions blurred the tint.
       Same file as the preload in index.html */
    background-image: url('../media/hero-image_newrai-international.jpg');
    background-size: cover;
    background-position: center;
    /* Lightens the photo and tints it with the brand colour */
    /* background-blend-mode: screen; */
    border-radius: var(--radius-large) var(--radius-large) 0 0;
}

/* Keeps the hero content in place while the header is fixed */
.hero__frame--header-fixed {
    padding-top: var(--site-header-height);
}

.hero__content {
    display: flex;
    flex-grow: 1;
    align-items: center;
}

/* Wraps the home hero's text and buttons. Owns the space above the title and before the stat cards,
   in vh on desktop so the cards start on the first screen on shorter screens */
.hero__main {
    margin-top: 10vh;
    margin-bottom: 8vh;
}

.hero__intro {
    padding-left: 30px;
}

/* No bottom margin: the description's top padding is the whole gap below the title.
   The other heroes set their own gap (externalisation hero, destination.css, not-found.css) */
.hero__title {
    margin: 0;
    font-size: 60px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
}

/* Sits inside .hero__title. The top margin is the gap the old <h1> left above the <p> */
.hero__subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
}

.hero__description {
    margin: 0;
    padding-top: 68px;
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    padding-top: 28px;
}

.hero__arrow-icon {
    margin-left: 10px;
}


@media (max-width: 991.98px) {

    .hero__frame {
        padding-bottom: 40px;
    }

    .hero__main {
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .hero__intro {
        padding-top: 40px;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__subtitle {
        font-size: var(--font-size-heading-small);
    }

    .hero__description {
        padding-top: 24px;
        font-size: var(--font-size-body);
    }

    .hero__stat {
        margin: 8px 0;
    }
}


@media (max-width: 767.98px) {

    /* Portrait crop of the centre of the desktop image: the hero is taller than wide here,
       so cover shows the same pixels. JPEG only, matching the mobile preload in index.html */
    .hero__frame {
        padding-bottom: 12px;
        background-image: url('../media/hero-image-mobile_newrai-international.jpg');
    }

    .hero__frame--header-fixed {
        padding-top: 10px;
    }

    .hero__title {
        font-size: 54px;
    }

    .hero__subtitle {
        font-size: 36px;
    }

    .hero__description {
        font-size: var(--font-size-body-small);
    }

    .hero__intro {
        padding-left: 0;
    }

}

@media (max-width: 575.98px) {
    .hero__main {
        margin-top: 16px;
        margin-bottom: 40px;
    }

    .hero__title {
        font-size: 35px;
    }

    .hero__subtitle {
        font-size: var(--font-size-heading-small);
    }

    /* Line break on phones only. A <br> would break at every width, and splitting
       the subtitle out of the <h1> into its own column would change the heading */
    .hero__subtitle-line {
        display: block;
    }

    .hero__description {
        font-size: var(--font-size-label);
    }
}


/* ==========================================================================
   Externalisation hero
   ========================================================================== */

/* Mixed with .hero__frame on the externalisation and implementation pages, so it comes after the hero rules.
   As tall as its content instead of the full screen, as in the design.
   The photo is tinted in the file (multiplied over --color-main at 80%, as in Figma).
   JPEG only (quality 85, full colour resolution): the AVIF and WebP versions blurred the tint.
   Same file as the preloads in externalisation.html */
.externalisation-hero {
    min-height: 0;
    background-image: url('../media/hero-image-externalisation_newrai-international.jpg');
    /* Same crop as the design, which shows the upper part of the photo */
    background-position: center 25%;
}

/* Implementation page: the designer's banner, tinted in the file. JPEG only, like the base rule.
   Same file as the preloads in implementation.html */
.externalisation-hero--implantation {
    background-image: url('../media/hero-image-implantation_newrai-international.jpg');
    /* The design shows the middle of the photo */
    background-position: center;
}

.externalisation-hero__content {
    padding-top: 75px;
}

/* Mixed with .hero__description, which uses the heading font on the home page.
   .hero__title has no bottom margin, so the padding is the whole gap below the title */
.externalisation-hero__description {
    padding-top: 76px;
    font-family: var(--font-body);
}

.externalisation-hero__buttons {
    padding-top: 66px;
}

/* .hero__intro gives the 40px top space at this size */
@media (max-width: 991.98px) {
    .externalisation-hero__content {
        padding-top: 0;
    }

    .externalisation-hero__description {
        padding-top: 40px;
    }
}

/* Portrait crop of the centre of the photo, same size as the home mobile hero.
   JPEG only, matching the mobile preloads.
   Same 50px above the button (.externalisation-hero__buttons padding) and below it */
@media (max-width: 767.98px) {
    .externalisation-hero {
        padding-bottom: 50px;

        background-image: url('../media/hero-image-externalisation-mobile_newrai-international.jpg');
        background-position: center;
    }

    .externalisation-hero--implantation {
        background-image: url('../media/hero-image-implantation-mobile_newrai-international.jpg');
    }

    .externalisation-hero__buttons {
        padding-top: 50px;
    }
}


/* ==========================================================================
   Site header
   ========================================================================== */

/* Anchors the mobile menu panel. --fixed below and .legal-header (legal.css) replace it with position: fixed */
.site-header {
    position: relative;
}

.site-header__brand {
    padding: 60px 0 0 60px;
    transition: padding 300ms ease;
}

/* Same bottom margin the <p> had before it became an <h1> */
.site-header__tagline {
    margin-bottom: 16px;
    padding-top: 95px;
    font-family: var(--font-body);
    font-size: var(--font-size-body-small);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    color: var(--color-primary);
    transition: padding 300ms ease;
}

.site-header__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 60px 60px 0 0;
    transition: padding 300ms ease;
}

/* Nav and contact button: a row in the header from lg, the full-screen mobile menu below it */
.site-header__menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Almost as tall as the logo (71px below 992px), so the header row doesn't grow */
.site-header__menu-toggle {
    width: 64px;
    height: 64px;
    padding: 0;
}

/* Bars drawn in CSS so they can turn into the close cross. The centre bar is the span, the others its pseudo-elements */
.site-header__menu-icon,
.site-header__menu-icon::before,
.site-header__menu-icon::after {
    display: block;
    width: var(--menu-icon-width);
    height: var(--menu-icon-thickness);
    background-color: var(--color-white);
    border-radius: calc(var(--menu-icon-thickness) / 2);
}

.site-header__menu-icon {
    --menu-icon-width: 28px;
    --menu-icon-gap: 9px;
    --menu-icon-thickness: 3px;

    position: relative;
    margin: 0 auto;
    transition: background-color 250ms ease;
}

.site-header__menu-icon::before,
.site-header__menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: transform 250ms ease;
}

.site-header__menu-icon::before {
    top: calc(-1 * var(--menu-icon-gap));
}

.site-header__menu-icon::after {
    top: var(--menu-icon-gap);
}

.site-header--menu-open .site-header__menu-icon {
    background-color: transparent;
}

.site-header--menu-open .site-header__menu-icon::before {
    transform: translateY(var(--menu-icon-gap)) rotate(45deg);
}

.site-header--menu-open .site-header__menu-icon::after {
    transform: translateY(calc(-1 * var(--menu-icon-gap))) rotate(-45deg);
}

/* Set on <html> by main.js while the mobile menu is open, so the page behind it doesn't scroll */
.scroll-lock {
    overflow: hidden;
}

.site-header--fixed {
    position: fixed;
    top: var(--page-gutter);
    right: var(--page-gutter);
    left: var(--page-gutter);
    z-index: var(--z-index-header);
    background-color: var(--color-header);
}

/* --centered: the legal pages' header, always on its bar (.legal-header), so it keeps the pinned size
   of the other pages even before main.js adds --fixed on scroll */
.site-header--centered .site-header__brand,
.site-header--fixed .site-header__brand {
    padding: 15px 0 15px 15px;
}

.site-header--centered .site-header__tagline,
.site-header--fixed .site-header__tagline {
    margin: 0;
    padding: 45px 0;
    color: var(--color-white);
}

.site-header--centered .site-header__actions,
.site-header--fixed .site-header__actions {
    padding: 15px 15px 15px 0;
}

/* Pinned header logo: the one-line version, on xl screens only (media query below) */
.site-header__logo--horizontal {
    display: none;
}

/* Dark logo for the white mobile menu, shown by the 991.98px query below while it is open */
.site-header__menu-logo {
    display: none;
}

/* A mask, so background-color sets the icon color: white on the button, the text color in the mobile menu */
.site-header__contact-icon {
    width: 20px;
    height: 15px;
    background-color: var(--color-white);
    mask: url('../media/icon-contact.svg') center / contain no-repeat;
}


/* Less space around the nav, so logo, nav and contact button fit from 992px */
@media (max-width: 1199.98px) {
    .site-header__menu {
        gap: 24px;
    }
}

@media (max-width: 991.98px) {
    .site-header__brand {
        padding: 24px 0 0 12px;
    }

    .site-header__tagline {
        padding-top: 32px;
        font-size: var(--font-size-label);
    }

    .site-header__actions {
        padding: 24px 12px 0 0;
    }

    /* Old version: collapsed menu, a full-width panel under the header holding only the links
    .site-header__nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: var(--z-index-header);
        background-color: var(--color-background-dark);
    }
    */

    /* Full screen, sliding in from the right. Under .frame, so the frame edge covers it like the rest of the page.
       The top and bottom padding keep the centred links clear of the logo and toggle, which stay above it.
       text-align overrides the .text-end of .site-header__actions */
    .site-header__menu {
        position: fixed;
        inset: 0;
        z-index: var(--z-index-header);

        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 32px;

        padding: calc(var(--page-gutter) + var(--site-header-height)) var(--bar-padding);
        overflow-y: auto;

        text-align: left;

        background-color: var(--color-white);
        visibility: hidden;

        transition: transform 250ms ease-in-out, visibility 250ms;
        transform: translateX(100%);
    }

    .site-header--menu-open .site-header__menu {
        visibility: visible;
        transform: none;
    }

    /* Above the menu at all times, so they don't disappear under it while it slides out */
    .site-header__brand,
    .site-header__menu-toggle {
        position: relative;
        z-index: calc(var(--z-index-header) + 1);
    }

    /* Dark logo while the menu is open. The swap waits until the sliding menu edge passes the logo, halfway through
       (allow-discrete; browsers without it swap at once) */
    .site-header__logo,
    .site-header__menu-logo {
        transition: display 0s 125ms allow-discrete;
    }

    .site-header--menu-open .site-header__logo {
        display: none;
    }

    .site-header--menu-open .site-header__menu-logo {
        display: inline;
    }

    /* A plain link like the nav links, not a button. The .btn variables cover the focus and tap states */
    .site-header__contact-link {
        --bs-btn-border-width: 0;
        --bs-btn-hover-color: var(--color-main-light);
        --bs-btn-hover-bg: transparent;
        --bs-btn-active-color: var(--color-main-light);
        --bs-btn-active-bg: transparent;

        height: auto;
        padding: 12px 0;

        font-size: var(--font-size-body);
        color: var(--color-main);

        background-color: transparent;
    }

    .site-header__contact-link:hover {
        color: var(--color-main-light);
        background-color: transparent;
    }

    .site-header__contact-icon {
        background-color: currentColor;
    }

    .site-header--centered .site-header__brand,
    .site-header--fixed .site-header__brand {
        padding: 12px 0 12px 12px;
    }

    .site-header--centered .site-header__tagline,
    .site-header--fixed .site-header__tagline {
        padding: 0 0 12px 0;
    }

    .site-header--centered .site-header__actions,
    .site-header--fixed .site-header__actions {
        padding: 12px 12px 12px 0;
    }
}


@media (max-width: 767.98px) {
    .site-header--centered .site-header__tagline-row,
    .site-header--fixed .site-header__tagline-row {
        background-color: var(--color-primary);
    }

    .site-header--centered .site-header__tagline,
    .site-header--fixed .site-header__tagline {
        margin: 6px 0;
        padding: 0;
    }
}

@media (max-width: 575.98px) {
    .site-header__brand {
        width: 120px;
    }

    .site-header__tagline {
        padding-top: 15px;
    }

    .site-header__contact {
        /* width: 152px; */
        height: var(--button-small-height);
        padding: 5px 10px;
        font-size: var(--font-size-button-small);
        border-radius: var(--radius-button-small);
    }

    /* The logo's height at this width (108 × 38px) */
    .site-header__menu-toggle {
        width: 38px;
        height: 38px;
    }

    .site-header__menu-icon {
        --menu-icon-width: 20px;
        --menu-icon-gap: 6.5px;
        --menu-icon-thickness: 2px;
    }
}

@media (min-width: 1200px) {
    .site-header--centered .site-header__logo,
    .site-header--fixed .site-header__logo {
        display: none;
    }

    .site-header--centered .site-header__logo--horizontal,
    .site-header--fixed .site-header__logo--horizontal {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header__menu,
    .site-header__logo,
    .site-header__menu-logo,
    .site-header__menu-icon,
    .site-header__menu-icon::before,
    .site-header__menu-icon::after {
        transition: none;
    }
}


/* ==========================================================================
   Site nav
   ========================================================================== */

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Vertical padding gives the links a usable tap target */
.site-nav__link {
    display: inline-block;
    padding: 8px 0;
    font-family: var(--font-body);
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-white);
}

.site-nav__link:hover {
    color: var(--color-primary);
}

/* Current page: outlined, about as tall as the contact button.
   The negative side margins keep the outline from widening the gaps between the links */
.site-nav__link--active {
    margin: 0 -17px;
    padding: 11px 17px;
    border: 1px solid var(--color-white);
    border-radius: var(--radius-small);
}

@media (max-width: 1199.98px) {
    .site-nav__list {
        gap: 24px;
    }
}

@media (max-width: 991.98px) {
    /* Old version: links in the collapsed panel under the header
    .site-nav__list {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 12px 0 24px 0;
    }

    .site-nav__link {
        padding: 12px 0;
    }
    */

    /* Spacing around the list comes from the gap of .site-header__menu */
    .site-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .site-nav__link {
        padding: 12px 0;
        font-size: var(--font-size-body);
        color: var(--color-main);
    }

    .site-nav__link:hover {
        color: var(--color-main-light);
    }

    .site-nav__link--active {
        margin: 4px -17px;
        padding: 8px 17px;
        border-color: var(--color-main);
    }
}

/* ==========================================================================
   Stat card
   ========================================================================== */

.stat-card {
    padding: 20px;
    color: var(--color-main);
    border: 8px solid var(--color-primary);
    border-radius: var(--radius-small);
}

.stat-card__country,
.stat-card__label {
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

/* Same bottom margin the <h2> had before it became a <p> */
.stat-card__country {
    margin-bottom: 8px;
}

/* Last text in the card: the card's padding is the whole space below it */
.stat-card__value {
    margin: 0;
}

.stat-card__number,
.stat-card__unit {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    text-transform: capitalize;
}

.stat-card__number {
    font-size: 54px;
}

.stat-card__unit {
    font-size: 24px;
}

.stat-card__label {
    display: block;
}


@media (max-width: 767.98px) {

    .stat-card__number,
    .stat-card__unit {
        line-height: 45px;
    }

    .stat-card__label {
        font-size: var(--font-size-body-small);
    }
}

@media (max-width: 575.98px) {
    .stat-card {
        padding-left: 30px;
        border-width: 5px;
    }

    .stat-card__country {
        font-size: 12px;
    }

    .stat-card__label {
        font-size: var(--font-size-small);
    }
}


/* ==========================================================================
   Sliding section
   ========================================================================== */

.sliding-section {
    padding: 60px 0;
    background: #C7E3EF;
    background: linear-gradient(195deg, rgba(199, 227, 239, 1) 0%, rgba(159, 187, 199, 1) 20%, rgba(199, 227, 239, 1) 50%, rgba(159, 187, 199, 1) 80%, rgba(159, 187, 199, 1) 100%);
    overflow: hidden;
}

.sliding__list {
    display: flex;
    flex-wrap: nowrap;

    width: max-content;
    margin: 0;
    padding: 0;

    list-style: none;

    will-change: transform;
    animation: marquee 30s linear infinite;
}

.sliding__item {
    display: block;
    flex-shrink: 0;
    padding-right: 40px;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    color: var(--color-main);
}

/* Dot divider, drawn rather than typed so it can sit halfway up the capitals.
   vertical-align lifts its bottom edge above the baseline: half the cap height (0.3475em in Chillax)
   minus half the dot, so the dot stays centred at every font size */
.sliding__item::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 24px 0 2px;
    vertical-align: calc(0.3475em - 2.5px);
    background-color: var(--color-white);
    border-radius: 50%;
}

.sliding__item--bold {
    font-weight: var(--font-weight-bold);
}

@media (max-width: 991.98px) {
    .sliding__item {
        font-size: var(--font-size-heading-small);
    }
}

@media (max-width: 767.98px) {
    .sliding__item {
        font-size: 26px;
    }
}

@media (max-width: 575.98px) {
    .sliding__item {
        font-size: 22px;
    }
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        /* Moves exactly one of the four identical sets of three phrases in index.html, so the
           loop is seamless only while the sets match character for character (spaces included).
           The three sets left on screen cover viewports up to about 5200px wide */
        transform: translate3d(-25%, 0, 0);
    }
}

/* ==========================================================================
   Double columns
   ========================================================================== */

.double-columns {
    padding: 106px 0 84px 0;
    background-image: url('../media/padrao_newrai-international.png');
    background-size: cover;
    background-position: center;
}

.double-columns__columns {
    margin-top: 63px;
}

.double-columns .section-title {
    margin: 0;
    color: var(--color-main);
}

.double-columns__note {
    margin: 36px 0px 0px 0px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
}

@media (max-width: 991.98px) {
    .double-columns {
        padding: 60px 0;
    }

    .double-columns__columns {
        margin-top: 40px;
    }

    .double-columns__note {
        margin-top: 40px;
    }
}


@media (max-width: 767.98px) {
    .double-columns__columns {
        margin-top: 30px;
    }

    .double-columns .section-title {
        margin: 0;
        font-size: 42px;
    }

    .double-columns__note {
        font-size: 19px;
    }

}

@media (max-width: 575.98px) {
    .double-columns__note {
        font-size: 17px;
    }
}

/* ==========================================================================
   Solution
   ========================================================================== */

.solution {
    color: var(--color-white);
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-large);
}

.solution__title {
    margin-bottom: 20px;
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-regular);
}

.solution__subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0;
}


.card-img-overlay {
    background-image: url('../media/double-columns-card-top-image.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-large) var(--radius-large) 0 0;
}

/* Externalisation card: the designer's photo, tinted in the file. The design shows a band just above the middle.
   JPEG only (quality 85, full colour resolution): this dark, smooth photo smeared as AVIF and WebP */
.card-img-overlay--externalisation {
    background-image: url('../media/solution-externalisation_newrai-international.jpg');
    background-position: center 47%;
}

/* Implantation card: the designer's photo, tinted in the file. The design shows a band a little below the middle */
.card-img-overlay--implantation {
    background-image: url('../media/solution-implantation_newrai-international.jpg');
    background-image: image-set(
        url('../media/solution-implantation_newrai-international.avif') type('image/avif'),
        url('../media/solution-implantation_newrai-international.webp') type('image/webp'),
        url('../media/solution-implantation_newrai-international.jpg') type('image/jpeg')
    );
    background-position: center 57%;
}

.card-img-overlay__text {
    padding: 60px 115px 20px 115px;
}

/* .solution__subtitle::after {
    content: '';
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    width: 100%;
    border-top: 3px solid var(--color-white);
} */

.card-body {
    padding: 35px 115px 50px 115px;
}

.solution__description,
.solution__list {
    margin: 0px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
}

/* .solution__description {
    margin-top: 57px;
} */

.solution__list {
    margin-top: 30px;
    padding: 0;
    list-style-position: inside;
}

/* Narrower cards: less side padding, so "Externalisation" fits on one line at 48px */
@media (max-width: 1399.98px) {
    .card-img-overlay__text,
    .card-body {
        padding-right: 60px;
        padding-left: 60px;
    }
}

@media (max-width: 1199.98px) {
    .card-img-overlay__text,
    .card-body {
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 991.98px) {

    .card-img-overlay__text, .card-body {
        padding: 40px 24px;
    }

    .solution__title {
        font-size: var(--font-size-heading-mobile);
    }
}


@media (max-width: 767.98px) {

    .solution__title {
        font-size: var(--font-size-heading);
    }

}

@media (max-width: 575.98px) {
    .solution__title {
        font-size: var(--font-size-heading-mobile);
    }

    .solution__subtitle,
    .solution__description,
    .solution__list {
        font-size: var(--font-size-body-small);
    }
}


/* ==========================================================================
   Numbered cards
   ========================================================================== */

.numbered-cards {
    --numbered-cards-inset: var(--page-gutter);
    /* Band colour, also used by the scroll slides. The implementation page sets its light grey */
    --numbered-cards-background: var(--color-primary);

    margin: 0 var(--page-gutter);
    padding: 97px 0 114px 0;
    background-color: var(--numbered-cards-background);
}

.numbered-cards__title {
    margin-bottom: 0px;
    font-size: 72px;
    font-weight: var(--font-weight-regular);
    color: var(--color-background-dark);
}

.numbered-cards__subtitle {
    margin-bottom: 0px;
    padding-top: 38px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    color: var(--color-background-dark);
}

@media (max-width: 991.98px) {
    .numbered-cards {
        padding: 60px 0;
    }

    .numbered-cards__title {
        font-size: 40px;
    }

    .numbered-cards__subtitle {
        padding-top: 16px;
    }
}

@media (max-width: 767.98px) {
    .numbered-cards__title {
        font-size: 54px;
    }

    .numbered-cards__subtitle {
        font-size: 19px;
    }
}

@media (max-width: 575.98px) {
    .numbered-cards__title {
        font-size: 42px;
    }

    .numbered-cards__subtitle {
        font-size: 17px;
    }
}

/* Scroll slides: added by main.js. With reduced motion the steps stay stacked. */
@media (prefers-reduced-motion: no-preference) {
    .numbered-cards--scroll {
        --numbered-cards-stage-height: 100vh;
        --numbered-cards-step-scroll: calc(var(--numbered-cards-stage-height) * 0.85);
        /* Must match the number of .numbered-cards__step items */
        --numbered-cards-steps: 4;
        --numbered-cards-duration: 700ms;
        --numbered-cards-shift: 20px;
        --numbered-cards-easing: cubic-bezier(0.65, 0, 0.35, 1);

        /* --numbered-cards-stage-content: real stage height, set by main.js */
        height: calc(var(--numbered-cards-stage-content, var(--numbered-cards-stage-height)) + var(--numbered-cards-steps) * var(--numbered-cards-step-scroll));
        margin: 0;
        padding: 0;

        background-color: transparent;
    }

    .numbered-cards--scroll .numbered-cards__stage {
        position: sticky;
        /* Taller than the screen (phones): pins by its bottom edge, so the title scrolls away and the steps stay in view */
        top: min(0px, calc(var(--numbered-cards-stage-height) - var(--numbered-cards-stage-content, 0px)));

        display: flex;
        flex-direction: column;
        justify-content: center;

        min-height: var(--numbered-cards-stage-height);
        padding: 40px var(--numbered-cards-inset);
    }

    /* Band background, drawn at the 20px inset and widened to full width while pinned */
    .numbered-cards--scroll .numbered-cards__stage::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;

        background-color: var(--numbered-cards-background);

        transition: transform var(--numbered-cards-duration) var(--numbered-cards-easing);
        transform: scaleX(var(--numbered-cards-rest-scale, 1));
    }

    .numbered-cards--pinned .numbered-cards__stage::before {
        transform: none;
    }

    .numbered-cards--scroll .numbered-cards__steps {
        display: grid;
    }

    /* All steps share one grid cell, so they sit on top of each other */
    .numbered-cards--scroll .numbered-cards__step {
        grid-area: 1 / 1;
        pointer-events: none;
    }

    .numbered-cards--scroll .numbered-cards__step--active {
        pointer-events: auto;
    }

    /* Leaving step: quick fade out. .step__tags: pills under the text (implementation page) */
    .numbered-cards--scroll .step__title,
    .numbered-cards--scroll .step__description,
    .numbered-cards--scroll .step__tags,
    .numbered-cards--scroll .step__number {
        opacity: 0;
        transition:
            opacity calc(var(--numbered-cards-duration) / 2) var(--numbered-cards-easing),
            transform calc(var(--numbered-cards-duration) / 2) var(--numbered-cards-easing);
        transform: translateY(var(--numbered-cards-shift));
    }

    /* Entering step: fade in and rise, number first, text 60ms later */
    .numbered-cards__step--active .step__title,
    .numbered-cards__step--active .step__description,
    .numbered-cards__step--active .step__tags,
    .numbered-cards__step--active .step__number {
        opacity: 1;
        transition-duration: var(--numbered-cards-duration);
        transition-delay: calc(var(--numbered-cards-duration) / 5 + 60ms);
        transform: none;
    }

    .numbered-cards__step--active .step__number {
        transition-delay: calc(var(--numbered-cards-duration) / 5);
    }

    @supports (height: 100svh) {
        .numbered-cards--scroll {
            --numbered-cards-stage-height: 100svh;
        }
    }
}


/* ==========================================================================
   Step
   ========================================================================== */

.step__label {
    margin-bottom: 0px;
    padding-top: 68px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    color: var(--color-white);
}

.step__title {
    margin-bottom: 0px;
    padding-top: 25px;
    font-family: var(--font-body);
    font-size: 36px;
    font-weight: var(--font-weight-medium);
    color: var(--color-background-dark);
}

.step__description {
    margin-bottom: 0px;
    padding-top: 25px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-background-dark);
}

.step__number {
    font-family: var(--font-heading);
    font-size: 248px;
    font-weight: var(--font-weight-extra-light);
    line-height: 165px;
    color: var(--color-white);
}

@media (max-width: 991.98px) {
    .step__label {
        padding-top: 40px;
        font-size: var(--font-size-body-small);
    }

    .step__title {
        padding-top: 16px;
        font-size: 28px;
    }

    .step__description {
        padding-top: 16px;
    }

    .step__number {
        margin: 0;
        font-size: 120px;
    }
}

@media (max-width: 767.98px) {
    .step__label {
        font-size: 23px;
    }

    .step__title {
        font-size: 46px;
    }

    .step__description {
        font-size: 19px;
    }

    .step__number {
        font-size: 190px;
    }
}

@media (max-width: 575.98px) {
    .step__label,
    .step__description {
        font-size: var(--font-size-body-small);
    }

    .step__title {
        font-size: 24px;
    }

    .step__number {
        font-size: 160px;
    }
}


/* ==========================================================================
   Map
   ========================================================================== */

.map {
    margin: 0 var(--page-gutter);
    padding: 104px 0 120px 0;
    background-color: var(--color-main);
}

.map .section-title {
    margin: 0px;
    color: var(--color-white);
}

.map__image {
    padding-top: 72px;
}

.map__locations {
    padding-top: 90px;
}

@media (max-width: 991.98px) {
    .map {
        padding: 60px 0;
    }

    /* The width comes from col-12, so the height follows the image ratio */
    .map__image {
        height: auto;
        padding-top: 40px;
    }

    .map__locations {
        padding-top: 40px;
    }
}


/* ==========================================================================
   Location card
   ========================================================================== */

.location-card {
    padding: 33px;
    background-color: transparent;
    border: 2px solid var(--color-background-dark);
    border-radius: 40px;
}

.location-card__country {
    margin: 0px;
    font-size: var(--font-size-heading-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

.location-card__value {
    padding-top: 22px;
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
}

.location-card__stats {
    padding-top: 35px;
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-body);
    color: var(--color-primary);
}

@media (max-width: 991.98px) {
    .location-card {
        padding: 24px;
    }

    .location-card__value {
        padding-top: 16px;
    }
}


@media (max-width: 767.98px) {
    .location-card {
        padding: 50px 40px;
    }
}

@media (max-width: 575.98px) {
    .location-card {
        padding: 30px 45px;
    }

    .location-card__value,
    .location-card__stats {
        font-size: var(--font-size-body-small);
    }
}



/* ==========================================================================
   Commitments
   ========================================================================== */

/* Same grey as .contact, which follows it: together they form the footer panel.
   Bottom padding + .contact's 90px top padding = the 112px above "Donnons un cadre" in the design */
.commitments {
    margin: 0 var(--page-gutter);
    padding: 120px 0 22px 0;
    background-color: var(--color-background-light);
}

/* 30px between the cards, as in the design (Bootstrap's default is 24px) */
.commitments__cards {
    --bs-gutter-x: 30px;
}

@media (max-width: 991.98px) {
    .commitments {
        padding: 60px 0 0 0;
    }
}


/* ==========================================================================
   Function card
   ========================================================================== */

/* Icon, title and text (or list) in a white bordered card: home page commitments, externalisation functions */
.function-card {
    align-items: center;
    padding: 60px 20px 54px 20px;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary-pale);
    border-radius: var(--radius-large);
}

/* Same height for every icon, so the titles line up (the payroll icon is 33px tall) */
.function-card__icon {
    display: flex;
    align-items: center;
    height: 40px;
}

.function-card__title {
    margin: 42px 0 26px 0;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
}

.function-card__list,
.function-card__text {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-text);
}

.function-card__list {
    padding: 0;
    list-style: none;
}

@media (max-width: 991.98px) {
    .function-card {
        padding: 40px 20px;
    }

    .function-card__title {
        margin: 24px 0 16px 0;
    }
}

@media (max-width: 575.98px) {
    .function-card__list,
    .function-card__text {
        font-size: var(--font-size-body-small);
    }
}


/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
    margin: 0 var(--page-gutter) var(--page-gutter) var(--page-gutter);
    /* Short bottom padding: .contact__links under the form keeps the links near the bottom edge */
    padding: 90px 0 15px 0;
    background-color: var(--color-background-light);
    border-radius: 0 0 var(--radius-large) var(--radius-large);
}

.contact__title {
    margin: 0px;
    font-size: var(--font-size-heading-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-main);
}

/* Old version (description under the title, beside the form)
.contact__description {
    padding-top: 36px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-main);
}
*/

/* Description and button row. The space sits here, not on the text, so the button centres on the text */
.contact__body {
    padding: 36px 0 80px 0;
}

.contact__description {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-background-dark);
}

/* Keeps the form clear of the fixed site header when "Contactez-nous" on the legal pages jumps here */
.contact__form {
    scroll-margin-top: 150px;
}

/* Full width, outside the .container, so the links sit at the right edge of the footer */
.contact__links {
    margin-top: 60px;
    padding: 0 var(--bar-padding);
}

.contact__links--split {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0 32px;
}

.contact__copyright {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-light);
    color: var(--color-main);
}

@media (max-width: 991.98px) {
    .contact {
        padding: 60px 0 15px 0;
    }

    /* Old version
    .contact__description {
        padding-top: 16px;
    }
    */

    .contact__body {
        padding-top: 16px;
    }

    .contact__form {
        margin-top: 40px;
    }

    .contact__links {
        margin-top: 40px;
        padding: 0 12px;
    }

    /* Copyright and links no longer fit on one line below about 790px: links centred, copyright under them */
    .contact__links--split {
        flex-direction: column-reverse;
        gap: 4px;
    }
}

@media (max-width: 767.98px) {
    /* Old version
    .contact__description {
        padding-top: 30px;
    }
    */

    .contact__body {
        padding-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .contact__description {
        font-size: var(--font-size-body-small);
    }
}


/* ==========================================================================
   Footer links
   ========================================================================== */

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Vertical padding gives the small links a usable tap target */
.footer-links__link {
    display: inline-block;
    padding: 8px 0;
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-light);
    text-decoration: none;
    color: var(--color-main);
}

.footer-links__link:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .footer-links {
        justify-content: center;
    }
}


/* ==========================================================================
   Contact modal
   ========================================================================== */

/* Old version: the contact modal was replaced by contact.html. Each rule is commented out on its own,
   between the comments that explain it, so the section can be restored by uncommenting it */

/* Bootstrap modal opened by the site header button, styled through Bootstrap's own variables.
   Under .frame (1000), so the frame edge covers it like the rest of the page */
/*
.contact-modal {
    --bs-modal-zindex: 999;
    --bs-modal-width: 900px;
    --bs-modal-bg: var(--color-terciary);
    --bs-modal-border-width: 0;
    --bs-modal-border-radius: var(--radius-large);
}
*/

/* Bootstrap adds the backdrop itself, so only its own class can style it.
   Between the pinned header and the modal, so the page edge stays light as in the design */
/*
.modal-backdrop {
    --bs-backdrop-zindex: 998;
    --bs-backdrop-bg: var(--color-main);
    --bs-backdrop-opacity: 0.85;
}
*/

/* Clips the support bar to the rounded corners */
/*
.contact-modal__content {
    overflow: hidden;
}
*/

/* Bootstrap's close icon on a white circle. z-index keeps it above .modal-body (position: relative) */
/*
.contact-modal__close {
    --bs-btn-close-opacity: 1;
    --bs-btn-close-focus-shadow: 0 0 0 4px var(--color-primary);

    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1;

    width: 12px;
    height: 12px;
    padding: 14px;

    background-color: var(--color-white);
    background-size: 12px;
    border-radius: 50%;
}

.contact-modal__body {
    padding: 64px 110px 42px 110px;
}
*/

/* Same left offset as the field labels */
/*
.contact-modal__title {
    margin-bottom: 40px;
    padding-left: 10px;
    font-size: 36px;
    font-weight: var(--font-weight-regular);
    color: var(--color-main);
}

.contact-modal__support {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;

    margin: 0;
    padding: 36px 120px;

    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-background-dark);

    background-color: var(--color-primary);
}
*/

/* Wraps after "veuillez", as in the design */
/*
.contact-modal__support-text {
    max-width: 290px;
}

.contact-modal__phone {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    white-space: nowrap;
    color: var(--color-background-dark);
}

.contact-modal__phone:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
*/
    /* Narrower than the screen, so Bootstrap's auto side margins keep a gap */
    /*
    .contact-modal {
        --bs-modal-margin: 40px;
        --bs-modal-width: calc(100% - 2 * var(--bs-modal-margin));
    }

    .contact-modal__body {
        padding: 64px 50px 42px 50px;
    }
    */

    /* Text on the left, phone under it on the right */
    /*
    .contact-modal__support {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 36px 50px;
        font-size: var(--font-size-body-small);
    }
    */

    /* Wraps in three lines, as in the design */
    /*
    .contact-modal__support-text {
        max-width: 150px;
    }

    .contact-modal__phone {
        align-self: flex-end;
        font-size: 36px;
    }
    */

    /* Overrides the 250px of .contact-form__field--message below 768px */
    /*
    .contact-modal__message {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .contact-modal {
        --bs-modal-margin: 16px;
    }

    .contact-modal__close {
        top: 16px;
        right: 16px;
    }
    */

    /* The title sits on the same line as the close button */
    /*
    .contact-modal__body {
        padding: 20px 10px 24px 10px;
    }

    .contact-modal__title {
        margin-bottom: 24px;
        font-size: 26px;
    }

    .contact-modal__support {
        gap: 8px;
        padding: 28px 20px 20px 20px;
        font-size: var(--font-size-label);
    }

    .contact-modal__support-text {
        max-width: 230px;
    }

    .contact-modal__phone {
        font-size: 26px;
    }
    */

    /* Same compact size as the site header button on phones */
    /*
    .contact-modal__submit {
        height: var(--button-small-height);
        padding: 5px 10px;
        font-size: var(--font-size-button-small);
        border-radius: var(--radius-button-small);
    }

    .contact-modal__submit-icon {
        width: 16px;
        height: auto;
    }
}
*/


/* ==========================================================================
   Wide container
   ========================================================================== */

/* Mixed with Bootstrap's .container (home page commitments, destination page sections, implementation country cards):
   1350px of content from xxl, as in the design, instead of 1296px */
@media (min-width: 1400px) {
    .wide-container {
        max-width: calc(1350px + var(--bs-gutter-x));
    }
}
