/* ==========================================================================
   Design Tokens & Variables - ProGeo Brand System
   Strict Palette: #0F3D38, #2E6F6A, #7FA68E, #E8EFEA, #D4C7B8, #4A4A4A
   All comments strictly in English.
   ========================================================================== */
:root {
    /* Brand Raw Palette */
    --color-forest: #0F3D38;
    --color-teal: #2E6F6A;
    --color-sage: #7FA68E;
    --color-mist: #E8EFEA;
    --color-sand: #D4C7B8;
    --color-charcoal: #4A4A4A;

    /* Semantic Color Mapping */
    --bg-main: #E8EFEA;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: rgba(255, 255, 255, 0.88);
    --bg-card-dark: #0F3D38;
    --text-primary: #0F3D38;
    --text-body: #4A4A4A;
    --text-muted: #5D6D65;
    --text-inverse: #E8EFEA;
    --accent: #2E6F6A;
    --accent-light: #7FA68E;
    --accent-hover: #1E534F;
    --border-soft: rgba(212, 199, 184, 0.55);
    --border-accent: rgba(46, 111, 106, 0.25);
    --border-dark: rgba(212, 199, 184, 0.22);

    /* Gradients */
    --grad-canvas: radial-gradient(circle at 85% 8%, rgba(127, 166, 142, 0.24) 0%, transparent 45%),
                   radial-gradient(circle at 12% 32%, rgba(46, 111, 106, 0.12) 0%, transparent 40%),
                   radial-gradient(circle at 82% 78%, rgba(212, 199, 184, 0.38) 0%, transparent 45%),
                   #E8EFEA;
    --grad-hero-glow: radial-gradient(ellipse at 50% 50%, rgba(127, 166, 142, 0.28) 0%, rgba(46, 111, 106, 0.08) 50%, transparent 70%);
    --grad-dark-card: linear-gradient(145deg, #0F3D38 0%, #164641 55%, #2E6F6A 100%);
    --grad-button-primary: linear-gradient(135deg, #0F3D38 0%, #2E6F6A 100%);
    --grad-button-hover: linear-gradient(135deg, #2E6F6A 0%, #1E534F 100%);
    --grad-ribbon: linear-gradient(90deg, #0F3D38 0%, #2E6F6A 50%, #0F3D38 100%);

    /* Typography & Structure */
    --font-primary: 'IRANSansX', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1320px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --radius-full: 9999px;

    /* Transitions & Shadows */
    --trans-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 12px 30px -10px rgba(15, 61, 56, 0.08);
    --shadow-elevated: 0 22px 50px -15px rgba(15, 61, 56, 0.12);
    --shadow-dark: 0 25px 60px -15px rgba(15, 61, 56, 0.38);
}

/* Base Typography & Reset */
@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/iransans/IRANSansX-Medium.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--grad-canvas);
    color: var(--text-body);
    font-family: var(--font-primary);
    line-height: 1.75;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--trans-smooth);
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 110px 0;
    position: relative;
}

.section-padding-sm {
    padding: 80px 0;
}

.text-gradient {
    background: linear-gradient(135deg, #0F3D38 0%, #2E6F6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--color-teal);
}

.text-sage {
    color: var(--color-sage);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-light-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--trans-smooth);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-button-primary);
    color: var(--color-mist);
    box-shadow: 0 10px 25px -6px rgba(15, 61, 56, 0.4);
    border: 1px solid rgba(212, 199, 184, 0.3);
}

