:root {
    --primary: #4B6FB2;
    --primary-soft: rgba(75, 111, 178, 0.1);
    --primary-border: rgba(75, 111, 178, 0.16);
    --bg-light: #f1f5f9;
    --bg-page: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #5f6b7a;
    --shadow: 0 18px 55px rgba(75, 111, 178, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    color: inherit;
}

.top-banner {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 0.55rem 1rem;
    font-weight: 600;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(12px);
}

.site-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 82px;
    width: auto;
    display: block;
}

.header-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.header-links a {
    text-decoration: none;
    font-weight: 700;
    color: var(--text-dark);
}

.header-links a.primary-link {
    background: var(--primary);
    color: var(--white);
    padding: 0.7rem 1rem;
    border-radius: 999px;
}

main {
    padding: 2rem 1.5rem 4rem;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.breadcrumbs span[aria-current="page"] {
    font-weight: 700;
    color: var(--text-dark);
}

.hero-card,
.section-card,
.callout-card {
    background: var(--white);
    border: 1px solid var(--primary-border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.section-card,
.callout-card {
    padding: 1.65rem 1.75rem;
    margin-bottom: 1.5rem;
}

.section-card:last-child,
.callout-card:last-child {
    margin-bottom: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.08;
    margin-bottom: 0.4rem;
}

.lead,
.section-copy,
.job-copy p,
.town-copy p {
    color: var(--text-gray);
    font-size: 1.05rem;
    max-width: 68ch;
}

.hero-actions,
.section-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.pill-link,
.service-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.pill-link,
.secondary-button {
    color: var(--primary);
    background: rgba(75, 111, 178, 0.08);
    border: 1px solid rgba(75, 111, 178, 0.18);
    padding: 0.72rem 1rem;
}

.pill-link:hover,
.secondary-button:hover,
.service-button:hover {
    transform: translateY(-1px);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.78rem 1.1rem;
}

.grid {
    display: grid;
    gap: 1rem;
}

.town-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-link,
.service-card,
.detail-card {
    background: var(--white);
    border: 1px solid rgba(75, 111, 178, 0.14);
    border-radius: 22px;
    padding: 1.1rem;
    box-shadow: 0 14px 30px rgba(75, 111, 178, 0.07);
}

.card-link {
    text-decoration: none;
    display: block;
}

.card-link strong,
.service-card strong,
.detail-card strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
}

.card-link span,
.service-card p,
.detail-card p {
    color: var(--text-gray);
    font-size: 0.98rem;
}

.service-button {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(75, 111, 178, 0.16);
    background: rgba(75, 111, 178, 0.06);
    color: var(--text-dark);
    border-radius: 18px;
    text-align: center;
}

.content-stack {
    display: grid;
    gap: 1.1rem;
}

.jobs-gallery-section {
    display: grid;
    gap: 1rem;
}

.jobs-showcase {
    --jobs-gap: 0.75rem;
    --jobs-tile-size: 118px;
    --jobs-count: 11;
    background: rgba(75, 111, 178, 0.12);
    border: 1px solid rgba(75, 111, 178, 0.18);
    border-radius: 24px;
    padding: 1rem;
    overflow: hidden;
}

.jobs-showcase--areas {
    width: 100%;
}

.jobs-carousel {
    overflow: hidden;
}

.jobs-track {
    display: flex;
    width: max-content;
    animation: jobs-carousel-scroll 240s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.jobs-grid {
    display: flex;
    gap: var(--jobs-gap);
    padding-right: var(--jobs-gap);
    flex: 0 0 auto;
}

.job-tile {
    width: var(--jobs-tile-size);
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 24px rgba(26, 26, 26, 0.08);
}

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

@keyframes jobs-carousel-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-1 * ((var(--jobs-tile-size) * var(--jobs-count)) + (var(--jobs-gap) * var(--jobs-count)))), 0, 0);
    }
}

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

.seo-card {
    background: rgba(75, 111, 178, 0.06);
    border: 1px solid rgba(75, 111, 178, 0.12);
    border-radius: 22px;
    padding: 1.15rem;
}

.seo-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.55rem;
}

.seo-card p {
    color: var(--text-gray);
    font-size: 0.98rem;
}

.keyword-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.keyword-list li {
    background: rgba(75, 111, 178, 0.05);
    border: 1px solid rgba(75, 111, 178, 0.1);
    border-radius: 16px;
    padding: 0.85rem 0.95rem;
    color: var(--text-gray);
}

.social-section {
    display: grid;
    gap: 1rem;
}

.review-section {
    display: grid;
    gap: 1.1rem;
}

.review-section-intro {
    display: grid;
    gap: 1rem;
}

.review-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.review-summary-pill {
    min-width: 170px;
    background: linear-gradient(180deg, rgba(75, 111, 178, 0.1) 0%, rgba(75, 111, 178, 0.04) 100%);
    border: 1px solid rgba(75, 111, 178, 0.14);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    display: grid;
    gap: 0.2rem;
}

