:root {
  --bg: #f3f0e8;
  --bg-deep: #e7efe9;
  --paper: #fffcf8;
  --ink: #14211c;
  --muted: #5d6b65;
  --forest: #0d4f3c;
  --forest-deep: #083528;
  --pine: #146b52;
  --gold: #b8956a;
  --gold-soft: #e7d7be;
  --line: rgba(20, 33, 28, 0.12);
  --danger: #8a2433;
  --danger-bg: #fde8eb;
  --ok: #0d4f3c;
  --ok-bg: #e5f4ee;
  --shadow: 0 18px 50px rgba(20, 33, 28, 0.08);
  --max: 1160px;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(20, 107, 82, 0.08), transparent 60%),
    linear-gradient(180deg, #f7f4ee 0%, var(--bg) 280px);
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, .brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  width: 100%;
  background: rgba(243, 240, 232, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 252, 248, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 33, 28, 0.05);
}
.header-inner {
  width: min(var(--max), 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest-deep);
  min-width: max-content;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--forest);
}
.brand-mark svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.35rem; font-style: italic; }
.brand-sub {
  margin-top: 2px;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover { background: rgba(13, 79, 60, 0.06); }
.site-nav a.active { color: var(--forest); }
.nav-cta, .btn, .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta, .site-nav a.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 10px 16px;
  margin-left: 6px;
}
.nav-cta:hover, .site-nav a.nav-cta:hover { background: var(--forest-deep); }
.menu-toggle {
  display: none;
  position: relative;
  margin-left: auto;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(20, 33, 28, 0.18);
  background: var(--paper);
  cursor: pointer;
  z-index: 2;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 13px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

main {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 28px 20px 88px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0 18px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1, .page-hero h1, .auth-aside h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.98;
  color: var(--forest-deep);
  text-wrap: balance;
}
.lede, .page-hero p, .auth-aside p { color: var(--muted); font-size: 1.05rem; max-width: 38rem; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn, .pill {
  background: var(--forest);
  color: #fff;
  padding: 13px 20px;
  box-shadow: 0 8px 20px rgba(13, 79, 60, 0.16);
}
.btn:hover, .pill:hover { background: var(--forest-deep); }
.btn.ghost, a.btn.ghost {
  background: transparent;
  color: var(--forest-deep);
  border: 1px solid rgba(13, 79, 60, 0.28);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(13, 79, 60, 0.06); }
.btn.light { background: var(--forest); color: #fff; }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.hero-card {
  background: var(--forest-deep);
  color: #f6f3ec;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 70px rgba(8, 53, 40, 0.22);
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  top: -60px;
  border-radius: 50%;
  background: rgba(232, 211, 176, 0.12);
}
.hero-card h2 { margin: 0 0 8px; font-size: 2rem; color: #fff; }
.hero-card p { margin: 0; color: rgba(246, 243, 236, 0.78); }
.hero-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.hero-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
}
.hero-list span { color: var(--gold-soft); font-weight: 500; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 10px;
}
.trust article {
  background: rgba(255, 252, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.trust strong { display: block; font-size: 1.05rem; }
.trust span { color: var(--muted); font-size: 0.88rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 72px 0 22px; }
.section-head h2, .section-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--forest-deep);
}
.section-title { text-align: left; margin: 72px 0 22px; letter-spacing: -0.03em; font-weight: 560; }
.section-head p { margin: 0; max-width: 320px; color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(20, 33, 28, 0.12); }
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-deep);
  color: var(--forest);
  margin-bottom: 18px;
}
.service-card h2, .service-card h3 { margin: 0 0 8px; font-size: 1.7rem; }
.rule { display: none; }
.price-label { margin: 0; color: var(--muted); }
.price { margin: 6px 0 18px; font-size: 1.8rem; font-family: "Fraunces", Georgia, serif; }
.service-card .btn { margin-top: auto; align-self: flex-start; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  padding: 8px 8px 8px 0;
}
.step b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 560;
}
.step h3 { margin: 6px 0; font-size: 1.35rem; }
.step p { margin: 0; color: var(--muted); }

