/*
Theme Name: Nelson Commercial
Theme URI: https://www.nelsoncommercial.com.au
Author: Muhammad Waqas
Author URI: https://www.godesign.pk/
Description: Custom WordPress theme for Nelson Commercial Services - Greater Brisbane commercial grounds maintenance specialists
Version: 1.3.13
Requires at least: 5.8
Tested up to: 6.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nelson-commercial
Tags: business, custom-logo, full-width-template, sticky-post, theme-options
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --green-dark:   #2D6A2D;
  --green-accent: #5A9E2F;
  --green:        #2D6A2D;
  --white:        #FFFFFF;
  --dark:         #1A1A1A;
  --black:        #1A1A1A;
  --grey-light:   #F5F5F5;
  --grey-mid:     #E0E0E0;
  --grey-text:    #555555;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --max-width: 1200px;
  --header-h: 82px;
  --section-pad: 80px 0;

  --transition: 0.3s ease;
  --radius: 6px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.13);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; transition: color var(--transition); }
input, button, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white p { color: var(--white); }
.text-center { text-align: center; }
.lead { font-size: 1.1rem; line-height: 1.85; color: var(--grey-text); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section--grey  { background: var(--grey-light); }
.section--green { background: var(--green-dark); }
.section--dark  { background: var(--dark); }

.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header .section-subtitle { font-size: 1.05rem; color: var(--grey-text); margin: 12px 0 0; max-width: 620px; }
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.btn-primary:hover { background: #235523; border-color: #235523; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-accent { background: #477C24; color: var(--white); border-color: #477C24; }
.btn-accent:hover { background: #38651C; border-color: #38651C; color: var(--white); }
.btn-lg { padding: 18px 40px; font-size: 0.95rem; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   SITE HEADER – Fixed Glassmorphism
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 28, 18, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease;
}
.site-header.is-scrolled {
  background: rgba(12, 36, 22, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 4px 28px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 20px;
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 54px; width: auto; }
.logo-text-mark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
}
.logo-text-mark .logo-main { font-size: 1.15rem; color: var(--green-dark); }
.logo-text-mark .logo-sub { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--grey-text); font-weight: 600; }

/* Nav */
.header-right { display: flex; align-items: center; gap: 24px; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav ul li { position: relative; }
.primary-nav ul li a {
  display: block;
  padding: 8px 13px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current-menu-ancestor > a {
  color: var(--white);
  background: rgba(255,255,255,0.14);
}

/* Dropdown */
.primary-nav ul .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 200;
}
.primary-nav ul li:hover > .sub-menu,
.primary-nav ul li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.primary-nav ul .sub-menu li a {
  padding: 10px 18px;
  border-radius: 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--grey-light);
}
.primary-nav ul .sub-menu li:last-child a { border-bottom: 0; }
.primary-nav ul .sub-menu li a:hover { color: var(--green-dark); background: var(--grey-light); }

/* Header phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  transition: all var(--transition);
}
.header-phone svg { width: 15px; height: 15px; flex-shrink: 0; }
.header-phone:hover { color: var(--white); background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding-top: 82px; padding-bottom: 80px; }
.hero-content { max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .hero-sub { font-size: 1.15rem; opacity: 0.92; margin-bottom: 36px; }

/* Interior page hero — compensates for fixed header */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a4a1a 100%);
  padding: calc(82px + 56px) 0 56px;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; opacity: 0.78; margin-bottom: 14px; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb-sep { opacity: 0.5; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--green-dark); padding: 36px 0; }
.trust-bar-inner { display: flex; justify-content: center; gap: 0; }
.trust-stat {
  text-align: center;
  color: var(--white);
  padding: 0 56px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.trust-stat:last-child { border-right: 0; }
.trust-stat-number { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800; line-height: 1; }
.trust-stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; margin-top: 8px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-image { aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-image img { transform: scale(1.05); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-icon { margin-bottom: 14px; color: var(--green-accent); }
.card-icon svg { width: 40px; height: 40px; }
.card-title { font-size: 1.15rem; margin-bottom: 8px; }
.card-text { font-size: 0.93rem; color: var(--grey-text); flex: 1; margin-bottom: 18px; }
.card-link {
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}
.card-link::after { content: '→'; }
.card-link:hover { color: var(--green-accent); gap: 10px; }

/* Audience cards */
.audience-card {
  padding: 28px 28px 28px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--green-accent);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.audience-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.audience-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.audience-card p { font-size: 0.92rem; color: var(--grey-text); margin-bottom: 14px; }
.audience-card a { color: var(--green-dark); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; }
.audience-card a:hover { color: var(--green-accent); }

/* ============================================================
   WHY CHOOSE / TWO-COLUMN
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col-image { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.two-col-image img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; display: block; }
.two-col-text h2 { margin-bottom: 16px; }
.two-col-text p { color: var(--grey-text); margin-bottom: 20px; }

.check-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}
/* check-list ::before removed — UIcons <i> tags used instead */

/* ============================================================
   ENQUIRY FORM
   ============================================================ */
.enquiry-section { background: var(--grey-light); padding: var(--section-pad); }
.enquiry-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.enquiry-text h2 { margin-bottom: 14px; }
.enquiry-text .lead { margin-bottom: 28px; }
.enquiry-trust-points { display: flex; flex-direction: column; gap: 12px; }
.enquiry-trust-point { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; font-weight: 600; }
/* enquiry-trust-point ::before removed — UIcons <i> tags used instead */
.enquiry-trust-point::before { display: none !important; }

.enquiry-form { background: var(--white); padding: 36px 40px; border-radius: 12px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--grey-mid);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green-dark); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23555' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}
.form-submit .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }
.form-note { font-size: 0.9rem; color: var(--grey-text); text-align: center; margin-top: 10px; line-height: 1.6; }
.form-note .phone-nowrap { white-space: nowrap; }

/* ============================================================
   WHAT'S INCLUDED
   ============================================================ */
.included-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.included-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--grey-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.included-item:hover { background: #eaf3ea; }
.included-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--green-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.included-item h4 { font-size: 1.08rem; margin-bottom: 6px; }
.included-item p { font-size: 0.96rem; line-height: 1.65; color: var(--grey-text); margin: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 3px; }
.faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-mid); }
.faq-question {
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
}
.faq-question:hover { color: var(--green-dark); }
.faq-toggle {
  width: 26px; height: 26px; min-width: 26px;
  border-radius: 50%;
  background: var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: all var(--transition);
  color: var(--dark);
}
.faq-item.open .faq-toggle { background: var(--green-dark); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; color: var(--grey-text); font-size: 0.93rem; padding: 0 22px; }
.faq-item.open .faq-answer { max-height: 600px; padding: 4px 22px 20px; }