.btn-primary:hover {
    background: var(--grad-button-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -8px rgba(46, 111, 106, 0.5);
    color: #FFFFFF;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-forest);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: #FFFFFF;
    border-color: var(--color-teal);
    color: var(--color-teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.btn-light-outline {
    background: rgba(232, 239, 234, 0.08);
    color: var(--color-mist);
    border: 1px solid rgba(212, 199, 184, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-light-outline:hover {
    background: rgba(232, 239, 234, 0.2);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -6px rgba(15, 61, 56, 0.3);
}

/* Status Pill Badges */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-soft);
    color: var(--color-forest);
    box-shadow: 0 4px 15px rgba(15, 61, 56, 0.04);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-teal);
    box-shadow: 0 0 0 0 rgba(46, 111, 106, 0.6);
    animation: pulseGlow 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 111, 106, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(46, 111, 106, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 111, 106, 0);
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: var(--trans-smooth);
    background: transparent;
}

.site-header.scrolled {
    padding: 14px 0;
    background: rgba(232, 239, 234, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 10px 30px rgba(15, 61, 56, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    line-height: 1;
    transition: var(--trans-smooth);
}

.logo a:hover {
    opacity: 0.85;
}

.brand-logo-img {
    height: 50px;
    max-height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--trans-smooth);
}

.logo-dot {
    display: none;
}

.logo-tagline {
    font-size: 0.72rem;
    color: var(--color-teal);
    font-weight: 700;
    margin-right: 4px;
    padding-right: 12px;
    border-right: 1px solid var(--border-soft);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--color-charcoal);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: var(--trans-smooth);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-forest);
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-cta {
    display: none;
}

.mobile-menu-btn {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 90px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    background: var(--grad-hero-glow);
    top: 5%;
    left: -10%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 100%;
    gap: 40px;
}

.hero-content {
    flex: 0 0 52%;
    max-width: 52%;
    text-align: right;
}

.hero-content .badge-pill {
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1.22;
    letter-spacing: -1px;
    margin-bottom: 24px;
    font-weight: 900;
    color: var(--color-forest);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.25vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 38px;
    max-width: 92%;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

/* Mini Hero Specs Strip */
.hero-specs-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}

.hero-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-forest);
}

.spec-icon {
    color: var(--color-teal);
    display: flex;
    align-items: center;
}

/* Hero Visual & Bento Gallery */
.hero-visual {
    flex: 0 0 42%;
    max-width: 42%;
    display: flex;
    justify-content: flex-end;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: clamp(340px, 38vw, 520px);
}

.hero-bento-gallery {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    width: 100%;
    aspect-ratio: 4 / 4.6;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid #FFFFFF;
    box-shadow: var(--shadow-elevated);
    background: var(--color-forest);
}

.gallery-item.item-tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 61, 56, 0.65) 0%, rgba(46, 111, 106, 0.15) 50%, transparent 100%);
    opacity: 0.7;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover img {
    transform: scale(1.08) rotate(1deg);
}

.gallery-item:hover .gallery-overlay {
    opacity: 0.4;
}

