/* =============================================================
   AIC Theme — base stylesheet
   - HPE Graphik @font-face
   - Design tokens (colors, spacing, type scale)
   - Section layouts
   ============================================================= */

/* ---------- 1. Fonts ---------- */
@font-face {
    font-family: 'HPE Graphik';
    src: url('../fonts/HPEGraphik-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HPE Graphik';
    src: url('../fonts/HPEGraphik-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HPE Graphik';
    src: url('../fonts/HPEGraphik-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HPE Graphik';
    src: url('../fonts/HPEGraphik-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HPE Graphik';
    src: url('../fonts/HPEGraphik-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HPE Graphik';
    src: url('../fonts/HPEGraphik-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- 2. Design tokens ---------- */
/* Source of truth: Assets/design-template.png
 * Type scale + section padding are driven by 4 breakpoints (Mobile / 1280 / 1440 / 1920).
 * The :root block holds Mobile values; each media query overrides them per breakpoint.
 */
:root {
    --color-green: #01A982;
    --color-dark: #1D1F27;
    --color-light: #F7F7F7;
    --color-mid: #D5D5D5;
    --color-text: #1D1F27;
    --color-white: #ffffff;

    --container-max: 1440px;

    --font-base: 'HPE Graphik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* --- Mobile --- */
    --fs-h1: 28px;
    --fs-h2: 24px;
    --fs-h3: 22px;
    --fs-h4: 20px;
    --fs-h5: 16px;
    --fs-p:  12px;

    --section-pad-y: 24px;
    --container-pad-x: 16px;
}

/* Mobile typography — bumped one notch so body copy and small headings
   read comfortably on a phone. */
@media (max-width: 699px) {
    :root {
        --fs-h1: 32px;
        --fs-h2: 26px;
        --fs-h3: 22px;
        --fs-h4: 20px;
        --fs-h5: 18px;
        --fs-p:  15px;
    }
}

@media (min-width: 700px) {
    :root {
        --section-pad-y: 32px;
    }
}

@media (min-width: 1280px) {
    :root {
        --fs-h1: 52px;
        --fs-h2: 42px;
        --fs-h3: 28px;
        --fs-h4: 24px;
        --fs-h5: 16px;
        --fs-p:  14px;

        --section-pad-y: 44px;
        --container-pad-x: 32px;
    }
}
@media (min-width: 1440px) {
    :root {
        --fs-h1: 64px;
        --fs-h2: 42px;
        --fs-h3: 32px;
        --fs-h4: 24px;
        --fs-h5: 20px;
        --fs-p:  16px;

        --section-pad-y: 56px;
    }
}
@media (min-width: 1920px) {
    :root {
        --fs-h1: 82px;
        --fs-h2: 56px;
        --fs-h3: 42px;
        --fs-h4: 32px;
        --fs-h5: 24px;
        --fs-p:  20px;

        --section-pad-y: 72px;
    }
}

/* ---------- 3. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-white);
    font-size: var(--fs-p);
    line-height: 1.55;
    overflow-x: clip; /* contain any horizontal bleed from sliders / fixed overlays */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--color-dark); }
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
p  { margin: 0 0 1em; }

ul { padding-left: 1.2em; }

/* ---------- 4. Layout primitives ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad-x);
    width: 100%;
}
.section {
    padding: var(--section-pad-y) 0;
}

/* ---------- Scroll reveal (smooth in/out as sections enter/leave viewport) ---------- */
.section.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}
.section.reveal.is-in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .section.reveal { opacity: 1; transform: none; transition: none; }
}
.section--alt { background: var(--color-light); }
.section__header { margin-bottom: 2em; }
.section__title { font-size: var(--fs-h2); }
.section__title--centered { text-align: center; }
.section__intro { max-width: 720px; }
.section__caption { text-align: center; margin-top: 1em; color: #555; }

.btn {
    display: inline-block; padding: 14px 28px; border-radius: 999px;
    font-weight: 600; font-size: 1rem; cursor: pointer; border: 0;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none;
}
.btn--primary { background: var(--color-green); color: #fff; }
.btn--primary:hover { transform: translateY(-1px); text-decoration: none; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid #fff; }

/* The sticky header reserves its own height in flow; scroll-padding lets
   anchor-link jumps land below it so section titles aren't hidden under
   the bar. */
html { scroll-padding-top: 80px; }

/* ---------- 5. Header ---------- */
.site-header {
    padding: 16px 0;
    background: var(--color-white);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-mid);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .site-title { color: var(--color-text); font-weight: 700; font-size: 1.25rem; }
/* Cap the logo on small screens so it doesn't dominate the header */
@media (max-width: 700px) {
    .site-header .custom-logo-link img,
    .site-header .site-branding img { max-height: 32px; width: auto; }
}
.site-nav .primary-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; }
.site-nav .primary-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color .2s ease;
}
.site-nav .primary-menu a:hover { color: var(--color-green); text-decoration: none; }
.site-nav .primary-menu a.is-active { color: var(--color-green); }

/* ----- Mobile hamburger ----- */
.site-nav-toggle {
    display: none;
    width: 40px; height: 40px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 110;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.site-nav-toggle__bar {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
}
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
    z-index: 95;
}
.site-nav-overlay.is-open {
    opacity: 1; visibility: visible;
    transition: opacity .25s ease;
}

@media (max-width: 900px) {
    .site-nav-toggle { display: inline-flex; }
    .site-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(320px, 80vw);
        background: var(--color-white);
        box-shadow: -8px 0 24px rgba(0,0,0,.12);
        padding: 80px 24px 24px;
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 100;
        overflow-y: auto;
    }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav .primary-menu {
        flex-direction: column;
        gap: 4px;
    }
    .site-nav .primary-menu a {
        display: block;
        padding: 12px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--color-mid);
    }
    body.nav-open { overflow: hidden; }
}

/* ---------- 6. Hero / Banner ---------- */
.section--hero {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
    /* Match the source banner asset's aspect (1920x850 ≈ 2.26:1) so
       object-fit:cover doesn't have to zoom-crop. min-height is a floor
       for unusually narrow desktops; below 769px the mobile rules below
       take over. */
    aspect-ratio: 1920 / 850;
    min-height: 480px;
    padding: 0; /* background image is full-bleed; spacing comes from .hero__inner */
}
@media (max-width: 768px) {
    /* Mobile banner: render the (mobile-specific) image at its NATURAL
       aspect ratio so nothing is cropped. The section height follows the
       image. Title/subtitle sit on top of the image as an absolute overlay
       at the bottom, with a gradient for legibility. */
    .section--hero {
        min-height: 0;
        aspect-ratio: auto;       /* let the image dictate height on mobile */
        padding: 0;
        text-align: left;
    }
    .section--hero .hero__slides { min-height: 0; }
    .section--hero .hero__slide {
        display: block;          /* not flex — let the image dictate height */
        align-items: stretch;
        min-height: 0;
        position: relative;
    }
    .section--hero .hero__slide-bg-wrap {
        display: block;          /* <picture> defaults to inline */
    }
    .section--hero .hero__slide-bg {
        position: relative;      /* leave normal flow */
        inset: auto;
        width: 100%;
        height: auto;            /* natural aspect, no cropping */
        max-height: none;
        display: block;
    }
    /* Even legibility wash so a centered title reads against any image */
    .section--hero .hero__slide::after {
        background: linear-gradient(180deg,
            rgba(0,0,0,.35) 0%,
            rgba(0,0,0,.25) 50%,
            rgba(0,0,0,.45) 100%);
    }
    .section--hero .hero__inner {
        position: absolute;
        inset: 0;                /* fill the slide so we can vertically center */
        padding: 24px;
        display: flex; flex-direction: column;
        align-items: flex-start; justify-content: center;
        z-index: 2;
    }
    .section--hero .hero__content { max-width: none; margin: 0; }
    .section--hero .hero__title,
    .section--hero .hero__subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
    .section--hero .hero__subtitle { margin-top: 12px; }
}

/* Slider — each slide is a full-bleed background image with the title /
   subtitle overlaid. Slides stack and cross-fade. The grid is sized to
   fill the section so it picks up aspect-ratio-driven heights, not just
   the `min-height` floor. */
.hero__slides {
    display: grid;
    grid-template-areas: "slide";
    grid-template-rows: 1fr;
    width: 100%;
    height: 100%;
    min-height: inherit;
    position: relative;
    z-index: 1;
}
.hero__slide {
    grid-area: slide;
    position: relative;
    height: 100%;
    min-height: inherit;
    display: flex; align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1), visibility 0s linear 1.1s;
}
.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}
/* The slide's image fills the banner area as the background */
.hero__slide-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
/* Dark gradient overlay for text legibility on busy images */
.hero__slide::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.15) 100%);
    z-index: 1;
    pointer-events: none;
}

