:root {
  --bg: #F7F5EF;
  --surface: #FFFFFF;
  --surface-alt: #EFEDE5;
  --heading: #0F4450;
  --text: #3D5A60;
  --accent: #1F8A78;        /* decorative only: below 4.5:1 for text */
  --accent-strong: #18705F; /* text links and buttons */
  --gold: #B8975A;
  --error: #A33A2C;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 68, 80, 0.06), 0 8px 24px rgba(15, 68, 80, 0.06);
  --font-heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--heading); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--heading); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 20;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184, 151, 90, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-heading); font-weight: 700; color: var(--heading);
  font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.brand img { width: 40px; height: auto; }

/* Buttons */
.button {
  display: inline-block; border: 2px solid var(--accent-strong); border-radius: 999px;
  background: var(--accent-strong); color: #fff; text-decoration: none; cursor: pointer;
  font: 600 1rem/1 var(--font-heading); padding: 14px 26px; letter-spacing: 0.01em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button:hover { background: var(--heading); border-color: var(--heading); color: #fff; }
.button-secondary { background: transparent; color: var(--accent-strong); }
.button-secondary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button-small { padding: 10px 18px; font-size: 0.9rem; }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { padding: 72px 0 80px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-mark { width: 157px; margin-bottom: 28px; }
.rule { width: 72px; height: 2px; border: 0; background: var(--gold); margin: 4px auto 18px; }
.tagline { font-family: var(--font-heading); font-weight: 600; color: var(--heading); font-size: 1.2rem; margin-bottom: 1.25em; }
.lead { font-size: 1.2rem; max-width: 34ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface-alt); }
.section h2::after {
  content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-top: 14px;
}

.cards { display: grid; gap: 20px; }
.card {
  background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.card p { margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 56px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold);
  display: grid; place-items: center;
  font: 700 1rem/1 var(--font-heading); color: var(--heading);
}
.steps p { margin: 0; }

/* Contact */
.contact-grid { display: grid; gap: 36px; }
.muted { font-size: 0.95rem; }
.contact-panel { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 500; color: var(--heading); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--text); }
input, textarea {
  width: 100%; font: inherit; color: var(--heading);
  background: #fff; border: 1px solid #879591; border-radius: 8px; padding: 12px 14px;
}
input:focus, textarea:focus { border-color: var(--accent); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
textarea { resize: vertical; min-height: 140px; }
.field-error { color: var(--error); font-size: 0.9rem; margin: 6px 0 0; }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 4px; }
.form-status:not(:empty) {
  margin-top: 16px; padding: 12px 14px; border-radius: 8px;
  background: #FBEDEA; color: #6E2419; border-left: 4px solid var(--error);
}
.form-status a { color: #6E2419; font-weight: 500; }
.form-success h3 { margin-bottom: 0.4em; }
.form-success:focus { outline: none; }

/* Footer */
.site-footer { border-top: 1px solid rgba(184, 151, 90, 0.35); padding: 28px 0; font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-inner p { margin: 0; }

@media (min-width: 768px) {
  .hero { padding: 104px 0 112px; }
  .section { padding: 96px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
