/*
Theme Name: Rubbish Removal Fulham SW6
Theme URI: https://example.com/
Author: Custom Theme
Description: A responsive WordPress theme for Rubbish Removal Fulham SW6 with automatic WordPress menu support, custom service pages, blog layouts and mobile navigation.
Version: 13.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: modern-rubbish-removal
*/

/* ==========================================================
   BRAND TOKENS
   Primary:   #009969
   Secondary: #a80767
   Font:      Poppins (unchanged)
========================================================== */
:root {
    --primary: #009969;
    --primary-dark: #007f58;
    --primary-soft: #eaf8f3;
    --secondary: #a80767;
    --secondary-dark: #870653;
    --secondary-soft: #fff0f8;
    --ink: #203b42;
    --muted: #687b81;
    --line: #dce9e6;
    --surface: #ffffff;
    --surface-soft: #f7fbfa;
    --surface-warm: #fff8fc;
    --shadow-sm: 0 10px 30px rgba(37, 74, 68, .08);
    --shadow: 0 24px 60px rgba(37, 74, 68, .13);
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 36px;
    --container: 1220px;
    --navy: #0b1734;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

a:hover {
    color: var(--secondary);
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.container {
    width: min(var(--container), calc(100% - 44px));
    margin-inline: auto;
}

.site-main {
    overflow: hidden;
}

.section {
    padding: 92px 0;
}

.section-sm {
    padding: 62px 0;
}

.bg-alt {
    background:
        radial-gradient(circle at 8% 15%, rgba(0, 153, 105, .10), transparent 28%),
        radial-gradient(circle at 93% 80%, rgba(168, 7, 103, .08), transparent 27%),
        var(--surface-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 18px;
    color: var(--ink);
    line-height: 1.14;
    letter-spacing: -.025em;
}

h1 {
    font-size: clamp(42px, 5.4vw, 70px);
    font-weight: 700;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
}

h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 650;
}

h4 {
    font-size: 18px;
    font-weight: 650;
}

p {
    margin: 0 0 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(0, 153, 105, .18);
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(168, 7, 103, .10);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 40px;
}

.section-heading.center {
    margin-inline: auto;
    margin-bottom: 52px;
    text-align: center;
}

.section-heading p {
    max-width: 700px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.section-heading.center p {
    margin-inline: auto;
}

/* ==========================================================
   BUTTONS
========================================================== */
.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 24px;
    border: 2px solid var(--secondary);
    border-radius: 14px;
    background: var(--secondary);
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(168, 7, 103, .18);
}

.btn:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(168, 7, 103, .22);
}

.btn-outline {
    border-color: rgba(0, 153, 105, .35);
    background: #fff;
    color: var(--primary-dark);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 700;
}

.text-link:hover {
    color: var(--secondary-dark);
    transform: translateX(3px);
}

/* ==========================================================
   TOP BAR + HEADER
   Header updated to the clean eco-style reference.
========================================================== */
.topbar {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.topbar-utility {
    background: var(--navy);
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar-group {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.topbar span,
.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .92);
    white-space: nowrap;
}

.topbar i {
    color: #23d38d;
    font-size: 13px;
}

.topbar a:hover {
    color: #fff;
}

.site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(220, 233, 230, .9);
    box-shadow: 0 10px 28px rgba(15, 37, 56, .06);
}

.header-inner {
    min-height: 94px;
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(420px, 1.3fr) minmax(250px, .95fr);
    align-items: center;
    gap: 24px;
}

.site-branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-branding .custom-logo-link,
.footer-logo .custom-logo-link,
.site-branding > a.custom-logo-link,
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.custom-logo {
    max-height: 62px;
    width: auto;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 14px 24px rgba(0, 153, 105, .22);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.site-title {
    display: block;
    color: #1a2238;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.site-title:hover,
.brand-lockup:hover .site-title {
    color: var(--ink);
}

.site-tagline {
    margin: 0;
    color: #7d90a1;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.primary-nav {
    justify-self: center;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav > ul,
.primary-nav .header-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-nav li {
    position: relative;
}

.primary-nav > ul > li > a,
.primary-nav .header-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 10px;
    border-radius: 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.primary-nav > ul > li > a::after,
.primary-nav .header-menu > li > a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 2px;
    border-radius: 99px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.primary-nav > ul > li > a:hover,
.primary-nav .header-menu > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a,
.primary-nav .current_page_ancestor > a {
    background: transparent;
    color: var(--primary-dark);
}

.primary-nav > ul > li > a:hover::after,
.primary-nav .header-menu > li > a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current_page_ancestor > a::after {
    transform: scaleX(1);
}

.primary-nav .sub-menu,
.primary-nav .children {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 250px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.primary-nav .sub-menu::before,
.primary-nav .children::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 24px;
    width: 16px;
    height: 16px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: #fff;
    transform: rotate(45deg);
}

.primary-nav .sub-menu a,
.primary-nav .children a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.primary-nav .sub-menu a:hover,
.primary-nav .children a:hover,
.primary-nav .sub-menu .current-menu-item > a,
.primary-nav .children .current_page_item > a {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li:hover > .children,
.primary-nav li:focus-within > .children {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-toggle {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.header-contact-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.header-kicker {
    color: #94a5b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1b2339;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.header-phone i {
    color: var(--primary);
    font-size: 18px;
}

.header-phone::before {
    display: none;
}

.header-phone:hover {
    color: var(--primary-dark);
}

.header-quote-button {
    min-height: 44px;
    padding: 11px 18px;
    border-color: var(--secondary);
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 16px 30px rgba(168, 7, 103, .18);
}

.header-quote-button i {
    font-size: 14px;
}

.header-quote-button:hover {
    border-color: var(--secondary-dark);
    background: var(--secondary-dark);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(32, 59, 66, .12);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

/* ==========================================================
   HOME HERO
========================================================== */
.hero {
    position: relative;
    padding: 82px 0 88px;
    background:
        radial-gradient(circle at 8% 18%, rgba(0, 153, 105, .12), transparent 24%),
        radial-gradient(circle at 92% 6%, rgba(168, 7, 103, .10), transparent 27%),
        linear-gradient(180deg, #fff 0%, #f8fcfb 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -110px;
    width: 330px;
    height: 330px;
    border: 44px solid rgba(168, 7, 103, .05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 70px;
}

.hero-copy {
    max-width: 660px;
}

.hero-copy h1 {
    max-width: 700px;
    margin-bottom: 22px;
}

.hero-copy h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 6px;
    margin-top: 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary) 0 55%, var(--secondary) 55% 100%);
}

.hero-copy > p {
    max-width: 630px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.trust-row span {
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid rgba(0, 153, 105, .15);
    border-radius: 13px;
    background: rgba(255, 255, 255, .86);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.hero-image-wrap {
    position: relative;
    padding: 18px 18px 0 0;
}

.hero-image-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    height: 58%;
    border-radius: 28px 28px 8px 28px;
    background: var(--primary);
}

.hero-image-wrap::after {
    content: "";
    position: absolute;
    left: -18px;
    bottom: 34px;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: var(--secondary-soft);
    transform: rotate(12deg);
    z-index: -1;
}

.hero-image {
    position: relative;
    width: 100%;
    min-height: 540px;
    object-fit: cover;
    border-radius: 38px 10px 38px 10px;
    box-shadow: var(--shadow);
}

.hero-badge {
    position: absolute;
    left: -28px;
    bottom: 42px;
    width: 205px;
    padding: 18px 20px;
    border: 6px solid #fff;
    border-radius: 20px;
    background: var(--secondary);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 18px 40px rgba(168, 7, 103, .22);
}

.hero-badge strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

/* ==========================================================
   GENERAL CARDS / SERVICES
========================================================== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card,
.testimonial,
.contact-card,
.sidebar-widget {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.card {
    overflow: hidden;
    padding: 32px;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0 62%, var(--secondary) 62% 100%);
}

.card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 153, 105, .25);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 17px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 24px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.card h4 {
    margin-top: 22px;
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 14px;
    letter-spacing: .02em;
}

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

/* ==========================================================
   SPLIT SECTIONS
========================================================== */
.split {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 68px;
}

.split > div {
    position: relative;
}

.split-image {
    width: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: 12px 38px 12px 38px;
    box-shadow: var(--shadow);
}

.check-list {
    list-style: none;
    margin: 28px 0;
    padding: 0;
}

.check-list li {
    position: relative;
    margin: 0 0 12px;
    padding: 12px 14px 12px 46px;
    border: 1px solid rgba(0, 153, 105, .13);
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
}

.check-list li::before {
    content: "\f00c";
    position: absolute;
    left: 14px;
    top: 13px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 11px;
    font-weight: 900;
}

/* ==========================================================
   STEPS
========================================================== */
.steps {
    counter-reset: service-step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.step {
    counter-increment: service-step;
    position: relative;
    padding: 30px 22px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.step::before {
    content: counter(service-step, decimal-leading-zero);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 8px 8px 0 var(--secondary-soft);
}

.step::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -18px;
    width: 18px;
    border-top: 2px dashed rgba(0, 153, 105, .35);
}

.step:last-child::after {
    display: none;
}

.step h3 {
    font-size: 20px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* ==========================================================
   TESTIMONIALS
========================================================== */
.testimonial {
    padding: 32px;
}

.testimonial::after {
    content: "\f10d";
    position: absolute;
    right: 24px;
    top: 24px;
    color: rgba(168, 7, 103, .10);
    font-family: "Font Awesome 6 Free";
    font-size: 42px;
    font-weight: 900;
}

.stars {
    margin-bottom: 18px;
    color: var(--primary);
    letter-spacing: 4px;
    font-size: 15px;
}

.testimonial h3 {
    max-width: 85%;
    font-size: 22px;
}

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

.testimonial h4 {
    margin: 22px 0 0;
    color: var(--secondary);
}

/* ==========================================================
   CTA
========================================================== */
.cta {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 48px 52px;
    border-radius: var(--radius-lg);
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow);
}

.cta::before,
.cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta::before {
    width: 220px;
    height: 220px;
    top: -120px;
    right: 14%;
    border: 28px solid rgba(255, 255, 255, .10);
}

.cta::after {
    width: 130px;
    height: 130px;
    right: -50px;
    bottom: -50px;
    background: rgba(168, 7, 103, .28);
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta h2,
.cta p {
    color: #fff;
}

.cta h2 {
    margin-bottom: 10px;
}

.cta p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.cta .btn {
    flex: 0 0 auto;
    background: var(--secondary);
    border-color: var(--secondary);
}

/* ==========================================================
   PAGE HERO
========================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 72px;
    border-bottom: 1px solid rgba(0, 153, 105, .10);
    background:
        linear-gradient(120deg, rgba(0, 153, 105, .09), transparent 46%),
        linear-gradient(300deg, rgba(168, 7, 103, .08), transparent 43%),
        #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 42px solid rgba(0, 153, 105, .06);
    border-radius: 50%;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-left: max(22px, calc((100vw - var(--container)) / 2));
    margin-right: auto;
}

.page-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(42px, 5vw, 62px);
}

.page-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
}

.single-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.single-post-meta i {
    color: var(--primary);
}

/* ==========================================================
   BLOG / ARCHIVE
========================================================== */
.blog-grid.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.post-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

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

.post-card > img,
.post-card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-card-image {
    display: block;
}

.post-card-body {
    padding: 28px;
}

.post-card h2 {
    margin: 12px 0;
    font-size: 24px;
}

.post-card h2 a {
    color: var(--ink);
}

.post-card h2 a:hover {
    color: var(--secondary);
}

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

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
}

.post-category {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
}

.post-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    min-height: 420px;
}

.post-card--featured > img,
.post-card--featured .post-card-image,
.post-card--featured .post-card-image img {
    height: 100%;
    min-height: 420px;
}

.post-card--featured .post-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    background:
        radial-gradient(circle at 90% 10%, rgba(168, 7, 103, .08), transparent 32%),
        #fff;
}

.post-card--featured h2 {
    font-size: clamp(28px, 3.4vw, 40px);
}

.pagination,
.navigation.pagination {
    margin-top: 42px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-numbers {
    min-width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
}

.page-numbers.current,
.page-numbers:hover {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #fff;
}

/* ==========================================================
   SINGLE POST + CONTENT
========================================================== */
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 48px;
}

.prose {
    min-width: 0;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose h2 {
    margin-top: 44px;
    font-size: clamp(28px, 3.2vw, 38px);
}

.prose h3 {
    margin-top: 34px;
    font-size: clamp(23px, 2.5vw, 29px);
}

.prose h4 {
    margin-top: 28px;
    color: var(--secondary);
}

.prose p,
.prose li {
    color: #435b62;
}

.prose a {
    color: var(--secondary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose blockquote,
.wp-block-quote {
    margin: 34px 0;
    padding: 24px 26px;
    border: 0;
    border-left: 5px solid var(--primary);
    border-radius: 0 16px 16px 0;
    background: var(--primary-soft);
    color: var(--ink);
}

.single-featured-image {
    width: 100%;
    max-height: 560px;
    margin: 0 0 38px;
    object-fit: cover;
    border-radius: 26px 8px 26px 8px;
    box-shadow: var(--shadow-sm);
}

.prose ul,
.prose ol {
    padding-left: 24px;
}

.prose li {
    margin-bottom: 8px;
}

.prose table,
.wp-block-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.prose th,
.prose td,
.wp-block-table th,
.wp-block-table td {
    padding: 14px 15px;
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th:last-child,
.prose td:last-child,
.wp-block-table th:last-child,
.wp-block-table td:last-child {
    border-right: 0;
}

.prose tr:last-child td,
.wp-block-table tr:last-child td {
    border-bottom: 0;
}

.prose th,
.wp-block-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.prose tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
    background: var(--surface-soft);
}

.responsive-table-wrap,
.wp-block-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.single-post-author-box {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 52px;
    padding: 26px;
    border: 1px solid rgba(168, 7, 103, .12);
    border-radius: 20px;
    background: var(--secondary-soft);
}

.single-post-author-avatar img {
    width: 86px;
    height: 86px;
    border-radius: 18px;
    object-fit: cover;
}

.single-post-author-label {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.single-post-author-content h3 {
    margin: 0 0 7px;
    font-size: 22px;
}

.single-post-author-description {
    margin: 0;
    color: var(--muted);
}

.single-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.post-navigation-item a {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.post-navigation-item a:hover {
    border-color: rgba(0, 153, 105, .35);
    background: var(--primary-soft);
}

.post-navigation-item span {
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.post-navigation-item strong {
    color: var(--ink);
    font-size: 14px;
}

.post-navigation-next {
    text-align: right;
}

.sidebar-widget {
    position: sticky;
    top: 24px;
    padding: 26px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-soft);
    font-size: 22px;
}

.recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-posts-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.recent-posts-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.recent-posts-list a {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.recent-posts-list a:hover {
    color: var(--secondary);
}

.recent-posts-list span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

/* ==========================================================
   CONTACT
========================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.contact-card {
    padding: 30px;
}

.contact-card h4 {
    margin: 22px 0 5px;
    color: var(--secondary);
}

.contact-card h4:first-child {
    margin-top: 0;
}

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

label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 650;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
select,
textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 153, 105, .10);
}

/* ==========================================================
   FOOTER
   Reference-inspired layout: overlapping CTA + four columns.
========================================================== */
.site-footer {
    position: relative;
    margin-top: 112px;
    overflow: visible;
    border-top: 0;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .08), transparent 24%),
        radial-gradient(circle at 10% 74%, rgba(255, 255, 255, .055), transparent 28%),
        var(--secondary);
    color: #fff;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: rgba(255, 255, 255, .18);
}

.footer-cta-wrap {
    position: relative;
    z-index: 3;
}

.footer-cta-card {
    position: relative;
    top: -72px;
    min-height: 250px;
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 46px;
    margin-bottom: -72px;
    padding: 40px 54px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, .16), transparent 26%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 26px 70px rgba(64, 22, 52, .22);
}

.footer-cta-card::after {
    content: "";
    position: absolute;
    left: 34%;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border: 42px solid rgba(255, 255, 255, .075);
    border-radius: 50%;
    pointer-events: none;
}

.footer-cta-visual {
    position: relative;
    min-height: 170px;
    display: grid;
    place-items: center;
}

.footer-cta-visual::before,
.footer-cta-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
}

.footer-cta-visual::before {
    width: 178px;
    height: 178px;
}

.footer-cta-visual::after {
    width: 118px;
    height: 118px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: transparent;
}

.footer-cta-icon {
    position: absolute;
    display: grid;
    place-items: center;
    color: #fff;
}

.footer-cta-icon--truck {
    z-index: 2;
    width: 134px;
    height: 92px;
    border-radius: 28px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 56px;
    box-shadow: 0 18px 34px rgba(0, 95, 65, .24);
    transform: rotate(-4deg);
}

.footer-cta-icon--recycle {
    right: 34px;
    bottom: 18px;
    z-index: 3;
    width: 54px;
    height: 54px;
    border: 5px solid rgba(255, 255, 255, .75);
    border-radius: 18px;
    background: var(--secondary);
    font-size: 22px;
    transform: rotate(8deg);
}

.footer-cta-icon--spark {
    top: 4px;
    left: 42px;
    z-index: 3;
    font-size: 25px;
    transform: rotate(-8deg);
}

.footer-cta-content {
    position: relative;
    z-index: 2;
}

.footer-cta-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.footer-cta-content h2 {
    max-width: 650px;
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(28px, 3.3vw, 44px);
}

.footer-cta-content > p {
    max-width: 690px;
    margin-bottom: 23px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.footer-cta-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.footer-cta-button--light {
    border-color: rgba(255, 255, 255, .65);
    background: #fff;
    color: var(--primary-dark);
}

.footer-cta-button--light:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-cta-button--secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(98, 4, 61, .18);
}

.footer-cta-button--secondary:hover {
    background: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.footer-main {
    position: relative;
    z-index: 1;
    padding-top: 70px;
    padding-bottom: 54px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(150px, 1fr));
    gap: 52px;
}

.footer-column h3,
.footer-column h4 {
    color: #fff;
}

.footer-column h4 {
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 10px;
    font-size: 15px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

.footer-column p,
.footer-column li,
.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

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

.footer-company > p {
    max-width: 300px;
    margin-top: 4px;
    margin-bottom: 20px;
    line-height: 1.75;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 18px;
}

.footer-logo .custom-logo-link,
.footer-logo > a,
.footer-logo > img {
    border-radius: 12px;
}

.footer-logo img,
.footer-logo .custom-logo {
    max-height: 54px;
    width: auto;
}

.footer-site-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 18px;
}

.footer-site-name:hover {
    color: #fff;
}

.footer-site-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #fff;
    color: var(--primary);
    font-size: 18px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-socials span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-size: 13px;
}

.footer-menu,
.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.footer-menu a::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, .48);
    transition: background-color .2s ease, transform .2s ease;
}

.footer-menu a:hover::before {
    background: #fff;
    transform: translateX(2px);
}

.footer-menu i,
.footer-contact i {
    width: 18px;
    color: #fff;
}

.footer-contact p {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    margin-bottom: 12px;
}

.footer-contact i {
    margin-top: 4px;
    color: var(--primary-soft);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.footer-bottom-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, .80);
}

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

.floating-contact {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 110;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 14px 34px rgba(0, 153, 105, .28);
}

.floating-contact:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

/* ==========================================================
   WORDPRESS CORE + ACCESSIBILITY
========================================================== */
.alignwide {
    max-width: 1100px;
}

.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.wp-caption,
.gallery-caption {
    color: var(--muted);
    font-size: 12px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    top: 10px;
    left: 10px;
    z-index: 99999;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: 210px 1fr auto;
        gap: 16px;
    }

    .primary-nav > ul > li > a,
    .primary-nav .header-menu > li > a {
        padding-inline: 9px;
        font-size: 13px;
    }

    .header-phone {
        display: none;
    }

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

@media (max-width: 1024px) {
    .section {
        padding: 76px 0;
    }

    .header-inner {
        min-height: 78px;
        grid-template-columns: 1fr auto;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 14px 22px 22px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(37, 74, 68, .12);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav > ul,
    .primary-nav .header-menu {
        display: block;
        max-width: var(--container);
        margin-inline: auto;
    }

    .primary-nav > ul > li,
    .primary-nav .header-menu > li {
        border-bottom: 1px solid var(--line);
    }

    .primary-nav > ul > li:last-child,
    .primary-nav .header-menu > li:last-child {
        border-bottom: 0;
    }

    .primary-nav > ul > li > a,
    .primary-nav .header-menu > li > a {
        min-height: 50px;
        padding: 12px 42px 12px 4px;
        border-radius: 0;
        color: var(--ink);
        font-size: 14px;
    }

    .primary-nav > ul > li > a:hover,
    .primary-nav .header-menu > li > a:hover,
    .primary-nav .current-menu-item > a,
    .primary-nav .current-menu-ancestor > a,
    .primary-nav .current_page_item > a,
    .primary-nav .current_page_ancestor > a {
        background: transparent;
        color: var(--secondary);
    }

    .menu-toggle {
        display: grid;
    }

    .header-quote-button {
        display: none;
    }

    .primary-nav .sub-menu,
    .primary-nav .children {
        position: static;
        width: 100%;
        display: none;
        padding: 0 0 10px 16px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .primary-nav .sub-menu::before,
.primary-nav .children::before {
        display: none;
    }

    .primary-nav .submenu-open > .sub-menu,
    .primary-nav .submenu-open > .children {
        display: block;
    }

    .primary-nav .sub-menu a,
.primary-nav .children a {
        padding: 10px 12px;
        color: var(--muted);
    }

    .submenu-toggle {
        position: absolute;
        top: 8px;
        right: 0;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 9px;
        background: var(--primary-soft);
        color: var(--primary-dark);
        cursor: pointer;
    }

    .submenu-toggle i {
        transition: transform .2s ease;
    }

    .submenu-open > .submenu-toggle i {
        transform: rotate(180deg);
    }

    .hero {
        padding-top: 68px;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-image-wrap {
        max-width: 760px;
        margin-inline: auto;
    }

    .hero-image {
        min-height: 470px;
    }

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

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

    .step::after {
        display: none;
    }

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

    .sidebar-widget {
        position: static;
    }

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .topbar-inner {
        min-height: 34px;
        justify-content: center;
        text-align: center;
    }

    .topbar-inner span:last-child {
        display: none;
    }

    .header-inner {
        min-height: 72px;
    }

    .site-branding .custom-logo-link,
    .footer-logo .custom-logo-link,
    .site-branding > a.custom-logo-link {
        padding: 7px 10px;
    }

    .custom-logo {
        max-height: 43px;
        max-width: 190px;
    }

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

    .site-tagline {
        display: none;
    }

    .section {
        padding: 62px 0;
    }

    .page-hero {
        padding: 58px 0 54px;
    }

    .page-hero .container {
        margin-inline: auto;
    }

    h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    h2 {
        font-size: clamp(30px, 9vw, 40px);
    }

    .hero {
        padding: 54px 0 70px;
    }

    .hero-grid {
        gap: 38px;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-row,
    .cards,
    .steps,
    .blog-grid.news-grid,
    .single-post-navigation,
    .field-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-row {
        gap: 8px;
    }

    .trust-row span {
        min-height: 52px;
    }

    .hero-image-wrap {
        padding: 12px 12px 0 0;
    }

    .hero-image {
        min-height: 360px;
        border-radius: 28px 8px 28px 8px;
    }

    .hero-badge {
        left: 10px;
        bottom: 18px;
        width: 170px;
        border-width: 4px;
    }

    .split-image {
        min-height: 350px;
    }

    .card,
    .testimonial,
    .contact-card,
    .sidebar-widget {
        padding: 24px;
    }

    .post-card--featured {
        display: block;
        min-height: 0;
    }

    .post-card--featured > img,
    .post-card--featured .post-card-image,
    .post-card--featured .post-card-image img {
        min-height: 0;
        height: auto;
    }

    .post-card--featured .post-card-body {
        padding: 26px;
    }

    .post-card-body {
        padding: 24px;
    }

    .cta {
        display: block;
        padding: 34px 26px;
        border-radius: 24px;
    }

    .cta .btn {
        width: 100%;
        margin-top: 24px;
    }

    .single-post-author-box {
        grid-template-columns: 64px 1fr;
        padding: 20px;
    }

    .single-post-author-avatar img {
        width: 64px;
        height: 64px;
    }

    .footer-main {
        padding-top: 50px;
    }

    .footer-bottom-inner {
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-contact {
        right: 15px;
        bottom: 15px;
        width: 52px;
        height: 52px;
    }
}


@media (max-width: 1180px) {
    .footer-cta-card {
        grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
        gap: 34px;
        padding-inline: 42px;
    }

}

@media (max-width: 900px) {
    .site-footer {
        margin-top: 92px;
    }

    .footer-cta-card {
        top: -58px;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: -58px;
        padding: 34px;
    }

    .footer-cta-visual {
        min-height: 120px;
    }

    .footer-cta-icon--truck {
        width: 110px;
        height: 76px;
        font-size: 45px;
    }

    .footer-cta-icon--recycle {
        right: calc(50% - 96px);
        bottom: 0;
    }

    .footer-cta-icon--spark {
        left: calc(50% - 86px);
        top: 0;
    }

    .footer-cta-content {
        text-align: center;
    }

    .footer-cta-content h2,
    .footer-cta-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-cta-actions {
        justify-content: center;
    }

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

@media (max-width: 760px) {
    .site-footer {
        margin-top: 78px;
    }

    .footer-cta-card {
        top: -46px;
        margin-bottom: -46px;
        padding: 28px 22px 30px;
        border-radius: 24px;
    }

    .footer-cta-visual {
        min-height: 108px;
    }

    .footer-cta-content h2 {
        font-size: 28px;
    }

    .footer-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-cta-button {
        width: 100%;
    }

    .footer-main {
        padding-top: 54px;
        padding-bottom: 42px;
    }

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

    .footer-company > p {
        max-width: 520px;
    }

    .footer-bottom-inner {
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal-links {
        gap: 10px 18px;
    }
}

@media (max-width: 420px) {
    .brand-text {
        margin-left: 8px;
    }

    .site-title {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
    }

    .hero-image {
        min-height: 300px;
    }

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

/* ==========================================================
   V7 — SINGLE BLOG ARTICLE + LARGER FOOTER TYPE
   Keeps the existing Poppins font family and brand palette.
========================================================== */

/* Footer readability */
.footer-column h4 {
    font-size: 20px;
    line-height: 1.3;
}

.footer-column p,
.footer-column li,
.footer-column a,
.footer-column span {
    font-size: 16px;
    line-height: 1.65;
}

.footer-company > p {
    max-width: 360px;
    font-size: 16px;
    line-height: 1.75;
}

.footer-site-name {
    font-size: 21px;
}

.footer-socials span {
    width: 42px;
    height: 42px;
    font-size: 16px;
}

.footer-contact p {
    margin-bottom: 15px;
}

.footer-bottom-inner {
    font-size: 14px;
}

.footer-legal-links a {
    font-size: 14px;
}

/* Single article header */
.single-article-header {
    position: relative;
    overflow: hidden;
    padding: 34px 0 42px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(115deg, rgba(0, 153, 105, .045), transparent 45%),
        linear-gradient(305deg, rgba(168, 7, 103, .04), transparent 42%),
        #fbfcfd;
}

.single-article-header-inner {
    max-width: 1020px;
}

.single-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 14px;
}

.single-breadcrumbs > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #61747b;
    font-size: 13px;
    font-weight: 600;
}

.single-breadcrumbs > a:hover {
    color: var(--secondary);
}

.single-category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 153, 105, .10);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.single-article-header h1 {
    max-width: 900px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.single-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #667a81;
    font-size: 12px;
}

.single-article-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.single-article-meta i {
    color: var(--primary);
}

.single-author-meta img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.single-author-meta strong {
    color: var(--ink);
    font-size: 12px;
}

.single-guide-badge {
    color: var(--primary-dark);
    font-weight: 700;
}

.single-article-section {
    padding: 54px 0 80px;
    background: #fff;
}

.single-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 38px;
    max-width: 1180px;
}

.single-article-content {
    min-width: 0;
}

.single-featured-wrap {
    margin: 0 0 26px;
}

.single-article-content .single-featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 14px 34px rgba(43, 68, 76, .10);
}

.article-summary-box {
    margin: 0 0 30px;
    padding: 20px 22px;
    border: 1px solid rgba(0, 153, 105, .14);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    background: rgba(0, 153, 105, .08);
}

.article-summary-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
    color: var(--ink);
}

.article-summary-icon {
    color: var(--primary);
}

.article-summary-text,
.article-summary-text p {
    margin: 0;
    color: #435b62;
    font-size: 14px;
    line-height: 1.7;
}

.single-article-body {
    font-size: 16px;
    line-height: 1.82;
}

.single-article-body > p:first-child {
    margin-top: 0;
}

.single-article-content.prose h2 {
    margin-top: 38px;
    margin-bottom: 14px;
    font-size: clamp(25px, 2.65vw, 32px);
    line-height: 1.25;
}

.single-article-content.prose h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: clamp(21px, 2.1vw, 25px);
}

.single-article-content.prose p,
.single-article-content.prose li {
    color: #41565e;
    font-size: 16px;
    line-height: 1.82;
}

.single-article-content.prose blockquote,
.single-article-content .wp-block-quote {
    margin: 28px 0;
    padding: 20px 22px;
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
    background: #f7faf9;
    color: #50646c;
    font-style: italic;
}

.single-article-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
}

.article-side-card {
    overflow: hidden;
    padding: 22px;
    border: 1px solid #dce6e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(45, 67, 75, .06);
}

.article-side-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.3;
}

.article-side-card p {
    margin: 0;
    color: #64767d;
    font-size: 12px;
    line-height: 1.6;
}

.article-side-card--response {
    position: relative;
    padding-top: 25px;
    border-top: 4px solid var(--primary);
    background:
        radial-gradient(circle at 100% 0, rgba(0, 153, 105, .08), transparent 34%),
        #fff;
}

.article-side-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.article-side-actions {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.article-side-primary-btn,
.article-side-phone,
.article-side-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 41px;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
    text-align: center;
}

.article-side-primary-btn {
    border: 1px solid var(--secondary);
    background: var(--secondary);
    color: #fff;
}

.article-side-primary-btn:hover {
    border-color: var(--secondary-dark);
    background: var(--secondary-dark);
    color: #fff;
}

.article-side-phone,
.article-side-whatsapp {
    border: 1px solid #d9e2e4;
    background: #fff;
    color: var(--ink);
}

.article-side-phone i,
.article-side-whatsapp i {
    color: var(--primary);
}

.article-side-phone:hover,
.article-side-whatsapp:hover {
    border-color: rgba(0, 153, 105, .35);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.article-related-card h3 {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3ebec;
    font-size: 13px;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.article-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-related-list li {
    padding: 11px 0;
    border-bottom: 1px solid #edf1f2;
}

.article-related-list li:first-child {
    padding-top: 0;
}

.article-related-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.article-related-list a {
    display: block;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.article-related-list a:hover {
    color: var(--secondary);
}

.article-related-list span {
    display: block;
    margin-top: 4px;
    color: #839198;
    font-size: 10px;
}

.article-license-card {
    text-align: center;
}

.article-license-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 19px;
}

.article-license-card h3 {
    margin-bottom: 6px;
    font-size: 15px;
}

.article-license-card p {
    font-size: 11px;
}

.article-license-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
}

.article-license-status i {
    color: var(--primary);
}

@media (max-width: 1020px) {
    .single-article-layout {
        grid-template-columns: 1fr;
    }

    .single-article-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .single-article-header {
        padding: 28px 0 34px;
    }

    .single-article-header h1 {
        font-size: clamp(34px, 10.7vw, 46px);
    }

    .single-article-section {
        padding: 36px 0 60px;
    }

    .single-article-layout {
        gap: 30px;
    }

    .single-article-sidebar {
        grid-template-columns: 1fr;
    }

    .single-article-content .single-featured-image {
        border-radius: 12px;
    }

    .single-article-body,
    .single-article-content.prose p,
    .single-article-content.prose li {
        font-size: 15.5px;
    }

    .footer-column h4 {
        font-size: 19px;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a,
    .footer-column span,
    .footer-company > p {
        font-size: 15px;
    }

    .footer-bottom-inner,
    .footer-legal-links a {
        font-size: 13px;
    }
}

/* ==========================================================
   V8 — CONTACT PAGE + BLOG INDEX REDESIGN
   Reference-inspired layout using the existing Poppins font,
   primary #009969 and secondary #a80767 brand palette.
========================================================== */

/* ---------- Contact page hero ---------- */
.contact-reference-hero {
    padding: 72px 0 62px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 0, rgba(0, 153, 105, .075), transparent 34%),
        #fff;
    text-align: center;
}

.contact-reference-hero-inner {
    max-width: 850px;
}

.contact-reference-badge,
.blog-reference-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 5px 10px;
    border: 1px solid rgba(0, 153, 105, .16);
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .045em;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-reference-hero h1 {
    max-width: 760px;
    margin: 0 auto 10px;
    font-size: clamp(34px, 4.5vw, 53px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.contact-reference-hero p {
    max-width: 670px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

/* ---------- Contact two-column area ---------- */
.contact-reference-section {
    padding: 66px 0 72px;
    background: #fff;
}

.contact-reference-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 42px;
    align-items: start;
    max-width: 1040px;
}

.contact-reference-details {
    padding-top: 6px;
}

.contact-reference-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.contact-reference-details > h2 {
    margin-bottom: 8px;
    font-size: clamp(26px, 3vw, 34px);
}

.contact-reference-details > p {
    max-width: 440px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 84px;
    margin-bottom: 13px;
    padding: 14px 17px;
    border: 1px solid #d7e3e5;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 5px 15px rgba(37, 74, 68, .025);
}

.contact-method-card:hover {
    border-color: rgba(0, 153, 105, .34);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 74, 68, .075);
}

.contact-method-card--static:hover {
    transform: none;
}

.contact-method-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f0f5f7;
    color: #59717a;
    font-size: 17px;
}

.contact-method-icon--phone {
    background: var(--secondary-soft);
    color: var(--secondary);
}

.contact-method-icon--whatsapp {
    background: var(--primary-soft);
    color: var(--primary);
}

.contact-method-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.contact-method-copy small {
    color: #86a0a7;
    font-size: 9px;
    font-style: normal;
    font-weight: 750;
    letter-spacing: .045em;
    line-height: 1.25;
    text-transform: uppercase;
}

.contact-method-copy strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.contact-method-copy em {
    color: #81949a;
    font-size: 10px;
    font-style: normal;
    line-height: 1.35;
}

/* ---------- Quote form ---------- */
.contact-quote-card {
    padding: 31px 34px 32px;
    border: 1px solid #d4e0e3;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(168, 7, 103, .035), transparent 28%),
        #fff;
    box-shadow: 0 16px 38px rgba(38, 66, 73, .11);
}

.contact-quote-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--secondary-soft);
    color: var(--secondary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.contact-quote-card > h2 {
    margin-bottom: 7px;
    font-size: clamp(25px, 3vw, 32px);
}

.contact-quote-card > p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.contact-quote-form p {
    margin: 0 0 13px;
}

.contact-quote-form label {
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 700;
}

.contact-quote-form input[type="text"],
.contact-quote-form input[type="email"],
.contact-quote-form input[type="tel"],
.contact-quote-form input[type="date"],
.contact-quote-form select,
.contact-quote-form textarea {
    min-height: 43px;
    padding: 10px 12px;
    border-color: #cddcdf;
    border-radius: 8px;
    color: var(--ink);
    font-size: 11px;
    line-height: 1.4;
}

.contact-quote-form textarea {
    min-height: 82px;
    resize: vertical;
}

.contact-quote-form input:focus,
.contact-quote-form select:focus,
.contact-quote-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 153, 105, .10);
}

.contact-photo-tip {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 4px 0 14px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 153, 105, .2);
    border-radius: 8px;
    background: var(--primary-soft);
    color: #477067;
    font-size: 9px;
    line-height: 1.45;
}

.contact-photo-tip i {
    margin-top: 2px;
    color: var(--primary);
}

.contact-submit-button {
    width: 100%;
    min-height: 47px;
    border: 0;
    border-radius: 999px;
    background: var(--secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(168, 7, 103, .18);
}

.contact-submit-button:hover {
    background: var(--secondary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form-notice {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-form-notice--success {
    border: 1px solid rgba(0, 153, 105, .25);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.contact-form-notice--error {
    border: 1px solid rgba(168, 7, 103, .22);
    background: var(--secondary-soft);
    color: var(--secondary-dark);
}

/* ---------- Contact service areas ---------- */
.contact-areas-section {
    padding: 47px 0 55px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f8fbfb;
}

.contact-areas-inner {
    max-width: 950px;
    text-align: center;
}

.contact-areas-inner h2 {
    margin-bottom: 22px;
    font-size: clamp(22px, 2.8vw, 29px);
}

.contact-area-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.contact-area-pills > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid #d8e4e6;
    border-radius: 999px;
    background: #fff;
    color: #50666d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.contact-area-pills > span > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.contact-area-pills small {
    padding: 3px 6px;
    border-radius: 999px;
    background: #f0f4f5;
    color: #87979d;
    font-size: 8px;
    font-weight: 600;
}

/* ---------- Blog landing hero ---------- */
.blog-reference-hero {
    padding: 72px 0 65px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 0, rgba(0, 153, 105, .06), transparent 37%),
        #fff;
    text-align: center;
}

.blog-reference-hero--archive {
    padding-bottom: 58px;
}

.blog-reference-hero-inner {
    max-width: 850px;
}

.blog-reference-hero h1 {
    max-width: 790px;
    margin: 0 auto 10px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -.043em;
}

.blog-reference-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
}

.blog-guide-search {
    position: relative;
    width: min(520px, 100%);
    margin: 32px auto 18px;
}

.blog-guide-search > i {
    position: absolute;
    top: 50%;
    left: 17px;
    color: #81949a;
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}

.blog-guide-search input[type="search"] {
    width: 100%;
    height: 49px;
    min-height: 49px;
    padding: 0 18px 0 43px;
    border: 1px solid #bfd0d4;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 11px;
    box-shadow: 0 4px 15px rgba(37, 74, 68, .025);
}

.blog-guide-search input[type="search"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 153, 105, .08);
}

.blog-category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.blog-category-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid #cfdddf;
    border-radius: 999px;
    background: #fff;
    color: #53686f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.blog-category-filters a:hover,
.blog-category-filters a.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* ---------- Blog cards ---------- */
.blog-reference-listing {
    padding: 66px 0 84px;
    background: #fff;
}

.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.guide-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #cbdadc;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(43, 68, 76, .035);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.guide-card:hover {
    border-color: rgba(0, 153, 105, .34);
    transform: translateY(-4px);
    box-shadow: 0 15px 34px rgba(43, 68, 76, .09);
}

.guide-card-image {
    position: relative;
    overflow: hidden;
    display: block;
    background: var(--surface-soft);
}

.guide-card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .4s ease;
}

.guide-card:hover .guide-card-image img {
    transform: scale(1.025);
}

.guide-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--primary-dark);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
    box-shadow: 0 3px 10px rgba(43, 68, 76, .08);
}

