/* ============================================================
   style.css — ㈜온스펙 Homepage Styles
   Color theme derived from res/logo.png:
     Charcoal  #3C3C3C  (logo text)
     Sage-green #A5C378  (logo accent)
   ============================================================ */

/* ── Variables ──────────────────────────────────────────── */
:root {
    --primary: #1E2B3A; /* dark navy-charcoal header */
    --primary-light: #2C3E52;
    --accent: #6BA832; /* vivid green from logo */
    --accent-dark: #527A22;
    --accent-light: #A5C378; /* logo sage-green, tints */
    --text: #2D2D2D;
    --text-mid: #555555;
    --text-light: #888888;
    --bg: #F5F7F4;
    --bg-white: #FFFFFF;
    --bg-alt: #EDF2E8;
    --border: #BCD4A0; /* was #D4E4BC — darkened for better contrast */
    --border-strong: #A8C888; /* softened — replaces hard border lines with shadow glow on key elements */
    --header-h: 72px;
    --subnav-h: 52px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
    --shadow-green: 0 8px 28px rgba(107,168,50,0.14);
    --transition: 0.22s ease;
}

/* ── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--subnav-h));
}

body {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ── Header ─────────────────────────────────────────────── */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border-strong), 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow var(--transition);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 28px;
}

/* Logo */
.logo {
    flex: 0 0 auto;
}

    .logo a {
        display: block;
    }

    .logo img {
        height: 44px;
        width: auto;
    }

/* Desktop nav */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

    .main-nav > ul {
        list-style: none;
        display: flex;
        gap: 4px;
    }

        .main-nav > ul > li {
            position: relative;
        }

            .main-nav > ul > li > a {
                display: block;
                position: relative;
                padding: 10px 28px;
                color: var(--primary);
                font-size: 15px;
                font-weight: 600;
                border-radius: 4px;
                transition: color var(--transition);
            }

                .main-nav > ul > li > a::after {
                    content: '';
                    position: absolute;
                    bottom: 4px;
                    left: 28px;
                    right: 28px;
                    height: 2px;
                    background: var(--accent);
                    border-radius: 2px;
                    transform: scaleX(0);
                    transform-origin: center;
                    transition: transform 0.22s ease;
                }

                .main-nav > ul > li > a:hover {
                    color: var(--accent);
                }

                    .main-nav > ul > li > a:hover::after {
                        transform: scaleX(1);
                    }

/* Dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(107,168,50,0.08);
    list-style: none;
    min-width: 148px;
    overflow: hidden;
    z-index: 1100;
    padding-top: 6px;
}

.has-dropdown:hover .dropdown {
    display: block;
}
/* Invisible bridge over the gap so the mouse can reach the dropdown */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 6px;
    z-index: 1090;
}

.dropdown li a {
    display: block;
    padding: 11px 20px;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

    .dropdown li a:hover {
        background: var(--bg-alt);
        color: var(--accent);
    }

/* Hamburger button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary);
        border-radius: 2px;
        transition: all 0.28s;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

/* Language select dropdown */
.lang-select {
    position: relative;
    margin-left: 12px;
    flex-shrink: 0;
}

.lang-select__btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

    .lang-select__btn:hover,
    .lang-select.open .lang-select__btn {
        background: var(--bg-alt);
        border-color: var(--accent);
        color: var(--accent);
    }

.lang-select__arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s;
}

.lang-select.open .lang-select__arrow {
    transform: rotate(180deg);
}

.lang-select__menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(107,168,50,0.08);
    list-style: none;
    min-width: 110px;
    overflow: hidden;
    z-index: 1200;
    padding: 4px 0;
}

.lang-select.open .lang-select__menu {
    display: block;
}

.lang-select__item {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

    .lang-select__item:hover {
        background: var(--bg-alt);
        color: var(--accent);
    }

    .lang-select__item.active {
        color: var(--accent);
        font-weight: 700;
    }

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    inset: var(--header-h) 0 0 0;
    background: var(--bg-alt);
    z-index: 999;
    overflow-y: auto;
}

    .mobile-nav.open {
        display: block;
    }

    .mobile-nav ul {
        list-style: none;
    }

    .mobile-nav > ul > li > a {
        display: block;
        padding: 15px 28px;
        color: var(--text-mid);
        font-size: 16px;
        font-weight: 500;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

.mobile-sub li a {
    display: block;
    padding: 13px 48px;
    color: var(--text-mid);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.65);
    border-left: 3px solid transparent;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
}

    .mobile-sub li a:hover,
    .mobile-sub li a.active {
        color: var(--accent);
        background: var(--bg-alt);
        border-left-color: var(--accent);
    }