/* Floating Precision Telemetry Badge */
.floating-card {
    position: absolute;
    bottom: -22px;
    left: -20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 45px rgba(15, 61, 56, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.floating-card .card-icon {
    background: rgba(127, 166, 142, 0.22);
    color: var(--color-forest);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.floating-card .card-text strong {
    color: var(--color-forest);
    font-size: 0.92rem;
    font-weight: 800;
    display: block;
}

.floating-card .card-text span {
    color: var(--color-teal);
    font-size: 0.8rem;
    font-weight: 600;
}

/* GSAP Hidden Utility */
.gsap-hero-text, .gsap-gallery, .gsap-float-card, .gsap-fade-up, .gsap-service-card {
    visibility: hidden;
}

/* ==========================================================================
   Marquee Dynamic Ticker
   ========================================================================== */
.marquee-section {
    background: var(--grad-ribbon);
    padding: 22px 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    direction: ltr;
    box-shadow: 0 10px 30px -10px rgba(15, 61, 56, 0.3);
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 60px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-mist);
    padding-right: 60px;
}

.marquee-track span {
    transition: var(--trans-smooth);
    cursor: default;
}

.marquee-track span:hover {
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(127, 166, 142, 0.8);
}

.marquee-track .dot {
    color: var(--color-sand);
    font-size: 1.1rem;
    opacity: 0.7;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
    text-align: right;
    position: relative;
}

.section-eyebrow {
    display: inline-block;
    color: var(--color-teal);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 900;
    color: var(--color-forest);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    max-width: 680px;
    line-height: 1.8;
}

/* ==========================================================================
   Bento Grid: Services & Capabilities
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-lg);
    padding: 44px 38px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: var(--trans-smooth);
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--color-teal);
    background: #FFFFFF;
}

/* Asymmetrical Spans */
.bento-card.span-8 {
    grid-column: span 8;
}

.bento-card.span-4 {
    grid-column: span 4;
}

.bento-card.span-6 {
    grid-column: span 6;
}

.bento-card.span-12 {
    grid-column: span 12;
}

/* Dark Bento Accent Card */
.bento-card.card-dark {
    background: var(--grad-dark-card);
    border-color: var(--border-dark);
    color: var(--color-mist);
    box-shadow: var(--shadow-dark);
}

.bento-card.card-dark h3 {
    color: #FFFFFF;
}

.bento-card.card-dark p {
    color: rgba(232, 239, 234, 0.85);
}

.bento-card.card-dark .card-number {
    -webkit-text-stroke: 2px rgba(212, 199, 184, 0.15);
}

.bento-card.card-dark:hover .card-number {
    -webkit-text-stroke: 2px var(--color-sage);
    color: rgba(127, 166, 142, 0.08);
}

.bento-card.card-dark .tag-pill {
    background: rgba(232, 239, 234, 0.1);
    color: var(--color-mist);
    border: 1px solid rgba(212, 199, 184, 0.2);
}

/* Card Number Watermark */
.card-number {
    position: absolute;
    top: 14px;
    left: 24px;
    font-size: 7.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(15, 61, 56, 0.06);
    pointer-events: none;
    line-height: 1;
    transition: var(--trans-smooth);
    user-select: none;
}

.bento-card:hover .card-number {
    -webkit-text-stroke: 2px rgba(46, 111, 106, 0.3);
    color: rgba(46, 111, 106, 0.03);
    transform: scale(1.05) translateY(-3px);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.card-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(46, 111, 106, 0.1);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-smooth);
}

.bento-card:hover .card-icon-badge {
    background: var(--color-teal);
    color: #FFFFFF;
    transform: rotate(-6deg);
}

.card-dark .card-icon-badge {
    background: rgba(232, 239, 234, 0.12);
    color: var(--color-mist);
}

.bento-card.card-dark:hover .card-icon-badge {
    background: var(--color-sage);
    color: var(--color-forest);
}

.card-body {
    position: relative;
    z-index: 2;
}

.bento-card h3 {
    font-size: 1.55rem;
    margin-bottom: 14px;
    font-weight: 800;
    color: var(--color-forest);
    line-height: 1.4;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Card Tag List */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.tag-pill {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: rgba(46, 111, 106, 0.08);
    color: var(--color-teal);
    border: 1px solid rgba(46, 111, 106, 0.12);
}

/* ==========================================================================
   Engineering Workflow Process (4-Step Progression)
   ========================================================================== */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.workflow-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: var(--trans-smooth);
    box-shadow: var(--shadow-soft);
}

.workflow-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal);
    background: #FFFFFF;
    box-shadow: var(--shadow-elevated);
}

.workflow-step {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-teal);
    background: rgba(127, 166, 142, 0.18);
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}

.workflow-card h4 {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--color-forest);
    margin-bottom: 12px;
}

.workflow-card p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ==========================================================================
   Stats & Metrics Dashboard
   ========================================================================== */
.stats-section {
    padding-top: 40px;
    padding-bottom: 70px;
}

.stats-dashboard {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.stats-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-forest), var(--color-teal), var(--color-sage), var(--color-sand));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    direction: rtl;
}

.stat-item {
    padding: 16px 24px;
    transition: var(--trans-smooth);
}

