:root {
    --primary: #738c6f;
    --primary-dark: #5a6e56;
    --primary-light: #8da889;
    --text-main: #1f2937;
    --text-soft: #475569;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: rgba(255, 255, 255, 0.94);
    --border-soft: rgba(115, 140, 111, 0.16);
    --shadow-soft: 0 24px 60px rgba(24, 39, 17, 0.08);
    --content-shell-max: 80rem;
    --chrome-shell-max: 96rem;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 0% 0%, rgba(141, 168, 137, 0.18), transparent 26%),
        radial-gradient(circle at 100% 16%, rgba(115, 140, 111, 0.14), transparent 24%),
        linear-gradient(180deg, #fbfcfb 0%, #f3f7f2 38%, #ffffff 100%);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

picture {
    display: block;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 9999px;
    pointer-events: none;
    z-index: -1;
    filter: blur(18px);
}

body::before {
    top: 5rem;
    left: -5rem;
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(115, 140, 111, 0.12) 0%, rgba(115, 140, 111, 0) 72%);
}

body::after {
    right: -4rem;
    bottom: 10rem;
    width: 14rem;
    height: 14rem;
    background: radial-gradient(circle, rgba(141, 168, 137, 0.14) 0%, rgba(141, 168, 137, 0) 74%);
}

h1,
h2,
h3,
.brand-mark {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

a {
    color: inherit;
}

.subpage-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem max(1.5rem, calc((100vw - var(--chrome-shell-max)) / 2));
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(115, 140, 111, 0.12);
    box-shadow: 0 18px 45px rgba(27, 44, 20, 0.08);
    backdrop-filter: blur(20px);
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    font-weight: 700;
}

.logo-link picture {
    display: inline-flex;
    flex-shrink: 0;
}

.logo-link img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-copy {
    display: flex;
    flex-direction: column;
}

.logo-copy small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
}

.brand-mark {
    color: var(--primary);
    font-size: 0.98rem;
    text-transform: uppercase;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.1rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary);
    background: rgba(244, 247, 243, 0.92);
    box-shadow: 0 10px 24px rgba(24, 39, 17, 0.08);
    transition: transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    color: var(--primary-dark);
    box-shadow: 0 14px 28px rgba(24, 39, 17, 0.12);
}

.back-link:focus-visible,
.btn:focus-visible,
.service-links a:focus-visible,
.breadcrumb a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.page-shell {
    max-width: var(--content-shell-max);
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.breadcrumb {
    margin: 0 0 1.5rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.breadcrumb li + li::before {
    content: '/';
    color: rgba(100, 116, 139, 0.7);
}

.breadcrumb a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.article-card,
.related-services,
.subpage-footer {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.article-card::before,
.related-services::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(115, 140, 111, 0), rgba(115, 140, 111, 0.34), rgba(115, 140, 111, 0));
}

.article-card {
    padding: 2rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    background: rgba(115, 140, 111, 0.12);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-article h1 {
    margin: 1rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    color: #0f172a;
}

.lead {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-soft);
    margin: 0 0 1.75rem;
}

.service-intro {
    display: grid;
    gap: 1.75rem;
    align-items: start;
    margin: 1rem 0 2rem;
}

.service-intro-copy .lead:last-child {
    margin-bottom: 0;
}

.service-hero-media {
    width: min(100%, 420px);
    margin: 0 auto;
}

.service-hero-img,
.article-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(115, 140, 111, 0.12);
    box-shadow: 0 18px 42px rgba(24, 39, 17, 0.12);
}

.service-hero-img {
    border-radius: 1.5rem;
}

.article-img {
    max-width: 640px;
    margin: 1.5rem auto;
    border-radius: 1.25rem;
}

.service-article section + section,
.service-article .price-box,
.service-article .cta {
    margin-top: 2rem;
}

.service-article h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    color: #0f172a;
}

.service-article p,
.service-article li {
    color: var(--text-soft);
    line-height: 1.82;
    font-size: 1rem;
}

.service-article p {
    margin: 0;
}

.service-article p + p {
    margin-top: 1rem;
}

.service-article ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.content-note,
.price-box {
    padding: 1.4rem 1.5rem;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, rgba(244, 247, 243, 0.96) 0%, rgba(238, 243, 237, 0.96) 100%);
    border: 1px solid var(--border-soft);
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin: 1.5rem 0 2rem;
}

.profile-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 1.6rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: var(--shadow-soft);
    background: var(--surface-strong);
}

.profile-photo picture {
    aspect-ratio: 3 / 4;
}

