/* ============================================================
   modern.css — modern design layer for Best Local Carpet Cleaners
   Loaded AFTER master.css so it overrides the legacy styles.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --m-teal: #2fa8b5;
    --m-teal-dark: #1f8d99;
    --m-navy: #11343c;
    --m-ink: #22343a;
    --m-muted: #5f7479;
    --m-soft: #f3f9fa;
    --m-border: #e3edee;
    --m-gold: #f5b301;
    --m-shadow: 0 12px 32px rgba(17, 52, 60, 0.10);
    --m-radius: 16px;
}

/* ---------- Base overrides ---------- */

body {
    font: 16px/1.7 'Inter', 'Open Sans', sans-serif;
    color: var(--m-muted);
}

.content {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Denk One', sans-serif;
    color: var(--m-ink);
    font-weight: 700;
}

::selection {
    background: var(--m-teal);
    color: #fff;
}

/* ---------- Buttons ---------- */

.m-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 999px;
    font: 600 15px/1 'Inter', sans-serif;
    letter-spacing: .3px;
    transition: all .25s ease;
    cursor: pointer;
}

.m-btn-primary {
    background: linear-gradient(135deg, var(--m-teal), var(--m-teal-dark));
    color: #fff;
    box-shadow: 0 8px 20px rgba(47, 168, 181, .35);
}

    .m-btn-primary:hover {
        transform: translateY(-2px);
        color: #fff;
        box-shadow: 0 12px 26px rgba(47, 168, 181, .45);
    }

.m-btn-outline {
    border: 2px solid var(--m-teal);
    color: var(--m-teal-dark);
    background: #fff;
}

    .m-btn-outline:hover {
        background: var(--m-teal);
        color: #fff;
    }

.m-btn-light {
    background: #fff;
    color: var(--m-navy);
}

    .m-btn-light:hover {
        background: var(--m-soft);
        color: var(--m-navy);
        transform: translateY(-2px);
    }

/* ---------- Layout primitives ---------- */

.m-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.m-section {
    padding: 80px 0;
}

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

.m-section-head {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 50px;
}

    .m-section-head h2 {
        font-size: 38px;
        line-height: 1.2;
        padding: 0;
        margin: 0 0 14px;
        text-align: center;
        letter-spacing: -.5px;
    }

    .m-section-head p {
        font-size: 16px;
        margin: 0;
        text-align: center;
    }

.m-eyebrow {
    color: var(--m-teal-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font: 700 13px/1 'Inter', sans-serif;
    display: block;
    margin-bottom: 14px;
}

/* ---------- Header ---------- */

.m-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--m-border);
    box-shadow: 0 2px 18px rgba(17, 52, 60, .06);
    overflow: visible;
    margin: 0;
}

.m-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.m-logo img {
    width: 190px;
    height: auto;
    display: block;
}

.m-header nav {
    padding: 0;
    width: auto !important;
    flex: 1;
}

.m-header .sf-menu > li {
    font: 600 15px/1 'Inter', sans-serif;
    top: 0;
}

    .m-header .sf-menu > li + li {
        margin-left: 26px;
    }

    .m-header .sf-menu > li > a {
        color: var(--m-ink);
        padding: 8px 0;
        position: relative;
    }

        .m-header .sf-menu > li > a:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            height: 2px;
            width: 0;
            background: var(--m-teal);
            transition: width .25s ease;
        }

        .m-header .sf-menu > li > a:hover:after,
        .m-header .sf-menu > li.current > a:after {
            width: 100%;
        }

        .m-header .sf-menu > li.current > a,
        .m-header .sf-menu > li > a:hover {
            color: var(--m-teal-dark);
        }

.m-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--m-navy);
    color: #fff !important;
    font: 600 15px/1 'Inter', sans-serif;
    white-space: nowrap;
    transition: background .25s ease;
}

    .m-header-phone:hover {
        background: var(--m-teal);
    }

.m-header .show-menu {
    border-radius: 10px;
    background: var(--m-navy);
    font: 600 14px/1 'Inter', sans-serif;
    padding: 12px;
    cursor: pointer;
    color: #fff;
}