.review-summary-pill strong {
    font-size: 1.35rem;
    line-height: 1;
}

.review-summary-pill span {
    color: var(--text-gray);
    font-size: 0.92rem;
}

.review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

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

.review-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 251, 255, 1) 100%);
    border: 1px solid rgba(75, 111, 178, 0.12);
    border-radius: 22px;
    padding: 1.1rem;
    box-shadow: 0 14px 30px rgba(75, 111, 178, 0.06);
    display: grid;
    gap: 0.6rem;
}

.review-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
}

.review-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    background: rgba(75, 111, 178, 0.1);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.review-date {
    color: var(--text-gray);
    font-size: 0.88rem;
    font-weight: 600;
}

.review-card strong {
    font-size: 1.06rem;
}

.review-service {
    color: var(--primary);
    font-size: 0.93rem;
    font-weight: 700;
}

.review-summary {
    color: var(--text-gray);
    font-size: 0.97rem;
}

.review-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.review-footnote {
    color: var(--text-gray);
    font-size: 0.92rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-links a {
    text-decoration: none;
}

.social-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.social-panel {
    background: var(--white);
    border: 1px solid rgba(75, 111, 178, 0.12);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(75, 111, 178, 0.08);
    overflow: hidden;
}

.social-panel-header {
    padding: 1rem 1.1rem 0.85rem;
    border-bottom: 1px solid rgba(75, 111, 178, 0.1);
}

.social-panel-header h3 {
    font-size: 1.12rem;
    margin-bottom: 0.3rem;
}

.social-panel-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.instagram-feed {
    max-height: 760px;
    overflow-y: auto;
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 1) 100%);
}

.instagram-embed-card {
    background: var(--white);
    border: 1px solid rgba(75, 111, 178, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(75, 111, 178, 0.07);
}

.instagram-embed-shell {
    position: relative;
    min-height: 690px;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
}

.instagram-embed-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    color: var(--text-gray);
    font-weight: 600;
    text-align: center;
}

.instagram-embed-shell.is-loaded .instagram-embed-loading {
    opacity: 0;
    pointer-events: none;
}

.instagram-embed {
    width: 100%;
    height: 690px;
    border: 0;
    display: block;
    background: var(--white);
}

.instagram-embed-meta {
    padding: 0.95rem 1rem 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(75, 111, 178, 0.08);
}

.instagram-embed-meta span {
    color: var(--text-gray);
    font-size: 0.92rem;
    line-height: 1.5;
    flex: 1 1 240px;
}

.instagram-embed-meta a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.instagram-card {
    background: var(--white);
    border: 1px solid rgba(75, 111, 178, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(75, 111, 178, 0.07);
}

.instagram-card a {
    text-decoration: none;
}

.instagram-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-light);
}

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

.instagram-card-body {
    padding: 0.95rem 1rem 1rem;
    display: grid;
    gap: 0.65rem;
}

.instagram-caption {
    color: var(--text-gray);
    font-size: 0.96rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.instagram-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-gray);
}

.instagram-meta a {
    color: var(--primary);
    font-weight: 700;
}

.instagram-empty {
    padding: 1rem;
    color: var(--text-gray);
}

.facebook-embed {
    padding: 1rem;
}

.facebook-embed iframe {
    width: 100%;
    min-height: 760px;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
}

.town-list,
.bullet-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.bullet-list li,
.town-list li {
    background: rgba(75, 111, 178, 0.06);
    border: 1px solid rgba(75, 111, 178, 0.1);
    border-radius: 18px;
    padding: 0.95rem 1rem;
}

.footer {
    border-top: 1px solid rgba(229, 231, 235, 0.9);
    background: var(--white);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.8rem 1.5rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-gray);
}

.footer-links {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 900px) {
    .town-grid,
    .service-grid,
    .seo-grid,
    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 700px) {
    .site-header-inner,
    main,
    .footer-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-header-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-links {
        justify-content: flex-start;
    }

    .logo img {
        height: 68px;
    }

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

    .hero-card,
    .section-card,
    .callout-card {
        padding: 1.35rem;
    }

    .town-grid,
    .service-grid,
    .seo-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .button-row,
    .hero-actions,
    .section-actions,
    .review-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .social-links {
        flex-direction: column;
    }

    .jobs-showcase {
        --jobs-gap: 0.55rem;
        --jobs-tile-size: 96px;
        padding: 0.85rem;
        border-radius: 20px;
    }

    .instagram-feed,
    .facebook-embed iframe {
        max-height: none;
        min-height: 620px;
    }

    .instagram-embed-shell,
    .instagram-embed {
        min-height: 620px;
        height: 620px;
    }

    .pill-link,
    .primary-button,
    .secondary-button {
        width: 100%;
    }
}
