/* Bronx Electric Co. — Bold Emergency-Response Industrial Template */
:root {
  --black: #111111;
  --black-mid: #1a1a1a;
  --black-light: #252525;
  --yellow: #f5a623;
  --yellow-dark: #e09515;
  --yellow-pale: #fef3c7;
  --white: #ffffff;
  --off-white: #fafafa;
  --light-gray: #f0f0f0;
  --text: #2d2d2d;
  --text-light: #6b7280;
  --red: #dc2626;
  --green: #16a34a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all .2s; border: none;
}
.btn-large { padding: 18px 36px; font-size: 1.05rem; }
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 166, 35, .3); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-emergency { background: var(--red); color: var(--white); width: 100%; }
.btn-emergency:hover { background: #b91c1c; }
.btn-cta { background: var(--yellow); color: var(--black); font-size: 1.15rem; }
.btn-cta:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,.3); }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; padding: 0 20px; }
.section-header h2 { font-size: 2.2rem; font-weight: 900; color: var(--black); margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }
.section-cta { text-align: center; margin-top: 40px; }

/* ---- Header ---- */
.header-top { background: var(--black); color: var(--white); padding: 8px 20px; font-size: .85rem; }
.header-top-inner {
  max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
}
.header-top span { opacity: .7; }
.header-top a { color: var(--yellow); font-weight: 700; }
.header-top a:hover { text-decoration: underline; }

header nav {
  background: var(--white); display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1120px; margin: 0 auto; position: sticky; top: 0; z-index: 100;
}
header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.logo img { height: 40px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--black); transition: .2s; }
.nav-links a:hover { color: var(--yellow); }
.nav-cta {
  background: var(--yellow); color: var(--black) !important; padding: 10px 20px;
  border-radius: 6px; font-weight: 800;
}
.nav-cta:hover { background: var(--yellow-dark); }
.mobile-toggle { display: none; background: none; border: none; color: var(--black); font-size: 1.6rem; cursor: pointer; }

/* ---- Hero ---- */
.hero-bg {
  position: relative; background-size: cover; background-position: center;
  min-height: 90vh; display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,.95) 30%, rgba(17,17,17,.75) 100%);
}
.hero-grid {
  position: relative; z-index: 1; max-width: 1120px; margin: 0 auto;
  padding: 60px 20px; display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 48px; align-items: center;
}
.hero-text h1 { font-size: 3rem; font-weight: 900; line-height: 1.1; color: var(--white); margin-bottom: 18px; }
.hero-text h1 span { color: var(--yellow); }
.hero-text p { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Emergency Panel */
.emergency-panel {
  background: var(--black-mid); border: 2px solid var(--yellow); border-radius: 16px;
  padding: 32px; color: var(--white);
}
.ep-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ep-icon { font-size: 2rem; }
.ep-header h3 { font-size: 1.2rem; font-weight: 800; color: var(--yellow); }
.ep-list { list-style: none; margin-bottom: 20px; }
.ep-list li {
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .95rem; color: rgba(255,255,255,.8);
}
.ep-response {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  padding: 16px; background: rgba(245,166,35,.1); border-radius: 10px;
}
.ep-response-number { font-size: 3rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.ep-response-text { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.3; }

/* ---- Urgency Section ---- */
.urgency-section { padding: 80px 20px; background: var(--off-white); }
.urgency-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 1000px; margin: 0 auto;
}
.urgency-card { padding: 36px; border-radius: 16px; }
.urgency-danger {
  background: #fef2f2; border: 2px solid #fecaca;
}
.urgency-safe {
  background: #f0fdf4; border: 2px solid #bbf7d0;
}
.urgency-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; color: var(--black); }
.urgency-card ul { list-style: none; margin-bottom: 16px; }
.urgency-card ul li {
  padding: 8px 0; padding-left: 24px; position: relative; font-size: .95rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.urgency-danger ul li::before { content: '&#10060;'; position: absolute; left: 0; }
.urgency-danger ul li::before { content: '\2716'; color: var(--red); }
.urgency-safe ul li::before { content: '\2714'; color: var(--green); position: absolute; left: 0; }
.urgency-footnote { font-size: .9rem; color: var(--red); font-weight: 600; font-style: italic; }

/* ---- Checklist ---- */
.checklist-section { padding: 80px 20px; background: var(--black); }
.checklist-inner { max-width: 1000px; margin: 0 auto; }
.checklist-inner h2 { color: var(--yellow); font-size: 2rem; font-weight: 900; text-align: center; margin-bottom: 48px; }
.checklist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.check-item {
  display: flex; gap: 16px; padding: 24px; background: var(--black-light);
  border-radius: 12px; border: 1px solid rgba(255,255,255,.06);
}
.check-icon { font-size: 1.5rem; flex-shrink: 0; }
.check-item h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.check-item p { color: rgba(255,255,255,.6); font-size: .9rem; }

/* ---- Services ---- */
.services-section { padding: 80px 20px; background: var(--off-white); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; max-width: 1120px; margin: 0 auto;
}
.service-card {
  background: var(--white); border-radius: 12px; padding: 28px;
  transition: .25s; position: relative; overflow: hidden; border: 1px solid #e5e7eb;
}
.service-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.08); transform: translateY(-3px); }
.service-stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-dark));
}
.service-card h3 { font-size: 1.15rem; color: var(--black); margin-bottom: 8px; font-weight: 700; }
.service-card p { color: var(--text-light); font-size: .95rem; }

