/**
 * Stitch public marketing theme — plain CSS (Option B).
 * Tokens mirror public/website/stitch/code.html Tailwind config.
 */

:root {
    --st-bg: #0b1229;
    --st-bg-deep: #060d24;
    --st-surface: #0b1229;
    --st-surface-low: #141a32;
    --st-surface-container: #181e36;
    --st-surface-high: #222941;
    --st-surface-bright: #323851;
    --st-on-surface: #dce1ff;
    --st-on-surface-variant: #d1c5b4;
    --st-primary: #e9c176;
    --st-on-primary: #412d00;
    --st-primary-container: #c5a059;
    --st-outline: #9a8f80;
    --st-outline-variant: #4e4639;
    --st-white: #ffffff;
    --st-font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
    --st-font-display: 'Noto Serif', 'IBM Plex Sans Arabic', serif;
    --st-container: 1100px;
}

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

html.st-dark,
body.st-body {
    margin: 0;
    min-height: 100%;
    background-color: var(--st-bg);
    color: var(--st-on-surface);
    font-family: var(--st-font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* About: image fallback */
.st-about-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(24, 30, 54, 0.9), rgba(6, 13, 36, 1));
    border: 1px solid rgba(154, 143, 128, 0.18);
    overflow: hidden;
}

.st-about-placeholder__corner {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(233, 193, 118, 0.85);
    opacity: 0.9;
}

.st-about-placeholder__corner--tl {
    inset-block-start: 16px;
    inset-inline-start: 16px;
    border-inline-end: 0;
    border-block-end: 0;
    border-start-start-radius: 14px;
}

.st-about-placeholder__corner--br {
    inset-block-end: 16px;
    inset-inline-end: 16px;
    border-inline-start: 0;
    border-block-start: 0;
    border-end-end-radius: 14px;
}

/* Why section */
.st-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .st-why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.st-why-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(24, 30, 54, 0.55);
    border: 1px solid rgba(154, 143, 128, 0.18);
}

.st-why-card__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 193, 118, 0.08);
    border: 1px solid rgba(233, 193, 118, 0.22);
    color: var(--st-primary);
}

.st-why-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.st-why-card p {
    margin: 0.55rem 0 0;
    color: rgba(220, 225, 255, 0.85);
    font-size: 0.95rem;
}

/* Companies: focus/subtitle */
.company-focus {
    margin: 0.45rem 0 0;
    color: rgba(233, 193, 118, 0.92);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.35;
}

.section-subtitle-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    max-width: 680px;
    margin-top: 12px;
}

/* Clients carousel (homepage) */
.clients-carousel-section {
    background: #060d24;
    padding: 72px 0;
    border-top: 1px solid rgba(233, 193, 118, 0.1);
    overflow: hidden;
}

.clients-carousel-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 40px;
}

.clients-carousel-overline {
    font-size: 12px;
    letter-spacing: 3px;
    color: #e9c176;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.clients-carousel-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.clients-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.clients-track-wrapper::before,
.clients-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.clients-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #060d24, transparent);
}

.clients-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #060d24, transparent);
}

.clients-track {
    display: flex;
    width: max-content; /* required: prevents browser from shrinking track */
    gap: 0;
    align-items: center;
}

[dir="ltr"] .clients-track {
    animation: scrollLTR 35s linear infinite;
}

[dir="rtl"] .clients-track {
    animation: scrollRTL 35s linear infinite;
}

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

@keyframes scrollLTR {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

@keyframes scrollRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(25%);
    }
}

.clients-card {
    flex: 0 0 auto; /* required: prevents flex from resizing cards */
    width: 180px;
    height: 90px;
    background: #141a32;
    border-inline-end: 1px solid rgba(233, 193, 118, 0.15);
    border-top: none;
    border-bottom: none;
    border-inline-start: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    transition: background 0.2s;
}

.clients-card:hover {
    background: rgba(233, 193, 118, 0.05);
}

.clients-card-logo {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s;
}

.clients-card:hover .clients-card-logo {
    filter: grayscale(0%) brightness(1);
}

.clients-card-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
    padding: 0 8px;
}

/* Contact page redesign */
.contact-header {
    background: #060d24;
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(233, 193, 118, 0.1);
}

.contact-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-page-overline {
    font-size: 12px;
    letter-spacing: 3px;
    color: #e9c176;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-page-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.contact-page-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
}

.contact-pathways-section {
    background: #0b1229;
    padding: 64px 0;
}

.contact-pathways-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-pathway-card {
    background: #141a32;
    border: 1px solid rgba(233, 193, 118, 0.12);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s;
}

.contact-pathway-card:hover {
    border-color: rgba(233, 193, 118, 0.35);
}

.contact-pathway-gold {
    background: #e9c176;
    border-color: #e9c176;
}

.contact-pathway-gold:hover {
    border-color: #c5a059;
}