/* ---------- Hero ---------- */

.m-hero {
    background: linear-gradient(160deg, #eef8f9 0%, #dff1f3 55%, #d2ebee 100%);
    position: relative;
    overflow: hidden;
}

.m-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 20px 70px;
    display: flex;
    align-items: center;
    gap: 56px;
}

.m-hero-copy {
    flex: 1.05;
}

.m-hero-eyebrow {
    display: inline-block;
    background: #fff;
    color: var(--m-teal-dark);
    font: 600 13px/1 'Inter', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: var(--m-shadow);
    margin-bottom: 24px;
}

.m-hero h1 {
    font-size: 52px;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -1.2px;
    padding: 0;
}

    .m-hero h1 span {
        color: var(--m-teal-dark);
    }

.m-hero-sub {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 560px;
}

.m-hero-ticks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

    .m-hero-ticks li {
        font: 600 14px/1.4 'Inter', sans-serif;
        color: var(--m-ink);
    }

        .m-hero-ticks li:before {
            content: '\2713';
            color: var(--m-teal-dark);
            font-weight: 700;
            margin-right: 8px;
        }

.m-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.m-hero-media {
    flex: 1;
    position: relative;
}

    .m-hero-media img {
        width: 100%;
        border-radius: 24px;
        box-shadow: 0 24px 60px rgba(17, 52, 60, .18);
        display: block;
    }

.m-hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--m-shadow);
    padding: 14px 22px;
    font: 600 14px/1.4 'Inter', sans-serif;
    color: var(--m-ink);
}

    .m-hero-badge strong {
        display: block;
        color: var(--m-gold);
        font-size: 16px;
        letter-spacing: 3px;
    }

/* ---------- Trust bar ---------- */

.m-trustbar {
    background: linear-gradient(135deg, var(--m-navy), #185f6b);
    padding: 18px 0;
}

.m-trustbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 30px;
}

    .m-trustbar-inner span {
        color: #dff3f5;
        font: 600 14px/1.4 'Inter', sans-serif;
    }

/* ---------- About split ---------- */

.m-about {
    display: flex;
    gap: 56px;
    align-items: center;
}

.m-about-media {
    flex: 1;
}

    .m-about-media img {
        width: 100%;
        border-radius: 24px;
        box-shadow: var(--m-shadow);
        display: block;
    }

.m-about-copy {
    flex: 1.1;
}

    .m-about-copy h2 {
        font-size: 36px;
        line-height: 1.2;
        text-align: left;
        padding: 0;
        margin: 0 0 18px;
        letter-spacing: -.5px;
    }

.m-stats {
    display: flex;
    gap: 38px;
    margin-top: 28px;
}

    .m-stats div strong {
        display: block;
        font: 700 32px/1 'Poppins', sans-serif;
        color: var(--m-teal-dark);
        margin-bottom: 6px;
    }

    .m-stats div span {
        font: 600 12px/1.4 'Inter', sans-serif;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--m-muted);
    }

/* ---------- Service cards ---------- */

.m-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.m-card {
    background: #fff;
    border-radius: var(--m-radius);
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(17, 52, 60, .07);
    border: 1px solid var(--m-border);
    transition: transform .3s ease, box-shadow .3s ease;
    display: block;
    color: inherit;
}

    .m-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(17, 52, 60, .14);
        color: inherit;
    }

    .m-card img {
        width: 100%;
        height: 172px;
        object-fit: cover;
        display: block;
    }

.m-card-body {
    padding: 22px 22px 24px;
}

    .m-card-body h3 {
        font: 700 19px/1.3 'Poppins', sans-serif;
        padding: 0;
        margin: 0 0 10px;
        color: var(--m-ink);
    }

    .m-card-body p {
        font-size: 14px;
        line-height: 1.65;
        margin: 0 0 14px;
        text-align: left;
    }

.m-card-more {
    font: 600 14px/1 'Inter', sans-serif;
    color: var(--m-teal-dark);
}

.m-card:hover .m-card-more {
    text-decoration: underline;
}

