:root {
    --container: 1180px;
    --space: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 22%, #f7f9fe 100%);
}

a {
    text-decoration: none;
}

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

button,
.cta-btn,
.header-phone,
.service-card,
.review,
.split-image,
.icon-row img {
    border-radius: 0;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #d8e0f2;
    background: #ffffff;
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 88px;
    flex-wrap: wrap;
    padding: 0.6rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--heading);
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.logo img {
    width: 40px;
    height: 40px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: #111827;
    color: #ffffff;
    padding: 0.72rem 1rem;
    border: 2px solid #111827;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.25s ease;
}

.header-phone svg {
    width: 20px;
    height: 20px;
}

.header-phone:hover,
.header-phone:focus-visible {
    background: #000;
}

.nav-toggle {
    display: none;
    border: 2px solid #c5cfe5;
    background: #fff;
    color: #1f335f;
    font-size: 1rem;
    padding: 0.42rem 0.7rem;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1rem;
}

.main-nav a {
    color: #1f335f;
    font-size: 1rem;
    font-weight: 600;
}

.hero {
    position: relative;
    color: #ffffff;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 19, 36, 0.9) 0%, rgba(15, 30, 56, 0.78) 45%, rgba(19, 41, 77, 0.65) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    text-align: center;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.18;
}

h1 {
    font-size: 44px;
    color: #ffffff;
}

h2 {
    font-size: 34px;
    color: #111827;
}

h3,
h4 {
    font-size: 22px;
    color: #111827;
}

p,
li {
    font-size: 16px;
}

.hero-lead {
    margin: 1rem 0;
    font-size: 1.15rem;
    color: #e7edf9;
}

.stars {
    margin-top: 1rem;
    letter-spacing: 2px;
    color: var(--accent);
    font-size: 1.8rem;
}

.icon-row {
    margin: 1.15rem auto 1.4rem;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(3, minmax(80px, 120px));
    justify-content: center;
}

.icon-row img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(8, 17, 31, 0.55);
    padding: 0.35rem;
}

.cta-line {
    font-size: 1.06rem;
    font-weight: 700;
    margin: 1rem 0 0.4rem;
    color: #ffffff;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.35rem;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #111827;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-glow 1.9s ease-in-out infinite;
    transition: transform 0.25s ease, background 0.25s ease;
}

.cta-btn:hover,
.cta-btn:focus-visible {
    background: #7791d2;
    transform: translateY(-2px);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.52); }
    70% { box-shadow: 0 0 0 17px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

section {
    padding: var(--space) 0;
}

section.alt {
    background: var(--surface-alt);
}

.section-badge {
    margin: 0 0 0.55rem;
    color: #2b4375;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 0.83rem;
}

.styled-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.65rem;
    margin-bottom: 1rem;
}

.styled-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 4px;
    background: var(--accent);
}

.intro p,
.content-block p {
    max-width: 980px;
}

.split {
    display: grid;
    grid-template-columns: 7fr 3fr;
    align-items: start;
    gap: 1.5rem;
}

.split-image {
    border: 1px solid #d9e1f2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.service-card {
    border: 1px solid #d8e0f2;
    padding: 1rem;
    background: #ffffff;
}

.service-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 0.7rem;
}

.reviews-shell {
    position: relative;
}

.reviews-track {
    display: flex;
    transition: transform 0.45s ease;
}

.review {
    flex: 0 0 33.3333%;
    border: 1px solid #d8e0f2;
    padding: 1rem;
    background: #ffffff;
}

.review-name {
    margin: 0 0 0.55rem;
    font-weight: 800;
    color: #111827;
}

.review-nav {
    margin-top: 1rem;
    display: flex;
    gap: 0.8rem;
}

.review-nav button {
    border: 2px solid #1f335f;
    background: #fff;
    color: #1f335f;
    padding: 0.55rem 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.list-two-col {
    columns: 2;
    column-gap: 1.5rem;
    padding-left: 1rem;
}

.faq-item {
    border-top: 1px solid #d6dfef;
    padding: 1rem 0;
}

.faq-item:last-child {
    border-bottom: 1px solid #d6dfef;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
}

.footer {
    background: #111827;
    color: #f3f5fb;
    padding: 2.5rem 0 6.2rem;
    font-size: 14px;
}

.footer a {
    color: #e4ebff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
}

.footer .logo {
    color: #ffffff;
    font-size: 1.5rem;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer li {
    margin: 0 0 0.45rem;
    font-size: 14px;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 14px;
    color: #d5ddee;
}

.mobile-call {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: #111827;
    color: #ffffff;
    padding: 0.84rem 1rem calc(0.84rem + env(safe-area-inset-bottom));
    text-align: center;
    font-weight: 800;
    font-size: 0.96rem;
    white-space: nowrap;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .header-wrap {
        min-height: 70px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        width: 100%;
        order: 4;
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        padding: 0.5rem 0;
        border-top: 1px solid #d8e0f2;
    }

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

    .list-two-col {
        columns: 1;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --space: 52px;
    }

    h1 {
        font-size: 31px;
    }

    h2 {
        font-size: 24px;
    }

    .review {
        flex-basis: 100%;
    }

    .header-phone {
        font-size: 0.92rem;
    }

    .mobile-call {
        display: block;
    }
}
