/* ==========================================================================
   H2O Investment & International Trade — Corporate Design System
   ========================================================================== */

:root {
    --navy-950: #0A1828;
    --navy-900: #10243A;
    --petrol-800: #143D52;
    --petrol-700: #1B506B;
    --blue-400: #85AAD0;
    --blue-200: #DCE8F4;
    --sage-300: #CFE0A5;
    --sage-400: #B9CF84;
    --ink-900: #202B33;
    --ink-700: #3E4D59;
    --ink-500: #60717F;
    --surface-100: #F5F7F8;
    --surface-200: #EAEFF2;
    --white: #FFFFFF;
    --border-light: #DCE3E8;
    --border-dark: rgba(255, 255, 255, 0.14);
    --danger: #B42318;
    --danger-bg: #FEF3F2;
    --success: #0F5132;
    --success-bg: #E8F5EE;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;

    --container-max: 1320px;
    --header-h: 82px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 4px 14px rgba(16, 36, 58, 0.05);
    --shadow-md: 0 14px 36px rgba(16, 36, 58, 0.08);
    --shadow-lg: 0 24px 56px rgba(10, 24, 40, 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-900);
    background-color: var(--white);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@supports (overflow-x: clip) {
    body {
        overflow-x: clip;
    }
}

main {
    overflow-x: clip;
}

[lang="ar"] body {
    font-family: var(--font-arabic);
    line-height: 1.85;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .eyebrow,
[dir="rtl"] .btn {
    letter-spacing: 0 !important;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy-900);
    font-weight: 700;
}

[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4 {
    font-family: var(--font-arabic);
    line-height: 1.32;
}

p {
    margin: 0 0 1.125rem;
}
p:last-child {
    margin-bottom: 0;
}

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

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

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--blue-400);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -120px;
    z-index: 9999;
    padding: 10px 18px;
    background: var(--navy-900);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 16px;
}

.container {
    width: calc(100% - 2.5rem);
    max-width: var(--container-max);
    margin-inline: auto;
}

@media (max-width: 600px) {
    .container {
        width: calc(100% - 2rem);
    }
}

.section {
    padding-block: clamp(4.25rem, 6.5vw, 6.75rem);
}

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

.section-dark {
    background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--petrol-800) 100%);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--petrol-700);
    margin-bottom: 0.9rem;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--blue-400);
    flex-shrink: 0;
}

.section-dark .eyebrow,
.hero-home .eyebrow,
.page-hero .eyebrow {
    color: var(--sage-300);
}

.section-dark .eyebrow::before,
.hero-home .eyebrow::before,
.page-hero .eyebrow::before {
    background: var(--sage-300);
}

.section-header {
    max-width: 720px;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-header h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.075rem;
    color: var(--ink-700);
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.78);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.875rem 1.65rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease);
}

[dir="rtl"] .btn .icon-arrow {
    transform: scaleX(-1);
}

.btn:hover .icon-arrow {
    transform: translateX(4px);
}

[dir="rtl"] .btn:hover .icon-arrow {
    transform: scaleX(-1) translateX(4px);
}

.btn-primary {
    background-color: var(--sage-300);
    color: var(--navy-950);
    border-color: var(--sage-300);
}

.btn-primary:hover {
    background-color: var(--sage-400);
    border-color: var(--sage-400);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(10, 24, 40, 0.2);
}

.btn-navy {
    background-color: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

.btn-navy:hover {
    background-color: var(--petrol-800);
    border-color: var(--petrol-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--navy-900);
    border-color: var(--border-light);
}

.btn-outline-dark:hover {
    border-color: var(--navy-900);
    background-color: var(--surface-100);
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), height 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

body.has-dark-hero .site-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(10, 24, 40, 0.86) 0%, rgba(10, 24, 40, 0.42) 70%, rgba(10, 24, 40, 0) 100%);
    color: var(--white);
}

body:not(.has-dark-hero) .site-header,
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--navy-900);
    border-bottom-color: var(--border-light);
    box-shadow: 0 8px 28px rgba(16, 36, 58, 0.06);
}

.site-header.is-scrolled {
    height: 72px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 46px;
    border-radius: 8px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 10px rgba(10, 24, 40, 0.18);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled .brand-mark-wrap,
body:not(.has-dark-hero) .brand-mark-wrap {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.brand-mark {
    width: 38px;
    height: 40px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.78;
}

[dir="rtl"] .brand-sub {
    letter-spacing: 0;
    font-size: 0.72rem;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-item.is-open > .nav-link {
    background-color: rgba(133, 170, 208, 0.16);
}

body.has-dark-hero .site-header:not(.is-scrolled) .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-link.is-active {
    color: var(--petrol-700);
}

body.has-dark-hero .site-header:not(.is-scrolled) .nav-link.is-active {
    color: var(--sage-300);
}

.nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.22s ease;
}

.nav-item.is-open .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    min-width: 310px;
    background: var(--white);
    color: var(--ink-900);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.65rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
    z-index: 1200;
}

.nav-dropdown-wide {
    min-width: 480px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
}

.nav-item.is-open > .nav-dropdown,
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.68rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.dropdown-link:hover {
    background-color: var(--surface-100);
}

.dropdown-link-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-900);
}

.dropdown-link-desc {
    font-size: 0.78rem;
    color: var(--ink-500);
    line-height: 1.4;
}

.dropdown-all {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border-light);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: var(--petrol-800);
}

.dropdown-all svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid rgba(16, 36, 58, 0.16);
    background: rgba(16, 36, 58, 0.04);
}

