:root {
  color-scheme: light;
  --ink: #1d1913;
  --muted: #6f675b;
  --paper: #f7f2ea;
  --paper-deep: #eee4d5;
  --green: #223c32;
  --green-soft: #dce5dd;
  --brass: #b98b48;
  --clay: #9f6f58;
  --line: rgba(29, 25, 19, 0.16);
  --white: #fffaf2;
  --shadow: 0 24px 80px rgba(42, 32, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(34, 60, 50, 0.06) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(0deg, rgba(34, 60, 50, 0.05) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 242, 0.76);
  background: rgba(247, 242, 234, 0.84);
  box-shadow: 0 12px 40px rgba(42, 32, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--green);
  color: var(--white);
  font-family: Georgia, serif;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.93rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

nav a,
.nav-cta,
.button,
form button {
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta,
.button,
form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.nav-cta:hover,
.button.secondary:hover {
  border-color: rgba(34, 60, 50, 0.36);
  box-shadow: 0 10px 26px rgba(42, 32, 20, 0.08);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100svh - 78px);
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(4.1rem, 9vw, 8.5rem);
}

h2 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.lead,
.section-intro p,
.inquiry-card p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.primary,
form button {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.button.primary:hover,
form button:hover {
  background: #182d25;
}

.button.secondary {
  background: rgba(255, 250, 242, 0.82);
}

.hero-board {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 242, 0.86);
  background: rgba(255, 250, 242, 0.5);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.material-card {
  min-height: 176px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 242, 0.35);
  color: var(--white);
}

.material-card span {
  display: block;
  margin-bottom: 56px;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
}

.material-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.material-card p {
  margin: 0;
  color: rgba(255, 250, 242, 0.78);
  line-height: 1.5;
}

.walnut {
  background: linear-gradient(135deg, #32251c, #72533c);
}

.linen {
  background: linear-gradient(135deg, #7c715f, #d5c7b1);
  color: #201810;
}

.linen p,
.linen span {
  color: rgba(32, 24, 16, 0.72);
}

.stone {
  background: linear-gradient(135deg, var(--green), #607f70);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 32px));
  margin: -30px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 72px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip span:last-child {
  border-right: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 56px;
  align-items: start;
}

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

.service-grid article {
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.58);
}

.service-grid span {
  color: var(--brass);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-grid p,
.phone-card p,
.lead-list small,
.faq-stack p,
footer {
  color: var(--muted);
  line-height: 1.55;
}

.center {
  margin: 0 auto 34px;
  text-align: center;
}

.center h2,
.center p {
  margin-right: auto;
  margin-left: auto;
}

.flow-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: var(--green);
  color: var(--white);
}

.flow-section .eyebrow {
  color: #d2ae76;
}

.flow-section .section-intro p {
  color: rgba(255, 250, 242, 0.72);
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 18px;
  align-items: stretch;
}

.phone-shell,
.crm-panel {
  border: 1px solid rgba(255, 250, 242, 0.16);
  background: rgba(255, 250, 242, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.phone-shell {
  padding: 16px;
}

.phone-top {
  width: 68px;
  height: 5px;
  margin: 0 auto 18px;
  background: rgba(255, 250, 242, 0.32);
}

.phone-card {
  padding: 18px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 250, 242, 0.14);
  background: rgba(255, 250, 242, 0.08);
}

.phone-card.active {
  background: var(--paper);
  color: var(--ink);
}

.phone-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--brass);
  font-weight: 800;
  text-transform: uppercase;
}

.phone-card strong {
  display: block;
  margin-bottom: 14px;
}

.phone-card button {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.76);
  color: var(--ink);
  cursor: pointer;
}

.crm-panel {
  padding: 26px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.14);
}

.panel-header span {
  color: rgba(255, 250, 242, 0.62);
}

.lead-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lead-list li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 250, 242, 0.14);
  background: rgba(255, 250, 242, 0.07);
}

.lead-list strong,
.lead-list small {
  display: block;
}

.status {
  display: inline-flex;
  justify-content: center;
  min-height: 32px;
  padding: 8px 10px;
  color: #201810;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status.new {
  background: #e4d2a9;
}

.status.warm {
  background: #c8d7c8;
}

.status.call {
  background: #dfbda7;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
}

.faq-stack {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.58);
}

summary {
  min-height: 58px;
  padding: 20px;
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.inquiry-card {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

select,
input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

form button {
  width: 100%;
  margin-top: 4px;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero,
  .split,
  .flow-grid,
  .faq-layout,
  .inquiry-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3.4rem, 14vw, 5.2rem);
  }

  .service-grid,
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .section {
    width: calc(100% - 24px);
    padding: 64px 0;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.42rem;
  }

  .hero-actions,
  footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .material-card {
    min-height: 156px;
  }

  .lead-list li {
    grid-template-columns: 1fr;
  }

  .inquiry-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