.m-section-foot {
    text-align: center;
    margin-top: 44px;
}

/* ---------- Before / After gallery ---------- */

.m-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

    .m-gallery a {
        display: block;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 18px rgba(17, 52, 60, .10);
    }

    .m-gallery img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        display: block;
        transition: transform .35s ease;
    }

    .m-gallery a:hover img {
        transform: scale(1.07);
    }

/* ---------- Testimonials ---------- */

.m-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.m-review {
    background: #fff;
    border-radius: var(--m-radius);
    padding: 28px;
    box-shadow: 0 6px 22px rgba(17, 52, 60, .07);
    border: 1px solid var(--m-border);
}

.m-review-stars {
    color: var(--m-gold);
    letter-spacing: 3px;
    font-size: 15px;
    margin-bottom: 12px;
}

.m-review p {
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    color: var(--m-ink);
    margin-bottom: 14px;
    text-align: left;
}

.m-review-author {
    font: 600 14px/1 'Inter', sans-serif;
    color: var(--m-teal-dark);
}

/* ---------- Why us / offers split ---------- */

.m-split {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.m-why {
    flex: 1;
    background: var(--m-navy);
    border-radius: 20px;
    padding: 36px;
    color: #cfe6e9;
}

    .m-why h3 {
        color: #fff;
        font-size: 22px;
        line-height: 1.3;
        padding: 0;
        margin: 0 0 20px;
    }

.m-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .m-checklist li {
        padding-left: 36px;
        position: relative;
        margin-bottom: 14px;
        font: 500 14px/1.55 'Inter', sans-serif;
    }

        .m-checklist li:before {
            content: '\2713';
            position: absolute;
            left: 0;
            top: 1px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--m-teal);
            color: #fff;
            font-size: 12px;
            line-height: 22px;
            text-align: center;
            font-weight: 700;
        }

.m-offerbox {
    flex: 1;
    background: #fff;
    border: 1px solid var(--m-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 6px 22px rgba(17, 52, 60, .07);
}

    .m-offerbox h3 {
        font-size: 22px;
        line-height: 1.3;
        padding: 0;
        margin: 0 0 20px;
        color: var(--m-ink);
    }

    .m-offerbox ol, .m-offerbox ul {
        list-style: none;
        padding: 0;
        margin: 0 0 20px;
    }

    .m-offerbox li {
        padding: 10px 0 10px 30px;
        position: relative;
        font-size: 14px;
        border-bottom: 1px dashed var(--m-border);
    }

        .m-offerbox li:before {
            content: '\2605';
            position: absolute;
            left: 0;
            color: var(--m-gold);
        }

    .m-offerbox img {
        border-radius: 12px;
        display: block;
        max-width: 100%;
    }

/* ---------- CTA band ---------- */

.m-cta {
    background: linear-gradient(135deg, var(--m-teal) 0%, var(--m-navy) 100%);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    color: #fff;
    box-shadow: var(--m-shadow);
}

    .m-cta h2 {
        color: #fff;
        font-size: 34px;
        line-height: 1.2;
        padding: 0;
        margin: 0 0 12px;
        text-align: center;
        letter-spacing: -.5px;
    }

    .m-cta p {
        color: #d8eef1;
        margin-bottom: 28px;
        font-size: 16px;
        text-align: center;
    }

.m-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.m-footer {
    background: var(--m-navy);
    color: #9fc0c5;
    padding: 64px 0 0;
    border-top: none;
    text-align: left;
}

.m-footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 44px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
}

.m-footer h4 {
    color: #fff;
    font: 600 16px/1.4 'Poppins', sans-serif;
    margin: 0 0 18px;
    padding: 0;
}

.m-footer p {
    font-size: 14px;
    line-height: 1.7;
}

.m-footer a {
    color: #9fc0c5;
}

    .m-footer a:hover {
        color: #fff;
    }

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

    .m-footer-links li {
        margin-bottom: 10px;
        font-size: 14px;
    }

.m-footer-logo img {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .92;
    display: block;
    margin-bottom: 18px;
}