body.has-dark-hero .site-header:not(.is-scrolled) .lang-switcher {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn {
    padding: 0.32rem 0.6rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn.is-active {
    background-color: var(--navy-900);
    color: var(--white);
}

body.has-dark-hero .site-header:not(.is-scrolled) .lang-btn.is-active,
.mobile-drawer .lang-btn.is-active {
    background-color: var(--sage-300);
    color: var(--navy-950);
}

.header-cta {
    padding: 0.62rem 1.15rem;
    font-size: 0.88rem;
}

body:not(.has-dark-hero) .header-cta,
.site-header.is-scrolled .header-cta {
    background-color: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
}

body:not(.has-dark-hero) .header-cta:hover,
.site-header.is-scrolled .header-cta:hover {
    background-color: var(--petrol-800);
    border-color: var(--petrol-800);
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(128, 148, 168, 0.35);
    background: transparent;
    cursor: pointer;
}

.mobile-toggle svg,
.mobile-close svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: var(--navy-950);
    color: var(--white);
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-drawer.is-open {
    display: flex;
}

.mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-dark);
}

.mobile-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link,
.mobile-acc-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.78rem 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: start;
    cursor: pointer;
}

.mobile-acc-item.is-open .nav-chevron {
    transform: rotate(180deg);
}

.mobile-sublist {
    display: none;
    flex-direction: column;
    padding-block: 0.35rem 0.75rem;
    padding-inline: 1rem 0;
    gap: 0.2rem;
}

.mobile-acc-item.is-open .mobile-sublist {
    display: flex;
}

.mobile-sublink {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.45rem;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.82);
}

.mobile-drawer-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-dark);
}

.mobile-drawer-footer .btn {
    width: 100%;
}

.mobile-drawer-footer .lang-switcher {
    align-self: flex-start;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.mobile-drawer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
}

.mobile-drawer-contacts a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    transition: color 0.2s ease;
}

.mobile-drawer-contacts a:hover {
    color: var(--sage-300);
}

@media (max-width: 1120px) {
    .nav-desktop,
    .header-actions .header-cta {
        display: none;
    }
    .mobile-toggle {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .brand-sub {
        display: none;
    }
}

/* ---------- Editorial Headings & Split Headers ---------- */
.editorial-h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 3.6vw, 3.15rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--navy-900);
}

[lang="ar"] .editorial-h2 {
    font-family: var(--font-arabic);
    line-height: 1.3;
    letter-spacing: 0;
}

.section-header-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.section-header-aside {
    font-size: 1.04rem;
    color: var(--ink-700);
    margin: 0;
}

@media (max-width: 820px) {
    .section-header-split {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
}

/* ---------- Home Multi-Slide Video Hero (Sec 1) ---------- */
.hero-home {
    position: relative;
    min-height: 100svh;
    max-height: 980px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--navy-950);
    color: var(--white);
    overflow: hidden;
}

.hero-slides-track {
    position: relative;
    flex: 1;
    min-height: calc(100svh - 62px);
    display: grid;
}

.hero-slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 5.5rem;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 0.85s var(--ease), visibility 0.85s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-media-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
    z-index: 1;
    pointer-events: none;
}

.hero-video.is-visible {
    opacity: 1;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(10, 24, 40, 0.76) 0%, rgba(10, 24, 40, 0.42) 50%, rgba(10, 24, 40, 0.14) 100%),
        linear-gradient(180deg, rgba(10, 24, 40, 0.46) 0%, rgba(10, 24, 40, 0.08) 42%, rgba(10, 24, 40, 0.82) 100%);
}

[dir="rtl"] .hero-scrim {
    background:
        linear-gradient(270deg, rgba(10, 24, 40, 0.76) 0%, rgba(10, 24, 40, 0.42) 50%, rgba(10, 24, 40, 0.14) 100%),
        linear-gradient(180deg, rgba(10, 24, 40, 0.46) 0%, rgba(10, 24, 40, 0.08) 42%, rgba(10, 24, 40, 0.82) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-copy {
    max-width: 780px;
}

.hero-display-title {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: clamp(2.5rem, 5.2vw, 4.55rem);
    font-weight: 700;
    line-height: 1.06;
    margin-bottom: 1.25rem;
    letter-spacing: -0.018em;
    text-shadow: 0 2px 24px rgba(10, 24, 40, 0.35);
}

[lang="ar"] .hero-display-title {
    font-family: var(--font-arabic);
    font-size: clamp(2.2rem, 4.4vw, 3.85rem);
    line-height: 1.24;
    letter-spacing: 0;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.55vw, 1.32rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 58ch;
    margin-bottom: 2rem;
    line-height: 1.62;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(10, 24, 40, 0.45);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-nav-btn:hover {
    background: rgba(20, 61, 82, 0.88);
    border-color: var(--sage-300);
}

.hero-nav-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-nav-prev {
    inset-inline-start: 1.5rem;
}

.hero-nav-next {
    inset-inline-end: 1.5rem;
}

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

.hero-controls-bar {
    position: absolute;
    inset-inline: 0;
    bottom: 72px;
    z-index: 6;
    pointer-events: none;
}

.hero-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: auto;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.3s var(--ease), background-color 0.3s ease;
}

.hero-dot.is-active {
    width: 30px;
    background: var(--sage-300);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    padding-top: 6px;
    transition: border-color 0.25s ease;
}

.scroll-mouse:hover {
    border-color: var(--sage-300);
}

.scroll-mouse-wheel {
    width: 4px;
    height: 8px;
    border-radius: 999px;
    background: var(--sage-300);
    animation: mouseScroll 1.8s infinite ease-in-out;
}

@keyframes mouseScroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    65% { transform: translateY(10px); opacity: 0.2; }
}

.hero-video-ctrl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(10, 24, 40, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.hero-video-ctrl .ctrl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage-300);
}

.hero-video-ctrl:hover {
    background: rgba(20, 61, 82, 0.85);
}

.hero-video-ctrl[hidden] {
    display: none;
}

