:root {
    --navy: #1B365D;
    --navy-dark: #071525;
    --navy-mid: #122a47;
    --navy-light: #2B5A8E;
    --blue: #3B7BBF;
    --blue-light: #6BA3E0;
    --blue-soft: #E8F2FC;
    --blue-glow: rgba(59, 123, 191, 0.28);
    --white: #FFFFFF;
    --surface: #F4F7FB;
    --surface-2: #E9EFF7;
    --border: #D8E2EE;
    --text: #0F172A;
    --muted: #5C6B7F;
    --radius-xl: 28px;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-sm: 0 2px 12px rgba(27, 54, 93, 0.06);
    --shadow: 0 8px 32px rgba(27, 54, 93, 0.1);
    --shadow-lg: 0 24px 64px rgba(27, 54, 93, 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 76px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    direction: rtl;
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    direction: rtl;
    text-align: right;
}

.container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.font-en { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.04em; }

/* ─── Navbar ─── */
.nav-shell {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.1rem 1.5rem;
    pointer-events: none;
}

.nav-modern {
    max-width: 1280px;
    margin: 0 auto;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 0.55rem 0.55rem 0.55rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.45s var(--ease);
}

.nav-modern.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    padding: 0.45rem 0.45rem 0.45rem 1.1rem;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand-icon,
.nav-brand img {
    width: 42px; height: 42px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--border);
}

.nav-brand-icon {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    font-weight: 900;
    font-size: 1.15rem;
    box-shadow: 0 6px 18px var(--blue-glow);
}

.nav-brand-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.06em;
}

.nav-brand-text span {
    font-size: 0.58rem;
    color: var(--blue);
    letter-spacing: 0.18em;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    transition: all 0.25s var(--ease);
}

.nav-links a:hover {
    color: var(--navy);
    background: rgba(27, 54, 93, 0.08);
}

.nav-links a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    box-shadow: 0 6px 18px rgba(27, 54, 93, 0.28);
}

.nav-lang-item {
    margin-inline-start: 0.35rem;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.22rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(27, 54, 93, 0.12);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(27, 54, 93, 0.08);
    backdrop-filter: blur(8px);
    direction: ltr;
    unicode-bidi: isolate;
}

.lang-switcher__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.lang-switcher__item:not(.is-active) {
    z-index: 2;
}

.lang-switcher__item:hover {
    color: var(--navy);
    background: rgba(27, 54, 93, 0.08);
}

.lang-switcher__item.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    box-shadow: 0 6px 16px rgba(27, 54, 93, 0.24);
    cursor: default;
}

.lang-switcher__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
    background: #fff;
    pointer-events: none;
}

.lang-switcher__flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.lang-switcher__label {
    font-family: 'Plus Jakarta Sans', 'Tajawal', sans-serif;
    pointer-events: none;
}

.lang-switcher--compact .lang-switcher__label {
    display: none;
}

.lang-switcher--compact .lang-switcher__item {
    padding: 0.45rem 0.55rem;
}

.lang-switcher--menu {
    width: 100%;
    justify-content: stretch;
    padding: 0.3rem;
    margin-top: 0.5rem;
    background: rgba(27, 54, 93, 0.04);
}

.lang-switcher--menu .lang-switcher__item {
    flex: 1;
    justify-content: center;
    padding: 0.75rem 0.85rem;
    font-size: 0.86rem;
}

.mobile-lang-wrap {
    padding: 1rem 0 0.25rem;
    border-top: 1px solid var(--border);
    margin-top: 0.35rem;
}

.nav-cta {
    background: linear-gradient(135deg, var(--navy), var(--navy-light)) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.35rem !important;
    margin-inline-start: 0.15rem;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--blue-glow);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.45rem 0.65rem;
    font-size: 1.25rem;
    color: var(--navy);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.nav-mobile-controls {
    direction: ltr;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: rgba(7, 21, 37, 0.55);
    backdrop-filter: blur(6px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-panel {
    position: absolute;
    top: 0;
    inset-inline-start: 0; /* يمين الشاشة في RTL */
    width: min(340px, 88vw);
    max-width: 100%;
    height: 100%;
    background: var(--white);
    padding: 5.5rem 1.75rem 2rem;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.35s var(--ease);
    overflow-x: hidden;
    overflow-y: auto;
    direction: rtl;
    text-align: right;
    will-change: transform;
}

.mobile-menu.open .mobile-panel { transform: translate3d(0, 0, 0); }

body.mobile-nav-open {
    overflow: hidden;
}

.mobile-panel .mobile-link {
    display: block;
    padding: 0.9rem 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    transition: color 0.25s var(--ease);
}

.mobile-panel .mobile-lang-wrap .lang-switcher__item {
    display: inline-flex;
    border-bottom: none;
    padding: 0.75rem 0.85rem;
}

.mobile-link.active {
    color: var(--navy);
    background: rgba(27, 54, 93, 0.08);
    border-radius: 12px;
    padding-inline: 0.75rem;
    margin-inline: -0.75rem;
    border-inline-start: 3px solid var(--navy);
}

/* ─── Buttons ─── */
.btn-primary-rp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white) !important;
    padding: 0.9rem 1.85rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    font-family: inherit;
    font-size: 0.92rem;
    box-shadow: 0 8px 24px rgba(27, 54, 93, 0.22);
}