.section--hero h1 { color: #fff; }

/* Background layer — either a full-bleed image or two aurora blobs */
.hero__bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero__bg-image {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transform: scaleX(-1); /* flip BG horizontally */
}
.hero__overlay {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; display: block;
    pointer-events: none;
}
.hero__aurora {
    position: absolute;
    width: 90%;
    height: 60%;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .55;
}
.hero__aurora--top {
    top: -10%; left: -15%;
    background: radial-gradient(circle at 30% 50%, #01A982 0%, rgba(1,169,130,0) 60%),
                radial-gradient(circle at 70% 30%, #1e6bff 0%, rgba(30,107,255,0) 60%);
}
.hero__aurora--bottom {
    bottom: -25%; right: -10%;
    background: radial-gradient(circle at 60% 60%, #1e6bff 0%, rgba(30,107,255,0) 60%),
                radial-gradient(circle at 30% 30%, #01A982 0%, rgba(1,169,130,0) 60%);
}

.hero__inner {
    position: relative; z-index: 2;
    display: block;
    width: 100%;
    padding: 80px 0;
}
@media (max-width: 768px) { .hero__inner { padding: 56px 0; } }

.hero__content { max-width: 63%; }
.hero__icon { width: 56px; height: 56px; margin-bottom: 16px; }
.hero__title {
    /* Same visual whether the element is <h1> on slide 1 or <p> on later slides */
    font-size: var(--fs-h1);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero__subtitle {
    font-size: var(--fs-h5);
    color: rgba(255,255,255,.92);
    max-width: 520px;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero__cta { margin-top: 32px; }
.hero__media {
    display: flex; justify-content: center; align-items: center;
    max-height: 560px;
}
.hero__media img {
    max-width: 100%;
    max-height: 560px;
    width: auto; height: auto;
    object-fit: contain;
}

/* Prev/next section arrows on the right edge */
.section-nav {
    position: absolute; right: 24px;
    top: 80px; bottom: 80px;
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    color: rgba(255,255,255,.7);
}
.section-nav__btn {
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    color: rgba(255,255,255,.85);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.section-nav__btn:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}
.section-nav__btn:disabled { opacity: .35; cursor: default; }
.section-nav__btn:disabled:hover { background: transparent; border-color: rgba(255,255,255,.6); color: rgba(255,255,255,.85); }
.section-nav__btn--down {
    border-color: var(--color-green);
    color: var(--color-green);
}
.section-nav__btn--down:hover {
    background: rgba(1,169,130,.12);
    border-color: var(--color-green);
    color: var(--color-green);
}
.section-nav__line {
    flex: 1; min-height: 40px;
    margin: 8px 0;
    display: flex; flex-direction: column; align-items: center;
    gap: 2px;
}
.section-nav__seg {
    flex: 1;
    width: 1px;
    background: rgba(255,255,255,.25);
    border: 0; padding: 0;
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
}
.section-nav__seg:hover { background: rgba(255,255,255,.5); }
.section-nav__seg.is-active {
    background: #fff;
    width: 2px;
}
@media (max-width: 768px) {
    .section-nav { display: none; }
}

/* ---------- 7. About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: stretch; }
@media (min-width: 900px) { .about__inner { gap: 48px; } }
.about__content { display: flex; flex-direction: column; justify-content: flex-start; }
.about__media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}
.about__media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
/* On mobile the parent is single-column with no enforced height,
   so absolute-fill collapses to 0. Switch the image to natural flow. */
@media (max-width: 899px) {
    .about__media { min-height: 0; aspect-ratio: 16/10; }
    .about__media img {
        position: static; inset: auto;
        width: 100%; height: 100%;
        object-fit: cover;
    }
}
.about__bullets { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 1em; }
.about__bullets .check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--color-green); color: #fff; font-size: 14px;
    margin-right: 10px;
}
@media (min-width: 900px) {
    .about__inner { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- 8. Feature grids (Why HPE / Key Benefits) ---------- */
.feature-grid {
    display: grid; gap: 56px 48px;
    grid-template-columns: 1fr;
}
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
    .feature-grid--cards   { grid-template-columns: repeat(3, 1fr); }
    .feature-grid--cols-4  { grid-template-columns: repeat(4, 1fr); }
}
.feature-card, .benefit {
    padding: 0; background: transparent; border: 0; border-radius: 0;
}
.feature-card__icon, .benefit__icon {
    width: clamp(40px, 3vw, 56px);
    height: clamp(40px, 3vw, 56px);
    margin-bottom: clamp(16px, 1.5vw, 24px);
    object-fit: contain;
}
.feature-card__title {
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 clamp(16px, 1.8vw, 28px);
    color: var(--color-dark);
}
.feature-card__points {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: clamp(10px, 1.2vw, 20px);
}
.feature-card__points li {
    display: grid;
    grid-template-columns: clamp(18px, 1.4vw, 24px) 1fr;
    gap: clamp(8px, 1vw, 16px);
    align-items: start;
    font-size: var(--fs-p);
    line-height: 1.4;
    color: var(--color-dark);
}
.feature-card__check {
    width: clamp(16px, 1.4vw, 22px);
    height: clamp(16px, 1.4vw, 22px);
    margin-top: 3px;
    display: block;
}

/* Vertical divider between cards in the >=1100px 3-column layout.
   The line only flanks the text block — it starts below the icon. */
@media (min-width: 1100px) {
    .feature-grid--cards .feature-card {
        position: relative;
        padding-left: 40px;
    }
    .feature-grid--cards .feature-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: calc(clamp(40px, 3vw, 56px) + clamp(16px, 1.5vw, 24px));
        bottom: 0;
        width: 1px;
        background: var(--color-mid);
    }
    .feature-grid--cards .feature-card:nth-child(3n+1) {
        padding-left: 0;
    }
    .feature-grid--cards .feature-card:nth-child(3n+1)::before { display: none; }
}

/* Why HPE section: green subtitle, modest breathing room before the grid */
.section--why-hpe .section__header { margin-bottom: clamp(24px, 3vw, 40px); }
.section--why-hpe .section__intro {
    color: var(--color-green);
    font-size: var(--fs-h4);
    font-weight: 600;
    margin: 8px 0 0;
}

/* ---------- 9. Watch / Learn tile grid ---------- */
.tile-grid {
    display: grid; gap: 32px;
    grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }

/* Desktop / tablet: clones aren't needed — JS-driven loop only on mobile */
@media (min-width: 700px) {
    .tile.tile--clone { display: none; }
}

/* Mobile: turn the grid into a horizontal swipe slider — one tile per
   "page" with the next one peeking on the right edge. The list is
   rendered twice in PHP and JS teleports scroll back at the half-way
   mark so swipes loop forever. */
@media (max-width: 699px) {
    .tile-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        /* Note: no `scroll-behavior: smooth` — would interfere with the
           silent teleport JS does at the half-way mark. */
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 4px 0 16px;
    }
    .tile-grid::-webkit-scrollbar { display: none; }
    .tile {
        scroll-snap-align: start;
        flex: 0 0 92%;
    }
}
.tile {
    background: transparent;
    color: var(--color-dark);
    display: flex; flex-direction: column;
}
.tile__media {
    position: relative;
    display: block;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 24px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
a.tile__media:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}
/* Subtle dark wash that fades in on hover for a "video over" feel */
.tile__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: 1;
}
.tile__media img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%; display: block;
    transition: transform .6s cubic-bezier(.2,.65,.3,1), filter .35s ease;
}
.tile:hover .tile__media img {
    transform: scale(1.06);
    filter: brightness(.95);
}
.tile:hover .tile__media::after { opacity: 1; }
.tile__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--color-green);
    display: inline-flex; align-items: center; justify-content: center;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: transform .35s ease, box-shadow .35s ease;
    z-index: 2;
}
.tile:hover .tile__play {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 8px 24px rgba(1,169,130,.55);
}
.tile__play svg { margin-left: 2px; }
.tile__body { padding: 0; flex: 1; display: flex; flex-direction: column; }
.tile__title {
    color: var(--color-dark);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 12px;
}
.tile__desc {
    font-size: 16px;
    line-height: 1.5;
    color: #4A4D57;
    margin: 0 0 24px;
    flex: 1;
}
.tile__cta {
    color: var(--color-green);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    align-self: flex-start;
}
.tile__cta:hover { text-decoration: underline; }
.tile__cta span {
    display: inline-block;
    width: 16px; height: 12px;
    background: url('../img/arrow.png') center / contain no-repeat;
    font-size: 0; line-height: 0; color: transparent;
    transition: transform .2s ease;
}
.tile__cta:hover span { transform: translateX(3px); }