.hero-sector-dock {
    position: relative;
    z-index: 6;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 24, 40, 0.68);
    backdrop-filter: blur(12px);
}

.sector-dock-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.sector-dock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 1.05rem 1.15rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
    font-weight: 600;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.sector-dock-item:last-child {
    border-inline-end: 0;
}

.sector-dock-item:hover {
    background: rgba(207, 224, 165, 0.12);
    color: var(--sage-300);
}

.sector-dock-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sage-300);
    opacity: 0.85;
}

@media (max-width: 960px) {
    .hero-home {
        min-height: 84svh;
        max-height: none;
    }
    .hero-slides-track {
        min-height: 64svh;
    }
    .hero-slide {
        padding-bottom: 4.5rem;
    }
    .hero-nav-btn,
    .scroll-mouse {
        display: none;
    }
    .hero-controls-bar {
        bottom: auto;
        top: calc(var(--header-h) + 0.85rem);
    }
    .sector-dock-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sector-dock-item:nth-child(5) {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 560px) {
    .sector-dock-grid {
        grid-template-columns: 1fr;
    }
    .sector-dock-item {
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0.8rem 0.25rem;
    }
    .sector-dock-item:nth-child(5) {
        border-top: 0;
        border-bottom: 0;
    }
}

/* ---------- About Split + Overlapping Photo & Video Collage (Sec 2) ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    gap: clamp(2.5rem, 5vw, 4.75rem);
    align-items: center;
}

.about-copy h2 {
    margin-bottom: 1.35rem;
}

.about-copy p {
    color: var(--ink-700);
    font-size: 1.04rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-block: 2rem;
    padding-block: 1.35rem;
    border-block: 1px solid var(--border-light);
}

.highlight-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-500);
    margin-bottom: 4px;
}

[dir="rtl"] .highlight-label {
    letter-spacing: 0;
}

.highlight-value {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--navy-900);
}

.about-collage {
    position: relative;
    padding-bottom: 4.5rem;
    padding-inline-start: 2rem;
}

.collage-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.collage-main img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.collage-inset-photo {
    position: absolute;
    bottom: 2.15rem;
    inset-inline-start: 0;
    width: 52%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.collage-inset-photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.collage-ambient-video {
    position: absolute;
    top: -1.25rem;
    inset-inline-end: -0.75rem;
    width: 44%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-lg);
    background: var(--navy-900);
    z-index: 3;
}

.collage-video-poster,
.ambient-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ambient-video {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.ambient-video.is-playing {
    opacity: 1;
}

.ambient-video-badge {
    position: absolute;
    bottom: 8px;
    inset-inline-start: 8px;
    z-index: 2;
    padding: 0.22rem 0.55rem;
    border-radius: 4px;
    background: rgba(10, 24, 40, 0.78);
    color: var(--sage-300);
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.collage-caption {
    margin-top: 2.75rem;
    font-size: 0.84rem;
    color: var(--ink-500);
    text-align: end;
}

@media (max-width: 960px) {
    .about-split {
        grid-template-columns: 1fr;
    }
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .about-collage {
        padding-inline-start: 0;
        padding-bottom: 0;
    }
    .collage-ambient-video {
        display: none;
    }
    .collage-inset-photo {
        position: relative;
        bottom: auto;
        width: 100%;
        margin-top: 1rem;
        border: 0;
    }
    .collage-caption {
        margin-top: 0.75rem;
        text-align: start;
    }
}

/* ---------- Services Bento Mosaic (Home Sec 3 — Brighter Showcase) ---------- */
.bento-services {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.35rem;
}

.service-bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 370px;
    border-radius: var(--radius-md);
    overflow: hidden;
    color: var(--white);
    background-color: var(--navy-900);
    box-shadow: var(--shadow-md);
    grid-column: span 2;
}

.service-bento-card:nth-child(1),
.service-bento-card:nth-child(2) {
    grid-column: span 3;
    min-height: 430px;
}

.service-bento-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-bento-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.service-bento-card:hover .service-bento-media img {
    transform: scale(1.06);
}

.service-bento-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 24, 40, 0.04) 0%, rgba(10, 24, 40, 0.34) 46%, rgba(10, 24, 40, 0.88) 100%);
    transition: background 0.35s ease;
}

.service-bento-card:hover .service-bento-overlay {
    background: linear-gradient(180deg, rgba(10, 24, 40, 0.08) 0%, rgba(16, 36, 58, 0.52) 45%, rgba(10, 24, 40, 0.92) 100%);
}

.service-bento-body {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
}

.service-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sage-300);
    border: 1px solid rgba(207, 224, 165, 0.45);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.75rem;
    background: rgba(10, 24, 40, 0.42);
    backdrop-filter: blur(6px);
}

.service-bento-body h2,
.service-bento-body h3 {
    color: var(--white);
    font-size: clamp(1.22rem, 1.7vw, 1.48rem);
    margin-bottom: 0.55rem;
}

.service-bento-body p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.93rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--sage-300);
}

.card-action-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease);
}

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

.service-bento-card:hover .card-action-link svg {
    transform: translateX(4px);
}

[dir="rtl"] .service-bento-card:hover .card-action-link svg {
    transform: scaleX(-1) translateX(4px);
}

