/*==================================================================
    Field Service landing page
    Design: Figma "3101 - Field Service Landing Page" (1920px, content 1440px)
    The page is RTL; logical properties keep it correct in English (LTR) too.
  ==================================================================*/

/*------------------------------------------------------------------
    Fonts
------------------------------------------------------------------*/
@font-face { font-family: 'Noto Sans Hebrew'; src: url('../fonts/NotoSansHebrew-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Noto Sans Hebrew'; src: url('../fonts/NotoSansHebrew-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Sans Hebrew'; src: url('../fonts/NotoSansHebrew-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Noto Sans Hebrew'; src: url('../fonts/NotoSansHebrew-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Noto Sans Hebrew'; src: url('../fonts/NotoSansHebrew-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/*------------------------------------------------------------------
    Tokens
------------------------------------------------------------------*/
:root {
    --navy: #001925;
    --navy-footer: #001f2e;
    --blue: #0081e8;
    --blue-dark: #006bc2;
    --blue-light: #b3d9f8;
    --blue-link: #3981e0;
    --gray: #f1f6f8;
    --text: #2b3941;
    --white: #fff;
    --line: rgba(0, 129, 232, 0.3);

    --container: 1440px;
    --gutter: 24px;
    --header-h: 100px;
    --radius: 6px;

    --fs-h1: 50px;
    --fs-h2: 32px;
    --fs-h3: 24px;
    --fs-body: 18px;

    --shadow-card: 113px 177px 59px 0 rgba(3, 129, 232, 0), 72px 113px 54px 0 rgba(3, 129, 232, 0.01), 41px 64px 45px 0 rgba(3, 129, 232, 0.05), 18px 28px 34px 0 rgba(3, 129, 232, 0.09), 5px 7px 18px 0 rgba(3, 129, 232, 0.1);
    --shadow-arrow: 0 4px 12px rgba(0, 25, 37, 0.18);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    /* Mobile browsers ignore overflow-x on body alone and widen the page to show anything
       sticking out (e.g. elements waiting for their reveal animation). clip, unlike hidden,
       creates no scroll container, so window scrolling is unchanged. */
    overflow-x: clip;
}

html[lang="en"] body{
    text-align: left;
}

body {
    margin: 0;
    font-family: 'Noto Sans Hebrew', 'Inter', Arial, sans-serif;
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden; /* fallback for browsers without clip */
    overflow-x: clip;
    text-align: right;
}

img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }

.container {
    width: min(var(--container), 100% - var(--gutter) * 2);
    margin-inline: auto;
}

/* Text coming from the CMS editor */
.rich p { margin: 0; }
.rich strong, .rich b { font-weight: 600; }
.rich a { color: var(--blue-link); }

.section-title {
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 1.158;
    letter-spacing: 0.01em;
}

.section-title--center { text-align: center; }

.body-text {
    font-size: var(--fs-body);
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--text);
}

/*
 * Two columns from the start side (right in Hebrew): column A, gap, column B.
 * Each section sets the Figma widths with --a / --b / --gap; the columns shrink on smaller screens.
 */
.split {
    display: grid;
    grid-template-columns: minmax(0, var(--a, 585px)) minmax(0, var(--b, 585px));
    column-gap: min(var(--gap, 149px), 8vw);
    justify-content: start;
    align-items: start;
}

/*------------------------------------------------------------------
    Buttons & links
------------------------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 60px;
    font-size: 16px;
    line-height: 1.458;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover, .btn--blue:focus-visible { background: var(--blue-dark); color: var(--white); }

.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover, .btn--white:focus-visible { background: var(--gray); color: var(--blue); }

.btn--outline {
    height: auto;
    padding: 6px 16px 8px;
    border-color: var(--blue);
    border-radius: 70px;
    color: var(--blue);
    font-size: 18px;
}
.btn--outline:hover, .btn--outline:focus-visible { background: var(--blue); color: var(--white); }

.btn--small {
    height: auto;
    padding: 7.5px 20px 9.5px;
    border-radius: 220px;
    background: var(--white);
    color: var(--navy);
}
.btn--small:hover, .btn--small:focus-visible { background: var(--gray); }

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-link);
    font-size: 18px;
    line-height: 1.5;
    text-decoration: none;
}
.arrow-link:hover { text-decoration: underline; }
[dir="ltr"] .arrow-link svg { transform: scaleX(-1); }

/*------------------------------------------------------------------
    Check list
------------------------------------------------------------------*/
.checklist {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist__item {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 18px;
    line-height: 32px;
}

.checklist__icon { flex: none; width: 27px; height: 27px; }
.checklist__title { font-weight: 600; color: var(--navy); }
.checklist__text { display: block; font-weight: 400; color: var(--navy); }

/* Two columns, filled row by row (IoT) */
.checklist--cols {
    grid-template-columns: 340px auto;
    justify-content: start;
    column-gap: 26px;
    row-gap: 21px;
}
.checklist--cols .checklist__item { gap: 26px; }

/* Title + text (app) */
.checklist--details { gap: 21px; }
.checklist--details .checklist__title { display: block; }

/*------------------------------------------------------------------
    Carousels (Swiper)
------------------------------------------------------------------*/
.carousel { position: relative; }
.carousel .swiper { overflow: visible; }
.carousel .swiper-slide { height: auto; }

.carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-top: -78px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-arrow);
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.carousel__arrow:hover { transform: scale(1.06); }
.carousel__arrow.swiper-button-disabled { opacity: 0.5; cursor: default; transform: none; }
.carousel__arrow.swiper-button-lock { display: none; }
.carousel__arrow--prev { inset-inline-start: -28px; }
.carousel__arrow--next { inset-inline-end: -28px; }
[dir="ltr"] .carousel__arrow svg { transform: scaleX(-1); }

/*------------------------------------------------------------------
    Header
------------------------------------------------------------------*/
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    background: var(--white);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-inline: 30px;
}

.site-header__logo { display: block; flex: none; }
.site-header__logo img { display: block; width: 183px; height: auto; }

.site-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 44px;
}

.site-nav__list {
    display: flex;
    gap: 44px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    font-size: 18px;
    line-height: 1.458;
    letter-spacing: 0.01em;
    color: var(--navy);
    text-decoration: none;
    white-space: nowrap;
}
.site-nav__link:hover, .site-nav__link:focus-visible { color: var(--blue); }

.site-header__side {
    display: flex;
    align-items: center;
    gap: 53px;
}

.site-header__electra { display: block; width: 158px; height: auto; }
.site-header__electra-link { display: block; flex-shrink: 0; }

.lang-switch { position: relative; }

.lang-switch__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.458;
    cursor: pointer;
}

.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    display: none;
    min-width: 110px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(0, 25, 37, 0.12);
}
.lang-switch.is-open .lang-switch__menu { display: block; }
.lang-switch__menu a { display: block; padding: 4px 16px; font-size: 16px; color: var(--navy); text-decoration: none; }
.lang-switch__menu a:hover { background: var(--gray); }

