/* ==========================================================================
   Bristol Grass Cutting
   1. Tokens   2. Base   3. Layout   4. Buttons   5. Header   6. Hero
   7. Services 8. Before/after 9. Why us 10. CTA band 11. Areas
   12. Steps   13. FAQs  14. Quote form 15. Footer 16. Mobile bar 17. Motion
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --deep:          #183D2A;
  --deep-80:       #1f4d35;
  --accent:        #4F8A3D;  /* decorative only — 4.17:1 on white */
  --accent-strong: #3F7231;  /* anything carrying white text — 5.73:1 */
  --off:           #F6F5EF;
  --pale:          #EEF2EA;
  --char:          #202421;
  --muted:         #5A6159;
  --line:          #DDE2DA;
  --white:         #fff;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 10px;
  --radius-sm: 6px;

  --step--1: clamp(0.875rem, 0.86rem + 0.08vw, 0.9375rem);
  --step-0:  clamp(1.0625rem, 1.03rem + 0.16vw, 1.1875rem);
  --step-1:  clamp(1.25rem, 1.18rem + 0.34vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);
  --step-3:  clamp(2rem, 1.62rem + 1.6vw, 3.25rem);
  --step-4:  clamp(2.5rem, 1.75rem + 3.2vw, 4.5rem);

  --shadow-sm: 0 1px 2px rgb(24 61 42 / 0.06), 0 2px 6px rgb(24 61 42 / 0.05);
  --shadow-md: 0 4px 12px rgb(24 61 42 / 0.08), 0 12px 28px rgb(24 61 42 / 0.07);

  /* the logo is a near-square stacked lockup, so the header is taller than
     a wordmark header would be. JS keeps this in sync with reality. */
  --header-h: 104px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--char);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--deep);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; max-width: 68ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-strong); }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--deep); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: block;
  width: fit-content;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.9rem;
}
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ------------------------------------------------------------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--off  { background: var(--off); }
.section--pale { background: var(--pale); }
.section--deep { background: var(--deep); color: #fff; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .lede { color: #ffffffc4; }
.section--deep .eyebrow { color: #9CC98A; }

.section__head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--centre { margin-inline: auto; text-align: center; }
.section__head--centre .eyebrow { margin-inline: auto; }

/* 4. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px;
  padding: 0.85em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit; font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent-strong); color: #fff; }
.btn--primary:hover { background: #356127; }

.btn--dark { background: var(--deep); color: #fff; }
.btn--dark:hover { background: var(--deep-80); }

.btn--ghost { background: transparent; color: var(--deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--deep); background: #fff; }

.btn--on-deep { background: #fff; color: var(--deep); }
.btn--on-deep:hover { background: var(--off); }

.btn--ghost-on-deep { background: transparent; color: #fff; border-color: #ffffff59; }
.btn--ghost-on-deep:hover { border-color: #fff; background: #ffffff14; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* 5. Header ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--off);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); background: #fbfaf6; }

.header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-h);
}
.header__logo { margin-right: auto; display: flex; padding-block: 10px; }
.header__logo img { width: 104px; height: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 14px;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--deep);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: #ffffff; color: var(--accent-strong); }

.header .btn { min-height: 46px; padding: 0.6em 1.25em; font-size: var(--step--1); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .header__logo img { width: 80px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 46px; padding: 0.55em 1em;
    background: transparent; border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit; font-size: var(--step--1); font-weight: 800;
    color: var(--deep); cursor: pointer;
  }
  .nav-toggle__bars { display: grid; gap: 4px; }
  .nav-toggle__bars span {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--off);
    padding: 8px var(--gutter) 24px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 16px 4px; font-size: var(--step-0); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-of-type { border-bottom: 0; }
  .header__cta { display: none; }
}

/* 6. Hero --------------------------------------------------------------- */
/* media and content share one grid cell, so the section grows to fit
   whichever is taller — content never overflows the image */
.hero { display: grid; background: var(--deep); isolation: isolate; }
.hero__media { grid-area: 1 / 1; position: relative; }
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 60% 60%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgb(24 61 42 / 0.88) 0%, rgb(24 61 42 / 0.78) 38%, rgb(24 61 42 / 0.66) 55%, rgb(24 61 42 / 0.22) 80%, rgb(24 61 42 / 0.06) 100%);
}
.hero__inner {
  grid-area: 1 / 1; position: relative; z-index: 1;
  display: flex; align-items: center;
  min-height: clamp(360px, 52vw, 620px);
  padding-block: clamp(48px, 6vw, 88px);
}
.hero__content { max-width: 40rem; color: #fff; }
.hero__content h1 { color: #fff; margin-bottom: 0.35em; }
.hero__content .eyebrow { color: #C2E0B4; }
.hero__content p { color: #ffffffdd; font-size: var(--step-1); line-height: 1.5; }
.hero__extra { display: none; }
.hero .btn-row { margin-top: 2rem; }

.trust {
  background: var(--deep);
  color: #fff;
}
.trust ul {
  display: flex; flex-wrap: wrap; gap: 8px 40px;
  list-style: none; margin: 0; padding: 20px 0;
  font-size: var(--step--1); font-weight: 700;
}
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { flex: none; color: #9CC98A; }

@media (max-width: 860px) {
  .hero { grid-template-rows: auto auto; }
  .hero__media { grid-area: 1 / 1; height: clamp(190px, 44vw, 280px); }
  .hero__inner { grid-area: 2 / 1; min-height: 0; padding-block: 30px 36px; }
  .hero__media img { object-position: 60% 64%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgb(24 61 42 / 0.05) 0%, rgb(24 61 42 / 0.28) 100%);
  }
  .hero__content p { font-size: var(--step-0); }
  .hero .btn-row { margin-top: 1.5rem; }
  .hero .btn { flex: 1 1 100%; }
  .trust ul { gap: 10px 24px; padding: 16px 0; }
}

/* 7. Services ----------------------------------------------------------- */
.cards { display: grid; gap: clamp(18px, 2.2vw, 28px); grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 4 / 3; background: var(--pale); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: clamp(18px, 2vw, 26px); }
.card__icon { color: var(--accent-strong); margin-bottom: 12px; }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: var(--step--1); color: var(--muted); line-height: 1.6; }

@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cards { grid-template-columns: 1fr; } }

/* 8. Before / after ----------------------------------------------------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.ba figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba figcaption {
  position: absolute; top: 14px; left: 14px;
  background: var(--deep); color: #fff;
  font-size: var(--step--1); font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-sm);
}
.ba__note { margin-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 620px) { .ba { grid-template-columns: 1fr; } }

/* 9. Why us ------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.pillar__icon {
  width: 52px; height: 52px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--pale); color: var(--accent-strong);
  border-radius: 50%;
}
.pillar h3 {
  font-size: var(--step--1); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.55em;
}
.pillar p { font-size: var(--step--1); color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; gap: 28px; } }

/* 10. CTA band ---------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center; }
.cta-band > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* 0.9 buried the photograph entirely - the band read as flat colour and the
     image was bytes for nothing. White copy still clears 8:1 at this weight. */
  background: rgb(24 61 42 / 0.80);
}
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: #ffffffcf; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* 11. Areas ------------------------------------------------------------- */
.areas { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.areas__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.75rem; padding: 0; list-style: none; }
.areas__tags li {
  background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: 9px 18px;
  font-size: var(--step--1); font-weight: 700; color: var(--deep);
}
.areas__map { display: grid; place-items: center; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } .areas__map { display: none; } }