/* ============================================================
   AUDIENCE / PAIN POINTS
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain-card { padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border-top: 3px solid var(--green-accent); }
.pain-card h4 { font-size: 0.97rem; margin-bottom: 7px; }
.pain-card p { font-size: 0.9rem; color: var(--grey-text); margin: 0; }

/* Packages */
.packages-section { background: var(--green-dark); color: var(--white); padding: var(--section-pad); }
.packages-section h2 { color: var(--white); }
/* packages-grid & pkg-card rules moved to investment-section block below */

/* ============================================================
   SERVICE AREAS PAGE
   ============================================================ */
.suburbs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 36px 0; }
.suburb-item { padding: 10px 14px; background: var(--white); border: 1px solid var(--grey-mid); border-radius: 100px; font-size: 0.875rem; text-align: center; transition: all var(--transition); color: var(--dark); }
.suburb-item:hover { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.map-embed { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); margin: 40px 0; }
.map-embed iframe { display: block; width: 100%; border: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info-items { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.c-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: var(--green-dark);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.c-icon svg { width: 20px; height: 20px; }
.c-label { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.c-value { font-size: 0.93rem; color: var(--grey-text); }
.c-value a { color: var(--grey-text); }
.c-value a:hover { color: var(--green-dark); }
.call-cta-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  margin-top: 8px;
  transition: background var(--transition);
}
.call-cta-btn svg { width: 20px; height: 20px; }
.call-cta-btn:hover { background: var(--green-accent); color: var(--white); }

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 22px; }
.blog-meta { font-size: 0.8rem; color: var(--grey-text); margin-bottom: 8px; }
.blog-card-title { font-size: 1.08rem; margin-bottom: 10px; }
.blog-card-title a { color: var(--dark); }
.blog-card-title a:hover { color: var(--green-dark); }
.blog-excerpt { font-size: 0.9rem; color: var(--grey-text); margin-bottom: 16px; }
.blog-read-more { color: var(--green-dark); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; }
.blog-read-more:hover { color: var(--green-accent); }

/* Single post */
.post-header { padding: 60px 0 40px; }
.post-content { max-width: 780px; margin: 0 auto; padding: 0 24px 80px; }
.post-content h2 { margin: 36px 0 14px; }
.post-content h3 { margin: 28px 0 12px; }
.post-content p { color: var(--grey-text); margin-bottom: 18px; }
.post-content ul { padding-left: 20px; margin-bottom: 18px; }
.post-content ul li { list-style: disc; color: var(--grey-text); margin-bottom: 8px; }
.post-content ol { padding-left: 20px; margin-bottom: 18px; }
.post-content ol li { list-style: decimal; color: var(--grey-text); margin-bottom: 8px; }
.post-cta-box { background: var(--grey-light); border-radius: var(--radius); padding: 28px 32px; margin: 40px 0; border-left: 4px solid var(--green-accent); }
.post-cta-box h3 { margin-bottom: 10px; }
.post-cta-box p { color: var(--grey-text); margin-bottom: 18px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: var(--green-dark); padding: 64px 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 30px; }

/* ============================================================
   INSURED CALLOUT
   ============================================================ */
.insured-bar { background: var(--dark); color: var(--white); padding: 40px 0; }
.insured-inner { display: flex; align-items: center; justify-content: center; gap: 28px; text-align: left; }
.insured-badge { font-size: 2.6rem; line-height: 1; }
.insured-inner h3 { color: var(--white); margin-bottom: 5px; }
.insured-inner p { opacity: 0.75; font-size: 0.93rem; margin: 0; }

/* ============================================================
   ABOUT - TRADIFY SECTION
   ============================================================ */
.tradify-section { padding: var(--section-pad); background: var(--grey-light); }
.tradify-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tradify-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.tradify-step { display: flex; gap: 16px; }
.step-num {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
}
.step-content h4 { font-size: 0.95rem; margin-bottom: 4px; }
.step-content p { font-size: 0.88rem; color: var(--grey-text); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #111111; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin: 16px 0 24px; line-height: 1.7; }
.footer-logo .logo-main { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--green-accent); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--green-accent); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-row { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-row svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--green-accent); }
.footer-contact-row span, .footer-contact-row a { font-size: 0.87rem; color: rgba(255,255,255,0.7); }
.footer-contact-row a:hover { color: var(--green-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   MOBILE CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: var(--white);
  border-top: 1px solid var(--grey-mid);
  box-shadow: 0 -3px 20px rgba(0,0,0,0.12);
}
.mobile-cta-bar-inner { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 16px 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mobile-cta-bar .cta-call { background: var(--green-dark); color: var(--white); }
.mobile-cta-bar .cta-quote { background: #477C24; color: var(--white); }
.mobile-cta-bar svg { width: 17px; height: 17px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* packages-grid responsive now handled in investment-section block */
  .enquiry-inner { grid-template-columns: 1fr; }
  .tradify-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — 768px and below
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 56px 0; }

  /* ── Header: always opaque dark on mobile ───────────────── */
  .site-header {
    background: rgba(10, 28, 18, 0.96) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }
  .header-inner { height: 68px; }
  .site-logo img { height: 42px; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }

  /* ── Mobile nav — dark glass drawer ────────────────────── */
  .primary-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(8, 24, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0 80px;
    overflow-y: auto;
    z-index: 999;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .primary-nav ul li a {
    padding: 15px 24px;
    border-radius: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.90) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    background: transparent !important;
  }
  .primary-nav ul li a:hover,
  .primary-nav ul li.current-menu-item > a { color: #fff !important; background: rgba(255,255,255,0.08) !important; }
  .primary-nav ul .sub-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05) !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    min-width: 0;
  }
  .primary-nav ul li.is-open > .sub-menu { max-height: 600px; }
  .primary-nav ul .sub-menu li a {
    padding: 12px 36px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75) !important;
  }

  /* ── Grids ──────────────────────────────────────────────── */
  .grid-2, .grid-3, .grid-4, .two-col, .two-col--reverse { grid-template-columns: 1fr !important; }
  .two-col-text, .two-col-image { order: unset; }
  .image-stack img:last-child { display: none; }

  /* ── Hero ───────────────────────────────────────────────── */
  .hero,
  .hero--nelson { min-height: 100svh; min-height: 100vh; }
  .hero .container { padding-top: 90px; padding-bottom: 60px; }
  .hero-content { max-width: 100%; }
  .hero-content h1 { font-size: clamp(1.65rem, 7vw, 2.4rem); line-height: 1.2; }
  .hero-sub { font-size: 0.95rem; }
  .btn-group { flex-direction: column; gap: 12px; }
  .btn-group .btn { width: 100%; justify-content: center; text-align: center; }
  .eyebrow { font-size: 0.72rem; }

  /* ── Trust bar: 2×2 grid ────────────────────────────────── */
  .trust-bar { padding: 8px 0; }
  .trust-bar-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex-wrap: unset;
  }
  .trust-stat {
    padding: 18px 12px;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    flex: unset;
    text-align: center;
  }
  .trust-stat:nth-child(even) { border-right: none; }
  .trust-stat:nth-last-child(-n+2) { border-bottom: none; }
  .trust-stat-icon { font-size: 1.2rem; margin-bottom: 4px; }
  .trust-stat-number { font-size: 1.7rem; }
  .trust-stat-label { font-size: 0.7rem; }

  /* ── Intro / proof panel ────────────────────────────────── */
  .proof-panel { grid-template-columns: 1fr 1fr; gap: 14px; }
  .proof-panel > div { padding: 18px 12px; }
  .proof-panel > div span { font-size: 1.8rem; }

  /* ── Service slider ─────────────────────────────────────── */
  .service-slide { min-width: 280px; }

  /* ── Investment / packages section ─────────────────────── */
  .investment-section { padding: 64px 0 72px; }
  .investment-heading { font-size: clamp(1.55rem, 6vw, 2.2rem); }
  .packages-grid { grid-template-columns: 1fr !important; max-width: 440px; margin: 0 auto; }
  .pkg-card--featured { transform: none; box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
  .pkg-card--featured:hover { transform: translateY(-4px); }

  /* ── Blog grid ──────────────────────────────────────────── */
  .blog-grid { grid-template-columns: 1fr; }

  /* ── Page hero ──────────────────────────────────────────── */
  .page-hero { padding: calc(68px + 44px) 0 40px !important; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2.1rem); }

  /* ── About / service grids ──────────────────────────────── */
  .pain-grid { grid-template-columns: 1fr; gap: 16px; }
  .audience-card { padding: 24px 20px !important; }

  /* ── Enquiry form ───────────────────────────────────────── */
  .enquiry-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .enquiry-trust-points { gap: 12px; }

  /* ── Contact grid ───────────────────────────────────────── */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* ── Footer ─────────────────────────────────────────────── */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-logo img { width: 160px; }
  .footer-qr { flex-direction: column; text-align: center; }
  .footer-qr img { width: 70px; height: 70px; }

  /* ── Misc ───────────────────────────────────────────────── */
  .suburbs-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .suburb-item { font-size: 0.82rem; padding: 8px 10px; }
  .included-grid, .pain-grid { grid-template-columns: 1fr; }
  .insured-inner { flex-direction: column; text-align: center; gap: 20px; }
  .insured-badge { font-size: 1.6rem; }
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 84px; }

  /* ── CTA banner ─────────────────────────────────────────── */
  .cta-banner-inner { flex-direction: column; gap: 20px; text-align: center; }
  .cta-banner-inner .btn { width: 100%; text-align: center; justify-content: center; }

  /* ── Section header ─────────────────────────────────────── */
  .section-header { margin-bottom: 36px; }
}