.site-header__burger { display: none; }

/* Sections: reveal on scroll (classes added by main.js, removed once shown) */
main .reveal {
    opacity: 0;
    translate: 0 32px;
    transition: opacity .8s ease, translate .8s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
main .reveal[class*="__media"] { translate: 0 0; scale: .96; transition-property: opacity, scale; }
main .reveal--box {
    translate: 0 0;
    scale: .6;
    transition: opacity .7s ease, scale 1s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
/* Customer: the small picture slides in from the top-right corner */
main .customer__media.reveal .customer__img--small {
    opacity: 0;
    translate: 90px -90px;
    transition: opacity .8s ease .3s, translate 1.1s cubic-bezier(.22, 1, .36, 1) .3s;
}
main .customer__media.reveal.is-visible .customer__img--small { opacity: 1; translate: 0 0; }
/* App: the phone slides in from the left */
main .app__media.reveal .app__phone {
    opacity: 0;
    translate: -120px 0;
    transition: opacity .8s ease .3s, translate 1.1s cubic-bezier(.22, 1, .36, 1) .3s;
}
main .app__media.reveal.is-visible .app__phone { opacity: 1; translate: 0 0; }
main .reveal--from-left {
    translate: -200px 0;
    transition: opacity 1s ease, translate 1.4s cubic-bezier(.22, 1, .36, 1);
}
main .reveal.is-visible { opacity: 1; translate: 0 0; scale: 1; }

/*------------------------------------------------------------------
    01 Hero
------------------------------------------------------------------*/
.hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 812px;
    margin-top: var(--header-h);
    padding: 240px 60px 58px;
    overflow: hidden;
    background-color: #000;
}

.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

.hero__card {
    position: relative;
    width: 830px;
    max-width: 100%;
    min-height: 514px;
    padding: 53px 49px 52px;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Entrance, as the emass.mipo.co.il banner: the white panel opens from the left,
   then the symbole and the text fade in */
.hero__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: inherit;
    transform-origin: left;
    animation: hero-card-open 1.2s ease .4s both;
}
.hero__card .hero__symbole,
.hero__card .hero__content { animation: hero-card-fade .4s ease-in-out 1.6s both; }

@keyframes hero-card-open { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hero-card-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .hero__card::before,
    .hero__card .hero__symbole,
    .hero__card .hero__content { animation: none; }
}

.hero__symbole {
    position: absolute;
    top: -164px;
    left: -203.1px;
    width: 488.097px;
    height: 688px;
    max-width: none;
    pointer-events: none;
}
[dir="ltr"] .hero__symbole { left: auto; right: -203.1px; transform: scaleX(-1); }

.hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 639px;
}