.m-footer .footer_socials {
    margin-bottom: 22px;
}

    .m-footer .footer_socials .fa {
        border-radius: 12px;
        font-size: 18px;
        width: 44px;
        height: 44px;
        line-height: 44px;
        background: rgba(255, 255, 255, .08);
        color: #fff;
    }

        .m-footer .footer_socials .fa:hover {
            background: var(--m-teal);
        }

.m-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #7da4aa;
}

    .m-footer-bottom a {
        color: #aacdd2;
    }

/* ---------- Floating phone button ---------- */

.phone-button {
    background: linear-gradient(135deg, var(--m-teal), var(--m-teal-dark));
    box-shadow: 0 8px 24px rgba(47, 168, 181, .5);
    animation: m-pulse 2.4s infinite;
}

@keyframes m-pulse {
    0% { box-shadow: 0 0 0 0 rgba(47, 168, 181, .45); }
    70% { box-shadow: 0 0 0 18px rgba(47, 168, 181, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 168, 181, 0); }
}

/* ---------- Prose (long-form article pages) ---------- */

.m-prose h3 {
    font-size: 20px;
    line-height: 1.35;
    padding: 0;
    margin: 30px 0 10px;
    color: var(--m-ink);
}

.m-prose p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.75;
}

.m-prose ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

    .m-prose ul li {
        padding-left: 34px;
        position: relative;
        margin-bottom: 10px;
        font-size: 15px;
    }

        .m-prose ul li:before {
            content: '\2713';
            position: absolute;
            left: 0;
            top: 2px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--m-soft);
            color: var(--m-teal-dark);
            font-size: 12px;
            line-height: 22px;
            text-align: center;
            font-weight: 700;
        }

.m-prose ol {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    counter-reset: m-counter;
}

    .m-prose ol li {
        counter-increment: m-counter;
        padding-left: 46px;
        position: relative;
        margin-bottom: 16px;
        font-size: 15px;
        line-height: 1.7;
    }

        .m-prose ol li:before {
            content: counter(m-counter);
            position: absolute;
            left: 0;
            top: 0;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--m-teal);
            color: #fff;
            font: 700 14px/30px 'Poppins', sans-serif;
            text-align: center;
        }

.m-prose b, .m-prose strong {
    color: var(--m-ink);
}

