/* Taplly Transport — site styles (home, services, service landing pages, contact)
   Legal entity: Taplly Group Pty Ltd.
   Original styles. Brand colours from the logo: teal #0F4448, copper #C8652E. */

:root {
  --ink: #102422;
  --ink-soft: #1a3330;
  --teal: #145c56;
  --teal-mid: #1a7a73;
  --teal-dark: #0f4448;
  --brand-teal: #0f4448;
  --brand-copper: #c8652e;
  --brand-copper-dark: #a9501f;
  --copper: #d4833a;
  --copper-deep: #b86b28;
  --copper-soft: #f3d5a8;
  --sand: #f4efe6;
  --paper: #ffffff;
  --text: #24302e;
  --muted: #5a6563;
  --line: #d9d3c8;
  --line-strong: #c4bdb0;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --success: #0f7a5a;
  --success-bg: #e7f6f0;
  --shadow: 0 0 10px rgb(16 36 34 / 0.14);
  --shadow-cta: 0 24px 80px -8px rgb(0 0 0 / 0.5);
  --header-h: 88px;
  --topbar-h: 36px;
  --max: 1120px;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --radius: 4px;
  --focus: 0 0 0 3px rgb(212 131 58 / 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

svg[hidden],
[hidden] {
  display: none;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--copper-deep);
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--copper);
  color: var(--ink);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0.4rem 0;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--copper-soft);
}

.topbar svg {
  width: 14px;
  height: 14px;
  color: var(--copper);
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-stuck {
  box-shadow: 0 6px 18px rgb(16 36 34 / 0.08);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  color: inherit;
  flex-shrink: 0;
  padding: 0.35rem 0;
}

.logo:hover {
  color: inherit;
  opacity: 0.92;
}

.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(240px, 42vw);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list > li > a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--teal);
  padding: 0.55rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.nav-list > li > a:hover,
.nav-list > li > a[aria-current="page"] {
  color: var(--ink);
}

.nav-list > li > a[aria-current="page"]::after,
.nav-list > li > a:hover::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--copper);
}

.has-sub {
  position: relative;
}

.has-sub > a .caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}

.sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 240px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgb(16 36 34 / 0.12);
  border: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 20;
}

.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu,
.has-sub.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--teal-dark);
}

.sub-menu a:hover {
  background: var(--sand);
  color: var(--ink);
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--copper);
  background: var(--teal-dark);
  color: var(--paper);
  padding: 0.65rem 1.05rem;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 0.6rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.call-btn:hover {
  background: var(--copper);
  color: var(--ink);
  border-color: var(--copper);
}

.call-btn svg {
  width: 16px;
  height: 16px;
}

.call-btn .call-short {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 1.25rem;
  color: var(--paper);
  overflow: hidden;
  background-color: var(--ink);
  background-image: url("hero-bg.svg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(16 36 34 / 0.58);
  z-index: -1;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 2.5rem + 2vw, 4.375rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 5px rgb(0 0 0 / 0.6);
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  pointer-events: none;
}

.hero-curve svg {
  width: calc(125% + 1.3px);
  height: 75px;
  margin-left: -12.5%;
}

/* ---------- Contact main (form + intro) ---------- */
.contact-main {
  padding: 100px 0;
  background: var(--paper);
}

.contact-grid {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.form-col,
.intro-col {
  flex: 1 1 50%;
  min-width: 0;
}

.form-card {
  padding: 20px 50px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper);
}

.form-card h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.field {
  padding: 10px 0;
}

.field label,
.legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.req {
  color: var(--danger);
  font-weight: 400;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  appearance: none;
}

.field input.input-mid {
  max-width: 60%;
}

.field input::placeholder {
  color: #8a918f;
}

.field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: var(--focus);
}

.field input.is-invalid,
.radios.is-invalid {
  border-color: var(--danger);
}

.field input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgb(180 35 24 / 0.25);
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.field-error.is-visible {
  display: block;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 10px 0 0;
  min-width: 0;
}

.legend {
  margin-bottom: 0.6rem;
}

