:root {
    --ink: #17303b;
    --ink-deep: #0d242e;
    --mountain: #173a4a;
    --mountain-light: #24586a;
    --ice: #dff5f7;
    --snow: #f7faf9;
    --paper: #ffffff;
    --pine: #2e5b4d;
    --sun: #f4a641;
    --line: rgba(23, 48, 59, 0.13);
    --muted: #5e7078;
    --shadow: 0 24px 70px rgba(11, 35, 45, 0.14);
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    letter-spacing: 0.02em;
}

h1, h2, h3, h4, .navbar-brand strong {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.02em;
}

a {
    text-underline-offset: 0.2em;
}

img {
    max-width: 100%;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fff;
    color: var(--ink);
    border-radius: 0.5rem;
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.navbar {
    min-height: 78px;
}

.navbar-brand {
    color: var(--ink);
    text-decoration: none;
    line-height: 1.05;
}

.navbar-brand:hover {
    color: var(--mountain-light);
}

.navbar-brand strong {
    display: block;
    font-size: 1.28rem;
}

.navbar-brand small {
    display: block;
    margin-top: 0.32rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    background: var(--mountain);
    font-size: 1.2rem;
}

.nav-link {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--mountain-light);
}

.btn {
    border-radius: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.8rem 1.2rem;
}

.btn-lg {
    padding: 0.95rem 1.4rem;
    font-size: 1rem;
}

.btn-primary {
    --bs-btn-bg: var(--mountain);
    --bs-btn-border-color: var(--mountain);
    --bs-btn-hover-bg: var(--mountain-light);
    --bs-btn-hover-border-color: var(--mountain-light);
    --bs-btn-active-bg: var(--ink-deep);
    --bs-btn-active-border-color: var(--ink-deep);
}

.btn-dark {
    --bs-btn-bg: var(--ink-deep);
    --bs-btn-border-color: var(--ink-deep);
}

.nav-cta {
    padding-inline: 1.1rem;
}

.hero-section {
    min-height: 780px;
    padding: 5rem 0;
    background: var(--ink-deep);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-image {
    background-image: url("../img/hero-mountain-home.webp");
    background-position: center;
    background-size: cover;
    transform: scale(1.01);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(9, 31, 39, 0.93) 0%, rgba(9, 31, 39, 0.76) 49%, rgba(9, 31, 39, 0.42) 100%),
        linear-gradient(0deg, rgba(9, 31, 39, 0.38), transparent 50%);
}

.hero-copy {
    max-width: 760px;
    color: #fff;
    padding-right: 2rem;
}

.eyebrow,
.section-kicker,
.form-kicker,
.project-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 1.2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
}

.hero-copy h1 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(3.15rem, 7.5vw, 6.1rem);
    font-weight: 700;
    line-height: 0.96;
}

.hero-copy h1 span {
    color: #bfe9e9;
}

.hero-lead {
    max-width: 690px;
    margin: 1.65rem 0 1.8rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.18rem;
    line-height: 1.65;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.3rem;
    margin-top: 1.7rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-points i {
    margin-right: 0.3rem;
    color: #bfe9e9;
}

.lead-card {
    position: relative;
    z-index: 2;
    padding: clamp(1.4rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
}

.lead-card-header {
    margin-bottom: 1.35rem;
}

.form-kicker,
.section-kicker,
.project-label {
    color: var(--mountain-light);
}

.section-kicker.light {
    color: #bfe9e9;
}

.lead-card h2 {
    margin: 0.3rem 0 0.25rem;
    font-size: 2rem;
    font-weight: 700;
}

.lead-card-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.91rem;
}

.form-label {
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.optional {
    color: #829198;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
}

.form-control,
.form-select {
    min-height: 50px;
    color: var(--ink);
    background-color: #fbfdfd;
    border: 1px solid #cdd8dc;
    border-radius: 0.7rem;
    letter-spacing: 0.02em;
}

textarea.form-control {
    min-height: 96px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--mountain-light);
    box-shadow: 0 0 0 0.25rem rgba(36, 88, 106, 0.14);
}

.form-note {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    text-align: center;
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.form-status.is-success {
    display: block;
    color: #174d37;
    background: #e9f8f0;
    border: 1px solid #bde5cc;
}

.form-status.is-error {
    display: block;
    color: #742a2a;
    background: #fff0f0;
    border: 1px solid #f0c4c4;
}

.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.trust-strip {
    position: relative;
    z-index: 3;
    padding: 1.25rem 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 40px rgba(11, 35, 45, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 44px;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.trust-item i {
    color: var(--mountain-light);
    font-size: 1.2rem;
}

.section-space {
    padding: 7rem 0;
}

.section-title {
    margin: 0.45rem 0 0;
    font-size: clamp(2.35rem, 5vw, 4.3rem);
    font-weight: 700;
    line-height: 1.05;
}

.section-intro,
.lead-copy {
    color: var(--muted);
    font-size: 1.04rem;
}

.services-section {
    background: var(--snow);
}

.service-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 40px rgba(18, 55, 68, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.4rem;
    color: var(--mountain);
    background: var(--ice);
    border-radius: 0.9rem;
    font-size: 1.45rem;
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--muted);
    font-size: 0.93rem;
}

.service-card a,
.project-card a {
    color: var(--mountain-light);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.local-section {
    background: #fff;
}

.image-stack {
    position: relative;
    padding: 0 2rem 2rem 0;
}

.image-main {
    width: 100%;
    min-height: 580px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.local-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 330px;
    padding: 1.15rem 1.3rem;
    color: #fff;
    background: var(--mountain);
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(12, 38, 48, 0.25);
}

.local-badge i {
    color: var(--sun);
    font-size: 1.6rem;
}

.local-badge span {
    font-size: 0.84rem;
    line-height: 1.45;
}

.local-list {
    margin-top: 2rem;
}

.local-list-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
}

.local-list-item > span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--mountain);
    background: var(--ice);
    border-radius: 50%;
}

.local-list-item h3 {
    margin: 0 0 0.25rem;
    font-size: 1.12rem;
    font-weight: 700;
}

.local-list-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.project-section {
    background: var(--snow);
}

.section-heading-narrow {
    max-width: 860px;
}

.project-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 55px rgba(15, 42, 51, 0.09);
}

