/* ============================================================
   Brandi Made — Design System
   Palette: ink navy / steel blue / brand red / neutral paper
   Type: Archivo (display) + Public Sans (body)
   Signature: embroidery "stitch" dashed accent
   ============================================================ */

:root {
  --ink: #16242c;
  --ink-2: #1f3440;
  --steel: #4e8098;
  --steel-soft: #e7eff4;
  --steel-line: #c9dae3;
  --paper: #f7f8f7;
  --white: #ffffff;
  --red: #a31621;
  --red-dark: #871119;
  --line: #e3e7e9;
  --text: #25343c;
  --muted: #58676f;
  --ok: #2a7a5e;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(22, 36, 44, 0.06);
  --shadow-lg: 0 8px 28px rgba(22, 36, 44, 0.1);
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--steel); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 2px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 18px; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }

.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 12px;
}
.lede { font-size: 1.1rem; color: var(--muted); max-width: 64ch; }

/* Signature: embroidery stitch accent */
.stitch { position: relative; padding-bottom: 14px; }
.stitch::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px;
  border-bottom: 3px dashed var(--red);
}
.stitch--center::after { left: 50%; transform: translateX(-50%); }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink-2); color: #c6d4dc; font-size: 0.8rem;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: #e7eef3; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-contact { display: flex; gap: 20px; }
@media (max-width: 640px) { .topbar-note { display: none; } .topbar .wrap { justify-content: center; } }

header.site {
  background: var(--ink); border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky; top: 0; z-index: 100;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }
.logo-fallback { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }

nav.main ul { list-style: none; display: flex; gap: 26px; align-items: center; }
nav.main a {
  text-decoration: none; color: #c6d4dc; font-size: 0.92rem; font-weight: 600;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: #fff; border-bottom-color: var(--steel); }
nav.main a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }

.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-body);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-align: center; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; background: var(--white); border-bottom: 1px solid var(--line); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 8px 0 16px; }
.mobile-menu a { display: block; padding: 13px 24px; text-decoration: none; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a:hover { background: var(--paper); }
.mobile-menu .menu-cta { margin: 16px 24px 0; }
.mobile-menu .menu-cta a { background: var(--red); color: #fff; text-align: center; border-radius: var(--radius); border: 0; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; }

@media (max-width: 980px) {
  nav.main, .header-cta { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #dbe5eb; padding: 76px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(78,128,152,0.32), transparent 65%),
    radial-gradient(700px 380px at -10% 110%, rgba(78,128,152,0.18), transparent 60%);
}
.hero .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 em { font-style: normal; color: #9fc3d4; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; border-bottom: 3px dashed var(--red); }
.hero .lede { color: #b9c8d1; margin: 22px 0 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14); }
.hero-points span { font-size: 0.88rem; font-weight: 600; color: #cfdce4; display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; stroke: #7fb0c4; flex: none; }

.page-hero { background: var(--ink); color: #c7d4dc; padding: 56px 0 60px; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #b9c8d1; margin-top: 16px; }
.breadcrumbs { font-size: 0.82rem; margin-bottom: 18px; color: #8fa4b0; }
.breadcrumbs a { color: #b9cdd8; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar ul {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; padding: 0;
}
.trustbar li {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 12px; font-size: 0.85rem; font-weight: 700; color: var(--ink);
  border-left: 1px solid var(--line); text-align: left;
}
.trustbar li:first-child { border-left: 0; }
.trustbar svg { width: 20px; height: 20px; stroke: var(--red); flex: none; }
@media (max-width: 900px) {
  .trustbar ul { grid-template-columns: repeat(2, 1fr); }
  .trustbar li { border: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; }
  .trustbar li:last-child { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
section.band { padding: 72px 0; }
section.band-white { background: var(--white); }
section.band-ink { background: var(--ink); color: #c7d4dc; }
section.band-ink h2, section.band-ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 14px; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); position: relative;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-link { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 0.88rem; color: var(--red); text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
a.card-block { text-decoration: none; transition: box-shadow 0.15s, border-color 0.15s; display: block; }
a.card-block:hover { box-shadow: var(--shadow-lg); border-color: var(--steel-line); }

.card-icon {
  width: 44px; height: 44px; border-radius: 8px; background: var(--steel-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--steel); }

.service-card { border-top: 3px solid var(--red); }
.service-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red); background: #f8e9ea;
  padding: 3px 10px; border-radius: 99px; margin-bottom: 14px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px dashed var(--steel-line); }
.step:last-child { border-bottom: 0; }
.step-num {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.96rem; max-width: 62ch; }
.step .step-note { display: inline-block; margin-top: 10px; font-size: 0.84rem; font-weight: 600; color: var(--ink); background: var(--steel-soft); padding: 5px 12px; border-radius: 4px; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote-card blockquote { font-size: 0.98rem; color: var(--text); flex: 1; }
.quote-card blockquote::before { content: "“"; font-family: var(--font-display); font-size: 2.2rem; color: var(--steel); display: block; line-height: 0.6; margin-bottom: 10px; }
.quote-meta { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--steel-line); }
.quote-meta strong { display: block; font-size: 0.92rem; color: var(--ink); }
.quote-meta span { font-size: 0.84rem; color: var(--muted); }
.quote-product { display: inline-block; margin-top: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); background: var(--steel-soft); padding: 3px 10px; border-radius: 99px; }
.stars { color: #d9a014; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
details.faq {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.3rem; color: var(--steel); flex: none; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }
details.faq .faq-body a { color: var(--red); font-weight: 600; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 38px 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 28px 20px; } }
label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
label .req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  padding: 12px 14px; border: 1px solid #cdd6da; border-radius: var(--radius); background: #fff;
}
input:focus, textarea:focus, select:focus { border-color: var(--steel); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.form-note svg { width: 15px; height: 15px; stroke: var(--ok); flex: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #c7d4dc; padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #afc1cb; max-width: 52ch; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.93rem; }
.spec-table th { background: var(--ink); color: #fff; text-align: left; padding: 13px 16px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; }
.spec-table td { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; }
.spec-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ---------- Misc ---------- */
.check-list { list-style: none; }
.check-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 0.97rem; }
.check-list svg { width: 19px; height: 19px; stroke: var(--ok); flex: none; margin-top: 4px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-row span { font-size: 0.78rem; font-weight: 600; color: var(--ink); background: var(--steel-soft); padding: 4px 12px; border-radius: 99px; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--red); }
.stat span { font-size: 0.84rem; color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #9fb2bd; padding: 56px 0 28px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: #b9cdd8; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.footer-about p { max-width: 36ch; margin-top: 14px; }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.8rem; color: #7e93a0; }