.radios {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.radios li {
  padding: 0.28rem 0;
}

.radios label {
  display: inline;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
}

.radios input[type="radio"] {
  width: 15px;
  height: 15px;
  margin: 0 10px 0 3px;
  accent-color: var(--teal);
  vertical-align: -2px;
}

.form-actions {
  padding: 16px 0 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.18rem + 0.1vw, 1.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-primary {
  background: var(--ink);
  color: var(--copper);
}

.btn-primary:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  box-shadow: var(--shadow-cta);
}

.btn-light:hover {
  background: var(--ink);
  color: var(--copper);
  border-color: var(--ink);
}

.btn-ghost {
  background: var(--ink);
  color: var(--copper);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--paper);
  color: var(--copper);
  border-color: var(--paper);
}

.form-backend-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.form-backend-note code {
  font-size: 0.8em;
  background: var(--sand);
  padding: 0.05rem 0.3rem;
  border-radius: 2px;
}

.form-success,
.form-error {
  display: none;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.form-success {
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--teal-dark);
}

.form-error {
  background: var(--danger-bg);
  border: 1px solid var(--danger);
  color: var(--teal-dark);
}

.form-success.is-visible,
.form-error.is-visible {
  display: block;
}

.form-error a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
}

.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.areas {
  margin-top: 2rem;
}

.areas h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.areas .lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
}

.area-list a,
.area-list span {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--sand);
  color: var(--teal-dark);
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
}

.area-list a:hover {
  background: var(--copper-soft);
  color: var(--ink);
}

.intro-col h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 2.12rem + 1.23vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 1.1rem;
}

.intro-col p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

/* ---------- Contact details ---------- */
.details {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0;
}

.details h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 2.12rem + 1.23vw, 3.2rem);
  line-height: 1.15;
  text-align: center;
  color: var(--paper);
  margin: 0 0 2.5rem;
}

.details-grid {
  display: flex;
  gap: 2rem;
}

.detail-card {
  flex: 1 1 33.333%;
  min-width: 0;
}

.detail-icon {
  width: 48px;
  height: 48px;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

.detail-card h3 {
  margin: 0 0 0.7rem;
}

.detail-card h3 a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.92rem + 0.82vw, 2.5rem);
  line-height: 1.15;
  color: var(--paper);
  text-decoration: none;
}

.detail-card h3 a:hover {
  color: var(--copper-soft);
}

.detail-card p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--paper);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  padding: 100px 0;
  text-align: center;
  color: var(--paper);
  background-color: #1c2423;
  background-image: url("cta-bg.svg");
  background-size: cover;
  background-position: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(16 36 34 / 0.75);
  z-index: -1;
}

.cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 2.12rem + 1.23vw, 3.2rem);
  line-height: 1.15;
  color: var(--copper);
  margin: 0 0 1rem;
}

.cta p {
  margin: 0 auto 1.75rem;
  max-width: 42rem;
  width: 75%;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 4% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1.2fr 1fr;
  gap: 2rem 1.75rem;
  align-items: start;
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-brand .logo-img {
  height: 56px;
  max-width: min(260px, 100%);
}

.footer-brand p {
  margin: 0;
  font-weight: 600;
  font-size: clamp(0.875rem, 0.5rem + 0.8vw, 1.05rem);
  max-width: 22rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.35rem + 0.2vw, 1.5rem);
  line-height: 1.3;
  color: var(--paper);
  margin: 0 0 0.9rem;
}

.footer-legal h3 {
  font-weight: 700;
  font-size: 1.05rem;
  font-family: var(--font-body);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

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

.footer-links a {
  display: block;
  color: var(--paper);
  font-weight: 600;
  padding: 0.28rem 0;
}

.footer-links a:hover {
  color: var(--copper-soft);
}

.footer-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: clamp(0.875rem, 0.5rem + 0.8vw, 1.05rem);
}

.footer-meta li {
  margin-bottom: 0.45rem;
}

.footer-meta a {
  color: var(--paper);
}

.footer-meta a:hover {
  color: var(--copper-soft);
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 2px;
  background: var(--ink-soft);
  filter: grayscale(0.15) contrast(1.05);
}

.map-caption {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #c9cfcb;
}

.copyright {
  background: #000;
  color: var(--paper);
  text-align: center;
  font-size: 0.8rem;
  padding: 10px 1rem;
}

