/* ── VARIABLES ── */
:root {
    --bg:       #090e1a;
    --bg2:      #0f172a;
    --surface:  #1a2438;
    --surface2: #1e293b;
    --border:   rgba(255,255,255,0.07);
    --border2:  rgba(255,255,255,0.13);
    --accent:   #3b82f6;
    --accent-d: #2563eb;
    --glow:     rgba(59,130,246,0.10);
    --text:     #f1f5f9;
    --text2:    #94a3b8;
    --text3:    #64748b;
    --display:  'Inter', system-ui, sans-serif;
    --sans:     'Inter', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── BASE ── */
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
.label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}
h1 {
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 16px;
}
h1 em { font-style: normal; color: var(--accent); }
h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 16px;
}
h2 em { font-style: normal; color: var(--accent); }
h3 {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text2);
}

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
section[id] { scroll-margin-top: 86px; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.18s;
    text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text2); border: 1px solid var(--border2); }
.btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.22); background: var(--surface); }
.btn-nav { padding: 10px 20px; font-size: 0.82rem; }

/* ── NAV (white chrome) ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
}
.nav-links a {
    font-size: 0.84rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
    position: relative;
}
.nav-links a:hover { color: var(--bg); }
.nav-links .current-menu-item > a,
.nav-links a.nav-active { color: var(--bg); }
.nav-links .current-menu-item > a::after,
.nav-links a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}
nav .btn-primary { background: var(--accent); color: #fff; }
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bg);
    padding: 4px;
}
.nav-hamburger .icon-close { display: none; }
.nav-hamburger.open .icon-bars { display: none; }
.nav-hamburger.open .icon-close { display: block; }

/* ── MOBILE NAV (white chrome) ── */
.mobile-nav .mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav .mobile-nav-list li { display: block; }
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    z-index: 99;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}
.mobile-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bg);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: block;
}
.mobile-nav a.btn-primary { margin-top: 16px; text-align: center; justify-content: center; border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ── PAGE HEADER ── */
.page-header {
    padding: 148px 0 72px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 580px; height: 580px;
    background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 68%);
    pointer-events: none;
}
.page-header .lead { max-width: 560px; margin-top: 4px; }

/* ── CTA BAND ── */
.cta-band {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 80px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 8px; }
.cta-inner .lead { max-width: 480px; margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── SERVICES SECTION (shared bg) ── */
.services-section { background: var(--bg2); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.service-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.2s, transform 0.45s ease, opacity 0.45s ease;
}
.service-card:hover { border-color: rgba(59,130,246,0.28); transform: translateY(-3px); }
.service-icon {
    width: 46px; height: 46px;
    border-radius: 11px;
    background: var(--glow);
    border: 1px solid rgba(59,130,246,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    flex-shrink: 0;
}
.service-icon svg { flex-shrink: 0; }
.service-card p { font-size: 0.86rem; color: var(--text2); line-height: 1.65; margin-bottom: 18px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text3);
}
.service-features li::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ── SECTION HEADER / FOOTER ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header .lead { max-width: 540px; margin: 0 auto; }
.section-footer { text-align: center; margin-top: 44px; }

/* ── VALUES SECTION (shared bg) ── */
.values-section { background: var(--bg); }

/* ── SCROLL REVEAL ── */
.scroll-hidden { opacity: 0; transform: translateY(18px); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    section { padding: 72px 0; }
    .page-header { padding: 120px 0 56px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .nav-links, nav .btn-nav { display: none; }
    .nav-hamburger { display: block; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 580px) {
    .services-grid { grid-template-columns: 1fr; }
}