.stat-item:not(:last-child) {
    border-left: 1px solid var(--border-soft);
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    direction: ltr;
    margin-bottom: 12px;
}

.stat-number {
    font-size: clamp(3.2rem, 4.5vw, 4.8rem);
    font-weight: 900;
    color: var(--color-forest);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}

.stat-prefix {
    color: var(--color-teal);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.stat-suffix {
    color: var(--color-sage);
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* ==========================================================================
   Call To Action (CTA) Section
   ========================================================================== */
.cta-section {
    padding-top: 50px;
    padding-bottom: 110px;
}

.cta-box {
    background: var(--grad-dark-card);
    border-radius: var(--radius-xl);
    padding: 85px 50px;
    text-align: center;
    color: var(--color-mist);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
    border: 1px solid var(--border-dark);
}

.cta-glow {
    position: absolute;
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(127, 166, 142, 0.3) 0%, transparent 65%);
    top: -30%;
    left: 15%;
    pointer-events: none;
    filter: blur(50px);
}

.cta-box h2 {
    font-size: clamp(2.2rem, 3.4vw, 3.4rem);
    margin-bottom: 20px;
    font-weight: 900;
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    line-height: 1.3;
}

.cta-box p {
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    color: var(--color-mist);
    margin-bottom: 40px;
    max-width: 620px;
    margin-inline: auto;
    position: relative;
    z-index: 2;
    line-height: 1.85;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    padding: 90px 0 45px;
    background: var(--color-forest);
    color: var(--color-mist);
    border-top: 1px solid var(--border-dark);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    font-weight: 900;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
    line-height: 1;
}

.footer-logo-img {
    height: 46px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: var(--trans-smooth);
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 1;
}

.footer-brand p {
    color: rgba(232, 239, 234, 0.75);
    line-height: 1.85;
    font-size: 0.95rem;
    max-width: 340px;
    margin-bottom: 20px;
}

.footer-coordinates {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-sand);
    background: rgba(212, 199, 184, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 199, 184, 0.2);
}

.footer-col h4 {
    font-size: 1.12rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    background: var(--color-sage);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col a {
    color: rgba(232, 239, 234, 0.75);
    font-size: 0.93rem;
}

.footer-col a:hover {
    color: var(--color-sand);
    padding-right: 6px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.93rem;
    color: rgba(232, 239, 234, 0.75);
}

.footer-contact-list a {
    color: var(--color-sand);
}

.footer-contact-list a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(212, 199, 184, 0.15);
    font-size: 0.88rem;
    color: rgba(232, 239, 234, 0.6);
}

.footer-bottom a {
    color: var(--color-sand);
}


/* ==========================================================================
   About Page & Team Bento Grid Styles
   Palette: #0F3D38, #2E6F6A, #7FA68E, #E8EFEA, #D4C7B8, #4A4A4A
   All comments strictly in English.
   ========================================================================== */
.about-hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 70px;
    text-align: center;
    overflow: hidden;
}

.about-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.about-hero-content .badge-pill {
    margin-bottom: 22px;
}

.about-hero h1 {
    font-size: clamp(2.3rem, 3.8vw, 4rem);
    font-weight: 900;
    color: var(--color-forest);
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.about-hero p {
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 36px;
}

.team-values-strip {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.team-value-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-forest);
}

.team-value-item .val-icon {
    color: var(--color-teal);
    display: flex;
    align-items: center;
}

/* Team Bento Grid */
.team-section {
    padding-top: 20px;
    padding-bottom: 110px;
}

.team-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* Team Card Base */
.team-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--trans-smooth);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-teal);
    background: #FFFFFF;
    box-shadow: var(--shadow-elevated);
}

.gsap-team-card {
    visibility: hidden;
}

/* Founder Cards (Top Row Spans) */
.team-card.founder-card {
    grid-column: span 6;
    padding: 46px 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 239, 234, 0.6) 100%);
    border: 1px solid rgba(212, 199, 184, 0.75);
    box-shadow: 0 16px 38px -12px rgba(15, 61, 56, 0.1);
}