/* ---------- 10. Featured video ---------- */
.section--featured-video { background: var(--color-dark); color: #fff; }
.section--featured-video .section__title { color: #fff; }
.featured-video__inner {
    display: grid; gap: 48px;
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 1000px) {
    .featured-video__inner { grid-template-columns: 1fr 1.2fr; gap: 64px; }
}
.featured-video__content { display: flex; flex-direction: column; }
.featured-video__title {
    color: #fff;
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 32px;
}
.featured-video__cta { align-self: flex-start; }
.featured-video__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
}
.featured-video__media img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .3s ease;
}
.featured-video__media:hover img { transform: scale(1.02); }
.featured-video__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: clamp(40px, 3vw, 48px); height: clamp(40px, 3vw, 48px);
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    border: 0;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.featured-video__media:hover .featured-video__play { background: var(--color-green); }
.featured-video__play svg { margin-left: 2px; width: 16px; height: 16px; }
.video-embed { aspect-ratio: 16/9; max-width: 1100px; margin: 0 auto; }
.video-embed iframe, .video-embed video { width: 100%; height: 100%; border: 0; border-radius: 8px; }

/* ---------- 11. Saudi-made banner ---------- */
/* Saudi-made banner — light gray card, dark text.
   Section padding matches every other section (--section-pad-y); the card
   has its own internal padding for the inner breathing room. */