@media (max-width: 1024px) {
    .bento-services {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-bento-card,
    .service-bento-card:nth-child(1),
    .service-bento-card:nth-child(2) {
        grid-column: span 1;
        min-height: 340px;
    }
    .service-bento-card:nth-child(5) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .bento-services {
        grid-template-columns: 1fr;
    }
    .service-bento-card,
    .service-bento-card:nth-child(1),
    .service-bento-card:nth-child(2),
    .service-bento-card:nth-child(5) {
        grid-column: auto;
        min-height: 310px;
    }
}

/* ---------- 2nd Full-Bleed Blended Video Band — International Trade (Sec 4) ---------- */
.video-band-intl {
    position: relative;
    overflow: hidden;
    background: var(--navy-950);
    color: var(--white);
}

.band-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.band-poster-img,
.band-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band-video {
    opacity: 0;
    transition: opacity 0.85s ease;
}

.band-video.is-playing {
    opacity: 1;
}

.band-video-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 36, 58, 0.92) 0%, rgba(16, 36, 58, 0.72) 50%, rgba(10, 24, 40, 0.95) 100%),
        linear-gradient(90deg, rgba(10, 24, 40, 0.85) 0%, rgba(16, 36, 58, 0.56) 100%);
}

.intl-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.intl-lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 1.15rem;
}

.intl-copy p {
    color: rgba(255, 255, 255, 0.8);
}

.corridor-hairlines {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 1.75rem;
    margin-top: 2rem;
}

.corridor-hairline-item {
    padding-top: 0.95rem;
    border-top: 1px solid rgba(207, 224, 165, 0.32);
}

.corridor-hairline-item h3 {
    font-size: 0.98rem;
    color: var(--sage-300);
    margin-bottom: 0.4rem;
}

.corridor-hairline-item p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

.map-panel {
    background: rgba(10, 24, 40, 0.62);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(133, 170, 208, 0.28);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.map-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(207, 224, 165, 0.14);
    border: 1px solid rgba(207, 224, 165, 0.35);
    color: var(--sage-300);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.map-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage-300);
}

.world-map-svg {
    width: 100%;
    height: auto;
}

.map-caption {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.5;
}

@media (max-width: 980px) {
    .intl-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .corridor-hairlines {
        grid-template-columns: 1fr;
    }
}

/* ---------- Why H2O Editorial Video Stack & Hairline Rows (Sec 5) ---------- */
.why-editorial {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(2.5rem, 5vw, 4.75rem);
    align-items: center;
}

.why-media-stack {
    position: relative;
    padding-bottom: 3.5rem;
}

.why-video-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 20 / 21;
    background: var(--navy-900);
    box-shadow: var(--shadow-lg);
}

.why-poster-img,
.why-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-video {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.why-video.is-playing {
    opacity: 1;
}

.why-inset-card {
    position: absolute;
    bottom: 0;
    inset-inline-end: -1rem;
    width: 62%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.why-inset-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hairline-pillars {
    display: flex;
    flex-direction: column;
}

.hairline-pillar-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-block: 1.15rem;
    border-top: 1px solid var(--border-light);
}

.hairline-pillar-row:last-child {
    border-bottom: 1px solid var(--border-light);
}

.hairline-num {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    color: var(--blue-400);
    flex-shrink: 0;
    padding-top: 2px;
}

.hairline-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.3rem;
}

.hairline-icon {
    display: inline-flex;
    color: var(--petrol-800);
}

.hairline-icon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hairline-body h3 {
    font-size: 1.06rem;
}

.hairline-body p {
    font-size: 0.92rem;
    color: var(--ink-700);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .why-editorial {
        grid-template-columns: 1fr;
    }
    .why-media-stack {
        padding-bottom: 0;
    }
    .why-inset-card {
        position: relative;
        inset-inline-end: auto;
        width: 100%;
        margin-top: 1rem;
        border: 0;
    }
}

/* ---------- 4-Up Operational Gallery Carousel & Lightbox (Sec 6) ---------- */
.gallery-showcase {
    padding-bottom: 3rem;
}

.gallery-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-arrows {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.circle-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--navy-900);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.circle-arrow-btn:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
}

.circle-arrow-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

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

.gallery-carousel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.gallery-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.gallery-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 1.15rem) / 4);
    gap: 1.15rem;
}

.gallery-slide-card {
    position: relative;
    scroll-snap-align: start;
    aspect-ratio: 4 / 3;
    border: 0;
    padding: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--navy-900);
    cursor: zoom-in;
    text-align: start;
    box-shadow: var(--shadow-sm);
}

.gallery-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-slide-card:hover .gallery-slide-img {
    transform: scale(1.06);
}

.gallery-slide-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 24, 40, 0) 45%, rgba(10, 24, 40, 0.85) 100%);
}

.gallery-slide-caption {
    position: absolute;
    inset-inline: 1rem;
    bottom: 0.9rem;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #C4D0DA;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.gallery-dot.is-active {
    width: 24px;
    border-radius: 999px;
    background: var(--navy-900);
}

@media (max-width: 1080px) {
    .gallery-carousel-track {
        grid-auto-columns: calc((100% - 1.15rem) / 2);
    }
}

@media (max-width: 600px) {
    .gallery-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .gallery-carousel-track {
        grid-auto-columns: 84%;
    }
}

/* Lightbox Modal */
.h2o-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 24, 40, 0.92);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
}

.h2o-lightbox.is-open {
    display: flex;
}

.lightbox-stage {
    max-width: 1020px;
    width: 100%;
    background: var(--navy-900);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.lightbox-stage img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}

.lightbox-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    color: var(--white);
}

.lightbox-bar p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(10, 24, 40, 0.72);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-close svg,
.lightbox-nav svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.lightbox-close {
    top: 1.25rem;
    inset-inline-end: 1.25rem;
}

.lightbox-prev {
    inset-inline-start: 1.25rem;
}

.lightbox-next {
    inset-inline-end: 1.25rem;
}

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

/* ---------- 3rd Blended Interactive Panorama / Video Band (Sec 7) ---------- */
.panorama-band {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-950);
    color: var(--white);
}

.panorama-mist-top {
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 135px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(180deg, var(--surface-100) 0%, rgba(245, 247, 248, 0.78) 32%, rgba(245, 247, 248, 0.22) 72%, rgba(245, 247, 248, 0) 100%);
}

