/* ============================================
   1. DESIGN TOKENS
   ============================================ */

:root {
    /* --- Colors: Cyan-Blue-Navy Identity --- */
    --color-cyan-bright: #38DCEB;
    --color-cyan: #20C7DC;
    --color-turquoise: #18B8D1;
    --color-blue-light: #1498C3;
    --color-blue: #087BA8;
    --color-primary: #07547C;
    --color-primary-deep: #064666;
    --color-navy: #063650;
    --color-dark-navy: #031D2E;
    --color-black-blue: #010B13;

    --color-white: #FFFFFF;
    --color-white-soft: #F7FCFD;
    --color-surface: #F3FAFC;
    --color-surface-blue: #EAF7FA;

    --color-text: #0A1D28;
    --color-text-secondary: #425E6D;
    --color-text-muted: #687F8B;
    --color-text-light: #F7FCFD;
    --color-text-light-muted: rgba(247, 252, 253, 0.72);

    --color-border: rgba(7, 84, 124, 0.14);
    --color-border-hover: rgba(7, 84, 124, 0.28);
    --color-border-light: rgba(255, 255, 255, 0.14);
    --color-border-light-hover: rgba(255, 255, 255, 0.28);

    /* --- Spacing Tokens --- */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 64px;
    --space-10: 80px;
    --space-11: 96px;
    --space-12: 120px;
    --space-13: 144px;

    /* --- Typography Tokens --- */
    --font-ar: "IBM Plex Sans Arabic", "Alexandria", "Tajawal", system-ui, -apple-system, sans-serif;
    --font-en: "Inter", system-ui, -apple-system, sans-serif;

    --fs-h1: clamp(2.25rem, 5vw, 4.75rem);
    --fs-h2: clamp(1.8rem, 3.5vw, 3.2rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.65rem);
    --fs-body: clamp(1rem, 1.1vw, 1.125rem);
    --fs-small: clamp(0.85rem, 0.95vw, 0.938rem);
    --fs-xs: clamp(0.78rem, 0.85vw, 0.85rem);

    --lh-heading: 1.2;
    --lh-body: 1.85;
    --lh-tight: 1.15;

    /* --- Layout Tokens --- */
    --container-max: 1200px;
    --container-padding: 32px;
    --header-h: 78px;

    /* --- Shadow Tokens --- */
    --shadow-xs: 0 2px 8px rgba(3, 29, 46, 0.05);
    --shadow-sm: 0 6px 20px rgba(3, 29, 46, 0.07);
    --shadow-md: 0 14px 40px rgba(3, 29, 46, 0.11);
    --shadow-lg: 0 24px 70px rgba(3, 29, 46, 0.16);
    --shadow-cyan: 0 18px 50px rgba(32, 199, 220, 0.20);
    --shadow-card-hover: 0 20px 50px rgba(3, 29, 46, 0.12);
    --shadow-btn: 0 14px 30px rgba(32, 199, 220, 0.25);
    --shadow-btn-hover: 0 18px 40px rgba(32, 199, 220, 0.35);

    /* --- Border & Radius Tokens --- */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 999px;

    /* --- Motion Tokens --- */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 180ms;
    --duration-normal: 280ms;
    --duration-reveal: 600ms;
    --duration-slow: 800ms;
}

/* ============================================
   2. RESET & BASE
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    font-family: var(--font-ar);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background: var(--color-white-soft);
    overflow-x: hidden;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    overflow: hidden;
}

[dir="ltr"] body {
    font-family: var(--font-en);
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

svg {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-ar);
    font-weight: 700;
    letter-spacing: 0;
    line-height: var(--lh-heading);
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1 {
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: var(--lh-tight);
}

h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
}

p {
    max-width: 760px;
}

/* ============================================
   4. LAYOUT
   ============================================ */

.container {
    width: min(100% - var(--container-padding), var(--container-max));
    margin-inline: auto;
}