.btn-primary-rp:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px var(--blue-glow);
    color: var(--white) !important;
}

.btn-ghost-rp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    color: var(--white) !important;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.22);
    transition: all 0.3s;
    font-size: 0.92rem;
}

.btn-ghost-rp:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.45);
    color: var(--white) !important;
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--navy) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s;
    font-size: 0.88rem;
}

.btn-ghost-light:hover {
    border-color: var(--blue);
    color: var(--blue) !important;
    box-shadow: var(--shadow-sm);
}

.btn-outline-rp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--navy) !important;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--navy);
    transition: all 0.3s;
}

.btn-outline-rp:hover {
    background: var(--navy);
    color: var(--white) !important;
}

/* ─── Hero Carousel ─── */
.hero-carousel {
    position: relative;
    min-height: 100svh;
    background: var(--navy-dark);
    padding-top: calc(var(--nav-h) + 1rem);
    overflow: hidden;
}

.hero-slides {
    position: relative;
    min-height: calc(100svh - var(--nav-h) - 1rem);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s var(--ease), visibility 0.85s;
    pointer-events: none;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    z-index: 1;
}

.hero-carousel-bar {
    position: absolute;
    bottom: 1.25rem;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 6;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 0.75rem;
    box-sizing: border-box;
    pointer-events: none;
}

.hero-carousel-ui {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 0.4rem 0.65rem;
    max-width: 100%;
}

.hero-carousel-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.hero-counter {
    color: rgba(255,255,255,0.55);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
    padding-inline-end: 0.55rem;
    margin-inline-end: 0.1rem;
    border-inline-end: 1px solid rgba(255,255,255,0.14);
}

.hero-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

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

.hero-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.25rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 0;
    transition: all 0.35s;
}

.hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--blue-light);
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(59, 123, 191, 0.35), transparent 42%),
        radial-gradient(circle at 85% 75%, rgba(43, 90, 142, 0.28), transparent 38%),
        linear-gradient(155deg, #04101f 0%, var(--navy) 48%, #0a1628 100%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-orb.o1 { width: 420px; height: 420px; background: rgba(59,123,191,0.25); top: -80px; left: -100px; }
.hero-orb.o2 { width: 320px; height: 320px; background: rgba(107,163,224,0.18); bottom: 10%; right: 5%; }

.hero-content { position: relative; z-index: 2; padding: 2rem 0 3.5rem; width: 100%; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    border-radius: 999px;
    color: var(--blue-light);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
}

.hero-tag-dot {
    width: 8px; height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-eyebrow {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 0.08em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.35);
    margin-bottom: 0.75rem;
}

.hero-main-title {
    font-size: clamp(1.85rem, 3.8vw, 3rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 640px;
    padding-block: 0.12em 0.06em;
}

.hero-subtitle {
    color: rgba(255,255,255,0.68);
    font-size: 1.08rem;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-metric strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.35;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-metric span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.hero-visual-wrap { position: relative; padding: 1rem; }

.hero-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 40px 80px rgba(0,0,0,0.45);
    aspect-ratio: 4/5;
    max-height: 520px;
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,21,37,0.75) 0%, transparent 55%);
}

.hero-frame-caption {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    color: var(--white);
}

.hero-frame-caption strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.hero-frame-caption span { font-size: 0.82rem; opacity: 0.7; }

.hero-float-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    box-shadow: var(--shadow-lg);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 3;
}

.hero-float-badge i { color: var(--blue); }
.hero-float-badge.b1 { top: 8%; left: -8%; animation: float 5s ease-in-out infinite; }
.hero-float-badge.b2 { bottom: 12%; right: -6%; animation: float 5s ease-in-out infinite 1.2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    color: rgba(255,255,255,0.35);
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    animation: bounce 2.2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(7px); }
}

/* ─── Marquee ─── */
.marquee-strip {
    background: var(--navy);
    border-block: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    padding: 0.85rem 0;
    direction: ltr;
    unicode-bidi: isolate;
}

.marquee-track {
    display: flex;
    width: max-content;
    direction: ltr;
    animation: marqueeScroll 32s linear infinite;
    will-change: transform;
}