.m-split-article {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

    .m-split-article .m-prose {
        flex: 1.4;
    }

.m-article-side {
    flex: 1;
    position: sticky;
    top: 100px;
}

    .m-article-side img {
        width: 100%;
        border-radius: 24px;
        box-shadow: var(--m-shadow);
        display: block;
    }

/* ---------- Dynamic service content (raw HTML from DB / CKEditor) ----------
   These rules style arbitrary editor-generated markup without touching it:
   headings, paragraphs, image rows, embedded videos, lists, links, tables. */

.m-service-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--m-muted);
    overflow-wrap: break-word;
}

    /* Hide broken editor images: local C:\ paths and pasted embed code as src */
    .m-service-content img[src^="C:"],
    .m-service-content img[src^="c:"],
    .m-service-content img[src^="file:"],
    .m-service-content img[src^="<"],
    .m-service-content img[src=""] {
        display: none;
    }

    /* Headings: no decorations (DB headings often contain images or only
       whitespace), just clean centered typography. !important is required to
       beat the editor's inline styles. */
    .m-service-content h1,
    .m-service-content h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 28px;
        line-height: 1.35;
        font-style: normal !important;
        color: var(--m-ink);
        text-align: center;
        padding: 0;
        margin: 36px 0 16px;
        letter-spacing: -.3px;
    }

    .m-service-content > h1:first-child,
    .m-service-content > h2:first-child {
        font-size: 34px;
        margin-top: 0;
    }

    /* Headings the editor used purely as image containers: collapse the
       &nbsp; filler runs so images sit centered without odd offsets */
    .m-service-content :is(h1, h2):has(img) {
        font-size: 0 !important;
        line-height: 0;
        margin: 16px 0;
    }

    /* Center paragraphs that directly contain images (photo rows) */
    .m-service-content p:has(> img) {
        text-align: center;
    }

    /* Strip editor inline fonts/sizes/colours inside any heading */
    .m-service-content :is(h1, h2, h3, h4) :is(span, strong, b, em, i, font, u) {
        font-family: inherit !important;
        font-size: inherit !important;
        font-style: normal !important;
        font-weight: inherit !important;
        color: inherit !important;
        background: none !important;
    }

    /* Normalize body text: unify the editor's mixed fonts and sizes */
    .m-service-content p span,
    .m-service-content li span {
        font-family: 'Inter', sans-serif !important;
        font-size: 16px !important;
        line-height: 1.8 !important;
        background: none !important;
    }

    .m-service-content p strong,
    .m-service-content p b {
        font-style: normal !important;
        background: none !important;
    }

    /* Inline-coloured emphasis from the editor → brand accent colour
       (matches style="color:..." but not background-color) */
    .m-service-content p span[style^="color"],
    .m-service-content p span[style*=" color"],
    .m-service-content p span[style*=";color"] {
        color: var(--m-teal-dark) !important;
        font-weight: 600;
    }

    /* Editor 'large text' emphasis stays slightly larger */
    .m-service-content p span[style*="font-size:20px"],
    .m-service-content p span[style*="font-size: 20px"],
    .m-service-content p span[style*="font-size:18px"],
    .m-service-content p span[style*="font-size: 18px"] {
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    /* FAQ-style sub-headings */
    .m-service-content h3 {
        font-family: 'Poppins', sans-serif;
        font-size: 18px;
        line-height: 1.45;
        color: var(--m-ink);
        background: var(--m-soft);
        border-left: 4px solid var(--m-teal);
        border-radius: 0 12px 12px 0;
        padding: 14px 18px;
        margin: 32px 0 14px;
    }

    .m-service-content h4 {
        font-size: 17px;
        padding: 0;
        margin: 26px 0 10px;
        color: var(--m-ink);
    }

    .m-service-content p {
        margin-bottom: 18px;
    }

    .m-service-content b,
    .m-service-content strong {
        color: var(--m-ink);
        font-weight: 700;
    }

    .m-service-content a {
        color: var(--m-teal-dark);
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .m-service-content a:hover {
            color: var(--m-navy);
        }

    /* Images: rounded with shadow; consecutive images flow as a gallery row */
    .m-service-content img {
        max-width: 100%;
        height: auto;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(17, 52, 60, .12);
        display: inline-block;
        vertical-align: middle;
        margin: 8px 6px;
        transition: transform .3s ease;
    }

        .m-service-content img:hover {
            transform: scale(1.02);
        }

    /* Embedded videos (Facebook / YouTube iframes) */
    .m-service-content iframe {
        max-width: 100%;
        border: 0;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(17, 52, 60, .12);
        display: block;
        margin: 24px auto;
    }

    /* Lists keep the m-prose treatment but tighten editor defaults */
    .m-service-content ul,
    .m-service-content ol {
        margin-bottom: 22px;
    }

    .m-service-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        font-size: 14px;
    }

        .m-service-content table td,
        .m-service-content table th {
            border: 1px solid var(--m-border);
            padding: 10px 14px;
            text-align: left;
        }

        .m-service-content table th {
            background: var(--m-soft);
            color: var(--m-ink);
        }

    .m-service-content hr {
        border: 0;
        border-top: 1px solid var(--m-border);
        margin: 32px 0;
    }

    .m-service-content blockquote {
        border-left: 4px solid var(--m-teal);
        background: var(--m-soft);
        border-radius: 0 12px 12px 0;
        padding: 16px 20px;
        margin: 20px 0;
        font-style: italic;
    }

/* ---------- Price list ---------- */

.m-pricegrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: start;
}

