@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

:root {
  --green: #2B5C4B;
  --green-dark: #1E4438;
  --brown: #6B4A2B;
  --cream: #F7F5F0;
  --ink: #1A1A18;
  --ink-soft: #5C5A54;
  --line: #E0DCD3;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.header-call {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  border: 2px solid var(--green);
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.header-call:hover { background: var(--green); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 24px 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.1;
  color: var(--ink);
}

.hero h1 .accent { color: var(--green); }

.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 18px auto 0;
  line-height: 1.6;
}

.hero .phone-line {
  margin-top: 28px;
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
  font-family: 'Fraunces', serif;
}

.hero .phone-line a {
  text-decoration: none;
  color: var(--green-dark);
}

.hero .phone-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--green); }

.btn-block { width: 100%; }

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------- Sections ---------- */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 24px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
  display: block;
  text-align: center;
}

.section h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 20px;
  text-align: center;
}

.about-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.feature-card h3 {
  font-size: 17px;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Contact / CTA band ---------- */
.contact-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 24px 60px;
  text-align: center;
}

.contact-section h2 { margin-bottom: 12px; }

.contact-section p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 24px;
}

.site-footer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 24px 50px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Flow pages (quote / booking) ---------- */
.flow-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.flow-header .logo-img { height: 60px; }

.progress-track {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  margin: 0 24px;
  max-width: 320px;
}

.progress-dot {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

.progress-dot.active { background: var(--green); }

.flow-body {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 10px 24px 60px;
}

.flow-content {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.flow-content.with-sidebar {
  grid-template-columns: 1.4fr 1fr;
}

.flow-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

.flow-card h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.flow-card .subtitle {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* form elements */
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

input[type="email"],
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  margin-bottom: 20px;
}

input:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

input[readonly] {
  background: #F2F0EA;
  color: var(--ink-soft);
}

.field-group { margin-bottom: 24px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* radio / chip selectors */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.choice-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card .choice-title { font-weight: 600; font-size: 15px; }
.choice-card .choice-sub { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

.choice-card.selected {
  border-color: var(--green);
  background: #EEF5F1;
}

.choice-card.selected .choice-title { color: var(--green-dark); }

/* number stepper */
.stepper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stepper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 20px;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-btn:hover { border-color: var(--green); }

.stepper-value {
  font-size: 22px;
  font-weight: 600;
  min-width: 32px;
  text-align: center;
  font-family: 'Fraunces', serif;
}

/* area cards */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.area-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.area-card.included {
  background: #EEF5F1;
  border-color: var(--green);
}

.area-card.selected {
  background: #FBF1E8;
  border-color: var(--brown);
}

.area-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  margin: 0;
}

.area-title { font-weight: 600; font-size: 15px; }
.area-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* sidebar */
.summary-card {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky;
  top: 24px;
  height: fit-content;
}

.summary-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 4px;
}

.summary-card .summary-freq {
  color: #C9DED5;
  font-size: 14px;
  margin-bottom: 24px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #DCEBE3;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.summary-line.total {
  border-bottom: none;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  font-family: 'Fraunces', serif;
  padding-top: 16px;
}

.summary-billing {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 4px;
}

.summary-note {
  font-size: 12px;
  color: #B7D2C6;
  margin-top: 20px;
  line-height: 1.6;
}

.summary-card .btn-primary {
  background: var(--white);
  color: var(--green-dark);
  margin-top: 20px;
}
.summary-card .btn-primary:hover { background: #EEF5F1; }
.summary-card .btn-primary:disabled { opacity: 0.5; }

/* responsive */
@media (max-width: 860px) {
  .hero { padding-top: 10px; }
  .features { grid-template-columns: 1fr; }
  .flow-content.with-sidebar { grid-template-columns: 1fr; }
  .summary-card { position: static; order: -1; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .choice-card { padding: 10px 6px; }
  .choice-card .choice-title { font-size: 13px; }
  .choice-card .choice-sub { font-size: 11px; }
  .area-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .flow-card { padding: 24px; }
}

@media (max-width: 480px) {
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
}