.hero__eyebrow {
    align-self: stretch;
    margin: 0 0 22px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.158;
    letter-spacing: 4.8px;
    text-transform: uppercase;
}

.hero__title {
    max-width: 617px;
    margin: 0 0 19px;
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 1.2;
}

.hero__text {
    margin: 0 0 42px;
    font-size: 24px;
    line-height: 1.458;
    letter-spacing: 0.01em;
}

/*------------------------------------------------------------------
    02 Intro (dark)
------------------------------------------------------------------*/
.intro {
    padding: 126px 0 110px;
    background: var(--navy);
    color: var(--white);
}

.intro .split { --a: 585px; --b: 591px; --gap: 149px; }

.intro__title {
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.intro__text {
    padding-top: 10px;
    font-size: var(--fs-body);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/*------------------------------------------------------------------
    03 Stats
------------------------------------------------------------------*/
.stats {
    position: relative;
    padding: 102px 0 119px;
    background: var(--gray);
    overflow: hidden;
}

.stats__symbole {
    position: absolute;
    top: -399px;
    inset-inline-start: -230px;
    width: 854px;
    max-width: none;
    height: auto;
    pointer-events: none;
}

.stats__inner { position: relative; --a: 531px; --b: 707px; --gap: 202px; }

.stats__title { padding-top: 1px; }

.stats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    gap: 31px 27px;
}

.stat-card {
    min-height: 214px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    filter: drop-shadow(0 4px 8px rgba(0, 129, 232, 0.15));
}

.stat-card__number {
    margin-bottom: 6px;
    color: var(--blue);
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.stat-card__text {
    font-size: var(--fs-body);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/*------------------------------------------------------------------
    04 Services (the cards sit half on white, half on the blue section below)
------------------------------------------------------------------*/
.services {
    --blue-part: 208px;
    padding-top: 106px;
    background: linear-gradient(to bottom, var(--white) calc(100% - var(--blue-part)), var(--blue) calc(100% - var(--blue-part)));
}

.services .section-title { line-height: 1.458; }

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 340px));
    justify-content: space-between;
    gap: 24px;
    margin-top: 63px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 94px;
    min-height: 394px;
    padding: 40px 25px;
    background: var(--gray);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.service-card__icon { display: flex; align-items: flex-end; justify-content: center; height: 90px; }
.service-card__icon img { max-height: 90px; width: auto; }

.service-card__title {
    margin-bottom: 6px;
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.service-card__text {
    min-height: 62px;
    font-size: var(--fs-body);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/*------------------------------------------------------------------
    05 More services (blue)
------------------------------------------------------------------*/
.more-services {
    position: relative;
    padding: 100px 0 138px;
    background: var(--blue);
    color: var(--white);
    overflow: hidden;
}

.more-services .carousel__arrow {
    margin-top: -28px;
}

.more-services__symbole {
    position: absolute;
    top: -438px;
    left: 50%;
    width: 1159px;
    max-width: none;
    height: auto;
    margin-left: -555px;
    opacity: 0.05;
    pointer-events: none;
}

.more-services .container { position: relative; }

.more-services__title {
    margin-bottom: 56px;
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.458;
    letter-spacing: 0.01em;
    text-align: center;
}

.more-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 218px;
    min-height: 219px;
    padding: 20px 10px;
    background: var(--gray);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    color: var(--navy);
    text-align: center;
    transition: opacity 0.3s;
}

/* Full screen width; the cards outside the container are half transparent (class set by main.js),
   the arrows stay at the edges of the container */
.carousel--more { --edge: calc((100% - min(var(--container), 100% - var(--gutter) * 2)) / 2); }
.carousel--more .swiper-slide.is-outside { opacity: 0.5; }
.carousel--marquee .swiper-wrapper { transition-timing-function: linear !important; }
.carousel--marquee .swiper-slide { transition: opacity 0.4s; }
.carousel--more .carousel__arrow--prev { inset-inline-start: calc(var(--edge) - 28px); }
.carousel--more .carousel__arrow--next { inset-inline-end: calc(var(--edge) - 28px); }

.more-card__icon { height: 63px; width: auto; max-width: 90px; }

.more-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.more-services__action { margin-top: 63px; text-align: center; }

/*------------------------------------------------------------------
    06 Fire
------------------------------------------------------------------*/
.fire { padding-top: 138px; }

.fire .split { --a: 585px; --b: 585px; --gap: 149px; }

.fire__media { position: relative; padding-bottom: 43px; }

.fire__img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
}

.fire__badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 30px;
    background: var(--white);
    border-radius: 120px;
    box-shadow: 0 87px 17.5px rgba(68, 137, 212, 0.03), 0 49px 14.5px rgba(68, 137, 212, 0.1), 0 22px 11px rgba(68, 137, 212, 0.17), 0 5px 6px rgba(68, 137, 212, 0.2);
}
.fire__badge img { display: block; width: 183px; height: auto; }