.team-card.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-forest), var(--color-teal), var(--color-sage));
}

.team-card.founder-card:hover {
    box-shadow: var(--shadow-dark-card);
}

/* Standard Member Cards */
.team-card.span-4 {
    grid-column: span 4;
}

.team-card.span-6 {
    grid-column: span 6;
}

/* Card Header & Avatar */
.team-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.team-avatar-wrapper {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(212, 199, 184, 0.6);
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-teal) 100%);
    box-shadow: 0 6px 16px rgba(15, 61, 56, 0.12);
}

.founder-card .team-avatar-wrapper {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-teal);
}

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

.team-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-mist);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #0F3D38 0%, #2E6F6A 60%, #164641 100%);
    user-select: none;
}

.founder-card .team-avatar-fallback {
    font-size: 1.45rem;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0F3D38 0%, #2E6F6A 100%);
}

.team-header-meta {
    flex: 1;
}

.team-role-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(46, 111, 106, 0.1);
    color: var(--color-teal);
    border: 1px solid rgba(46, 111, 106, 0.18);
    margin-bottom: 8px;
}

.founder-badge {
    background: rgba(15, 61, 56, 0.08);
    color: var(--color-forest);
    border-color: rgba(212, 199, 184, 0.75);
    font-weight: 900;
}

.team-header-meta h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-forest);
    line-height: 1.3;
    margin-bottom: 2px;
}

.founder-card .team-header-meta h3 {
    font-size: 1.65rem;
}

.team-en-name {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: ltr;
    text-align: right;
}

/* Card Body & Description */
.team-card-body {
    margin-bottom: 24px;
    flex-grow: 1;
}

.team-card-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.founder-card .team-card-bio {
    font-size: 1.02rem;
    color: var(--color-charcoal);
}

/* Card Footer: Tags & Action Link */
.team-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
    position: relative;
    z-index: 2;
}

.team-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(212, 199, 184, 0.22);
    color: var(--color-forest);
    border: 1px solid rgba(212, 199, 184, 0.4);
}

.team-social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(46, 111, 106, 0.08);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-soft);
    flex-shrink: 0;
    transition: var(--trans-smooth);
}

.team-social-btn:hover {
    background: var(--color-teal);
    color: #FFFFFF;
    transform: translateY(-2px);
    border-color: var(--color-teal);
}

/* Active Nav Link Marker */
.nav-link.active {
    color: var(--color-forest);
}

.nav-link.active::after {
    width: 100%;
}


/* ==========================================================================
   Services Page & Sticky Split Layout
   Palette: #0F3D38, #2E6F6A, #7FA68E, #E8EFEA, #D4C7B8, #4A4A4A
   All comments strictly in English.
   ========================================================================== */
.services-hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 75px;
    text-align: center;
    overflow: hidden;
}

.services-hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.services-hero-content .badge-pill {
    margin-bottom: 22px;
}

.services-hero h1 {
    font-size: clamp(2.3rem, 3.8vw, 4rem);
    font-weight: 900;
    color: var(--color-forest);
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.services-hero p {
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 36px;
}

.services-values-strip {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.services-value-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-forest);
}

.services-value-item .val-icon {
    color: var(--color-teal);
    display: flex;
    align-items: center;
}

/* Sticky Split Section */
.services-sticky-section {
    padding-top: 30px;
    padding-bottom: 110px;
    position: relative;
}

.services-sticky-layout {
    display: grid;
    grid-template-columns: 4.8fr 7.2fr;
    gap: 48px;
    align-items: start;
    position: relative;
}

/* Sticky Sidebar (Right Side in RTL) */
.services-sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 105px;
    align-self: start;
    z-index: 30;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.services-sticky-sidebar .section-eyebrow {
    margin-bottom: 10px;
}