/* ── Page body offset ───────────────────────────────────── */
.page-body {
    padding-top: var(--header-h);
}

/* ── Sub-navigation (about & business pages) ────────────── */
.sub-nav {
    position: sticky;
    top: var(--header-h);
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: none;
    box-shadow: 0 2px 0 rgba(107,168,50,0.18), 0 4px 16px rgba(0,0,0,0.07);
    z-index: 100;
    overflow-x: auto;
    white-space: nowrap;
}

    .sub-nav ul {
        list-style: none;
        display: flex;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }

        .sub-nav ul li a {
            display: block;
            padding: 14px 22px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-mid);
            border-bottom: 3px solid transparent;
            transition: color 0.18s, border-color 0.18s;
        }

            .sub-nav ul li a:hover {
                color: var(--accent);
                border-bottom-color: var(--accent);
            }

            .sub-nav ul li a.active {
                color: var(--accent);
                border-bottom-color: var(--accent);
            }

/* ── Hero (index.html) ──────────────────────────────────── */
/* Background: dark gradient ensures WCAG AA contrast (all stops >12:1 against white) */
.hero {
    position: relative;
    background: linear-gradient(140deg, #0a1810 0%, #162038 50%, #1a3218 100%);
    color: #fff;
    padding: 130px 24px 108px;
    text-align: center;
    overflow: hidden;
}

    /* Tech grid pattern overlay */
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(107,168,50,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(107,168,50,0.07) 1px, transparent 1px);
        background-size: 64px 64px;
        z-index: 0;
        pointer-events: none;
    }



@media (prefers-reduced-motion: reduce) {
    .hero::after,
    .hero-badge::before {
        animation: none;
    }
}

/* Diffuse soft-glow area sweeping top → bottom */
.hero::after {
    content: '';
    position: absolute;
    left: -20%;
    right: -20%;
    top: -320px;
    height: 320px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(107, 168, 50, 0.10) 25%,
        rgba(165, 195, 120, 0.20) 50%,
        rgba(107, 168, 50, 0.10) 75%,
        transparent 100%
    );
    filter: blur(80px);
    animation: scanBeam 8s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes scanBeam {
    0% {
        top: -320px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: calc(100%);
        opacity: 0;
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.75);
    }
}

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

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(107,168,50,0.14);
    border: 1px solid rgba(107,168,50,0.30);
    color: var(--accent-light);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 26px;
}

    .hero-badge::before {
        content: '';
        flex-shrink: 0;
        width: 6px;
        height: 6px;
        background: var(--accent);
        border-radius: 50%;
        animation: pulse-dot 2s ease-in-out infinite;
    }

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

    .hero h1 em {
        font-style: normal;
        color: var(--accent-light); /* fallback for browsers without background-clip: text */
    }

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .hero h1 em {
        background: linear-gradient(90deg, var(--accent-light), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.hero p {
    font-size: 17px;
    line-height: 1.78;
    color: rgba(255,255,255,0.86);
    margin-bottom: 44px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 14px 38px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(107,168,50,0.35);
    transition: transform var(--transition), box-shadow var(--transition);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(107,168,50,0.45);
    }

.btn-outline {
    display: inline-block;
    padding: 12px 36px;
    border: 2px solid rgba(255,255,255,0.55);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

    .btn-outline:hover {
        background: rgba(255,255,255,0.12);
        border-color: #fff;
        transform: translateY(-2px);
    }

/* ── Stats bar (index.html) ─────────────────────────────── */
.stats-section {
    background: var(--bg-white);
    /* soft gradient bottom border instead of hard line */
    border-bottom: none;
    box-shadow: 0 1px 0 0 rgba(107,168,50,0.22), 0 2px 8px rgba(107,168,50,0.06);
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    gap: 6px;
    /* soft gradient divider instead of hard line */
    border-right: none;
    box-shadow: inset -1px 0 0 0 transparent;
    background-image: linear-gradient(to right, transparent calc(100% - 1px), rgba(107,168,50,0.20) 100%);
    transition: background var(--transition);
}

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

    .stat-item:hover {
        background: var(--bg-alt);
    }

.stat-num {
    font-size: 38px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.03em;
}

    .stat-num .stat-unit {
        font-size: 18px;
        font-weight: 700;
        color: var(--accent-dark);
        vertical-align: middle;
    }

.stat-label {
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ── Overview cards (index.html) ────────────────────────── */
.overview {
    max-width: 1280px;
    margin: 0 auto;
    padding: 76px 28px 88px;
}

.overview-title {
    text-align: center;
    margin-bottom: 52px;
}

    .overview-title .section-tag {
        display: block;
        background: none;
        color: var(--accent-dark);
        font-size: 38px;
        font-weight: 800;
        letter-spacing: -0.025em;
        text-transform: none;
        padding: 0;
        border-radius: 0;
        margin-bottom: 12px;
        border: none;
        cursor: default;
    }

    .overview-title h2 {
        font-size: 32px;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: -0.025em;
        margin-bottom: 10px;
    }

    .overview-title p {
        font-size: 16px;
        color: var(--text-mid);
    }

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
    gap: 24px;
}

.overview-card {
    position: relative;
    display: block;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 32px 24px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

    /* Top gradient accent bar */
    .overview-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.30s ease;
        border-radius: 12px 12px 0 0;
    }

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

    .overview-card:hover {
        box-shadow: var(--shadow-green), var(--shadow-md);
        transform: translateY(-4px);
        border-color: var(--border-strong);
    }

.card-num {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    opacity: 0.75;
}

.overview-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-strong);
}

.overview-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.22s, transform 0.22s;
}

    .card-arrow::after {
        content: '→';
        font-size: 13px;
    }