.marquee-set {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    direction: ltr;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0 1.75rem;
    color: rgba(255,255,255,0.75);
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    flex-shrink: 0;
    direction: rtl;
    unicode-bidi: plaintext;
}

.marquee-item::after {
    content: '◆';
    color: var(--blue);
    font-size: 0.45rem;
}

@keyframes marqueeScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

html[dir="rtl"] .marquee-strip,
html[dir="rtl"] .marquee-track,
html[dir="rtl"] .marquee-set {
    direction: ltr;
    unicode-bidi: isolate;
}

html[dir="rtl"] .marquee-track {
    animation-name: marqueeScroll;
}

/* ─── Section system ─── */
.section-block {
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
    position: relative;
    max-width: 100%;
}

.section-block + .section-block {
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.section-block.alt {
    background: var(--surface);
}

.section-block.alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(59,123,191,0.06), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(27,54,93,0.04), transparent 35%);
    pointer-events: none;
}

.section-block.dark {
    background: var(--navy-dark);
    color: var(--white);
}

.section-block.section-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.section-block.section-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,21,37,0.94) 0%, rgba(27,54,93,0.88) 100%);
}

.section-block > .container-wide,
.section-block > .container-narrow { position: relative; z-index: 1; }

.section-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.75rem;
    align-items: end;
    margin-bottom: 1.75rem;
}

.section-index {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--blue-soft);
    user-select: none;
}

.section-block.dark .section-index { color: rgba(255,255,255,0.06); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-label::before {
    content: '';
    width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--blue), transparent);
    border-radius: 2px;
}

.section-block.dark .section-label { color: var(--blue-light); }

.section-heading {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.4;
    letter-spacing: -0.02em;
    padding-block: 0.06em;
}

.section-block.dark .section-heading { color: var(--white); }

.section-lead {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 560px;
    margin-top: 0.85rem;
    line-height: 1.85;
}

.section-block.dark .section-lead { color: rgba(255,255,255,0.62); }

/* ─── About trio + values circles ─── */
.about-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.about-trio-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    overflow: hidden;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.about-trio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(27, 54, 93, 0.28);
}

.about-trio-card--about {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
    box-shadow: 0 12px 40px rgba(7, 21, 37, 0.35);
}

.about-trio-card--vision {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
    box-shadow: 0 12px 40px rgba(27, 54, 93, 0.25);
}

.about-trio-card--mission {
    background: linear-gradient(145deg, var(--navy-light) 0%, var(--blue) 100%);
    box-shadow: 0 12px 40px rgba(59, 123, 191, 0.28);
}

.about-trio-shine {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
    top: -50px;
    inset-inline-end: -30px;
    pointer-events: none;
}

.about-trio-num {
    position: absolute;
    bottom: 0.75rem;
    inset-inline-start: 1rem;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.07);
    user-select: none;
}

.about-trio-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
}

.about-trio-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.about-trio-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
}

.about-trio-card p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.88);
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Values circles */
.values-showcase {
    text-align: center;
    padding: 0 0.5rem;
}

.values-showcase-head {
    margin-bottom: 1.25rem;
}

.values-showcase-head h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--navy);
    margin-top: 0.5rem;
}

.values-orbit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.value-circle {
    position: relative;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.95rem 0.85rem 0.85rem;
    color: var(--white);
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1.5;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    cursor: default;
}

.value-circle-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.35);
    animation: spin-slow 18s linear infinite;
}

.value-circle:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 16px 40px rgba(27, 54, 93, 0.3);
    z-index: 2;
}

.value-circle:hover .value-circle-ring {
    animation-duration: 8s;
    border-style: solid;
}

.value-circle span {
    position: relative;
    z-index: 1;
}

.value-circle--1 {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    box-shadow: 0 8px 28px rgba(7, 21, 37, 0.35);
}

.value-circle--2 {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    box-shadow: 0 8px 28px rgba(27, 54, 93, 0.3);
    width: 128px;
    height: 128px;
    font-size: 0.88rem;
}

.value-circle--3 {
    background: linear-gradient(135deg, var(--navy-light), var(--blue));
    box-shadow: 0 8px 28px rgba(43, 90, 142, 0.3);
}

.value-circle--4 {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    box-shadow: 0 8px 28px rgba(59, 123, 191, 0.35);
    width: 128px;
    height: 128px;
}

.value-circle--5 {
    background: linear-gradient(135deg, var(--blue), var(--navy-light));
    box-shadow: 0 8px 28px rgba(59, 123, 191, 0.35);
    color: var(--white);
}