.copyright p {
  margin: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 1200px) {
  .contact-grid {
    flex-direction: column-reverse;
    gap: 2.5rem;
  }

  .contact-main,
  .details,
  .cta {
    padding-block: 75px;
  }

  .hero {
    padding-block: 120px;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .details-grid {
    flex-direction: column;
    gap: 2.25rem;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .call-btn {
    order: 2;
    margin-left: auto;
    padding: 0.55rem 0.8rem;
  }

  .call-btn .call-full {
    display: none;
  }

  .call-btn .call-short {
    display: inline;
  }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 30px rgb(16 36 34 / 0.12);
    padding: 0.5rem 0 1rem;
    margin: 0;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .nav-list > li > a::after {
    display: none;
  }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--sand);
    display: none;
    min-width: 0;
    padding: 0.2rem 0;
  }

  .has-sub.is-open > .sub-menu {
    display: block;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
    min-height: 72px;
  }

  .form-card {
    padding: 20px 30px;
  }

  .field input.input-mid {
    max-width: 100%;
  }

  .cta p {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

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

@media (max-width: 767px) {
  .hero {
    padding-block: 90px;
  }

  .hero-curve svg {
    height: 48px;
  }

  .contact-main,
  .details,
  .cta {
    padding: 50px 20px;
  }

  .contact-main,
  .details {
    padding-inline: 0;
  }

  .intro-col {
    text-align: center;
  }

  .intro-col p {
    margin-inline: auto;
  }

  .form-card {
    padding: 20px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    padding: 12% 0;
  }

  .topbar-inner {
    gap: 0.75rem 1.25rem;
  }

  .logo-img {
    height: 40px;
    max-width: min(168px, 46vw);
  }

  .footer-brand .logo-img {
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================================
   Multi-page additions: nav sub-toggle, photo heroes, landing pages,
   cards, steps, FAQs, area cards, sticky mobile call bar.
   ===================================================================== */

.has-sub {
  display: flex;
  align-items: center;
}

.sub-toggle {
  background: transparent;
  border: 0;
  padding: 0.4rem 0.3rem;
  margin-left: -0.45rem;
  color: var(--teal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.sub-toggle .caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}

.has-sub.is-open .sub-toggle .caret,
.has-sub:hover .sub-toggle .caret {
  transform: rotate(180deg);
}

.sub-menu a[aria-current="page"] {
  color: var(--brand-copper);
}

/* ---------- Photo hero (inner pages) ---------- */
.hero.hero-photo {
  background-image: none;
  padding: 120px 1.25rem 140px;
  flex-direction: column;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.hero-photo::before {
  background: linear-gradient(180deg, rgb(15 36 34 / 0.55) 0%, rgb(15 68 72 / 0.62) 100%);
}

.hero .hero-sub {
  margin: 1rem auto 0;
  max-width: 44rem;
  font-size: 1.15rem;
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.5);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin: 0 0 0.6rem;
}

.btn-copper {
  background: var(--brand-copper);
  border-color: var(--brand-copper);
  color: #fff;
}

.btn-copper:hover {
  background: var(--brand-copper-dark);
  border-color: var(--brand-copper-dark);
  color: #fff;
}

.btn-teal {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #fff;
}

.btn-teal:hover {
  background: var(--ink);
  border-color: var(--copper);
  color: var(--copper-soft);
}

.btn-outline-light {
  background: transparent;
  border-color: rgb(255 255 255 / 0.85);
  color: #fff;
}

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

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Landing hero (home + service pages) ---------- */
.lp-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgb(12 30 29 / 0.88) 0%, rgb(15 68 72 / 0.72) 48%, rgb(15 68 72 / 0.35) 100%);
}

.lp-hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  padding: 72px 0 84px;
}

.lp-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.35);
}

