:root {
    --bg: #07111f;
    --bg-soft: #0d1b2d;
    --surface: #0f2138;
    --surface-2: rgba(255, 255, 255, 0.08);
    --primary: #2dd4bf;
    --primary-dark: #14b8a6;
    --accent: #60a5fa;
    --text: #f8fafc;
    --muted: #b6c2d1;
    --dark: #020617;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(2, 6, 23, 0.35);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(45, 212, 191, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 30%),
        linear-gradient(180deg, #07111f 0%, #081423 35%, #0a1728 100%);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.alt-bg {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.eyebrow::before {
    content: '';
    width: 38px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

p {
    color: var(--muted);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(7, 17, 31, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 800;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    font-weight: 800;
    box-shadow: var(--shadow);
}

.logo-text {
    font-size: 1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav a {
    color: #d8e3ef;
    font-weight: 600;
    font-size: 0.96rem;
}

.nav-cta {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

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

.menu-toggle span {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--white);
}

.hero {
    padding: 82px 0 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy p {
    font-size: 1.05rem;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.98rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    box-shadow: 0 15px 40px rgba(45, 212, 191, 0.18);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}

.full-width {
    width: 100%;
}

.hero-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
}

.hero-highlights li {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #dce7f4;
    font-size: 0.94rem;
}

.hero-card {
    background: linear-gradient(180deg, rgba(15, 33, 56, 0.92), rgba(7, 17, 31, 0.95));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.stat-card,
.info-card,
.mini-grid > div,
.service-card,
.check-item,
.contact-card,
.form-wrapper,
.timeline article,
.cta-box {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
}

.stat-card,
.info-card {
    padding: 1.2rem;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.info-card {
    margin: 1rem 0;
}

.info-card p,
.mini-grid span,
.service-card p,
.check-item p,
.timeline article p,
.contact-card span,
.form-note,
.site-footer p {
    margin-bottom: 0;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mini-grid > div {
    padding: 1rem;
}

.mini-grid span {
    color: var(--muted);
    display: block;
    font-size: 0.9rem;
}

.mini-grid strong {
    display: block;
    margin-top: 0.35rem;
}

.trust-bar {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.trust-items {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #dbe6f3;
    font-weight: 600;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.service-card {
    padding: 1.4rem;
    min-height: 100%;
}

.service-card.featured {
    background: linear-gradient(180deg, rgba(45, 212, 191, 0.12), rgba(96, 165, 250, 0.07));
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.22), rgba(96, 165, 250, 0.22));
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.split-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: start;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.check-item {
    padding: 1.25rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.timeline article {
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
}

.timeline article span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    font-weight: 800;
}

.cta-band {
    padding: 0 0 88px;
}

.cta-box {
    padding: 2rem;
    display: flex;
    gap: 1.4rem;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(96, 165, 250, 0.14));
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-card,
.form-wrapper {
    padding: 1.3rem;
}

.contact-card strong {
    display: block;
    margin-top: 0.4rem;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.94rem;
    color: #dce7f4;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 6, 23, 0.55);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(45, 212, 191, 0.75);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.alert {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    font-weight: 600;
}

.alert.success {
    background: rgba(34, 197, 94, 0.15);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert.error {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.32);
}

.site-footer {
    padding: 28px 0 42px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.back-to-top {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 1080px) {
    .hero-grid,
    .split-grid,
    .contact-grid,
    .services-grid,
    .timeline {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid article:last-child,
    .timeline article:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
        width: min(92vw, 320px);
        padding: 1rem;
        border-radius: 20px;
        border: 1px solid var(--border);
        background: rgba(7, 17, 31, 0.98);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 0.25s ease;
    }

    .nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hero-grid,
    .split-grid,
    .contact-grid,
    .services-grid,
    .check-list,
    .timeline,
    .lead-form {
        grid-template-columns: 1fr;
    }

    .services-grid article:last-child,
    .timeline article:last-child,
    .full-width {
        grid-column: auto;
    }

    .cta-box,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding-top: 56px;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 72px 0;
    }

    .hero-actions,
    .hero-highlights,
    .trust-items {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .logo-text {
        font-size: 0.92rem;
    }
}
