*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #122018;
  background: #F3F6F3;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
img, svg { max-width: 100%; display: block; }
a { color: #0E8A3A; }
h1, h2, h3 { line-height: 1.2; color: #07140C; margin: 0 0 0.6em; }
h1 { font-size: 2rem; letter-spacing: -0.03em; }
h2 { font-size: 1.55rem; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.skip {
  position: absolute; left: 8px; top: -100px;
  background: #07140C; color: #fff; padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 8px; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.top {
  background: #fff;
  color: #122018;
  position: sticky;
  top: 0;
  z-index: 8;
  border-bottom: 1px solid #D5E3D8;
}
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; padding: 8px 0; }
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; text-decoration: none; }
.brand-logo { height: 52px; width: auto; display: block; }
.desk-nav { display: none; }
.hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(29,185,84,0.28), transparent 40%),
    linear-gradient(180deg, #07140C 0%, #0D2A18 70%, #12321C 100%);
  color: #F4F7F3;
  padding: 2.2rem 0 2.8rem;
}
.hero h1 { color: #fff; max-width: 16ch; }
.eyebrow {
  display: inline-block;
  color: #1DB954;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.7rem;
}
.lead { font-size: 1.05rem; color: #D7E8DB; max-width: 38rem; }
.hero-actions, .quote-actions { display: flex; flex-direction: column; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 16px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer;
  width: 100%;
}
.btn-lg { min-height: 52px; }
.btn-call { background: #1DB954; color: #07140C; }
.btn-call:hover, .btn-go:hover { background: #2EE56A; }
.btn-text { background: #163522; color: #E8F8ED; border: 1px solid #2A5A38; }
.btn-text:hover { background: #1C4330; }
.btn-go { background: #1DB954; color: #07140C; }
.btn-secondary { background: #E8F8ED; color: #0E8A3A; border: 1px solid #B7E3C5; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid #1DB954; outline-offset: 2px;
}
.section { padding: 2rem 0; }
.section.alt { background: #EAF3EC; }
.intro { max-width: 40rem; }
.card {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(7,20,12,0.08);
}
.field { margin-bottom: 1rem; }
.field label, legend { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.req, .opt { font-weight: 500; font-size: 0.82rem; margin-left: 0.3rem; }
.req { color: #0E8A3A; }
.opt { color: #4D6156; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid #C9D9CE; border-radius: 12px;
  background: #fff; font: inherit; color: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.hint { color: #4D6156; font-size: 0.95rem; margin: 0.4rem 0 0; }
.suggest {
  list-style: none; margin: 6px 0 0; padding: 0;
  border: 1.5px solid #C9D9CE; border-radius: 12px; background: #fff;
  max-height: 240px; overflow: auto;
}
.suggest li, .suggest button {
  width: 100%; text-align: left; background: none; border: 0;
  min-height: 48px; padding: 10px 12px; font: inherit; cursor: pointer;
}
.suggest button:hover, .suggest button:focus { background: #E8F8ED; }
.size-set { border: 0; margin: 0 0 1rem; padding: 0; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toggle-opt {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border: 1.5px solid #C9D9CE; border-radius: 12px;
  background: #fff; font-weight: 700; cursor: pointer; padding: 8px;
}
.toggle-opt:has(input:checked) { background: #E8F8ED; border-color: #1DB954; }
.toggle-opt input { width: 18px; height: 18px; accent-color: #0E8A3A; }
.estimate-result { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid #D5E3D8; }
.estimate-result p { margin: 0 0 0.5rem; }
.estimate-result .price { font-size: 2rem; font-weight: 800; color: #0E8A3A; letter-spacing: -0.03em; margin: 0.1rem 0 0.4rem; }
.estimate-result ul { margin: 0 0 0.6rem; padding-left: 1.15rem; }
.out-of-area { background: #FFF6E8; border-radius: 12px; padding: 1rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills li { background: #fff; border: 1px solid #C9D9CE; border-radius: 999px; padding: 10px 14px; font-weight: 600; }
.size-grid { display: grid; gap: 12px; }
.price-table { margin-top: 0.8rem; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(7,20,12,0.08); }
.price-head, .price-row {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  padding: 12px 16px; align-items: center;
}
.price-head { background: #07140C; color: #fff; font-weight: 700; }
.price-row { border-top: 1px solid #E3EEE6; }
.price-row:nth-child(even) { background: #F7FBF8; }
.price-row .amt { font-weight: 800; color: #0E8A3A; white-space: nowrap; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li {
  background: #fff; border-radius: 16px; padding: 1rem 1rem 1rem 4.2rem;
  position: relative; box-shadow: 0 8px 24px rgba(7,20,12,0.06);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 14px; top: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #1DB954; color: #07140C; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 0 0 1rem; font-weight: 600;
}
.check input { width: 22px; height: 22px; min-width: 22px; margin-top: 2px; accent-color: #0E8A3A; }
.error { color: #8A1F1F; background: #FDECEC; border-radius: 10px; padding: 10px 12px; }
.success { background: #E8F8ED; border-radius: 12px; padding: 1rem; }
.success p { margin: 0; font-weight: 600; }
.footer { background: #07140C; color: #D7E8DB; padding: 2rem 0 1.5rem; }
.footer a { color: #2EE56A; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; }
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 12;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #07140C; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.sticky-bar a {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 0.9rem;
  min-height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.sticky-bar a:nth-child(3), .sticky-bar a:nth-child(4) { color: #1DB954; }

@media (min-width: 800px) {
  body { font-size: 18px; padding-bottom: 0; }
  h1 { font-size: 3.1rem; }
  .desk-nav { display: flex; align-items: center; gap: 12px; }
  .desk-nav a { color: #122018; text-decoration: none; font-weight: 600; }
  .desk-nav a:hover { color: #0E8A3A; }
  .desk-nav .btn { width: auto; min-width: 88px; padding: 8px 12px; }
  .desk-nav .btn-call { color: #07140C; }
  .desk-nav .btn-call:hover { color: #07140C; }
  .desk-nav .btn-text { color: #E8F8ED; }
  .desk-nav .btn-text:hover { color: #E8F8ED; }
  .brand-logo { height: 52px; }
  .hero { padding: 4.2rem 0 5rem; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn, .quote-actions .btn, .btn { width: auto; }
  .size-grid { grid-template-columns: 1fr 1fr; }
  .sticky-bar { display: none; }
  .estimate-card, #book-card { max-width: 640px; }
}
@media (min-width: 1020px) {
  .brand-logo { height: 62px; }
  .desk-nav { gap: 18px; }
  .desk-nav .btn { min-width: 96px; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* Placement photo */
.photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.photo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0.6rem 0 0; }
.photo-btn { width: 100%; gap: 0.5rem; padding: 10px 8px; font-size: 0.98rem; }
.photo-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.photo-list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.photo-list:empty { display: none; }
.photo-item { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; border: 1px solid #B7E3C5; background: #E8F8ED; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-remove { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(7, 20, 12, 0.78); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.photo-remove:focus-visible { outline: 3px solid #1DB954; outline-offset: 2px; }
.photo-msg { color: #4D6156; }
.photo-msg.is-error { color: #B3261E; }
@media (min-width: 640px) { .photo-actions { max-width: 420px; } .photo-list { max-width: 420px; } }

/* Prohibited items */
.section.prohibited { background: #FFF4F1; border-top: 1px solid #F3CFC7; border-bottom: 1px solid #F3CFC7; }
.no-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.no-list li { position: relative; background: #fff; border: 1px solid #F0D2CB; border-radius: 10px; padding: 9px 8px 9px 34px; line-height: 1.3; font-weight: 600; font-size: 0.9rem; overflow-wrap: break-word; display: flex; align-items: center; }
.no-list li::before { content: "\00d7"; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: #B3261E; color: #fff; font-weight: 700; font-size: 0.95rem; line-height: 20px; text-align: center; }
.notice { background: #FFF4F1; border: 1px solid #F0D2CB; border-radius: 10px; padding: 10px 12px; margin: 0 0 1rem; font-weight: 600; }
.notice a { color: #B3261E; }
@media (max-width: 340px) { .no-list { grid-template-columns: 1fr; } }
@media (min-width: 640px) { .no-list li { font-size: 0.98rem; padding-left: 40px; } .no-list li::before { left: 10px; } }
@media (min-width: 900px) { .no-list { grid-template-columns: repeat(3, 1fr); } }