:root {
    --bg: #0a0c0f;
    --surface: #11151a;
    --surface-2: #171c22;
    --text: #f4f5f6;
    --muted: #a7adb5;
    --line: rgba(255,255,255,.10);
    --accent: #e6392f;
    --accent-dark: #b9251e;
    --light: #ffffff;
    --max: 1180px;
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
p { color: var(--muted); }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,12,15,.90);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    transition: .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 35px rgba(0,0,0,.25); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    font-weight: 900;
    letter-spacing: -1px;
    box-shadow: 0 8px 24px rgba(230,57,47,.25);
}
.brand-mark.small { width: 50px; height: 50px; margin-bottom: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: .9; letter-spacing: .12em; }
.brand-text strong { font-size: 16px; }
.brand-text small { font-size: 10px; color: var(--muted); margin-top: 5px; letter-spacing: .3em; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.nav-cta) { color: #d8dbe0; font-size: 14px; font-weight: 650; }
.main-nav > a:not(.nav-cta):hover { color: white; }
.nav-cta { background: var(--accent); padding: 11px 17px; border-radius: 8px; font-weight: 800; font-size: 14px; }
.nav-cta:hover, .btn-primary:hover { background: var(--accent-dark); }
.menu-toggle { display: none; background: transparent; border: 0; color: white; font-size: 25px; cursor: pointer; }

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 40%, rgba(230,57,47,.15), transparent 30%),
        linear-gradient(135deg, #090b0e 0%, #10151b 100%);
    border-bottom: 1px solid var(--line);
}
.hero-content { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.hero h1 { margin: 14px 0 20px; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: #9da4ad; }
.hero-copy > p { max-width: 580px; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 21px; border-radius: 8px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--accent); color: white; }
.btn-outline { border-color: rgba(255,255,255,.2); color: white; }
.btn-outline:hover { background: white; color: var(--bg); }
.btn-light { background: white; color: var(--bg); }
.btn-full { width: 100%; }

.hero-card {
    padding: 42px;
    background: linear-gradient(150deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.hero-card-icon { font-size: 70px; font-weight: 950; letter-spacing: -.08em; color: var(--accent); line-height: 1; }
.hero-card-label { color: white; font-weight: 900; letter-spacing: .2em; font-size: 11px; }
.hero-card h2 { font-size: 38px; line-height: 1.05; margin: 15px 0; letter-spacing: -.04em; }

.section { padding: 100px 0; }
.section-heading { max-width: 700px; margin-bottom: 45px; }
.section-heading h2, .two-column h2 { margin: 10px 0 12px; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.04em; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { padding: 28px; min-height: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service-card:hover { border-color: rgba(230,57,47,.45); transform: translateY(-3px); transition: .2s; }
.service-icon { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.service-card h3 { margin: 60px 0 8px; font-size: 21px; }

.cta-section { padding: 70px 0; background: var(--accent); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-inner .eyebrow { color: rgba(255,255,255,.8); }
.cta-inner h2 { margin: 8px 0 5px; font-size: 42px; line-height: 1; letter-spacing: -.04em; }
.cta-inner p { color: rgba(255,255,255,.75); margin: 0; }

.page-hero { padding: 110px 0 90px; background: linear-gradient(135deg, #0d1014, #171c22); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; margin: 12px 0; font-size: clamp(45px, 7vw, 72px); line-height: .98; letter-spacing: -.05em; }
.page-hero p { max-width: 700px; font-size: 18px; }

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.info-panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-panel div { display: flex; gap: 22px; padding: 25px; border-bottom: 1px solid var(--line); }
.info-panel div:last-child { border-bottom: 0; }
.info-panel strong { color: var(--accent); }
.info-panel span { font-weight: 750; }

.service-list { display: grid; gap: 12px; }
.service-row { display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service-row > span { color: var(--accent); font-weight: 900; }
.service-row h2 { margin: 0 0 5px; font-size: 25px; }
.service-row p { margin: 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-item strong { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.contact-form { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 800; color: #e3e5e8; }
input, textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 15px;
    background: #0b0e12;
    color: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    font: inherit;
}
input:focus, textarea:focus { border-color: var(--accent); }
.form-note { font-size: 12px; margin: 14px 0 0; }

.auth-section { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 70px 20px; background: radial-gradient(circle at 50% 30%, rgba(230,57,47,.10), transparent 35%); }
.auth-card { width: min(100%, 470px); padding: 42px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.auth-card.wide { width: min(100%, 600px); }
.auth-card h1 { margin: 0 0 8px; font-size: 40px; letter-spacing: -.04em; }
.auth-card > p { margin-top: 0; margin-bottom: 28px; }
.auth-footer { text-align: center; margin: 22px 0 0 !important; font-size: 14px; }
.auth-footer a { color: var(--accent); font-weight: 800; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.site-footer { padding: 70px 0 25px; background: #07090b; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-brand { margin-bottom: 18px; }
.footer-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) p { display: block; color: var(--muted); font-size: 14px; margin: 8px 0; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; margin-top: 45px; border-top: 1px solid var(--line); color: #707780; font-size: 12px; }

@media (max-width: 900px) {
    .hero-content, .two-column, .contact-grid { grid-template-columns: 1fr; }
    .hero { padding: 80px 0; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-card { max-width: 600px; }
}
@media (max-width: 700px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute; left: 14px; right: 14px; top: 70px; display: none;
        flex-direction: column; align-items: stretch; padding: 15px;
        background: #11151a; border: 1px solid var(--line); border-radius: 12px;
    }
    .main-nav.open { display: flex; }
    .main-nav > a { padding: 10px; }
    .service-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-bottom { flex-direction: column; }
    .form-two { grid-template-columns: 1fr; gap: 0; }
    .auth-card { padding: 28px 22px; }
    .hero h1 { font-size: 50px; }
}
