/* ==========================================================================
   Sorouh Al Majd Al Mutamayiz — Navy + gold + green (from logo)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7f4;
    --bg-tertiary: #e8eee6;
    --bg-glass: rgba(15, 42, 68, 0.92);
    --border-color: rgba(15, 42, 68, 0.12);
    --border-light: rgba(15, 42, 68, 0.06);

    /* Accent tokens keep legacy names; values match feed logo */
    --accent-red: #C9A227;
    --accent-red-hover: #A8861C;
    --accent-orange: #C9A227;
    --accent-orange-light: #D4B84A;
    --accent-gold: #C9A227;
    --accent-gold-soft: rgba(201, 162, 39, 0.12);
    --accent-gold-border: rgba(201, 162, 39, 0.4);
    --charcoal: #0F2A44;
    --charcoal-dark: #0A1C2E;
    --steel-silver: #D4B84A;
    --brand-green: #2E7D32;
    --accent-gradient: linear-gradient(135deg, #D4B84A 0%, #C9A227 45%, #0F2A44 100%);
    --accent-glow: 0 8px 30px rgba(201, 162, 39, 0.28);

    --text-primary: #0F2A44;
    --text-secondary: #4A5F73;
    --text-muted: #7A8B9A;

    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Sora', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    --container-max-width: 1180px;
    --header-height: 84px;
    --header-logo-height: 58px;
    --field-deep: #1f3a24;
    --field-mid: #3d5a2e;
    --wheat: #c9a227;
    --wheat-soft: #e6cf7a;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Set dynamic fonts according to direction */
html[dir="rtl"] body {
    font-family: var(--font-ar);
}

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

/* Selection and Scrollbar */
::selection {
    background-color: var(--accent-red);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Typography & Global Layout */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Utility Elements */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--accent-gold-soft);
    border: 1px solid var(--accent-gold-border);
    border-radius: 4px;
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.highlight-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-subtitle::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--accent-orange);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--charcoal);
}

html[dir="rtl"] .section-title {
    font-weight: 800;
}

.section-desc {
    color: #444444;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
    margin-bottom: 24px;
    max-width: 600px;
    -webkit-text-fill-color: currentColor;
}

.section-desc-center {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(47, 85, 120, 0.35);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
    background-color: var(--charcoal);
    color: #ffffff;
    border-color: var(--charcoal);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Header — solid field bar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f4ec 100%);
    border-bottom: 1px solid rgba(31, 58, 36, 0.1);
    z-index: 1100;
    transition: height 0.3s ease, box-shadow 0.3s ease;
}

.main-header::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--field-deep) 0%, var(--wheat) 52%, var(--field-mid) 100%);
}

.main-header.scrolled {
    --header-height: 72px;
    --header-logo-height: 50px;
    box-shadow: 0 12px 30px rgba(31, 58, 36, 0.08);
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.main-nav {
    justify-self: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--field-deep);
    padding: 10px 14px;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 3px;
    border-radius: 2px;
    background: var(--wheat);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #16301b;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.92;
    transform: none;
    box-shadow: none;
}

.logo-img {
    height: auto;
    width: auto;
    max-width: 100%;
}

.logo-link .logo-img {
    height: var(--header-logo-height);
    max-height: var(--header-logo-height);
    width: auto;
    max-width: 168px;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--field-deep);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(31, 58, 36, 0.18);
    color: var(--field-deep);
    padding: 9px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--field-deep);
    border-color: var(--wheat);
    background: rgba(201, 162, 39, 0.12);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--field-deep);
    color: #ffffff !important;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: none;
    border: 1px solid transparent;
}

.cta-btn:hover {
    transform: translateY(-1px);
    background: #16301b;
    box-shadow: 0 10px 22px rgba(31, 58, 36, 0.22);
}

.header-cta {
    padding: 11px 22px;
    font-size: 14px;
    background: linear-gradient(135deg, var(--wheat) 0%, #b08a1d 100%);
    color: #1a1a1a !important;
}

.header-cta:hover {
    background: linear-gradient(135deg, var(--wheat-soft) 0%, var(--wheat) 100%);
    color: #1a1a1a !important;
    box-shadow: 0 10px 22px rgba(201, 162, 39, 0.28);
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(31, 58, 36, 0.06);
    border: 1px solid rgba(31, 58, 36, 0.12);
    border-radius: 12px;
    color: var(--field-deep);
    cursor: pointer;
    z-index: 2;
    position: relative;
    padding: 0;
}

.menu-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
}

.menu-bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-bars span:nth-child(2) {
    width: 70%;
    margin-inline-start: auto;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    width: min(300px, 86vw);
    background-color: #ffffff;
    z-index: 1200;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-inline-end: 1px solid var(--border-color);
    box-shadow: -12px 0 40px rgba(18, 31, 46, 0.18);
    visibility: visible;
}

html[dir="rtl"] .mobile-nav-drawer {
    right: 0;
    left: auto;
    transform: translateX(110%);
}

html[dir="ltr"] .mobile-nav-drawer {
    left: 0;
    right: auto;
    transform: translateX(-110%);
}

html[dir="rtl"] .mobile-nav-drawer.active,
html[dir="ltr"] .mobile-nav-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 16px 20px;
    margin: -30px -24px 8px -24px;
    border-bottom: 1px solid rgba(165, 184, 198, 0.35);
}

.drawer-header .logo-img {
    height: 56px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.close-drawer {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--charcoal);
    width: 42px;
    height: 42px;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

.mob-link {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-secondary);
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.mob-link:hover,
.mob-link.active {
    color: var(--accent-orange);
}

.drawer-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-footer .cta-btn {
    width: 100%;
    padding: 12px 16px;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(18, 31, 46, 0.55);
    z-index: 1150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero — brand-first field stage */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--field-deep);
    display: flex;
    align-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.1s ease, transform 8s ease;
}

