/* ============================================================
   IRONSIDE ELECTRICAL — style.css
   Brand: Midnight Navy #0C1F3D | Copper Gold #C17F24
   Fonts: Barlow Condensed (display) | IBM Plex Sans (body)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0C1F3D;
  background: #F4F1EB;
  -webkit-font-smoothing: antialiased;
}

/* ── Variables ── */
:root {
  --navy:       #0C1F3D;
  --copper:     #C17F24;
  --copper-lt:  #D4922E;
  --slate:      #5A6A80;
  --parchment:  #F4F1EB;
  --iron:       #07111F;
  --white:      #FFFFFF;
  --display:    'Barlow Condensed', sans-serif;
  --body:       'IBM Plex Sans', sans-serif;
  --max:        1200px;
  --pad:        6rem 0;
}

/* ── Container ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--copper);
  color: var(--white);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--copper-lt); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(244,241,235,.8);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 14px 28px;
  border: 1px solid rgba(244,241,235,.3);
  border-radius: 2px;
  transition: all .2s;
}
.btn-ghost:hover { color: var(--parchment); border-color: rgba(244,241,235,.6); background: rgba(244,241,235,.05); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 14px 28px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  transition: all .2s;
}
.btn-outline:hover { background: var(--navy); color: var(--parchment); }

.btn-lg { padding: 16px 36px; font-size: 15px; }

.btn-nav {
  background: var(--copper) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 2px;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: .06em;
  transition: background .2s;
}
.btn-nav:hover { background: var(--copper-lt) !important; }

/* ── Section Utilities ── */
.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}
.eyebrow--lt { color: var(--copper-lt); }

.headline {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy);
  margin-bottom: 1rem;
}
.headline--lt { color: var(--parchment); }

.subtext { font-size: 17px; color: var(--slate); max-width: 560px; line-height: 1.75; }
.subtext--lt { color: rgba(244,241,235,.55); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .subtext { margin: 0 auto; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--iron);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 32px rgba(0,0,0,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-wordmark { display: flex; flex-direction: column; }
.nav-brand {
  font-family: var(--display);
  font-size: 16px; font-weight: 700;
  letter-spacing: .22em; color: var(--parchment); line-height: 1;
}
.nav-sub {
  font-size: 7px; letter-spacing: .3em;
  color: rgba(244,241,235,.35); line-height: 1; margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links li a {
  font-size: 13px; letter-spacing: .04em;
  color: rgba(244,241,235,.65); transition: color .2s;
}
.nav-links li a:hover { color: var(--parchment); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--parchment); }

/* ── Hero (shared base) ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; background: var(--iron); position: relative; overflow: hidden;
}
.hero-dot {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(193,127,36,.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 1.5rem;
}
.hero-h1 {
  font-family: var(--display);
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 700; color: var(--parchment);
  line-height: 1.0; margin-bottom: 1.5rem; letter-spacing: -.01em;
}
.hero-accent { color: var(--copper); display: block; }
.hero-body {
  font-size: 18px; font-weight: 300; color: rgba(244,241,235,.62);
  line-height: 1.75; max-width: 560px; margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-tag {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244,241,235,.22);
}

/* ── Trust Bar ── */
.trust { background: var(--navy); }
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 1.25rem 2rem;
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(244,241,235,.65);
}
.trust-item svg { color: var(--copper); flex-shrink: 0; }
.trust-div { width: 1px; height: 18px; background: rgba(255,255,255,.1); }

/* ── Services Grid ── */
.services-section { padding: var(--pad); background: var(--parchment); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: rgba(12,31,61,.08);
  border: 1.5px solid rgba(12,31,61,.08);
}
.svc-card { background: var(--parchment); padding: 2rem; transition: background .2s; }
.svc-card:hover { background: #ECEAE3; }
.svc-icon { width: 36px; height: 36px; margin-bottom: 1.25rem; color: var(--copper); }
.svc-icon svg { width: 100%; height: 100%; }
.svc-card h3 {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  color: var(--navy); margin-bottom: .75rem;
}
.svc-card p { font-size: 14px; color: var(--slate); line-height: 1.75; margin-bottom: 1rem; }
.svc-link { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--copper); }
.svc-link:hover { color: var(--copper-lt); }
.services-more { text-align: center; margin-top: 2.5rem; }

/* ── Why Ironside ── */
.why-section { padding: var(--pad); background: var(--navy); }
.why-header { margin-bottom: 3.5rem; }
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
}
.why-card { background: var(--navy); padding: 2.5rem; transition: background .2s; }
.why-card:hover { background: #0f2749; }
.why-num {
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; color: var(--copper); margin-bottom: 1rem;
}
.why-card h3 { font-size: 26px; color: var(--parchment); margin-bottom: .875rem; }
.why-card p { font-size: 15px; color: rgba(244,241,235,.52); line-height: 1.8; }

/* ── Service Areas ── */
.areas-section { padding: var(--pad); background: var(--iron); }
.areas-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.areas-body { font-size: 16px; color: rgba(244,241,235,.52); line-height: 1.8; margin-bottom: 2rem; }
.areas-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.areas-col-head {
  font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--copper);
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 1px solid rgba(193,127,36,.28);
}
.areas-column li {
  font-size: 14px; color: rgba(244,241,235,.55);
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.05);
}