.section--banner .banner__inner {
    background: var(--color-light);
    color: var(--color-dark);
    padding: clamp(40px, 5vw, 80px) clamp(32px, 5vw, 80px);
    border-radius: 8px;
    text-align: left;
}
.banner__title {
    color: var(--color-dark);
    font-size: var(--fs-h2);
    margin: 0 0 24px;
}
.banner__intro {
    color: var(--color-dark);
    font-size: var(--fs-p);
    line-height: 1.6;
}
.banner__intro p:last-child { margin-bottom: 0; }
.banner__cta { margin-top: 24px; }

/* ---------- 11b. Key benefits — continuous marquee ---------- */
/* The track bleeds past the container's right edge; clip the section so
   it doesn't trigger horizontal scroll on the body. */
.section--key-benefits { overflow-x: clip; }
.benefits-slider { position: relative; }
/* Inner viewport clips the track; arrows sit outside it */
.benefits-viewport {
    overflow: hidden;
}
.benefits-track {
    display: flex;
    /* Don't use `gap` — its (2N-1) spacing breaks the seamless 50% loop.
       Each card carries its own `margin-right` so the track width is
       exactly 2× the half-loop distance. JS drives the translateX with
       requestAnimationFrame so arrow clicks can advance smoothly without
       fighting a CSS animation. */
    width: max-content;
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .benefits-track { transition: none !important; }
}