/* ── 480px ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .proof-panel { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .btn { padding: 13px 20px; font-size: 0.82rem; }
  .btn-lg { padding: 15px 24px; font-size: 0.88rem; }
  .pkg-card { padding: 28px 20px 24px; }
  .investment-section { padding: 52px 0 60px; }
  .enquiry-section { padding: 44px 0 52px; }
  .enquiry-form-inner { padding: 24px 16px; }
  .suburbs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   NELSON REFRESH
   ============================================================ */
:root {
  --green-deep: #163f2d;
  --green-fresh: #6eaa3d;
  --teal: #156b72;
  --gold: #c99a3d;
  --ink: #14201a;
  --mist: #f3f7f1;
  --glass: rgba(255,255,255,0.78);
  --glass-border: rgba(255,255,255,0.48);
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(243,247,241,0.55), rgba(255,255,255,0) 420px),
    var(--white);
}

.site-header {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.52);
  box-shadow: 0 12px 34px rgba(20,32,26,0.08);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 16px 38px rgba(20,32,26,0.13);
}

.header-inner { height: 86px; }
.site-logo img,
.footer-logo img {
  width: min(264px, 48vw);
  height: auto;
}
.primary-nav ul li a {
  color: var(--ink);
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current-menu-ancestor > a {
  color: var(--green-deep);
  background: rgba(110,170,61,0.12);
}
.header-phone {
  padding: 10px 14px;
  color: var(--green-deep);
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(22,63,45,0.12);
  border-radius: 999px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero--nelson {
  min-height: 690px;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slider span {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 7s ease;
}
.hero-slider span.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero::before {
  background:
    linear-gradient(90deg, rgba(11,32,22,0.88), rgba(11,32,22,0.52) 54%, rgba(11,32,22,0.25)),
    radial-gradient(circle at 75% 25%, rgba(201,154,61,0.25), transparent 30%);
}
.hero .container { z-index: 2; }
.hero-content {
  max-width: 820px;
  padding: 42px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(12,34,24,0.26);
  backdrop-filter: blur(8px);
}
.hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
}
.hero .hero-sub {
  max-width: 760px;
  font-size: 1.08rem;
}

.page-hero--image {
  position: relative;
  padding: 92px 0 76px;
  background-size: cover;
  background-position: center;
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,45,31,0.88), rgba(16,45,31,0.62)),
    rgba(0,0,0,0.18);
}
.page-hero--image .container {
  position: relative;
  z-index: 1;
}
.page-hero--image p {
  max-width: 760px;
  color: rgba(255,255,255,0.9);
}

.intro-section {
  background:
    linear-gradient(135deg, rgba(110,170,61,0.1), rgba(21,107,114,0.08)),
    var(--white);
}
.proof-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.proof-panel > div {
  padding: 28px;
  border: 1px solid rgba(22,63,45,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 50px rgba(20,32,26,0.08);
}
.proof-panel span {
  display: block;
  color: var(--green-deep);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}
.proof-panel p {
  color: var(--grey-text);
  margin-top: 8px;
}

.service-slider-wrap {
  position: relative;
}
.service-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}
.service-slider-track::-webkit-scrollbar { display: none; }
.service-slide {
  min-width: 0;
  scroll-snap-align: start;
}
.service-slide .card-image {
  aspect-ratio: 4/3;
}
.slider-btn {
  position: absolute;
  top: 44%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(22,63,45,0.14);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 30px rgba(20,32,26,0.18);
  color: var(--green-deep);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.slider-btn:hover {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-2px);
}
.slider-prev { left: -22px; }
.slider-next { right: -22px; }

