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

:root {
    --bg:           #f4f1ec;
    --white:        #ffffff;
    --dark:         #162540;
    --dark-2:       #1e3258;
    --text:         #1a2840;
    --text-muted:   #6b7a8d;
    --text-light:   #c8d8f0;
    --accent:       #e87200;
    --accent-hover: #d06500;
    --accent-light: rgba(232,114,0,0.08);
    --accent-border:rgba(232,114,0,0.28);
    --border:       #e2ddd6;
    --steel:        #2c4a6e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ========================
   HEADER
   ======================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(244,241,236,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 13px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--border);
}

.nav-link.active {
    color: var(--accent);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 7px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232,114,0,0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

/* ========================
   HERO
   ======================== */
.hero {
    background: var(--dark);
    padding: 148px 0 130px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal stripe decoration */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -120px;
    width: 480px;
    height: 480px;
    border: 60px solid rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 80px;
    width: 240px;
    height: 240px;
    border: 40px solid rgba(232,114,0,0.07);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 22px;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 520px;
    opacity: 0.85;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.1px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,114,0,0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,114,0,0.4);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
}

/* ========================
   STATS BAND
   ======================== */
.stats-band {
    background: var(--accent);
    padding: 0;
    margin-top: -2px;
}

.stats-band .container {
    display: flex;
}

.stat-cell {
    flex: 1;
    padding: 36px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.18);
}

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

.stat-num {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}

.stat-lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ========================
   ABOUT
   ======================== */
.about {
    padding: 110px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent);
}

.about-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.about-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 14px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 22px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.25s;
    border-radius: 0 2px 2px 0;
}

.feature-box:hover::before {
    transform: scaleY(1);
}

.feature-box:hover {
    border-color: var(--accent-border);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.feature-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.feature-box p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================
   SERVICES
   ======================== */
.services {
    padding: 100px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.section-header {
    margin-bottom: 56px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    line-height: 1.15;
}

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px 24px;
    transition: all 0.25s;
    position: relative;
}

.service-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.7;
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
    transition: background 0.25s;
}

.service-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.09);
}

.service-card:hover .service-icon-wrap {
    background: rgba(232,114,0,0.14);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: -0.2px;
}

.service-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ========================
   ADVANTAGES
   ======================== */
.advantages {
    padding: 100px 0;
    background: var(--dark);
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
    margin: -1px 0;
}

.advantages .section-label { color: var(--accent); }
.advantages .section-label::before { background: var(--accent); }

.advantages .section-title {
    color: #fff;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 56px;
}

.adv-item {
    background: var(--dark);
    padding: 44px 36px;
    transition: background 0.25s;
}

.adv-item:hover {
    background: var(--dark-2);
}

.adv-num {
    font-size: 44px;
    font-weight: 900;
    color: rgba(232,114,0,0.25);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 18px;
    transition: color 0.25s;
}

.adv-item:hover .adv-num {
    color: rgba(232,114,0,0.45);
}

.adv-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.adv-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0.75;
}

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.cta-inner h2 span {
    color: var(--accent);
}

.cta-inner p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: var(--dark);
    padding: 56px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 28px;
}

.footer-brand .logo-name {
    color: #fff;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 12px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}

.footer-col p,
.footer-col address {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    font-style: normal;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-list a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .adv-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
        padding: 130px 0 100px;
    }
    .advantages {
        clip-path: none;
    }
    .stats-band .container {
        flex-wrap: wrap;
    }
    .stat-cell {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.18);
    }
    .stat-cell:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.18);
    }
    .stat-cell:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .nav { display: none; }
    .nav-cta { display: none; }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--bg);
        padding: 100px 28px 28px;
        gap: 6px;
        z-index: 99;
    }

    .nav.open .nav-link {
        font-size: 20px;
        padding: 12px 16px;
        color: var(--text);
    }

    .nav-toggle { display: flex; z-index: 101; }

    .hero-title {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
