:root {
  color-scheme: light dark;
  --bg: #f4f6ee;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --text: #20261c;
  --muted: #58624e;
  --accent: #3f6212;
  --accent-soft: #eff5e5;
  --border: rgba(63, 98, 18, 0.22);
  --shadow: 0 18px 50px rgba(32, 38, 28, 0.14);
  --max: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080a09;
    --panel: rgba(8, 10, 12, 0.76);
    --panel-strong: rgba(8, 10, 12, 0.92);
    --text: #f1f4ed;
    --muted: #c1cab9;
    --accent: #b7d885;
    --accent-soft: rgba(183, 216, 133, 0.12);
    --border: rgba(183, 216, 133, 0.25);
    --shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
  }
}

* { box-sizing: border-box; }

html {
  min-width: 18rem;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("images/marble-light.jpg") 50% 50% / cover no-repeat;
  opacity: 0.85;
}

@media (prefers-color-scheme: dark) {
  body::before { background-image: url("images/marble-dark.jpg"); opacity: 1; }
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }

header, footer {
  background: color-mix(in srgb, var(--panel-strong) 90%, transparent);
  border-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

header { border-bottom: 1px solid var(--border); }
footer { border-top: 1px solid var(--border); }

.header-inner, .footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-name {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.site-name span { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.82rem; font-weight: 600; }

nav ul { display: flex; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
nav a { display: block; padding: 0.42rem 0.72rem; color: var(--text); border-radius: 999px; font-weight: 700; text-decoration: none; }
nav a:hover { background: var(--accent-soft); }
nav a[aria-current="page"] { color: #fff; background: #3f6212; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; width: 2.7rem; height: 2.7rem; padding: 0.62rem; border: 1px solid var(--border); border-radius: 0.65rem; cursor: pointer; }
.nav-toggle-label span { display: block; height: 2px; margin: 0.25rem 0; border-radius: 2px; background: var(--text); }

main {
  width: min(var(--max), calc(100% - 2rem));
  margin: 2rem auto;
  padding: clamp(1.2rem, 3vw, 2.6rem);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

h1, h2 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
h1 { max-width: 14ch; font-size: clamp(2.25rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); }
p { margin: 0 0 1.05rem; }
.lead { color: var(--text); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; }
.eyebrow { margin-bottom: 0.65rem; color: var(--accent); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.hero, .feature {
  display: flow-root;
}

.hero { padding: 1rem 0 3rem; }
.hero-copy > * + h1 { margin-top: 0; }
.hero h1 { margin-bottom: 1.4rem; }

.feature {
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--border);
}

.feature-copy h2 { margin-bottom: 1.2rem; }

figure { margin: 0; }
.phone {
  float: right;
  width: min(34vw, 19rem);
  margin: 0.2rem 0 1.5rem clamp(1.5rem, 4vw, 3rem);
}
.feature-left .phone {
  float: left;
  margin: 0.2rem clamp(1.5rem, 4vw, 3rem) 1.5rem 0;
}
.feature-right .phone { float: right; }
.phone img { display: block; width: 100%; height: auto; border-radius: 2.2rem; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28); }
.phone-calendar { width: min(36vw, 20rem); }

.contact-card {
  margin-top: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.contact-card h2 { margin-bottom: 0.75rem; font-size: 1.55rem; }
.contact-card p { margin-bottom: 0; }

.simple-page { min-height: 30rem; }
.simple-page h1 { margin-bottom: 1.4rem; }

.footer-inner { padding: 1.5rem 0; color: var(--muted); font-size: 0.92rem; }
.footer-inner p { margin: 0; }

@media (max-width: 700px) {
  .header-inner { flex-wrap: wrap; padding: 0.7rem 0; }
  .nav-toggle-label { display: block; }
  header nav { display: none; flex-basis: 100%; }
  .nav-toggle:checked ~ nav { display: block; }
  header nav ul { flex-direction: column; padding-bottom: 0.4rem; }
  header nav a { padding: 0.6rem 0.7rem; }

  main { width: min(100% - 1rem, var(--max)); margin: 0.5rem auto; padding: 1.25rem; border-radius: 0.9rem; }
  .hero,
  .feature {
    display: flex;
    flex-direction: column;
  }
  .hero { padding: 1.25rem 0 3rem; }
  .feature { padding: 3rem 0; }
  .hero-copy,
  .feature-copy { order: 1; }
  .phone,
  .feature-left .phone,
  .feature-right .phone,
  .phone-calendar {
    float: none;
    width: min(100%, 18rem);
    margin: 0 auto 2rem;
    order: 2;
  }
}

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