/* BidReady Electrical — marketing site
   Palette: navy / steel + jobsite orange accent
   Theme: desk chaos → calm professional rescue
   No build step; plain CSS */

:root {
  --navy-950: #071526;
  --navy-900: #0B1F3A;
  --navy-800: #122A4A;
  --navy-700: #1A3358;
  --steel-600: #2E4A73;
  --steel-400: #8FA3BF;
  --steel-200: #C5D0E0;
  --off-white: #F4F7FB;
  --warm-cream: #F7F1E8;
  --wood-warm: #C4A574;
  --white: #FFFFFF;
  --text: #152238;
  --text-muted: #4A5D78;
  --accent: #F5A623;
  --accent-hover: #E09210;
  --accent-soft: rgba(245, 166, 35, 0.14);
  --success: #1F7A4C;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(7, 21, 38, 0.12);
  --shadow-lg: 0 24px 60px rgba(7, 21, 38, 0.22);
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--navy-800);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.05rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--navy-900);
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.accent-text { color: var(--accent); }

.lead {
  font-size: 1.125rem;
  color: var(--steel-200);
  max-width: 36rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--off-white);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0.7rem 1.35rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.92rem; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-accent {
  background: var(--accent);
  color: var(--navy-900);
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--navy-950);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-950);
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}

.logo:hover { color: var(--white); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-200);
}

.logo-text strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--steel-200);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--white); }
.site-nav .btn { color: var(--navy-900); }
.site-nav .btn:hover { color: var(--navy-950); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 50%, #1a2f4a 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -60px;
  top: -100px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.2), transparent 65%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.12), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 { color: var(--white); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.75rem 0 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--steel-200);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust svg { color: var(--accent); flex-shrink: 0; }

/* Hero illustration */
.hero-visual {
  margin: 0;
  width: 100%;
}

.hero-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: var(--warm-cream);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 720;
  object-fit: cover;
  object-position: center 35%;
}

.hero-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, rgba(7, 21, 38, 0.95) 0%, rgba(18, 42, 74, 0.95) 100%);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero-caption-pain {
  color: var(--steel-200);
}

.hero-caption-arrow {
  color: var(--accent);
  font-weight: 800;
}

.hero-caption-relief {
  color: var(--accent);
}

/* Pain → relief band */
.pain-band {
  background: var(--warm-cream);
  border-bottom: 1px solid rgba(196, 165, 116, 0.35);
  padding: 1.25rem 0;
}

.pain-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem 1.5rem;
  justify-content: center;
}

.pain-chip,
.relief-chip {
  flex: 1 1 240px;
  max-width: 420px;
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.pain-chip {
  background: rgba(11, 31, 58, 0.06);
  border-left: 4px solid var(--steel-600);
  color: var(--text-muted);
}

.relief-chip {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  color: var(--navy-800);
}

.pain-chip strong,
.relief-chip strong {
  color: var(--navy-900);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pain-divider {
  width: 2px;
  align-self: stretch;
  min-height: 2.5rem;
  background: linear-gradient(180deg, transparent, var(--wood-warm), transparent);
  display: none;
}

@media (min-width: 720px) {
  .pain-divider { display: block; }
}

/* Cards / services */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid #E2E8F2;
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem;
  box-shadow: 0 4px 18px rgba(7, 21, 38, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: rgba(245, 166, 35, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--warm-cream);
  color: var(--navy-800);
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid #E2E8F2;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--text-muted);
}

.check-list strong { color: var(--navy-900); }

.why-panel {
  background: var(--navy-900);
  color: var(--steel-200);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.why-panel h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.why-panel ul {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.why-panel li {
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
}

.why-panel-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.why-panel-cta p {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

/* Service area */
.area-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.area-tags span {
  background: var(--white);
  border: 1px solid #D5DEEB;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.area-map svg {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--accent) 0%, #F7B84A 100%);
  padding: 2.5rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--navy-950);
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.cta-band p {
  color: var(--navy-800);
  margin: 0;
  max-width: 36rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.contact-details li {
  display: grid;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-400);
}

.contact-details a {
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-details a:hover { color: var(--accent-hover); }

.hint {
  font-size: 0.8rem;
  color: var(--steel-400);
  font-style: italic;
}

.contact-form {
  background: var(--off-white);
  border: 1px solid #E2E8F2;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 28px rgba(7, 21, 38, 0.05);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row label {
  display: block;
  font-weight: 650;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--navy-900);
}

.req { color: #C0392B; }

.form-row input,
.form-row textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid #C9D4E4;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-row textarea { resize: vertical; min-height: 110px; }

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-success {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  background: #E6F6EE;
  color: var(--success);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-400);
  padding: 2.75rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  max-width: 22rem;
  font-size: 0.92rem;
}

.logo-footer .logo-text,
.logo-footer .logo-text strong { color: inherit; }
.logo-footer .logo-text strong { color: var(--white); }
.logo-footer { color: var(--steel-200); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--steel-200);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover { color: var(--accent); }

.footer-meta p { margin: 0 0 0.4rem; font-size: 0.9rem; }
.footer-meta strong { color: var(--white); }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner,
  .why-grid,
  .area-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    order: -1;
  }

  .hero-inner {
    gap: 1.75rem;
  }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav .btn {
    margin-top: 0.75rem;
    justify-content: center;
    border-bottom: none;
  }
}

@media (max-width: 560px) {
  .form-row.two-col { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .cta-inner { flex-direction: column; align-items: stretch; }
  .hero-caption {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  .hero-caption-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