.value-circle--5 .value-circle-ring {
    border-color: rgba(255, 255, 255, 0.35);
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.values-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.value-chip {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-weight: 700;
    color: var(--white);
    font-size: 0.82rem;
    transition: all 0.3s;
}

.value-chip:hover {
    background: var(--white);
    color: var(--navy);
}

/* ─── Services (modern hub) ─── */
.services-section {
    position: relative;
    background: var(--surface);
    overflow: hidden;
}

.services-section-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(59,123,191,0.08), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(27,54,93,0.06), transparent 40%);
    pointer-events: none;
}

.services-section > .container-wide { position: relative; z-index: 1; }

.services-heading {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 900;
    line-height: 1.4;
    margin: 0;
    padding-block: 0.06em;
}

.services-heading-text {
    display: inline-block;
    position: relative;
    color: var(--navy);
    padding-block: 0.08em;
    line-height: 1.4;
}

.services-heading-text::before {
    content: '';
    position: absolute;
    bottom: 0.08em;
    inset-inline: -0.05em;
    height: 0.38em;
    background: linear-gradient(90deg, rgba(59,123,191,0.18), rgba(27,54,93,0.08));
    border-radius: 6px;
    z-index: -1;
}

.services-heading-line {
    display: block;
    width: 80px;
    height: 5px;
    margin-top: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--navy));
    box-shadow: 0 2px 12px rgba(59, 123, 191, 0.35);
}

.services-hub {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.services-tabs-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.6rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.services-tab {
    flex: 1 1 180px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.15rem;
    border: 1px solid transparent;
    border-radius: calc(var(--radius-xl) - 8px);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: start;
    transition: all 0.35s var(--ease);
}

.services-tab-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.35s var(--ease);
}

.services-tab-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
}

.services-tab-text small {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
}

.services-tab--navy .services-tab-icon { background: rgba(7,21,37,0.08); color: var(--navy-dark); }
.services-tab--mid .services-tab-icon { background: rgba(27,54,93,0.08); color: var(--navy); }
.services-tab--blue .services-tab-icon { background: rgba(43,90,142,0.1); color: var(--navy-light); }
.services-tab--sky .services-tab-icon { background: rgba(59,123,191,0.12); color: var(--blue); }

.services-tab.active.services-tab--navy,
.services-tab--navy:hover { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border-color: transparent; box-shadow: 0 8px 24px rgba(7,21,37,0.25); }
.services-tab.active.services-tab--mid,
.services-tab--mid:hover { background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-color: transparent; box-shadow: 0 8px 24px rgba(27,54,93,0.22); }
.services-tab.active.services-tab--blue,
.services-tab--blue:hover { background: linear-gradient(135deg, var(--navy-light), var(--blue)); border-color: transparent; box-shadow: 0 8px 24px rgba(59,123,191,0.25); }
.services-tab.active.services-tab--sky,
.services-tab--sky:hover { background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-color: transparent; box-shadow: 0 8px 24px rgba(107,163,224,0.3); }

.services-tab.active .services-tab-text strong,
.services-tab.active .services-tab-text small,
.services-tab:hover .services-tab-text strong,
.services-tab:hover .services-tab-text small { color: var(--white); }

.services-tab.active .services-tab-icon,
.services-tab:hover .services-tab-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.services-panel {
    display: none;
    animation: fadeUp 0.45s var(--ease);
}

.services-panel.active { display: block; }

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

.services-panel-hero {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    color: var(--white);
}

.services-panel--navy .services-panel-hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.services-panel--mid .services-panel-hero { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.services-panel--blue .services-panel-hero { background: linear-gradient(135deg, var(--navy-light), var(--blue)); }
.services-panel--sky .services-panel-hero { background: linear-gradient(135deg, var(--blue), var(--blue-light)); }

.services-panel-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.services-panel-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    opacity: 0.7;
    margin-bottom: 0.15rem;
}

.services-panel-hero h3 {
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0;
}

.services-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.15rem;
}

.service-tile {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.65rem 1.5rem;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
    display: flex;
    flex-direction: column;
    min-height: 210px;
}

.service-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-tile-num {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1.1rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.08;
    color: var(--navy);
}

.service-tile-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.services-panel--navy .service-tile-icon { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); box-shadow: 0 6px 18px rgba(7,21,37,0.25); }
.services-panel--mid .service-tile-icon { background: linear-gradient(135deg, var(--navy), var(--navy-light)); box-shadow: 0 6px 18px rgba(27,54,93,0.22); }
.services-panel--blue .service-tile-icon { background: linear-gradient(135deg, var(--navy-light), var(--blue)); box-shadow: 0 6px 18px rgba(59,123,191,0.25); }
.services-panel--sky .service-tile-icon { background: linear-gradient(135deg, var(--blue), var(--blue-light)); box-shadow: 0 6px 18px rgba(107,163,224,0.3); }

