:root {
    --ink: #101828;
    --ink-soft: #475467;
    --slate: #1d2939;
    --slate-2: #0c1220;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --blue-light: #eff4ff;
    --line: rgba(16, 24, 40, 0.12);
    --line-light: rgba(255, 255, 255, 0.14);
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --radius: 14px;
    --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--surface);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, .display {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
}
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--surface);
    color: var(--slate-2);
    font-weight: 700;
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section[id] { scroll-margin-top: 84px; }

.eyebrow {
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
    display: block;
}
.eyebrow-light { color: #93c5fd; }

.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.section-title-light { color: #fff; }
.section-lead { max-width: 640px; font-size: 1.05rem; margin-bottom: 40px; }
.section-lead-light { color: #cbd5e1; max-width: 760px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn-outline:hover { background: var(--slate); color: #fff; }
.btn-block { width: 100%; }
.btn-nav { padding: 10px 20px; font-size: 0.9rem; }

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}
.brand {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--slate-2);
    white-space: nowrap;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--blue); }
.nav-mobile-cta { display: none; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span:not(.sr-only) {
    width: 22px;
    height: 2px;
    background: var(--slate-2);
    display: block;
}

/* Hero */
.hero {
    background-color: var(--slate-2);
    background-size: cover;
    background-position: 75% 70%;
    padding: 96px 0 88px;
}
.hero-inner { display: flex; }
.hero-copy { max-width: 720px; }
.hero-title {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    color: #fff;
    margin-bottom: 22px;
}
.hero-lead { color: #cbd5e1; font-size: 1.1rem; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero .btn-outline { border-color: #cbd5e1; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--slate-2); }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    color: #93c5fd;
    font-weight: 600;
    font-size: 0.9rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: "✓"; color: #60a5fa; font-weight: 800; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--slate-2); }
.section-dark .eyebrow { color: #60a5fa; }

/* Common problems */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.problem-grid li {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 18px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}
.problem-grid li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    flex: 0 0 auto;
}

/* Service grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; }

/* Service model */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.model-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.model-num {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.model-card h3 { margin-bottom: 10px; }
.model-card p { font-size: 0.95rem; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.contact-details { margin-top: 8px; }
.contact-details p { margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.contact-details a:hover { color: var(--blue); }

.contact-form-wrap {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}
.contact-form .field-row { display: flex; gap: 16px; margin-bottom: 18px; }
.contact-form .field { flex: 1; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.contact-form .field-row .field { margin-bottom: 0; }
.contact-form label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-soft); }
.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 13px;
    font: inherit;
    background: #fff;
    color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.form-note { margin-top: 12px; font-size: 0.82rem; text-align: center; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }

.alert {
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.alert-success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.alert-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.alert-error ul { margin-top: 8px; padding-left: 18px; list-style: disc; }

/* Footer */
.site-footer { background: var(--slate-2); color: #94a3b8; padding: 56px 0 32px; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line-light);
}
.footer-name { color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.footer-contact a:hover { color: #fff; }
.footer-contact p { margin-bottom: 6px; }
.copyright { font-size: 0.85rem; }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 28px 16px;
        display: none;
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
    .nav-mobile-cta { display: block; color: var(--blue) !important; }
    .btn-nav { display: none; }
    .contact-form .field-row { flex-direction: column; gap: 18px; }
    .hero { padding: 64px 0 56px; }
    .section { padding: 60px 0; }
}