.image-stack {
  position: relative;
  min-height: 480px;
}
.image-stack img {
  width: min(76%, 520px);
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(20,32,26,0.2);
}
.image-stack img:nth-child(2) {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 8px solid var(--white);
}
.two-col--reverse .image-stack,
.two-col--reverse .proof-panel {
  order: 2;
}

/* ============================================================
   INVESTMENT / PRE-SALE SECTION — full rewrite
   ============================================================ */
.investment-section {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
  background: url('assets/img/service-pre-sale-garden-refresh.jpg') center / cover no-repeat;
}
.investment-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,28,16,0.93) 0%, rgba(18,60,36,0.88) 60%, rgba(10,40,28,0.92) 100%);
  z-index: 0;
}
.investment-section__inner {
  position: relative;
  z-index: 1;
}
.investment-section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

/* Eyebrow with lines */
.investment-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c99a3d;
  margin-bottom: 22px;
}
.investment-eyebrow__line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: #c99a3d;
  border-radius: 2px;
}

/* Heading & subtitle — must be white */
.investment-heading {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.18;
  margin-bottom: 20px;
}
.investment-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82) !important;
  line-height: 1.75;
  margin: 0;
}

/* ── Package Cards ─────────────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pkg-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
}
.pkg-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

/* Featured card — white solid */
.pkg-card--featured {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  transform: translateY(-12px);
}
.pkg-card--featured:hover {
  transform: translateY(-18px);
  box-shadow: 0 32px 72px rgba(0,0,0,0.4);
  background: #ffffff;
}

/* Badge */
.pkg-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--green-dark), var(--green-accent));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Card icon */
.pkg-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
  color: var(--green-accent);
}
.pkg-card__icon--dark {
  background: var(--green-dark);
  color: #ffffff;
}

/* Labels */
.pkg-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.pkg-card--featured .pkg-label { color: var(--green-dark); }

.pkg-freq {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.pkg-card--featured .pkg-freq { color: rgba(0,0,0,0.45); }

/* Feature list */
.pkg-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 28px;
}
.pkg-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}
.pkg-feature .fi {
  color: var(--green-accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pkg-card--featured .pkg-feature { color: #333; }
.pkg-card--featured .pkg-feature .fi { color: var(--green-dark); }

/* Remove old ::before tick */
.pkg-feature::before { display: none !important; }

/* CTA link */
.pkg-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.28);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.pkg-cta:hover {
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  transform: translateX(3px);
}
.pkg-cta--dark {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #ffffff;
}
.pkg-cta--dark:hover {
  background: #477C24;
  border-color: #477C24;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pkg-card--featured { transform: none; }
  .pkg-card--featured:hover { transform: translateY(-6px); }
}

.service-library {
  display: grid;
  gap: 34px;
}
.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(22,63,45,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 18px 48px rgba(20,32,26,0.08);
}
.service-feature:nth-child(even) .service-feature-media {
  order: 2;
}
.service-feature-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}
.service-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-count {
  display: inline-flex;
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 8px;
}
.mini-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
}
.mini-list li {
  position: relative;
  padding-left: 0;
  color: var(--grey-text);
}
/* mini-list ::before removed — UIcons <i> tags used instead */

.qr-card,
.footer-qr {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding: 18px;
  border: 1px solid rgba(22,63,45,0.12);
  border-radius: 8px;
  background: var(--mist);
}
.qr-card img,
.footer-qr img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}
.qr-card h3,
.footer-qr strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--green-deep);
  margin-bottom: 6px;
}
.qr-card--no-image {
  grid-template-columns: 1fr;
}
.qr-card h3 {
  font-size: 1.15rem;
}
.qr-card p {
  font-size: 0.98rem;
  line-height: 1.65;
}
.footer-qr span {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 0.84rem;
}

.static-articles {
  display: grid;
  gap: 34px;
  margin-top: 64px;
}
.static-article {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background: var(--mist);
}
.static-article-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 8px;
}
.static-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.static-article-body p {
  color: var(--grey-text);
}

.site-footer {
  position: relative;
  padding: 80px 0 32px;
  background:
    linear-gradient(135deg, #0f2119, #123e3f 58%, #1d2b22);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.footer-shell {
  position: relative;
  z-index: 1;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}
.footer-grid {
  grid-template-columns: 1.45fr 1.2fr 0.8fr 1.2fr;
}
.footer-brand p {
  color: rgba(255,255,255,0.74);
}
.footer-logo img {
  background: rgba(255,255,255,0.92);
  padding: 7px 10px;
  border-radius: 6px;
}
.footer-qr {
  grid-template-columns: 86px 1fr;
  margin-top: 22px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}
.footer-qr img {
  width: 86px;
  height: 86px;
}
.footer-qr strong { color: var(--white); }
.footer-quote {
  display: inline-flex;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #0f2119;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
}
.footer-quote:hover {
  color: #0f2119;
  background: #e3b24f;
}
.footer-bottom a {
  color: var(--gold);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-slider span,
  .card,
  .slider-btn {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .service-slider-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .service-feature,
  .static-article {
    grid-template-columns: 1fr;
  }
  .service-feature:nth-child(even) .service-feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 76px; }
  .primary-nav {
    top: 76px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
  }
  .hero--nelson { min-height: 620px; }
  .hero-content {
    padding: 28px 22px;
  }
  .service-slider-track { grid-auto-columns: 88%; }
  .slider-prev { left: 4px; }
  .slider-next { right: 4px; }
  .image-stack { min-height: auto; display: grid; gap: 18px; }
  .image-stack img,
  .image-stack img:nth-child(2) {
    position: static;
    width: 100%;
    border: 0;
  }
  .two-col--reverse .image-stack,
  .two-col--reverse .proof-panel {
    order: 0;
  }
  .service-feature { padding: 18px; }
  .qr-card,
  .footer-qr {
    grid-template-columns: 1fr;
  }
  .footer-shell { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HEADER RESPONSIVE REFINEMENT
   ============================================================ */
.site-header .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(16px, 3vw, 56px);
  padding-right: clamp(16px, 3vw, 56px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(230px, 330px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.7vw, 30px);
  width: 100%;
  min-height: 76px;
  height: auto;
}

.site-logo img {
  width: clamp(250px, 18vw, 340px);
  max-height: 58px;
  object-fit: contain;
}

.header-right {
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 24px);
  min-width: 0;
}

.primary-nav {
  justify-self: center;
  min-width: 0;
}

.primary-nav ul {
  flex-wrap: nowrap;
  justify-content: center;
}

.primary-nav ul li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px clamp(8px, 0.65vw, 14px);
  font-size: clamp(0.78rem, 0.64vw, 0.9rem);
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
}

.primary-nav ul .sub-menu li a {
  justify-content: flex-start;
  min-height: 0;
  white-space: normal;
  text-align: left;
}

.header-phone {
  min-height: 44px;
  padding: 9px 12px;
  font-size: clamp(0.82rem, 0.85vw, 0.95rem);
}

.header-quote {
  min-height: 48px;
  padding-left: clamp(18px, 1.7vw, 30px);
  padding-right: clamp(18px, 1.7vw, 30px);
}

@media (min-width: 1500px) {
  .header-inner {
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr) auto;
    min-height: 86px;
  }

  .site-logo img {
    width: clamp(320px, 20vw, 390px);
    max-height: 68px;
  }

  .primary-nav ul li a {
    font-size: 0.92rem;
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 1500px) {
  .header-inner {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) auto;
    gap: 12px;
  }

  .site-logo img {
    width: clamp(230px, 21vw, 280px);
  }

  .primary-nav ul li a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.78rem;
  }

  .header-phone {
    display: none !important;
  }
}