.service-tile h4 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.service-tile p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.75;
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-tile-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    bottom: -40px;
    inset-inline-start: -30px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.services-panel--navy .service-tile-glow { background: radial-gradient(circle, rgba(27,54,93,0.15), transparent 70%); }
.services-panel--mid .service-tile-glow { background: radial-gradient(circle, rgba(43,90,142,0.15), transparent 70%); }
.services-panel--blue .service-tile-glow { background: radial-gradient(circle, rgba(59,123,191,0.18), transparent 70%); }
.services-panel--sky .service-tile-glow { background: radial-gradient(circle, rgba(107,163,224,0.2), transparent 70%); }

.service-tile:hover .service-tile-glow { opacity: 1; }

/* ─── Technical Units ─── */
.units-section {
    position: relative;
    overflow: hidden;
}

.units-section-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(59,123,191,0.07), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(27,54,93,0.05), transparent 45%);
    pointer-events: none;
}

.units-section > .container-wide { position: relative; z-index: 1; }

.units-heading {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 900;
    line-height: 1.4;
    margin: 0;
    padding-block: 0.06em;
}

.units-heading-text {
    display: inline-block;
    position: relative;
    color: var(--navy);
    padding-block: 0.08em;
    line-height: 1.4;
}

.units-heading-text::before {
    content: '';
    position: absolute;
    bottom: 0.08em;
    inset-inline: -0.05em;
    height: 0.38em;
    background: linear-gradient(90deg, rgba(59,123,191,0.18), rgba(27,54,93,0.08));
    border-radius: 6px;
    z-index: -1;
}

.units-heading-line {
    display: block;
    width: 80px;
    height: 5px;
    margin-top: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--navy), var(--blue));
    box-shadow: 0 2px 12px rgba(27, 54, 93, 0.25);
}

.units-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.unit-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    color: var(--white);
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(27, 54, 93, 0.28);
}

.unit-card--1 {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
    box-shadow: 0 12px 36px rgba(7, 21, 37, 0.3);
}

.unit-card--2 {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
    box-shadow: 0 12px 36px rgba(27, 54, 93, 0.25);
}

.unit-card--3 {
    background: linear-gradient(145deg, var(--navy-light) 0%, var(--blue) 100%);
    box-shadow: 0 12px 36px rgba(43, 90, 142, 0.28);
}

.unit-card--4 {
    background: linear-gradient(145deg, var(--blue) 0%, #2a6aad 100%);
    box-shadow: 0 12px 36px rgba(59, 123, 191, 0.3);
}

.unit-card-num {
    position: absolute;
    bottom: 0.5rem;
    inset-inline-start: 1rem;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.07);
    user-select: none;
}

.unit-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease);
}

.unit-card:hover .unit-card-icon {
    transform: scale(1.08);
    background: rgba(255,255,255,0.22);
}

.unit-card h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.unit-card p {
    font-size: 0.88rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.88);
    flex: 1;
    position: relative;
    z-index: 1;
}

.unit-card-shine {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
    top: -50px;
    inset-inline-end: -40px;
    pointer-events: none;
    transition: opacity 0.4s;
}

.unit-card:hover .unit-card-shine {
    opacity: 1.5;
}

/* ─── Why Rashed (modern) ─── */
.why-section {
    position: relative;
    background: var(--navy-dark);
    color: var(--white);
    overflow: hidden;
}

.why-section-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(59,123,191,0.2), transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(43,90,142,0.15), transparent 40%);
    pointer-events: none;
}

.why-section-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    pointer-events: none;
}

.why-section > .container-wide { position: relative; z-index: 1; }

.why-section .section-label { color: var(--blue-light); }
.why-section .section-label::before { background: linear-gradient(90deg, var(--blue-light), transparent); }
.why-section .section-index { color: rgba(255,255,255,0.05); }

.why-heading {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 900;
    line-height: 1.4;
    margin: 0;
    padding-block: 0.06em;
}

.why-heading-text {
    display: inline-block;
    color: var(--white);
    padding-block: 0.08em;
    line-height: 1.4;
}

.why-heading-line {
    display: block;
    width: 80px;
    height: 5px;
    margin-top: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-light), var(--blue));
    box-shadow: 0 2px 16px rgba(107, 163, 224, 0.4);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    margin-bottom: 1.25rem;
}

.why-card {
    position: relative;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 1.65rem 1.5rem;
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
    min-height: 180px;
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(107,163,224,0.45);
    box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

.why-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.why-card-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    line-height: 1;
}

.why-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(59,123,191,0.35);
}

.why-card p {
    font-size: 0.88rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.88);
    position: relative;
    z-index: 1;
    margin: 0;
}

.why-card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,123,191,0.25), transparent 70%);
    bottom: -30px;
    inset-inline-start: -20px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.why-card:hover .why-card-glow { opacity: 1; }