.section,
.section-band {
    position: relative;
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.section {
    padding-block: clamp(64px, 9vw, 120px);
}

.section--muted {
    background: var(--color-surface-blue);
}

.section--dark {
    color: var(--color-text-light);
    background: var(--color-dark-navy);
}

/* ============================================
   5. COMPONENTS
   ============================================ */

/* --- Skip Link --- */
.skip-link {
    position: fixed;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    color: var(--color-white);
    background: var(--color-primary);
    font-weight: 600;
    transform: translateY(-150%);
    transition: transform var(--duration-fast) var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

/* --- Focus States --- */
:focus-visible {
    outline: 3px solid rgba(32, 199, 220, 0.6);
    outline-offset: 3px;
}

/* --- Buttons --- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-ar);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform var(--duration-fast) var(--ease),
        box-shadow var(--duration-fast) var(--ease),
        background var(--duration-fast) var(--ease),
        border-color var(--duration-fast) var(--ease),
        color var(--duration-fast) var(--ease);
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button--primary {
    color: var(--color-black-blue);
    background: var(--color-cyan);
    box-shadow: var(--shadow-btn);
}

.button--primary:hover {
    background: var(--color-turquoise);
    box-shadow: var(--shadow-btn-hover);
}

.button--secondary {
    color: var(--color-text-light);
    border: 1.5px solid var(--color-border-light);
    background: rgba(255, 255, 255, 0.06);
}

.button--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-border-light-hover);
    box-shadow: var(--shadow-sm);
}

.button--ghost {
    color: var(--color-cyan);
    background: transparent;
    padding: 0;
    min-height: auto;
}

.button--ghost:hover {
    color: var(--color-cyan-bright);
    transform: translateY(0);
}

.button--nav {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 0.9rem;
}

[dir="rtl"] .button svg {
    transform: scaleX(-1);
}

/* --- Eyebrow / Label --- */
.eyebrow {
    width: fit-content;
    margin: 0 0 var(--space-4);
    padding: 6px 16px;
    border: 1.5px solid rgba(32, 199, 220, 0.25);
    border-radius: var(--radius-full);
    color: var(--color-cyan);
    background: rgba(32, 199, 220, 0.08);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.section--dark .eyebrow {
    color: var(--color-cyan-bright);
    border-color: rgba(56, 220, 235, 0.25);
    background: rgba(56, 220, 235, 0.1);
}

/* --- Check List --- */
.check-list {
    display: grid;
    gap: 12px;
    margin-top: var(--space-5);
}

.check-list li {
    position: relative;
    padding-inline-start: 28px;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: var(--fs-small);
    line-height: 1.6;
}

.check-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.05em;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5l4.5 4.5L17 6' fill='none' stroke='%2320C7DC' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --- Feature List --- */
.feature-list {
    display: grid;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.feature {
    padding-inline-start: 18px;
    border-inline-start: 3px solid var(--color-cyan);
}

.feature strong,
.feature span {
    display: block;
}

.feature strong {
    font-size: 1.06rem;
    font-weight: 700;
}

.feature span {
    margin-top: 4px;
    color: var(--color-text-muted);
}

/* --- Section Header --- */
.section-header {
    width: 100%;
    max-width: 760px;
    margin: 0 auto var(--space-8);
    text-align: center;
}

.section-header--side {
    margin: 0;
    text-align: start;
}

.section-header .eyebrow {
    margin-inline: auto;
}

.section-header--side .eyebrow {
    margin-inline: 0;
}

.section-header h2,
.about__content h2,
.contact__content h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
}

.section-header p:not(.eyebrow),
.about__content > p,
.contact__content > p {
    margin-top: var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--fs-body);
    max-width: 640px;
}

.section--dark .section-header p:not(.eyebrow),
.section--dark .vision-card p {
    color: var(--color-text-light-muted);
}

/* ============================================
   6. NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 100;
    min-height: var(--header-h);
    background: rgba(3, 29, 46, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition:
        background var(--duration-normal) var(--ease),
        box-shadow var(--duration-normal) var(--ease),
        border-color var(--duration-normal) var(--ease);
}

.site-header.is-scrolled {
    background: rgba(3, 29, 46, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(1, 11, 19, 0.3);
}

.nav {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: var(--color-text-light);
    font-family: var(--font-ar);
    font-size: 1.25rem;
    font-weight: 700;
}

.brand__mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand--footer .brand__mark {
    width: 38px;
    height: 38px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin-inline: auto;
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    color: rgba(247, 252, 253, 0.72);
    font-size: var(--fs-small);
    font-weight: 600;
    transition:
        color var(--duration-fast) var(--ease),
        background var(--duration-fast) var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 0 0 auto;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--radius-xs);
    color: var(--color-text-light-muted);
    background: rgba(255, 255, 255, 0.06);
    transition:
        border-color var(--duration-fast) var(--ease),
        color var(--duration-fast) var(--ease);
}

.language-toggle:hover {
    border-color: var(--color-border-light-hover);
    color: var(--color-text-light);
}

.language-toggle span:not(.language-toggle__divider) {
    min-width: 28px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.language-toggle [data-lang-option].is-active {
    color: var(--color-cyan);
}

.language-toggle__divider {
    width: 1px;
    height: 18px;
    background: var(--color-border-light);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 3px auto;
    border-radius: 20px;
    background: var(--color-text-light);
    transition: transform var(--duration-fast) var(--ease), opacity var(--duration-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* ============================================
   7. HERO
   ============================================ */

.hero {
    padding: clamp(130px, 16vw, 190px) 0 clamp(50px, 7vw, 90px);
    color: var(--color-text-light);
    background:
        radial-gradient(circle at 12% 0%, rgba(56, 220, 235, 0.35), transparent 35%),
        radial-gradient(circle at 85% 40%, rgba(8, 123, 168, 0.2), transparent 40%),
        linear-gradient(150deg, #1498C3 0%, #087BA8 24%, #07547C 46%, #031D2E 76%, #010B13 100%);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(56, 220, 235, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Hero background subtle animation */
@keyframes heroGlow {
    0%, 100% { opacity: 0.35; transform: scale(1) translate(0, 0); }
    50%      { opacity: 0.5;  transform: scale(1.05) translate(2%, -1%); }
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 220, 235, 0.18), transparent 70%);
    animation: heroGlow 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    align-items: center;
    gap: var(--space-10);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    min-width: 0;
}

.hero__title {
    max-width: 760px;
    font-size: var(--fs-h1);
    line-height: var(--lh-tight);
    font-weight: 700;
    color: var(--color-text-light);
}

.hero__title span {
    display: block;
    max-width: 100%;
}

.accent-line {
    color: var(--color-cyan-bright);
}

.hero__lead {
    max-width: 600px;
    margin-top: var(--space-5);
    color: var(--color-text-light-muted);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.9;
}

.hero__actions,
.contact__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.hero__stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-7);
}

.stat {
    min-width: 0;
    min-height: 118px;
    padding: var(--space-4);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}

.stat:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-light-hover);
}