.contact-pathway-icon {
    width: 56px;
    height: 56px;
    background: rgba(233, 193, 118, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-pathway-gold .contact-pathway-icon {
    background: rgba(11, 18, 41, 0.15);
}

.contact-pathway-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.contact-pathway-gold .contact-pathway-title {
    color: #0b1229;
}

.contact-pathway-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    flex: 1;
}

.contact-pathway-gold .contact-pathway-desc {
    color: rgba(11, 18, 41, 0.7);
}

.contact-pathway-btn {
    display: inline-block;
    padding: 11px 24px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}

.contact-pathway-btn-dark {
    background: #0b1229;
    color: #e9c176;
}

.contact-pathway-btn-dark:hover {
    background: #060d24;
    color: #e9c176;
}

.contact-pathway-btn-outline {
    background: transparent;
    color: #e9c176;
    border: 1px solid #e9c176;
}

.contact-pathway-btn-outline:hover {
    background: #e9c176;
    color: #0b1229;
}

.contact-form-section {
    background: #0b1229;
    padding: 64px 0;
    border-top: 1px solid rgba(233, 193, 118, 0.1);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

[dir="rtl"] .contact-form-grid {
    grid-template-columns: 380px 1fr;
}

.contact-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.contact-form-line {
    width: 32px;
    height: 2px;
    background: #e9c176;
    margin-bottom: 28px;
}

.contact-success-msg {
    background: rgba(233, 193, 118, 0.12);
    border: 1px solid rgba(233, 193, 118, 0.3);
    color: #e9c176;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-error-msg {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
    padding: 14px 18px;
    font-size: 13px;
    margin-bottom: 20px;
}

.contact-error-msg p {
    margin: 4px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-field input,
.contact-field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    width: 100%;
    transition: border-color 0.2s;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-bottom-color: #e9c176;
}

.contact-field textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-submit-btn {
    background: #e9c176;
    color: #0b1229;
    border: none;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    align-self: flex-start;
    transition: background 0.2s;
}

.contact-submit-btn:hover {
    background: #c5a059;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 36px;
    height: 36px;
    background: rgba(233, 193, 118, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.contact-info-value:hover {
    color: #e9c176;
}

.contact-map-wrapper {
    border: 1px solid rgba(233, 193, 118, 0.15);
    overflow: hidden;
}

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

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    [dir="rtl"] .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-title {
        font-size: 26px;
    }
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border-radius: 0;
}

.st-serif {
    font-family: var(--st-font-display);
}

.st-container {
    width: 100%;
    max-width: var(--st-container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* ——— Glass navigation ——— */
.st-nav {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 50;
    background: rgba(11, 18, 41, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-block-end: 1px solid rgba(154, 143, 128, 0.12);
}

.st-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: min(1400px, 100%);
    margin-inline: auto;
    padding: 1.25rem clamp(1.25rem, 4vw, 2rem);
}

.st-nav__brand {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--st-primary);
    white-space: nowrap;
}

.st-nav__links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .st-nav__links {
        display: flex;
    }
}

.st-nav__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    padding-block-end: 0.25rem;
    border-block-end: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.st-nav__link:hover {
    color: var(--st-primary);
}

.st-nav__link.is-active {
    color: var(--st-primary);
    border-block-end-color: var(--st-primary);
}

.st-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.st-lang {
    display: inline-flex;
    gap: 0.25rem;
}

.st-lang a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--st-primary);
    color: var(--st-on-surface);
    transition: background 0.2s ease, color 0.2s ease;
}

.st-lang a.is-active {
    background: var(--st-primary);
    color: var(--st-on-primary);
}

.st-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    background: var(--st-primary);
    color: var(--st-on-primary);
    transition: transform 0.15s ease, background 0.2s ease;
}

.st-btn-primary:hover {
    background: var(--st-primary-container);
}

.st-btn-primary:active {
    transform: scale(0.98);
}

/* ——— Mobile menu (hamburger + sliding drawer; desktop unchanged) ——— */
.st-nav .mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(154, 143, 128, 0.35);
    background: transparent;
    color: var(--st-on-surface);
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .st-nav .st-nav__links,
    .st-nav .st-nav__actions {
        display: none !important;
    }

    .st-nav .mobile-menu-btn {
        display: flex;
    }
}

