@font-face {
  font-family: "ToteBuddy Sans";
  src: url("./assets/fonts/totebuddy-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ToteBuddy Sans";
  src: url("./assets/fonts/totebuddy-sans-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #171612;
  --muted: #6b675e;
  --green: #c89618;
  --green-dark: #1b1a17;
  --mint: #fff0b8;
  --cream: #f7f1e4;
  --orange: #f0c441;
  --orange-soft: #fff2c2;
  --white: #ffffff;
  --line: #ded5c5;
  --shadow: 0 22px 70px rgba(25, 22, 15, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "ToteBuddy Sans", Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  background:
    radial-gradient(circle at 92% 8%, rgba(240, 196, 65, .34), transparent 28%),
    radial-gradient(circle at 75% 70%, rgba(27, 26, 23, .08), transparent 32%),
    linear-gradient(135deg, #fffaf0 0%, #f7f1e4 62%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -.02em;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 31px;
  border: 3px solid var(--green);
  border-radius: 5px 5px 8px 8px;
  background: var(--mint);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -7px;
  width: 40px;
  height: 7px;
  border-radius: 4px;
  background: var(--orange);
}

.nav-note { color: var(--muted); font-size: .88rem; font-weight: 700; }

.hero-grid {
  display: block;
  padding: 110px 0 126px;
}

.hero-copy { max-width: 980px; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 960px;
  margin-bottom: 22px;
  font-size: clamp(3.45rem, 7.2vw, 6.8rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.045em;
}

h1 span { color: var(--green); }

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.promise-panel {
  max-width: 700px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(200, 150, 24, .28);
  border-left: 5px solid var(--orange);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 35px rgba(25, 22, 15, .07);
}

.promise-title {
  margin-bottom: 9px;
  color: var(--green-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.promise-items { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.promise-items span { color: var(--ink); font-size: .87rem; font-weight: 800; }
.promise-items span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }

.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(25, 22, 15, .18);
  transition: transform .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); background: #39362f; }

.btn.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.microcopy { color: var(--muted); font-size: .82rem; }

.product-section {
  padding: 86px 0 0;
  background: var(--white);
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fffdf8;
  box-shadow: 0 18px 55px rgba(25, 22, 15, .08);
}

.product-image-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: #eee8dc;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy { padding-right: clamp(4px, 2vw, 24px); }
.product-copy h2 {
  max-width: 600px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
}
.product-copy > p:not(.eyebrow) { max-width: 570px; margin-bottom: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }

.value-section { padding: 86px 0; background: var(--white); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.055em; line-height: 1; }
.section-heading p { max-width: 460px; margin-bottom: 2px; color: var(--muted); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.value-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: .84rem;
  font-weight: 900;
}

.value-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.value-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.booking-section { padding: 92px 0 108px; }
.booking-section > .wrap > .section-heading { align-items: start; }

.review-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: #6f5200;
  font-size: .77rem;
  font-weight: 800;
}

.review-badge::before { content: "●"; color: var(--orange); }

.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.form-card { padding: 34px; }
.estimate-card { position: sticky; top: 24px; padding: 30px; background: var(--green-dark); color: var(--white); }

.form-step { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.form-step:last-of-type { border-bottom: 0; margin-bottom: 0; }
.form-step h3 { margin-bottom: 6px; font-size: 1.24rem; }
.helper { margin-bottom: 20px; color: var(--muted); font-size: .88rem; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-grid .wide { grid-column: 1 / -1; }

label { display: grid; gap: 7px; color: var(--ink); font-size: .86rem; font-weight: 800; }

input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfc5b4;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(200, 150, 24, .18); }

.period-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.period-button { min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: #fffcf6; color: var(--ink); font-weight: 800; }
.period-button.is-active { border-color: var(--green); background: var(--mint); color: var(--green-dark); box-shadow: inset 0 0 0 1px var(--green); }

.addon-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffcf6;
  cursor: pointer;
}
.addon-card:has(input:checked) { border-color: var(--green); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); }
.addon-card input { width: 21px; height: 21px; min-height: 21px; margin: 0; padding: 0; accent-color: var(--green); }
.addon-copy { display: grid; gap: 2px; }
.addon-copy strong { font-size: .94rem; }
.addon-copy span { color: var(--muted); font-size: .8rem; font-weight: 400; }
.addon-price { color: var(--green-dark); font-size: .95rem; font-weight: 900; }

.custom-rental-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px dashed #c8a64f;
  border-radius: 16px;
  background: #fff9e9;
}
.custom-rental-card h4 { margin: 0 0 6px; font-size: 1rem; }
.custom-rental-card > p { margin: 0 0 16px; color: var(--muted); font-size: .86rem; }
.custom-rental-card textarea { min-height: 84px; background: var(--white); }

.date-note { min-height: 20px; margin: 10px 0 0; color: #795900; font-size: .8rem; font-weight: 700; }

.address-stack { display: grid; gap: 18px; }

.address-card {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffcf6;
  transition: opacity .2s ease, background .2s ease;
}

.address-card legend {
  padding: 0 8px;
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 900;
}

.address-description { margin: 0 0 18px; color: var(--muted); font-size: .82rem; }
.address-card.is-disabled { opacity: .58; background: #f0ece4; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  cursor: pointer;
}

.checkbox-row input { width: 20px; min-height: 20px; margin: 0; accent-color: var(--green); }

.estimate-card .eyebrow { color: #f4d96f; }
.plan-name { margin-bottom: 4px; color: #eee3c8; font-size: .9rem; font-weight: 800; }
.estimate-total { margin-bottom: 7px; font-size: 3.4rem; font-weight: 900; line-height: 1; letter-spacing: -.055em; }
.estimate-detail { min-height: 42px; color: #d8d0bf; font-size: .9rem; }

.included-list { display: grid; gap: 12px; padding: 22px 0; margin: 24px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.included-item { display: flex; align-items: center; gap: 10px; color: #f8f3e7; font-size: .88rem; }
.check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: .72rem; font-weight: 900; }
.estimate-card .btn { width: 100%; background: var(--orange); color: var(--ink); box-shadow: none; }
.estimate-card .btn:hover { background: #ffd85d; }
.estimate-fineprint { margin: 14px 0 0; color: #c2b9a7; font-size: .74rem; text-align: center; }

.policy-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 20px; }
.text-link { padding: 0; border: 0; background: transparent; color: #8a6500; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.legal-check { align-items: flex-start; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fffcf6; line-height: 1.45; }
.legal-check input { flex: 0 0 auto; margin-top: 2px; }

footer { padding: 28px 0 40px; color: var(--muted); font-size: .8rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
.footer-group { display: grid; gap: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: flex-end; }
.footer-links .text-link { font-size: .8rem; }

dialog {
  width: min(620px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(18, 16, 12, .38);
}

dialog::backdrop { background: rgba(17, 16, 13, .68); backdrop-filter: blur(3px); }
.dialog-content { padding: 30px; }
.dialog-top { display: flex; justify-content: space-between; gap: 16px; }
.dialog-top h2 { margin-bottom: 4px; font-size: 1.7rem; letter-spacing: -.04em; }
.dialog-top p { color: var(--muted); font-size: .9rem; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 1.2rem; }
.request-summary { overflow: auto; max-height: 390px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fffcf6; color: var(--ink); font: 500 .84rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.dialog-actions { display: flex; gap: 10px; margin-top: 18px; }
.dialog-actions .btn { flex: 1; box-shadow: none; }
.copy-status { min-height: 20px; margin: 12px 0 0; color: var(--green); font-size: .8rem; font-weight: 750; }
.spam-trap { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn:disabled { cursor: wait; opacity: .68; transform: none; }
.btn[hidden] { display: none; }

.policy-dialog { width: min(720px, calc(100% - 32px)); }
.policy-copy { overflow: auto; max-height: min(62vh, 620px); padding-right: 8px; }
.policy-copy section { padding: 18px 0; border-top: 1px solid var(--line); }
.policy-copy section:first-child { border-top: 0; padding-top: 4px; }
.policy-copy h3 { margin: 0 0 6px; font-size: 1rem; }
.policy-copy p, .policy-copy li { color: var(--muted); font-size: .88rem; }
.policy-copy p { margin-bottom: 0; }
.policy-copy ul { margin: 8px 0 0; padding-left: 20px; }
.policy-meta { margin-bottom: 18px; color: var(--muted); font-size: .76rem; }

@media (max-width: 850px) {
  .booking-shell { grid-template-columns: 1fr; }
  .hero-grid { padding: 76px 0 92px; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-image-wrap { max-height: 420px; }
  .product-copy { padding: 0 6px 8px; }
  .section-heading { display: grid; gap: 16px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .step-number { grid-row: 1 / 3; margin: 0; }
  .estimate-card { position: static; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .nav-note { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding: 48px 0 76px; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .promise-items { display: grid; gap: 7px; }
  .product-section { padding-top: 56px; }
  .product-showcase { padding: 16px; gap: 28px; }
  .value-section, .booking-section { padding: 68px 0; }
  .form-card { padding: 22px 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .wide { grid-column: auto; }
  .period-options { grid-template-columns: 1fr 1fr; }
  .dialog-actions, .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