.services-sticky-sidebar h2 {
    font-size: clamp(1.8rem, 2.3vw, 2.6rem);
    font-weight: 900;
    color: var(--color-forest);
    line-height: 1.3;
    margin-bottom: 18px;
}

.services-sticky-sidebar p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 28px;
}

.sticky-nav-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}

.sticky-step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--color-charcoal);
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--trans-smooth);
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}

.sticky-step-item .step-num {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: rgba(46, 111, 106, 0.1);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.sticky-step-item:hover,
.sticky-step-item.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border-soft);
    color: var(--color-forest);
}

.sticky-step-item:hover .step-num,
.sticky-step-item.active .step-num {
    background: var(--color-teal);
    color: #FFFFFF;
}

/* Mobile Sticky Progress Indicator Base Styles (Hidden on Desktop) */
.services-mobile-progress {
    display: none;
    width: 100%;
}

.mobile-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(46, 111, 106, 0.12);
    position: relative;
    overflow: hidden;
}

.mobile-progress-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-sage) 100%);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.mobile-progress-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    gap: 12px;
}

.mobile-progress-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mobile-progress-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-teal);
    background: rgba(46, 111, 106, 0.1);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.mobile-active-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-forest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.25s ease;
}

.mobile-progress-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
    direction: ltr;
}

.mobile-counter-num {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--color-forest);
    line-height: 1;
}

.mobile-counter-divider {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mobile-counter-total {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Service Deep Cards Column */
.services-cards-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 100px; /* Provides ample track height so the sticky sidebar never gets pushed out of view */
}

.service-deep-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 48px 42px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: var(--trans-smooth);
    visibility: hidden;
}

.service-deep-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal);
    background: #FFFFFF;
    box-shadow: var(--shadow-elevated);
}

.service-deep-card.card-dark-accent {
    background: var(--grad-dark-card);
    border-color: var(--border-dark);
    color: var(--color-mist);
    box-shadow: var(--shadow-dark);
}

.service-deep-card.card-dark-accent h3 {
    color: #FFFFFF;
}

.service-deep-card.card-dark-accent .service-headline {
    color: var(--color-sand);
}

.service-deep-card.card-dark-accent p {
    color: rgba(232, 239, 234, 0.85);
}

.service-deep-card.card-dark-accent .card-number {
    -webkit-text-stroke: 2px rgba(212, 199, 184, 0.15);
}

.service-deep-card.card-dark-accent:hover .card-number {
    -webkit-text-stroke: 2px var(--color-sage);
    color: rgba(127, 166, 142, 0.08);
}

.service-deep-card.card-dark-accent .service-feature-item {
    color: rgba(232, 239, 234, 0.9);
}

.service-deep-card.card-dark-accent .feature-check {
    background: rgba(127, 166, 142, 0.2);
    color: var(--color-sage);
}

.service-deep-card.card-dark-accent .tag-pill {
    background: rgba(232, 239, 234, 0.1);
    color: var(--color-mist);
    border-color: rgba(212, 199, 184, 0.2);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.service-icon-box {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: rgba(46, 111, 106, 0.1);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-smooth);
}

.service-deep-card:hover .service-icon-box {
    background: var(--color-teal);
    color: #FFFFFF;
    transform: rotate(-6deg);
}

.card-dark-accent .service-icon-box {
    background: rgba(232, 239, 234, 0.12);
    color: var(--color-mist);
}

.card-dark-accent:hover .service-icon-box {
    background: var(--color-sage);
    color: var(--color-forest);
}

.service-card-body {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
}

.service-en-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-teal);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: ltr;
    text-align: right;
}

.card-dark-accent .service-en-title {
    color: var(--color-sage);
}

.service-deep-card h3 {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--color-forest);
    line-height: 1.35;
    margin-bottom: 10px;
}

.service-headline {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-deep-card p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 24px;
}

/* Feature Checklists */
.service-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-forest);
    line-height: 1.6;
}

.feature-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(46, 111, 106, 0.12);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
    position: relative;
    z-index: 2;
}