.dist-block {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.dist-block-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.dist-block-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--blue-light);
    margin-bottom: 0.4rem;
}

.dist-block-head h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 900;
    color: var(--white);
    margin: 0;
}

.dist-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dist-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    transition: all 0.35s var(--ease);
}

.dist-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(107,163,224,0.35);
    transform: translateY(-4px);
}

.dist-card-index {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue-light);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.dist-card p {
    font-size: 0.82rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* ─── Process ─── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 2.4rem;
    right: 10%;
    left: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--blue), var(--border));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-dot {
    width: 52px; height: 52px;
    background: var(--white);
    border: 2px solid var(--blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--navy);
    margin: 0 auto 1.25rem;
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-sm);
}

.process-step:hover .process-dot {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: scale(1.08);
}

.process-step h4 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.45rem;
    line-height: 1.4;
}

.process-step p {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.65;
}

.process-cta {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.process-cta p {
    opacity: 0.88;
    line-height: 1.85;
    max-width: 720px;
    font-size: 0.95rem;
}

.process-cta .btn-primary-rp {
    background: var(--white);
    color: var(--navy) !important;
    box-shadow: none;
    flex-shrink: 0;
}

.process-cta .btn-primary-rp:hover { color: var(--navy) !important; }

/* ─── Portfolio / Achievements ─── */
.achieve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.achieve-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.35s var(--ease);
    backdrop-filter: blur(12px);
    min-height: 140px;
}

.achieve-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(107,163,224,0.35);
}

.achieve-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--blue), var(--navy-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.achieve-card p {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.7;
}

.portfolio-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding: 0;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    text-align: inherit;
    font: inherit;
    color: inherit;
    width: 100%;
}

.portfolio-item--static { cursor: default; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,21,37,0.72), rgba(7,21,37,0.08) 55%, transparent);
    opacity: 0.85;
    transition: opacity 0.3s;
    pointer-events: none;
}

.portfolio-item:hover::after { opacity: 1; }

.portfolio-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.portfolio-play i {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(27, 54, 93, 0.88);
    border: 2px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform 0.3s var(--ease), background 0.3s;
}

.portfolio-item:hover .portfolio-play i {
    transform: scale(1.08);
    background: var(--blue);
}

.portfolio-item-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 3;
    padding: 1rem;
    text-align: start;
    pointer-events: none;
}

.portfolio-item-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--blue-light);
    margin-bottom: 0.35rem;
}

.portfolio-item-overlay strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.45;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.portfolio-lightbox[hidden] { display: none !important; }

.portfolio-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 12, 22, 0.88);
    backdrop-filter: blur(8px);
}

.portfolio-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: 92vh;
    overflow: auto;
    background: var(--navy-dark);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.portfolio-lightbox-close {
    position: absolute;
    top: 0.85rem;
    inset-inline-end: 0.85rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s;
}

.portfolio-lightbox-close:hover { background: rgba(255,255,255,0.18); }

.portfolio-lightbox-media {
    background: #000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-lightbox-media img,
.portfolio-lightbox-media video,
.portfolio-lightbox-media iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
    display: block;
}

.portfolio-lightbox-info {
    padding: 1.35rem 1.5rem 1.5rem;
    color: var(--white);
}

.portfolio-lightbox-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--blue-light);
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
}

.portfolio-lightbox-info h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.portfolio-lightbox-info p {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.btn-sm-rp {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.85rem;
}

.portfolio-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.portfolio-thumb:hover img { transform: scale(1.08); }

.portfolio-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,21,37,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-thumb:hover::after { opacity: 1; }

/* ─── Clients ─── */
.clients-section {
    position: relative;
    overflow: hidden;
}

.clients-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,21,37,0.94) 0%, rgba(27,54,93,0.9) 100%);
    pointer-events: none;
}

.clients-section > .container-wide { position: relative; z-index: 1; }

.clients-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.75rem;
    align-items: end;
    margin-bottom: 1.25rem;
}

.clients-heading {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 900;
    line-height: 1.4;
    margin: 0;
    padding-block: 0.06em;
}

.clients-heading-text {
    display: inline-block;
    color: var(--white);
    padding-block: 0.08em;
    line-height: 1.4;
}

.clients-heading-line {
    display: block;
    width: 80px;
    height: 5px;
    margin-top: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-light), var(--blue));
    box-shadow: 0 2px 16px rgba(107, 163, 224, 0.35);
}

.clients-section .section-label { color: var(--blue-light); }
.clients-section .section-label::before { background: linear-gradient(90deg, var(--blue-light), transparent); }
.clients-section .section-index { color: rgba(255,255,255,0.05); }
.clients-lead { color: rgba(255,255,255,0.72); max-width: 620px; }