.guide-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 18px 15px;
}

.guide-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 13px;
    margin-bottom: 9px;
    color: #87979d;
    font-size: 9px;
    line-height: 1.2;
}

.guide-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.guide-card-meta i {
    color: var(--primary);
}

.guide-card h2 {
    margin: 0 0 9px;
    font-size: clamp(18px, 1.75vw, 22px);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.guide-card h2 a {
    color: var(--ink);
}

.guide-card h2 a:hover {
    color: var(--secondary);
}

.guide-card-body > p {
    margin: 0 0 17px;
    color: #62777e;
    font-size: 14px;
    line-height: 1.7;
}

.guide-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #e6edef;
}

.guide-card-author,
.guide-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
}

.guide-card-author {
    min-width: 0;
    color: #72868d;
}

.guide-card-author i {
    color: #8ca0a7;
}

.guide-card-link {
    flex: 0 0 auto;
    color: var(--primary-dark);
    font-weight: 750;
}

.guide-card-link:hover {
    color: var(--secondary);
}

.guide-card-link i {
    font-size: 8px;
}

.guide-pagination {
    margin-top: 38px;
}

.guide-pagination .nav-links {
    justify-content: center;
}

.guide-pagination .page-numbers {
    border-radius: 999px;
}

.guide-pagination .page-numbers.current {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.guide-empty-state {
    grid-column: 1 / -1;
    padding: 54px 24px;
    border: 1px dashed #cbdadc;
    border-radius: 16px;
    background: #f9fbfb;
    text-align: center;
}

.guide-empty-state > i {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 34px;
}

.guide-empty-state h2 {
    margin-bottom: 8px;
    font-size: 27px;
}

.guide-empty-state p {
    color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
    .contact-reference-grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 28px;
    }

    .contact-quote-card {
        padding: 27px;
    }

    .guide-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .contact-reference-hero,
    .blog-reference-hero {
        padding: 50px 0 44px;
    }

    .contact-reference-section,
    .blog-reference-listing {
        padding: 46px 0 58px;
    }

    .contact-reference-grid {
        grid-template-columns: 1fr;
        gap: 31px;
    }

    .contact-reference-details > p {
        max-width: 100%;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-areas-section {
        padding: 40px 0 46px;
    }
}

@media (max-width: 620px) {
    .contact-reference-hero h1,
    .blog-reference-hero h1 {
        font-size: clamp(31px, 9.8vw, 42px);
    }

    .contact-reference-hero p,
    .blog-reference-hero p {
        font-size: 13px;
    }

    .contact-method-card {
        min-height: 78px;
        padding: 12px 13px;
    }

    .contact-method-icon {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
    }

    .contact-quote-card {
        padding: 23px 18px 22px;
        border-radius: 15px;
    }

    .contact-quote-card > h2 {
        font-size: 25px;
    }

    .contact-area-pills {
        justify-content: stretch;
    }

    .contact-area-pills > span {
        justify-content: flex-start;
        width: 100%;
        white-space: normal;
    }

    .blog-guide-search {
        margin-top: 25px;
    }

    .blog-category-filters {
        gap: 6px;
    }

    .blog-category-filters a {
        min-height: 32px;
        padding: 7px 11px;
    }

    .guide-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guide-card h2 {
        font-size: 21px;
    }

    .guide-card-body > p {
        font-size: 12px;
    }

    .guide-card-meta,
    .guide-card-author,
    .guide-card-link {
        font-size: 10px;
    }
}

/* ==========================================================
   HEADER RESPONSIVE OVERRIDES (V9)
========================================================== */
@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: 220px 1fr auto;
        gap: 16px;
    }

    .topbar-group {
        gap: 14px;
    }

    .primary-nav > ul > li > a,
    .primary-nav .header-menu > li > a {
        font-size: 14px;
        padding-inline: 8px;
    }

    .header-contact-stack {
        display: none;
    }
}