.stat strong {
    display: block;
    color: var(--color-text-light);
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat span:last-child {
    display: block;
    margin-top: var(--space-2);
    color: var(--color-text-light-muted);
    font-size: var(--fs-small);
    font-weight: 600;
}

/* --- Hero Staggered Entrance --- */
.hero__content.is-visible .eyebrow,
.hero__content.is-visible .hero__title,
.hero__content.is-visible .hero__lead,
.hero__content.is-visible .hero__actions,
.hero__content.is-visible .hero__stats {
    opacity: 0;
    animation: heroReveal var(--duration-reveal) var(--ease-out) both;
}

.hero__content.is-visible .eyebrow       { animation-delay: 0ms; }
.hero__content.is-visible .hero__title   { animation-delay: 80ms; }
.hero__content.is-visible .hero__lead    { animation-delay: 180ms; }
.hero__content.is-visible .hero__actions { animation-delay: 280ms; }
.hero__content.is-visible .hero__stats   { animation-delay: 380ms; }

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero Visual --- */
.hero__visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 480px;
    display: grid;
    place-items: center;
    z-index: 1;
}

.hero__mark {
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 8px;
    width: min(82%, 470px);
    opacity: 0.1;
    filter: saturate(0.8) brightness(1.5);
    pointer-events: none;
}

/* --- Growth Map --- */
.growth-map {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    padding: var(--space-5);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    background: rgba(3, 29, 46, 0.6);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

.growth-map__header,
.growth-map__rows > div,
.contact-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.growth-map__header {
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-light);
}

.growth-map__header span,
.growth-map__rows span,
.pipeline__item span,
.scoreboard__metric span {
    color: var(--color-text-light-muted);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.growth-map__header strong {
    color: var(--color-cyan);
}

.pipeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin: var(--space-5) 0;
}

.pipeline__item {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    background: var(--color-navy);
}

.pipeline__item:nth-child(2) {
    background: var(--color-primary);
}

.pipeline__item:nth-child(3) {
    background: var(--color-blue);
}

.pipeline__item strong {
    font-family: var(--font-en);
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;
}

.pipeline__item span {
    color: var(--color-text-light-muted);
}

.growth-map__rows {
    display: grid;
    gap: var(--space-3);
}

.growth-map__rows > div {
    min-height: 56px;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.06);
}

.growth-map__rows strong {
    text-align: end;
    color: var(--color-text-light);
    font-size: var(--fs-small);
    font-weight: 700;
}

/* ============================================
   8. CONTENT SECTIONS
   ============================================ */

/* --- Services --- */
.services {
    background: var(--color-white);
    position: relative;
}

/* Section top gradient transition */
.section--muted::before,
.section--dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    pointer-events: none;
}

.section--muted,
.section--dark {
    position: relative;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

.service-card {
    min-height: 100%;
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-xs);
    transition:
        transform var(--duration-normal) var(--ease),
        box-shadow var(--duration-normal) var(--ease),
        border-color var(--duration-normal) var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(32, 199, 220, 0.3);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: var(--space-5);
    border-radius: var(--radius-sm);
    color: var(--color-cyan);
    background: rgba(32, 199, 220, 0.1);
    transition: background var(--duration-fast) var(--ease);
}

.service-card:hover .service-card__icon {
    background: rgba(32, 199, 220, 0.16);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

/* Center orphaned 7th service card */
.service-grid > :last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.service-card h3,
.step h3,
.vision-card h3,
.contact-card h3 {
    margin: 0;
    font-family: var(--font-ar);
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.35;
}

.service-card p,
.step p,
.vision-card p {
    margin-top: var(--space-3);
    color: var(--color-text-muted);
    font-size: var(--fs-small);
    line-height: 1.75;
}

/* Service card link arrow */
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    color: var(--color-cyan);
    font-weight: 600;
    font-size: var(--fs-small);
    text-decoration: none;
    transition: gap var(--duration-fast) var(--ease);
}

.service-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-fast) var(--ease);
}

.service-card:hover .service-card__link {
    gap: var(--space-3);
}

.service-card:hover .service-card__link svg {
    transform: translateX(-3px);
}

[dir="rtl"] .service-card:hover .service-card__link svg {
    transform: translateX(3px);
}

/* --- Utility Classes (replace inline styles) --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.max-w-560 { max-width: 560px; }
.max-w-full { max-width: 100%; }
.text-xs { font-size: var(--fs-xs); }
.text-muted-light { color: var(--color-text-light-muted); }
.text-cyan { color: var(--color-cyan-bright); }
.font-ar { font-family: var(--font-ar); }
.fs-small { font-size: var(--fs-small); }
.min-h-auto { min-height: auto; }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.grid-col-full { grid-column: 1 / -1; }
.bg-glass { background: rgba(255, 255, 255, 0.06); }
.border-light { border-color: var(--color-border-light); }
.flex-col-start { align-items: flex-start; flex-direction: column; }
.text-start { text-align: start; }

/* --- Process --- */
.process__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--space-9);
    align-items: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    counter-reset: step;
}

.step {
    position: relative;
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-xs);
    counter-increment: step;
    transition:
        transform var(--duration-normal) var(--ease),
        box-shadow var(--duration-normal) var(--ease),
        border-color var(--duration-normal) var(--ease);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(32, 199, 220, 0.25);
}

.step > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 36px;
    padding: 0 var(--space-3);
    margin-bottom: var(--space-4);
    border-radius: var(--radius-xs);
    color: var(--color-cyan);
    background: rgba(32, 199, 220, 0.1);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: var(--fs-small);
}

/* Process step glow on hover */
.step::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(32, 199, 220, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease);
    pointer-events: none;
    z-index: -1;
}

.step:hover::after {
    opacity: 1;
}