.panorama-band::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 75px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(0deg, var(--surface-100) 0%, rgba(245, 247, 248, 0) 100%);
}

.panorama-media-stack {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.panorama-scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s var(--ease);
}

.panorama-scene.is-active {
    opacity: 1;
}

.panorama-poster-img,
.panorama-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panorama-video {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.panorama-video.is-playing {
    opacity: 1;
}

.panorama-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10, 24, 40, 0.84) 0%, rgba(16, 36, 58, 0.62) 55%, rgba(16, 36, 58, 0.3) 100%);
}

[dir="rtl"] .panorama-scrim {
    background: linear-gradient(270deg, rgba(10, 24, 40, 0.84) 0%, rgba(16, 36, 58, 0.62) 55%, rgba(16, 36, 58, 0.3) 100%);
}

.panorama-inner {
    position: relative;
    z-index: 4;
    padding-block: 7.5rem 6rem;
}

.panorama-copy {
    max-width: 720px;
}

.panorama-copy p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.07rem;
    margin-bottom: 1.65rem;
}

.panorama-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.panorama-tab-btn {
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(10, 24, 40, 0.45);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.panorama-tab-btn.is-active,
.panorama-tab-btn:hover {
    background: var(--sage-300);
    border-color: var(--sage-300);
    color: var(--navy-950);
}

/* ---------- Open Hairline Working Model + 3-Photo Triptych (Sec 8) ---------- */
.hairline-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.hairline-step {
    padding-top: 1.35rem;
    border-top: 2px solid var(--navy-900);
}

.serif-step-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1;
    color: var(--petrol-700);
    margin-bottom: 0.75rem;
}

.hairline-step h3 {
    font-size: 1.02rem;
    margin-bottom: 0.55rem;
}

.hairline-step p {
    font-size: 0.9rem;
    color: var(--ink-700);
    line-height: 1.58;
}

/* Keep .process-rail / .process-step for service-detail & corporate-principles pages */
.process-rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
}

.process-step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.6rem 1.3rem;
    box-shadow: var(--shadow-sm);
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--sage-300);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.02rem;
    margin-bottom: 0.55rem;
}

.process-step p {
    font-size: 0.89rem;
    color: var(--ink-700);
    line-height: 1.58;
}

.process-disclaimer {
    margin-top: 1.75rem;
    font-size: 0.86rem;
    color: var(--ink-500);
    padding: 0.9rem 1.15rem;
    border-inline-start: 3px solid var(--blue-400);
    background: var(--white);
    border-radius: var(--radius-sm);
}

.triptych-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.triptych-card {
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--navy-900);
    box-shadow: var(--shadow-md);
}

.triptych-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.triptych-card:hover img {
    transform: scale(1.05);
}

.triptych-card figcaption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 2rem 1.15rem 0.95rem;
    background: linear-gradient(180deg, rgba(10, 24, 40, 0) 0%, rgba(10, 24, 40, 0.86) 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 1080px) {
    .hairline-steps-grid,
    .process-rail {
        grid-template-columns: repeat(2, 1fr);
    }
    .hairline-step:nth-child(5),
    .process-step:nth-child(5) {
        grid-column: 1 / -1;
    }
    .triptych-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hairline-steps-grid,
    .process-rail {
        grid-template-columns: 1fr;
    }
    .hairline-step:nth-child(5),
    .process-step:nth-child(5) {
        grid-column: auto;
    }
}

/* ---------- Blog Cards (Sec 8 & Blog Page) ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--navy-900);
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--ink-500);
    margin-bottom: 0.7rem;
}

.blog-cat-pill {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--blue-200);
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.74rem;
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.blog-card p {
    font-size: 0.92rem;
    color: var(--ink-700);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.blog-read-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--petrol-800);
}

.blog-read-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease);
}

.blog-card:hover .blog-read-link svg {
    transform: translateX(4px);
}

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

[dir="rtl"] .blog-card:hover .blog-read-link svg {
    transform: scaleX(-1) translateX(4px);
}

@media (max-width: 980px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Cooperation CTA Banner (Sec 9) ---------- */
.cta-band {
    background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--petrol-800) 100%);
    color: var(--white);
    padding-block: clamp(3.5rem, 5.5vw, 5.25rem);
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-band-copy {
    max-width: 720px;
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.7rem, 2.9vw, 2.45rem);
    margin-bottom: 0.85rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

@media (max-width: 860px) {
    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- Subpage Hero & Breadcrumbs ---------- */
.page-hero {
    position: relative;
    padding-block: calc(var(--header-h) + 3.25rem) 3.75rem;
    background-color: var(--navy-950);
    color: var(--white);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.36;
}

.page-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 24, 40, 0.82) 0%, rgba(16, 36, 58, 0.9) 100%);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 3.8vw, 3.15rem);
    margin-bottom: 1rem;
}

.page-hero-lead {
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
}

.page-hero-plain {
    padding-block: calc(var(--header-h) + 2.75rem) 2.5rem;
    background: var(--surface-100);
    border-bottom: 1px solid var(--border-light);
}

.page-hero-plain h1 {
    font-size: clamp(1.9rem, 3.3vw, 2.75rem);
    margin-bottom: 0.6rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 0.84rem;
    opacity: 0.84;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs li + li::before {
    content: "/";
    opacity: 0.55;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ---------- Disclosures & Scope Banners ---------- */
.disclosure-box {
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius-md);
    background: #EEF4F8;
    border: 1px solid #C9DAE7;
    border-inline-start: 4px solid var(--petrol-700);
    color: var(--ink-900);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- Service Detail Specific ---------- */
.service-overview-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
}

.service-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cat-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border-inline-start: 3px solid var(--blue-400);
}

.cat-card h3 {
    font-size: 1.06rem;
    margin-bottom: 0.5rem;
}