@media (max-width: 1024px) {
    .topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding-block: 8px;
        min-height: 0;
    }

    .topbar-group {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .header-inner {
        min-height: 80px;
        grid-template-columns: 1fr auto;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        padding: 14px 22px 22px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(37, 74, 68, .12);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav > ul,
    .primary-nav .header-menu {
        display: block;
        max-width: var(--container);
        margin-inline: auto;
    }

    .primary-nav > ul > li,
    .primary-nav .header-menu > li {
        border-bottom: 1px solid var(--line);
    }

    .primary-nav > ul > li:last-child,
    .primary-nav .header-menu > li:last-child {
        border-bottom: 0;
    }

    .primary-nav > ul > li > a,
    .primary-nav .header-menu > li > a {
        min-height: 50px;
        padding: 12px 42px 12px 4px;
        border-radius: 0;
        color: var(--ink);
        font-size: 14px;
    }

    .primary-nav > ul > li > a::after,
    .primary-nav .header-menu > li > a::after {
        display: none;
    }

    .primary-nav > ul > li > a:hover,
    .primary-nav .header-menu > li > a:hover,
    .primary-nav .current-menu-item > a,
    .primary-nav .current-menu-ancestor > a,
    .primary-nav .current_page_item > a,
    .primary-nav .current_page_ancestor > a {
        background: transparent;
        color: var(--primary-dark);
    }

    .menu-toggle {
        display: grid;
    }

    .header-quote-button,
    .header-contact-stack {
        display: none;
    }

    .primary-nav .sub-menu,
    .primary-nav .children {
        position: static;
        width: 100%;
        display: none;
        padding: 0 0 10px 16px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .primary-nav .sub-menu::before,
    .primary-nav .children::before {
        display: none;
    }

    .primary-nav .submenu-open > .sub-menu,
    .primary-nav .submenu-open > .children {
        display: block;
    }

    .primary-nav .sub-menu a,
    .primary-nav .children a {
        padding: 10px 12px;
        color: var(--muted);
    }

    .submenu-toggle {
        position: absolute;
        top: 8px;
        right: 0;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 9px;
        background: var(--primary-soft);
        color: var(--primary-dark);
        cursor: pointer;
    }

    .submenu-toggle i {
        transition: transform .2s ease;
    }

    .submenu-open > .submenu-toggle i {
        transform: rotate(180deg);
    }
}

@media (max-width: 760px) {
    .topbar {
        font-size: 11px;
    }

    .topbar-left span:last-child,
    .topbar-right span {
        display: none;
    }

    .topbar-right a {
        justify-content: center;
    }

    .header-inner {
        min-height: 72px;
    }

    .custom-logo {
        max-height: 50px;
        max-width: 210px;
    }

    .site-title {
        font-size: 17px;
    }

    .site-tagline {
        display: block;
        font-size: 11px;
    }
}


/* ==========================================================
   SINGLE POST TABLE OF CONTENTS — V10
========================================================== */
.article-toc {
    margin: 28px 0 38px;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary);
    border-radius: 0 18px 18px 0;
    background: linear-gradient(135deg, #f5fbf9 0%, #ffffff 100%);
    box-shadow: 0 14px 34px rgba(37, 74, 68, .06);
}

.article-toc.is-empty {
    display: none;
}

.article-toc-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 17px;
}

.article-toc-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 17px;
}

