:root {
    --bg-page: #eef1fb;
    --bg-soft: #f6f8ff;
    --bg-card: #ffffff;
    --ink: #233a6f;
    --ink-soft: #5e6e93;
    --ink-muted: #7f8cad;
    --line: #dfe5f5;
    --brand: #314f97;
    --brand-strong: #203d7a;
    --accent: #ca3c43;
    --shadow-lg: 0 20px 42px rgba(33, 48, 90, 0.12);
    --shadow-md: 0 10px 26px rgba(35, 51, 92, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.marketing-body {
    background: linear-gradient(180deg, #f8faff 0%, var(--bg-page) 42%, #e6ebfa 100%);
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 2.2rem));
    margin: 0 auto;
}

.site-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(249, 251, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
}

.header-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    width: 292px;
    height: 48px;
    max-width: 52vw;
    margin-left: 1.55rem;
    text-decoration: none;
}

.site-logo img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.nav-toggle {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background: var(--brand);
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.header-phone-cta {
    margin-left: 0.42rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    border: 1px solid #234685;
    background: #1f3870;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-phone-cta:hover {
    background: #29498d;
}

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

.site-nav a {
    text-decoration: none;
    font-size: 0.93rem;
    color: #4d5c82;
    font-weight: 600;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--brand-strong);
    background: #eaf0ff;
}

.home-hero {
    position: relative;
    border-bottom: 1px solid var(--line);
    background: #edf1fd;
}

.hero-grid {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.3rem;
    padding: 1.45rem 1.7rem 0;
    align-items: stretch;
}

.hero-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(140% 100% at -8% -35%, #ffffff 0 62%, rgba(255, 255, 255, 0) 63%),
        radial-gradient(138% 108% at 45% 96%, rgba(206, 216, 242, 0.86) 0 43%, rgba(206, 216, 242, 0) 44%),
        radial-gradient(146% 116% at 48% 103%, rgba(188, 202, 237, 0.62) 0 40%, rgba(188, 202, 237, 0) 41%),
        linear-gradient(180deg, #f6f8ff 0%, #edf1fd 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-grid > * {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(2rem, 3vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #273f74;
}

.hero-copy {
    padding-bottom: 1rem;
}

.hero-list {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.62rem;
}

.hero-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-left: 1.2rem;
    color: var(--ink-soft);
    font-size: 1rem;
}

.hero-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.06rem;
    color: #5e7ec4;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.72rem;
}

.btn {
    border: 0;
    border-radius: 10px;
    padding: 0.68rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #d95958 0%, #be2d39 100%);
    box-shadow: 0 10px 22px rgba(191, 46, 57, 0.32);
}

.btn-secondary {
    color: #2b3e72;
    background: #edf2ff;
    border: 1px solid #d6dff5;
}

.hero-visual {
    position: relative;
    min-height: 0;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
}

.hero-expert {
    position: absolute;
    right: 14px;
    top: 0;
    bottom: auto;
    height: 112%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: top right;
    z-index: 1;
}

.years-badge {
    position: absolute;
    right: 0.7rem;
    top: 52%;
    transform: translateY(-50%);
    width: 126px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 3px solid #d6e1fb;
    background: #f6f9ff;
    box-shadow: 0 10px 24px rgba(40, 61, 118, 0.3);
    color: #fff;
    text-align: center;
    z-index: 2;
    overflow: hidden;
}

.years-badge::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 62%;
    border-top-left-radius: 999px;
    border-top-right-radius: 999px;
    background: radial-gradient(circle at 30% 10%, #8bb2ff 0%, #5f89e5 44%, #3867c4 100%);
}

.years-badge::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 8%;
    height: 34%;
}

.years-badge strong {
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    font-size: 2.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    z-index: 2;
}

.years-badge span {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 8%;
    height: 34%;   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.02rem;
    z-index: 3;
}

.years-label-year,
.years-label-experience {
    margin: 0;
    font-style: normal;
    line-height: 1;
    font-weight: 700;
}

.years-label-year {
    color: #d14655;
    font-size: 0.78rem;
}

.years-label-experience {
    color: #4367b2;
    font-size: 0.74rem;
}

.quick-quote-card {
    width: min(410px, 100%);
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid #dce4f5;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

.quick-quote-card h2 {
    margin: 0;
    white-space: nowrap;
    font-size: 1.62rem;
    color: #2a3f6f;
}

.quick-quote-card > p {
    margin: 0.36rem 0 0.6rem;
    font-size: 0.94rem;
    line-height: 1.35;
    color: #5a6c95;
}

.quote-result {
    min-height: 1.2rem;
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.quote-result.success {
    color: #267835;
}

.quote-result.error {
    color: #b32828;
}

.quick-quote-form {
    display: grid;
    gap: 0.3rem;
}

.quick-quote-form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #536389;
}

.quick-quote-form input,
.quick-quote-form select {
    height: 36px;
    width: 100%;
    border: 1px solid #ced8ee;
    border-radius: 7px;
    padding: 0 0.6rem;
    font: inherit;
    font-size: 0.9rem;
    color: #33486f;
    background: #fbfcff;
}

.quick-quote-form input:focus,
.quick-quote-form select:focus {
    outline: 2px solid #aac0ef;
    outline-offset: 0;
}

.submit-btn {
    margin-top: 0.5rem;
    width: 100%;
}

.services-section {
    padding: 1rem 0 1.6rem;
}

.services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(382px, 410px);
    gap: 1rem;
    align-items: start;
}