.profile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo figcaption {
    padding: 0.9rem 1rem 1rem;
    font-size: 0.92rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.92);
}

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

.fact-card {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(115, 140, 111, 0.12);
}

.fact-card strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.quote-callout {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 1rem 1rem 0;
    background: rgba(115, 140, 111, 0.08);
    color: var(--primary-dark);
    font-weight: 600;
}

.section-stack > * + * {
    margin-top: 1rem;
}

.price-box p strong {
    color: #0f172a;
}

.cta {
    padding: 1.8rem;
    border-radius: 1.6rem;
    background: linear-gradient(135deg, #eff4ee 0%, #e6efe4 100%);
    border: 1px solid rgba(115, 140, 111, 0.2);
}

.cta h2 {
    margin-bottom: 0.6rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 0.95rem 1.35rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-phone {
    color: #ffffff;
    background: linear-gradient(135deg, #6f896b 0%, #738c6f 48%, #8da889 100%);
    box-shadow: 0 14px 30px rgba(115, 140, 111, 0.24);
}

.btn-phone:hover {
    box-shadow: 0 18px 34px rgba(115, 140, 111, 0.3);
}

.btn-form {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(115, 140, 111, 0.16);
    box-shadow: 0 12px 26px rgba(24, 39, 17, 0.08);
}

.related-services {
    margin-top: 2rem;
    padding: 1.75rem;
}

.related-services h2 {
    margin: 0 0 0.8rem;
    font-size: 1.5rem;
}

.related-services p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.service-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(244, 247, 243, 0.94);
    border: 1px solid rgba(115, 140, 111, 0.14);
    box-shadow: 0 10px 22px rgba(24, 39, 17, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.service-links a:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: linear-gradient(135deg, #6f896b 0%, #738c6f 48%, #8da889 100%);
    box-shadow: 0 16px 28px rgba(115, 140, 111, 0.22);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 1rem;
}

.pricing-table th,
.pricing-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(115, 140, 111, 0.12);
}

.pricing-table th {
    color: #0f172a;
    background: rgba(115, 140, 111, 0.08);
    font-weight: 700;
}

.review-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.review-card {
    padding: 1.2rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(115, 140, 111, 0.12);
    box-shadow: 0 12px 26px rgba(24, 39, 17, 0.06);
}

.review-card strong {
    color: #0f172a;
}

.star-row {
    color: #d79d20;
    letter-spacing: 0.18em;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.map-container {
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid rgba(115, 140, 111, 0.14);
    box-shadow: 0 14px 30px rgba(24, 39, 17, 0.08);
}

.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(115, 140, 111, 0.14);
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(24, 39, 17, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.map-link:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: linear-gradient(135deg, #6f896b 0%, #738c6f 48%, #8da889 100%);
    box-shadow: 0 16px 28px rgba(115, 140, 111, 0.22);
}

.map-link:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.subpage-footer {
    margin: 0;
    padding: 3rem 0;
    max-width: none;
    background: #2c3329;
    color: #94a3b8;
    border: 0;
    border-top: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
}

.subpage-footer-inner {
    max-width: var(--chrome-shell-max);
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    gap: 2rem;
    align-items: start;
}

.subpage-footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin: 0;
}

.footer-info p + p {
    margin-top: 0.5rem;
}

.footer-brand {
    color: #ffffff;
    font-weight: 700;
}

.footer-info a {
    color: #ffffff;
    font-weight: 700;
}

.footer-info a:hover,
.footer-info a:focus-visible {
    color: #dbe4d9;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: center;
    font-weight: 500;
}

.footer-nav a {
    color: inherit;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: #738c6f;
}

@media (min-width: 768px) {
    .service-intro {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
        gap: 2rem;
    }

    .service-hero-media {
        width: 100%;
        max-width: 380px;
        margin: 0;
        justify-self: end;
    }

    .article-img {
        max-width: 560px;
    }
}

@media (min-width: 1024px) {
    .subpage-footer-inner {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }

    .footer-info {
        text-align: left;
    }

    .footer-nav {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .subpage-header {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .back-link,
    .btn,
    .service-links a {
        width: 100%;
    }

    .page-shell {
        padding: 1.5rem 1rem 3rem;
    }

    .article-card,
    .related-services {
        border-radius: 1.5rem;
    }

    .article-card {
        padding: 1.5rem;
    }

    .about-hero,
    .fact-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        justify-content: center;
    }
}

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

    .back-link,
    .btn,
    .service-links a {
        transition: none;
    }

    .back-link:hover,
    .btn:hover,
    .service-links a:hover {
        transform: none;
    }

    body::before,
    body::after {
        display: none;
    }
}
