/* ===========================================================
   Jim's Mowing (Canada) — site stylesheet
   5-color palette: #5CA945, #02853f, #fff004, black, white
   (black/white/green may appear at reduced opacity for tints,
   borders, and shadows — no other hues are used)
   =========================================================== */

:root {
  --green-dark: #02853f;
  --green: #5CA945;
  --yellow: #fff004;
  --black: #000000;
  --white: #ffffff;
  --green-tint: color-mix(in srgb, var(--green) 12%, var(--white) 88%);
  --line: rgba(0, 0, 0, 0.12);
  --ink-soft: rgba(0, 0, 0, 0.65);
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  --radius: 10px;
  --maxw: 1180px;
  --section-pad: 96px;
  --cta-pad: 80px;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0 0 20px;
  text-wrap: balance;
  font-style: italic;
  font-weight: 900;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  text-wrap: balance;
}

li {
  text-wrap: balance;
}

.btn {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  font-weight: 900;
  font-style: italic;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--yellow);
  color: var(--green-dark);
}

.btn-primary:hover {
  filter: brightness(0.93);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}

.btn-white:hover {
  background: var(--green-tint);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  height: 76px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav>ul>li {
  position: relative;
}

.main-nav a.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  padding: 10px 2px;
  display: inline-block;
  text-decoration: none;
}

.main-nav>ul>li>a.nav-link:hover,
.main-nav>ul>li.active>a.nav-link {
  color: var(--green);
}

.has-dropdown>a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.has-dropdown>a.nav-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform .15s ease;
}

.has-dropdown:hover>a.nav-link::after,
.has-dropdown:focus-within>a.nav-link::after,
.has-dropdown.open>a.nav-link::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 240px;
  max-width: 640px;
  z-index: 600;
  border: 1px solid var(--line);
}

.has-dropdown .dropdown.wide {
  display: none;
  columns: 2;
  column-gap: 8px;
  min-width: 480px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  break-inside: avoid;
  text-decoration: none;
}

.dropdown a:hover {
  background: var(--green-tint);
  color: var(--green-dark);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-ctas .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.phone-link {
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--green-dark);
  cursor: pointer;
}

.phone-btn,
.franchise-btn,
.nav-quote {
  display: none;
}

/* ---------------- Hero ---------------- */
/* Boxed/inset hero card: floats on the page background instead of running
   full-bleed edge-to-edge. */
.hero,
.page-hero {
  width: calc(100% - 56px);
  max-width: 1400px;
  margin: 28px auto 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--green-dark);
}

img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px 140px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
}

/* Homepage hero holding the booking form instead of a headline + CTAs */
.hero .hero-inner-content {
  padding: 56px 24px;
  max-width: var(--maxw);
  text-align: left;
  color: var(--black);
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero .hero-ctas {
  justify-content: center;
}

.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 88px 24px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin-inline: auto;
}

/* Modifier: a page-hero with a photo behind the gradient (see .hero's img.hero-bg) */
.page-hero-media {
  position: relative;
  overflow: hidden;
}

.page-hero-media .container {
  position: relative;
  z-index: 2;
}

.page-hero-split {
  text-align: left;
  padding: 40px 24px;
}

.page-hero-split .two-col {
  gap: 48px;
  align-items: center;
}

.page-hero-split p {
  margin: 0;
  max-width: none;
}

.page-hero-split .hero-photo {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.page-hero-split .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

/* ---------------- Sections ---------------- */
section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--green-tint);
}

/* Boxed/inset cards: these bands float on the page background instead of
   running full-bleed edge-to-edge, matching the hero and trust strip. */
.section-alt,
.cta-band,
.callout-band {
  width: calc(100% - 56px);
  max-width: 1400px;
  margin: 28px auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--yellow);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col img,
.two-col .media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-frame {
  aspect-ratio: 6 / 4;
}

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

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 56px;
}

.stat-row .num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--green);
}

.stat-row .label {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Service / card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

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

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
}

.card .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card .card-body h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card .card-body h3 .card-title-link {
  color: inherit;
  text-decoration: none;
}

.card .card-body h3 .card-title-link:hover {
  color: var(--green);
}

.card .card-body h3 .card-title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card .card-body p {
  margin: 0;
  font-size: 0.92rem;
  flex: 1;
}

.card .card-body .card-link {
  font-weight: 700;
  color: var(--green);
  margin-top: 6px;
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Trust strip (badge row under a service/page hero) */
.trust-strip {
  width: calc(100% - 56px);
  max-width: 1400px;
  margin: 24px auto 0;
  background: var(--green-tint);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 22px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green-dark);
  white-space: nowrap;
}