.clients-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0.5rem 0;
    direction: ltr;
    unicode-bidi: isolate;
}

.clients-marquee-track {
    display: flex;
    width: max-content;
    direction: ltr;
    will-change: transform;
}

.clients-marquee-set {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 1.25rem;
    padding-inline-end: 1.25rem;
    direction: ltr;
}

.clients-marquee:hover .clients-marquee-track {
    animation-play-state: paused;
}

@keyframes clientsMarqueeScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

html[dir="rtl"] .clients-section {
    overflow-x: visible;
}

html[dir="rtl"] .clients-marquee,
html[dir="rtl"] .clients-marquee-track,
html[dir="rtl"] .clients-marquee-set {
    direction: ltr;
    unicode-bidi: isolate;
}

html[dir="rtl"] .clients-marquee-track {
    animation-name: clientsMarqueeScroll;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track,
    .clients-marquee-track {
        animation: none !important;
    }
}

.client-logo-card {
    flex-shrink: 0;
    width: 128px;
    height: 128px;
    aspect-ratio: 1;
    background: var(--white);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.client-logo-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s var(--ease);
}

.client-logo-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 36px rgba(0,0,0,0.24);
}

.client-logo-card:hover img {
    transform: scale(1.04);
}

/* ─── Team (legacy) ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.team-card-modern {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.team-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--navy));
    transform: scaleX(0);
    transition: transform 0.35s var(--ease);
}

.team-card-modern:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.team-card-modern:hover::before { transform: scaleX(1); }

.team-avatar-modern {
    width: 92px; height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    overflow: hidden;
    border: 3px solid var(--blue-soft);
}

.team-avatar-modern img { width: 100%; height: 100%; object-fit: cover; }

.team-card-modern h5 {
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.team-card-modern span {
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 700;
}

/* ─── Contact ─── */
.contact-section-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(12px);
}

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

.contact-info-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.contact-info-card:hover,
.contact-info-card--link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(107,163,224,0.3);
}

.contact-info-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-info-card--link span {
    color: var(--white);
}

.contact-info-card i {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--blue), var(--navy-light));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-card strong {
    display: block;
    font-size: 0.75rem;
    opacity: 0.55;
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.contact-info-card span { font-size: 0.92rem; font-weight: 600; }

.whatsapp-float {
    position: fixed;
    inset-inline-start: max(1.25rem, env(safe-area-inset-inline-start, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    z-index: 1050;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 2.05rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.48);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.footer-contact-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: var(--blue-light);
}

.contact-form-modern {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.form-field {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    color: var(--white);
    width: 100%;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-field:focus {
    outline: none;
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(59,123,191,0.25);
}

.form-field::placeholder { color: rgba(255,255,255,0.35); }

/* ─── Footer ─── */
.footer-modern {
    background: #040c16;
    color: rgba(255,255,255,0.55);
    padding: 2.5rem 0 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
}

.footer-modern h6 {
    color: var(--white);
    font-weight: 900;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
}

.footer-modern a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.25s;
    font-size: 0.88rem;
}

.footer-modern a:hover { color: var(--blue-light); }

.footer-brand-lg {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.footer-social-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.55);
    margin-top: 1rem;
    margin-bottom: 0.65rem;
}

.footer-social-links {
    margin-bottom: 0.25rem;
}

.social-btn {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.08);
}

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

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
}

/* ─── Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.alert-success-rp {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.28);
    color: #86efac;
    border-radius: var(--radius-sm);
    padding: 1rem;
}

/* ─── Responsive ─── */
@media (min-width: 992px) {
    .hero-carousel-bar {
        bottom: 5rem;
    }
}