.benefit {
    /* Fixed width so the duplicated set lines up perfectly for the loop */
    flex: 0 0 clamp(220px, 22vw, 300px);
    margin-right: 16px;
    background: #fff;
    color: var(--color-dark);
    padding: clamp(20px, 2.2vw, 32px);
    border: 1px solid var(--color-mid);
    border-radius: 0;
    min-height: 280px;
    display: flex; flex-direction: column;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
    cursor: default;
}
@media (max-width: 800px) { .benefit { flex-basis: 240px; min-height: 240px; } }
@media (max-width: 540px) { .benefit { flex-basis: 220px; } }

.benefit__icon {
    /* Recolor the uploaded icon regardless of its source colour:
       brightness(0) flattens any source pixels to black, then the
       hue-rotate chain repaints them brand green (#01A982). On hover
       the rule below swaps to a simpler "everything white" filter. */
    display: block;
    width: clamp(40px, 3vw, 56px);
    height: clamp(40px, 3vw, 56px);
    margin-bottom: clamp(40px, 4vw, 64px);
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(45%) sepia(89%) saturate(1531%) hue-rotate(132deg) brightness(94%) contrast(101%);
    transition: filter .3s ease;
}
.benefit__title {
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: 1.25;
    color: inherit;
    margin: 0 0 12px;
}
.benefit__desc {
    font-size: var(--fs-p);
    line-height: 1.5;
    color: inherit;
    margin: 0;
    opacity: .9;
}

/* Hover only: brand green wash with white icon/text */
.benefit:hover {
    background: var(--color-green);
    border-color: var(--color-green);
    color: #fff;
}
.benefit:hover .benefit__icon {
    filter: brightness(0) invert(1);
}

/* Marquee nav: ghost prev arrow — long progress line — solid green next arrow */
.benefits-nav {
    display: flex; align-items: center; gap: 16px;
    margin-top: clamp(28px, 3.5vw, 48px);
}
.benefits-nav__line {
    flex: 1;
    position: relative;
    height: 2px;
    background: var(--color-mid);
    overflow: hidden;
    border-radius: 1px;
}
.benefits-nav__progress {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 25%;
    background: var(--color-green);
    border-radius: 1px;
    transform: translateX(0);
    will-change: transform;
}
.benefits-nav__btn {
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--color-mid);
    border-radius: 50%;
    color: rgba(29,31,39,.6);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.benefits-nav__btn:hover {
    border-color: var(--color-dark);
    color: var(--color-dark);
}
.benefits-nav__btn--next {
    background: var(--color-green);
    border-color: var(--color-green);
    color: #fff;
}
.benefits-nav__btn--next:hover {
    background: #019974;
    border-color: #019974;
    color: #fff;
}
.benefits-nav__btn:disabled { opacity: .35; cursor: default; }