@media (min-width: 768px) {
    .st-nav .mobile-menu-btn {
        display: none !important;
    }

    .page-wrapper .mobile-drawer-overlay,
    .page-wrapper .mobile-drawer {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media (max-width: 767.98px) {
    .page-wrapper .mobile-drawer-overlay {
        position: fixed;
        inset: 0;
        z-index: 998;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .page-wrapper .mobile-drawer-overlay.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .page-wrapper .mobile-drawer {
        position: fixed;
        top: 0;
        z-index: 999;
        display: flex;
        flex-direction: column;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        overflow: auto;
        padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
        background: var(--st-bg);
        box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
        transition: transform 0.3s ease, visibility 0.3s ease;
        visibility: hidden;
        pointer-events: none;
    }

    .page-wrapper .mobile-drawer[dir='ltr'] {
        inset-inline-end: 0;
        transform: translateX(100%);
    }

    .page-wrapper .mobile-drawer[dir='ltr'].open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .page-wrapper .mobile-drawer[dir='rtl'] {
        inset-inline-start: 0;
        transform: translateX(-100%);
    }

    .page-wrapper .mobile-drawer[dir='rtl'].open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        border-block-end: 1px solid rgba(154, 143, 128, 0.12);
    }

    .mobile-drawer-logo-text {
        font-size: 1rem;
        font-weight: 700;
        color: var(--st-primary);
        line-height: 1.3;
    }

    .mobile-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(154, 143, 128, 0.35);
        background: transparent;
        color: var(--st-on-surface);
        font-size: 1.1rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-drawer-lang {
        display: flex;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        border-block-end: 1px solid rgba(154, 143, 128, 0.12);
    }

    .mobile-drawer-lang a {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.75rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
        font-weight: 700;
        border: 1px solid var(--st-primary);
        color: var(--st-on-surface);
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-drawer-lang a.is-active {
        background: var(--st-primary);
        color: var(--st-on-primary);
    }

    .mobile-drawer-cta {
        padding: 1rem 1.25rem;
        border-block-end: 1px solid rgba(154, 143, 128, 0.12);
    }

    .mobile-drawer-cta-btn.st-btn-primary {
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
        text-decoration: none;
        white-space: normal;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .mobile-drawer-nav {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 0 1rem;
    }

    .mobile-drawer-nav .mobile-nav-link {
        padding: 0.85rem 1.25rem;
        font-weight: 600;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        border-block-end: 1px solid rgba(154, 143, 128, 0.1);
    }

    .mobile-drawer-nav .mobile-nav-link:hover {
        color: var(--st-primary);
    }

    .mobile-drawer-nav .mobile-nav-link.is-active,
    .mobile-drawer-nav .mobile-nav-link.active {
        color: var(--st-primary);
    }
}

body.no-scroll {
    overflow: hidden;
}

/* ——— Main offset for fixed nav ——— */
.st-main {
    padding-block-start: 5.5rem;
}

/* ——— Hero ——— */
.st-hero {
    position: relative;
    min-height: min(100vh, 900px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(11, 18, 41, 0.35);
}

.st-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to left, var(--st-bg) 0%, rgba(11, 18, 41, 0.82) 45%, transparent 100%);
}

[dir='ltr'] .st-hero__overlay {
    background: linear-gradient(to right, var(--st-bg) 0%, rgba(11, 18, 41, 0.82) 45%, transparent 100%);
}

.st-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: center;
    width: 100%;
    max-width: min(1200px, 100%);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2rem);
    padding-block: clamp(3rem, 8vw, 5rem);
}

@media (max-width: 768px) {
    .st-hero__grid {
        padding-inline: max(16px, 1.25rem);
    }
}

@media (min-width: 1024px) {
    .st-hero__grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }
}

.st-hero__grid > div:first-child {
    text-align: start;
}

.st-hero__eyebrow {
    display: inline-block;
    margin-block-end: 1rem;
    padding-inline-end: 1.25rem;
    border-inline-end: 4px solid var(--st-primary);
    color: var(--st-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.st-hero__title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--st-white);
}

.st-hero__title span {
    color: var(--st-primary);
}

.st-hero__lead {
    margin: 0;
    margin-block-start: 1.5rem;
    max-width: 36rem;
    font-size: clamp(14px, 2vw, 18px);
    color: var(--st-on-surface-variant);
    line-height: 1.7;
}

.st-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-block-start: 2rem;
}

/* Supplier portal CTA / secondary link (gold #e9c176 hover) */
.st-btn-supplier-portal {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
    white-space: nowrap;
}

.st-btn-supplier-portal:hover {
    color: #e9c176;
    border-color: rgba(233, 193, 118, 0.4);
}

.st-btn-supplier-portal__icon {
    margin-inline-start: 6px;
    flex-shrink: 0;
}

/* Safety: never show decorative counters inside hero */
.st-hero .odometer,
.st-hero [class*='odometer'],
.st-hero [class*='counter'],
.st-hero [class*='stat-bg'] {
    display: none !important;
}

.st-btn-solid {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    background: var(--st-primary);
    color: var(--st-on-primary);
    transition: background 0.2s ease;
}

.st-btn-solid:hover {
    background: var(--st-primary-container);
}

.st-btn-ghost {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid rgba(154, 143, 128, 0.35);
    background: transparent;
    color: var(--st-white);
    transition: background 0.2s ease;
}

.st-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

.st-kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-block-start: clamp(2rem, 5vw, 4rem);
    padding-block-start: clamp(2rem, 4vw, 3rem);
    border-block-start: 1px solid rgba(78, 70, 57, 0.35);
}

.st-kpi__value {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--st-primary);
}

.st-kpi__label {
    margin-block-start: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(209, 197, 180, 0.75);
}

/* ——— Sections ——— */
.st-section {
    padding-block: clamp(4rem, 10vw, 8rem);
}

.st-section--deep {
    background: var(--st-bg-deep);
}

.st-section--low {
    background: var(--st-surface-low);
}

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

.st-section__header {
    text-align: center;
    max-width: 42rem;
    margin-inline: auto;
    margin-block-end: clamp(3rem, 6vw, 5rem);
}

.st-overline {
    display: block;
    margin-block-end: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--st-primary);
}

.st-h2 {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--st-white);
}

.st-h2 span {
    color: var(--st-primary);
}

.st-prose {
    margin: 0;
    font-size: 1.05rem;
    color: var(--st-on-surface-variant);
    line-height: 1.85;
}

/* ——— About two column ——— */
.st-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

@media (min-width: 1024px) {
    .st-about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

[dir='rtl'] .st-about-grid {
    direction: rtl;
}

[dir='rtl'] .st-about-grid .st-about-media {
    order: 2;
}

[dir='rtl'] .st-about-grid .st-about-content {
    order: 1;
}

.st-about-media {
    position: relative;
}

.st-about-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(1) brightness(0.75);
}

