:root {
  --bg: #f5f1ea;
  --bg-alt: #ede7dd;
  --bg-card: #ffffff;
  --text: #3d342b;
  --text-muted: #6b5f52;
  --accent: #8a9a7b;
  --accent-dark: #6f8065;
  --border: #d9d0c1;
  --radius: 999px;
  --radius-sm: 8px;
  --max-w: 1100px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.2px;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); text-align: center; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  display: block;
  width: 32px;
  height: 32px;
}

.footer-mark {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.4rem;
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-dark);
  letter-spacing: 0.5px;
  font-size: 1rem;
  margin: 0 0 0.75em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  height: clamp(300px, 50vh, 500px);
  background:
    linear-gradient(135deg, rgba(138,154,123,0.15), rgba(237,231,221,0.5)),
    radial-gradient(circle at 30% 40%, #e8ddd0, #d9d0c1);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text);
  background: linear-gradient(to top, var(--bg) 20%, transparent);
  width: 100%;
}

.hero-inner h1 { margin-bottom: 0.3em; }
.hero-inner p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* Sections */
section {
  padding: 4rem 0;
}

section.alt { background: var(--bg-alt); }

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -0.5em;
  margin-bottom: 3rem;
}

.section-divider {
  width: 80px;
  height: 1px;
  background: var(--border);
  margin: 0.5rem auto 2.5rem;
}

/* Feature row (three icons) */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.feature-row .icon { margin-bottom: 1rem; }
.feature-row h3 { margin-bottom: 0.4em; }
.feature-row p { font-size: 0.93rem; }

/* Two-column (standard section) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

.two-col h2 { text-align: left; }
.two-col .eyebrow {
  color: var(--accent-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.3rem 0;
  color: var(--text);
  font-size: 0.98rem;
}

.check-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.35em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9a7b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.step .icon { margin-bottom: 0.8rem; }
.step h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.step p { font-size: 0.88rem; }

/* Included grid */
.included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.included .card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.included .icon { margin-bottom: 0.8rem; }
.included h3 { margin-bottom: 0.8em; }

.included .check-list li {
  font-size: 0.9rem;
  justify-content: flex-start;
  text-align: left;
}

/* CTA band */
.cta-band {
  background: var(--bg-alt);
  text-align: center;
  padding: 2.5rem 1rem;
}

.closing {
  text-align: center;
  padding: 4rem 1rem;
}

.closing h2 { margin-bottom: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
  color: #fff;
}

/* Icons */
.icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  color: var(--accent-dark);
}

.icon svg { width: 100%; height: 100%; }

/* Contact form */
.form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.field label {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.field textarea { resize: vertical; min-height: 120px; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.form-status.ok { color: var(--accent-dark); }
.form-status.err { color: #a85c48; }

/* Footer */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer .brand { display: block; margin-bottom: 0.25rem; font-size: 1.1rem; color: var(--text); }
footer .tagline { text-align: center; margin-bottom: 0.75rem; }
footer nav { margin: 0.5rem 0; }
footer nav a { margin: 0 0.75rem; color: var(--text-muted); }