/* ---------- 11c. Resources (Brochure / Blog cards on dark) ---------- */
.section--resources { background: var(--color-dark); color: #fff; }
.resources__grid {
    display: grid; gap: clamp(24px, 3vw, 48px);
    grid-template-columns: 1fr;
}
@media (min-width: 800px) { .resources__grid { grid-template-columns: repeat(2, 1fr); } }
.resource-card {
    display: flex; flex-direction: column;
    color: #fff;
}
.resource-card__tag {
    align-self: flex-start;
    border: 1px solid var(--color-green);
    color: var(--color-green);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: var(--fs-p);
    font-weight: 500;
    margin-bottom: 24px;
}
.resource-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 24px;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
a.resource-card__media:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}
/* Brand-green tint that fades in on hover */
.resource-card__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(1,169,130,0)   0%,
        rgba(1,169,130,.10) 60%,
        rgba(1,169,130,.45) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.resource-card__media img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.2,.65,.3,1), filter .35s ease;
}
.resource-card:hover .resource-card__media img {
    transform: scale(1.06);
    filter: brightness(.95);
}
.resource-card:hover .resource-card__media::after { opacity: 1; }
/* Nudge the CTA arrow on hover for cohesive movement */
.resource-card .resource-card__cta span { transition: transform .25s ease; display: inline-block; }
.resource-card:hover .resource-card__cta span { transform: translateX(4px); }
.resource-card__title {
    color: #fff;
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 24px;
}
.resource-card__cta { align-self: flex-start; }

/* ---------- 12. Press release card ---------- */
.section--press-release .press-release__card {
    background: var(--color-light);
    color: var(--color-dark);
    padding: clamp(40px, 5vw, 80px) clamp(32px, 5vw, 80px);
    border-radius: 8px;
}
.press-release__date {
    display: inline-block;
    border: 1px solid var(--color-green);
    color: var(--color-green);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: var(--fs-p);
    font-weight: 500;
    margin-bottom: 24px;
}
.press-release__title {
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-dark);
    margin: 0 0 24px;
    max-width: 1100px;
}
.press-release__cta { margin-top: 8px; }