.st-about-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--st-surface-low);
    border: 1px solid rgba(154, 143, 128, 0.12);
    overflow: hidden;
}

.st-about-placeholder__corner {
    position: absolute;
    width: 3rem;
    height: 3rem;
    border-color: rgba(233, 193, 118, 0.35);
    border-style: solid;
}

.st-about-placeholder__corner--tr {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.st-about-placeholder__corner--tl {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.st-about-placeholder__corner--br {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.st-about-placeholder__corner--bl {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.st-quote {
    position: absolute;
    inset-block-end: -2rem;
    inset-inline-start: -2rem;
    max-width: 18rem;
    padding: 2.5rem;
    background: var(--st-surface-high);
    border-block-start: 4px solid var(--st-primary);
}

@media (max-width: 1023px) {
    .st-quote {
        position: relative;
        inset: auto;
        margin-block-start: 1.5rem;
    }
}

.st-quote p {
    margin: 0;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--st-primary);
    line-height: 1.65;
}

.st-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-block-start: 2rem;
}

.st-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.st-icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--st-primary);
}

.st-feature h4 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-white);
}

.st-feature p {
    margin: 0;
    color: var(--st-on-surface-variant);
    font-size: 0.95rem;
}

/* ——— Companies grid ——— */
.st-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .st-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.st-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 28rem;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--st-surface-low);
    border: 1px solid rgba(154, 143, 128, 0.12);
    transition: background 0.25s ease;
}

.st-card:hover {
    background: var(--st-surface-high);
}

.st-card h3 {
    margin: 1rem 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--st-white);
}

.st-card p {
    margin: 0;
    color: var(--st-on-surface-variant);
    line-height: 1.7;
}

.st-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-block-start: 1.5rem;
    font-weight: 700;
    color: var(--st-primary);
    transition: transform 0.2s ease;
}

.st-card:hover .st-card__link {
    transform: translateX(-0.35rem);
}

[dir='ltr'] .st-card:hover .st-card__link {
    transform: translateX(0.35rem);
}

[dir='ltr'] .st-card__link svg,
[dir='ltr'] .st-service-arrow {
    transform: scaleX(-1);
}

/* ——— Projects bento ——— */
.st-projects-head {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-block-end: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 768px) {
    .st-projects-head {
        flex-direction: row;
        align-items: flex-end;
    }
}

.st-link-line {
    padding: 0.35rem 0.75rem;
    font-weight: 700;
    color: var(--st-primary);
    border-block-end: 2px solid var(--st-primary);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.st-link-line:hover {
    background: var(--st-primary);
    color: var(--st-on-primary);
}

.st-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
}

/* Homepage projects bento (explicit Stitch layout) */
.projects-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .projects-bento {
        grid-template-columns: 1.5fr 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
        min-height: 38rem;
    }

    .projects-bento .project-featured {
        grid-row: 1 / 3;
    }

    .projects-bento .project-side-stack {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: 16px;
    }
}


@media (min-width: 768px) {
    .st-bento {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, minmax(200px, 1fr));
        min-height: 38rem;
    }

    .st-bento__large {
        grid-column: span 8;
        grid-row: span 2;
    }

    .st-bento__stack {
        grid-column: span 4;
        display: grid;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
}

@media (max-width: 767px) {
    .st-bento {
        min-height: 0;
    }

    .st-bento__large {
        min-height: 18rem;
    }
}

.st-bento-tile {
    position: relative;
    overflow: hidden;
    min-height: 14rem;
}

.st-bento-tile--tall {
    min-height: 100%;
}

.st-bento-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: transform 0.65s ease, filter 0.65s ease;
}

.st-bento-tile:hover img {
    transform: scale(1.06);
    filter: grayscale(0);
}

.st-bento-tile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--st-bg) 0%, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.st-bento-tile__shade--soft {
    background: rgba(11, 18, 41, 0.4);
    opacity: 1;
}

.st-bento-tile__meta {
    position: absolute;
    inset-block-end: clamp(1.25rem, 3vw, 2.5rem);
    inset-inline: clamp(1.25rem, 3vw, 2.5rem);
    z-index: 2;
}

.st-pill {
    display: inline-block;
    margin-block-end: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--st-primary);
    color: var(--st-on-primary);
}

.st-bento-tile h3,
.st-bento-tile h4 {
    margin: 0;
    font-weight: 700;
    color: var(--st-white);
}

.st-bento-tile h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.st-bento-tile h4 {
    font-size: 1.15rem;
}

.st-bento-tile .st-pill-sub {
    margin-block-start: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-primary);
}

.st-bento-tile .st-sub {
    margin-block-start: 0.35rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

/* ——— Services list ——— */
.st-services-title {
    margin-block-end: clamp(2.5rem, 5vw, 4rem);
    padding-inline-end: 1.25rem;
    border-inline-end: 4px solid var(--st-primary);
    font-family: var(--st-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--st-white);
}

[dir='ltr'] .st-services-title {
    border-inline-end: none;
    border-inline-start: 4px solid var(--st-primary);
    padding-inline-end: 0;
    padding-inline-start: 1.25rem;
}

.st-service-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding-block: clamp(2rem, 4vw, 3rem);
    padding-inline: clamp(1rem, 3vw, 2rem);
    border-block-end: 1px solid rgba(78, 70, 57, 0.35);
    transition: background 0.2s ease;
}