/* ---- Split Section ---- */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 1120px; margin: 0 auto;
  gap: 0;
}
.split-card { padding: 60px 48px; }
.split-residential { background: var(--yellow-pale); }
.split-commercial { background: var(--black); color: var(--white); }
.split-label {
  display: inline-block; font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 12px;
}
.split-residential .split-label { color: var(--yellow-dark); }
.split-commercial .split-label { color: var(--yellow); }
.split-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.split-card p { font-size: .95rem; margin-bottom: 20px; opacity: .85; }
.split-card ul { list-style: none; margin-bottom: 24px; }
.split-card ul li { padding: 6px 0; font-size: .95rem; padding-left: 22px; position: relative; }
.split-residential ul li::before { content: '&#9889;'; position: absolute; left: 0; }
.split-residential ul li::before { content: '\26A1'; }
.split-commercial ul li::before { content: '\26A1'; color: var(--yellow); position: absolute; left: 0; }
.split-commercial .split-card p { color: rgba(255,255,255,.7); }

/* ---- Testimonials ---- */
.testimonials-section { padding: 80px 20px; background: var(--white); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; max-width: 1120px; margin: 0 auto;
}
.testimonial-card {
  background: var(--off-white); border-radius: 12px; padding: 28px;
  border-bottom: 4px solid var(--yellow);
}
.tc-stars { color: var(--yellow); font-size: 1.3rem; margin-bottom: 14px; }
.testimonial-card blockquote { font-size: 1.02rem; margin-bottom: 16px; line-height: 1.7; font-style: normal; }
.tc-author { font-size: .9rem; }
.tc-author strong { color: var(--black); }

/* ---- Coverage ---- */
.coverage-section { padding: 80px 20px; background: var(--black); color: var(--white); }
.coverage-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.coverage-inner h2 { color: var(--yellow); font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.coverage-inner > p { color: rgba(255,255,255,.6); margin-bottom: 40px; }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.coverage-col h4 { color: var(--yellow); font-size: 1rem; margin-bottom: 12px; }
.coverage-col ul { list-style: none; }
.coverage-col li { padding: 6px 0; font-size: .9rem; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.06); }

/* ---- CTA Banner ---- */
.cta-banner { background: var(--yellow); padding: 60px 20px; }
.cta-inner {
  max-width: 900px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.cta-text h2 { font-size: 2rem; font-weight: 900; color: var(--black); margin-bottom: 6px; }
.cta-text p { font-size: 1.05rem; color: rgba(0,0,0,.7); }

/* ---- Footer ---- */
footer { background: var(--black); color: var(--white); padding: 48px 20px 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  max-width: 1120px; margin: 0 auto;
}
.footer-brand p { opacity: .6; margin-top: 10px; font-size: .9rem; line-height: 1.6; }
.footer-col h4 { margin-bottom: 14px; font-size: .95rem; font-weight: 700; color: var(--yellow); }
.footer-col a { display: block; opacity: .6; margin-bottom: 8px; font-size: .9rem; transition: .2s; }
.footer-col a:hover { opacity: 1; color: var(--yellow); }
.footer-address { opacity: .4; font-size: .85rem; line-height: 1.5; }
.footer-bottom {
  max-width: 1120px; margin: 36px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; font-size: .85rem; opacity: .5;
}

/* ---- Shared Page Styles ---- */
.about-section { padding: 70px 20px; }
.about-inner { max-width: 1120px; margin: 0 auto; display: flex; gap: 50px; align-items: center; }
.about-photo {
  width: 280px; height: 280px; border-radius: 50%; flex-shrink: 0;
  background: var(--light-gray); display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--black); border: 5px solid var(--yellow);
}
.about-text h2 { font-size: 2rem; color: var(--black); margin-bottom: 16px; }
.about-text p { margin-bottom: 14px; color: var(--text-light); font-size: 1.05rem; line-height: 1.8; }

.services-detail { padding: 70px 20px; }
.service-detail-card {
  max-width: 1120px; margin: 0 auto 32px;
  background: var(--white); border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 36px; display: flex; gap: 32px; align-items: flex-start;
}
.service-detail-card .service-icon {
  font-size: 2.4rem; width: 64px; height: 64px; border-radius: 12px;
  background: var(--light-gray); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-detail-card h3 { font-size: 1.3rem; color: var(--black); margin-bottom: 8px; }
.service-detail-card p { color: var(--text-light); margin-bottom: 10px; }
.price-badge {
  display: inline-block; background: var(--yellow); color: var(--black);
  padding: 4px 14px; border-radius: 20px; font-size: .85rem; font-weight: 700;
}

.contact-section { padding: 70px 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1120px; margin: 0 auto; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; margin-top: 18px; color: var(--black); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { margin-top: 22px; width: 100%; text-align: center; border: none; }
.contact-info h3 { color: var(--black); font-size: 1.3rem; margin-bottom: 18px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ci-icon { font-size: 1.4rem; margin-top: 2px; }
.contact-info-item strong { display: block; color: var(--black); }
.contact-info-item span { color: var(--text-light); font-size: .95rem; }
.map-placeholder {
  width: 100%; aspect-ratio: 16/10; background: var(--light-gray);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--text-light); margin-top: 24px; border: 1px solid #e5e7eb; overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-text p { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .urgency-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    padding: 20px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .hero-text h1 { font-size: 2.2rem; }
  .header-top-inner { justify-content: center; text-align: center; }
  .split-card { padding: 40px 24px; }
  .about-inner { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .service-detail-card { flex-direction: column; }
}