.services-section h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.2vw, 2.5rem);
    color: #2a4377;
}

.section-subtitle {
    margin: 0.34rem 0 1rem;
    color: var(--ink-soft);
    font-size: 1rem;
}

.services-main {
    min-width: 0;
}

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

.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.78rem;
    align-items: start;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.9rem 0.92rem;
    box-shadow: 0 12px 24px rgba(36, 52, 97, 0.08);
}

.service-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-top: 0.1rem;
}

.service-card h3 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.12;
    color: #2f4980;
}

.service-card p {
    margin: 0.25rem 0 0;
    color: var(--ink-soft);
    line-height: 1.32;
    font-size: 0.94rem;
}

.discount-strip {
    margin-top: 0.35rem;
}

.discount-inner {
    min-height: 62px;
    border-radius: 12px;
    border: 1px solid #d4ddf2;
    background: linear-gradient(90deg, #eff4ff 0%, #dbe6ff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.72rem 1rem;
}

.discount-copy {
    display: grid;
    gap: 0.15rem;
}

.discount-headline {
    margin: 0;
    font-size: 1.28rem;
    color: #3a568f;
    font-weight: 600;
}

.discount-subtext {
    margin: 0;
    font-size: 0.96rem;
    color: #5670a6;
    font-weight: 500;
}

.btn-strip {
    color: #fff;
    background: linear-gradient(180deg, #4d73c5 0%, #365897 100%);
    min-width: 170px;
    white-space: nowrap;
}

.testimonials-section {
    padding: 0.95rem 0 0.75rem;
}

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

.testimonial-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 0.72rem;
    align-items: start;
    box-shadow: 0 10px 20px rgba(40, 55, 100, 0.08);
}

.testimonial-card img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card p {
    margin: 0;
    color: #4e618a;
    font-size: 0.96rem;
    line-height: 1.35;
}

.testimonial-name {
    margin-top: 0.58rem !important;
    font-weight: 700;
    color: #314c8d !important;
}

.testimonial-role {
    margin-top: 0.1rem !important;
    color: var(--ink-muted) !important;
    font-size: 0.83rem !important;
}

.content-hero {
    padding: 1.45rem 0 0.4rem;
}

.content-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 3rem);
    color: #2a4379;
}

.content-hero p {
    margin: 0.44rem 0 0;
    color: var(--ink-soft);
    max-width: 920px;
    font-size: 1.04rem;
}

.content-section {
    padding: 0.7rem 0 1.45rem;
}

.content-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 1.08rem;
    box-shadow: 0 14px 28px rgba(35, 50, 88, 0.08);
}

.content-card p {
    margin: 0 0 1rem;
    color: #4d618d;
    font-size: 1rem;
    line-height: 1.54;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.service-detail-grid {
    display: grid;
    gap: 0.9rem;
}

.service-detail-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 8px 18px rgba(31, 46, 87, 0.08);
}

.service-detail-card h2 {
    margin: 0;
    color: #2f4b84;
    font-size: 1.65rem;
}

.service-detail-card p {
    margin: 0.45rem 0 0;
    color: #526692;
    line-height: 1.52;
    font-size: 0.98rem;
}

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

.contact-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.58rem;
    align-items: center;
    padding: 0.84rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #f9fbff;
}

.contact-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.contact-item-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-item-icon-phone {
    background: #1f3870;
}

.contact-item h2 {
    margin: 0;
    color: #38558f;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
    color: #5a6d96;
}

.long-island-strip {
    padding: 0.25rem 0;
}