.fire__content { padding-top: 52px; }

.fire__title { margin-bottom: 18px; font-weight: 600; line-height: 1.31; }

.fire__list { margin-top: 32px; }

.fire .arrow-link { margin-top: 56px; }

.divider {
    width: min(1196px, 100%);
    margin: 120px auto 0;
    border: 0;
    border-top: 1px solid var(--line);
}

/*------------------------------------------------------------------
    07 Process
------------------------------------------------------------------*/
.process { padding: 76px 0 147px; }

.process__title { margin-bottom: 64px; font-weight: 600; line-height: 1.458; }

.process__grid {
    display: grid;
    grid-template-columns: 475fr 489fr 476fr;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--gray);
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    overflow: hidden;
}

.process__step {
    min-height: 300px;
    padding: 37px 20px 40px;
    text-align: center;
    border-inline-start: 1px solid var(--line);
    border-top: 1px solid var(--line);
}
.process__step:nth-child(3n + 1) { border-inline-start: 0; }
.process__step:nth-child(-n + 3) { border-top: 0; }

.process__num {
    display: block;
    margin-bottom: 46px;
    color: var(--blue);
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.458;
}

.process__step-title {
    margin-bottom: 31px;
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.458;
    letter-spacing: 0.01em;
}

.process__text {
    color: var(--text);
    font-size: var(--fs-body);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/*------------------------------------------------------------------
    08 Control center (blue band, the cards overflow on white)
------------------------------------------------------------------*/
.control {
    position: relative;
    padding-top: 89px;
    overflow: hidden;
}

.control::before {
    content: '';
    position: absolute;
    inset: 0 0 360px;
    background: var(--blue);
}

.control .container { position: relative; }
.carousel--control { padding-bottom: 95px; }

.control__head { --a: 557px; --b: 583px; --gap: 177px; margin-bottom: 70px; color: var(--white); }
.control__title { align-self: center; line-height: 1.058; }
.control__text { padding-top: 17px; font-size: var(--fs-body); line-height: 1.7; letter-spacing: 0.01em; }

.control-card {
    width: 463px;
    min-height: 524px;
    padding: 47px 46px 40px;
    background: var(--gray);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.control-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 370 / 340.6;
    object-fit: cover;
    border-radius: var(--radius);
}

.control-card__title {
    margin-top: 31px;
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.control-card__text { font-size: var(--fs-body); line-height: 1.7; letter-spacing: 0.01em; }

/*------------------------------------------------------------------
    09 IoT
------------------------------------------------------------------*/
.iot { padding: 127px 0 123px; }

.iot .split { --a: 570px; --b: 585px; --gap: 285px; }

.iot__title { margin-bottom: 52px; }
.iot__list-title { margin: 31px 0 24px; }

/* The box sits under the image and 61px outside it, aligned with the column */
.iot__media { position: relative; margin-top: 14px; padding-bottom: 152px; }

.iot__img {
    display: block;
    width: min(522px, 100%);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4.76px;
    margin-inline-start: auto;
}

.iot__box {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 414px;
    max-width: 100%;
    padding: 22px 36px;
    background: var(--gray);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    color: var(--text);
    font-size: var(--fs-body);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/*------------------------------------------------------------------
    10 App
------------------------------------------------------------------*/
/* clip: the phone starts 120px off to the left before its reveal animation */
.app { padding-bottom: 121px; overflow-x: clip; }

.app .split { --a: 599px; --b: 642px; --gap: 78px; }

/* The phone sits outside the image, at the bottom */
.app__media { position: relative; padding-bottom: 137px; }

.app__img {
    display: block;
    width: min(522px, 100%);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4.76px;
}

.app__phone {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    width: 188px;
    height: auto;
}

/* The check icons hang outside the text column */
.app__content { padding-inline-start: 57px; }
.app__title { margin-bottom: 18px; line-height: 1.31; }
.app__list { margin-top: 48px; margin-inline-start: -57px; }

/*------------------------------------------------------------------
    11 Professional
------------------------------------------------------------------*/
.professional {
    padding: 83px 0 142px;
    background: var(--gray);
}

.professional__head { --a: 554px; --b: 460px; --gap: 182px; margin-bottom: 103px; }
.professional__text { padding-top: 11px; color: var(--navy); }

.values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 463px));
    justify-content: space-between;
    gap: 25px 26px;
}

.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
    padding: 10px 30px 30px;
    background: var(--white);
    border-radius: var(--radius);
    text-align: center;
}
.value-card:nth-child(even) { background: var(--blue); color: var(--white); }