.article-toc-kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.single-article-content.prose .article-toc h2,
.article-toc h2 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.25;
}

.article-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc-item;
    border-top: 1px solid var(--line);
}

.article-toc-list > li {
    counter-increment: toc-item;
    position: relative;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(220, 233, 230, .8);
}

.article-toc-list > li:last-child {
    border-bottom: 0;
}

.article-toc-list > li > a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.article-toc-list > li > a::before {
    content: counter(toc-item, decimal-leading-zero);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.article-toc-list > li > a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
    color: #9cafaa;
}

.article-toc-list > li > a:hover {
    color: var(--secondary);
}

.article-toc-list .toc-sublist {
    margin: -3px 0 9px 40px;
    padding: 0 0 0 16px;
    list-style: none;
    border-left: 1px solid #cfe4de;
}

.article-toc-list .toc-sublist li {
    margin: 0;
    padding: 0;
}

.article-toc-list .toc-sublist a {
    display: block;
    padding: 7px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 550;
    line-height: 1.45;
}

.article-toc-list .toc-sublist a:hover {
    color: var(--secondary);
}

.single-article-body h2[id],
.single-article-body h3[id] {
    scroll-margin-top: 130px;
}

@media (max-width: 760px) {
    .article-toc {
        margin: 22px 0 30px;
        padding: 22px 20px;
    }

    .single-article-content.prose .article-toc h2,
    .article-toc h2 {
        font-size: 20px;
    }

    .article-toc-list > li > a {
        grid-template-columns: 26px minmax(0, 1fr) auto;
        gap: 8px;
        font-size: 13px;
    }

    .article-toc-list .toc-sublist {
        margin-left: 34px;
    }
}