.cat-card p {
    font-size: 0.92rem;
    color: var(--ink-700);
}

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.standard-card {
    background: var(--surface-100);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.65rem;
}

.standard-card h3 {
    font-size: 1.06rem;
    margin-bottom: 0.65rem;
}

.standard-card p {
    font-size: 0.93rem;
    color: var(--ink-700);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.gallery-figure {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--white);
}

.gallery-figure img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery-figure figcaption {
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-900);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 880px;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: transparent;
    border: 0;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--navy-900);
    text-align: start;
    cursor: pointer;
}

.faq-trigger svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-panel {
    display: none;
    padding: 0 1.4rem 1.25rem;
    color: var(--ink-700);
    font-size: 0.95rem;
    line-height: 1.68;
}

.faq-item.is-open .faq-panel {
    display: block;
}

@media (max-width: 980px) {
    .service-overview-grid,
    .service-categories-grid,
    .service-process-grid,
    .standards-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Corporate Pages ---------- */
.corporate-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.75rem;
    align-items: start;
}

.corporate-article h2 {
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    margin: 2rem 0 0.85rem;
}

.corporate-article h2:first-child {
    margin-top: 0;
}

.facts-card {
    background: var(--surface-100);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.facts-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-light);
}

.facts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}

.facts-list dt {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-500);
}

.facts-list dd {
    margin: 2px 0 0;
    font-weight: 600;
    color: var(--navy-900);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.vm-card {
    padding: 2.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.vm-card-dark {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

.vm-card-dark h2 {
    color: var(--sage-300);
}

.vm-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.65rem;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--petrol-800);
}

@media (max-width: 920px) {
    .corporate-grid,
    .vm-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Blog Filter & Article ---------- */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.25rem;
}

.filter-btn {
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--ink-700);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

.filter-btn.is-active {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

.article-layout {
    max-width: 820px;
    margin-inline: auto;
}

.article-cover {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.takeaways-box {
    background: var(--surface-100);
    border: 1px solid var(--border-light);
    border-inline-start: 4px solid var(--sage-400);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.25rem;
}

.takeaways-box h2 {
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.takeaways-box ul {
    margin: 0;
    padding-inline-start: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.article-prose h2 {
    font-size: clamp(1.4rem, 2.3vw, 1.85rem);
    margin: 2.25rem 0 0.85rem;
}

.article-prose h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.65rem;
    color: var(--petrol-800);
}

.article-prose p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-900);
}

/* ---------- Contact Page & Form ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(2rem, 4.5vw, 3.75rem);
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.contact-info-card {
    background: var(--surface-100);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
}

.contact-info-card h3 {
    font-size: 1rem;
    color: var(--petrol-800);
    margin-bottom: 0.45rem;
}

.contact-info-card a {
    color: var(--navy-900);
    font-weight: 600;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.map-wrapper {
    margin-top: 1.35rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
}

.map-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    background: var(--surface-100);
}

.map-tab-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 0;
    background: transparent;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--ink-700);
    border-bottom: 2px solid transparent;
}

.map-tab-btn.is-active {
    background: var(--white);
    color: var(--navy-900);
    border-bottom-color: var(--navy-900);
}

.map-frame {
    width: 100%;
    height: 270px;
    border: 0;
    display: block;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
    margin-top: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-900);
}

.form-control {
    width: 100%;
    padding: 0.78rem 0.95rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--surface-100);
    color: var(--ink-900);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--petrol-700);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(133, 170, 208, 0.25);
}

.form-control.is-invalid {
    border-color: var(--danger);
    background: var(--danger-bg);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--ink-700);
}

.consent-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--navy-900);
}

.consent-row a {
    color: var(--petrol-800);
    font-weight: 600;
    text-decoration: underline;
}

.field-error {
    font-size: 0.8rem;
    color: var(--danger);
    font-weight: 600;
}

.form-alert {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    display: none;
}

.form-alert.is-visible {
    display: block;
}

.form-alert.is-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #A7DFBF;
}

.form-alert.is-error {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid #FECDCA;
}

@media (max-width: 960px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Social Icons ---------- */
.social-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    color: var(--navy-900);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 17px;
    height: 17px;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--navy-950);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4.25rem;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1.15rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 34ch;
}

.footer-brand .brand-mark-wrap {
    background: rgba(255, 255, 255, 0.94);
}

.footer-col h3 {
    color: var(--white);
    font-size: 0.96rem;
    margin-bottom: 1.15rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.58rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--sage-300);
}

.footer-contact-item {
    font-size: 0.89rem;
    margin-bottom: 0.9rem;
}

