:root {
  --bg: #ffffff;
  --surface: #f6f7f5;
  --text: #1c1f1d;
  --muted: #5c6460;
  --border: #e2e5e1;
  --accent: #2f5d45;
  --accent-hover: #244a37;
  --error: #b42318;
  --radius: 10px;
  --max: 1100px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header + tabs */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tab { padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; }
.tab:hover { color: var(--text); background: var(--surface); }
.tab[aria-current="page"] { color: #fff; background: var(--accent); }
.header-phone { color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; background: center / cover no-repeat var(--accent); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.05)); }
.hero-inner { position: relative; padding-block: 48px; }
.hero-card { background: rgba(255,255,255,0.95); border-radius: var(--radius); padding: 32px; max-width: 420px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.hero-card h1 { font-size: 2rem; }
.hero-tagline { color: var(--muted); margin: 0 0 20px; }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 24px; }
.contact-list dt { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding-top: 2px; }
.contact-list dd { margin: 0; }

/* Section cards on home */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; padding-block: 56px; }
.card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0 0 12px; }
.card-link { color: var(--accent); font-weight: 600; }

/* Section pages */
.page-head { padding-top: 48px; }
.page-head h1 { font-size: 2.25rem; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0; }
.prose { padding-block: 16px; }
.prose > * { max-width: 720px; }
.details { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 32px; align-items: start; padding-block: 16px 24px; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.highlights li { position: relative; padding-left: 30px; }
.highlights li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pricing { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.price-list { margin: 0 0 16px; display: grid; gap: 8px; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.price dt { font-weight: 600; }
.price dd { margin: 0; font-size: 1.5rem; font-weight: 700; }
.price dd span { font-size: 0.9rem; font-weight: 400; color: var(--muted); margin-left: 4px; }
.promo { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; }
.section-contact { margin: 0; color: var(--muted); }
.section-contact .btn { margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding-block: 24px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Contact form */
.contact { padding-block: 48px 72px; max-width: 640px; margin-left: auto; margin-right: auto; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field-error, .form-error { color: var(--error); font-size: 0.9rem; font-weight: 400; }
.form-error { margin: 0; }
.hp { position: absolute; left: -9999px; }
.contact-thanks { padding: 24px; border-radius: var(--radius); background: var(--surface); }
.contact-thanks p { margin: 0; color: var(--muted); }

.btn { display: inline-block; padding: 12px 22px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; justify-self: start; }
.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 24px; }

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 8px 16px; }
  .header-phone { margin-left: auto; }
  .tabs { order: 3; width: 100%; margin-left: 0; }
  .hero { min-height: auto; }
  .hero-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
}