/* ---------- 13. Solution overview / callouts ---------- */
.solution-overview__body {
    display: grid; gap: 48px;
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 1000px) {
    .solution-overview__body { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
.solution-overview__content { display: flex; flex-direction: column; }
.solution-overview__content .section__title { margin-bottom: 24px; }
.solution-overview__content .section__intro { margin-bottom: 32px; line-height: 1.6; }
.solution-overview__cta { align-self: flex-start; }
.solution-overview__media img { width: 100%; height: auto; display: block; }

/* Inline green text CTA with arrow (used by Solution Overview, etc.) */
.link-cta {
    color: var(--color-green);
    font-weight: 600;
    font-size: var(--fs-p);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.link-cta:hover { text-decoration: underline; }
.link-cta span {
    display: inline-block;
    width: 16px; height: 12px;
    background: url('../img/arrow.png') center / contain no-repeat;
    font-size: 0; line-height: 0; color: transparent;
    transition: transform .2s ease;
}
.link-cta:hover span { transform: translateX(3px); }

/* ---------- 14. Contact form ---------- */
.section--contact {
    color: #fff;
    background: #0E1421 url('../img/get-in-touch-bg.svg') center center / cover no-repeat;
}
.section--contact .contact__title {
    color: #fff;
    font-size: var(--fs-h1);
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: capitalize;
}
.section--contact .contact__intro {
    color: rgba(255,255,255,.85);
    font-size: var(--fs-p);
    line-height: 1.5;
    margin: 0;
}
.contact__inner { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact__inner { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

.contact-form {
    display: grid; grid-template-columns: 1fr; gap: 28px 24px;
    background: transparent; color: #fff;
    padding: 0; border-radius: 0;
}
@media (min-width: 700px) {
    .contact-form { grid-template-columns: 1fr 1fr; }
}
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .field--full { grid-column: 1 / -1; }
.contact-form label {
    font-weight: 500;
    color: #fff;
    /* Design system: 13 → 14 → 16 → 18 across mobile / 1280 / 1440 / 1920 */
    font-size: 13px;
}
@media (min-width: 1280px) { .contact-form label { font-size: 14px; } }
@media (min-width: 1440px) { .contact-form label { font-size: 16px; } }
@media (min-width: 1920px) { .contact-form label { font-size: 18px; } }
.contact-form label span { color: #fff; margin-left: 2px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 0;
    border-radius: 0;
    padding: 14px 16px;
    font: inherit; color: var(--color-dark);
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa0aa;
    font-size: 13px;
    opacity: 1;
}
@media (min-width: 1280px) {
    .contact-form input::placeholder,
    .contact-form textarea::placeholder { font-size: 14px; }
}
@media (min-width: 1920px) {
    .contact-form input::placeholder,
    .contact-form textarea::placeholder { font-size: 15px; }
}
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%231D1F27' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat; background-position: right 16px center;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--color-green);
    outline-offset: 1px;
}
.contact-form .error-msg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #FFB4BD;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    margin: 6px 0 0;
    box-shadow: none;
}
.contact-form .error-msg::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #E11D48;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
/* Highlight invalid field with a red ring */
.contact-form .field.has-error input,
.contact-form .field.has-error select,
.contact-form .field.has-error textarea,
.contact-form .field.has-error .iti,
.contact-form .field.has-error .iti__tel-input {
    box-shadow: 0 0 0 2px #E11D48;
    outline: none;
}
.contact-form__submit-row {
    display: flex; gap: 16px; align-items: center; justify-content: flex-start; flex-wrap: wrap;
    margin-top: 12px;
    text-align: left;
}
.contact-form__submit-row .btn--primary {
    padding: 14px 32px;
    margin-left: 0;
    margin-right: auto;
    align-self: flex-start;
}
.contact-form__status {
    margin: 8px 0 0;
    font-size: var(--fs-p);
    color: rgba(255,255,255,.85);
    text-align: left;
}
.contact-form__status.is-success { color: #6ff0c0; }
.contact-form__status.is-error   { color: #ffb4b4; }

/* intl-tel-input alignment + readable colors inside our dark-bg form */
.contact-form .iti { width: 100%; border-radius: 0; }
.contact-form .iti__tel-input { width: 100%; color: var(--color-dark); border-radius: 0; }
.contact-form .iti .iti__selected-country { border-radius: 0; }
.contact-form .iti .iti__selected-country,
.contact-form .iti .iti__selected-country button,
.contact-form .iti .iti__selected-dial-code,
.contact-form .iti .iti__country-name { color: var(--color-dark); }
.contact-form .iti .iti__selected-country { background: transparent; }
.contact-form .iti .iti__selected-country:hover,
.contact-form .iti .iti__selected-country[aria-expanded="true"] { background: rgba(0,0,0,.04); }

.iti__country-list {
    background: #fff;
    color: var(--color-dark);
    border: 1px solid var(--color-mid);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.iti__country, .iti__country-name, .iti__dial-code {
    color: var(--color-dark);
}
.iti__country.iti__highlight,
.iti__country:hover { background: rgba(1,169,130,.08); }
.iti__country-name { margin-right: 8px; }

/* ---------- 15. Footer ---------- */
.site-footer {
    background: var(--color-white);
    color: var(--color-text);
    padding: 32px 0;
    border-top: 1px solid var(--color-mid);
}
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
@media (max-width: 700px) {
    .site-footer {
        padding: 40px 0 32px;
    }
    .site-footer__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 28px;
    }
    .site-footer__logo,
    .site-footer .copyright,
    .site-footer .social-links,
    .site-footer .footer-menu { justify-content: center; }
    .site-footer .copyright { font-size: 13px; padding: 0 16px; line-height: 1.5; }
    .site-footer__logo img { max-height: 28px; width: auto; }
}
/* Floating buttons split across corners on mobile (WhatsApp left, scroll-top right). */
@media (max-width: 700px) {
    .whatsapp-fab {
        width: 50px;
        height: 50px;
        left: 10px;
        right: auto;       /* override any inherited right offset */
        bottom: 16px;
    }
    .scroll-to-top {
        right: 10px !important;
        bottom: 16px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}
.site-footer__logo img { height: 40px; width: auto; display: block; }
.site-footer .footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer .footer-menu a { color: var(--color-text); }
.site-footer .copyright {
    margin: 0;
    color: var(--color-text);
    opacity: .85;
    font-size: var(--fs-p);
}

/* Social icons: circular grey bg, dark icon → hover = green bg, white icon */
.social-links {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 12px; align-items: center;
}
.social-links li {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #e9eaec;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
    overflow: hidden;
}
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; border-radius: 50%; line-height: 0;
}
.social-links img {
    width: 18px; height: 18px;
    filter: brightness(0); /* force any source SVG color to black */
    transition: filter .2s ease;
}
.social-links li:hover { background: var(--color-green); }
.social-links li:hover img { filter: brightness(0) invert(1); /* black → white */ }

/* ---------- 16. Scroll-to-top ---------- */
.scroll-to-top {
    position: fixed; right: 10px; bottom: 20px;
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: var(--color-green); color: #fff; cursor: pointer;
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    font-size: 20px;
}
.scroll-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- 17. Floating WhatsApp button ---------- */
/* WhatsApp on the LEFT, scroll-to-top on the RIGHT — keeps the two FABs
   from stacking on top of each other and matches common mobile patterns. */
.whatsapp-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 4px 12px rgba(0,0,0,.18);
    text-decoration: none;
    z-index: 90;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whatsapp-fab:hover {
    background: #1FAA53;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, .5), 0 6px 14px rgba(0,0,0,.2);
}
.whatsapp-fab:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* ---------- 18. Cookie consent banner ---------- */
/* Centered white card near the bottom of the viewport with a grey
   Reject button and a green->blue gradient Accept button. */
.cookie-banner {
    position: fixed;
    left: 50%; bottom: 32px;
    transform: translate(-50%, 20px);
    width: calc(100% - 32px);
    max-width: 640px;
    background: #fff;
    color: var(--color-dark);
    border-radius: 16px;
    padding: 24px 28px 20px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18), 0 6px 16px rgba(0,0,0,.10);
    z-index: 95;
    opacity: 0;
    transition: transform .35s cubic-bezier(.2,.65,.3,1), opacity .35s ease;
}
.cookie-banner.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.cookie-banner__msg {
    margin: 0;
    font-size: var(--fs-p);
    line-height: 1.55;
    color: var(--color-dark);
    max-width: 480px;
}
.cookie-banner__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.cookie-banner__btn {
    appearance: none;
    border: 0;
    background: #EFEFF1;
    color: var(--color-dark);
    font-size: var(--fs-p);
    font-weight: 600;
    padding: 11px 32px;
    border-radius: 999px;
    cursor: pointer;
    min-width: 110px;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.cookie-banner__btn:hover {
    background: #E2E2E5;
}
.cookie-banner__btn--accept {
    color: #fff;
    background: var(--color-green);
    box-shadow: 0 4px 12px rgba(1,169,130,.22);
}
.cookie-banner__btn--accept:hover {
    background: #019974;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(1,169,130,.32);
}
.cookie-banner__btn:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 3px;
}
@media (max-width: 700px) {
    .cookie-banner {
        bottom: 16px;
        padding: 18px 20px 16px;
        border-radius: 14px;
    }
    .cookie-banner__inner { gap: 14px; }
    .cookie-banner__msg { font-size: 13px; }
    .cookie-banner__btn { padding: 10px 24px; font-size: 13px; min-width: 96px; }
}

/* ---------- 404 (page not found) ---------- */
.section--error-404 {
    background: var(--color-light);
    padding-top: clamp(80px, 10vw, 160px);
    padding-bottom: clamp(80px, 10vw, 160px);
    overflow: hidden;
    position: relative;
}
/* Soft brand-green halo behind the 404 mark */
.section--error-404::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    width: 60%;
    height: 80%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(1,169,130,.18) 0%, rgba(1,169,130,0) 60%);
    pointer-events: none;
    z-index: 0;
}
.error-404__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}
.error-404__code {
    font-size: clamp(120px, 18vw, 220px);
    line-height: 1;
    font-weight: 700;
    color: var(--color-green);
    margin: 0 0 8px;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--color-green) 0%, #017a5f 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 8px 30px rgba(1,169,130,.18);
}
.error-404__title {
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-dark);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.error-404__intro {
    font-size: var(--fs-h5);
    line-height: 1.6;
    color: var(--color-dark);
    opacity: .8;
    margin: 0 auto 40px;
    max-width: 560px;
}
.error-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.error-404__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-dark);
    font-weight: 500;
    font-size: var(--fs-p);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.error-404__contact-link:hover {
    color: var(--color-green);
    border-color: var(--color-green);
    gap: 10px;
}
@media (max-width: 700px) {
    .section--error-404 {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .error-404__actions { gap: 16px; }
}