/* --- About --- */
.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: var(--space-9);
    align-items: center;
}

.scoreboard {
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--color-white), var(--color-surface-blue));
    box-shadow: var(--shadow-sm);
}

.scoreboard__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.scoreboard__top img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.scoreboard__top span {
    color: var(--color-cyan);
    font-weight: 700;
    font-size: var(--fs-small);
}

.scoreboard__metric span {
    color: var(--color-text-muted);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.scoreboard__metric strong {
    display: block;
    margin-top: var(--space-2);
    font-family: var(--font-ar);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.scoreboard__bar {
    height: 12px;
    margin: var(--space-6) 0;
    overflow: hidden;
    border-radius: var(--radius-full);
    background: rgba(7, 84, 124, 0.08);
}

.scoreboard__bar span {
    display: block;
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-blue-light), var(--color-primary));
}

.scoreboard ul {
    display: grid;
    gap: var(--space-3);
}

.scoreboard li {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: var(--fs-small);
}

/* --- Vision --- */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}

.vision-card {
    min-height: 270px;
    padding: var(--space-6);
    color: var(--color-text-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    transition:
        transform var(--duration-normal) var(--ease),
        background var(--duration-normal) var(--ease);
}

.vision-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.vision-card > span:first-child {
    display: inline-flex;
    margin-bottom: var(--space-5);
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    color: var(--color-cyan-bright);
    background: rgba(56, 220, 235, 0.1);
    font-size: var(--fs-xs);
    font-weight: 700;
}

/* --- Contact --- */
.contact {
    background:
        linear-gradient(135deg, rgba(6, 54, 80, 0.95), rgba(3, 29, 46, 0.98)),
        linear-gradient(150deg, #1498C3 0%, #07547C 50%, #031D2E 100%);
    color: var(--color-text-light);
}

.contact .eyebrow {
    color: var(--color-cyan-bright);
    border-color: rgba(56, 220, 235, 0.25);
    background: rgba(56, 220, 235, 0.1);
}

.contact__content h2 {
    color: var(--color-text-light);
}

.contact__content > p {
    color: var(--color-text-light-muted);
}

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: var(--space-8);
    align-items: start;
}

.contact-card {
    padding: var(--space-6);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
}

.contact-card h3 {
    color: var(--color-text-light);
}

.contact-card__link {
    margin-top: var(--space-3);
    padding: var(--space-4);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    transition:
        background var(--duration-fast) var(--ease),
        border-color var(--duration-fast) var(--ease),
        transform var(--duration-fast) var(--ease);
}

.contact-card__link:hover {
    transform: translateY(-2px);
    border-color: var(--color-border-light-hover);
    background: rgba(255, 255, 255, 0.1);
}

.contact-card__link span {
    color: var(--color-text-light);
    font-weight: 700;
    font-size: var(--fs-small);
}

.contact-card__link strong {
    color: var(--color-text-light-muted);
    text-align: end;
    font-size: var(--fs-xs);
    font-weight: 500;
}

/* ============================================
   9. FOOTER
   ============================================ */

.footer {
    padding: var(--space-8) 0;
    color: var(--color-text-light-muted);
    background: var(--color-black-blue);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-6);
    align-items: center;
}

.footer .brand {
    color: var(--color-text-light);
}

.footer p {
    margin-top: var(--space-3);
    color: var(--color-text-light-muted);
    font-size: var(--fs-small);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-3) var(--space-5);
}

.footer__links a {
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--color-text-light-muted);
    transition: color var(--duration-fast) var(--ease);
}

.footer__links a:hover {
    color: var(--color-cyan);
}

.footer__copy {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--fs-xs);
}

/* ============================================
   10. CONTACT DOCK
   ============================================ */

.contact-dock {
    position: fixed;
    inset-inline-end: 18px;
    inset-block-end: 18px;
    z-index: 80;
    display: grid;
    gap: var(--space-3);
}

.contact-dock a {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: var(--color-white);
    background: var(--color-cyan);
    box-shadow: 0 14px 34px rgba(32, 199, 220, 0.3);
    transition:
        transform var(--duration-fast) var(--ease),
        background var(--duration-fast) var(--ease),
        box-shadow var(--duration-fast) var(--ease);
}

.contact-dock a:nth-child(2) {
    background: var(--color-blue);
    box-shadow: 0 14px 34px rgba(8, 123, 168, 0.3);
}

.contact-dock a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(32, 199, 220, 0.4);
}

.contact-dock svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
}

/* ============================================
   11. ANIMATIONS
   ============================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity var(--duration-reveal) var(--ease-out),
        transform var(--duration-reveal) var(--ease-out);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for cards */
.service-grid [data-reveal]:nth-child(2) {
    transition-delay: 80ms;
}

.service-grid [data-reveal]:nth-child(3) {
    transition-delay: 160ms;
}

.steps [data-reveal]:nth-child(2) {
    transition-delay: 80ms;
}

.steps [data-reveal]:nth-child(3) {
    transition-delay: 160ms;
}

.steps [data-reveal]:nth-child(4) {
    transition-delay: 240ms;
}

.vision-grid [data-reveal]:nth-child(2) {
    transition-delay: 80ms;
}

.vision-grid [data-reveal]:nth-child(3) {
    transition-delay: 160ms;
}

/* ============================================
   12. RESPONSIVE DESIGN
   ============================================ */

/* --- Large screens (1440px+) --- */
@media (min-width: 1440px) {
    .hero__grid {
        gap: var(--space-12);
    }
}