.hero-media-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-media-wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 75% 40%, rgba(230, 207, 122, 0.22) 0%, transparent 55%),
        linear-gradient(115deg, rgba(22, 48, 27, 0.88) 0%, rgba(31, 58, 36, 0.62) 38%, rgba(61, 90, 46, 0.28) 68%, rgba(22, 48, 27, 0.55) 100%);
    pointer-events: none;
}

html[dir="ltr"] .hero-media-wash {
    background:
        radial-gradient(ellipse 70% 60% at 25% 40%, rgba(230, 207, 122, 0.22) 0%, transparent 55%),
        linear-gradient(245deg, rgba(22, 48, 27, 0.88) 0%, rgba(31, 58, 36, 0.62) 38%, rgba(61, 90, 46, 0.28) 68%, rgba(22, 48, 27, 0.55) 100%);
}

.hero-media-grain {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    pointer-events: none;
    mix-blend-mode: soft-light;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(0, 0, 0, 0.03) 3px, rgba(0, 0, 0, 0.03) 6px);
    animation: heroGrain 10s linear infinite;
}

@keyframes heroGrain {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-1.5%, 1%, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.hero-orbit {
    position: absolute;
    width: min(52vw, 620px);
    height: min(52vw, 620px);
    border: 1px solid rgba(230, 207, 122, 0.28);
    border-radius: 50%;
    inset-inline-end: -8%;
    top: 18%;
    pointer-events: none;
    z-index: 2;
    animation: heroOrbit 18s ease-in-out infinite;
}

.hero-orbit::before {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

@keyframes heroOrbit {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-18px) rotate(6deg); opacity: 1; }
}

.hero-container {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 88px;
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wheat-soft);
    opacity: 0;
    transform: translateY(22px);
    animation: heroRise 0.8s ease 0.1s forwards;
}

.hero-eyebrow-mark {
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--wheat-soft), transparent);
}

html[dir="ltr"] .hero-eyebrow-mark {
    background: linear-gradient(270deg, var(--wheat-soft), transparent);
}

.hero-brand {
    font-size: clamp(42px, 7vw, 84px);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 18px;
    color: #ffffff;
    text-wrap: balance;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(28px);
    animation: heroRise 0.9s ease 0.22s forwards;
}

html[dir="rtl"] .hero-brand {
    line-height: 1.2;
    letter-spacing: 0;
}

.hero-desc {
    font-size: clamp(15px, 1.7vw, 18px);
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 32px;
    max-width: 34rem;
    line-height: 1.85;
    opacity: 0;
    transform: translateY(24px);
    animation: heroRise 0.9s ease 0.36s forwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(24px);
    animation: heroRise 0.9s ease 0.48s forwards;
}

@keyframes heroRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .btn-primary {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--wheat-soft) 0%, var(--wheat) 55%, #a8861c 100%);
    color: #1a1a1a;
    box-shadow: 0 14px 30px rgba(201, 162, 39, 0.28);
}

.hero-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(201, 162, 39, 0.36);
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #ffffff;
}

.hero-pager {
    position: absolute;
    z-index: 8;
    inset-inline-end: clamp(16px, 4vw, 40px);
    bottom: clamp(24px, 5vh, 48px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-pager-btn {
    min-width: 48px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(22, 48, 27, 0.35);
    color: rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-pager-btn:hover,
.hero-pager-btn.active {
    color: #1a1a1a;
    background: var(--wheat);
    border-color: var(--wheat);
    transform: translateX(-2px);
}

html[dir="ltr"] .hero-pager-btn:hover,
html[dir="ltr"] .hero-pager-btn.active {
    transform: translateX(2px);
}

.hero-slider-arrow,
.hero-slider-dots,
.hero-bottom-bar,
.hero-nav-arrows,
.hero-progress {
    display: none;
}

/* Stats Section */
.stats-section {
    background-color: var(--charcoal);
    border-top: none;
    border-bottom: none;
    padding: 48px 0;
    margin-top: -1px;
}

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

.stat-card {
    text-align: center;
}

.stat-num {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
}

/* About Section — field ledger */
.about-section {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 9vw, 120px) 0;
    background:
        radial-gradient(ellipse 55% 50% at 0% 20%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 100% 80%, rgba(61, 90, 46, 0.1) 0%, transparent 55%),
        linear-gradient(180deg, #f7f4ec 0%, #ffffff 48%, #f3f0e6 100%);
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -18deg,
            transparent,
            transparent 18px,
            rgba(31, 58, 36, 0.025) 18px,
            rgba(31, 58, 36, 0.025) 19px
        );
    pointer-events: none;
}

.inner-about-section {
    margin-top: 0;
}

.about-ledger {
    position: relative;
    z-index: 1;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.about-ledger__visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-ledger__frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px 8px 28px 8px;
    min-height: 460px;
    isolation: isolate;
    box-shadow: 0 28px 60px rgba(31, 58, 36, 0.16);
}

.about-ledger__img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 1.4s ease;
}

.about-ledger__frame:hover .about-ledger__img {
    transform: scale(1.09);
}

.about-ledger__glow {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(22, 48, 27, 0.15) 0%, transparent 42%, rgba(22, 48, 27, 0.55) 100%);
    pointer-events: none;
}

.about-ledger__chip {
    position: absolute;
    inset-inline-start: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    background: rgba(247, 244, 236, 0.94);
    border-inline-start: 3px solid var(--wheat);
    max-width: min(280px, 80%);
}

.about-ledger__chip strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--field-deep);
    line-height: 1.3;
}

.about-ledger__chip span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(31, 58, 36, 0.7);
}