.m-pricecol {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.m-pricecard {
    background: #fff;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
    padding: 26px;
    box-shadow: 0 6px 22px rgba(17, 52, 60, .07);
}

    .m-pricecard h3 {
        font-size: 18px;
        line-height: 1.3;
        padding: 0 0 12px;
        margin: 0 0 16px;
        color: var(--m-teal-dark);
        border-bottom: 2px solid var(--m-soft);
    }

    .m-pricecard .list2 li {
        font-size: 14px;
    }

.m-notes {
    margin-top: 40px;
    background: var(--m-soft);
    border-left: 4px solid var(--m-teal);
    border-radius: 0 14px 14px 0;
    padding: 24px 28px;
}

    .m-notes ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .m-notes li {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 10px;
        padding-left: 24px;
        position: relative;
    }

        .m-notes li:before {
            content: '\2139';
            position: absolute;
            left: 0;
            color: var(--m-teal-dark);
            font-weight: 700;
        }

/* ---------- Contact page ---------- */

.m-contact-split {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.m-contact-info {
    flex: 1;
    background: var(--m-navy);
    border-radius: 20px;
    padding: 32px;
    color: #cfe6e9;
}

    .m-contact-info h3 {
        color: #fff;
        font-size: 22px;
        padding: 0;
        margin: 0 0 18px;
    }

    .m-contact-info iframe {
        width: 100%;
        height: 280px;
        border: 0;
        border-radius: 14px;
        margin-bottom: 20px;
        display: block;
    }

    .m-contact-info p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 0;
    }

    .m-contact-info a {
        color: #fff;
        font-weight: 600;
    }

        .m-contact-info a:hover {
            color: var(--m-teal);
        }

.m-formcard {
    flex: 1.2;
    background: #fff;
    border: 1px solid var(--m-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 6px 22px rgba(17, 52, 60, .07);
}

    .m-formcard h3 {
        font-size: 22px;
        padding: 0;
        margin: 0 0 8px;
        color: var(--m-ink);
    }

    .m-formcard > p {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .m-formcard #form label {
        float: none;
        display: block;
        width: 100%;
        margin: 0 0 16px !important;
        min-height: 0;
    }

    .m-formcard #form input {
        float: none;
        width: 100%;
        height: 48px;
        padding: 13px 16px;
        background: var(--m-soft);
        border: 1px solid var(--m-border);
        border-radius: 10px !important;
        font: 14px/20px 'Inter', sans-serif;
        color: var(--m-ink);
        transition: border-color .2s ease;
    }

    .m-formcard #form textarea {
        float: none;
        width: 100%;
        height: 170px !important;
        padding: 13px 16px 5px;
        background: var(--m-soft);
        border: 1px solid var(--m-border);
        border-radius: 10px !important;
        font: 14px/20px 'Inter', sans-serif;
        color: var(--m-ink);
        transition: border-color .2s ease;
    }

        .m-formcard #form input:focus,
        .m-formcard #form textarea:focus {
            border-color: var(--m-teal);
            background: #fff;
            outline: none;
        }

    /* TMForm injects an absolutely-positioned ._placeholder overlay sized for
       the legacy 31px inputs — resize it to match the modern inputs above */
    .m-formcard #form ._placeholder {
        padding: 13px 16px 5px;
        height: 48px !important;
        font: 14px/20px 'Inter', sans-serif;
        color: var(--m-muted);
    }

    .m-formcard #form .message ._placeholder {
        height: 100% !important;
        padding-top: 13px;
    }

    .m-formcard #form .success-message {
        border-radius: 10px;
    }

    .m-formcard #form .error-message,
    .m-formcard #form .empty-message {
        bottom: 8px;
        right: 14px;
    }

    .m-formcard .btns {
        margin-top: 10px;
    }

        .m-formcard .btns a {
            margin: 0;
        }

        .m-formcard .btns a[data-type="submit"] {
            display: inline-flex;
            padding: 14px 34px;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--m-teal), var(--m-teal-dark));
            color: #fff;
            font: 600 15px/1 'Inter', sans-serif;
            box-shadow: 0 8px 20px rgba(47, 168, 181, .35);
        }

            .m-formcard .btns a[data-type="submit"]:hover {
                transform: translateY(-2px);
                color: #fff;
            }

        .m-formcard .btns a[data-type="reset"] {
            display: inline-flex;
            padding: 14px 24px;
            font: 600 14px/1 'Inter', sans-serif;
            color: var(--m-muted);
            margin-right: 12px;
        }

