/* BMD Home – warm & approachable landing page */
:root {
  --bg:        #FBF7F1;
  --bg-warm:   #F3E9DC;
  --surface:   #FFFFFF;
  --ink:       #33291F;
  --ink-soft:  #6F6355;
  --accent:    #C4703D;
  --accent-dk: #A85C2E;
  --sage:      #6E8B6A;
  --border:    #EBE1D4;
  --shadow:    0 18px 40px -22px rgba(80, 54, 30, .35);
  --radius:    18px;
  --maxw:      1080px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
p  { margin: 0 0 1rem; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 247, 241, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { display: flex; }
.brand-text { font-size: 1.15rem; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink-soft); font-weight: 500; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 9px 16px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dk); }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--accent-dk); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.microcopy { font-size: .86rem; color: var(--ink-soft); margin-top: .7rem; }

.signup {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem;
  max-width: 520px;
}
.signup input[type="email"] {
  flex: 1 1 220px; min-width: 0;
  padding: 14px 16px; font-size: 1rem;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--ink);
}
.signup input[type="email"]:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 112, 61, .18);
}
.signup button {
  flex: 0 0 auto;
  padding: 14px 22px; font-size: 1rem; font-weight: 700;
  color: #fff; background: var(--accent); border: 0; border-radius: 12px;
  cursor: pointer; transition: background .15s ease, transform .05s ease;
}
.signup button:hover { background: var(--accent-dk); }
.signup button:active { transform: translateY(1px); }
.signup button[disabled] { opacity: .65; cursor: progress; }
.form-msg { flex-basis: 100%; margin: 4px 2px 0; font-size: .9rem; min-height: 1.1em; }
.form-msg.ok  { color: var(--sage); font-weight: 600; }
.form-msg.err { color: #b5462f; font-weight: 600; }

/* ---------- mailto CTA (signup form paused until launch) ---------- */
.btn-lead {
  display: inline-block; margin-top: 1.6rem;
  padding: 14px 24px; font-size: 1rem; font-weight: 700;
  color: #fff !important; background: var(--accent);
  border-radius: 12px; text-decoration: none;
  transition: background .15s ease, transform .05s ease;
}
.btn-lead:hover { background: var(--accent-dk); text-decoration: none; }
.btn-lead:active { transform: translateY(1px); }
.cta .btn-lead { background: #2E2117; }
.cta .btn-lead:hover { background: #1f1710; }

.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 24px;
}
.hc-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px dashed var(--border);
  font-size: .96rem;
}
.hc-row:last-of-type { border-bottom: 0; }
.hc-val { margin-left: auto; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #D9CEBE; flex: 0 0 auto;
}
.hc-dot.on { background: var(--sage); box-shadow: 0 0 0 4px rgba(110, 139, 106, .18); }
.hc-foot {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: .9rem; color: var(--ink-soft);
}
.hc-foot strong { color: var(--ink); }

/* ---------- services ---------- */
.services { padding: clamp(40px, 7vw, 80px) 0; background: var(--bg-warm); }
.section-lead { color: var(--ink-soft); max-width: 52ch; margin-bottom: 2rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px;
}
.card-ic { font-size: 1.7rem; margin-bottom: 8px; }
.card h3 { font-size: 1.08rem; }
.card p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ---------- how ---------- */
.how { padding: clamp(40px, 7vw, 80px) 0; }
.steps {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: none;
}
.steps li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1.05rem;
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.08rem; }
.steps p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ---------- why ---------- */
.why { padding: clamp(40px, 7vw, 80px) 0; background: var(--bg-warm); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.ticks { list-style: none; margin: 1rem 0 0; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 32px; color: var(--ink-soft); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(110, 139, 106, .18); color: var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800;
}
.quote {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 24px 26px; font-size: 1.05rem; color: var(--ink);
}
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: .9rem; color: var(--ink-soft); }

/* ---------- cta ---------- */
.cta { padding: clamp(52px, 8vw, 90px) 0; }
.cta-inner {
  background: linear-gradient(135deg, #C4703D, #9C4F27);
  color: #fff; border-radius: 26px;
  padding: clamp(32px, 5vw, 54px); text-align: center;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, .9); }
.signup-lg { margin: 1.6rem auto 0; justify-content: center; }
.signup-lg input[type="email"] { border-color: transparent; }
.signup-lg button { background: #2E2117; }
.signup-lg button:hover { background: #1f1710; }
.cta .microcopy { color: rgba(255, 255, 255, .82); }
.cta .form-msg.ok { color: #EAF3E8; }
.cta .form-msg.err { color: #FFE1D6; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand-text { font-weight: 700; }
.site-footer p { margin: 4px 0 0; color: var(--ink-soft); font-size: .9rem; }
.footer-meta { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; color: var(--ink-soft); text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .signup button { flex: 1 1 100%; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
}

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

/* ---------- legal / adatkezelési tájékoztató ---------- */
.legal { padding: 48px 0 64px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8em; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal .updated { font-size: .85rem; margin-top: 2.5rem; }
.legal .back { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; }