.about-ledger__meters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.about-ledger__meter {
    padding: 16px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 2px solid rgba(201, 162, 39, 0.55);
}

.about-ledger__meter strong {
    display: block;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    color: var(--field-deep);
    line-height: 1.1;
    margin-bottom: 6px;
}

.about-ledger__meter span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(31, 58, 36, 0.68);
}

.about-ledger__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-ledger__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6f16;
}

.about-ledger__eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--wheat), transparent);
}

.about-ledger__title {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--field-deep);
    max-width: 14ch;
}

.about-ledger__text {
    margin: 0 0 12px;
    color: rgba(31, 58, 36, 0.78);
    font-size: 16px;
    line-height: 1.85;
    max-width: 38ch;
}

.about-ledger__rails {
    width: 100%;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-ledger__rail {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(31, 58, 36, 0.1);
}

.about-ledger__rail:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-ledger__rail-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--field-deep);
    background: rgba(201, 162, 39, 0.16);
    border-radius: 12px;
    font-size: 16px;
}

.about-ledger__rail strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--field-deep);
    margin-bottom: 4px;
}

.about-ledger__rail span {
    display: block;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(31, 58, 36, 0.7);
}

.about-ledger__cta {
    margin-top: 28px;
    background: var(--field-deep);
    color: #ffffff;
    border-radius: 12px;
    padding: 13px 26px;
    border: none;
}

.about-ledger__cta:hover {
    background: #16301b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(31, 58, 36, 0.22);
}

/* Keep for about page why section heading */
.about-showcase__head {
    max-width: 720px;
    margin-bottom: 48px;
}

.about-showcase__head.text-center {
    margin-inline: auto;
    text-align: center;
}

.about-showcase__head.text-center .section-subtitle {
    justify-content: center;
}

/* Why pillars (about page) */
.why-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.why-pillar {
    padding: 28px 22px;
    border-radius: 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-fast);
}

.why-pillar:hover {
    border-color: var(--accent-gold-border);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(27, 48, 68, 0.1);
}

.why-pillar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--charcoal);
    color: var(--accent-orange-light);
    font-size: 20px;
    margin-bottom: 16px;
}

.why-pillar h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.why-pillar p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Video Section */
.video-section {
    padding: 60px 24px;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.video-section-wrapper {
    position: relative;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    overflow: hidden;
    line-height: 0;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.video-section-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 7, 0.35) 0%,
        transparent 18%,
        transparent 82%,
        rgba(5, 5, 7, 0.45) 100%
    );
}

.video-section-player {
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 72vh;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-secondary);
}

.video-image-player {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-slideshow-img {
    transition: opacity 0.6s ease;
    opacity: 0.35;
}

.video-slideshow-img.is-visible {
    opacity: 1;
}

/* Products Section */
.products-section {
    padding: clamp(72px, 9vw, 110px) 0;
    background:
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(201, 162, 39, 0.1) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f7f4ec 55%, #ffffff 100%);
    border-top: 1px solid rgba(31, 58, 36, 0.08);
    border-bottom: 1px solid rgba(31, 58, 36, 0.08);
}

.section-head {
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.product-category-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-fast);
}

.product-category-card:hover,
.product-category-card.active {
    transform: translateY(-6px);
    border-color: rgba(196, 146, 77, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(196, 146, 77, 0.05);
}

.product-category-card.active::before {
    opacity: 1;
}

.prod-card-icon {
    font-size: 32px;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.product-category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-category-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.view-more-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

html[dir="rtl"] .view-more-btn i {
    transform: rotate(0deg);
}

html[dir="ltr"] .view-more-btn i {
    transform: rotate(180deg);
}

.product-category-card:hover .view-more-btn i {
    transform: translateX(-4px);
}

html[dir="ltr"] .product-category-card:hover .view-more-btn i {
    transform: translateX(4px);
}

/* Product Detail Panel (Glassmorphism) */
.product-detail-panel {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(51, 51, 51, 0.08);
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.panel-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.panel-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.panel-info {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: flex-start;
}

.panel-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
    background-color: var(--bg-primary);
}

.panel-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-glow {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(51, 51, 51, 0.12);
    pointer-events: none;
}

.panel-text p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.partner-brands-container {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
}

.partner-brands-container h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.brand-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.brand-tab-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.brand-tab-btn:hover {
    border-color: rgba(196, 146, 77, 0.5);
    color: #fff;
}

.brand-tab-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--accent-glow);
}

/* Brand Album Gallery */
.brand-album-gallery {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.brand-album-gallery .gallery-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.brand-album-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-item-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.brand-item-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
}

.brand-img-wrapper {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-primary);
}

.brand-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.brand-item-title {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: #fff;
    border-color: var(--accent-red);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--accent-glow);
}

.projects-grid-albums {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-album-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.project-album-card:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 146, 77, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.project-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-album-card:hover .project-thumbnail {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-album-card:hover .project-card-overlay {
    opacity: 1;
}

.project-view-album {
    background-color: var(--accent-red);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--accent-glow);
}

.project-info {
    padding: 24px;
}

.project-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.project-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

/* Continuous Logo Sliders */
.sliders-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.slider-section-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.slider-wrapper {
    width: 100%;
}

.slider-header-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.slider-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

.slider-decor-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color) 0%, rgba(255, 255, 255, 0) 100%);
}

html[dir="rtl"] .slider-decor-line {
    background: linear-gradient(270deg, var(--border-color) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

/* Sliders visual fading edges */
.logo-slider-container::before,
.logo-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-slider-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-secondary) 0%, rgba(0, 0, 0, 0) 100%);
}

.logo-slider-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-secondary) 0%, rgba(0, 0, 0, 0) 100%);
}

.logo-slide-track {
    display: flex;
    gap: 40px;
    width: max-content;
}