/* ==========================================================
   HEADER COLOUR UPDATE (V11)
   Requested: header background #a80767, text white, button #009969.
========================================================== */
.site-header {
    background: var(--secondary);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 10px 28px rgba(103, 8, 66, .16);
}

.site-title,
.site-title:hover,
.brand-lockup:hover .site-title {
    color: #fff;
}

.site-tagline {
    color: rgba(255, 255, 255, .82);
}

.primary-nav > ul > li > a,
.primary-nav .header-menu > li > a {
    color: #fff;
}

.primary-nav > ul > li > a:hover,
.primary-nav .header-menu > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a,
.primary-nav .current_page_ancestor > a {
    color: #fff;
}

.primary-nav > ul > li > a::after,
.primary-nav .header-menu > li > a::after {
    background: #fff;
}

.header-kicker {
    color: rgba(255, 255, 255, .72);
}

.header-phone {
    color: #fff;
}

.header-phone:hover {
    color: #fff;
}

.header-phone i {
    color: #fff;
}

.header-quote-button {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 16px 30px rgba(0, 153, 105, .24);
}

.header-quote-button:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: #fff;
}

.menu-toggle {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

@media (max-width: 1024px) {
    .primary-nav {
        background: #fff;
    }

    .primary-nav > ul > li > a,
    .primary-nav .header-menu > li > a {
        color: var(--ink);
    }

    .primary-nav > ul > li > a:hover,
    .primary-nav .header-menu > li > a:hover,
    .primary-nav .current-menu-item > a,
    .primary-nav .current-menu-ancestor > a,
    .primary-nav .current_page_item > a,
    .primary-nav .current_page_ancestor > a {
        color: var(--primary-dark);
    }
}


/* ==========================================================
   FULL-WIDTH MOBILE NAVIGATION — V12
   Keeps the menu panel across the entire mobile screen.
========================================================== */
@media (max-width: 1024px) {
    .site-header {
        overflow: visible;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 50%;
        right: auto;
        width: 100vw;
        max-width: none;
        margin: 0;
        padding: 10px 22px 24px;
        justify-self: stretch;
        transform: translateX(-50%);
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 34px rgba(37, 74, 68, .14);
        z-index: 999;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav > ul,
    .primary-nav .header-menu {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .primary-nav > ul > li,
    .primary-nav .header-menu > li {
        display: block;
        width: 100%;
    }

    .primary-nav > ul > li > a,
    .primary-nav .header-menu > li > a {
        width: 100%;
        min-height: 52px;
        padding: 14px 42px 14px 4px;
    }

    .primary-nav .sub-menu,
    .primary-nav .children {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 760px) {
    .primary-nav {
        padding-left: 18px;
        padding-right: 18px;
    }

    .primary-nav > ul > li > a,
    .primary-nav .header-menu > li > a {
        font-size: 15px;
        min-height: 54px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

/* ===== Header phone label fix ===== */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.header-contact-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    gap: 4px;
}

.header-kicker {
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;

    background: transparent;
    border: 0;
    color: #fff;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .85;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0;
    padding: 0;

    color: #fff;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone:hover {
    color: #fff;
}

.header-phone i {
    font-size: 18px;
}


@media (max-width: 700px) {
    .header-contact-stack {
        display: none !important;
    }
}

