:root {
    --bg: #f7f7f4;
    --paper: #ffffff;
    --ink: #111111;
    --muted: #686868;
    --line: #deded8;
    --accent: #ff5a36;
    --accent-2: #7d5cff;
    --accent-3: #35b86b;
    --max: 1180px;
    --radius: 22px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 247, 244);
    border-bottom: 1px solid var(--line);
}
.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: -0.04em;
}
.brand-dot {
    color: var(--accent);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.94rem;
    font-weight: 650;
}
.nav-links a:hover {
    opacity: 0.6;
}
.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 19px;
    font-weight: 780;
    transition: 0.2s ease;
    border: 1px solid var(--ink);
}
.nav-cta,
.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-light {
    background: transparent;
    color: var(--ink);
}
.nav-cta:hover,
.btn:hover {
    transform: translateY(-1px);
}
.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
}
.hero {
    padding: 26px 0 56px;
}
.eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 24px;
}
.hero h1,
.page-hero h1 {
    font-size: clamp(3.2rem, 8vw, 7.4rem);
    line-height: 0.92;
    letter-spacing: -0.075em;
    max-width: 1000px;
    margin: 0 0 30px;
    font-weight: 900;
}
.dot-a {
    color: var(--accent);
}
.dot-b {
    color: var(--accent-2);
}
.dot-c {
    color: var(--accent-3);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.8fr;
    gap: 44px;
    align-items: end;
}
.hero-copy {
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    max-width: 690px;
    color: #333;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.trust-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}
.trust-card strong {
    display: block;
    font-size: 2rem;
    letter-spacing: -0.04em;
}
.trust-card p {
    margin: 6px 0 0;
    color: var(--muted);
}
.strip {
    border-block: 1px solid var(--line);
    background: #fff;
}
.strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.strip-item {
    padding: 20px 14px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 750;
    border-right: 1px solid var(--line);
}
.strip-item:last-child {
    border-right: 0;
}
.section {
    padding: 88px 0;
}
.section-tight {
    padding: 64px 0;
}
.section-head {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 40px;
    margin-bottom: 42px;
}
.kicker {
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}
h2 {
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    margin: 0;
    font-weight: 900;
}
h3 {
    letter-spacing: -0.035em;
}
.lead {
    font-size: 1.12rem;
    color: #454545;
    max-width: 760px;
    margin: 0;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    min-height: 265px;
    display: flex;
    flex-direction: column;
}
.card-number {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 850;
}
.card h3 {
    font-size: 1.65rem;
    margin: 54px 0 10px;
}
.card p {
    color: var(--muted);
    margin: 0 0 22px;
}
.card-link {
    margin-top: auto;
    font-weight: 800;
}
.card-link:hover {
    text-decoration: underline;
}
.black {
    background: #111;
    color: #fff;
}
.black .kicker,
.black .lead,
.black p {
    color: #bdbdbd;
}
.black .line-card {
    border-color: #333;
}
.line-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #333;
    border: 1px solid #333;
}
.line-card {
    background: #111;
    padding: 34px;
    min-height: 210px;
}
.line-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}
.line-card p {
    margin: 0;
}
.work-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}
.placeholder-image {
    min-height: 460px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #e6e6df, #fdfdfb);
    border: 1px solid var(--line);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: var(--muted);
    font-weight: 750;
}
.work-note {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.work-note blockquote {
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin: 0;
}
.small {
    font-size: 0.9rem;
    color: var(--muted);
}
.area-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}
.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pill {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 11px 15px;
    font-weight: 700;
}
.faq {
    border-top: 1px solid var(--line);
}
details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
summary {
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 800;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: "+";
    font-size: 1.3rem;
}
details[open] summary::after {
    content: "–";
}
details p {
    max-width: 760px;
    color: var(--muted);
}
.cta-panel {
    background: var(--accent);
    border-radius: 32px;
    padding: clamp(34px, 7vw, 72px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
}
.cta-panel h2 {
    max-width: 760px;
}
.cta-panel .btn {
    background: #111;
    color: #fff;
    border-color: #111;
}
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
}
.contact-list {
    display: grid;
    gap: 12px;
}
.contact-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}
.contact-item small {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 800;
}
.contact-item strong {
    display: block;
    margin-top: 4px;
    font-size: 1.08rem;
}
form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.field {
    display: grid;
    gap: 7px;
}
.field.full {
    grid-column: 1/-1;
}
label {
    font-size: 0.85rem;
    font-weight: 800;
}
input,
textarea,
select {
    width: 100%;
    border: 1px solid #cfcfc8;
    border-radius: 12px;
    padding: 14px 15px;
    font: inherit;
    background: #fff;
}
textarea {
    min-height: 150px;
    resize: vertical;
}
button {
    font: inherit;
    cursor: pointer;
}
.form-status {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.site-footer {
    padding: 34px 0 50px;
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.9rem;
}
.page-hero {
    padding: 90px 0 64px;
}
.page-hero h1 {
    max-width: 900px;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}
.prose {
    max-width: 760px;
}
.prose h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 62px;
}
.prose h3 {
    font-size: 1.5rem;
    margin-top: 34px;
}
.prose p,
.prose li {
    color: #484848;
}
.prose ul {
    padding-left: 20px;
}
.sidebox {
    position: sticky;
    top: 110px;
    align-self: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.sidebox h3 {
    margin-top: 0;
}
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 28px;
}
@media (max-width: 860px) {
    .menu-btn {
        display: block;
    }
    .nav-links {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links .nav-cta {
        text-align: center;
    }
    .hero {
        padding-top: 56px;
    }
    .hero-grid,
    .section-head,
    .area-wrap,
    .contact-grid,
    .content-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .strip-inner {
        grid-template-columns: 1fr 1fr;
    }
    .strip-item:nth-child(2) {
        border-right: 0;
    }
    .strip-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
    .line-grid {
        grid-template-columns: 1fr;
    }
    .sidebox {
        position: static;
    }
    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--max));
    }
    .hero h1,
    .page-hero h1 {
        font-size: clamp(3rem, 17vw, 5rem);
    }
    .section {
        padding: 68px 0;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .field.full {
        grid-column: auto;
    }
    .strip-inner {
        grid-template-columns: 1fr;
    }
    .strip-item {
        border-right: 0 !important;
        border-bottom: 1px solid var(--line);
    }
    .strip-item:last-child {
        border-bottom: 0;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .cta-panel {
        border-radius: 22px;
    }
    .placeholder-image {
        min-height: 330px;
    }
}

/* JM Plastering brand assets */
.brand-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}
.brand-logo img {
    display: block;
    width: auto;
    height: 54px;
    max-width: 100%;
    object-fit: contain;
}
.footer-brand img {
    display: block;
    width: auto;
    height: 74px;
    max-width: 260px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 10px;
}

