@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/PublicSans-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #16233b;
  --ink-soft: #3d4c66;
  --bg: #faf6f0;
  --card: #ffffff;
  --line: #e7ddcb;
  --amber: #e8930c;
  --amber-deep: #a86500;
  --amber-soft: #fdf1dc;
  --radius: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
a { color: var(--amber-deep); }
img { max-width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  min-height: 48px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22, 35, 59, 0.18); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn-amber { background: var(--amber); color: #211300; }
.btn-amber:hover { background: #f2a022; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: #fff; }
.btn-big { font-size: 1.05rem; padding: 14px 30px; min-height: 56px; }
.btn-card {
  background: var(--ink);
  color: #fff;
  padding: 10px 20px;
  min-height: 46px;
  font-size: 0.95rem;
  margin-top: auto;
}
.btn-card:hover { background: #22355a; }
.btn[disabled] { opacity: 0.55; cursor: wait; transform: none; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:active { transform: none; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(250, 246, 240, 0.96);
  border-bottom: 1px solid var(--line);
}
.wordmark { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; }
.wordmark-name { font-weight: 800; font-size: 1.25rem; }
.wordmark-sub { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.header-cta { padding: 10px 20px; min-height: 46px; font-size: 0.95rem; }

/* Hero */
.hero { padding: 64px 20px 56px; }
.hero-inner { max-width: 1020px; margin: 0 auto; text-align: left; }
.hero-photo { margin: 34px 0 0; max-width: 420px; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(22, 35, 59, 0.14);
}
.hero-photo figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 10px; font-weight: 600; }
@media (min-width: 880px) {
  .hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center; }
  .hero-photo { margin: 0; max-width: none; }
}
.hero-kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--amber-deep);
  background: var(--amber-soft);
  border-radius: 999px;
  padding: 5px 14px;
  margin: 0 0 18px;
  white-space: nowrap;
}
.hero h1 { font-size: 2.6rem; font-weight: 800; margin: 0 0 18px; }
.hero-sub { font-size: 1.13rem; color: var(--ink-soft); margin: 0 0 28px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-row::-webkit-scrollbar { display: none; }
.trust-row li {
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  background: #fff;
}

/* Guarantee strip */
.guarantee { background: var(--ink); color: #fff; padding: 36px 20px; }
.guarantee-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.guarantee-item h2 { font-size: 1.15rem; margin: 0 0 8px; color: var(--amber); }
.guarantee-item p { margin: 0; font-size: 0.98rem; color: #e8ecf3; }

/* Sections */
.section { padding: 64px 20px; }
.section-alt { background: #f3ecdd; }
.section-inner { max-width: 1020px; margin: 0 auto; }
.section-title { font-size: 2rem; font-weight: 800; margin: 0 0 12px; }
.section-lede { color: var(--ink-soft); max-width: 680px; margin: 0 0 34px; }

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(22, 35, 59, 0.05);
}
.card h3 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }
.card .price {
  color: var(--amber-deep);
  font-weight: 800;
  font-size: 1.45rem;
  margin-top: 6px;
}
.card .price span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.menu-note { margin-top: 28px; color: var(--ink-soft); max-width: 680px; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: #211300;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.steps h3 { margin: 0 0 8px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }

/* About */
.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 8px rgba(22, 35, 59, 0.05);
}
.about-card p { max-width: 680px; }
.about-flex { display: flex; gap: 28px; align-items: flex-start; }
.about-photo {
  width: 210px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(22, 35, 59, 0.10);
}
@media (max-width: 640px) {
  .about-flex { flex-direction: column; }
  .about-photo { width: 170px; }
}
.signoff { font-weight: 700; color: var(--ink); }

/* FAQ */
.faq-list { max-width: 760px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq-list summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.faq-list details p { color: var(--ink-soft); margin: 10px 0 4px; }

/* Form */
#request-form {
  max-width: 620px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(22, 35, 59, 0.05);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.98rem; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #c9bda3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--amber-soft);
  border-color: var(--amber-deep);
}
.submit-btn { width: 100%; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); margin: 14px 0 0; }
.form-status { font-weight: 700; margin: 12px 0 0; min-height: 1.4em; }
.form-status.error { color: #a31616; }
.form-success {
  max-width: 620px;
  background: var(--amber-soft);
  border: 1.5px solid var(--amber);
  border-radius: var(--radius);
  padding: 28px;
}
.form-success h3 { margin: 0 0 8px; font-size: 1.4rem; }
.form-success p { margin: 0; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e8ecf3;
  text-align: center;
  padding: 40px 20px 48px;
}
.site-footer p { margin: 4px 0; font-size: 0.98rem; }
.site-footer a { color: var(--amber); }
.footer-name { font-weight: 800; font-size: 1.1rem; color: #fff; }

/* Sticky mobile bar */
.sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 240, 0.97);
  border-top: 1px solid var(--line);
}
.sticky-btn { width: 100%; min-height: 52px; font-size: 1rem; }
.sticky-bar.hidden { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: 84px; font-size: 17px; }
  .sticky-bar { display: block; }
  .hero { padding: 44px 18px 40px; }
  .hero h1 { font-size: 2.05rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .guarantee-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 48px 18px; }
  .section-title { font-size: 1.65rem; }
  .about-card { padding: 26px 22px; }
  #request-form { padding: 22px; }
  .header-cta { font-size: 0.88rem; padding: 9px 16px; }
  .wordmark-name { font-size: 1.1rem; }
  html { scroll-padding-top: 84px; }
}