.lp-hero .lp-sub {
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

.tick-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.tick-list li {
  position: relative;
  padding-left: 1.8rem;
  font-weight: 600;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.tick-list.dark li {
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-meta {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  color: rgb(255 255 255 / 0.88);
}

.lp-hero .form-card {
  color: var(--text);
  border: 0;
  border-top: 5px solid var(--brand-copper);
  box-shadow: 0 24px 60px -12px rgb(0 0 0 / 0.55);
  padding: 22px 28px 24px;
}

.form-card .form-title {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.form-intro {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.85rem;
}

.form-compact .field {
  padding: 6px 0;
}

.form-compact .field label {
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.form-compact .field input[type="text"],
.form-compact .field input[type="email"],
.form-compact .field input[type="tel"],
.form-compact .field input[type="date"],
.form-compact .field textarea {
  padding: 0.6rem 0.75rem;
}

.field input[type="date"],
.field textarea,
.field select {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field textarea:focus,
.field input[type="date"]:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: var(--focus);
}

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

.form-fineprint {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.form-fineprint a {
  font-weight: 700;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--brand-teal);
  color: #fff;
}

.trust-strip ul {
  list-style: none;
  margin: 0 auto;
  padding: 1rem 0;
  width: min(100% - 2.5rem, var(--max));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.98rem;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.trust-strip svg {
  width: 22px;
  height: 22px;
  color: var(--copper-soft);
  flex-shrink: 0;
}

.trust-strip a {
  color: #fff;
}

/* ---------- Generic sections ---------- */
.section {
  padding: 88px 0;
}

.section-sand {
  background: var(--sand);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.75rem;
}

.section-head h2,
.split-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.7rem + 1.3vw, 2.9rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.section-dark .section-head h2 {
  color: #fff;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-head p {
  color: #d5dcda;
}

.section-head .eyebrow,
.split-copy .eyebrow {
  color: var(--brand-copper);
}

.section-dark .eyebrow {
  color: var(--copper-soft);
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
}

.benefit svg {
  width: 40px;
  height: 40px;
  color: var(--brand-copper);
  margin-bottom: 0.9rem;
}

.benefit h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.benefit p {
  margin: 0;
  color: var(--muted);
}

/* Split image + copy */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -18px rgb(16 36 34 / 0.45);
}

.split-media figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.split-media figcaption a {
  color: inherit;
  text-decoration: underline;
}

.split-copy p {
  margin: 0 0 1rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.6rem 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--brand-copper);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.steps h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 0.45rem;
  color: #fff;
}

.steps p {
  margin: 0;
  color: #d5dcda;
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgb(16 36 34 / 0.4);
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-copper);
}

/* Area cards */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.area-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  background: var(--ink-soft);
}

.area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.area-card:hover img {
  transform: scale(1.04);
}

.area-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgb(10 25 24 / 0.86));
  color: #fff;
}

.area-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.area-card span {
  display: block;
  font-size: 0.9rem;
  color: #e3e8e6;
}

.areas-chips {
  text-align: center;
}

.areas-chips .area-list {
  justify-content: center;
}

.areas-chips p {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

/* FAQ */
.faq-list {
  max-width: 52rem;
  margin: 0 auto;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 700;
  font-size: 1.07rem;
  color: var(--ink);
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand-copper);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details > div {
  padding: 0 1.25rem 1.1rem;
}

.faq-list details p {
  margin: 0 0 0.6rem;
}

/* Related services */
.related {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.related a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--brand-teal);
  border-radius: 999px;
  font-weight: 700;
  color: var(--brand-teal);
}

.related a:hover {
  background: var(--brand-teal);
  color: #fff;
}

/* CTA band with photo */
.cta.cta-photo {
  background-image: none;
}

.cta.cta-photo .hero-media {
  z-index: -2;
}

.cta .cta-sub {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: #d5dcda;
}

/* Contact map section */
.map-section .map-frame {
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow);
}

.map-section .map-caption {
  color: var(--muted);
}

/* Footer services column */
.footer-grid.footer-grid-4 {
  grid-template-columns: 1.2fr 0.75fr 1fr 1.3fr;
}

.prose {
  max-width: 50rem;
}

.prose p {
  margin: 0 0 1rem;
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-bar {
  display: none;
}

@media (max-width: 880px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    box-shadow: 0 -6px 20px rgb(0 0 0 / 0.18);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--brand-teal);
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 56px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
  }

  .mobile-bar a + a {
    background: var(--brand-copper);
  }

  .mobile-bar svg {
    width: 20px;
    height: 20px;
  }

  body.has-mobile-bar {
    padding-bottom: 56px;
  }

  .has-sub {
    flex-wrap: wrap;
    justify-content: center;
  }

  .has-sub > a {
    flex: 0 1 auto;
  }

  .sub-toggle {
    padding: 0.6rem;
    margin-left: 0;
  }

  .has-sub > .sub-menu {
    flex-basis: 100%;
  }
}