@media (min-width: 768px) {
    .st-service-row {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}

.st-service-row:hover {
    background: var(--st-surface-low);
}

.st-service-num {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 900;
    color: rgba(154, 143, 128, 0.22);
    line-height: 1;
    transition: color 0.2s ease;
}

.st-service-row:hover .st-service-num {
    color: rgba(233, 193, 118, 0.22);
}

.st-service-body {
    flex: 1;
}

.st-service-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--st-white);
}

.st-service-body p {
    margin: 0;
    max-width: 48rem;
    color: var(--st-on-surface-variant);
    line-height: 1.75;
}

.st-service-arrow {
    display: none;
    color: var(--st-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

@media (min-width: 768px) {
    .st-service-arrow {
        display: block;
    }

    .st-service-row:hover .st-service-arrow {
        opacity: 1;
    }
}

/* ——— CTA band ——— */
.st-cta {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 8vw, 5rem);
    background: var(--st-primary);
    color: var(--st-on-primary);
}

.st-cta__noise {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image: repeating-linear-gradient(
            -45deg,
            rgba(0, 0, 0, 0.08) 0,
            rgba(0, 0, 0, 0.08) 1px,
            transparent 1px,
            transparent 6px
        ),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 8px);
}

.st-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .st-cta__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.st-cta h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 800;
}

.st-cta p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.92;
}

.st-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 640px) {
    .st-cta__actions {
        flex-direction: row;
        width: auto;
    }
}

.st-cta .st-btn-dark {
    padding: 1rem 2.5rem;
    font-weight: 700;
    border: none;
    background: var(--st-bg);
    color: var(--st-white);
    transition: background 0.2s ease;
}

.st-cta .st-btn-dark:hover {
    background: var(--st-surface-high);
}

.st-cta .st-btn-outline {
    padding: 1rem 2.5rem;
    font-weight: 700;
    border: 2px solid var(--st-on-primary);
    background: transparent;
    color: var(--st-on-primary);
    transition: background 0.2s ease, color 0.2s ease;
}

.st-cta .st-btn-outline:hover {
    background: var(--st-on-primary);
    color: var(--st-primary);
}

/* CTA band uses --st-primary (#e9c176 gold); navy text for supplier links */
.st-supplier-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
}

.st-supplier-actions__link {
    font-size: 14px;
    font-weight: 600;
    color: #1a2744;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid rgba(26, 39, 68, 0.3);
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.st-supplier-actions__link:hover {
    color: #0b1229;
    border-bottom-color: #0b1229;
}

.st-supplier-actions__divider {
    color: rgba(26, 39, 68, 0.4);
    font-size: 14px;
    user-select: none;
}

/* ——— Clients ——— */
.st-clients {
    background: var(--st-bg);
    padding-block: clamp(3rem, 6vw, 4rem);
}

.st-clients__row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.st-client-pill {
    padding: 0.75rem 1.25rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-bg);
    background: rgba(220, 225, 255, 0.92);
    border: 1px solid rgba(154, 143, 128, 0.2);
}

.st-client-logo {
    max-height: 2.5rem;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* ——— Footer ——— */
.st-footer {
    padding: clamp(3rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
    background: var(--st-bg-deep);
    border-block-start: 4px solid var(--st-primary-container);
}

.st-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .st-footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.st-footer__brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-primary);
    margin-block-end: 1rem;
}

.st-footer p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.st-footer h4 {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-white);
}

.st-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.st-footer li {
    margin-block-end: 0.65rem;
}

.st-footer a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
}

.st-footer a:hover {
    color: var(--st-primary);
}

.st-footer__social {
    display: flex;
    gap: 0.5rem;
    margin-block-start: 1.25rem;
}

.st-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(154, 143, 128, 0.35);
    color: var(--st-on-surface);
}

.st-footer__social a:hover {
    background: var(--st-primary);
    color: var(--st-on-primary);
}

.st-footer__bottom {
    grid-column: 1 / -1;
    margin-block-start: 2.5rem;
    padding-block-start: 2rem;
    border-block-start: 1px solid rgba(154, 143, 128, 0.15);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.st-footer__contact li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.65);
}

/* ——— Inner pages ——— */
.st-page-hero {
    padding-block: clamp(4rem, 10vw, 6rem);
    background: var(--st-bg-deep);
    border-block-end: 1px solid rgba(154, 143, 128, 0.12);
}

.st-page-hero h1 {
    margin: 0 0 0.5rem;
    font-family: var(--st-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--st-white);
}

.st-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.st-breadcrumb a:hover {
    color: var(--st-primary);
}

.st-panel {
    background: var(--st-surface-low);
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(154, 143, 128, 0.12);
}

.st-form label {
    display: block;
    margin-block-end: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(220, 225, 255, 0.85);
}

.st-form input,
.st-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-block-end: 1rem;
    border: 1px solid rgba(154, 143, 128, 0.35);
    border-radius: 0;
    background: rgba(6, 13, 36, 0.65);
    color: var(--st-on-surface);
    font-family: inherit;
}

.st-form input:focus,
.st-form textarea:focus {
    outline: 2px solid var(--st-primary);
    outline-offset: 0;
}

.st-alert {
    padding: 0.85rem 1rem;
    margin-block-end: 1rem;
    border: 1px solid rgba(233, 193, 118, 0.45);
    background: rgba(233, 193, 118, 0.12);
    color: var(--st-on-surface);
}