/* Animation properties applied via inline styles in JS or keyframes here */
.slider-logo-card {
    width: 220px;
    height: 80px;
    background-color: rgba(13, 13, 17, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    opacity: 0.85;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slider-logo-card:hover {
    opacity: 1;
    background-color: rgba(13, 13, 17, 0.85);
    border-color: rgba(196, 146, 77, 0.6);
    box-shadow: 0 8px 30px rgba(196, 146, 77, 0.25), inset 0 0 10px rgba(196, 146, 77, 0.1);
    transform: translateY(-4px) scale(1.03);
}

.slider-brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Continuous Scroll Animations */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

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

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }

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

/* Contact Section — industrial deck */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 9vw, 120px) 0;
    background:
        radial-gradient(ellipse 50% 45% at 0% 100%, rgba(201, 162, 39, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 100% 0%, rgba(61, 90, 46, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f7f4ec 100%);
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            18deg,
            transparent,
            transparent 22px,
            rgba(31, 58, 36, 0.025) 22px,
            rgba(31, 58, 36, 0.025) 23px
        );
    pointer-events: none;
}

.contact-section-bg {
    display: none;
}

.contact-gate {
    position: relative;
    z-index: 1;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.contact-gate__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-gate__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6f16;
}

.contact-gate__eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--wheat), transparent);
}

.contact-gate__title {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--field-deep);
    max-width: 14ch;
}

.contact-gate__text {
    margin: 0 0 22px;
    color: rgba(31, 58, 36, 0.78);
    font-size: 16px;
    line-height: 1.85;
    max-width: 36ch;
}

.contact-gate__checks {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-gate__checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(31, 58, 36, 0.88);
    font-size: 14px;
    font-weight: 700;
}

.contact-gate__checks i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.18);
    color: #8a6f16;
    font-size: 10px;
    flex-shrink: 0;
}

.contact-gate__channels {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(31, 58, 36, 0.12);
}

.contact-line {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(31, 58, 36, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.contact-line:hover {
    transform: translateX(-3px);
}

html[dir="ltr"] .contact-line:hover {
    transform: translateX(3px);
}

.contact-line__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(31, 58, 36, 0.08);
    color: var(--field-deep);
    font-size: 16px;
}

.contact-line--wa .contact-line__icon {
    background: rgba(37, 211, 102, 0.16);
    color: #128c45;
}

.contact-line__meta span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(31, 58, 36, 0.55);
    margin-bottom: 4px;
}

.contact-line__meta strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--field-deep);
    word-break: break-word;
    line-height: 1.4;
}

.contact-gate__form {
    position: relative;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 244, 236, 0.98) 100%);
    border: 1px solid rgba(31, 58, 36, 0.1);
    border-radius: 28px 8px 28px 8px;
    box-shadow: 0 24px 55px rgba(31, 58, 36, 0.1);
    overflow: hidden;
}

.contact-gate__form::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--field-deep) 0%, var(--wheat) 55%, var(--field-mid) 100%);
}

/* Legacy contact pieces kept for other pages if referenced */
.contact-container { display: contents; }
.contact-info-panel,
.contact-details-list,
.contact-detail-item,
.contact-icon,
.contact-deck__intro,
.contact-deck__form-band,
.contact-deck__channels,
.contact-channel { display: none; }

.emergency-badge {
    display: none;
}

/* Contact Form Panel */
.contact-form-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 36px 34px 32px;
    box-shadow: none;
}

.contact-form-header {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(31, 58, 36, 0.1);
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(201, 162, 39, 0.14);
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 8px;
    color: #8a6f16;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.contact-form-panel h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--field-deep);
    margin-bottom: 8px;
    border: none;
    padding: 0;
}

.form-subtitle {
    font-size: 14px;
    color: rgba(31, 58, 36, 0.7);
    line-height: 1.6;
    margin: 0;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-start: 14px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
}

.input-with-icon.textarea-icon > i {
    top: 16px;
    transform: none;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    padding-inline-start: 42px !important;
    width: 100%;
}

.btn-submit-lg {
    padding: 14px 28px;
    font-size: 16px;
    margin-top: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--wheat-soft) 0%, var(--wheat) 55%, #a8861c 100%);
    color: #1a1a1a;
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.28);
}

.btn-submit-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(201, 162, 39, 0.34);
    color: #1a1a1a;
}

html[dir="ltr"] .btn-submit-lg i {
    transform: rotate(180deg);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(31, 58, 36, 0.78);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 58, 36, 0.14);
    color: var(--field-deep);
    padding: 12px 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--wheat);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
    background-color: #ffffff;
}

.form-group select option {
    background-color: #ffffff;
    color: var(--field-deep);
}

.success-message-toast {
    display: none;
    align-items: center;
    gap: 12px;
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    animation: fadeIn 0.4s ease;
}

/* Footer — Compact bar */
.main-footer {
    background-color: var(--charcoal-dark);
    border-top: 2px solid var(--accent-orange);
    padding: 0;
}

.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px;
    min-height: 64px;
}

.footer-bar-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(165, 184, 198, 0.4);
}

.footer-bar-logo-img {
    height: 48px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-bar-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-fast);
}

a.footer-bar-item:hover {
    color: var(--accent-orange-light);
}