/* ---------- Responsive for new components ---------- */
@media (max-width: 1100px) {
  .benefit-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 960px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 28px 0 40px;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split.reverse .split-media {
    order: 0;
  }
}

@media (max-width: 767px) {
  .lp-hero h1 {
    font-size: clamp(1.85rem, 1.3rem + 2.6vw, 2.4rem);
    margin-bottom: 0.6rem;
  }

  .lp-hero .lp-sub {
    font-size: 1rem;
    margin-bottom: 0.9rem;
  }

  .lp-hero .tick-list,
  .lp-hero .hero-meta {
    display: none;
  }

  .hero-ctas .btn {
    flex: 1 1 0;
    padding: 0.7rem 0.6rem;
    font-size: 1.05rem;
  }

  .lp-hero .form-card {
    padding: 18px 16px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .form-compact .field-row.keep-2 {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .benefit-grid,
  .steps,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .area-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .area-card strong {
    font-size: 1.15rem;
  }

  .area-card span {
    display: none;
  }

  .trust-strip ul {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.92rem;
  }

  .hero.hero-photo {
    padding: 70px 1.25rem 96px;
  }

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

}

picture {
  display: block;
}

.hero-media picture,
.area-card picture {
  width: 100%;
  height: 100%;
}

.split-media {
  margin: 0;
}

.lbl-short {
  display: none;
}

@media (max-width: 767px) {
  .hero-ctas .lbl-full {
    display: none;
  }

  .hero-ctas .lbl-short {
    display: inline;
  }
}

.rates-note {
  margin: 0 0 1.1rem;
  color: #4a5857;
}

.rates-brief {
  background: var(--sand, #f7f1e8);
  border-bottom: 1px solid #e3ddd3;
}

.rates-brief-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  padding: 0.9rem 0;
  text-align: center;
}

.rates-brief p {
  margin: 0;
}

.rates-brief .rates-note {
  margin: 0;
  font-size: 0.95rem;
}

.rates-brief .rates-note a {
  font-weight: 700;
  color: var(--brand-teal);
}

.rate-pill {
  display: inline-block;
  margin: 0.15rem 0.2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.rates-ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.4rem;
  margin: 0 0 1rem;
  text-align: left;
}

.rates-brief .rates-ticks {
  flex-basis: 100%;
  margin: 0.1rem 0;
  font-size: 0.95rem;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.35);
  border: 1px solid rgb(255 255 255 / 0.25);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-trust svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--copper-soft);
}

.hero-trust-center {
  position: relative;
  z-index: 2;
}

.contact-trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--brand-copper);
  border-radius: 8px;
  background: var(--sand);
  font-weight: 600;
  text-align: left;
}

.contact-trust svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--brand-teal);
}

@media (max-width: 600px) {
  .rates-ticks {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .rates-brief .rates-ticks {
    flex-basis: auto;
  }

  .hero-trust {
    font-size: 0.9rem;
  }
}

/* ---------- Truck & crew picker ---------- */
.picker[hidden] {
  display: none;
}

.picker {
  display: grid;
  gap: 1.25rem;
  margin: 0 auto 1.25rem;
  max-width: 1040px;
}

.picker-controls {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e3ddd3;
  border-radius: 14px;
}

.picker-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.picker-group legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--brand-teal);
}

.picker-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.picker-trucks,
.picker-crews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.picker-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.picker-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.picker-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border: 1.5px solid #cfd8d6;
  border-radius: 10px;
  background: #fff;
  color: #1f2a2a;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.picker-option:hover span {
  border-color: var(--brand-teal);
}

.picker-option input:checked + span {
  border-color: var(--brand-teal);
  background: var(--brand-teal);
  color: #fff;
}

.picker-option input:focus-visible + span {
  outline: 3px solid var(--brand-copper);
  outline-offset: 2px;
}

.picker-trucks .picker-option span,
.picker-crews .picker-option span {
  min-height: 56px;
}

.picker-option.is-rec span {
  flex-direction: column;
  gap: 0.2rem;
}

.picker-option.is-rec span::after {
  content: "Recommended";
  margin-left: 0;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: var(--brand-copper);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.picker-summary {
  padding: 1.4rem 1.25rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3ddd3;
  border-top: 4px solid var(--brand-copper);
  box-shadow: 0 10px 30px rgb(15 68 72 / 0.08);
}

.picker-result {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--brand-teal);
  color: #fff;
}