/* --- Tablet landscape & below (1100px) --- */
@media (max-width: 1100px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hero__content {
        max-width: 760px;
    }

    .hero__visual {
        min-height: 420px;
        justify-self: center;
    }

    .hero__mark {
        width: min(80%, 400px);
    }

    .service-grid,
    .vision-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process__grid,
    .about__grid,
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .scoreboard,
    .contact-card {
        max-width: 680px;
    }

    .about__grid {
        gap: var(--space-8);
    }
}

/* --- Tablet portrait (900px) --- */
@media (max-width: 900px) {
    :root {
        --header-h: 70px;
        --container-padding: 28px;
    }

    .nav {
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .nav-actions {
        margin-inline-start: auto;
    }

    .nav-menu {
        position: fixed;
        inset-block-start: var(--header-h);
        inset-inline: 0;
        width: 100vw;
        max-width: 100vw;
        height: calc(100svh - var(--header-h));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
        padding: var(--space-5);
        background: rgba(3, 29, 46, 0.97);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--color-border-light);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            opacity var(--duration-fast) var(--ease),
            transform var(--duration-fast) var(--ease),
            visibility var(--duration-fast) var(--ease);
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        padding: var(--space-4);
        font-size: 1.05rem;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.06);
    }
}

/* --- Mobile (720px) --- */
@media (max-width: 720px) {
    :root {
        --container-padding: 20px;
    }

    .brand__name {
        display: none;
    }

    .button--nav {
        display: none;
    }

    .language-toggle {
        min-height: 40px;
        padding-inline: 9px;
    }

    .hero {
        padding: clamp(110px, 14vw, 150px) 0 var(--space-9);
    }

    .hero__title {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hero__lead,
    .section-header p:not(.eyebrow),
    .about__content > p,
    .contact__content > p {
        font-size: var(--fs-body);
    }

    .hero__actions,
    .contact__actions {
        align-items: stretch;
    }

    .button {
        width: 100%;
        min-height: 50px;
        white-space: normal;
        text-align: center;
    }

    .pipeline,
    .service-grid,
    .steps,
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-2);
        margin-top: var(--space-5);
    }

    .stat {
        min-height: 92px;
        padding: var(--space-3);
    }

    .stat strong {
        font-size: 1.45rem;
    }

    .stat span:last-child {
        font-size: var(--fs-xs);
        line-height: 1.45;
    }

    .hero__visual {
        min-height: auto;
    }

    .hero__mark {
        width: 86%;
        inset-inline-start: 12%;
    }

    .growth-map {
        padding: var(--space-4);
    }

    .pipeline__item {
        min-height: 92px;
    }

    .section {
        padding-block: clamp(48px, 7vw, 80px);
    }

    .section-header {
        margin-bottom: var(--space-6);
        text-align: start;
    }

    .section-header .eyebrow {
        margin-inline: 0;
    }

    .section-header h2,
    .about__content h2,
    .contact__content h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .service-card,
    .step,
    .scoreboard,
    .contact-card,
    .vision-card {
        padding: var(--space-5);
    }

    .scoreboard__metric strong {
        font-size: 1.72rem;
    }

    .contact-card__link,
    .growth-map__rows > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-card__link strong,
    .growth-map__rows strong {
        text-align: start;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__links {
        justify-content: flex-start;
    }

    .footer__copy {
        flex-direction: column;
    }

    .contact-dock {
        inset-inline-end: 14px;
        inset-block-end: 14px;
    }

    .contact-dock a {
        width: 46px;
        height: 46px;
    }
}