.value-card__img { display: flex; align-items: center; justify-content: center; height: 160px; }
.value-card__img img { width: auto; height: auto; max-width: 280px; max-height: 150px; }

.value-card__title {
    margin: 0 0 9px;
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.value-card__text {
    max-width: 339px;
    font-size: var(--fs-body);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/*------------------------------------------------------------------
    12 Customer
------------------------------------------------------------------*/
.customer {
    position: relative;
    padding: 127px 0 112px;
    overflow: hidden;
}

.customer__symbole {
    position: absolute;
    top: 263px;
    left: -227px;
    width: 701px;
    max-width: none;
    height: auto;
    pointer-events: none;
}
[dir="ltr"] .customer__symbole { left: auto; right: -227px; transform: scaleX(-1); }

.customer .container { position: relative; }
.customer .split { --a: 514px; --b: 710px; --gap: 216px; }

.customer__media { position: relative; min-height: 645px; }

.customer__img { position: absolute; display: block; height: auto; }
/* the small image includes its shadow (20px) */
.customer__img--small { top: -6px; inset-inline-start: -20px; z-index: 1; width: 322px; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.customer__img--large { top: 157px; inset-inline-end: 0; width: 437px; }

.customer__title { max-width: 463px; margin-bottom: 98px; }

.customer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    column-gap: 27px;
}

.customer__item {
    min-height: 172px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.customer__item-title { margin-bottom: 6px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; letter-spacing: 0.01em; }
.customer__item-text { font-size: var(--fs-body); line-height: 1.7; letter-spacing: 0.01em; }

/*------------------------------------------------------------------
    13 Clients
------------------------------------------------------------------*/
.clients { padding: 115px 0; }

.clients__title {
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.458;
    letter-spacing: 0.01em;
    text-align: center;
}

.clients__logos { margin-top: 65px; overflow: hidden; }
/* Constant speed, so the logos run as one continuous ticker */
.clients__logos .swiper-wrapper { align-items: center; transition-timing-function: linear; }
.clients__logos .swiper-slide { display: flex; align-items: center; justify-content: center; }
.clients__logos img { display: block; width: auto; height: 40px; max-width: 160px; object-fit: contain; }

/*------------------------------------------------------------------
    14 Projects
------------------------------------------------------------------*/
.projects {
    padding: 117px 0 165px;
    background: var(--gray);
    overflow: hidden;
}

.projects__title { margin-bottom: 62px; }

/* Full screen width: the active card in the middle, the next ones half transparent on the sides */
.carousel--projects { --project-w: min(706px, 100vw - var(--gutter) * 2 - 56px); width: 100%; }

.carousel--projects .swiper-slide { opacity: 0.5; transition: opacity 0.3s; }
.carousel--projects .swiper-slide-active { opacity: 1; }

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--project-w);
    min-height: 382px;
    padding: 50px 96px 44px;
    background: var(--blue) url('../image/home/project-card-bg.svg') no-repeat left 160px top / 544px 382px;
    border-radius: var(--radius);
    color: var(--white);
    text-align: center;
}

.project-card__title {
    margin: 16px 0 12px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.258;
    letter-spacing: 0.01em;
}

.project-card__text {
    max-width: 514px;
    margin-bottom: 32px;
    font-size: var(--fs-body);
    line-height: 1.458;
    letter-spacing: 0.01em;
}

.project-card .btn { margin-top: auto; }

.carousel--projects .carousel__arrow--prev { inset-inline-start: calc(50% - var(--project-w) / 2 - 41px); }
.carousel--projects .carousel__arrow--next { inset-inline-end: calc(50% - var(--project-w) / 2 - 41px); }

.carousel--projects .swiper-pagination {
    position: static;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
}

.carousel--projects .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 8px;
    background: var(--blue-light);
    opacity: 1;
    transition: width 0.3s, background-color 0.3s;
}
.carousel--projects .swiper-pagination-bullet-active { width: 26.67px; background: var(--blue); }

/* Popup: the box is inside a transparent dialog so the arrows and dots can sit outside it */
.project-dialog {
    width: min(1196px, 100% - 120px);
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
    color: var(--white);
}
.project-dialog::backdrop { background: rgba(0, 25, 37, 0.8); }

.project-dialog__box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 397px) minmax(0, 463px);
    justify-content: space-between;
    column-gap: 40px;
    align-items: start;
    min-height: 0;
    max-height: calc(100vh - 120px);
    padding-block: 100px 60px;
    padding-inline: 10.3% 10.2%;
    background: var(--blue) url('../image/home/project-dialog-bg.svg') no-repeat right top / 800px 613px;
    border-radius: var(--radius);
    overflow-y: auto;
}
[dir="ltr"] .project-dialog__box { background-position: left top; }

.project-dialog__close {
    position: absolute;
    top: 25px;
    inset-inline-start: 30px;
    display: flex;
    padding: 16px;
    border: 0;
    background: none;
    color: var(--gray);
    cursor: pointer;
}