.footer-bar-item i {
    color: var(--accent-orange-light);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Legacy footer — hidden */
.footer-cta-strip,
.footer-brand-bar,
.footer-bento,
.footer-bottom,
.footer-grid,
.footer-links-col,
.social-links { display: none !important; }

.certificates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cert-item {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.cert-item:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(3, 3, 5, 0.95);
    z-index: 2000;
    display: none;
    /* Controlled via JS */
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    z-index: 2010;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-red);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 2010;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    background-color: var(--accent-red);
    border-color: transparent;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* Correct icon direction for lightbox arrows depending on translation */
html[dir="rtl"] .lightbox-prev i {
    transform: rotate(180deg);
}

html[dir="rtl"] .lightbox-next i {
    transform: rotate(180deg);
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lightbox-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-loader {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(196, 146, 77, 0.2);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
    display: none;
}

.lightbox-caption {
    text-align: center;
}

.lightbox-caption h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.lightbox-caption p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        text-align: start;
        padding-top: var(--header-height);
        padding-bottom: 130px;
    }

    .hero-content {
        max-width: 560px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .about-ledger {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-ledger__visual {
        order: -1;
    }

    .about-ledger__frame,
    .about-ledger__img {
        min-height: 340px;
    }

    .about-ledger__title,
    .about-ledger__text {
        max-width: none;
    }

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

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid-albums {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-gate {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-gate__title,
    .contact-gate__text {
        max-width: none;
    }

    .contact-gate__form {
        border-radius: 20px 6px 20px 6px;
    }

    .contact-form-panel {
        padding: 28px 20px;
    }

    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
    }

    .footer-bar-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 72px;
        --header-logo-height: 48px;
    }

    .main-header.scrolled {
        --header-height: 64px;
        --header-logo-height: 42px;
    }

    .main-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .header-actions .lang-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .logo-link .logo-img {
        max-width: 128px;
    }

    .hero-brand {
        font-size: clamp(34px, 11vw, 48px);
        margin-bottom: 14px;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 22px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 11px 18px;
        font-size: 14px;
    }

    .header-container {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        padding: 0 14px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-container {
        padding-top: calc(var(--header-height) + 36px);
        padding-bottom: 110px;
        padding-inline: 14px;
    }

    .hero-orbit {
        width: 280px;
        height: 280px;
        top: 12%;
        opacity: 0.55;
    }

    .hero-pager {
        flex-direction: row;
        inset-inline: 14px auto;
        bottom: 22px;
    }

    .hero-pager-btn:hover,
    .hero-pager-btn.active {
        transform: none;
    }

    .hero-media-wash {
        background:
            linear-gradient(180deg, rgba(22, 48, 27, 0.55) 0%, rgba(22, 48, 27, 0.72) 42%, rgba(22, 48, 27, 0.92) 100%);
    }

    html[dir="ltr"] .hero-media-wash {
        background:
            linear-gradient(180deg, rgba(22, 48, 27, 0.55) 0%, rgba(22, 48, 27, 0.72) 42%, rgba(22, 48, 27, 0.92) 100%);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .brand-album-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-content {
        padding: 0 10px;
    }

    .about-ledger {
        padding: 0 14px;
    }

    .about-ledger__frame {
        border-radius: 20px 6px 20px 6px;
    }

    .about-ledger__frame,
    .about-ledger__img {
        min-height: 280px;
    }

    .about-ledger__meters {
        grid-template-columns: 1fr;
    }

    .about-ledger__meter {
        text-align: start;
        padding: 14px 16px;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
    }

    .about-ledger__meter strong {
        margin-bottom: 0;
    }

    .about-ledger__chip {
        inset-inline-start: 14px;
        bottom: 14px;
        max-width: calc(100% - 28px);
    }

    .products-section {
        padding: 72px 0;
    }
}

@media (max-width: 576px) {
    .contact-gate {
        padding: 0 14px;
    }

    .contact-line:hover {
        transform: none;
    }

    .contact-form-panel h3 {
        font-size: 22px;
    }

    .why-pillars {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 640px;
    }

    .hero-brand {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-container {
        padding-bottom: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
        width: 100%;
    }

    .hero-orbit {
        display: none;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

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

    .projects-grid-albums {
        grid-template-columns: 1fr;
    }

    .brand-album-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bar-logo-img {
        height: 38px;
    }

    .product-detail-panel {
        padding: 24px;
    }
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 28px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.menu-open .floating-contact {
    visibility: hidden;
    pointer-events: none;
}

html[dir="rtl"] .floating-contact {
    left: 24px;
    right: auto;
}

html[dir="ltr"] .floating-contact {
    right: 24px;
    left: auto;
}

.floating-contact-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.floating-contact-btn:hover {
    transform: translateY(-3px) scale(1.08);
    color: #ffffff;
}

.floating-contact-btn.whatsapp {
    background-color: #25d366;
}

.floating-contact-btn.whatsapp:hover {
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.floating-contact-btn.call {
    background: var(--accent-gradient);
}

.floating-contact-btn.call:hover {
    box-shadow: var(--accent-glow);
}

.floating-contact-btn.facebook {
    background-color: #1877f2;
}

.floating-contact-btn.facebook:hover {
    box-shadow: 0 10px 28px rgba(24, 119, 242, 0.45);
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        gap: 10px;
    }

    html[dir="rtl"] .floating-contact {
        left: 16px;
    }

    html[dir="ltr"] .floating-contact {
        right: 16px;
    }

    .floating-contact-btn {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}

/* Video Gallery */
.video-gallery-section {
    padding: 60px 0 100px;
    background-color: var(--bg-primary);
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-gallery-card {
    display: flex;
    flex-direction: column;
}

.video-embed-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #000000;
}

.video-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-gallery-card .video-card-title {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    padding: 0 4px;
}

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

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

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.video-modal.active {
    display: flex;
}

.video-modal-close {
    position: absolute;
    top: 24px;
    inset-inline-end: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: rgba(13, 13, 17, 0.9);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
}

.video-modal-close:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.video-modal-content {
    width: 100%;
    max-width: 960px;
}

.video-modal-player-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #000000;
    line-height: 0;
}

.video-youtube-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000000;
}

.video-youtube-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-play-btn-youtube {
    background: var(--charcoal);
    box-shadow: 0 8px 24px rgba(51, 51, 51, 0.25);
}

.video-gallery-card:hover .video-play-btn-youtube {
    transform: scale(1.1);
}

.video-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000000;
}

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

.video-slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: rgba(13, 13, 17, 0.85);
    color: #ffffff;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-fast);
}

.video-slideshow-nav:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.video-slideshow-nav.prev {
    inset-inline-start: 14px;
}

.video-slideshow-nav.next {
    inset-inline-end: 14px;
}

.video-slideshow-toggle {
    position: absolute;
    bottom: 14px;
    inset-inline-start: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: rgba(13, 13, 17, 0.9);
    color: #ffffff;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-fast);
}

.video-slideshow-toggle:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.video-slideshow-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.video-slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.video-slideshow-dot.active {
    background-color: var(--accent-red);
    transform: scale(1.2);
}

.video-slideshow-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--accent-gradient);
    z-index: 2;
}

@keyframes videoSlideProgress {
    from { width: 0; }
    to { width: 100%; }
}

.video-modal-slide-caption {
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.video-modal-caption {
    margin-top: 20px;
    text-align: center;
}

.video-modal-caption h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.video-modal-caption p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .video-modal {
        padding: 16px;
    }

    .video-modal-close {
        top: 16px;
        inset-inline-end: 16px;
    }
}

/* --- Rakaez custom pages --- */
.inner-banner {
    background: radial-gradient(circle at 50% 50%, rgba(196, 146, 77, 0.08) 0%, rgba(255, 255, 255, 0) 80%), var(--bg-secondary);
    padding: 120px 0 60px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.inner-banner h1 {
    font-size: 42px;
    margin: 12px 0;
}

.inner-banner p {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

.products-page,
.contact-page {
    padding: 80px 0;
}

.why-section-compact {
    padding: 0 0 80px;
}

.why-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

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

.footer-contact-list li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.footer-contact-list a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: var(--accent-red);
}

.contact-form-status {
    margin-top: 12px;
    color: var(--accent-red);
    font-size: 14px;
}

.product-detail-page {
    padding: 60px 0 100px;
}

/* Service detail page */
.inner-banner--compact {
    padding-bottom: 36px;
}

.inner-banner--compact p {
    display: none;
}

.service-detail-page {
    padding: 0 0 100px;
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid var(--charcoal);
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-fast);
}

.service-back-link:hover {
    background: var(--charcoal);
    color: #fff;
}

html[dir="ltr"] .service-back-link i {
    transform: rotate(180deg);
}

.service-detail-panel {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: start;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 56px;
    box-shadow: 0 16px 40px rgba(51, 51, 51, 0.06);
}

.service-detail-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 4 / 3;
    background: #fff;
}

.service-detail-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-detail-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--charcoal);
}