/* Equipment detail: post-rental-request confirmation (below hero) */

#st-rental-feedback {
    scroll-margin-top: 100px;
}
.st-equipment-feedback-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0;
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(154, 143, 128, 0.22);
    background: var(--st-surface-container);
    color: var(--st-on-surface);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.st-equipment-feedback-banner--success {
    border-color: rgba(52, 211, 153, 0.45);
    background: linear-gradient(
        135deg,
        rgba(52, 211, 153, 0.12) 0%,
        rgba(24, 30, 54, 0.95) 55%
    );
}

.st-equipment-feedback-banner__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(233, 193, 118, 0.18);
    color: var(--st-primary);
    border: 1px solid rgba(233, 193, 118, 0.35);
}

.st-equipment-feedback-banner__icon svg {
    display: block;
}

.st-equipment-feedback-banner__text {
    margin: 0;
    padding-block-start: 0.1rem;
    font-size: 1rem;
    line-height: 1.55;
    flex: 1;
    min-width: 0;
}

.st-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 900px) {
    .st-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.st-project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .st-project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.st-project-card {
    background: var(--st-surface-low);
    border: 1px solid rgba(154, 143, 128, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.st-project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(0.4);
}

.st-project-card__body {
    padding: 1.25rem;
}

.st-company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .st-company-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.st-company-card {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: var(--st-surface-low);
    border: 1px solid rgba(154, 143, 128, 0.12);
}

.st-company-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--st-white);
}

.st-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.st-map {
    background: var(--st-bg-deep);
    border-block-start: 1px solid rgba(154, 143, 128, 0.12);
}

.st-map iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 0;
    filter: grayscale(0.35) contrast(1.05);
}

.stats-section {
    background: #060d24;
    padding: 64px 0;
    border-top: 1px solid rgba(233, 193, 118, 0.12);
    border-bottom: 1px solid rgba(233, 193, 118, 0.12);
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    padding: 24px 32px;
    text-align: center;
    border-left: 1px solid rgba(233, 193, 118, 0.12);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item:last-child {
    border-left: none;
}

[dir="rtl"] .stat-item {
    border-left: none;
    border-right: 1px solid rgba(233, 193, 118, 0.12);
}

[dir="rtl"] .stat-item:last-child {
    border-right: none;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: #e9c176;
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.stat-suffix {
    font-size: 36px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.stat-line {
    width: 24px;
    height: 2px;
    background: #e9c176;
    margin: 16px auto 0;
}

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

    .stat-item {
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(233, 193, 118, 0.12);
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-suffix {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        padding: 0 18px;
    }

    .stat-item {
        padding: 22px 16px;
    }
}

/* Project Detail Page */
.project-detail-header {
    background: #060d24;
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(233, 193, 118, 0.12);
}

.pd-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.pd-breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.pd-breadcrumb a:hover {
    color: #e9c176;
}

.pd-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.25);
}

.pd-category-badge {
    display: inline-block;
    background: rgba(233, 193, 118, 0.12);
    color: #e9c176;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pd-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    max-width: 700px;
}

.pd-gallery-section {
    background: #0b1229;
    padding: 40px 0;
}

.pd-gallery-section.project-gallery {
    padding: 56px 0;
    border-top: 1px solid rgba(233, 193, 118, 0.1);
}

.project-gallery-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.pd-main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #141a32;
}

.pd-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.pd-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #141a32;
}

.pd-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pd-thumb {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: transparent;
}

.pd-thumb.active,
.pd-thumb:hover {
    opacity: 1;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-info-section {
    background: #0b1229;
    padding: 60px 0;
}

.pd-info-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.pd-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.pd-section-line {
    width: 32px;
    height: 2px;
    background: #e9c176;
    margin-bottom: 24px;
}

.pd-desc-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.9;
}

.pd-meta-card {
    background: #141a32;
    border-top: 2px solid #e9c176;
    padding: 28px 24px;
}

.pd-meta-title {
    font-size: 15px;
    font-weight: 700;
    color: #e9c176;
    margin-bottom: 20px;
}

.pd-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pd-meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-meta-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.pd-meta-value {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    text-align: end;
}

.pd-cta-btn {
    display: block;
    background: #e9c176;
    color: #0b1229;
    text-align: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    width: 100%;
}

.pd-cta-btn:hover {
    background: #c5a059;
    color: #0b1229;
}

