* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
}

p,
li,
address,
label,
input,
textarea,
button {
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 500;
    margin: 0;
}

h1 {
    font-size: clamp(45px, 7vw, 84px);
}

h2 {
    font-size: clamp(30px, 4.2vw, 52px);
}

h3,
h4 {
    font-size: clamp(20px, 2.2vw, 28px);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--heading);
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border: 2px solid var(--accent);
    display: grid;
    place-items: center;
    color: #fff;
}

.brand svg {
    width: 24px;
    height: 24px;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    letter-spacing: -0.04em;
    color: var(--heading);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: var(--heading);
    font-size: 18px;
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--accent-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    background: #fff;
    border: 1px solid var(--heading);
    color: var(--heading);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    overflow: visible;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    opacity: 0;
    animation: pulseGlow 2s infinite;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--accent);
    border-color: var(--accent);
    color: #111827;
}

.btn svg,
.mini-icon svg,
.service-icon svg,
.check-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: square;
    stroke-linejoin: miter;
    flex: 0 0 auto;
}

.hero {
    position: relative;
    min-height: 760px;
    color: #fff;
    background: linear-gradient(90deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.78) 48%, rgba(0,0,0,0.34) 100%), url("../images/hero-technician.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.62fr);
    gap: 44px;
    align-items: center;
    padding: 92px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 18px;
}

.eyebrow::before,
.section-kicker::after {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--accent);
}

.hero h1,
.section-dark h2,
.section-dark h3,
.hero h3,
.footer h3 {
    color: #fff;
}

.hero-copy {
    color: rgba(255,255,255,0.88);
    font-size: 18px;
    max-width: 760px;
    margin: 24px 0 22px;
}

.stars {
    color: var(--accent);
    font-size: 24px;
    letter-spacing: 4px;
    margin-top: 18px;
}

.hero-icon-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin: 18px 0 30px;
}

.hero-icon-row img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    background: rgba(255,255,255,0.9);
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-cta-line {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 16px;
}

.benefit-panel {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 30px;
    backdrop-filter: blur(18px);
    box-shadow: 0 35px 90px rgba(0,0,0,0.25);
}

.benefit-panel h3 {
    margin-bottom: 22px;
}

.benefit-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.benefit-item p {
    margin: 2px 0 0;
    color: rgba(255,255,255,0.76);
}

.mini-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #111827;
}

.section {
    padding: 94px 0;
}

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

.section-dark {
    background: var(--surface-dark);
    color: var(--on-dark);
}

.section-head {
    max-width: 840px;
    margin-bottom: 42px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
}

.section-head p {
    font-size: 18px;
    color: var(--text-muted);
}

.section-dark .section-head p,
.section-dark p,
.section-dark li {
    color: rgba(255,255,255,0.78);
}

.intro-grid,
.split-row {
    display: grid;
    grid-template-columns: 65fr 35fr;
    gap: 46px;
    align-items: center;
}

.split-row.reverse {
    grid-template-columns: 35fr 65fr;
}

.image-frame {
    position: relative;
    border: 1px solid #111827;
    padding: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}

.image-frame img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.image-frame::after {
    content: "";
    position: absolute;
    width: 72px;
    height: 72px;
    right: -18px;
    bottom: -18px;
    border-right: 10px solid var(--accent);
    border-bottom: 10px solid var(--accent);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    margin-top: 42px;
}

.stat {
    padding: 26px;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    color: var(--heading);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1;
}

.stat span {
    display: block;
    color: var(--text-muted);
    margin-top: 8px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.why-card {
    background: #fff;
    padding: 30px 24px;
    min-height: 100%;
}

.why-card h3 {
    margin: 18px 0 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
    min-height: 100%;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #111827;
    box-shadow: var(--shadow);
}

.service-card h3 {
    margin: 16px 0 12px;
}

.service-card ul,
.why-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.service-card li,
.why-card li {
    padding: 9px 0;
    border-top: 1px solid var(--line);
}

.service-icon,
.check-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #111827;
    color: var(--accent);
}

.cta-band {
    background: #111827;
    color: #fff;
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    margin: 56px 0;
}

.cta-band h2,
.cta-band h3 {
    color: #fff;
}

.cta-band p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 0;
}

.local-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
}

.list-box {
    border: 1px solid var(--line);
    padding: 28px;
    background: #fff;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.pill-list li {
    border: 1px solid #111827;
    padding: 8px 12px;
    color: #111827;
    background: #fff;
}

.reviews-shell {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 350ms ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    margin-right: 24px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 28px;
    min-height: 248px;
}

.review-card .stars {
    margin: 0 0 12px;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-card strong {
    display: block;
    color: var(--heading);
    margin-bottom: 10px;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.slider-controls button {
    width: 48px;
    height: 48px;
    border: 1px solid #111827;
    background: #fff;
    color: #111827;
    cursor: pointer;
}

.slider-controls button:hover {
    background: #111827;
    color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.faq-item {
    border: 1px solid var(--line);
    background: #fff;
    padding: 24px;
}

.faq-item h3 {
    margin-bottom: 10px;
}

.footer {
    background: #080808;
    color: rgba(255,255,255,0.78);
    padding: 58px 0 94px;
}

.footer p,
.footer a,
.footer li,
.footer address {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 36px;
}

.footer .brand-name {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.footer-links li {
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.16);
    margin-top: 34px;
    padding-top: 24px;
}

.mobile-call {
    display: none;
    position: fixed;
    z-index: 80;
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-height: 56px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms ease, transform 500ms ease;
}

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

@keyframes pulseGlow {
    0% {
        transform: scale(0.96);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.12);
        opacity: 0;
    }
    100% {
        transform: scale(1.12);
        opacity: 0;
    }
}

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

    .nav-links {
        position: fixed;
        left: 0;
        right: 0;
        top: 86px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 24px 20px;
        box-shadow: var(--shadow);
    }

    body.nav-open .nav-links {
        display: flex;
    }

    .header-inner {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 10px 0;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero .container,
    .intro-grid,
    .split-row,
    .split-row.reverse,
    .local-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 740px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    h1 {
        font-size: clamp(32px, 12vw, 44px);
    }

    h2 {
        font-size: clamp(21px, 9vw, 36px);
    }

    .site-header {
        position: sticky;
    }

    .brand-name {
        font-size: 24px;
        white-space: nowrap;
    }

    .header-inner {
        min-height: 96px;
    }

    .header-actions .btn {
        width: 100%;
        min-height: 46px;
        padding: 10px 12px;
        font-size: 15px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .nav-links {
        top: 108px;
    }

    .hero {
        min-height: auto;
    }

    .hero .container {
        padding: 66px 0;
    }

    .benefit-panel,
    .cta-band {
        padding: 24px;
    }

    .section {
        padding: 68px 0;
    }

    .stats-strip,
    .why-grid,
    .services-grid,
    .faq-grid,
    .cta-band {
        grid-template-columns: 1fr;
    }

    .stat,
    .why-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .review-card {
        flex-basis: calc(100% - 0px);
        margin-right: 18px;
    }

    .mobile-call {
        display: inline-flex;
    }
}