@media (max-width: 1180px) {
  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    display: flex;
    min-height: 76px;
  }

  .primary-nav {
    display: none;
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    max-height: calc(100vh - 96px);
    padding: 10px 0 16px;
    overflow-y: auto;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(22,63,45,0.12);
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(20,32,26,0.16);
    backdrop-filter: blur(14px);
    z-index: 999;
  }

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

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav ul li a {
    justify-content: flex-start;
    min-height: 0;
    padding: 14px 20px;
    border-bottom: 1px solid var(--grey-light);
    border-radius: 0;
    font-size: 0.93rem;
    text-align: left;
  }

  .primary-nav ul .sub-menu {
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-radius: 0;
    background: var(--grey-light);
    box-shadow: none;
  }

  .primary-nav ul li.is-open > .sub-menu {
    max-height: 520px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

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

  .site-logo img {
    width: min(242px, 64vw);
    max-height: 54px;
  }

  .header-quote {
    display: none;
  }

  .primary-nav {
    top: 72px;
    left: 12px;
    right: 12px;
  }
}

@media (max-width: 380px) {
  .site-logo img {
    width: 214px;
  }
}

/* ============================================================
   GLASSMORPHISM HEADER DROPDOWN (on fixed transparent header)
   ============================================================ */
.primary-nav ul .sub-menu {
  background: rgba(12, 36, 22, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.primary-nav ul .sub-menu li a {
  color: rgba(255,255,255,0.88);
  border-bottom-color: rgba(255,255,255,0.08);
}
.primary-nav ul .sub-menu li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.10);
}

/* Hamburger bars — white */
.nav-toggle span { background: rgba(255,255,255,0.9); }
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Mobile nav — keep dark bg */
@media (max-width: 1180px) {
  .primary-nav {
    background: rgba(12, 36, 22, 0.97) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }
  .primary-nav ul li a { color: rgba(255,255,255,0.90) !important; border-bottom-color: rgba(255,255,255,0.08); }
  .primary-nav ul .sub-menu { background: rgba(6, 20, 12, 0.6) !important; border: none; }
}

/* Page-hero image variant — extra top padding for fixed header */
.page-hero--image {
  padding-top: calc(82px + 80px) !important;
  padding-bottom: 76px;
}

/* Archive/blog hero */
.page-hero.blog-archive-hero,
.archive .page-hero { padding-top: calc(82px + 60px); }

/* ============================================================
   COUNTER ANIMATION
   ============================================================ */
.proof-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.proof-panel > div {
  background: linear-gradient(135deg, rgba(45,106,45,0.08), rgba(90,158,47,0.06));
  border: 1px solid rgba(45,106,45,0.14);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proof-panel > div:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(45,106,45,0.14); }
.proof-panel > div span {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: 8px;
}
.proof-panel > div p { font-size: 0.88rem; color: var(--grey-text); margin: 0; line-height: 1.4; }

/* Counter digit that animates */
.counter-value { display: inline-block; }

/* ============================================================
   TEXT & SCROLL ANIMATIONS
   ============================================================ */

/* Base reveal state */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.55s; }

/* Fade from left / right */
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.in { opacity: 1; transform: translateX(0); }