.project-dialog__title {
    margin: 0;
    align-self: center;
    text-align: center;
    font-size: var(--fs-h1);
    font-weight: 400;
    line-height: 1.158;
    letter-spacing: 0.01em;
}

.project-dialog__text { padding-top: 8px; font-size: var(--fs-body); line-height: 1.7; letter-spacing: 0.01em; }
.project-dialog__text p + p { margin-top: 12px; }
.project-dialog__text strong, .project-dialog__text b { font-weight: 700; }

.project-dialog .carousel__arrow--prev { inset-inline-start: -28px; }
.project-dialog .carousel__arrow--next { inset-inline-end: -28px; }

.project-dialog__dots {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}
.project-dialog__dot { width: 8px; height: 8px; border-radius: 8px; background: rgba(241, 246, 248, 0.6); }
.project-dialog__dot.is-active { width: 26.67px; background: var(--white); }

/*------------------------------------------------------------------
    15 Contact
------------------------------------------------------------------*/
.contact { padding: 137px 0 108px; }

.contact__box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 463px);
    justify-content: start;
    column-gap: min(169px, 8vw);
    min-height: 658px;
    padding-block: 124px 85px;
    padding-inline: 122px 243px;
    background: var(--navy);
    border-radius: 10px;
    overflow: hidden;
    color: var(--white);
}

.contact__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    opacity: 0.09;
    pointer-events: none;
}

.contact__intro, .contact-form { position: relative; }

.contact__title {
    margin-bottom: 27px;
    color: var(--blue);
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 1.158;
    letter-spacing: 0.01em;
}

.contact__text { font-size: var(--fs-body); line-height: 1.5; letter-spacing: 0.01em; }

.contact-form { display: flex; flex-direction: column; padding-top: 8px; }

.contact-form__field { display: block; margin-bottom: 10px; }

.contact-form__label {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 4px;
    padding: 0 19px;
    border: 1px solid rgba(217, 217, 217, 0.6);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-align: start;
    transition: border-color 0.2s;
}

