/* Patitas Moving & Hauling: colours and type follow the printed rate sheet. */
:root {
  --green: #1e3a33;
  --green-2: #2c4f46;
  --rust: #b9532b;
  --rust-dark: #9a4220;
  --cream: #f4f1ea;
  --paper: #ffffff;
  --ink: #1d2522;
  --muted: #5f6b66;
  --line: #dcd8cd;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--paper); }
a { color: var(--green); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--green); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); margin-top: .2em; }
h3 { font-size: 1.25rem; }
small { font-size: .85em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 max(18px, env(safe-area-inset-left)); }
main > section.wrap { padding-top: 48px; padding-bottom: 8px; }
.muted { color: var(--muted); }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--rust); margin: 0 0 .4em; }

/* Header: the green band with the rust rule under it */
.hero { background: var(--green); color: #fff; border-bottom: 6px solid var(--rust); padding: 44px 0 36px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 7vw, 3.6rem); margin: .1em 0 .3em; }
.hero .kicker { color: #c9d6d1; font-weight: 500; }
.hero .lede { font-size: 1.15rem; color: #e3ebe8; max-width: 36em; margin: 0 0 1.2em; }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px;
  border-top: 1px solid rgba(255,255,255,.25); padding-top: 18px; }
.phone { color: #fff; text-decoration: none; font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: 600; letter-spacing: .01em; }
.hero-note { margin: 0; color: #c9d6d1; text-align: right; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero.small { padding: 18px 0; }
.home { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px;
  border-radius: 999px; font: 600 1rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-accent { background: var(--rust); color: #fff; }
.btn-accent:hover { background: var(--rust-dark); }
.btn-accent[disabled] { opacity: .7; cursor: progress; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost-dark { border-color: var(--green); color: var(--green); }
.wide { width: 100%; }

/* Rate table */
.rates { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
.rates thead th { text-align: left; font: 700 .75rem var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: 8px 0; border-bottom: 2px solid var(--green); }
.rates tbody th, .rates td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.rates tbody th { font-weight: 600; width: 32%; }
.rates td { color: var(--muted); }
.rates .num { text-align: right; padding-right: 0; white-space: nowrap; }
.rates .price { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--green); }
.rates .price small { font: 400 .8rem var(--sans); color: var(--muted); }
.sub { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.show-sm { display: none; }
.included { color: var(--muted); }
.included strong { color: var(--green); }

.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.extras { list-style: none; margin: 0; padding: 0; }
.extras li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.extras small { display: block; color: var(--muted); }
.extras strong { color: var(--green); white-space: nowrap; }

.sample, .estimate { background: var(--cream); border-left: 5px solid var(--rust); padding: 22px 24px; border-radius: 0 var(--r) var(--r) 0; }
.sample { margin-top: 50px; }
.line { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 5px 0; }
.line.total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 10px; font-weight: 700; font-size: 1.1rem; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; max-width: 44em; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 14px 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border: 1.5px solid var(--green);
  border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--green); }

/* Quote form */
.quote-band { background: var(--cream); margin-top: 40px; padding: 48px 0 56px !important; }
.qgrid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; margin-top: 20px; }
.qform fieldset { border: 0; margin: 0 0 18px; padding: 20px 22px; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); }
.qform legend { font: 700 1.15rem var(--serif); color: var(--green); padding: 0; float: left; width: 100%; margin-bottom: 12px; }
.qform legend + * { clear: both; }
.field { display: block; font-weight: 600; font-size: .95rem; margin: 12px 0 4px; }
.field small, .check small { font-weight: 400; color: var(--muted); }
.label { font-weight: 600; font-size: .95rem; margin: 14px 0 6px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 5px; font: 16px var(--sans); color: var(--ink);
  padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .choice input:focus-visible + span, .seg input:focus-visible + span {
  outline: 3px solid rgba(185,83,43,.35); outline-offset: 1px; border-color: var(--rust); }
.pair { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0 14px; align-items: end; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { cursor: pointer; }
.choice input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; }
.choice em { float: right; font-style: normal; font-family: var(--serif); font-weight: 700; color: var(--green); font-size: 1.15rem; }
.choice small { display: block; color: var(--muted); margin-top: 2px; }
.choice input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #eef3f1; }
.seg { display: inline-flex; flex-wrap: wrap; background: #ece9e1; border-radius: 999px; padding: 4px; gap: 2px; }
.seg label { cursor: pointer; }
.seg span { display: block; padding: 8px 14px; text-align: center; border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: var(--green); color: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 2px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.hint { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }
.errorlist { list-style: none; margin: 4px 0 0; padding: 0; color: #a12a14; font-size: .9rem; font-weight: 600; }
.form-error { background: #fbe9e3; color: #8a2a12; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.estimate { position: sticky; top: 16px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--rust); }
.estimate h3 { margin-bottom: .6em; }
#est-total { font-family: var(--serif); font-size: 1.5rem; color: var(--green); }
.estimate .btn { margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1.5px solid var(--green); color: var(--green); border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: .93rem; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-card { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.pay-card .eyebrow { display: block; color: var(--muted); }
.pay-card strong { font-size: 1.15rem; color: var(--green); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 48em; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rust); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.page { padding-top: 40px; padding-bottom: 40px; min-height: 50vh; }
.page .lede { font-size: 1.15rem; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }

.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 32px; color: var(--muted); font-size: .9rem; }
.foot strong { color: var(--ink); }
.foot-links a { color: var(--muted); }

.callbar { display: none; }

/* Phones: one column, edges of the screen are the borders, call bar at the bottom */
@media (max-width: 760px) {
  main > section.wrap { padding-top: 36px; }
  .hero { padding: 30px 0 26px; }
  .hero-note { text-align: left; }
  .actions .btn-ghost { display: none; }
  .two, .qgrid { grid-template-columns: 1fr; gap: 20px; }
  .hide-sm { display: none; }
  .show-sm { display: block; }
  .rates tbody th { width: auto; }
  .sample { margin-top: 0; }
  .quote-band .wrap { padding: 0; }
  .quote-band .eyebrow, .quote-band h2, .quote-band > .wrap > .muted, .form-error { margin-left: 18px; margin-right: 18px; }
  .qform fieldset { border-radius: 0; border-left: 0; border-right: 0; margin-bottom: 10px; padding: 18px; }
  .estimate { position: static; border-radius: 0; border-left: 0; border-right: 0; border-top: 5px solid var(--rust); }
  .choices { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    background: var(--green); padding-bottom: env(safe-area-inset-bottom); border-top: 3px solid var(--rust); }
  .callbar a { color: #fff; text-decoration: none; text-align: center; font-weight: 700; padding: 15px 4px; }
  .callbar a + a { border-left: 1px solid rgba(255,255,255,.2); }
  .callbar .hot { background: var(--rust); }
  .foot { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* Landing quote card: the two places first, the rest opens below */
.hero .qform { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 20px 22px 22px; max-width: 560px;
  border-top: 5px solid var(--rust); box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.hero .qform .field:first-child { margin-top: 0; }
.hero .form-error { max-width: 560px; }
.qform .next, .qform .send { margin-top: 16px; min-height: 52px; font-size: 1.05rem; }
.qform.js .step2 { display: none; }
.qform.js.open .step2 { display: block; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 4px; }
.qform.js.open .next, .qform:not(.js) .next { display: none; }
.field input.missing { border-color: var(--rust); background: #fdf3ef; }
.sizes { display: flex; background: none; padding: 0; gap: 8px; }
.sizes span { border: 1.5px solid var(--line); color: var(--ink); font-weight: 500; }
.sizes input:checked + span { border-color: var(--green); }
.hero .or { color: #c9d6d1; margin: 16px 0 0; }
.hero .or a { color: #fff; font-weight: 600; }
.qform .hint a { color: var(--green); }
@media (max-width: 760px) {
  .hero .qform { margin: 0 -18px; border-radius: 0; box-shadow: none; padding: 18px; }
  .hero .form-error { margin-left: 0; margin-right: 0; }
}
.pair.even { grid-template-columns: 1fr 1fr; align-items: end; }
@media (max-width: 760px) { .pair.even { grid-template-columns: 1fr; } }

/* Patitas's private quote page (opened from his text) */
.qhead { background: var(--green); color: #fff; border-bottom: 6px solid var(--rust); padding: 26px 0 22px; }
.qhead .kicker { color: #c9d6d1; }
.qhead h1 { color: #fff; font-size: clamp(1.9rem, 7vw, 2.6rem); margin: .1em 0 .1em; }
.qwhen { margin: 0; color: #e3ebe8; font-size: 1.05rem; }
.qtotal { margin: 14px 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.qtotal .amount { font: 700 2.8rem/1 var(--serif); }
.qtotal .plus { color: #e3ebe8; font-weight: 600; }
.qsmall { color: #c9d6d1; font-size: .85rem; margin: 14px 0 0; }
.qhead .actions .btn-ghost { display: inline-flex; }
.qbody section { padding: 22px 0 4px; border-bottom: 1px solid var(--line); }
.qbody h2 { font-size: 1.2rem; }
.kv { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.kv .sub, .breakdown .sub { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.breakdown { width: 100%; border-collapse: collapse; }
.breakdown th, .breakdown td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.breakdown td { text-align: right; font-weight: 700; color: var(--green); white-space: nowrap; padding-left: 12px; }
.qbody .total { font-size: 1.25rem; border-top: 0; }
.qbody .total span:last-child { font-family: var(--serif); color: var(--green); font-size: 1.5rem; }
.qnotes { margin: 10px 0 0; padding-left: 1.1em; color: var(--ink); }
.qnotes li { margin: 4px 0; }
@media print {
  .qhead { background: none; color: var(--ink); border-bottom: 2px solid var(--rust); }
  .qhead h1, .qtotal .amount { color: var(--green); }
  .qhead .kicker, .qwhen, .qtotal .plus, .qsmall { color: var(--muted); }
  .actions, .callbar, .foot { display: none !important; }
}