@media (max-width: 1199px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .process-grid::before { display: none; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .achieve-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-showcase { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .nav-links, .nav-cta-wrap { display: none !important; }
    .nav-toggle { display: block; }
    .mobile-menu { display: block; }
    .nav-shell {
        padding: 0.75rem 1rem;
        max-width: 100%;
        overflow: visible;
    }
    .nav-modern {
        border-radius: 20px;
        max-width: 100%;
        overflow: visible;
    }

    .nav-mobile-controls .lang-switcher--compact {
        position: relative;
        z-index: 1003;
        flex-shrink: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.96);
        transform: translateZ(0);
    }

    .lang-switcher--compact .lang-switcher__label {
        display: inline;
        font-size: 0.72rem;
    }

    .lang-switcher--compact .lang-switcher__item {
        min-width: 48px;
        min-height: 44px;
        justify-content: center;
        padding: 0.45rem 0.65rem;
    }

    .lang-switcher--menu {
        position: relative;
        z-index: 1;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.96);
        transform: translateZ(0);
    }

    .lang-switcher--menu .lang-switcher__item {
        min-height: 48px;
    }

    .hero-carousel {
        min-height: auto;
        padding-top: calc(var(--nav-h) + 0.5rem);
        padding-bottom: 1.25rem;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .hero-slides {
        min-height: auto;
        position: relative;
        order: 1;
        flex: 1 1 auto;
    }

    .hero-slide {
        position: relative;
        inset: auto;
        display: none;
        height: auto;
        min-height: 0;
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .hero-slide.active {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .hero-copy-col {
        order: 1;
        width: 100%;
    }

    .hero-visual-col {
        order: 2;
        margin-top: 0.75rem;
        width: 100%;
    }

    .hero-eyebrow {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        line-height: 1.35;
        margin-bottom: 0.55rem;
        color: rgba(96, 165, 250, 0.95);
        -webkit-text-stroke: 0;
    }

    .hero-tag {
        font-size: 0.74rem;
        margin-bottom: 0.85rem;
        max-width: 100%;
    }

    .hero-main-title {
        font-size: clamp(1.45rem, 6vw, 2rem);
        line-height: 1.55;
        max-width: 100%;
        padding-block: 0.15em 0.08em;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        max-width: 100%;
        margin-bottom: 1rem;
        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.55rem;
        margin-bottom: 0.75rem;
    }

    .hero-actions .btn-primary-rp,
    .hero-actions .btn-ghost-rp {
        width: 100%;
        justify-content: center;
        padding-inline: 1rem;
        font-size: 0.86rem;
    }

    .hero-metrics {
        display: none;
    }

    .hero-visual-wrap {
        overflow: hidden;
        padding: 0;
    }

    .hero-frame {
        max-height: 180px;
        aspect-ratio: 16 / 9;
        max-width: 100%;
    }

    .hero-frame-caption {
        display: none;
    }

    .hero-content {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .hero-carousel-bar {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        transform: none;
        justify-content: center;
        padding-inline: 0.75rem;
        margin-top: 0.35rem;
        order: 2;
        flex-shrink: 0;
    }

    .hero-carousel-ui {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.28rem 0.42rem;
        border-radius: 999px;
        width: auto;
        max-width: calc(100vw - 1.5rem);
    }

    .hero-counter {
        display: none;
    }

    .hero-carousel-nav {
        width: auto;
        justify-content: center;
        gap: 0.35rem;
    }

    .hero-arrow {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .hero-dots {
        flex-wrap: nowrap;
        justify-content: center;
        max-width: none;
        gap: 0.3rem;
        padding: 0;
    }

    .hero-dot {
        width: 5px;
        height: 5px;
    }

    .hero-dot.active {
        width: 14px;
    }

    .scroll-hint {
        display: none !important;
    }

    .hero-float-badge {
        display: none !important;
    }

    .container-wide > .row,
    .container-narrow > .row {
        margin-inline: 0;
        max-width: 100%;
    }
    .container-wide > .row > [class*="col-"],
    .container-narrow > .row > [class*="col-"] {
        padding-inline: 0.65rem;
    }
    .container-wide,
    .container-narrow {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .nav-inner {
        gap: 0.65rem;
    }
    .nav-brand img {
        max-height: 44px;
        width: auto;
    }
    .about-trio { grid-template-columns: 1fr; }
    .about-trio-card { min-height: auto; }
    .value-circle,
    .value-circle--2,
    .value-circle--4 { width: 110px; height: 110px; font-size: 0.78rem; }
    .values-orbit { gap: 1.25rem; }
    .services-tabs-modern { flex-direction: column; }
    .services-tab { flex: 1 1 auto; width: 100%; }
    .services-mosaic { grid-template-columns: 1fr; }
    .units-showcase { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .dist-track { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .contact-section-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .section-header { grid-template-columns: 1fr; }
    .client-logo-card { width: 108px; height: 108px; padding: 0.9rem; border-radius: 16px; }
    .section-index { display: none; }
    .btn-primary-rp,
    .btn-ghost-rp {
        min-height: 44px;
    }
    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 767px) {
    .hero-visual-col {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .container-wide,
    .container-narrow {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .team-grid { grid-template-columns: 1fr; }
    .achieve-grid { grid-template-columns: 1fr; }
    .portfolio-showcase { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-cta { flex-direction: column; text-align: center; }
    .dist-track { grid-template-columns: 1fr; }
    .lang-switcher__item {
        min-height: 44px;
    }
    .mobile-link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .section-block {
        padding-block: 3.25rem;
    }
    .contact-form-modern .form-field {
        min-height: 48px;
    }
}

@media (max-width: 380px) {
    .nav-brand-text span {
        display: none;
    }

    .lang-switcher--compact {
        padding: 0.18rem;
    }

    .lang-switcher--compact .lang-switcher__item {
        padding: 0.38rem 0.42rem;
    }
}