/* Hero text — separate animation */
.hero-content { animation: heroFadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.2s; }
.hero-content .eyebrow { animation: heroFadeUp 0.7s ease both; animation-delay: 0.1s; }
.hero-content h1 { animation: heroFadeUp 0.8s ease both; animation-delay: 0.25s; }
.hero-content .hero-sub { animation: heroFadeUp 0.8s ease both; animation-delay: 0.4s; }
.hero-content .btn-group { animation: heroFadeUp 0.8s ease both; animation-delay: 0.55s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow line-grow animation */
.eyebrow { overflow: visible; position: relative; }

/* Card hover lift */
.card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

/* Service card image zoom */
.card-image { overflow: hidden; }
.card-image img { transition: transform 0.55s cubic-bezier(0.22,1,0.36,1); }
.card:hover .card-image img { transform: scale(1.06); }

/* ============================================================
   HERO SLIDER ENHANCEMENTS
   ============================================================ */
.hero--nelson {
  min-height: 100vh;
  overflow: hidden;
}
.hero-slider span {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 8s ease;
}
.hero-slider span.is-active {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   SECTION IMPROVEMENTS
   ============================================================ */
.intro-section .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 768px) { .intro-section .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* Stats number glow effect */
.proof-panel > div span {
  background: linear-gradient(135deg, var(--green-dark), var(--green-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   FOOTER IMPROVEMENTS
   ============================================================ */
.footer-qr { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px; background: rgba(255,255,255,0.06); border-radius: 10px; border: 1px solid rgba(255,255,255,0.10); }
.footer-qr img { flex-shrink: 0; width: 80px; height: 80px; border-radius: 6px; background: var(--white); padding: 4px; }
.footer-qr strong { display: block; font-size: 0.85rem; color: var(--white); margin-bottom: 4px; }
.footer-qr span { font-size: 0.78rem; color: rgba(255,255,255,0.6); display: block; }

/* Footer brand logo size */
.footer-logo img { width: min(200px, 50vw); height: auto; }

/* ============================================================
   BLOG IMPROVEMENTS
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.blog-card { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; background: var(--white); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
.blog-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-meta { font-size: 0.78rem; color: var(--green-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.blog-card-title { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card-title a { color: var(--dark); }
.blog-card-title a:hover { color: var(--green-dark); }
.blog-excerpt { font-size: 0.9rem; color: var(--grey-text); line-height: 1.6; margin-bottom: 16px; }
.blog-read-more { font-size: 0.85rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.5px; }
.blog-read-more:hover { color: var(--green-accent); }

/* ============================================================
   RESPONSIVE FIXES FOR FIXED HEADER
   ============================================================ */
@media (max-width: 768px) {
  .hero .container { padding-top: 82px; }
  .hero { min-height: 90vh; }
  .proof-panel { grid-template-columns: 1fr 1fr; gap: 16px; }
  .proof-panel > div { padding: 20px 14px; }
}
@media (max-width: 480px) {
  .proof-panel { grid-template-columns: 1fr; }
}

/* ============================================================
   FLATICON UICONS – Global sizing & placement
   ============================================================ */

/* Base icon sizing — inherits from context */
.fi { font-style: normal; line-height: 1; vertical-align: middle; }

/* Header phone icon */
.header-phone .fi { font-size: 1rem; }

/* Trust bar icons */
.trust-stat-icon {
  display: block;
  font-size: 1.6rem;
  color: var(--green-accent);
  margin-bottom: 6px;
}

/* Proof panel icons (homepage stats) */
.proof-icon {
  display: block;
  font-size: 1.8rem;
  color: var(--green-accent);
  margin-bottom: 8px;
}

/* Audience / feature card icons */
.audience-card-icon {
  display: block;
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 14px;
  line-height: 1;
}

/* Contact info icons (c-icon) — white icon on green background box */
.c-icon .fi {
  font-size: 1.25rem;
  color: var(--white);
}

/* Footer contact row icons */
.footer-contact-row .fi {
  font-size: 1.1rem;
  color: var(--green-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Check-list icons */
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list li .fi {
  font-size: 1rem;
  color: var(--green-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Mini-list (service features) icons */
.mini-list li { display: flex; align-items: flex-start; gap: 8px; }
.mini-list li .fi {
  font-size: 0.95rem;
  color: var(--green-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Enquiry trust points */
.enquiry-trust-point { display: flex; align-items: center; gap: 10px; }
.enquiry-trust-point .fi {
  font-size: 1.1rem;
  color: var(--green-accent);
  flex-shrink: 0;
}

/* Button icons */
.btn .fi { font-size: 1rem; vertical-align: middle; }

/* Mobile CTA bar icons */
.cta-call .fi,
.cta-quote .fi { font-size: 1.2rem; }

/* Form submit icon */
.form-submit .btn .fi { font-size: 1rem; }

/* Who-we-help arrow in link */
.audience-card a .fi { font-size: 0.85rem; vertical-align: middle; }

/* ============================================================
   FINAL OVERRIDES v1.2.2 — Nav, logo, hamburger, a11y, perf
   ============================================================ */

/* ── Hamburger — clear pill button on dark header ─────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 9px 10px;
  background: rgba(255,255,255,0.15) !important;
  border: 1.5px solid rgba(255,255,255,0.40) !important;
  border-radius: 8px !important;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block !important;
  width: 26px !important;
  height: 3px !important;
  background: rgba(255,255,255,0.95) !important;
  border-radius: 3px !important;
  transition: all 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ── Desktop nav — show inline ────────────────────────────── */
.primary-nav--desktop { display: flex; }

/* ── Mobile nav drawer — FULL-SCREEN OVERLAY ─────────────── */
/* !important on every positioning property to beat the
   REFRESH block's dropdown-style (left:20px; right:20px;
   border-radius:8px; max-height:calc(100vh-96px)) rules */
.primary-nav--mobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100% !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 0 80px !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  background: rgba(8, 22, 14, 0.99) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.primary-nav--mobile.is-open {
  display: flex !important;
}

/* Spacer so nav items start below fixed header */
.primary-nav--mobile::before {
  content: '' !important;
  display: block !important;
  height: 76px !important;
  flex-shrink: 0 !important;
}

/* Nav drawer items */
.primary-nav--mobile ul {
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.primary-nav--mobile ul li a {
  display: block !important;
  color: rgba(255,255,255,0.90) !important;
  padding: 18px 28px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  background: transparent !important;
  border-radius: 0 !important;
  white-space: normal !important;
}
.primary-nav--mobile ul li a:hover,
.primary-nav--mobile ul li.current-menu-item > a {
  color: #ffffff !important;
  background: rgba(255,255,255,0.10) !important;
}
.primary-nav--mobile ul .sub-menu {
  position: static !important;
  display: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: rgba(0,0,0,0.25) !important;
  border: none !important;
  box-shadow: none !important;
  max-height: none !important;
  border-radius: 0 !important;
}
.primary-nav--mobile ul li.is-open > .sub-menu { display: block !important; }
.primary-nav--mobile ul .sub-menu li a {
  padding: 13px 44px !important;
  font-size: 0.95rem !important;
  color: rgba(255,255,255,0.75) !important;
}

/* ── On desktop ≥1181px: hide mobile drawer, show inline nav ─ */
@media (min-width: 1181px) {
  .primary-nav--mobile { display: none !important; }
  .primary-nav--desktop { display: flex !important; }
  .nav-toggle { display: none !important; }
}

/* ── On ≤1180px: dark header, hamburger visible ────────────── */
@media (max-width: 1180px) {
  .primary-nav--desktop { display: none !important; }
  .nav-toggle { display: flex !important; }
  .site-header { background: rgba(10, 28, 18, 0.97) !important; }
}

/* ── Mobile phones: bigger logo, correct padding ─────────── */
@media (max-width: 768px) {
  .header-inner {
    height: 76px !important;
    min-height: 76px !important;
  }
  /* Logo — as large as the header allows */
  .site-logo img {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    max-width: calc(100vw - 64px) !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  /* Hero top padding */
  .hero .container { padding-top: 96px !important; }
  .page-hero { padding-top: calc(76px + 44px) !important; }
  /* Mobile nav spacer matches header height */
  .primary-nav--mobile::before { height: 76px !important; }
}

/* ── Hero content — centered ──────────────────────────────── */
.hero .container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hero-content { margin: 0 auto !important; }

/* ── Header phone — dark ink on light glass header ────────── */
.header-phone {
  color: var(--green-deep) !important;
  background: rgba(255,255,255,0.72) !important;
  border-color: rgba(22,63,45,0.20) !important;
}

/* ── Accessibility: eyebrow contrast on light backgrounds ─── */
.eyebrow { color: var(--green-dark) !important; }
.hero .eyebrow,
.hero--nelson .eyebrow,
.investment-section .eyebrow,
.insured-bar .eyebrow,
.cta-banner .eyebrow,
.page-hero .eyebrow { color: var(--gold) !important; }

/* ── Accessibility: underline inline content links ──────────  */
.two-col-text a:not(.btn),
.faq-answer a,
p a:not(.btn) { text-decoration: underline; }

/* ── Double-icon cleanup ─────────────────────────────────── */
.enquiry-trust-point::before { display: none !important; content: none !important; }
.check-list li::before,
.mini-list li::before { display: none !important; content: none !important; }

/* ── Thank You page ────────────────────────────────────────── */
.thank-you-section { padding: var(--section-pad) 0; }
.thank-you-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.thank-you-icon {
  font-size: 64px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 24px;
}
.thank-you-inner h2 { margin-bottom: 16px; }
.thank-you-inner .lead { margin-bottom: 40px; color: var(--grey-text); }
.thank-you-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--grey-light);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 40px;
  text-align: left;
}
.thank-you-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.thank-you-detail-item .fi {
  font-size: 1.2rem;
  color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
}
.thank-you-detail-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.thank-you-detail-item strong { font-size: 0.9rem; color: var(--black); }
.thank-you-detail-item span  { font-size: 0.875rem; color: var(--grey-text); }
.thank-you-detail-item a     { color: var(--green); font-weight: 600; }
.thank-you-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.page-hero--short {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero--short::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,74,51,0.82) 0%, rgba(26,74,51,0.55) 100%);
}
.page-hero--short .container { position: relative; z-index: 1; }
.page-hero--short h1 { color: var(--white); margin-bottom: 10px; }
.page-hero--short p  { color: rgba(255,255,255,0.88); font-size: 1.1rem; }

/* ── Form error message ──────────────────────────────────── */
.form-error-msg { color: #c0392b; font-size: 0.9rem; margin-top: 10px; }

/* ── Logo sizing – all devices (beats inline critical CSS & WP attr) ── */
.site-logo img, .site-logo img.custom-logo {
  height: 52px !important;
  width: auto !important;
  max-width: 220px !important;
}

@media (max-width: 1180px) {
  .header-inner { height: 80px !important; min-height: 80px !important; }
  .site-logo img, .site-logo img.custom-logo {
    height: 52px !important;
    width: auto !important;
    max-width: 200px !important;
  }
}

@media (max-width: 768px) {
  .header-inner { height: 80px !important; min-height: 80px !important; }
  .site-logo img, .site-logo img.custom-logo {
    height: 48px !important;
    width: auto !important;
    max-width: calc(100vw - 80px) !important;
  }
}

/* ── Thank You page – mobile ─────────────────────────────── */
@media (max-width: 768px) {
  .thank-you-inner { padding: 0 4px; }
  .thank-you-icon { font-size: 48px; margin-bottom: 18px; }
  .thank-you-inner h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .thank-you-inner .lead { font-size: 0.95rem; margin-bottom: 28px; }
  .thank-you-details { padding: 20px 18px; gap: 14px; }
  .thank-you-actions { flex-direction: column; }
  .thank-you-actions .btn { width: 100%; justify-content: center; }
  .page-hero--short { padding: calc(96px + 32px) 0 40px; }
  .page-hero--short h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .page-hero--short p { font-size: 0.95rem; }
}

/* ── Client correction pass: service map, projects, forms ── */
.service-map-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.55fr);
  gap: 30px;
  align-items: stretch;
}
.service-map-controls { display: grid; gap: 12px; }
.service-range-control {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--grey-mid);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(20,32,26,.05);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-range-control:hover { transform: translateY(-2px); border-color: var(--green-accent); }
.service-range-control.is-active { border-color: var(--green-dark); box-shadow: 0 8px 24px rgba(45,106,45,.15); background: #f4f8f1; }
.service-range-control span { display: grid; gap: 5px; }
.service-range-control strong { font-family: var(--font-heading); line-height: 1.25; }
.service-range-control small { color: var(--grey-text); line-height: 1.45; }
.service-range-control b { flex: 0 0 auto; color: var(--green-dark); font-family: var(--font-heading); font-size: 1.05rem; }
.service-map-panel { min-width: 0; }
#nelson-service-map { width: 100%; min-height: 580px; border-radius: 14px; box-shadow: var(--shadow-md); overflow: hidden; z-index: 1; }
.service-map-status { margin: 14px 0 0; color: var(--grey-text); font-size: .92rem; }

.project-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.project-filter {
  appearance: none;
  border: 1px solid var(--grey-mid);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 17px;
  font: 700 .84rem/1 var(--font-heading);
  cursor: pointer;
}
.project-filter:hover, .project-filter.is-active { color: var(--white); background: var(--green-dark); border-color: var(--green-dark); }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.project-card { background: var(--white); border-radius: 13px; overflow: hidden; box-shadow: 0 8px 28px rgba(20,32,26,.10); }
.project-card[hidden] { display: none !important; }
.project-card__media { aspect-ratio: 4 / 3; }
.project-card__media > img { width: 100%; height: 100%; object-fit: cover; }
.project-card__label { position: absolute; left: 16px; bottom: 16px; z-index: 3; background: rgba(22,63,45,.92); color: var(--white); border-radius: 999px; padding: 7px 12px; font: 700 .72rem/1 var(--font-heading); }
.project-card__body { padding: 23px 24px 26px; }
.project-card__body h3 { font-size: 1.15rem; }
.project-card__body p { color: var(--grey-text); margin: 0; }
.ncs-image-frame { position: relative; overflow: hidden; }

.form-group small { display: block; margin-top: 7px; color: var(--grey-text); font-size: .78rem; line-height: 1.4; }
.form-group input[type="file"] { padding: 12px; background: #f8faf7; }
.agent-fields { margin: 4px 0 18px; padding: 18px 18px 2px; border: 1px solid rgba(45,106,45,.22); border-radius: 10px; background: #f4f8f1; }
.agent-fields[hidden] { display: none !important; }

@media (max-width: 980px) {
  .service-map-layout { grid-template-columns: 1fr; }
  #nelson-service-map { min-height: 480px; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .service-range-control { align-items: flex-start; padding: 15px; }
  #nelson-service-map { min-height: 410px; border-radius: 9px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .project-filter { white-space: nowrap; }
}

/* ============================================================
   CONTRAST HARDENING v1.3.1
   Keeps CTA text readable when generic card/link rules are nested
   around buttons, and makes older package-card markup match the
   newer featured-card design.
   ============================================================ */
::selection {
  background: rgba(45, 106, 45, 0.22);
  color: var(--ink);
}

.hero ::selection,
.page-hero ::selection,
.cta-banner ::selection,
.packages-section ::selection,
.site-footer ::selection {
  background: rgba(255,255,255,0.24);
  color: var(--white);
}

.btn,
a.btn,
button.btn {
  text-decoration: none !important;
}

.btn-primary,
a.btn-primary,
button.btn-primary,
.audience-card a.btn-primary,
.two-col-text a.btn-primary,
.service-feature-content a.btn-primary,
.thank-you-actions a.btn-primary,
.pkg-card .btn-primary,
.post-cta-box a.btn-primary {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
  color: var(--white) !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.audience-card a.btn-primary:hover,
.two-col-text a.btn-primary:hover,
.service-feature-content a.btn-primary:hover,
.thank-you-actions a.btn-primary:hover,
.pkg-card .btn-primary:hover,
.post-cta-box a.btn-primary:hover {
  background: #235523 !important;
  border-color: #235523 !important;
  color: var(--white) !important;
}

.btn-accent,
a.btn-accent,
button.btn-accent,
.cta-banner a.btn-accent,
.hero a.btn-accent {
  background: #477C24 !important;
  border-color: #477C24 !important;
  color: var(--white) !important;
}

.btn-accent:hover,
a.btn-accent:hover,
button.btn-accent:hover,
.cta-banner a.btn-accent:hover,
.hero a.btn-accent:hover {
  background: #38651C !important;
  border-color: #38651C !important;
  color: var(--white) !important;
}

/* Outline buttons on light backgrounds need green text; on dark
   sections they remain white-outline buttons. */
.btn-outline,
a.btn-outline,
button.btn-outline,
.section .btn-outline,
.thank-you-actions a.btn-outline {
  background: transparent !important;
  border-color: var(--green-dark) !important;
  color: var(--green-dark) !important;
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover,
.section .btn-outline:hover,
.thank-you-actions a.btn-outline:hover {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
  color: var(--white) !important;
}

.hero .btn-outline,
.page-hero .btn-outline,
.cta-banner .btn-outline,
.packages-section .pkg-card:not(.featured):not(.pkg-card--featured) .btn-outline,
.section--green .btn-outline,
.section--dark .btn-outline {
  background: transparent !important;
  border-color: var(--white) !important;
  color: var(--white) !important;
}

.hero .btn-outline:hover,
.page-hero .btn-outline:hover,
.cta-banner .btn-outline:hover,
.packages-section .pkg-card:not(.featured):not(.pkg-card--featured) .btn-outline:hover,
.section--green .btn-outline:hover,
.section--dark .btn-outline:hover {
  background: var(--white) !important;
  border-color: var(--white) !important;
  color: var(--green-dark) !important;
}

.pkg-card.featured {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  transform: translateY(-12px);
}

.pkg-card.featured:hover {
  background: var(--white);
  box-shadow: 0 32px 72px rgba(0,0,0,0.4);
  transform: translateY(-18px);
}

.pkg-card.featured .pkg-label { color: var(--green-dark) !important; }
.pkg-card.featured .pkg-freq { color: rgba(0,0,0,0.50) !important; }
.pkg-card.featured .pkg-feature { color: var(--dark) !important; }
.pkg-card.featured .pkg-feature .fi { color: var(--green-dark) !important; }

.audience-card .btn,
.post-cta-box .btn,
.service-feature-content .btn {
  display: inline-flex;
  width: auto;
  margin-top: 6px;
}

.btn:focus-visible,
.project-filter:focus-visible,
.service-range-control:focus-visible,
.card-link:focus-visible,
.pkg-cta:focus-visible {
  outline: 3px solid rgba(201,154,61,0.75);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .pkg-card.featured,
  .pkg-card.featured:hover {
    transform: none;
  }
}

/* ============================================================
   PERFORMANCE / CLS STABILITY
   ============================================================ */
.site-logo,
.custom-logo-link {
  min-width: 180px;
  min-height: 45px;
}

.site-logo img,
.custom-logo-link img,
img.custom-logo {
  aspect-ratio: 264 / 45;
  object-fit: contain;
}

.hero-slider,
.hero-slider span,
.hero--nelson {
  contain: layout paint;
}

.page-hero--image {
  min-height: clamp(340px, 42vh, 520px);
  display: flex;
  align-items: center;
}

.card-image,
.service-feature-image,
.post-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-image img,
.service-feature-image img,
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-stack img:first-child {
  aspect-ratio: 1600 / 755;
}

.image-stack img:nth-child(2) {
  aspect-ratio: 1200 / 687;
}

.section-brand-mark {
  display: block;
  width: min(320px, 80vw);
  height: auto;
  margin: 0 0 22px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #050505;
}

.customer-form-frame {
  position: relative;
  overflow: hidden;
}

.customer-form-frame::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 74px;
  z-index: 2;
  pointer-events: none;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 36%, #fff 100%);
}

.section--grey,
.service-feature,
.cta-banner,
.blog-grid,
.footer-main {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

@media (max-width: 768px) {
  .site-logo,
  .custom-logo-link {
    min-width: 150px;
    min-height: 60px;
  }

  .page-hero--image {
    min-height: clamp(320px, 48vh, 460px);
  }

  .section-brand-mark {
    width: min(260px, 84vw);
    margin-bottom: 18px;
  }
}

/* ============================================================
   MOBILE HEADER LOGO FIX v1.3.13
   Uses cropped header logo proportions and overrides older logo
   rules that made the mobile header too tall/unstable.
   ============================================================ */
.site-header .site-logo,
.site-header .custom-logo-link {
  display: flex !important;
  align-items: center !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: calc(100vw - 96px) !important;
  overflow: hidden !important;
}

.site-header .site-logo img,
.site-header .custom-logo-link img,
.site-header img.custom-logo {
  display: block !important;
  width: clamp(220px, 18vw, 340px) !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 68px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
}

@media (max-width: 1180px) {
  .site-header .header-inner {
    height: 76px !important;
    min-height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .site-header .site-logo img,
  .site-header .custom-logo-link img,
  .site-header img.custom-logo {
    width: min(250px, calc(100vw - 102px)) !important;
    max-height: 50px !important;
  }

  .site-header .header-right {
    flex: 0 0 auto !important;
    min-width: 44px !important;
    gap: 0 !important;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

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

  .site-header .site-logo {
    max-width: calc(100vw - 92px) !important;
  }

  .site-header .site-logo img,
  .site-header .custom-logo-link img,
  .site-header img.custom-logo {
    width: min(230px, calc(100vw - 104px)) !important;
    max-height: 46px !important;
  }

  .site-header .nav-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 8px !important;
  }

  .primary-nav--mobile::before {
    height: 72px !important;
  }

  .hero .container {
    padding-top: 92px !important;
  }

  .page-hero {
    padding-top: calc(72px + 38px) !important;
  }
}

@media (max-width: 360px) {
  .site-header .site-logo img,
  .site-header .custom-logo-link img,
  .site-header img.custom-logo {
    width: min(204px, calc(100vw - 100px)) !important;
    max-height: 42px !important;
  }
}