.contact-form textarea { height: 95px; padding-top: 12px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.6); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form .is-invalid { border-color: #ff6b6b; }

.contact-form__note { margin: 3px 0 9px; font-size: 12px; line-height: 1.5; }

.contact-form__submit {
    align-self: flex-end;
    width: 217px;
    color: var(--navy);
    font-weight: 700;
}
.contact-form__submit:disabled { opacity: 0.6; cursor: wait; }

.contact-form__status { min-height: 27px; margin-top: 12px; font-size: 16px; }
.contact-form__status.is-success { color: #7fd1a0; }
.contact-form__status.is-error { color: #ff9b9b; }

/*------------------------------------------------------------------
    Footer
------------------------------------------------------------------*/
.site-footer {
    background: var(--navy-footer);
    color: var(--white);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    min-height: 140px;
    padding-block: 30px;
    padding-inline: 60px 101px;
}

.site-footer__logo { width: 231px; height: auto; }
.site-footer__logo-link { display: inline-block; line-height: 0; }

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.458;
    letter-spacing: 0.06em;
}
.site-footer__links a { padding: 0 12px; color: var(--white); text-decoration: none; }
.site-footer__links a + a { border-inline-start: 1px solid currentColor; }
.site-footer__links a:hover { text-decoration: underline; }

.site-footer__credits {
    justify-self: end;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.458;
    letter-spacing: 0.01em;
    text-align: center;
}
.site-footer__credits a { color: var(--gray); text-decoration: none; }
.site-footer__credits a:hover { text-decoration: underline; }
.site-footer__copyright p { margin: 0; }
.site-footer__copyright a { text-decoration: underline; }

/*------------------------------------------------------------------
    Responsive
------------------------------------------------------------------*/
@media (max-width: 1600px) {
    .site-nav, .site-nav__list { gap: 30px; }
    .site-header__side { gap: 30px; }
}

@media (max-width: 1440px) {
    :root { --fs-h1: 44px; }
    .site-nav__link, .btn--outline, .lang-switch__toggle { font-size: 16px; }
    .contact__box { padding: 100px 70px 70px; }
}

@media (max-width: 1280px) {
    :root { --fs-h1: 40px; --fs-h2: 28px; --fs-h3: 22px; --header-h: 80px; }
    .site-header__logo img { width: 150px; }
    .site-header__electra { width: 130px; }
    .site-nav, .site-nav__list { gap: 22px; }
    .services { --blue-part: 160px; }
    .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card { min-height: 320px; gap: 50px; }
    .stats__inner { grid-template-columns: 1fr; row-gap: 48px; }
    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .checklist--cols { grid-template-columns: 1fr 1fr; }
    .customer__img--large { width: 85%; }
    .customer__img--small { width: 62%; }
    .site-footer__inner { padding-inline: 40px; }
}

/* Tablet & mobile: one column, mobile menu */
@media (max-width: 1024px) {
    :root { --fs-h1: 34px; --fs-h2: 26px; --fs-h3: 20px; --fs-body: 17px; --header-h: 72px; }

    .site-header__inner { padding-inline: 20px; }
    .site-header__electra, .site-header__electra-link { display: none; }
    .site-header__side { margin-inline-start: auto; margin-inline-end: 20px; }

    .site-header__burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        width: 40px;
        height: 40px;
        padding: 8px;
        border: 0;
        background: none;
        cursor: pointer;
    }
    .site-header__burger span { display: block; height: 1.5px; background: var(--navy); transition: transform 0.25s, opacity 0.25s; }
    .site-header.is-menu-open .site-header__burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
    .site-header.is-menu-open .site-header__burger span:nth-child(2) { opacity: 0; }
    .site-header.is-menu-open .site-header__burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 28px;
        background: var(--white);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s, visibility 0.2s;
    }
    .site-header.is-menu-open .site-nav { visibility: visible; opacity: 1; }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--gray); font-size: 18px; }
    .site-nav__contact { align-self: flex-start; margin-top: 20px; }

    .split { grid-template-columns: 1fr; row-gap: 28px; }
    .iot__media { order: 2; }

    .hero { min-height: 0; padding: 200px 24px 48px; }
    .hero__card { min-height: 0; padding: 40px 32px; }
    .hero__text { margin-bottom: 30px; font-size: 20px; }

    .intro { padding: 70px 0; }
    .stats { padding: 70px 0; }
    .services { padding-top: 70px; }
    .services__grid { margin-top: 40px; }
    .more-services { padding: 70px 0 80px; }
    .fire { padding-top: 70px; }
    .fire__content { padding-top: 10px; }
    .divider { margin-top: 70px; }

    .process { padding: 60px 0 80px; }
    .process__title { margin-bottom: 40px; }
    .process__grid { grid-template-columns: 1fr 1fr; }
    .process__step { min-height: 0; padding: 30px 20px; }
    .process__step,
    .process__step:nth-child(3n + 1),
    .process__step:nth-child(-n + 3) { border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); }
    .process__step:nth-child(odd) { border-inline-start: 0; }
    .process__step:nth-child(-n + 2) { border-top: 0; }
    .process__num { margin-bottom: 20px; }
    .process__step-title { margin-bottom: 14px; }

    .control { padding-top: 60px; }
    .control__head { margin-bottom: 40px; }
    .control-card { width: 380px; min-height: 0; padding: 30px; }

    .iot { padding: 70px 0; }
    .iot__title { margin-bottom: 24px; }
    .iot__media { margin-top: 0; padding-bottom: 120px; }
    .iot__img { margin-inline: 0 auto; }
    .iot__box { inset-inline-start: auto; inset-inline-end: 0; }

    .app { padding-bottom: 70px; }
    .app__media { max-width: 600px; }
    .app__content { padding-inline-start: 0; }
    .app__list { margin-top: 32px; margin-inline-start: 0; }

    .professional { padding: 70px 0; }
    .professional__head { margin-bottom: 40px; }
    .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* keep a checkerboard on 2 columns */
    .value-card:nth-child(even) { background: var(--white); color: var(--navy); }
    .value-card:nth-child(4n + 2), .value-card:nth-child(4n + 3) { background: var(--blue); color: var(--white); }

    .customer { padding: 70px 0; }
    .customer__symbole { display: none; }
    .customer__media { order: 2; display: flex; align-items: flex-start; gap: 16px; min-height: 0; }
    .customer__img, .customer__img--large, .customer__img--small { position: static; width: calc(50% - 8px); }
    .customer__title { margin-bottom: 32px; }

    .clients { padding: 70px 0; }
    .clients__logos { margin-top: 36px; }

    .projects { padding: 70px 0 80px; }
    .projects__title { margin-bottom: 36px; }
    .project-card { padding: 40px 48px; }

    .contact { padding: 70px 0; }
    .contact__box { grid-template-columns: 1fr; row-gap: 32px; min-height: 0; padding: 60px 40px; }

    .site-footer__inner { grid-template-columns: 1fr; justify-items: center; padding: 36px 24px; text-align: center; }
    .site-footer__credits { justify-self: center; }
}