.trust-item .trust-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* Numbered feature grid — breaks long-form copy into scannable blocks */
.feature-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.feature-point {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-point .icon-badge {
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-point p {
  font-size: 0.95rem;
  margin: 0;
}

/* Elevated "what's included" panel */
.included-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.included-panel h3 {
  margin-bottom: 18px;
}

.included-panel ul.check-list {
  margin-bottom: 0;
}

/* Accent callout band — mid-page CTA, alternates with the yellow band at page end */
.callout-band {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}

.callout-band p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto 26px;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin-top: 10px;
  font-size: 0.85rem;
  text-align: center;
}

/* Franchisee grid */
.franchisee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.franchisee-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .15s ease;
}

.franchisee-card:hover {
  transform: translateY(-4px);
}

.franchisee-card .photo {
  aspect-ratio: 4 / 3;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.franchisee-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.franchisee-card .info {
  padding: 16px 14px 20px;
}

.franchisee-card .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.franchisee-card .loc {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Testimonials */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial .stars {
  color: var(--green-dark);
  letter-spacing: 2px;
}

.testimonial p {
  margin: 0;
  font-size: 0.92rem;
  font-style: italic;
  flex: 1;
}

.testimonial .name {
  font-weight: 700;
  font-size: 0.92rem;
}

.testimonial .loc {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Before / after feature panel (image + supporting copy, on a tinted card) */
.before-after-panel {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 48px;
  margin-top: 48px;
}

.before-after-panel h3 {
  margin-bottom: 14px;
}

.before-after-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Before / after photos */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.before-after-card {
  margin: 0;
}

.before-after-card a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}

.before-after-card a:hover {
  transform: translateY(-4px);
}

.before-after-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.before-after-card a img {
  border-radius: 0;
  box-shadow: none;
}

.before-after-card figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Whats included list */
ul.check-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}

ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--white);
  background: var(--green);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--green-dark);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  background: var(--yellow);
  text-align: center;
  padding: var(--cta-pad) 24px;
}

.cta-band .btn {
  margin-top: 14px;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

jims-customer-booking,
jims-franchise-enquiry {
  display: block;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--black);
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--black);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* Contact info blocks */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

.contact-card {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-card .icon-badge {
  margin: 0 auto 14px;
}

.contact-card a {
  display: block;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-card a+a {
  margin-top: 6px;
}

/* Franchise benefits */
.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.benefit-list .card-body {
  padding: 26px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

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

.site-footer li {
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: var(--white);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer-brand p a {
  text-decoration: underline;
}

.footer-phone {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.footer-phone:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {

  .card-grid-3,
  .card-grid-4,
  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

  .feature-points {
    grid-template-columns: 1fr;
  }

  .trust-row {
    gap: 20px 28px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .header-ctas .btn-outline {
    display: none;
  }

  .header-ctas .phone-link {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-ctas .quote-btn {
    display: none;
  }

  /* Let the logo give up space first when the header bar is too narrow */
  .site-header .container {
    gap: 12px;
  }

  .brand {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand img {
    height: auto;
    max-height: 76px;
    max-width: 100%;
  }

  .nav-toggle {
    flex-shrink: 0;
  }

  .header-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .header-ctas .phone-btn,
  .header-ctas .franchise-btn {
    display: block;
    padding: 6px 12px;
    font-size: 0.8rem;
    text-align: center;
  }

  .site-header.open .main-nav li.nav-quote {
    display: block;
    margin-top: 12px;
  }

  .site-header.open .main-nav li.nav-quote .btn {
    display: block;
    text-align: center;
  }

  .site-header.open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
  }

  .site-header.open .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  .site-header.open .main-nav li {
    width: 100%;
  }

  .site-header.open .main-nav a.nav-link {
    display: flex;
    width: 100%;
    text-align: left;
    justify-content: space-between;
  }

  .site-header.open .has-dropdown .dropdown,
  .site-header.open .has-dropdown .dropdown.wide {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    columns: 1;
    padding-left: 14px;
    min-width: 0;
    text-align: left;
  }

  .site-header.open .has-dropdown.open .dropdown {
    display: block;
  }

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

@media (max-width: 600px) {

  .card-grid-3,
  .card-grid-4,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .hero .hero-inner {
    padding: 80px 20px 100px;
  }

  .hero .hero-inner-content {
    padding: 32px 12px;
  }

  .hero,
  .page-hero,
  .trust-strip {
    width: calc(100% - 24px);
    margin: 16px auto 0;
    border-radius: 14px;
  }

  .section-alt,
  .cta-band,
  .callout-band {
    width: calc(100% - 24px);
    margin: 16px auto;
    border-radius: 14px;
  }
}
/* Visually hidden but still announced by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