/* 12. Steps ------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.step__num {
  display: block;
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 800; line-height: 1;
  color: var(--accent); opacity: 0.32;
  letter-spacing: -0.04em;
  margin-bottom: 0.15em;
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 0 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step__num { font-size: 2.5rem; grid-row: span 2; margin: 0; }
  .step h3 { margin-bottom: 0.25em; align-self: center; }
}

/* 13. FAQs -------------------------------------------------------------- */
.faqs { max-width: 52rem; margin-inline: auto; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 0; cursor: pointer;
  font-size: var(--step-1); font-weight: 800; color: var(--deep);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 13px; height: 13px;
  border-right: 2.5px solid var(--accent-strong);
  border-bottom: 2.5px solid var(--accent-strong);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s var(--ease);
}
.faq[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__body { padding-bottom: 22px; }
.faq__body p { color: var(--muted); }

/* 14. Quote form -------------------------------------------------------- */
.quote { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote__panel {
  background: var(--off); color: var(--char);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
}
.quote__panel h3 { color: var(--deep); }

.field { margin-bottom: 18px; }
.field > label, .fieldset > legend {
  display: block; margin-bottom: 7px;
  font-size: var(--step--1); font-weight: 800; color: var(--deep);
}
.field .req { color: #A33; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  font: inherit; font-size: var(--step-0);
  color: var(--char); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgb(63 114 49 / 0.14);
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field__hint { margin-top: 6px; font-size: var(--step--1); color: var(--muted); }
.field__error { display: none; margin-top: 6px; font-size: var(--step--1); font-weight: 700; color: #A33; }
.field[data-invalid] input, .field[data-invalid] select { border-color: #A33; }
.field[data-invalid] .field__error { display: block; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

.upload {
  border: 2px dashed var(--line); border-radius: var(--radius);
  background: #fff; padding: 22px; text-align: center;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.upload:hover, .upload.is-over { border-color: var(--accent-strong); background: #fcfdfb; }
.upload strong { display: block; color: var(--deep); margin-bottom: 4px; }
.upload span { font-size: var(--step--1); color: var(--muted); }
.upload input { margin-top: 12px; font-size: var(--step--1); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--accent-strong); }
.consent label { font-size: var(--step--1); color: var(--muted); line-height: 1.55; }

.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; color: #9CC98A; margin-top: 3px; }
.contact-list a { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid #ffffff4d; }
.contact-list a:hover { border-bottom-color: #fff; }
.contact-list span { display: block; font-size: var(--step--1); color: #ffffffa8; }

@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }

/* 15. Footer ------------------------------------------------------------ */
.footer { background: var(--deep); color: #ffffffb8; padding-block: clamp(40px, 5vw, 64px); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.footer__chip {
  display: inline-block; background: var(--off);
  padding: 12px 18px; border-radius: var(--radius-sm);
}
.footer__chip img { width: 180px; }
.footer p { font-size: var(--step--1); margin: 1rem 0 0; }
.footer a { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; font-size: var(--step--1); }
.footer__links a { text-decoration: none; border-bottom: 1px solid #ffffff4d; }
.footer__bottom {
  margin-top: clamp(28px, 4vw, 44px); padding-top: 22px;
  border-top: 1px solid #ffffff26;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: var(--step--1);
}
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } }

/* 16. Mobile action bar ------------------------------------------------- */
.action-bar { display: none; }
@media (max-width: 860px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: #fbfaf6cc;
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transition: transform .3s var(--ease);
  }
  .action-bar[data-hidden="true"] { transform: translateY(110%); }
  .action-bar .btn { min-height: 50px; padding: 0.7em 1em; }
  body { padding-bottom: 82px; }
}

/* 17. Motion ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   18. WordPress integration
   Twenty Twenty-Five wraps content in layout containers that would box in
   the full-bleed sections, so they are neutralised here.
   ========================================================================== */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > main,
main.wp-block-group,
body.home .entry-content {
  max-width: none;
  margin-block: 0;
  padding: 0;
}
body.home .entry-content > * { max-width: none; margin-block: 0; }
.wp-block-post-content > .section,
.wp-block-post-content > .hero,
.wp-block-post-content > .trust { margin-block: 0; }

/* admin bar must not hide behind the sticky header */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }

/* ==========================================================================
   19. Forminator
   The quote form is a Forminator form so submissions, spam protection and
   notifications keep working. These rules pull it into the design system.
   ========================================================================== */
.quote__panel .forminator-ui.forminator-custom-form,
.quote__panel .forminator-row,
.quote__panel .forminator-field { margin: 0; }

.quote__panel .forminator-row { margin-bottom: 18px !important; }

.quote__panel .forminator-label,
.quote__panel .forminator-checkbox,
.quote__panel .forminator-radio {
  font-family: inherit !important;
  font-size: var(--step--1) !important;
  font-weight: 800 !important;
  color: var(--deep) !important;
  margin-bottom: 7px !important;
}

.quote__panel .forminator-input,
.quote__panel .forminator-textarea,
.quote__panel .forminator-select2 .selection .select2-selection--single,
.quote__panel select.forminator-select2:not(.select2-hidden-accessible) {
  width: 100% !important;
  min-height: 50px !important;
  padding: 13px 15px !important;
  font-family: inherit !important;
  font-size: var(--step-0) !important;
  color: var(--char) !important;
  background: #fff !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}

.quote__panel .forminator-input:focus,
.quote__panel .forminator-textarea:focus {
  border-color: var(--accent-strong) !important;
  box-shadow: 0 0 0 3px rgb(63 114 49 / 0.14) !important;
  outline: none !important;
}

.quote__panel .forminator-textarea { min-height: 120px !important; resize: vertical; }

.quote__panel .forminator-button-submit,
.quote__panel button.forminator-button {
  width: 100% !important;
  min-height: 52px !important;
  padding: 0.85em 1.6em !important;
  font-family: inherit !important;
  font-size: var(--step-0) !important;
  font-weight: 800 !important;
  color: #fff !important;
  background: var(--accent-strong) !important;
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  transition: background-color .2s var(--ease) !important;
}
.quote__panel .forminator-button-submit:hover { background: #356127 !important; }

.quote__panel .forminator-file-upload,
.quote__panel .forminator-uploader {
  border: 2px dashed var(--line) !important;
  border-radius: var(--radius) !important;
  background: #fff !important;
}

.quote__panel .forminator-error-message,
.quote__panel .forminator-label-required { color: #A33 !important; }

.quote__panel .forminator-description {
  font-size: var(--step--1) !important;
  color: var(--muted) !important;
}

/* select2 keeps the real <select> in the DOM for assistive tech. It must stay
   clipped — sizing it blows the page out horizontally. */
.quote__panel select.select2-hidden-accessible,
.quote__panel .select2-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  min-height: 0 !important;
}

/* select2's native <select> is position:absolute with width:100% from
   Forminator's own stylesheet. With no positioned ancestor that resolves
   against the viewport, dragging the page sideways. Pin it, and give the
   panel a positioning context so nothing else can do the same. */
.quote__panel { position: relative; }

html body .quote__panel select.select2-hidden-accessible,
html body .quote__panel .forminator-ui select.select2-hidden-accessible,
html body .quote__panel select.forminator-screen-reader-only {
  width: 1px !important;
  min-width: 0 !important;
  max-width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ==========================================================================
   20. Touch targets and focus
   Found in the QA pass at 430px: the tap-to-call and email links, the photo
   upload control, the consent checkbox and the footer links were all 18-25px
   tall. The phone link is the second most important control on the page.
   Underlines move from border-bottom to text-decoration so the padding that
   enlarges the hit area doesn't push the line away from the text.
   ========================================================================== */
.contact-list a,
.footer__links a,
.footer p a {
  display: inline-block;
  padding-block: 12px;
  border-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contact-list a { text-decoration-thickness: 2px; text-decoration-color: #ffffff4d; }
.contact-list a:hover { text-decoration-color: #fff; }
.contact-list svg { margin-top: 15px; }
.contact-list span { margin-top: -8px; }
.footer__links { gap: 0 24px; }
.footer__links a,
.footer p a { text-decoration-thickness: 1px; text-decoration-color: #ffffff4d; }

/* Forminator renders "Choose Files" as a link, not a button */
.quote__panel a[class*="forminator-upload-file"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.3em !important;
  font-family: inherit !important;
  font-size: var(--step--1) !important;
  font-weight: 800 !important;
  color: var(--deep) !important;
  background: #fff !important;
  border: 2px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  text-decoration: none !important;
}
.quote__panel a[class*="forminator-upload-file"]:hover { border-color: var(--deep) !important; }

/* flex-basis and min-width too: Forminator pins the width through flex, so
   setting width alone left a 20x24 rectangle */
.quote__panel .forminator-checkbox-box {
  width: 24px !important; height: 24px !important;
  min-width: 24px !important; flex: 0 0 24px !important;
}
.quote__panel .forminator-checkbox.forminator-consent { min-height: 44px; padding-block: 10px; }

/* the skip link must be visible when it takes focus */
.skip-link:focus,
.skip-link:focus-visible {
  left: 0; top: 0;
  width: auto; height: auto;
  clip: auto; clip-path: none;
  z-index: 1000;
}

/* ==========================================================================
   21. Standard pages
   The privacy policy (and any future page) uses the site header and footer
   around a readable column. The full-bleed rules in section 18 are scoped to
   the homepage so they no longer strip the padding from these pages.
   ========================================================================== */
/* Twenty Twenty-Five's block gap left a white strip above the footer */
.wp-site-blocks > * + * { margin-block-start: 0; }

main.page-body {
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px);
  background: var(--white);
}
.page-body > .page-body__title,
.page-body > .page-body__content {
  width: min(100% - var(--gutter) * 2, 46rem);
  margin-inline: auto;
}
.page-body__title { font-size: var(--step-3); margin: 0 0 clamp(20px, 3vw, 32px); }
.page-body__content h2 { font-size: var(--step-2); margin: 2em 0 0.45em; }
.page-body__content h3 { font-size: var(--step-1); margin: 1.6em 0 0.4em; }
.page-body__content p { margin: 0 0 1.1em; max-width: none; }
.page-body__content ul,
.page-body__content ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.page-body__content li { margin-bottom: 0.4em; }
.page-body__content li::marker { color: var(--accent); }
.page-body__content a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-body__content em { color: var(--muted); }