.pd-related-section {
    background: #060d24;
    padding: 60px 0;
    border-top: 1px solid rgba(233, 193, 118, 0.12);
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.pd-related-card {
    background: #141a32;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s;
    border: 1px solid transparent;
}

.pd-related-card:hover {
    border-color: rgba(233, 193, 118, 0.3);
}

.pd-related-img {
    height: 160px;
    overflow: hidden;
    background: #0b1229;
}

.pd-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-no-image-sm {
    width: 100%;
    height: 100%;
    background: #0b1229;
}

.pd-related-info {
    padding: 16px;
}

.pd-related-cat {
    font-size: 11px;
    color: #e9c176;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.pd-related-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.project-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

@media (max-width: 768px) {
    .pd-title {
        font-size: 26px;
    }

    .pd-main-image {
        height: 260px;
    }

    .pd-info-grid {
        grid-template-columns: 1fr;
    }

    .pd-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .pd-container {
        padding: 0 18px;
    }

    .pd-related-grid {
        grid-template-columns: 1fr;
    }

    .pd-thumb {
        width: 80px;
        height: 56px;
    }
}

.st-legal {
    padding-block: clamp(3rem, 8vw, 5rem);
    background: var(--st-bg);
}

.st-legal .st-panel {
    max-width: 52rem;
    margin-inline: auto;
}

.st-legal-prose {
    color: rgba(220, 225, 255, 0.88);
    line-height: 1.85;
}

.st-legal-prose h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.25rem;
    color: var(--st-white);
}

.st-legal-prose p {
    margin: 0 0 1rem;
}

/* Contact: success alert (entrance animation + scroll target) */
.contact-success-msg {
    opacity: 0;
    transform: translateY(-10px);
}

.contact-success-msg.is-visible {
    animation: fadeInSuccess 0.5s ease forwards;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hybrid logo: inline SVG icon + text */
.site-logo-block {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    line-height: 1;
}

.site-logo-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo-icon svg {
    height: 56px;
    width: auto;
    display: block;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.site-logo-name {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.2;
    white-space: nowrap;
}

.site-logo-tagline {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #e9c176;
    letter-spacing: 0.5px;
    line-height: 1.2;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Footer variant — white text on dark */
.footer-logo-block .site-logo-name {
    color: #ffffff;
}

.footer-logo-block .site-logo-tagline {
    color: rgba(233, 193, 118, 0.8);
}

.footer-logo-block .site-logo-icon svg {
    height: 40px;
}

/* Mobile: slightly smaller */
@media (max-width: 768px) {
    .site-logo-icon svg {
        height: 36px;
    }

    .site-logo-name {
        font-size: 15px;
    }

    .site-logo-tagline {
        font-size: 9px;
    }
}

/* ============================================
   Group structure / org chart (homepage)
   ============================================ */

.st-group-structure {
    background: #0b1229;
    padding: clamp(48px, 8vw, 96px) 0;
}

.st-org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 48px;
}

.st-org-holding {
    display: flex;
    justify-content: center;
}

.st-org-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border: 1px solid rgba(233, 193, 118, 0.4);
    background: rgba(233, 193, 118, 0.06);
    min-width: 280px;
    max-width: 380px;
}

.st-org-node--holding {
    border-color: #e9c176;
    background: rgba(233, 193, 118, 0.1);
    border-width: 2px;
}

.st-org-node--subsidiary {
    border-color: rgba(233, 193, 118, 0.25);
    background: rgba(255, 255, 255, 0.03);
    min-width: 200px;
    max-width: 260px;
    padding: 16px 20px;
    transition: border-color 0.2s, background 0.2s;
}

.st-org-node--subsidiary:hover {
    border-color: rgba(233, 193, 118, 0.5);
    background: rgba(233, 193, 118, 0.06);
}

.st-org-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.st-org-node--subsidiary .st-org-logo {
    width: 36px;
    height: 36px;
}

.st-org-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-org-icon--sm {
    width: 36px;
    height: 36px;
}

.st-org-node-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.st-org-node-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-org-node--subsidiary .st-org-node-name {
    font-size: 13px;
}

.st-org-node-type {
    font-size: 11px;
    color: #e9c176;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.st-org-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 40px;
    position: relative;
    width: 100%;
}

.st-org-line-v {
    width: 2px;
    height: 20px;
    background: rgba(233, 193, 118, 0.3);
}

.st-org-line-h {
    height: 2px;
    background: rgba(233, 193, 118, 0.3);
    width: min(700px, 90%);
}

.st-org-subsidiaries {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.st-org-subsidiary-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
}

.st-org-line-down {
    width: 2px;
    height: 20px;
    background: rgba(233, 193, 118, 0.3);
}

@media (max-width: 768px) {
    .st-org-node {
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }

    .st-org-subsidiaries {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .st-org-subsidiary-wrap {
        width: 100%;
        max-width: 320px;
        padding: 0;
    }

    .st-org-line-h {
        display: none;
    }

    .st-org-node--subsidiary {
        max-width: 100%;
        width: 100%;
    }
}

/* ——— Equipment rental (public catalog + detail) ——— */
.st-equipment-filters {
    margin-block-end: clamp(1.5rem, 4vw, 2.5rem);
}

.st-equipment-filters__search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-block-end: 1rem;
    align-items: center;
}

.st-equipment-search-input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(154, 143, 128, 0.35);
    background: rgba(6, 13, 36, 0.65);
    color: var(--st-on-surface);
    font-family: inherit;
}

.st-equipment-search-input:focus {
    outline: 2px solid var(--st-primary);
    outline-offset: 0;
}

.st-equipment-search-btn {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--st-primary);
    background: var(--st-primary);
    color: var(--st-on-primary);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.st-equipment-search-btn:hover {
    filter: brightness(1.05);
}

.st-equipment-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.st-equipment-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(154, 143, 128, 0.35);
    color: var(--st-on-surface);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(6, 13, 36, 0.35);
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.st-equipment-pill:hover {
    border-color: rgba(233, 193, 118, 0.55);
    color: var(--st-primary);
}

.st-equipment-pill.is-active {
    border-color: var(--st-primary);
    color: var(--st-on-primary);
    background: rgba(233, 193, 118, 0.92);
}

.st-equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .st-equipment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .st-equipment-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.st-equipment-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(154, 143, 128, 0.14);
    background: var(--st-surface-low);
    overflow: hidden;
}