/* ── CTA Band ── */
.cta-band { padding: 5rem 0; background: var(--copper); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.cta-text h2 { font-size: clamp(32px, 4vw, 44px); color: var(--white); margin-bottom: .75rem; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,.72); max-width: 480px; line-height: 1.75; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--navy); }
.cta-band .btn-primary:hover { background: var(--iron); }
.cta-band .btn-ghost { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.38); }

/* ── Footer ── */
.footer { background: var(--iron); border-top: 1px solid rgba(255,255,255,.05); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 5rem;
  padding-top: 4rem; padding-bottom: 4rem;
}
.footer-logo { margin-bottom: 1rem; }
.footer-tag {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(244,241,235,.22); margin-bottom: .875rem;
}
.footer-lic { font-size: 11px; color: rgba(244,241,235,.18); line-height: 1.7; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col-head {
  font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(244,241,235,.35);
  margin-bottom: 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col li { padding: 4px 0; }
.footer-col li a { font-size: 13px; color: rgba(244,241,235,.45); transition: color .2s; }
.footer-col li a:hover { color: var(--parchment); }
.footer-col li span { font-size: 13px; color: rgba(244,241,235,.45); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 1.25rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(244,241,235,.22); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 140px 0 80px; background: var(--iron);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 68px);
  color: var(--parchment); margin-bottom: 1rem;
}
.page-hero .accent { color: var(--copper); }
.page-hero p {
  font-size: 17px; font-weight: 300;
  color: rgba(244,241,235,.58); max-width: 520px; line-height: 1.75;
}

/* ── Services Detail Page ── */
.svc-detail { padding: 5rem 0; }
.svc-detail:nth-child(odd) { background: var(--parchment); }
.svc-detail:nth-child(even) { background: #ECEAE3; }
.svc-detail-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.svc-detail-label { position: sticky; top: 88px; }
.svc-detail-label .eyebrow { margin-bottom: .5rem; }
.svc-detail-label h2 { font-size: 36px; color: var(--navy); margin-bottom: 1rem; }
.svc-detail-label p { font-size: 15px; color: var(--slate); line-height: 1.75; }
.svc-items { display: flex; flex-direction: column; gap: 1px; background: rgba(12,31,61,.07); }
.svc-item {
  background: var(--white); padding: 1.5rem 2rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
}
.svc-item-dot { width: 6px; height: 6px; background: var(--copper); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.svc-item h4 { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: .375rem; }
.svc-item p { font-size: 14px; color: var(--slate); line-height: 1.7; }

/* ── About Page ── */
.about-section { padding: var(--pad); }
.about-section:nth-child(odd) { background: var(--parchment); }
.about-section:nth-child(even) { background: var(--navy); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.pillar {
  background: rgba(244,241,235,.06); padding: 1.5rem;
  border-left: 3px solid var(--copper);
}
.pillar h4 { font-size: 16px; color: var(--parchment); margin-bottom: .5rem; }
.pillar p { font-size: 13px; color: rgba(244,241,235,.5); line-height: 1.7; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 100px 1fr; gap: 2rem; padding: 1.75rem 0; border-bottom: 1px solid rgba(12,31,61,.08); }
.tl-item:last-child { border-bottom: none; }
.tl-year { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--copper); padding-top: 2px; }
.tl-content h4 { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: .375rem; }
.tl-content p { font-size: 14px; color: var(--slate); line-height: 1.7; }

/* ── Contact Page ── */
.contact-section { padding: 5rem 0; background: var(--parchment); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-size: 30px; color: var(--navy); margin-bottom: 2rem; }
.c-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.c-detail-icon { width: 20px; height: 20px; color: var(--copper); flex-shrink: 0; margin-top: 2px; }
.c-detail-text p { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin-bottom: 3px; }
.c-detail-text a, .c-detail-text span { font-size: 15px; color: var(--navy); font-weight: 500; }
.c-detail-text a:hover { color: var(--copper); }
.hours { margin-top: 2rem; }
.hours > p { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin-bottom: .875rem; }
.hours li { font-size: 14px; color: var(--navy); padding: 5px 0; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(12,31,61,.08); }

.form-wrap { background: var(--white); border: 1px solid rgba(12,31,61,.1); padding: 2.5rem; }
.form-row { margin-bottom: 1.375rem; }
.form-row label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: .5rem; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(12,31,61,.18);
  background: var(--parchment);
  font-family: var(--body); font-size: 15px; color: var(--navy);
  border-radius: 0; transition: border-color .2s; appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: none; border-color: var(--copper); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { margin-top: 1.5rem; }
.form-submit .btn-primary { width: 100%; text-align: center; padding: 16px; font-size: 15px; }
.form-note { font-size: 12px; color: var(--slate); margin-top: .875rem; text-align: center; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .areas-inner { grid-template-columns: 1fr; gap: 3rem; }
  .areas-list { grid-template-columns: 1fr 1fr; }
  .svc-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-detail-label { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad: 4rem 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--iron); flex-direction: column;
    align-items: flex-start; gap: 0; padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 12px 2rem; }
  .nav-links li:last-child { padding: 8px 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-ctas { flex-direction: column; }
  .pillar-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }
}

@media (max-width: 480px) {
  .areas-list { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; width: 100%; }
  .trust-div { display: none; }
  .trust-inner { justify-content: flex-start; }
}