.footer-contact-item strong {
    display: block;
    color: var(--sage-300);
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.site-footer .social-btn {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.site-footer .social-btn:hover {
    background: var(--sage-300);
    border-color: var(--sage-300);
    color: var(--navy-950);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-block: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.66);
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-legal-links a:hover {
    color: var(--sage-300);
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Legal & 404 ---------- */
.legal-card {
    max-width: 840px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

.legal-card h2 {
    font-size: 1.28rem;
    margin: 1.75rem 0 0.6rem;
}

.not-found-box {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    padding-block: clamp(5rem, 10vw, 8rem);
}

.not-found-code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 11vw, 7rem);
    font-weight: 800;
    color: var(--blue-400);
    line-height: 1;
    margin-bottom: 1rem;
}

/* ---------- Floating Action Buttons (WhatsApp Left + Back-to-Top Right) ---------- */
.fab-whatsapp {
    position: fixed;
    left: max(20px, env(safe-area-inset-left, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 950;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1FA855;
    color: var(--white);
    box-shadow: 0 10px 26px rgba(10, 24, 40, 0.28);
    transition: transform 0.25s var(--ease), background-color 0.25s ease, box-shadow 0.25s ease;
}

.fab-whatsapp:hover {
    background: #179046;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 32px rgba(10, 24, 40, 0.34);
}

.fab-whatsapp .fab-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.fab-tooltip {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--navy-950);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: var(--shadow-md);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

@media (hover: hover) and (min-width: 769px) {
    .fab-whatsapp:hover .fab-tooltip,
    .fab-whatsapp:focus-visible .fab-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
    }
}

.fab-top {
    position: fixed;
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 950;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(16, 36, 58, 0.94);
    color: var(--sage-300);
    border: 1px solid rgba(207, 224, 165, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 26px rgba(10, 24, 40, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fab-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-top:hover {
    background: var(--sage-300);
    color: var(--navy-950);
    border-color: var(--sage-300);
    transform: translateY(-3px);
}

.fab-top .fab-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media print {
    .fab-whatsapp,
    .fab-top {
        display: none !important;
    }
}

/* ---------- Comprehensive Mobile Responsive Overhaul ---------- */
@media (max-width: 960px) {
    .hero-home {
        min-height: auto;
        max-height: none;
    }
    .hero-slides-track {
        min-height: 540px;
    }
    .hero-slide {
        padding-top: calc(var(--header-h) + 2.25rem);
        padding-bottom: 3rem;
    }
    .hero-controls-bar {
        position: relative;
        inset: auto;
        bottom: auto;
        top: auto;
        pointer-events: auto;
        background: rgba(10, 24, 40, 0.82);
        padding-block: 0.7rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .hero-controls-inner {
        justify-content: center;
    }
    .why-video-frame {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 720px) {
    .h2o-lightbox {
        padding: 1rem;
    }
    .lightbox-stage img {
        max-height: 54vh;
        object-fit: contain;
        background: var(--navy-950);
    }
    .lightbox-bar {
        padding: 0.95rem 1rem;
        gap: 0.75rem;
    }
    .lightbox-bar p {
        font-size: 0.92rem;
    }
    .lightbox-bar .btn {
        width: 100%;
    }
    .lightbox-close {
        top: calc(0.75rem + env(safe-area-inset-top, 0px));
        inset-inline-end: 0.75rem;
        width: 42px;
        height: 42px;
    }
    .lightbox-nav {
        top: auto;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
    }
    .lightbox-prev {
        inset-inline-start: calc(50% - 54px);
    }
    .lightbox-next {
        inset-inline-end: calc(50% - 54px);
    }
}

@media (max-width: 640px) {
    :root {
        --header-h: 66px;
    }
    .site-header.is-scrolled {
        height: 60px;
    }
    .header-inner {
        gap: 0.6rem;
    }
    .brand-link {
        gap: 8px;
        min-width: 0;
    }
    .brand-mark-wrap {
        width: 38px;
        height: 40px;
        padding: 2px;
    }
    .brand-mark {
        width: 32px;
        height: 34px;
    }
    .brand-name {
        font-size: 1.05rem;
    }
    .header-actions {
        gap: 0.45rem;
        flex-shrink: 0;
    }
    .lang-switcher {
        padding: 2px;
    }
    .lang-btn {
        padding: 0.28rem 0.46rem;
        font-size: 0.72rem;
    }
    .mobile-toggle {
        width: 40px;
        height: 40px;
    }
    .container {
        width: calc(100% - 1.75rem);
    }
    .section {
        padding-block: 3.1rem;
    }
    .section-header,
    .section-header-split {
        margin-bottom: 1.75rem;
        padding-bottom: 1.1rem;
    }
    .eyebrow {
        font-size: 0.72rem;
        margin-bottom: 0.65rem;
    }
    .editorial-h2 {
        font-size: clamp(1.65rem, 6.8vw, 2.15rem);
    }
    .section-header h2 {
        font-size: clamp(1.55rem, 6.2vw, 2rem);
    }
    .section-header p,
    .section-header-aside,
    .about-copy p,
    .intl-lead {
        font-size: 0.96rem;
    }

    /* Hero Mobile Refinement */
    .hero-slides-track {
        min-height: 490px;
    }
    .hero-slide {
        padding-top: calc(var(--header-h) + 2rem);
        padding-bottom: 2.35rem;
    }
    .hero-display-title {
        font-size: clamp(1.92rem, 8vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 0.85rem;
    }
    [lang="ar"] .hero-display-title {
        font-size: clamp(1.72rem, 7vw, 2.2rem);
        line-height: 1.28;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.35rem;
        line-height: 1.56;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 0.68rem;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    .hero-sector-dock .container {
        width: 100%;
        padding-inline: 0.875rem;
    }
    .sector-dock-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        gap: 0.5rem;
        padding-block: 0.7rem;
        scrollbar-width: none;
    }
    .sector-dock-grid::-webkit-scrollbar {
        display: none;
    }
    .sector-dock-item,
    .sector-dock-item:nth-child(5) {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.52rem 0.88rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        gap: 8px;
        font-size: 0.81rem;
        scroll-snap-align: start;
    }

    /* Homepage Sections Mobile Sizing */
    .about-highlights {
        margin-block: 1.35rem;
        padding-block: 1rem;
        gap: 0.75rem;
    }
    .about-copy .btn {
        width: 100%;
    }
    .collage-main img {
        aspect-ratio: 16 / 10;
    }
    .bento-services {
        gap: 1rem;
    }
    .service-bento-card,
    .service-bento-card:nth-child(1),
    .service-bento-card:nth-child(2),
    .service-bento-card:nth-child(5) {
        min-height: 275px;
    }
    .service-bento-body {
        padding: 1.25rem;
    }
    .service-bento-body p {
        font-size: 0.88rem;
        margin-bottom: 0.85rem;
    }
    .map-panel {
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .corridor-hairlines {
        margin-top: 1.35rem;
        gap: 1rem;
    }
    .map-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.72rem;
    }
    .hairline-pillar-row {
        gap: 0.85rem;
        padding-block: 0.95rem;
    }
    .hairline-num {
        font-size: 1.45rem;
    }
    .gallery-showcase {
        padding-bottom: 2.25rem;
    }
    .gallery-head {
        flex-direction: row;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 0.9rem;
        margin-bottom: 1.35rem;
    }
    .gallery-head > div:first-child {
        flex: 1 1 200px;
        min-width: 0;
    }
    .circle-arrow-btn {
        width: 40px;
        height: 40px;
    }
    .gallery-carousel-track {
        grid-auto-columns: 82%;
        gap: 0.85rem;
    }
    .gallery-slide-caption {
        font-size: 0.83rem;
        inset-inline: 0.85rem;
        bottom: 0.75rem;
    }
    .panorama-band {
        min-height: 410px;
    }
    .panorama-mist-top {
        height: 68px;
    }
    .panorama-band::after {
        height: 46px;
    }
    .panorama-inner {
        padding-block: 4.25rem 3.5rem;
    }
    .panorama-copy p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    .panorama-tabs {
        gap: 0.45rem;
        margin-bottom: 1.25rem;
    }
    .panorama-tab-btn {
        font-size: 0.78rem;
        padding: 0.42rem 0.8rem;
    }
    .panorama-copy .btn {
        width: 100%;
    }
    .hairline-steps-grid {
        gap: 1.1rem;
    }
    .hairline-step {
        padding-top: 1rem;
    }
    .serif-step-num {
        font-size: 1.85rem;
        margin-bottom: 0.45rem;
    }
    .triptych-grid {
        margin-top: 1.75rem;
        gap: 0.9rem;
    }
    .triptych-card figcaption {
        font-size: 0.84rem;
        padding: 1.5rem 0.95rem 0.8rem;
    }
    .blog-card-body {
        padding: 1.15rem;
    }
    .cta-band {
        padding-block: 2.75rem;
    }
    .cta-band-inner {
        gap: 1.25rem;
    }
    .cta-band h2 {
        font-size: clamp(1.45rem, 6.2vw, 1.9rem);
    }
    .cta-band p {
        font-size: 0.94rem;
    }
    .cta-band .btn {
        width: 100%;
    }

    /* Subpages, Forms, Maps & Footer Mobile Refinement */
    .page-hero {
        padding-block: calc(var(--header-h) + 1.8rem) 2.25rem;
    }
    .page-hero-plain {
        padding-block: calc(var(--header-h) + 1.65rem) 1.75rem;
    }
    .page-hero h1,
    .page-hero-plain h1 {
        font-size: clamp(1.62rem, 6.6vw, 2.2rem);
    }
    .page-hero-lead {
        font-size: 0.95rem;
    }
    .breadcrumbs {
        font-size: 0.76rem;
        margin-bottom: 0.8rem;
    }
    .service-overview-grid,
    .corporate-grid {
        gap: 1.65rem;
    }
    .cat-card,
    .standard-card,
    .value-card,
    .facts-card,
    .vm-card,
    .process-step,
    .contact-info-card {
        padding: 1.2rem;
    }
    .faq-trigger {
        padding: 0.95rem 1.05rem;
        font-size: 0.94rem;
        gap: 0.75rem;
    }
    .faq-panel {
        padding: 0 1.05rem 1rem;
        font-size: 0.9rem;
    }
    .blog-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.35rem;
        scrollbar-width: none;
        margin-bottom: 1.4rem;
    }
    .blog-filters::-webkit-scrollbar {
        display: none;
    }
    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.82rem;
        padding: 0.44rem 0.88rem;
    }
    .article-prose p {
        font-size: 0.97rem;
        line-height: 1.75;
    }
    .takeaways-box {
        padding: 1.15rem 1.25rem;
    }
    .contact-form-card {
        padding: 1.25rem;
        border-radius: var(--radius-md);
    }
    .contact-form-card .btn {
        width: 100%;
    }
    .form-control {
        font-size: 16px;
    }
    .map-tab-btn {
        font-size: 0.82rem;
        padding: 0.7rem 0.6rem;
    }
    .map-frame {
        height: 220px;
    }
    .site-footer {
        padding-top: 3rem;
    }
    .footer-grid {
        gap: 1.75rem;
        padding-bottom: 2.15rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-block: 1.25rem calc(4.75rem + env(safe-area-inset-bottom, 0px));
    }

    /* Floating Action Buttons on Mobile */
    .fab-whatsapp {
        left: max(14px, env(safe-area-inset-left, 0px));
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 48px;
        height: 48px;
    }
    .fab-whatsapp .fab-icon {
        width: 23px;
        height: 23px;
    }
    .fab-tooltip {
        display: none;
    }
    .fab-top {
        right: max(14px, env(safe-area-inset-right, 0px));
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 46px;
        height: 46px;
    }
    .fab-top .fab-icon {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 520px) {
    .btn {
        white-space: normal;
        text-align: center;
        padding: 0.8rem 1.15rem;
        font-size: 0.91rem;
    }
}

@media (max-width: 380px) {
    .lang-btn {
        padding: 0.24rem 0.38rem;
        font-size: 0.68rem;
    }
    .mobile-toggle {
        width: 38px;
        height: 38px;
    }
    .brand-mark-wrap {
        width: 35px;
        height: 37px;
    }
    .brand-mark {
        width: 30px;
        height: 32px;
    }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal,
    .reveal.is-revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .service-bento-media img,
    .blog-card-media img,
    .gallery-slide-img,
    .triptych-card img,
    .hero-slide,
    .panorama-scene,
    .btn,
    .fab-whatsapp,
    .fab-top {
        transition: none;
    }
    .scroll-mouse-wheel {
        animation: none;
    }
}