.service-detail-lead {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 24px;
}

.service-detail-quote {
    border-inline-start: 4px solid var(--accent-red);
    padding: 18px 22px;
    margin: 0 0 28px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-inline-start-width: 4px;
    border-inline-start-color: var(--accent-red);
}

.service-detail-quote span {
    display: block;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 8px;
    font-size: 14px;
}

.service-detail-quote p {
    color: #444444;
    margin: 0;
    line-height: 1.7;
    font-weight: 500;
    -webkit-text-fill-color: currentColor;
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-detail-block {
    margin-bottom: 56px;
}

.service-block-head {
    text-align: center;
    margin-bottom: 32px;
}

.service-block-head h3 {
    font-size: 30px;
    color: var(--charcoal);
    margin: 0;
}

.service-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-benefit-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.service-benefit-card:hover {
    border-color: var(--accent-gold-border);
    box-shadow: 0 12px 30px rgba(196, 146, 77, 0.12);
    transform: translateY(-4px);
}

.service-benefit-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-soft);
    color: var(--accent-red);
    font-size: 20px;
}

.service-benefit-card p {
    color: #444444;
    margin: 0;
    line-height: 1.6;
    font-weight: 600;
    -webkit-text-fill-color: currentColor;
}

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-process-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    overflow: hidden;
}

.service-process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.service-process-num {
    position: absolute;
    top: 16px;
    inset-inline-end: 18px;
    font-size: 42px;
    font-weight: 800;
    color: rgba(196, 146, 77, 0.15);
    line-height: 1;
}

.service-process-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-soft);
    color: var(--accent-red);
    font-size: 20px;
    margin-bottom: 16px;
}

.service-process-card h4 {
    margin-bottom: 10px;
    color: var(--charcoal);
}

.service-process-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

.service-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.service-related-card:hover {
    border-color: var(--accent-gold-border);
    box-shadow: 0 16px 36px rgba(51, 51, 51, 0.08);
    transform: translateY(-4px);
}

.service-related-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-related-card:hover .service-related-thumb img {
    transform: scale(1.05);
}

.service-related-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.service-related-body h4 {
    margin: 0;
    color: var(--charcoal);
    font-size: 18px;
}

.service-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 32px 36px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(196, 146, 77, 0.14) 0%, rgba(51, 51, 51, 0.04) 100%);
    border: 1px solid var(--accent-gold-border);
}

.service-cta-bar h3 {
    margin: 0 0 8px;
    color: var(--charcoal);
}

.service-cta-bar p {
    margin: 0;
    color: var(--text-secondary);
    max-width: 520px;
}

.detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.detail-breadcrumb a:hover {
    color: var(--accent-red);
}

.detail-breadcrumb span:last-child {
    color: var(--charcoal);
    font-weight: 600;
}