.picker-badge {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: #cfe0dd;
}

.picker-badge.is-recommended {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--brand-copper);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.picker-use-rec {
  margin-left: 0.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.picker-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.picker-price strong {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.picker-sub {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #cfe0dd;
}

.picker-incl-title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.picker-incl {
  margin-bottom: 0.9rem;
}

.picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.picker-actions .btn {
  flex: 1 1 12rem;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  white-space: nowrap;
}

.rate-table-details {
  max-width: 1040px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e3ddd3;
  border-radius: 14px;
  padding: 0.25rem 1.25rem;
}

.rate-table-details[open] {
  padding-bottom: 1.25rem;
}

.rate-table-details summary {
  padding: 0.85rem 0;
  font-weight: 700;
  color: var(--brand-teal);
  cursor: pointer;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.rate-table caption {
  margin-bottom: 0.5rem;
  text-align: left;
  font-size: 0.92rem;
  color: #4a5857;
}

.rate-table th,
.rate-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #e3ddd3;
  text-align: left;
}

.rate-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-teal);
}

.rate-table td {
  font-weight: 700;
}

.rate-table td.is-selected {
  background: var(--brand-teal);
  color: #fff;
  border-radius: 6px;
}

#quote,
#pricing {
  scroll-margin-top: 110px;
}

.picker-choice[hidden] {
  display: none;
}

.picker-choice-row {
  display: flex;
  gap: 0.5rem;
}

.picker-choice-row textarea {
  flex: 1;
  min-width: 0;
  resize: none;
  min-height: 0;
  background: var(--sand);
  font-weight: 600;
}

.picker-choice-clear {
  flex: none;
  padding: 0 0.85rem;
  border: 1.5px solid #cfd8d6;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-teal);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

a.rate-pill {
  text-decoration: none;
  white-space: normal;
}

a.rate-pill:hover {
  background: var(--brand-copper);
}

@media (min-width: 900px) {
  .picker {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
}

@media (max-width: 480px) {
  .picker-trucks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .picker-sizes .picker-option {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .picker-price strong {
    font-size: 1.75rem;
  }
}

/* =====================================================================
   Chat widget (chat.js)
   ===================================================================== */
.tchat {
  --chat-teal: #0f4448;
  --chat-copper: #c8652e;
  --chat-bottom: 24px;
  font-family: var(--font-body, "Source Sans 3", system-ui, sans-serif);
}

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

.tchat-launcher {
  position: fixed;
  right: 24px;
  bottom: var(--chat-bottom);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0 1.25rem 0 1rem;
  border: 2px solid var(--chat-copper);
  border-radius: 999px;
  background: var(--chat-teal);
  color: #fff;
  font-family: var(--font-display, "Oswald", sans-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgb(15 68 72 / 0.35);
  transition: transform 0.2s, background 0.2s;
}

.tchat-launcher:hover {
  background: var(--chat-copper);
  transform: translateY(-2px);
}

.tchat-launcher:focus-visible,
.tchat-chip:focus-visible,
.tchat-close:focus-visible,
.tchat-call:focus-visible,
.tchat-send:focus-visible,
.tchat-teaser button:focus-visible {
  outline: 3px solid var(--chat-copper);
  outline-offset: 2px;
}

.tchat-launcher svg {
  width: 26px;
  height: 26px;
}

.tchat.is-open .tchat-launcher {
  display: none;
}

.tchat-teaser {
  position: fixed;
  right: 24px;
  bottom: calc(var(--chat-bottom) + 68px);
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 290px;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  border-radius: 14px;
  background: #fff;
  color: var(--chat-teal);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.18);
  animation: tchat-in 0.3s ease-out;
}

.tchat-teaser[hidden] {
  display: none;
}

.tchat-teaser-open {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0.3rem 0;
}

.tchat-teaser-close {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #5b6b6a;
  cursor: pointer;
}

.tchat-teaser-close svg {
  width: 16px;
  height: 16px;
}

.tchat-panel {
  position: fixed;
  right: 24px;
  bottom: var(--chat-bottom);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  width: 380px;
  height: min(620px, calc(100vh - 48px));
  height: min(620px, calc(100dvh - 48px));
  border-radius: 16px;
  overflow: hidden;
  background: #f7f4ef;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.28);
  animation: tchat-in 0.22s ease-out;
}

.tchat-panel[hidden] {
  display: none;
}

@keyframes tchat-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.tchat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.7rem 0.8rem 1rem;
  background: var(--chat-teal);
  border-bottom: 3px solid var(--chat-copper);
  color: #fff;
}

.tchat-avatar {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 50%;
  background: #fff;
}

.tchat-head-text {
  flex: 1;
  min-width: 0;
}

.tchat-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display, "Oswald", sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.tchat-head p {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: #cfe0dd;
}

.tchat-call,
.tchat-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  cursor: pointer;
}

.tchat-call:hover,
.tchat-close:hover {
  background: var(--chat-copper);
}

.tchat-call svg {
  width: 18px;
  height: 18px;
}

.tchat-close svg {
  width: 20px;
  height: 20px;
}

.tchat-log {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.9rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overscroll-behavior: contain;
}

.tchat-log:focus-visible {
  outline: 2px solid var(--chat-copper);
  outline-offset: -2px;
}

.tchat-msg {
  max-width: 86%;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  font-size: 0.98rem;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.tchat-bot {
  align-self: flex-start;
  background: #fff;
  color: #1f2a2a;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
}

.tchat-user {
  align-self: flex-end;
  background: var(--chat-teal);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.tchat-msg a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.tchat-bot a {
  color: var(--chat-teal);
}

.tchat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 0.75rem 0.9rem;
}

.tchat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8aa09d;
  animation: tchat-dot 1s infinite ease-in-out;
}

.tchat-typing span:nth-child(2) { animation-delay: 0.15s; }
.tchat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes tchat-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.tchat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem 0.6rem;
}