@media (max-width: 768px) {
    :root { --fs-h1: 30px; --fs-h2: 24px; --fs-h3: 20px; --fs-body: 16px; --gutter: 16px; }

    .site-header__logo img { width: 130px; }
    .lang-switch__toggle { font-size: 15px; }

    /* the video (large media) takes the full width on mobile */
    .customer__media { flex-wrap: wrap; }
    .customer__img--large { width: 100%; }

    .hero { padding: 300px 16px 32px; }
    .hero__card { padding: 28px 20px; }
    .hero__symbole { top: -110px; left: -150px; width: 330px; height: 465px; }
    .hero__eyebrow { margin-bottom: 14px; font-size: 13px; letter-spacing: 3.2px; }
    .hero__title { margin-bottom: 14px; }
    .hero__text { margin-bottom: 24px; font-size: 16px; }

    .stats__grid, .services__grid, .values, .customer__grid { grid-template-columns: 1fr; }
    .stats__symbole { display: none; }
    .stat-card { min-height: 0; padding: 24px; }
    .service-card { min-height: 0; gap: 30px; padding: 36px 24px; }

    .checklist--cols { grid-template-columns: 1fr; }
    .checklist__item, .checklist--cols .checklist__item { gap: 16px; }

    .process__grid { grid-template-columns: 1fr; }
    .process__step, .process__step:nth-child(odd) { border-inline-start: 0; }
    .process__step:nth-child(-n + 2) { border-top: 1px solid var(--line); }
    .process__step:first-child { border-top: 0; }

    .control::before { bottom: 260px; }
    .control-card { width: 290px; padding: 20px; }
    .control-card__title { margin-top: 20px; }

    .iot__media { padding-bottom: 0; }
    .iot__box { position: relative; inset: auto; width: auto; margin: -40px 16px 0; }

    .app__media { padding-bottom: 90px; }
    .app__img { width: calc(100% - 50px); }
    .app__phone { width: 150px; }

    .value-card, .value-card:nth-child(4n + 2), .value-card:nth-child(4n + 3) { min-height: 0; background: var(--white); color: var(--navy); }
    .value-card:nth-child(even) { background: var(--blue); color: var(--white); }

    .customer__item { min-height: 0; padding-bottom: 24px; }

    .clients__logos img { height: 32px; }

    .carousel__arrow { width: 44px; height: 44px; margin-top: -22px; }
    .carousel__arrow--prev { inset-inline-start: -10px; }
    .carousel__arrow--next { inset-inline-end: -10px; }
    .carousel--more .carousel__arrow--prev { inset-inline-start: calc(var(--edge) - 10px); }
    .carousel--more .carousel__arrow--next { inset-inline-end: calc(var(--edge) - 10px); }
    .carousel--projects .carousel__arrow--prev { inset-inline-start: calc(50% - var(--project-w) / 2 - 14px); }
    .carousel--projects .carousel__arrow--next { inset-inline-end: calc(50% - var(--project-w) / 2 - 14px); }

    .project-card { min-height: 0; padding: 32px 24px; }
    .project-card__title { font-size: 24px; }

    .project-dialog { width: calc(100% - 40px); }
    .project-dialog__box { grid-template-columns: minmax(0, 1fr); row-gap: 16px; min-height: 0; padding: 84px 24px 32px; background-size: 520px 398px; }
    .project-dialog__close { top: 8px; inset-inline-start: 8px; }
    .project-dialog__title { font-size: var(--fs-h2); }
    .project-dialog__text { padding-top: 0; font-size: 16px; }
    .project-dialog .carousel__arrow--prev { inset-inline-start: -14px; }
    .project-dialog .carousel__arrow--next { inset-inline-end: -14px; }
    .project-dialog__dots { margin-top: 20px; }

    .contact__box { padding: 40px 20px; }
    .contact-form__submit { width: 100%; }

    .site-footer__links a { padding: 0 8px; }
}

/* ---------- Content pages of the footer links (accessibility, privacy...) ---------- */
.content-page {
    padding: calc(var(--header-h) + 60px) var(--gutter) 80px;
    background: var(--white);
    color: var(--text);
}
.content-page__inner { max-width: 960px; margin: 0 auto; }
.content-page__title { margin: 0 0 32px; color: var(--navy); font-size: 40px; font-weight: 400; line-height: 1.2; }
.content-page__body { font-size: var(--fs-body); line-height: 1.6; overflow-wrap: anywhere; }
.content-page__body h2, .content-page__body h3 { margin: 32px 0 12px; color: var(--navy); font-weight: 400; }
.content-page__body p, .content-page__body ul, .content-page__body ol { margin: 0 0 16px; }
.content-page__body ul, .content-page__body ol { padding-inline-start: 24px; }
.content-page__body a { color: var(--blue-link); }
.content-page__body img { max-width: 100%; height: auto; }
.content-page__body table { width: 100%; border-collapse: collapse; }
.content-page__body td, .content-page__body th { padding: 8px; border: 1px solid var(--line); }
@media (max-width: 767px) {
    .content-page { padding: calc(var(--header-h) + 32px) 16px 48px; }
    .content-page__title { font-size: 28px; margin-bottom: 20px; }
}