/* ---------- Reviews page ---------- */

.m-review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.m-review-date {
    font-size: 12px;
    color: var(--m-muted);
}

.m-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

    .m-badges a {
        display: inline-flex;
        align-items: center;
        padding: 10px 22px;
        border-radius: 999px;
        border: 1px solid var(--m-border);
        background: #fff;
        font: 600 14px/1 'Inter', sans-serif;
        color: var(--m-teal-dark);
        box-shadow: 0 4px 12px rgba(17, 52, 60, .06);
        transition: all .2s ease;
    }

        .m-badges a:hover {
            background: var(--m-teal);
            color: #fff;
            border-color: var(--m-teal);
        }

/* ---------- Areas page ---------- */

.m-arealink {
    color: var(--m-teal-dark);
    font-weight: 600;
    text-decoration: underline;
}

    .m-arealink:hover {
        color: var(--m-navy);
    }

.m-areas-text {
    font-size: 15px;
    line-height: 1.9;
}

.m-mapcard {
    background: #fff;
    border: 1px solid var(--m-border);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 6px 22px rgba(17, 52, 60, .07);
}

    .m-mapcard img {
        width: 100%;
        border-radius: 14px;
        display: block;
        margin-bottom: 18px;
    }

    .m-mapcard p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .m-mapcard strong {
        color: var(--m-ink);
    }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
    .m-header-inner {
        flex-wrap: wrap;
        gap: 14px;
    }

    .m-logo img {
        width: 160px;
    }

    .m-header nav {
        order: 3;
        width: 100% !important;
        flex: none;
    }

    #menu {
        background: var(--m-navy);
        border-radius: 14px;
        padding: 8px 0;
        margin-top: 10px;
    }

        #menu li {
            float: none;
            display: block;
            width: 100%;
            margin-right: 0;
            margin-bottom: 0;
        }

        #menu li a {
            color: #d8eef1;
            background: transparent;
            display: block;
            padding: 14px 20px;
            height: auto;
            line-height: 1.5;
            min-width: 0;
            font: 500 14px/1.5 'Inter', sans-serif;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            text-align: left;
        }

        #menu li:last-child > a {
            border-bottom: none;
        }

        #menu li:hover > a {
            background: rgba(47, 168, 181, 0.15);
            color: #fff;
        }

        #menu li.current > a {
            color: var(--m-teal);
            background: rgba(47, 168, 181, 0.12);
        }

    .m-hero-inner {
        flex-direction: column;
        padding: 50px 20px;
        gap: 44px;
    }

    .m-hero h1 {
        font-size: 40px;
    }

    .m-about {
        flex-direction: column;
        gap: 36px;
    }

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

    .m-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .m-split {
        flex-direction: column;
    }

    .m-split-article {
        flex-direction: column-reverse;
    }

    .m-article-side {
        position: static;
        width: 100%;
    }

    .m-pricegrid {
        grid-template-columns: 1fr;
    }

    .m-contact-split {
        flex-direction: column;
    }

    .m-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .m-section {
        padding: 60px 0;
    }
}

@media (max-width: 640px) {
    .m-hero h1 {
        font-size: 33px;
        letter-spacing: -.5px;
    }

    .m-hero-sub {
        font-size: 16px;
    }

    .m-section-head h2 {
        font-size: 29px;
    }

    .m-service-content > h1:first-child,
    .m-service-content > h2:first-child {
        font-size: 26px;
    }

    .m-service-content h1,
    .m-service-content h2 {
        font-size: 22px;
    }

    .m-service-content img {
        margin: 6px 6px 6px 0;
    }

    .m-grid {
        grid-template-columns: 1fr;
    }

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

    .m-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .m-trustbar-inner {
        justify-content: center;
        text-align: center;
    }

    .m-cta {
        padding: 40px 24px;
    }

        .m-cta h2 {
            font-size: 26px;
        }

    .m-hero-badge {
        left: 10px;
        bottom: -16px;
    }

    .m-header-phone {
        padding: 10px 16px;
        font-size: 14px;
    }
}