/* Recent work / swipe gallery */
.placeholder-image.portfolio-slider {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    min-height: 460px;
    background: #111;
    border: 1px solid var(--line);
    color: #fff;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}
.placeholder-image.portfolio-slider.dragging {
    cursor: grabbing;
}
.portfolio-track {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 460px;
    transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.portfolio-slide {
    position: relative;
    flex: 0 0 100%;
    height: 460px;
    margin: 0;
    background: #111;
    overflow: hidden;
}
.portfolio-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.portfolio-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.72);
    backdrop-filter: blur(8px);
    color: #fff;
    font:
        700 1.2rem/1 Arial,
        sans-serif;
    display: grid;
    place-items: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.2s ease;
}
.portfolio-arrow:hover {
    background: #fff;
    color: #111;
}
.portfolio-prev {
    left: 18px;
}
.portfolio-next {
    right: 18px;
}
.portfolio-meta {
    position: absolute;
    z-index: 3;
    left: 18px;
    right: 18px;
    bottom: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
    pointer-events: none;
}
.portfolio-counter {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 7px 10px;
    text-shadow: none;
}
.portfolio-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    max-width: 38%;
    overflow: hidden;
    pointer-events: auto;
}
.portfolio-dot {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: 0.2s ease;
}
.portfolio-dot.active {
    width: 18px;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 860px) {
    .footer-brand img {
        height: 64px;
        max-width: 220px;
    }
        .brand-logo img {
        height: 42px;
        max-width: 245px;
    }
}
@media (max-width: 560px) {
    .brand-logo img {
        height: 42px;
        max-width: 245px;
    }
    .placeholder-image.portfolio-slider,
    .portfolio-track {
        min-height: 390px;
    }
    .portfolio-slide {
        height: 390px;
    }
    .portfolio-arrow {
        width: 40px;
        height: 40px;
    }
    .portfolio-prev {
        left: 12px;
    }
    .portfolio-next {
        right: 12px;
    }
    .portfolio-meta {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .portfolio-meta > span:last-child {
        display: none;
    }
    .portfolio-dots {
        bottom: 18px;
        max-width: 46%;
    }
}
/* =========================
   HERO GOOGLE REVIEWS
========================= */

.hero-reviews {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 34px;
}

.google-review-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.google-review-logo svg {
    display: block;
    width: 38px;
    height: 38px;
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.hero-stars span {
    color: #fbbc04;
    font-size: 28px;
    line-height: 1;
}

.review-divider {
    width: 1px;
    height: 42px;
    background: #b8b8b8;
    margin: 0 5px;
}

.review-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.review-copy strong {
    color: #0b0b0b;
    font-size: 16px;
    font-weight: 700;
}

.review-copy span {
    color: #777;
    font-size: 14px;
}


/* Mobile */
@media (max-width: 700px) {

    .hero-reviews {
        gap: 9px;
        margin: 18px 0 30px;
    }

    .google-review-logo svg {
        width: 30px;
        height: 30px;
    }

    .hero-stars {
        gap: 0;
    }

    .hero-stars span {
        font-size: 22px;
    }

    .review-divider {
        height: 34px;
        margin: 0 3px;
    }

    .review-copy strong {
        font-size: 13px;
    }

    .review-copy span {
        font-size: 12px;
    }
}


/* Very small phones */
@media (max-width: 390px) {

    .hero-reviews {
        gap: 7px;
    }

    .google-review-logo svg {
        width: 26px;
        height: 26px;
    }

    .hero-stars span {
        font-size: 19px;
    }

    .review-copy strong {
        font-size: 12px;
    }

    .review-copy span {
        font-size: 11px;
    }
}
.krend-feature {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 32px;

    padding: 32px;
    margin: 32px 0 48px;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: #fff;
}

.krend-logo {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
}

.krend-feature h3 {
    margin: 0 0 8px;
}

.krend-feature p {
    margin: 0;
}


@media (max-width: 650px) {

    .krend-feature {
        grid-template-columns: 1fr;
        gap: 20px;

        padding: 24px;
    }

    .krend-logo {
        max-width: 130px;
    }

}