.quotes, .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote, .review-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.quote p, .review-card p { margin: 0 0 16px; }
.quote footer, .review-card .who { font-weight: 700; color: var(--forest-deep); }
.stars { color: #c5923e; letter-spacing: 2px; margin-bottom: 8px; }

.contact-band {
  margin-top: 72px;
  background: var(--forest-deep);
  color: #f6f3ec;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}
.contact-band h2 { margin: 0 0 8px; font-size: 2.4rem; color: #fff; }
.contact-band p { margin: 0; color: rgba(246, 243, 236, 0.75); }
.contact-band a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-card {
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 18px;
}
.contact-card span { display: block; color: var(--gold-soft); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }

.site-footer {
  background: #10241d;
  color: rgba(246, 243, 236, 0.82);
  margin-top: 20px;
  padding: 48px 0 28px;
}
.site-footer .footer-grid,
.site-footer .fine,
.site-footer > nav {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer a { color: #fff; text-decoration: none; display: block; margin: 6px 0; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand-mark { color: #e7d7be; }
.footer-label { margin: 0 0 8px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; color: var(--gold-soft); }
.fine { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(246,243,236,0.6); font-size: 0.9rem; }
.muted { color: var(--muted); }

.page-hero { padding: 18px 0 8px; max-width: 740px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.legal, .panel, .auth-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.legal { padding: 36px; }
.legal h1, .panel h1, .auth-card h1 { margin-top: 0; color: var(--forest-deep); }
.legal h2 { margin-top: 1.6em; font-size: 1.35rem; }
.legal p, .legal li { line-height: 1.7; }
.panel { padding: 26px; margin-bottom: 18px; }
.auth-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  width: min(var(--max), 100%);
  padding-left: 20px;
  padding-right: 20px;
}
.auth-aside {
  background:
    radial-gradient(400px 220px at 20% 0%, rgba(232, 211, 176, 0.25), transparent 60%),
    var(--forest-deep);
  color: #f6f3ec;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
}
.auth-aside h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.3rem); }
.auth-aside .eyebrow { color: var(--gold-soft); }
.auth-aside p, .auth-aside li { color: rgba(246, 243, 236, 0.8); }
.auth-aside ul { padding-left: 1.1rem; }
.auth-card { width: 100%; margin: 0; padding: 32px; }
label { display: block; font-weight: 700; margin: 14px 0 6px; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  color-scheme: light;
  border-radius: 12px;
  padding: 13px 14px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
.help { color: var(--muted); font-size: 0.92rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-weight: 500; }
.check input { width: auto; margin-top: 4px; }
fieldset { border: 0; margin: 0 0 8px; padding: 0; }
legend { font-weight: 700; margin-bottom: 10px; }
.service-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-choice label {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
}
.service-choice label:has(input:checked) {
  border-color: var(--forest);
  background: #eef6f2;
  box-shadow: inset 0 0 0 1px var(--forest);
}
.service-choice input { width: auto; margin-right: 8px; }
.times { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.time-btn {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 650;
}
.time-btn[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.time-btn:disabled { opacity: 0.38; cursor: not-allowed; text-decoration: line-through; }
.banner { border-radius: 14px; padding: 12px 14px; margin: 12px 0; }
.banner.error { background: var(--danger-bg); color: var(--danger); }
.banner.ok { background: var(--ok-bg); color: var(--ok); }
.banner.info { background: #f3efe6; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.filters button[aria-pressed="true"] { background: var(--forest-deep); }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tag { display: inline-block; border-radius: 999px; padding: 3px 9px; background: var(--bg-deep); color: var(--forest-deep); font-size: 0.8rem; font-weight: 700; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.row-actions button, .linkish {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(13, 79, 60, 0.25);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 700;
}
.hidden { display: none !important; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ref { font-family: ui-monospace, Consolas, monospace; font-weight: 700; }
.page-intro { max-width: 760px; }

.wa-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1fa855;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px 12px 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(18, 120, 60, 0.28);
}
.wa-launcher:hover { background: #178a46; }

.reveal { animation: rise 0.7s ease both; }
.reveal.d2 { animation-delay: 0.1s; }
.reveal.d3 { animation-delay: 0.18s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.chat-form { display: flex; gap: 8px; }
.chat-form input { color: var(--ink); }
.chat-form button { background: var(--forest); color: #fff; border: 0; border-radius: 10px; padding: 0 14px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .service-card { animation: none; opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
  .hero, .trust, .services, .steps, .quotes, .review-grid, .contact-band, .auth-layout, .footer-grid, .service-choice, .two {
    grid-template-columns: 1fr;
  }
  .hero > *, .services > *, .trust > *, .quotes > *, .steps > * { min-width: 0; }
  .times { grid-template-columns: repeat(3, 1fr); }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header) + 8px);
    left: 16px;
    right: 16px;
    margin-left: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .nav-cta, .site-nav a.nav-cta { margin: 6px 0 0; justify-content: center; }
  .hero { padding-top: 8px; }
  .hero h1, .page-hero h1, .auth-aside h1 { font-size: 2.35rem; max-width: 11ch; }
  .contact-band, .legal, .auth-card, .auth-aside { padding: 22px; }
  .auth-aside { min-height: 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-top: 48px; }
  .wa-launcher span { display: none; }
  .wa-launcher { padding: 14px; border-radius: 50%; }
}