/* --- Small mobile (420px) --- */
@media (max-width: 420px) {
    :root {
        --container-padding: 16px;
    }

    .hero__title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .nav {
        gap: var(--space-3);
    }

    .brand__mark {
        width: 38px;
        height: 38px;
    }

    .language-toggle span:not(.language-toggle__divider) {
        min-width: 24px;
        font-size: 0.82rem;
    }

    .stat {
        min-height: 100px;
    }

    .hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================
   13. PRINT & ACCESSIBILITY
   ============================================ */

@media print {
    .site-header,
    .contact-dock,
    .nav-toggle,
    .language-toggle {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        background: #f0f0f0;
        color: #000;
    }

    .hero__title,
    .accent-line {
        color: #000;
    }

    .section,
    .hero {
        padding: 24px 0;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   14. POLISHED UI LAYER
   ============================================ */

:root {
    --container-max: 1240px;
    --container-padding: 40px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-card-hover: 0 24px 60px rgba(3, 29, 46, 0.16);
}

body { background: #f7fbfc; }
.site-header { background: rgba(3, 29, 46, 0.48); }
.site-header.is-scrolled { background: rgba(3, 29, 46, 0.96); }
.nav { gap: clamp(16px, 2.5vw, 36px); }
.brand__mark { filter: drop-shadow(0 8px 18px rgba(32, 199, 220, 0.18)); }

.nav-link { padding: 9px 12px; letter-spacing: -0.01em; }
.nav-link:hover,
.nav-link.is-active { color: var(--color-cyan-bright); background: rgba(56, 220, 235, 0.1); }

.hero {
    min-height: min(820px, 100svh);
    display: grid;
    align-items: center;
    padding-top: clamp(128px, 13vw, 172px);
}

.hero__grid { gap: clamp(48px, 7vw, 112px); }
.hero__title { max-width: 720px; letter-spacing: -0.045em; }
.accent-line { margin-top: 10px; font-size: 0.78em; line-height: 1.35; letter-spacing: -0.025em; }
.hero__lead { max-width: 570px; margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); }
.hero__actions { margin-top: 32px; }
.button { min-height: 54px; border-radius: 12px; }
.button--primary { background: linear-gradient(135deg, #5ae6ee, #20c7dc); }
.button--primary:hover { background: linear-gradient(135deg, #72edf3, #18b8d1); }

.hero__visual { min-height: 500px; display: grid; place-items: center; }
.hero__mark { opacity: 0.8; filter: drop-shadow(0 24px 60px rgba(56, 220, 235, 0.16)); }
.growth-map {
    border-color: rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    background: rgba(2, 20, 31, 0.68);
    box-shadow: 0 30px 80px rgba(1, 11, 19, 0.34), inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(18px);
}
.growth-map__header,
.growth-map__rows > div { border-color: rgba(255, 255, 255, 0.13); }

.stat,
.service-card,
.step,
.vision-card,
.scoreboard,
.contact-card { border-radius: var(--radius-md); }
.stat { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.15); }

.section-header { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-header h2,
.about__content h2,
.contact__content h2 { letter-spacing: -0.035em; }
.section-header p:not(.eyebrow),
.about__content > p,
.contact__content > p { color: var(--color-text-secondary); }
.section--muted { background: linear-gradient(180deg, #eef9fb 0%, #f7fbfc 100%); }

.service-grid { gap: 20px; }
.service-card,
.step,
.vision-card,
.scoreboard {
    border-color: rgba(7, 84, 124, 0.12);
    box-shadow: 0 10px 28px rgba(3, 29, 46, 0.045);
}
.service-card { padding: 28px; background: rgba(255, 255, 255, 0.92); }
.service-card:hover,
.step:hover,
.vision-card:hover { border-color: rgba(32, 199, 220, 0.34); box-shadow: var(--shadow-card-hover); }
.service-card__icon {
    width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px;
    background: linear-gradient(145deg, rgba(32, 199, 220, .2), rgba(7, 84, 124, .08));
}
.service-card h3,
.step h3,
.vision-card h3 { letter-spacing: -0.02em; }
.check-list li { padding-block: 8px; border-bottom: 1px solid rgba(7, 84, 124, 0.08); }
.check-list li:last-child { border-bottom: 0; }
.process__grid { gap: clamp(48px, 8vw, 112px); }

.contact { position: relative; overflow: hidden; }
.contact::after {
    content: ""; position: absolute; width: 460px; height: 460px; inset-inline-end: -180px; inset-block-start: -180px;
    border-radius: 50%; background: rgba(56, 220, 235, 0.12); filter: blur(4px); pointer-events: none;
}
.contact__grid, .contact__content, .contact-card { position: relative; z-index: 1; }
.contact-card { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(16px); }
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); }

@media (max-width: 900px) {
    :root { --container-padding: 28px; }
    .hero { min-height: auto; }
    .hero__visual { min-height: 440px; }
}

@media (max-width: 720px) {
    :root { --container-padding: 20px; }
    .hero { padding-top: 112px; }
    .hero__title { letter-spacing: -0.035em; }
    .accent-line { margin-top: 8px; font-size: 0.82em; }
    .hero__visual { min-height: 360px; margin-top: 12px; }
    .growth-map { width: 100%; }
    .service-card { padding: 24px; }
    .section-header { margin-bottom: 32px; }
}

/* Hero visual: keep the identity mark visible behind the growth system. */
.hero__visual {
    isolation: isolate;
    place-items: center;
    padding: 22px 0 30px;
}

.hero__mark {
    inset-inline-start: auto;
    inset-inline-end: -6%;
    inset-block-start: 2%;
    width: min(92%, 540px);
    opacity: 0.2;
    z-index: 0;
    filter: saturate(0.9) brightness(1.35) drop-shadow(0 20px 50px rgba(32, 199, 220, .16));
}

.growth-map {
    z-index: 2;
    width: min(90%, 450px);
    transform: translateX(-8%) translateY(22px);
}

/* Service imagery: visual header treatment with a readable content area. */
.service-card {
    position: relative;
    overflow: hidden;
    padding-top: 190px;
    isolation: isolate;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 166px;
    z-index: 0;
    opacity: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 166px;
    z-index: 0;
    background: linear-gradient(180deg, rgba(3, 29, 46, 0.02) 32%, rgba(3, 29, 46, 0.72) 100%);
    pointer-events: none;
}

.service-card > * { position: relative; z-index: 1; }
.service-card__icon { box-shadow: 0 8px 22px rgba(3, 29, 46, .16); }
.service-card:nth-child(1)::before,
.service-card:nth-child(4)::before { background-image: url("service-strategy.png"); }
.service-card:nth-child(2)::before { background-image: url("service-marketing.png"); }
.service-card:nth-child(3)::before,
.service-card:nth-child(5)::before,
.service-card:nth-child(6)::before { background-image: url("service-digital.png"); }
.service-card:nth-child(7)::before,
.service-card:nth-child(8)::before { background-image: url("service-growth.png"); }

@media (max-width: 1100px) {
    .growth-map { transform: translateY(18px); }
}

@media (max-width: 720px) {
    .hero__visual { padding-block: 10px 26px; }
    .hero__mark { inset-inline-end: -15%; width: 105%; opacity: .16; }
    .growth-map { width: 100%; transform: translateY(16px); }
    .service-card { padding-top: 184px; }
}

/* ============================================
   15. RESPONSIVE FINISHING PASS
   ============================================ */

@media (max-width: 1100px) {
    .container { width: min(100% - 48px, var(--container-max)); }
    .hero__content { max-width: 760px; margin-inline: auto; }
    .hero__visual { width: min(100%, 680px); margin-inline: auto; }
    .about__grid,
    .contact__grid,
    .process__grid { gap: 40px; }
}

@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .nav { min-height: var(--header-h); gap: 12px; }
    .nav-menu { width: auto; }
    .nav-link { min-height: 48px; display: flex; align-items: center; }
    .hero { padding-bottom: 64px; }
    .hero__title { font-size: clamp(2.6rem, 7vw, 4.2rem); }
    .section-header h2,
    .about__content h2,
    .contact__content h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
}

@media (max-width: 720px) {
    :root {
        --header-h: 64px;
        --container-padding: 18px;
    }

    .container { width: min(100% - 36px, var(--container-max)); }
    .site-header { min-height: var(--header-h); }
    .nav { min-height: var(--header-h); gap: 8px; }
    .brand__mark { width: 40px; height: 40px; }
    .nav-actions { gap: 8px; }
    .language-toggle { min-height: 42px; padding-inline: 7px; }
    .nav-toggle { width: 42px; height: 42px; }

    .nav-menu {
        inset-block-start: var(--header-h);
        height: calc(100svh - var(--header-h));
        padding: 18px;
        gap: 8px;
    }

    .nav-link { padding: 14px 16px; font-size: 1rem; }
    .hero { padding: 104px 0 52px; }
    .hero__grid { gap: 34px; }
    .hero__title { font-size: clamp(2.15rem, 10vw, 3.4rem); line-height: 1.18; }
    .accent-line { font-size: .8em; line-height: 1.42; }
    .hero__lead { margin-top: 18px; font-size: 1rem; line-height: 1.8; }
    .hero__actions,
    .contact__actions { margin-top: 24px; gap: 10px; }
    .button { min-height: 52px; padding-inline: 18px; }

    .hero__stats { gap: 7px; margin-top: 26px; }
    .stat { min-height: 88px; padding: 10px 6px; }
    .stat strong { font-size: clamp(1.2rem, 6vw, 1.55rem); }
    .stat span:last-child { font-size: 0.72rem; line-height: 1.35; }
    .hero__visual { min-height: 350px; }
    .growth-map { padding: 16px; }
    .growth-map__header { gap: 10px; }
    .growth-map__header strong { font-size: .85rem; }
    .pipeline { gap: 7px; margin-block: 16px; }
    .pipeline__item { min-height: 82px; padding: 10px 6px; }
    .pipeline__item strong { font-size: 1.7rem; }
    .growth-map__rows { gap: 8px; }
    .growth-map__rows > div { padding: 10px 12px; }

    .section { padding-block: 58px; }
    .section-header { margin-bottom: 30px; }
    .section-header h2,
    .about__content h2,
    .contact__content h2 { font-size: clamp(1.8rem, 8vw, 2.35rem); line-height: 1.25; }
    .section-header p:not(.eyebrow),
    .about__content > p,
    .contact__content > p { font-size: .98rem; line-height: 1.8; }

    .service-grid,
    .vision-grid,
    .steps { gap: 14px; }
    .service-card { padding: 184px 20px 22px; }
    .service-card h3 { font-size: 1.25rem; }
    .service-card p,
    .step p,
    .vision-card p { font-size: .92rem; }
    .check-list { gap: 8px; }
    .check-list li { padding-inline-start: 25px; font-size: .9rem; }

    .feature-list { gap: 16px; }
    .scoreboard,
    .contact-card,
    .vision-card,
    .step { padding: 20px; }
    .scoreboard__metric strong { font-size: 1.65rem; }
    .contact-card__link { padding: 14px; }
    .footer { padding-block: 44px 28px; }
    .footer__links { gap: 10px 18px; }
    .contact-dock { gap: 8px; }
}

@media (max-width: 420px) {
    :root { --container-padding: 16px; }
    .container { width: min(100% - 32px, var(--container-max)); }
    .brand__mark { width: 36px; height: 36px; }
    .language-toggle span:not(.language-toggle__divider) { min-width: 22px; font-size: .78rem; }
    .nav-toggle { width: 40px; height: 40px; }
    .hero { padding-top: 96px; }
    .hero__title { font-size: clamp(1.9rem, 10vw, 2.55rem); }
    .hero__stats { gap: 5px; }
    .stat { min-height: 86px; padding-inline: 4px; }
    .stat strong { font-size: 1.15rem; }
    .stat span:last-child { font-size: .67rem; }
    .hero__visual { min-height: 320px; }
    .growth-map { padding: 13px; }
    .growth-map__header span,
    .growth-map__rows span,
    .pipeline__item span { font-size: .68rem; }
    .growth-map__header strong { font-size: .75rem; }
    .pipeline__item { min-height: 76px; }
    .pipeline__item strong { font-size: 1.4rem; }
    .service-card { padding-top: 176px; }
    .service-card::before,
    .service-card::after { height: 154px; }
}

/* ============================================
   16. RESPONSIVE REBUILD — PHONE, TABLET & COMPACT LAPTOP
   ============================================ */

/* Prevent long bilingual content and nested grids from forcing horizontal scroll. */
.section,
.container,
.hero__grid,
.about__grid,
.process__grid,
.contact__grid,
.service-grid,
.vision-grid,
.steps,
.footer__grid,
.hero__content,
.hero__visual,
.growth-map,
.service-card,
.step,
.vision-card,
.scoreboard,
.contact-card { min-width: 0; }

.hero__title,
.section-header h2,
.about__content h2,
.contact__content h2,
.service-card h3,
.step h3,
.vision-card h3 { overflow-wrap: anywhere; text-wrap: balance; }

/* Compact laptops: navigation switches before links begin competing for space. */
@media (max-width: 1180px) {
    :root { --header-h: 72px; }

    .nav {
        min-height: var(--header-h);
        justify-content: space-between;
        gap: 14px;
    }

    .nav-toggle {
        display: block;
        order: 3;
        flex: 0 0 auto;
    }

    .nav-actions {
        margin-inline-start: auto;
        flex: 0 0 auto;
    }

    .nav-menu {
        position: fixed;
        inset: var(--header-h) 0 0;
        width: auto;
        height: calc(100dvh - var(--header-h));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 24px max(24px, env(safe-area-inset-right)) 32px;
        overflow-y: auto;
        background: rgba(3, 29, 46, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms var(--ease);
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 14px 18px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        font-size: 1rem;
    }

    .hero { min-height: auto; }
}

@media (min-width: 721px) and (max-width: 1180px) {
    .container { width: min(100% - 56px, var(--container-max)); }
    .hero { padding-block: 132px 80px; }
    .hero__grid { gap: 48px; }
    .hero__content { max-width: 760px; }
    .hero__visual { min-height: 400px; }
    .growth-map { width: min(100%, 560px); transform: translateY(8px); }
    .service-grid,
    .vision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-grid > :last-child:nth-child(3n + 1) { grid-column: auto; }
}

@media (max-width: 820px) {
    .button--nav { display: none; }
}

@media (max-width: 720px) {
    :root {
        --header-h: 64px;
        --container-padding: 18px;
    }

    .container { width: min(100% - 36px, var(--container-max)); }
    .nav { gap: 8px; }
    .brand__name { display: none; }
    .brand__mark { width: 38px; height: 38px; }
    .nav-actions { gap: 8px; }
    .language-toggle { min-height: 40px; padding-inline: 7px; }
    .nav-toggle { width: 40px; height: 40px; }
    .nav-menu { padding: 18px; }

    .hero {
        padding: 96px 0 52px;
        align-items: start;
    }

    .hero__grid { gap: 30px; }
    .hero__title {
        font-size: clamp(2.05rem, 9.8vw, 2.8rem);
        letter-spacing: -0.03em;
        line-height: 1.2;
    }

    .accent-line { margin-top: 8px; font-size: .76em; line-height: 1.45; }
    .hero__lead { margin-top: 16px; font-size: .98rem; line-height: 1.85; }
    .hero__actions,
    .contact__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
    .button { width: 100%; min-height: 52px; }

    .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 24px; }
    .stat { min-height: 86px; padding: 10px 5px; }
    .stat strong { font-size: 1.25rem; }
    .stat span:last-child { font-size: .68rem; line-height: 1.4; }

    .hero__visual { min-height: 0; padding: 0 0 8px; margin: 0; }
    .hero__mark { inset-inline-end: -8%; inset-block-start: 0; width: 80%; opacity: .14; }
    .growth-map { width: 100%; padding: 15px; transform: none; }
    .growth-map__header { gap: 8px; padding-bottom: 12px; }
    .growth-map__header span,
    .growth-map__rows span,
    .pipeline__item span { font-size: .7rem; }
    .growth-map__header strong { font-size: .8rem; }
    .pipeline { gap: 6px; margin: 14px 0; }
    .pipeline__item { min-height: 78px; padding: 10px 5px; }
    .pipeline__item strong { font-size: 1.5rem; }
    .growth-map__rows { gap: 7px; }
    .growth-map__rows > div { padding: 10px 12px; }

    .section { padding-block: 52px; }
    .section-header { margin-bottom: 28px; }
    .section-header h2,
    .about__content h2,
    .contact__content h2 { font-size: clamp(1.75rem, 7.8vw, 2.25rem); }
    .section-header p:not(.eyebrow),
    .about__content > p,
    .contact__content > p { font-size: .96rem; }

    .service-grid,
    .vision-grid,
    .steps { grid-template-columns: 1fr; gap: 14px; }
    .service-grid > :last-child:nth-child(3n + 1) { grid-column: auto; }
    .service-card { padding: 158px 20px 22px; }
    .service-card::before,
    .service-card::after { height: 140px; }
    .service-card__icon { width: 50px; height: 50px; margin-bottom: 16px; }
    .service-card h3 { font-size: 1.18rem; }
    .service-card p,
    .step p,
    .vision-card p { font-size: .9rem; }
    .check-list { gap: 6px; }
    .check-list li { padding-inline-start: 24px; font-size: .88rem; }

    .about__grid,
    .process__grid,
    .contact__grid { gap: 30px; }
    .scoreboard,
    .vision-card,
    .step,
    .contact-card { padding: 20px; }
    .contact-card__link { padding: 13px; }
    .footer { padding-block: 42px 24px; }
    .footer__grid { gap: 28px; }
    .footer__links { gap: 10px 18px; }
    .footer__copy { gap: 6px; }
    .contact-dock { inset-inline-end: 12px; inset-block-end: max(12px, env(safe-area-inset-bottom)); gap: 8px; }
    .contact-dock a { width: 46px; height: 46px; }
}

@media (max-width: 374px) {
    .container { width: min(100% - 28px, var(--container-max)); }
    .hero__title { font-size: 1.9rem; }
    .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__stats .stat:last-child { grid-column: 1 / -1; min-height: 66px; }
    .stat span:last-child { font-size: .72rem; }
    .growth-map { padding: 12px; }
    .growth-map__rows > div { padding-inline: 10px; }
    .service-card { padding-inline: 18px; }
}