.project-card img {
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.project-card-content {
    padding: 2rem;
}

.project-card h3 {
    margin: 0.6rem 0 0.8rem;
    font-size: 1.9rem;
    font-weight: 700;
}

.project-card p {
    color: var(--muted);
}

.service-area-section {
    background: var(--snow);
}

.service-area-panel {
    padding: clamp(1.35rem, 4vw, 2.5rem);
    color: #fff;
    background:
        linear-gradient(110deg, rgba(18, 58, 72, 0.99), rgba(38, 89, 95, 0.96)),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15), transparent 35%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-area-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(0.65rem, 2vw, 1.25rem);
}

.service-area-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.25rem;
    color: var(--mountain);
    background: #fff;
    border-radius: 1rem;
    font-size: 1.55rem;
}

.service-area-intro h3 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
}

.service-area-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.service-area-grid {
    height: 100%;
}

.service-town {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    min-height: 112px;
    padding: 1.15rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.9rem;
    box-shadow: 0 10px 24px rgba(8, 31, 39, 0.13);
}

.service-town > i {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: var(--mountain-light);
    font-size: 1.15rem;
}

.service-town span {
    display: block;
    min-width: 0;
}

.service-town strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.2;
}

.service-town small {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.faq-section {
    background: #fff;
}

.accordion {
    --bs-accordion-border-color: var(--line);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(36, 88, 106, 0.12);
    --bs-accordion-active-bg: var(--ice);
    --bs-accordion-active-color: var(--ink);
}

.accordion-item {
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--line) !important;
    border-radius: 0.9rem !important;
}

.accordion-button {
    padding: 1.25rem 1.4rem;
    color: var(--ink);
    font-weight: 900;
    letter-spacing: 0.025em;
}

.accordion-body {
    color: var(--muted);
}

.final-cta-section {
    padding: 0 0 7rem;
}

.final-cta {
    padding: clamp(3rem, 7vw, 6rem) 1.5rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(11, 38, 49, 0.94), rgba(29, 82, 91, 0.9)),
        url("../img/retrofit-mini-split.webp") center/cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.final-cta h2 {
    max-width: 900px;
    margin: 0.5rem auto 1rem;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    font-weight: 700;
    line-height: 1.05;
}

.final-cta p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer {
    padding: 3rem 0 6rem;
    color: rgba(255, 255, 255, 0.68);
    background: var(--ink-deep);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer p {
    margin: 0;
    font-size: 0.82rem;
}

.site-footer a {
    color: #fff;
}

.footer-divider {
    margin: 0 0.55rem;
}

.copyright {
    margin-top: 0.55rem !important;
    font-size: 0.72rem !important;
}

.mobile-cta-bar {
    position: fixed;
    z-index: 1050;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 1.2rem;
    }

    .hero-section {
        padding: 4rem 0 5rem;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(9, 31, 39, 0.9) 0%, rgba(9, 31, 39, 0.73) 62%, rgba(9, 31, 39, 0.9) 100%);
    }

    .section-space {
        padding: 5rem 0;
    }

    .image-main {
        min-height: 500px;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-bottom: 70px;
    }

    .navbar {
        min-height: 70px;
    }

    .navbar-brand strong {
        font-size: 1.08rem;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .hero-section {
        min-height: auto;
        padding: 3.2rem 0 4rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 15vw, 4rem);
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-points {
        display: grid;
        gap: 0.5rem;
    }

    .lead-card {
        padding: 1.25rem;
        border-radius: 1.1rem;
    }

    .trust-item {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.73rem;
    }

    .section-space {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .service-card,
    .project-card-content {
        padding: 1.4rem;
    }

    .image-stack {
        padding: 0 0 4.5rem;
    }

    .image-main {
        min-height: 390px;
    }

    .local-badge {
        right: 0.75rem;
        bottom: 0.8rem;
        left: 0.75rem;
        max-width: none;
    }

    .project-card img {
        height: 280px;
    }

    .final-cta-section {
        padding-bottom: 4rem;
    }

    .service-area-panel,
    .final-cta {
        border-radius: 1.1rem;
    }

    .service-town {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
