/* White Eagle Electric — site styles */
:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --ink-3: #2e2e2e;
  --gold: #c79728;
  --gold-2: #e2b64a;
  --accent: #8a6616;
  --white: #ffffff;
  --bg: #f7f6f2;
  --text: #1a1a1a;
  --muted: #5b5b5b;
  --border: #e4e1d8;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0,0,0, 0.10);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Oswald", "Inter", system-ui, sans-serif;
  --font-brand: "Black Ops One", "Oswald", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink-3); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--ink); color: #dcdcdc; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6em;
}
.section.dark .eyebrow { color: var(--gold-2); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section.dark .lead { color: #c9c9c9; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 6px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-2); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); color: var(--gold-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-outline { border-color: currentColor; color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar {
  background: var(--ink); color: #c9c9c9; font-size: .88rem;
  border-bottom: 3px solid var(--gold);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap;
}
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--gold-2); }
.topbar .vet { color: var(--gold-2); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; flex: none; }
.brand-text { line-height: 1; }
.brand-name {
  display: block; font-family: var(--font-brand); font-size: 1.75rem;
  color: var(--ink); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
.brand-name b { color: var(--gold); font-weight: 400; }
.brand-sub { display: block; font-size: .7rem; color: var(--ink); font-weight: 800; letter-spacing: .42em; text-transform: uppercase; margin-top: 4px; }
@media (max-width: 400px) { .brand img { height: 36px; } .brand-name { font-size: 1.35rem; } .brand-sub { letter-spacing: .3em; } }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 10px 12px; text-decoration: none; color: var(--ink);
  font-weight: 600; border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { padding: .6em 1.1em; margin-left: 6px; }
.nav .btn, .nav .btn:hover, .nav .btn[aria-current] { color: var(--ink); }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow); padding: 6px; display: none !important;
  flex-direction: column; align-items: stretch !important;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: flex !important; }
.submenu a { font-weight: 500; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border-top: 1px solid var(--border); box-shadow: var(--shadow);
    display: none; max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--bg); }
  .submenu {
    position: static; display: flex !important; box-shadow: none; border: 0;
    padding: 0 0 0 14px; min-width: 0;
  }
  .nav .btn { margin: 12px 0 0; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(199,151,40,.16), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: var(--ink); border-top: 3px solid var(--gold);
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 88px;
}
.hero h1 { color: var(--ink); }
.hero h1 span { color: var(--gold); }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 560px; }
.badge-vet {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--gold-2); padding: 7px 16px; border-radius: 999px;
  font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 18px;
}
.badge-vet svg { width: 16px; height: 16px; }
.hero-logo { display: flex; justify-content: center; }
.hero-logo img { width: 100%; max-width: 540px; height: auto; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.hero-points li::before { content: "★"; color: var(--gold); }
@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; padding-bottom: 56px; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 380px; }
  .hero .badge-vet { display: none; }
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(115deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--white); padding: 64px 0 56px; position: relative;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px;
  background: var(--gold);
}
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p { color: #d6d6d6; font-size: 1.15rem; max-width: 720px; margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 14px; color: #b3b3b3; }
.breadcrumb a { color: var(--gold-2); text-decoration: none; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 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-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); color: inherit; }
.card p { color: var(--muted); flex: 1; }
.card .more { color: var(--accent); font-weight: 700; margin-top: 8px; }
.icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-2); margin-bottom: 18px;
}
.icon svg { width: 30px; height: 30px; }
.section.dark .card { background: var(--ink-2); border-color: #333333; }
.section.dark .card p { color: #c9c9c9; }
.section.dark .icon { background: var(--gold); color: var(--ink); }

.section-head { margin-bottom: 40px; }

/* Feature list */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .3em; width: 20px; height: 20px;
  border-radius: 50%; background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}

.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.aside-box {
  background: var(--bg); border: 1px solid var(--border); border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 28px; position: sticky; top: 100px;
}
.aside-box h3 { margin-bottom: .4em; }

/* Stats / trust strip */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.trust div { padding: 12px; }
.trust strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--gold-2); text-transform: uppercase; }
.trust span { color: #c9c9c9; font-size: .95rem; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* Service area */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.area-list li {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 16px; font-weight: 600; color: var(--ink);
}
.map-frame {
  border: 0; width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow);
}

/* CTA band */
.cta-band {
  background: var(--gold); color: var(--ink);
  padding: 48px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); margin: 0 0 .2em; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { margin: 0; color: #2b2410; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfcac0; border-radius: 6px;
  background: var(--white); color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { padding: 12px 16px; border-radius: 6px; display: none; font-weight: 600; }
.form-status.ok { display: block; background: #e6f4ea; color: #1e6b34; }
.form-status.err { display: block; background: #fdecee; color: #8e1a28; }
.form-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border-top: 5px solid var(--gold); color: var(--text);
}
.form-card h3 { margin-bottom: .3em; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 10px; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { text-decoration: none; font-weight: 600; }

/* Partners */
.partner { text-align: center; }
.partner .avatar {
  width: 120px; height: 120px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--ink); color: var(--gold-2); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 2.4rem; border: 4px solid var(--gold);
}
.partner .role { color: var(--accent); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8em; }

/* FAQ */
.faq details {
  border: 1px solid var(--border); border-radius: 8px; padding: 0 20px; margin-bottom: 12px; background: var(--white);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Footer */
.site-footer { background: #0b0b0b; color: #b3b3b3; padding: 56px 0 24px; font-size: .95rem; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { color: #d6d6d6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name, .footer-brand .brand-sub { color: var(--white); }
.footer-brand .brand img { height: 44px; width: 44px; border-radius: 8px; }
.footer-bottom {
  border-top: 1px solid #2a2a2a; margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem;
}

/* TODO placeholders — easy to spot before launch */
.todo { background: #fff4cc; color: #6b5200; padding: 0 4px; border-radius: 3px; }
.section.dark .todo, .topbar .todo, .site-footer .todo, .page-hero .todo, .hero .todo { background: rgba(255,244,204,.18); color: #ffe89a; }

@media (min-width: 641px) { .span-2 { grid-column: span 2; } }