@media (max-width: 992px) {
    .service-detail-panel {
        grid-template-columns: 1fr;
    }

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

    .service-process-grid,
    .service-related-grid {
        grid-template-columns: 1fr;
    }

    .inner-banner h1 {
        font-size: 32px;
    }

    .why-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .service-benefits-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-panel {
        padding: 20px;
    }

    .service-cta-bar {
        padding: 24px;
    }
}

/* --- Services Silo (expandable field panels) --- */
.services-silo {
    display: flex;
    gap: 12px;
    min-height: 520px;
    margin-top: 12px;
}

.silo-panel {
    position: relative;
    flex: 0.72;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px 6px 22px 6px;
    text-decoration: none;
    color: #fff;
    isolation: isolate;
    transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    box-shadow: 0 16px 36px rgba(31, 58, 36, 0.12);
}

.silo-panel.is-active {
    flex: 3.4;
    box-shadow: 0 26px 55px rgba(31, 58, 36, 0.2);
}

.silo-panel__media {
    position: absolute;
    inset: 0;
    background-image: var(--silo-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 0.9s ease;
}

.silo-panel.is-active .silo-panel__media {
    transform: scale(1);
}

.silo-panel__wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(22, 48, 27, 0.18) 0%, rgba(22, 48, 27, 0.35) 42%, rgba(22, 48, 27, 0.92) 100%);
    transition: background 0.4s ease;
}

.silo-panel.is-active .silo-panel__wash {
    background:
        linear-gradient(115deg, rgba(22, 48, 27, 0.82) 0%, rgba(22, 48, 27, 0.45) 48%, rgba(22, 48, 27, 0.72) 100%);
}

.silo-panel__index {
    position: absolute;
    top: 18px;
    inset-inline-start: 16px;
    z-index: 2;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: rgba(230, 207, 122, 0.45);
    transition: opacity 0.3s ease, color 0.3s ease;
}

.silo-panel.is-active .silo-panel__index {
    color: rgba(230, 207, 122, 0.7);
    font-size: 48px;
}

.silo-panel__compact {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 24px 10px;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.silo-panel__compact i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(201, 162, 39, 0.22);
    color: var(--wheat-soft);
    font-size: 16px;
}

.silo-panel__compact span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    max-height: 70%;
    overflow: hidden;
}

html[dir="ltr"] .silo-panel__compact span {
    transform: none;
}

.silo-panel.is-active .silo-panel__compact {
    opacity: 0;
    pointer-events: none;
}

.silo-panel__body {
    position: absolute;
    z-index: 4;
    inset-inline: 0;
    bottom: 0;
    padding: 28px 30px 30px;
    max-width: 520px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.silo-panel.is-active .silo-panel__body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.silo-panel__tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wheat-soft);
}

.silo-panel__body h3 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
}

.silo-panel__body p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.silo-panel__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--wheat-soft) 0%, var(--wheat) 100%);
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 800;
    border-radius: 10px;
}

html[dir="ltr"] .silo-panel__link i {
    transform: rotate(180deg);
}

.services-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-image-card {
    position: relative;
    min-height: 320px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 14px 34px rgba(51, 51, 51, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-image-card--wide {
    grid-column: span 2;
    min-height: 360px;
}

.service-image-card:hover,
.service-image-card:focus-visible {
    transform: translateY(-6px);
    border-color: var(--accent-gold-border);
    box-shadow: 0 22px 48px rgba(196, 146, 77, 0.2);
}

.service-image-card__media {
    position: absolute;
    inset: 0;
    background-image: var(--service-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-image-card:hover .service-image-card__media,
.service-image-card:focus-visible .service-image-card__media {
    transform: scale(1.06);
}

.service-image-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(51, 51, 51, 0.94) 0%, rgba(51, 51, 51, 0.35) 50%, rgba(51, 51, 51, 0.08) 100%);
}

.service-image-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    gap: 10px;
}

.service-image-card__index {
    position: absolute;
    top: 20px;
    inset-inline-start: 20px;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
}

.service-image-card__tag {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(196, 146, 77, 0.92);
    font-size: 12px;
    font-weight: 700;
}

.service-image-card__content h3 {
    margin: 0;
    font-size: 24px;
    color: #fff;
    -webkit-text-fill-color: currentColor;
}

.service-image-card__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 720px;
    -webkit-text-fill-color: currentColor;
}

.service-image-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-weight: 700;
    color: var(--charcoal);
    background: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    width: fit-content;
    font-size: 13px;
}

html[dir="ltr"] .service-image-card__link i {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .services-silo {
        flex-direction: column;
        min-height: 0;
        gap: 10px;
    }

    .silo-panel,
    .silo-panel.is-active {
        flex: none;
        min-height: 88px;
        border-radius: 16px 6px 16px 6px;
    }

    .silo-panel.is-active {
        min-height: 340px;
    }

    .silo-panel__compact {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 18px 20px;
        gap: 12px;
    }

    .silo-panel__compact span {
        writing-mode: horizontal-tb;
        transform: none;
        max-height: none;
        font-size: 15px;
    }

    .silo-panel.is-active .silo-panel__compact {
        opacity: 0;
    }

    .silo-panel__body {
        max-width: none;
        padding: 24px 20px;
    }

    .silo-panel__body p {
        -webkit-line-clamp: 3;
    }

    .silo-panel__index {
        font-size: 28px;
    }

    .silo-panel.is-active .silo-panel__index {
        font-size: 36px;
    }

    .services-image-grid {
        grid-template-columns: 1fr;
    }

    .service-image-card--wide {
        grid-column: span 1;
    }
}