.long-island-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.long-island-inner {
    position: relative;
    min-height: 98px;
    border-radius: 12px;
    border: 1px solid #d7dff2;
    background: linear-gradient(180deg, #f4f7ff 0%, #e8edfb 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
}

.long-island-inner p {
    margin: 0;
    max-width: 620px;
    color: #314c89;
    font-size: 1.25rem;
    font-weight: 600;
    z-index: 1;
}

.long-island-inner img {
    width: min(560px, 58%);
    height: auto;
    opacity: 0.72;
}

.site-footer {
    margin-top: 0.6rem;
    padding: 1rem 0 1.25rem;
    color: #eaf0ff;
    background: linear-gradient(180deg, #2f4f98 0%, #1f3870 100%);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/images/site/modern/logo_header.png") center / cover no-repeat;
    opacity: 0.14;
    pointer-events: none;
}

.footer-inner,
.footer-copyright {
    position: relative;
    z-index: 1;
}

.footer-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
}

.footer-contact-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.footer-contact-list a,
.footer-location {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #edf3ff;
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-contact-list img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.btn-footer {
    color: #f1f5ff;
    background: rgba(65, 102, 184, 0.95);
    border: 1px solid rgba(198, 216, 255, 0.3);
    min-width: 150px;
}

.footer-copyright {
    margin: 0.68rem auto 0;
    width: min(1120px, calc(100% - 2.2rem));
    color: #d4e0ff;
    font-size: 0.8rem;
}

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    place-items: center;
}

.site-modal.is-open {
    display: grid;
}

.site-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 28, 54, 0.58);
}

.site-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 2rem));
    border-radius: 14px;
    border: 1px solid #d8e0f4;
    background: #fff;
    box-shadow: 0 24px 44px rgba(23, 33, 62, 0.32);
    padding: 1.2rem 1.35rem 1.35rem;
}

.site-modal-dialog h2 {
    margin: 0;
    color: #2f4b8a;
    font-size: 1.6rem;
    padding-right: 2.6rem;
}

.site-modal-dialog #site-modal-message {
    margin: 0.5rem 0 0;
    color: #536690;
    line-height: 1.45;
    font-size: 0.96rem;
}

.site-modal-close-icon {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #f4f7ff;
    color: #35518d;
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
}

.site-modal-lead {
    margin: 0 0 1rem;
    font-size: 1.02rem;
}

.site-modal-call-btn {
    display: flex;
    justify-content: center;
    width: min(520px, 100%);
    margin: 0 auto 0.9rem;
    font-size: 1.02rem;
}

.site-modal-hours {
    margin: 0.8rem 0 1rem;
    text-align: center;
    color: #4f618a;
    font-size: 0.98rem;
}

.site-modal-divider {
    height: 1px;
    background: #dce3f4;
    margin: 0 0 0.9rem;
}

.site-modal-email-line {
    margin: 0;
    font-size: 0.99rem;
}

.site-modal-email-link {
    color: #2f4b8a;
    font-weight: 600;
    text-decoration: none;
}

.site-modal-email-link:hover {
    text-decoration: underline;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .services-layout {
        grid-template-columns: 1fr;
    }

    .quick-quote-card {
        width: min(560px, 100%);
        margin: 0 auto;
        order: -1;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 760px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem 0.7rem 1.15rem;
    }

    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-section {
        padding-top: 0.95rem;
    }

    .service-card h3 {
        font-size: 1.35rem;
    }

    .discount-headline {
        font-size: 1.1rem;
    }
    .container {
        width: min(1120px, calc(100% - 1.1rem));
    }

    .site-logo {
        width: 228px;
        height: 40px;
        margin-left: 0;
    }

    .header-phone-cta {
        display: none;
    }

    .mobile-call-bar {
        position: sticky;
        top: 62px;
        z-index: 24;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0.3rem 0.9rem;
        border-bottom: 1px solid rgba(214, 227, 255, 0.28);
        background: #1f3870;
        color: #f3f7ff;
        text-decoration: none;
        font-size: 0.84rem;
        font-weight: 700;
    }

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

    .site-nav {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: rgba(248, 250, 255, 0.99);
        border-bottom: 1px solid var(--line);
        padding: 0.4rem 0.7rem 0.7rem;
        box-shadow: 0 12px 24px rgba(28, 41, 75, 0.11);
        flex-direction: column;
        gap: 0.22rem;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
        padding: 0.75rem 0.68rem;
    }

    .hero-copy h1 {
        font-size: clamp(1.85rem, 8.5vw, 2.4rem);
    }

    .hero-visual {
        display: none;
    }

    .hero-list li {
        align-items: flex-start;
        font-size: 0.97rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .quick-quote-card h2 {
        font-size: 1.45rem;
    }

    .quick-quote-card {
        width: 100%;
    }

    .services-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .discount-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .discount-headline {
        font-size: 1rem;
        text-align: center;
    }

    .discount-subtext {
        text-align: center;
    }

    .btn-strip {
        min-width: 0;
    }

    .long-island-inner {
        min-height: 0;
        padding: 0.65rem;
        display: grid;
        gap: 0.4rem;
    }

    .long-island-inner p {
        font-size: 0.95rem;
    }

    .long-island-inner img {
        width: 100%;
    }

    .footer-inner {
        display: grid;
        justify-items: stretch;
        gap: 0.7rem;
    }

    .footer-contact-list {
        display: grid;
        gap: 0.46rem;
    }

    .footer-contact-list a,
    .footer-location {
        font-size: 0.9rem;
    }

    .btn-footer {
        width: 100%;
        min-width: 0;
    }
}