.tchat-chips[hidden] {
  display: none;
}

.tchat-chip {
  border: 1.5px solid var(--chat-copper);
  border-radius: 999px;
  background: #fff;
  color: #8a4219;
  padding: 0.4rem 0.8rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.tchat-chip:hover {
  background: var(--chat-copper);
  color: #fff;
}

.tchat-chip:disabled {
  opacity: 0.5;
  cursor: default;
}

.tchat-form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  background: #fff;
  border-top: 1px solid #e3ddd3;
}

.tchat-form textarea {
  flex: 1;
  resize: none;
  min-height: 44px;
  max-height: 120px;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #cfd8d6;
  border-radius: 12px;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom on focus */
  line-height: 1.35;
  color: #1f2a2a;
  background: #fff;
}

.tchat-form textarea:focus {
  outline: none;
  border-color: var(--chat-teal);
  box-shadow: 0 0 0 3px rgb(15 68 72 / 0.15);
}

.tchat-send {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--chat-copper);
  color: #fff;
  cursor: pointer;
}

.tchat-send:hover {
  background: #a9521f;
}

.tchat-send:disabled {
  opacity: 0.55;
  cursor: default;
}

.tchat-send svg {
  width: 20px;
  height: 20px;
}

.tchat-foot {
  margin: 0;
  padding: 0 0.9rem 0.6rem;
  background: #fff;
  font-size: 0.85rem;
  color: #5b6b6a;
  text-align: center;
}

.tchat-foot a {
  color: var(--chat-teal);
  font-weight: 700;
}

/* Mobile: sit above the sticky Call / Quote bar (56px + safe area). */
@media (max-width: 880px) {
  .tchat {
    --chat-bottom: calc(56px + env(safe-area-inset-bottom) + 14px);
  }

  .tchat-launcher {
    right: 14px;
    min-height: 54px;
    width: 54px;
    padding: 0;
    justify-content: center;
  }

  .tchat-launcher-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .tchat-teaser {
    display: none !important;
  }

  .tchat-panel {
    left: 8px;
    right: 8px;
    top: 8px;
    bottom: calc(56px + env(safe-area-inset-bottom) + 8px);
    width: auto;
    height: auto;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tchat-panel,
  .tchat-teaser {
    animation: none;
  }

  .tchat-typing span {
    animation: none;
    opacity: 0.7;
  }

  .tchat-launcher {
    transition: none;
  }
}

@media print {
  .tchat {
    display: none;
  }
}