.st-equipment-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: rgba(6, 13, 36, 0.65);
    overflow: hidden;
}

.st-equipment-card__media img,
.st-equipment-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-equipment-card__img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 12rem;
    background: linear-gradient(135deg, rgba(24, 30, 54, 0.9), rgba(6, 13, 36, 1));
    border-block-end: 1px solid rgba(154, 143, 128, 0.12);
    color: rgba(233, 193, 118, 0.45);
}

.st-equipment-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 12rem;
    background: linear-gradient(135deg, rgba(24, 30, 54, 0.9), rgba(6, 13, 36, 1));
    border-block-end: 1px solid rgba(154, 143, 128, 0.12);
}

.st-equipment-card__body {
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}

.st-equipment-card__badge {
    align-self: flex-start;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--st-primary);
    color: var(--st-on-primary);
}

.st-equipment-card__title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 800;
}

.st-equipment-card__title a {
    color: var(--st-white);
    text-decoration: none;
}

.st-equipment-card__title a:hover {
    color: var(--st-primary);
}

.st-equipment-card__meta {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(220, 225, 255, 0.72);
}

.st-equipment-card__rate {
    margin: 0.15rem 0 0;
    font-size: 0.95rem;
    color: rgba(220, 225, 255, 0.88);
}

.st-equipment-card__rate strong {
    color: var(--st-primary);
}

.st-equipment-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-block-start: 0.25rem;
}

.st-equipment-chip {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid rgba(233, 193, 118, 0.45);
    color: var(--st-primary);
    background: rgba(233, 193, 118, 0.08);
}

.st-equipment-card__cta {
    margin-block-start: auto;
    padding-block-start: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--st-primary);
    background: transparent;
    color: var(--st-primary);
    font-weight: 800;
    text-decoration: none;
    text-align: center;
}

.st-equipment-card__cta:hover {
    background: var(--st-primary);
    color: var(--st-on-primary);
}

.st-equipment-empty {
    margin-block-start: 0.5rem;
}

.st-equipment-pagination {
    margin-block-start: clamp(1.75rem, 4vw, 2.75rem);
    display: flex;
    justify-content: center;
}

.st-equipment-pagination nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.st-equipment-pagination a,
.st-equipment-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0 0.5rem;
    border: 1px solid rgba(154, 143, 128, 0.28);
    color: var(--st-on-surface);
    text-decoration: none;
    font-size: 0.85rem;
    background: rgba(6, 13, 36, 0.45);
}

.st-equipment-pagination a:hover {
    border-color: rgba(233, 193, 118, 0.55);
    color: var(--st-primary);
}

.st-equipment-pagination span[aria-current='page'] {
    border-color: var(--st-primary);
    color: var(--st-on-primary);
    background: rgba(233, 193, 118, 0.92);
    font-weight: 800;
}

.st-equipment-pagination .disabled span,
.st-equipment-pagination span.disabled {
    opacity: 0.45;
}

.st-equipment-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

@media (min-width: 900px) {
    .st-equipment-detail-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }
}

.st-equipment-gallery__main {
    border: 1px solid rgba(154, 143, 128, 0.14);
    background: rgba(6, 13, 36, 0.45);
    overflow: hidden;
}

.st-equipment-gallery__main img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.st-equipment-gallery__placeholder {
    aspect-ratio: 4 / 3;
    min-height: 14rem;
}

.st-equipment-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-block-start: 0.65rem;
}

.st-equipment-thumb {
    padding: 0;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    width: 76px;
    height: 56px;
    overflow: hidden;
}

.st-equipment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.st-equipment-thumb.is-active {
    border-color: var(--st-primary);
}

.st-equipment-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-block-end: 0.75rem;
}

.st-equipment-spec-dl {
    display: grid;
    grid-template-columns: minmax(0, 160px) 1fr;
    gap: 0.5rem 1rem;
    margin: 0 0 1rem;
}

.st-equipment-spec-dl dt {
    margin: 0;
    color: rgba(220, 225, 255, 0.65);
    font-weight: 700;
    font-size: 0.85rem;
}

.st-equipment-spec-dl dd {
    margin: 0;
    color: var(--st-on-surface);
    font-weight: 600;
}

.st-equipment-desc {
    margin: 0;
}

.st-equipment-table-wrap {
    overflow-x: auto;
}

.st-equipment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.st-equipment-table th,
.st-equipment-table td {
    text-align: start;
    padding: 0.65rem 0.75rem;
    border-block-end: 1px solid rgba(154, 143, 128, 0.14);
    vertical-align: top;
}

.st-equipment-table th {
    width: 38%;
    color: rgba(220, 225, 255, 0.7);
    font-weight: 700;
}

.st-equipment-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-block: 0.5rem 1rem;
}

.st-equipment-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: rgba(220, 225, 255, 0.88);
}

.st-equipment-check input {
    width: auto;
    margin: 0;
}

.st-equipment-submit-btn {
    margin-block-start: 0.25rem;
    padding: 0.85rem 1.35rem;
    border: 1px solid var(--st-primary);
    background: var(--st-primary);
    color: var(--st-on-primary);
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}

.st-equipment-submit-btn:hover {
    filter: brightness(1.05);
}

/* Hero background image (replaces inline background-image for LCP optimization) */
.st-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
