/* BD Group — hand-written stylesheet. No framework, no build step. */

:root {
  --bg: #fcfbfa;
  --surface: #ffffff;
  --surface-tint: #f7f8fc;
  --ink: #0f2018;
  --ink-soft: #3f4a53;
  --ink-muted: #6b7580;
  --primary: #1a1a8c;
  --primary-dark: #12126b;
  --primary-soft: #e8e7fa;
  --accent: #6b4de6;
  --line: #e5e7ef;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 32, 24, .06);
  --shadow-md: 0 6px 24px rgba(15, 32, 24, .07);
  --shadow-lg: 0 18px 48px rgba(26, 26, 140, .12);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -.015em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul { margin: 0 0 1rem; padding-left: 1.1rem; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--primary);
  color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------- Header ---------------- */
.site-header {
  background: rgba(252, 251, 250, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--primary);
  color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: .02em;
}
.brand-text strong { display: block; font-size: 1.05rem; }
.brand-text small { display: block; color: var(--ink-muted); font-size: .74rem; }

.site-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink-soft); font-size: .92rem; font-weight: 500; }
.site-nav a:hover { color: var(--primary); text-decoration: none; }

.nav-toggle-label { display: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-soft:hover { background: #dcdafa; color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }

/* ---------------- Hero ---------------- */
.hero { padding: 76px 0 60px; background: linear-gradient(180deg, #f4f5fd 0%, var(--bg) 100%); }
.hero-inner { max-width: 780px; }
.eyebrow {
  display: inline-block; background: var(--primary-soft); color: var(--primary);
  font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; list-style: none; padding: 0;
}
.trust-strip li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}

/* ---------------- Sections ---------------- */
section { padding: 60px 0; }
section.tight { padding: 40px 0; }
.section-title { text-align: center; }
.title-rule {
  display: block; width: 118px; height: 3px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--line) 0 34%, var(--primary) 34% 66%, var(--line) 66% 100%);
  border-radius: 3px;
}
.section-sub { text-align: center; color: var(--ink-muted); max-width: 680px; margin: 14px auto 40px; }

.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.info-card h3 { margin-bottom: .4em; }
.info-card p { margin: 0; color: var(--ink-muted); font-size: .95rem; }
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft);
  color: var(--primary); display: grid; place-items: center; margin-bottom: 16px;
}
.icon-tile svg { width: 22px; height: 22px; }

/* ---------------- Pricing ---------------- */
.pricing-section { background: var(--bg); }
.pricing-grid {
  display: grid; gap: 24px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.pricing-card {
  position: relative; background: transparent; border-radius: 18px;
  padding: 34px 26px 30px; text-align: center;
}
.pricing-card.is-featured {
  background: linear-gradient(180deg, #f7f8fd 0%, #ffffff 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding-top: 44px; margin-top: -10px;
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .76rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; margin: 0; white-space: nowrap;
}
.pricing-icon {
  width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary); display: grid; place-items: center;
}
.pricing-icon svg { width: 22px; height: 22px; }
.pricing-name { font-size: 1.35rem; font-weight: 600; margin-bottom: .5em; }
.pricing-price { margin: 0 0 14px; color: var(--ink); }
.price-prefix { font-size: 1rem; vertical-align: top; font-weight: 600; }
.price-amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.price-period { font-size: .9rem; color: var(--ink-muted); }
.pricing-blurb { color: var(--ink-muted); font-size: .93rem; min-height: 3em; }
.pricing-features { list-style: none; margin: 24px 0; padding: 0; text-align: left; }
.pricing-features li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: .93rem; }
.pricing-features svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 4px; color: var(--accent); }
.pricing-cta { margin: 8px 0 0; }
.pricing-note { text-align: center; color: var(--ink-muted); font-size: .86rem; margin-top: 42px; }

/* ---------------- FAQ ---------------- */
.faq-section { background: var(--surface-tint); }
.faq-list { margin: 34px 0 0; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq-item dt { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.faq-item dd { margin: 0; color: var(--ink-muted); font-size: .95rem; }

/* ---------------- Prose ---------------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2em; }
.prose ul { color: var(--ink-soft); }
.prose li { margin-bottom: .5em; }

/* ---------------- Forms ---------------- */
.form-layout { display: grid; gap: 34px; grid-template-columns: 1.35fr .85fr; align-items: start; }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: #c0392b; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea, .field input[type="file"] {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 26, 140, .12);
}
.field .hint { display: block; margin-top: 6px; font-size: .82rem; color: var(--ink-muted); }
.field-error { display: block; margin-top: 6px; font-size: .84rem; color: #c0392b; font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: #c0392b; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.photo-field { border: 1px dashed #c9cee0; border-radius: 12px; padding: 18px; background: var(--surface-tint); }
#photo-preview { display: none; margin-top: 14px; max-width: 220px; border-radius: 10px; box-shadow: var(--shadow-sm); }
#photo-preview.is-visible { display: block; }

.alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-size: .93rem; }
.alert-error { background: #fdeceb; border: 1px solid #f4c7c3; color: #90261f; }
.alert-success { background: #e9f7ef; border: 1px solid #bfe6cd; color: #1c6b3c; }

.contact-aside { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm); }
.contact-aside h2 { font-size: 1.15rem; }
.contact-aside address { font-style: normal; color: var(--ink-soft); margin-bottom: 14px; }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--primary); color: #fff; text-align: center; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { max-width: 620px; margin: 0 auto 24px; opacity: .88; }
.cta-band .btn-soft { background: #fff; color: var(--primary); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--surface-tint); border-top: 1px solid var(--line); padding-top: 54px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer-col h2 { font-size: 1.15rem; margin-bottom: .8em; }
.footer-col ul { list-style: none; margin: 0 0 18px; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-soft); font-size: .95rem; }
.footer-col a:hover { color: var(--primary); }
.footer-col address { font-style: normal; margin-bottom: 14px; }
.footer-col p { font-size: .95rem; margin-bottom: 8px; }
.payments-heading { margin-top: 20px; }
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.payment-methods li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 12px; font-size: .78rem; font-weight: 600; color: var(--ink-soft);
}
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding: 20px; text-align: center; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--ink-muted); }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle-label {
    display: grid; gap: 5px; cursor: pointer; padding: 8px;
  }
  .nav-toggle-label span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav { display: none; width: 100%; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .header-inner { flex-wrap: wrap; padding-bottom: 8px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav li a { display: block; padding: 12px 2px; }
  .site-nav li a.btn { display: inline-block; margin: 12px 0; }
  .pricing-card.is-featured { margin-top: 14px; }
}
