:root {
    --font-heading: "Segoe UI", Arial, sans-serif;
    --font-body: "Segoe UI", Arial, sans-serif;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow-soft: 0 20px 55px rgba(21, 23, 43, 0.12);
    --shadow-card: 0 14px 35px rgba(21, 23, 43, 0.09);
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.65;
}

h1 {
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
}

h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
}

h3,
h4 {
    font-size: 20px;
    font-weight: 750;
}

p,
li,
td,
th,
.accordion-button,
.btn,
.form-control {
    font-size: 16px;
}

a {
    text-decoration: none;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(121, 123, 211, 0.16);
    z-index: 1040;
}

.navbar-brand {
    color: #111827 !important;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 310px;
    white-space: normal;
    line-height: 1.1;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #797BD3, #4F52B8);
    border-radius: 14px;
    color: #ffffff;
    flex: 0 0 auto;
    box-shadow: 0 10px 24px rgba(121, 123, 211, 0.35);
}

.nav-link {
    color: #1f2937 !important;
    font-size: 18px;
    font-weight: 650;
    padding: 0.75rem 0.9rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-dark) !important;
}

.navbar-toggler {
    border: 1px solid rgba(121, 123, 211, 0.3);
    border-radius: 14px;
    padding: 0.55rem 0.7rem;
}

.btn-primary,
.btn-accent {
    background: #4F52B8;
    border-color: #4F52B8;
    color: #ffffff !important;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(79, 82, 184, 0.28);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-accent:hover,
.btn-accent:focus {
    background: #34379B;
    border-color: #34379B;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-light-strong {
    background: #ffffff;
    color: #111827 !important;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 999px;
    font-weight: 800;
}

.phone-btn {
    white-space: nowrap;
}

.hero {
    background:
        radial-gradient(circle at top left, rgba(121, 123, 211, 0.28), transparent 34%),
        linear-gradient(135deg, #F7F7FF 0%, #ffffff 58%, #EFEFFF 100%);
    padding: 140px 0 82px;
    position: relative;
}

.hero-card {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(121, 123, 211, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-image-wrap {
    height: 100%;
    min-height: 430px;
    position: relative;
}

.hero-image-wrap img.hero-photo {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(121, 123, 211, 0.18);
    border-radius: 999px;
    padding: 0.5rem 0.8rem;
    color: #111827;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(21, 23, 43, 0.08);
}

.stars {
    color: #797BD3;
    letter-spacing: 0.16em;
    font-size: 22px;
    line-height: 1;
}

.trust-icons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.trust-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    border: 2px solid rgba(121, 123, 211, 0.24);
    background: #ffffff;
    padding: 8px;
    object-fit: contain;
    box-shadow: 0 10px 22px rgba(21, 23, 43, 0.08);
}

.hero-stat {
    background: #15172B;
    color: #ffffff;
    border-radius: 22px;
    padding: 1rem;
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
}

.hero-stat strong {
    color: #ffffff;
    display: block;
    font-size: 24px;
}

.section-padding {
    padding: 90px 0;
}

.section-soft {
    background: #F7F7FF;
}

.section-dark {
    background: #15172B;
    color: #F9FAFB;
}

.section-dark p,
.section-dark li,
.section-dark a,
.section-dark .text-muted {
    color: #E5E7EB !important;
}

.title-sticker {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E8E8FF;
    color: #4F52B8;
    margin-right: 0.7rem;
    vertical-align: middle;
    box-shadow: 0 10px 22px rgba(121, 123, 211, 0.18);
}

.section-dark .title-sticker {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

.split-card {
    display: grid;
    grid-template-columns: minmax(0, 65%) minmax(260px, 35%);
    align-items: center;
    gap: 2rem;
    background: #ffffff;
    border: 1px solid rgba(121, 123, 211, 0.16);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-card);
}

.split-card.reverse {
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
}

.split-card.reverse .split-media {
    order: 1;
}

.split-card.reverse .split-content {
    order: 2;
}

.split-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(21, 23, 43, 0.13);
}

.reason-table {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(121, 123, 211, 0.18);
}

.reason-table th {
    background: #15172B;
    color: #ffffff;
    border: 0;
}

.reason-table td {
    color: #374151;
    vertical-align: top;
}

.service-card,
.step-card,
.review-card,
.faq-card,
.area-card,
.payment-card {
    background: #ffffff;
    border: 1px solid rgba(121, 123, 211, 0.16);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

.service-card {
    height: 100%;
    padding: 1.35rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(21, 23, 43, 0.13);
}

.line-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #E8E8FF;
    color: #4F52B8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.line-icon svg,
.title-sticker svg,
.brand-mark svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card ul,
.area-card ul,
.payment-card ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.step-card {
    padding: 1.3rem;
    height: 100%;
    position: relative;
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #4F52B8;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-panel {
    background: linear-gradient(135deg, #4F52B8, #797BD3);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 22px 50px rgba(79, 82, 184, 0.28);
}

.cta-panel h2,
.cta-panel h3,
.cta-panel p {
    color: #ffffff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: auto;
    bottom: -62px;
    background: #15172B;
    border-radius: 50%;
    opacity: 1;
}

.carousel-control-prev {
    left: calc(50% - 58px);
}

.carousel-control-next {
    right: calc(50% - 58px);
}

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

.review-name {
    color: #111827;
    font-weight: 850;
    margin-bottom: 0.2rem;
}

.review-card blockquote {
    color: #374151;
    margin: 0;
}

.zip-pill {
    display: inline-flex;
    padding: 0.5rem 0.85rem;
    background: #E8E8FF;
    border-radius: 999px;
    color: #111827;
    font-weight: 750;
    margin: 0.25rem;
}

.footer {
    background: #15172B;
    color: #E5E7EB;
    padding: 60px 0 92px;
    font-size: 14px;
}

.footer p,
.footer li,
.footer a,
.footer small {
    font-size: 14px;
    color: #E5E7EB;
}

.footer .navbar-brand {
    color: #ffffff !important;
}

.footer h3,
.footer h4 {
    color: #ffffff;
    font-size: 20px;
}

.mobile-call-bar {
    display: none;
}

.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .site-header .container {
        align-items: flex-start;
    }

    .navbar-brand {
        font-size: 24px;
        max-width: calc(100vw - 150px);
    }

    .mobile-header-actions {
        width: 100%;
        display: flex;
        gap: 0.75rem;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.75rem;
    }

    .desktop-phone {
        display: none !important;
    }

    .hero {
        padding: 150px 0 62px;
    }

    .hero-image-wrap,
    .hero-image-wrap img.hero-photo {
        min-height: 330px;
    }

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

    .split-card.reverse .split-media,
    .split-card.reverse .split-content {
        order: initial;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: clamp(35px, 9vw, 42px);
    }

    h2 {
        font-size: clamp(28px, 8vw, 32px);
    }

    .section-padding {
        padding: 64px 0;
    }

    .hero-card {
        border-radius: 24px;
    }

    .hero .p-4,
    .hero .p-md-5 {
        padding: 1.4rem !important;
    }

    .trust-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .mobile-call-bar {
        position: fixed;
        left: env(safe-area-inset-left, 0);
        right: env(safe-area-inset-right, 0);
        bottom: 0;
        z-index: 1100;
        display: block;
        padding: 0.65rem;
        background: rgba(21, 23, 43, 0.96);
    }

    .mobile-call-bar a {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        border-radius: 18px;
        color: #ffffff !important;
        background: #4F52B8;
        font-weight: 900;
        white-space: nowrap;
        font-size: 16px;
    }

    .footer {
        padding-bottom: 112px;
    }
}