/* --- Services Rails (alternating industrial rows) --- */
.services-rails {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-rail {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 340px;
    background: #ffffff;
    border: 1px solid rgba(165, 184, 198, 0.35);
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.service-rail:hover {
    border-color: rgba(47, 85, 120, 0.45);
    box-shadow: 0 22px 50px rgba(18, 31, 46, 0.12);
    transform: translateY(-2px);
}

.service-rail--flip {
    grid-template-columns: 0.85fr 1.15fr;
}

.service-rail--flip .service-rail__media {
    order: 2;
}

.service-rail--flip .service-rail__body {
    order: 1;
}

.service-rail__media {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    text-decoration: none;
}

.service-rail__media-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.8s ease;
}

.service-rail:hover .service-rail__media-bg {
    transform: scale(1.08);
}

.service-rail__media-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(12, 20, 32, 0.55) 0%, rgba(12, 20, 32, 0.12) 55%, transparent 100%);
    pointer-events: none;
}

.service-rail__index {
    position: absolute;
    inset-inline-start: 20px;
    bottom: 16px;
    z-index: 2;
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: -0.04em;
}

.service-rail__body {
    padding: 36px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
    border-inline-start: 3px solid var(--accent-orange);
}

.service-rail--flip .service-rail__body {
    border-inline-start: none;
    border-inline-end: 3px solid var(--accent-orange);
}

.service-rail__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-rail__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    color: var(--steel-silver);
    font-size: 16px;
}

.service-rail__tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent-orange);
    text-transform: uppercase;
}

.service-rail__body h3 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.35;
}

.service-rail__body p {
    margin: 0 0 22px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    max-width: 46ch;
}

.service-rail__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 11px 18px;
    background: var(--charcoal);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.service-rail__link:hover {
    background: var(--accent-orange);
    color: #ffffff;
    transform: translateX(-2px);
}

html[dir="ltr"] .service-rail__link:hover {
    transform: translateX(2px);
}

html[dir="ltr"] .service-rail__link i {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .service-rail,
    .service-rail--flip {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .service-rail--flip .service-rail__media,
    .service-rail--flip .service-rail__body {
        order: initial;
    }

    .service-rail__media {
        min-height: 240px;
    }

    .service-rail__body {
        padding: 28px 22px;
        border-inline-start: none;
        border-inline-end: none;
        border-top: 3px solid var(--accent-orange);
    }

    .service-rail--flip .service-rail__body {
        border-inline-end: none;
        border-top: 3px solid var(--accent-orange);
    }

    .service-rail__body p {
        max-width: none;
    }
}

@media (max-width: 576px) {
    .services-rails {
        gap: 14px;
    }

    .service-rail__index {
        font-size: 42px;
    }

    .service-rail__body h3 {
        font-size: 20px;
    }

    .service-rail__body p {
        font-size: 14px;
        margin-bottom: 18px;
    }
}

/* --- Services Hub (interactive split showcase) --- */
.services-hub {
    margin-top: 12px;
}

.services-hub__tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.services-hub__tabs::-webkit-scrollbar {
    display: none;
}

.services-hub__tab {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: start;
    font-family: inherit;
    color: var(--text-secondary);
}

.services-hub__tab:hover {
    border-color: var(--accent-gold-border);
    background: var(--accent-gold-soft);
    color: var(--charcoal);
}

.services-hub__tab.is-active {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: #fff;
    box-shadow: 0 12px 28px rgba(18, 31, 46, 0.2);
}

.services-hub__tab-num {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.5;
}

.services-hub__tab.is-active .services-hub__tab-num {
    color: var(--steel-silver);
    opacity: 1;
}

.services-hub__tab-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.services-hub__panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    min-height: 520px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(165, 184, 198, 0.35);
    box-shadow: 0 24px 60px rgba(27, 48, 68, 0.12);
    background: var(--charcoal);
}

.services-hub__visual {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.services-hub__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s;
}

.services-hub__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.services-hub__slide-bg {
    position: absolute;
    inset: 0;
    background-image: var(--hub-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 8s ease;
}

.services-hub__slide.is-active .services-hub__slide-bg {
    transform: scale(1);
}

.services-hub__slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 48, 68, 0.55) 0%, rgba(27, 48, 68, 0.15) 60%, transparent 100%);
}

.services-hub__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 3;
}

.services-hub__progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    transition: width 0.1s linear;
}

.services-hub__content {
    position: relative;
    background: var(--bg-primary);
    padding: 40px 36px 88px;
    min-height: 420px;
}

.services-hub__detail {
    position: absolute;
    inset: 40px 36px 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    pointer-events: none;
}

.services-hub__detail.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}

.services-hub__detail-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.services-hub__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-gold-soft);
    border: 1px solid var(--accent-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-red);
}

.services-hub__tag {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-gold-soft);
    border: 1px solid var(--accent-gold-border);
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 700;
}

.services-hub__index {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    color: var(--bg-tertiary);
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    user-select: none;
    pointer-events: none;
}

.services-hub__detail h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 16px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.services-hub__detail p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.services-hub__cta {
    align-self: flex-start;
    position: relative;
    z-index: 1;
}

html[dir="ltr"] .services-hub__cta i {
    transform: rotate(180deg);
}

.services-hub__nav {
    position: absolute;
    bottom: 32px;
    inset-inline-end: 36px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.services-hub__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-fast);
}

.services-hub__arrow:hover {
    background: var(--charcoal);
    color: #fff;
    border-color: var(--charcoal);
}

html[dir="ltr"] .services-hub__arrow i {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .services-hub__panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .services-hub__visual {
        min-height: 280px;
    }

    .services-hub__content {
        padding: 32px 24px 80px;
        min-height: 320px;
    }

    .services-hub__detail {
        inset: 32px 24px 80px;
    }

    .services-hub__detail h3 {
        font-size: 22px;
    }

    .services-hub__index {
        font-size: 56px;
    }

    .services-hub__tab {
        min-width: 120px;
        padding: 12px 14px;
    }

    .services-hub__tab-label {
        font-size: 13px;
    }
}