:root {
    --bg: #F3F4F1;
    --surface: #FFFFFF;
    --surface-2: #ECEDE9;
    --ink: #151515;
    --ink-soft: #5B5D58;
    --line: #DCDDD8;
    --black: #101113;
    --black-soft: #1C1D1F;
    --lime: #8FE93F;
    --lime-deep: #6FC229;
    --white: #FFFFFF;
    --radius: 8px;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  *, *::before, *::after { box-sizing: inherit; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #121212; --surface: #1B1C1E; --surface-2: #232426; --ink: #F1F1EE;
      --ink-soft: #A9AAA5; --line: #303133; --black: #0B0C0D; --black-soft: #17181A;
      --lime: #9CF357; --lime-deep: #8FE93F; --white: #FFFFFF;
    }
  }
  :root[data-theme="dark"] {
    --bg: #121212; --surface: #1B1C1E; --surface-2: #232426; --ink: #F1F1EE;
    --ink-soft: #A9AAA5; --line: #303133; --black: #0B0C0D; --black-soft: #17181A;
    --lime: #9CF357; --lime-deep: #8FE93F; --white: #FFFFFF;
  }
 

  .wrap { max-width: 100%; margin: 0 auto; padding: 0 0px; }

  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { height: 52px; width: auto; display: block; border-radius: 3px; }
  .brand-fallback { font-family: 'Poppins', sans-serif; font-weight: 800; color: #fff; letter-spacing: 0.02em; }
  .brand-fallback span { color: var(--lime); }
  nav.mainnav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
  nav.mainnav a {
    color: #fff; text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 600;
    font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
  }
  nav.mainnav a:hover { color: var(--lime); }
  .nav-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .phone-badge { color: #fff; font-weight: 700; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
  .county-badge { color: var(--lime); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.03em; white-space: nowrap; }
  .book-btn {
    background: var(--lime); color: var(--black); text-decoration: none; font-weight: 800;
    font-family: 'Poppins', sans-serif; font-size: 0.8rem; letter-spacing: 0.04em;
    padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  }
  .book-btn:hover { background: var(--lime-deep); }

  .hero { background: var(--black-soft); color: #fff; padding: 50px 0 42px; position: relative; overflow: hidden; }
  .hero::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
    background: var(--lime); opacity: 0.12; border-radius: 50%;
  }
  .hero .wrap { position: relative; }
  .hero .kicker {
    display: inline-block; background: var(--lime); color: var(--black); font-weight: 800;
    font-size: 0.78rem; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 4px; margin-bottom: 14px;
  }
  .hero h1 { font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.15;  color: #fff; }
  .hero p { max-width: 54ch; color: #C8CAC4; font-size: 1.05rem; margin-top: 14px; }

  main.estimator { padding: 40px 0 70px; }
  .panel-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  @media (max-width: 860px) { .panel-grid { grid-template-columns: 1fr; } }

  .visual-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px 22px; position: sticky; top: 111px;
  }
  @media (max-width: 860px) { .visual-card { position: static; } }
  .visual-card .label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
  .dims { color: var(--ink-soft); font-size: 0.85rem; }
  .trailer-stage { display: flex; gap: 16px; align-items: stretch; margin-top: 14px; }
  .ruler { display: flex; flex-direction: column-reverse; justify-content: space-between; width: 78px; flex-shrink: 0; padding: 6px 0; }
  .ruler button {
    all: unset; cursor: pointer; display: flex; align-items: center; gap: 6px;
    font-family: 'Poppins', sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); padding: 3px 0;
  }
  .ruler button .tick { width: 10px; height: 2px; background: var(--line); flex-shrink: 0; }
  .ruler button[aria-pressed="true"] { color: var(--ink); }
  .ruler button[aria-pressed="true"] .tick { background: var(--lime); width: 16px; height: 3px; }
  .ruler button:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 2px; }

  svg#trailerSvg { width: 100%; height: auto; display: block; overflow: visible; }
  #fillRect, #fillLine {
    transition: y .55s cubic-bezier(.4,0,.2,1), height .55s cubic-bezier(.4,0,.2,1);
  }
  .cargo-icon {
    opacity: 0;
    transform: scale(0.55) translateY(8px);
    transform-box: fill-box;
    transform-origin: 50% 100%;
    transition: opacity .4s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
  }
  .cargo-icon.visible { opacity: 0.97; transform: scale(1) translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    #fillRect, #fillLine, .cargo-icon { transition: none; }
  }
  .fit-copy { margin-top: 16px; }
  .fit-copy .step-name {
    font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--black);
    display: inline-block; background: var(--lime); padding: 2px 10px; border-radius: 4px;
  }
  .fit-copy p { color: var(--ink-soft); margin: 10px 0 0; font-size: 0.98rem; }

  .slider-row { margin-top: 20px; }
  input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--surface-2); outline: none; }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
    background: var(--lime); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--lime-deep);
    cursor: grab; margin-top: -9px;
  }
  input[type="range"]::-moz-range-thumb {
    width: 24px; height: 24px; border-radius: 50%; background: var(--lime);
    border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--lime-deep); cursor: grab;
  }
  input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--surface-2); }

  .heavy-note {
    margin-top: 18px; padding: 12px 14px; background: var(--surface-2); border-left: 3px solid var(--lime-deep);
    border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.88rem; color: var(--ink-soft);
  }
  .heavy-note strong { color: var(--ink); }

  .services-card, .summary-card, .form-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  }
  .services-card { margin-bottom: 20px; }
  .services-card h2, .form-card h2 { font-size: 1.15rem; margin-bottom: 4px; }
  .services-card .sub, .form-card .sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 16px; }

  .service-list { display: flex; flex-direction: column; gap: 10px; }
  .service-item {
    display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px 14px; cursor: pointer; transition: border-color .15s ease, background .15s ease;
  }
  .service-item:has(input:checked) { border-color: var(--lime-deep); background: color-mix(in srgb, var(--lime) 12%, var(--surface)); }
  .service-item input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--lime-deep); flex-shrink: 0; }
  .service-item .stext strong { display: block; font-size: 0.96rem; }
  .service-item .stext span { color: var(--ink-soft); font-size: 0.85rem; }

  .summary-card { margin-bottom: 20px; border-color: var(--black); }
  .summary-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
  .summary-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
  .summary-row:last-of-type { border-bottom: none; }
  .summary-row .sval { font-weight: 700; text-align: right; max-width: 60%; }
  .summary-footnote { margin-top: 12px; font-size: 0.82rem; color: var(--ink-soft); }
  .cta-btn {
    display: block; width: 100%; margin-top: 16px; background: var(--lime); color: var(--black); border: none;
    font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1rem; padding: 14px;
    border-radius: 999px; cursor: pointer; letter-spacing: 0.02em;
  }
  .cta-btn:hover { background: var(--lime-deep); }

  .form-card { scroll-margin-top: 20px; }
  .field { margin-bottom: 14px; }
  .field label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 5px; }
  .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, select {
    width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--bg); color: var(--ink); font: inherit; font-size: 0.95rem;
  }
  .field input:focus, .field textarea:focus, select:focus { outline: 2px solid var(--lime-deep); outline-offset: 1px; }
  .field textarea { resize: vertical; min-height: 80px; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  @media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }

  .file-drop {
    border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 16px; text-align: center;
    cursor: pointer; font-size: 0.88rem; color: var(--ink-soft); background: var(--bg);
  }
  .file-drop:hover { border-color: var(--lime-deep); color: var(--ink); }
  #photoInput { display: none; }
  .thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
  .thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

  .check-line { display: flex; align-items: flex-start; gap: 8px; font-size: 0.84rem; color: var(--ink-soft); margin-top: 10px; }
  .check-line input { margin-top: 3px; accent-color: var(--lime-deep); }
  .check-line a { color: var(--ink); font-weight: 600; }
  .err { color: #C43D3D; font-size: 0.8rem; margin-top: 4px; display: none; }
  .field.invalid input, .field.invalid textarea { border-color: #C43D3D; }
  .field.invalid .err { display: block; }

  .success-panel { display: none; text-align: center; padding: 30px 10px; }
  .success-panel.show { display: block; }
  .success-panel .check {
    width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--black);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.5rem; font-weight: 800;
  }
  .success-panel h3 { font-size: 1.25rem; }
  .success-panel p { color: var(--ink-soft); margin-top: 8px; }

  .why-strip { background: var(--black); color: #fff; padding: 20px 0; margin-top: 46px; }
  .why-strip .wrap { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; }
  .why-strip .item { font-size: 0.88rem; display: flex; align-items: center; gap: 8px; }
  .why-strip .item strong { color: var(--lime); font-family: 'Poppins', sans-serif; }

  footer.site { border-top: 1px solid var(--line); padding: 22px 0; background: var(--surface); }
  footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: var(--ink-soft); }
        .htext { font-size: 18px !important; line-height: 26px; }
        .heading5 { font-weight: 600; margin: 10px 0 10px 0px;}
        .ticon { font-size: 55px; color: #ccc; }