.overview-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Page sections (about & business) ──────────────────── */
.page-section {
    padding: 72px 0;
    /* soft glow divider replacing hard border */
    border-bottom: none;
    box-shadow: 0 1px 0 rgba(107,168,50,0.18), 0 2px 10px rgba(107,168,50,0.05);
    scroll-margin-top: calc(var(--header-h) + var(--subnav-h));
}

    .page-section:last-child {
        border-bottom: none;
    }

    .page-section:nth-child(even) {
        background: var(--bg-alt);
    }

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 18px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 52px;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), var(--accent-light), transparent);
        border-radius: 2px;
    }

    .section-title h2 {
        font-size: 26px;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: -0.02em;
    }

/* Company Overview */
.profile-intro {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 32px;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-alt) 100%);
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow-sm);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-info-row {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-strong);
    font-size: 15px;
}

    .profile-info-row:last-child {
        border-bottom: none;
    }

    .profile-info-row .label {
        font-weight: 600;
        color: var(--primary);
        min-width: 120px;
        flex: 0 0 auto;
    }

    .profile-info-row .value {
        color: var(--text-mid);
    }

/* Org Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0 16px;
}

.org-root {
    position: relative;
    padding-bottom: 40px;
}

    .org-root::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 40px;
        background: var(--accent);
        box-shadow: 0 0 8px rgba(107,168,50,0.55);
    }

.org-root-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 16px 56px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.org-branches {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.org-branch {
    flex: 1;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

    /* Horizontal connector */
    .org-branch::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--accent);
        box-shadow: 0 0 6px rgba(107,168,50,0.50);
    }

    .org-branch:first-child::before {
        left: 50%;
    }

    .org-branch:last-child::before {
        right: 50%;
    }

    /* Vertical drop connector */
    .org-branch::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 40px;
        background: var(--accent);
        box-shadow: 0 0 8px rgba(107,168,50,0.55);
    }

.org-box {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(107,168,50,0.45);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 16px rgba(107,168,50,0.10), 0 1px 4px rgba(0,0,0,0.07);
    transition: box-shadow 0.22s, transform 0.22s;
}

    .org-box:hover {
        box-shadow: 0 8px 28px rgba(107,168,50,0.28), 0 2px 8px rgba(0,0,0,0.10);
    }

/* Location / Map */
#map-container {
    width: 100%;
    height: 440px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: 0 2px 14px rgba(0,0,0,0.09), 0 0 0 4px rgba(107,168,50,0.05);
}

.map-address {
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-mid);
}

/* Contact */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 18px 24px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 1px 5px rgba(0,0,0,0.04), 0 0 0 3px rgba(107,168,50,0.04);
    transition: box-shadow 0.22s;
}

    .contact-item:hover {
        box-shadow: 0 6px 24px rgba(107,168,50,0.22), 0 2px 8px rgba(0,0,0,0.08);
    }

