/* =========================================
       BASE & RESET
    ========================================== */
    :root{
        --bg:#f7f5f1;
        --ink:#1a1a2e;
        --gray:#2d2d44;
        --gray-light:#c9c6c0;
        --amber:#c98516;
        --amber-dark:#a5762b;
        --line:#e1ded6;
    }
    *{box-sizing:border-box;margin:0;padding:0;}
    body{
        font-family:'Inter',Arial,sans-serif;
        background:var(--bg);
        color:var(--ink);
        -webkit-font-smoothing:antialiased;
    }
    [dir="rtl"] {
        text-align: right;
    }
    [dir="rtl"] .hero .rule {
        margin-left: 0;
        margin-right: 0;
    }
    [dir="rtl"] .cta svg {
        transform: rotate(180deg);
    }
    [dir="rtl"] .cta:hover svg {
        transform: rotate(180deg) translateX(4px);
    }
    [dir="rtl"] .stat-panel {
        right: auto;
        left: 24px;
    }

    /* =========================================
       NAVBAR
    ========================================== */
    .navbar {
        height: 58px;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1000;
    }
    .nav-container {
        width: 100%;
        height: 100%;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1400px;
        margin: 0 auto;
    }
    .logo {
        display: flex;
        align-items: center;
        width: 170px;
        min-width: 170px;
        height: 100%;
        text-decoration: none;
    }
    .corexion-logo {
        display: block;
        width: 230px;
        height: 75px;
        object-fit: contain;
        object-position: left center;
    }
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 36px;
        list-style: none;
    }
    .nav-menu > li { position: relative; }
    .nav-menu a {
        position: relative;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .5px;
        color: #1a1a2e;
        display: inline-block;
        padding-bottom: 4px;
        text-decoration: none;
    }
    .nav-menu a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 0;
        height: 2px;
        background: var(--amber);
        transition: .25s;
    }
    .nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
    .nav-menu a.active { color: var(--amber); }
    .nav-menu a:hover { color: var(--amber); }
    .dropdown-toggle { cursor: pointer; user-select: none; }
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 180px;
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
        border-radius: 4px;
        padding: 8px 0;
        z-index: 200;
        margin-top: 6px;
    }
    .dropdown-menu.open { display: block; }
    .dropdown-menu li { list-style: none; padding: 0; border-bottom: none; }
    .dropdown-menu a {
        display: block;
        padding: 8px 18px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .3px;
        color: #1a1a2e;
        transition: background .2s, color .2s;
    }
    .dropdown-menu a:hover { background: #f5f5f5; color: var(--amber); }
    .dropdown-menu a::after { display: none; }
    .dropdown-menu.wide { min-width: 200px; }

    .menu-button {
        display: none;
        background: none;
        border: 0;
        cursor: pointer;
        width: 34px;
        height: 34px;
        position: relative;
        z-index: 1200;
    }
    .menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        margin: 5px auto;
        background: #1a1a2e;
        transition: transform .28s ease, opacity .2s ease, background .2s ease;
    }
    .menu-button.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-button.active span:nth-child(2) { opacity: 0; }
    .menu-button.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: 70px;
        background: rgba(0,0,0,.35);
        z-index: 900;
        opacity: 0;
        transition: opacity .25s ease;
    }
    .nav-overlay.active { display: block; opacity: 1; }

    /* =========================================
       PAGE CONTENT
    ========================================== */
    .page-content {
        max-width: 1400px;
        margin: 0 auto;
        background: var(--bg);
    }
    .top-section {
        display: grid;
        grid-template-columns: 33% 1fr;
    }
    .hero {
        padding: 44px 40px 40px 48px;
        border-right: 1px solid var(--line);
    }
    .eyebrow {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .14em;
        color: var(--amber);
        text-transform: uppercase;
        margin-bottom: 26px;
    }
    .eyebrow .sep { color: var(--gray-light); margin: 0 6px; font-weight: 400; }
    .eyebrow .plain { color: var(--gray); }
    h1 {
        font-size: 48px;
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: -0.01em;
        color: #1a1a2e;
        margin-bottom: 22px;
    }
    .rule { width: 46px; height: 3px; background: var(--amber); margin-bottom: 22px; }
    .hero p {
        font-size: 17px;
        line-height: 1.55;
        color: var(--gray);
        max-width: 230px;
        margin-bottom: 26px;
    }
    .cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .02em;
        color: var(--amber-dark);
        text-decoration: none;
    }
    .cta svg { transition: transform .2s ease; }
    .cta:hover svg { transform: translateX(4px); }
    .cta:hover { color: var(--amber); }

    .photo-wrap{
        position:relative;
        overflow:hidden;
        background:linear-gradient(200deg,#e7c58a 0%,#d6a862 18%,#9aa0a3 45%,#6c7276 70%,#4a4f52 100%);
        min-height:100%;
    }
    .photo-wrap img{
        width:100%;
        height:100%;
        display:block;
        object-fit:cover;
    }

    .stat-panel{
        position:absolute;
        top:24px;
        right:24px;
        width:240px;
        background:rgba(28,30,32,0.72);
        backdrop-filter:blur(3px);
        border-radius:4px;
        padding:20px 20px 22px 20px;
    }
    .stat-title{
        font-size:11px;
        font-weight:700;
        letter-spacing:.12em;
        color:#e9e5da;
        text-transform:uppercase;
        margin-bottom:16px;
    }
    .stat-row{
        display:flex;
        align-items:center;
        gap:10px;
        margin-bottom:14px;
    }
    .stat-row:last-child{ margin-bottom:0; }
    .stat-icon{
        width:24px;
        height:24px;
        flex-shrink:0;
        display:flex;
        align-items:center;
        justify-content:center;
    }
    .stat-icon svg{ width:18px; height:18px; }
    .stat-body{ flex:1; min-width:0; }
    .stat-label{
        font-size:11px;
        font-weight:600;
        letter-spacing:.05em;
        color:#e9e5da;
        text-transform:uppercase;
        margin-bottom:6px;
    }
    .stat-bar{
        height:2.5px;
        background:#ffffff26;
        border-radius:2px;
        overflow:hidden;
    }
    .stat-bar span{
        display:block;
        height:100%;
        background:var(--amber);
        border-radius:2px;
    }

    .features{
        display:grid;
        grid-template-columns:repeat(5,1fr);
        border-top:1px solid var(--line);
    }
    .feature{
        padding:42px 28px;
        border-right:1px solid var(--line);
    }
    .feature:last-child{ border-right:none; }
    .feature-icon{
        width:58px;
        height:58px;
        border-radius:50%;
        border:1.4px solid var(--amber);
        display:flex;
        align-items:center;
        justify-content:center;
        margin-bottom:20px;
    }
    .feature-icon svg{ width:28px; height:28px; }
    .feature h3{
        font-size:15px;
        font-weight:800;
        letter-spacing:.02em;
        text-transform:uppercase;
        margin-bottom:8px;
        color:#1a1a2e;
        line-height:1.3;
    }
    .feature .mini-rule{ width:22px; height:2px; background:var(--amber); margin-bottom:12px; }
    .feature p{
        font-size:14px;
        line-height:1.6;
        color:var(--gray);
        max-width:200px;
    }

    /* =========================================
       FOOTER
    ========================================== */
    .footer {
        background: #17181a;
        color: white;
        padding: 85px 85px 85px;
    }
    .footer-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-logo-img {
        width: 180px;
        height: auto;
        display: block;
        object-fit: contain;
    }
    .footer-right {
        display: flex;
        align-items: flex-start;
    }
    .footer-links-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px 70px;
    }
    .footer-links-grid a {
        color: #bcbcbc;
        font-size: 14px;
        text-decoration: none;
        transition: color 0.25s ease;
        font-weight: 500;
        white-space: nowrap;
    }
    .footer-links-grid a:hover {
        color: white;
    }
    .footer-bottom {
        max-width: 1400px;
        margin: 18px auto 0;
        display: flex;
        justify-content: space-between;
        color: #777777;
        font-size: 12px;
    }

    /* =========================================
       RESPONSIVE
    ========================================== */
    @media (max-width: 1100px) {
        .logo { width: 220px; min-width: 170px; }
        .corexion-logo { width: 220px; height: 75px; }
        .nav-menu { gap: 20px; }
        .feature { padding: 22px 16px; }
        .feature h3 { font-size: 13px; }
        .feature p { font-size: 12px; }
        .stat-panel { width: 200px; }
    }
    @media (max-width: 980px) {
        .top-section { grid-template-columns: 1fr; }
        .hero { border-right: none; border-bottom: 1px solid var(--line); }
        .photo-wrap { min-height: 280px; }
        .stat-panel { width: 210px; }
        .features { grid-template-columns: 1fr 1fr; }
        .feature { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    }
    @media (max-width: 850px) {
        .navbar { height: 70px; }
        .nav-container { padding: 0 20px; }
        .logo { width: 220px; min-width: 150px; }
        .corexion-logo { width: 220px; height: 75px; }
        .nav-menu {
            position: fixed;
            top: 70px;
            right: 0;
            left: auto;
            width: min(78%, 340px);
            max-width: 340px;
            height: calc(100vh - 70px);
            background: #fff;
            flex-direction: column;
            align-items: stretch;
            padding: 10px 0 30px;
            gap: 0;
            transform: translateX(100%);
            transition: transform .3s ease;
            overflow-y: auto;
            box-shadow: -6px 0 24px rgba(0,0,0,.12);
            z-index: 950;
        }
        .nav-menu.active { transform: translateX(0); }
        .nav-menu > li {
            width: 100%;
            padding: 0;
            border-bottom: 1px solid #eee;
            display: block;
        }
        .nav-menu > li > a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 16px 25px;
            font-size: 13px;
            letter-spacing: .8px;
            color: #1a1a2e;
        }
        .nav-menu > li > a::after { display: none; }
        .nav-menu > li > a.active { background: #faf6ee; }
        .nav-menu .dropdown-toggle::before {
            content: "";
            width: 8px;
            height: 8px;
            border-right: 1.6px solid #999;
            border-bottom: 1.6px solid #999;
            transform: rotate(45deg);
            transition: transform .25s ease, border-color .25s ease;
            margin-left: 10px;
            flex-shrink: 0;
        }
        .nav-menu .dropdown-toggle.open::before {
            transform: rotate(-135deg);
            border-color: var(--amber);
        }
        .nav-menu .dropdown-menu {
            position: static;
            box-shadow: none;
            padding: 0;
            margin: 0;
            border-radius: 0;
            background: #faf8f4;
            display: none;
            max-height: 0;
            overflow: hidden;
            transition: max-height .3s ease;
        }
        .nav-menu .dropdown-menu.open {
            display: block;
            max-height: 600px;
        }
        .nav-menu .dropdown-menu li { padding: 0; border-bottom: 1px solid #efece4; }
        .nav-menu .dropdown-menu li:last-child { border-bottom: none; }
        .nav-menu .dropdown-menu a {
            padding: 12px 25px 12px 38px;
            font-size: 12px;
            font-weight: 600;
            color: #1a1a2e;
            position: relative;
        }
        .nav-menu .dropdown-menu a::before {
            content: "–";
            position: absolute;
            left: 25px;
            color: var(--amber);
        }
        .nav-menu .dropdown-menu a:hover,
        .nav-menu .dropdown-menu a.active { color: var(--amber); background: #f3ecdd; }
        body.nav-open { overflow: hidden; }
        .menu-button { display: block; }

        .footer {
            padding: 40px 25px 20px;
        }
        .footer-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 24px;
        }
        .footer-links-grid {
            gap: 10px 30px;
        }
        .footer-bottom {
            flex-direction: column;
            gap: 8px;
            text-align: center;
        }
        h1 {
            font-size: 38px;
        }
    }
    @media (max-width: 768px) {
        .features { grid-template-columns: 1fr; }
        .feature { border-right: none; }
        .hero p { max-width: 100%; }
        .stat-panel { width: 190px; }
        .stat-title { font-size: 10px; }
        .stat-label { font-size: 10px; }
    }
    @media (max-width: 500px) {
        .logo { width: 140px; min-width: 140px; }
        .corexion-logo { width: 140px; height: 29px; }
        .footer-links-grid {
            grid-template-columns: 1fr 1fr;
            gap: 8px 20px;
        }
        .footer-links-grid a {
            font-size: 10px;
        }
        .footer-logo-img {
            width: 140px;
        }
        h1 {
            font-size: 32px;
        }
        .hero p {
            font-size: 15px;
        }
        .eyebrow {
            font-size: 11px;
        }
        .feature h3 {
            font-size: 14px;
        }
        .feature p {
            font-size: 13px;
        }
        .stat-panel {
            width: 170px;
            padding: 14px 14px 16px 14px;
            top: 12px;
            right: 12px;
        }
        .stat-title {
            font-size: 9px;
        }
        .stat-label {
            font-size: 9px;
        }
        .stat-icon svg {
            width: 14px;
            height: 14px;
        }
    }