.contact-label {
    font-weight: 600;
    color: var(--primary);
    min-width: 72px;
    font-size: 15px;
}

.contact-value {
    color: var(--text-mid);
    font-size: 15px;
}

.contact-email {
    color: var(--accent-dark);
    transition: color 0.18s;
}

    .contact-email:hover {
        color: var(--accent);
    }

/* ── Business sections ──────────────────────────────────── */
.biz-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
}

    .biz-content.reverse {
        direction: rtl;
    }

        .biz-content.reverse > * {
            direction: ltr;
        }

.biz-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .biz-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 50%, rgba(10,24,16,0.45) 100%);
        opacity: 0;
        transition: opacity 0.35s;
    }

    .biz-image:hover::after {
        opacity: 1;
    }

    .biz-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

    .biz-image:hover img {
        transform: scale(1.04);
    }

.biz-detail h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-strong);
}

    .biz-detail h3:not(:first-child) {
        margin-top: 22px;
    }

.biz-list {
    list-style: none;
    margin-bottom: 6px;
}

    .biz-list li {
        position: relative;
        padding: 7px 0 7px 16px;
        font-size: 14px;
        color: var(--text-mid);
        border-bottom: 1px dashed var(--border-strong);
        line-height: 1.6;
    }

        .biz-list li:last-child {
            border-bottom: none;
        }

        .biz-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--accent);
        }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    position: relative;
    background: var(--primary);
    color: rgba(255,255,255,0.60);
    text-align: center;
    padding: 48px 24px 40px;
    font-size: 13px;
    line-height: 1.9;
}

    .site-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 140px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    .site-footer .footer-copy {
        margin-top: 12px;
        color: rgba(255,255,255,0.35);
        font-size: 12px;
    }

/* ── Responsive – Tablet (≤1024px) ─────────────────────── */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }

    .biz-content {
        grid-template-columns: 1fr;
    }

        .biz-content.reverse {
            direction: ltr;
        }

    .biz-image img {
        height: 240px;
    }
}

/* ── Responsive – Mobile (≤768px) ──────────────────────── */
@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 36px;
    }

    .hero {
        padding: 88px 20px 72px;
    }

        .hero h1 {
            font-size: 27px;
        }

        .hero p {
            font-size: 14.5px;
        }

    .hero-badge {
        font-size: 11.5px;
    }

    .stats-inner {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 0 0 50%;
        background-image: none;
        border-right: none;
        border-bottom: 1px solid var(--border-strong);
        padding: 22px 16px;
    }

        .stat-item:nth-child(odd) {
            border-right: 1px solid var(--border-strong);
        }

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

    .stat-num {
        font-size: 30px;
    }

    .overview {
        padding: 48px 20px 60px;
    }

    .overview-title .section-tag {
        font-size: 28px;
    }

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

    .section-inner {
        padding: 0 18px;
    }

    .page-section {
        padding: 48px 0;
    }

    .section-title h2 {
        font-size: 21px;
    }

    .profile-intro {
        font-size: 14px;
        padding: 16px 18px;
    }

    .profile-info-row {
        flex-direction: column;
        gap: 3px;
    }

    /* Org Chart – keep single-row tree, scale down for mobile */
    .org-chart {
        overflow-x: auto;
        align-items: flex-start;
        padding: 16px 0;
    }

        .org-chart > * {
            min-width: max-content;
            margin: 0 auto;
        }

    .org-root {
        padding-bottom: 24px;
    }

        .org-root::after {
            height: 24px;
        }

    .org-root-box {
        padding: 10px 22px;
        font-size: 14px;
    }

    .org-branches {
        max-width: none;
    }

    .org-branch {
        padding-top: 24px;
    }

        .org-branch::after {
            height: 24px;
        }

    .org-box {
        padding: 8px 11px;
        font-size: 12px;
    }

    #map-container {
        height: 300px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 14px 16px;
    }

    .biz-image img {
        height: 200px;
    }
    
    .card-arrow {
        opacity: 1;
        transform: translateX(0);
    }

    .sub-nav ul {
        padding: 0 12px;
    }

        .sub-nav ul li a {
            padding: 12px 14px;
            font-size: 13px;
        }
}
