/* ============================================================
   C.F. Darcy Electric, Inc. — wicked fast redesign
   Palette: deep navy / steel / amber (electrical-trade identity)
   Fonts: Oswald (headings, industrial condensed) + Inter (body)
   ============================================================ */

:root {
  --navy: #0b1e33;
  --navy-deep: #071426;
  --steel: #4a5b70;
  --steel-light: #eef1f5;
  --amber: #f5a623;
  --amber-deep: #d6870a;
  --red-brand: #c62828;
  --off-white: #f7f8fa;
  --ink: #12202f;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.65;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Oswald', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber-deep);
}

a { text-decoration: none; }

.btn-amber {
  background: var(--amber);
  border: 2px solid var(--amber);
  color: var(--navy-deep);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.btn-amber:hover {
  background: transparent;
  color: var(--amber);
}

.btn-outline-light-custom {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: var(--navy-deep);
  padding: 0.55rem 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.25);
}

.navbar-wfw .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-chip {
  background: #fdfdfd;
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo-chip img { height: 34px; width: auto; display: block; }

.brand-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--amber);
}

.navbar-wfw .nav-link {
  color: #dfe6ee !important;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
}
.navbar-wfw .nav-link:hover { color: var(--amber) !important; }

.nav-call-btn {
  background: var(--red-brand);
  color: #fff !important;
  border-radius: 3px;
  padding: 0.5rem 1.1rem !important;
  margin-left: 0.4rem;
}
.nav-call-btn:hover { background: #a71f1f; color: #fff !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center/cover no-repeat;
  padding-top: 90px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(7,20,38,0.55) 0%, rgba(7,20,38,0.15) 100%),
              linear-gradient(to bottom, rgba(7,20,38,0.55) 0%, rgba(7,20,38,0.35) 45%, rgba(7,20,38,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(7,20,38,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 8px;
}

.hero-eyebrow {
  color: var(--amber);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0.6rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #f1f4f8;
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  color: var(--amber);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Section basics ---------- */
section { padding: 5.5rem 0; }
.section-navy { background: var(--navy); color: #fff; }
.section-steel { background: var(--steel-light); }

.section-heading { margin-bottom: 3rem; }
.section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 0.35rem 0 0;
}
.section-navy .eyebrow { color: var(--amber); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--navy-deep);
  color: #fff;
}
.stat-cell {
  text-align: center;
  padding: 1.25rem 1rem;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.stat-cell:first-child { border-left: none; }
.stat-cell i { font-size: 1.9rem; color: var(--amber); margin-bottom: 0.5rem; display: block; }
.stat-cell .stat-num { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 600; }
.stat-cell .stat-label { font-size: 0.78rem; letter-spacing: 0.05em; color: #c3cbd6; text-transform: uppercase; }

/* ---------- About ---------- */
.about-photo {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11,30,51,0.18);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.team-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11,30,51,0.08);
  height: 100%;
}
.team-card img { width: 100%; aspect-ratio: 5/4; object-fit: cover; display: block; }
.team-card .team-body { padding: 1.25rem 1.4rem; }
.team-card h4 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.team-card .team-role { color: var(--amber-deep); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.team-card p { font-size: 0.92rem; color: var(--steel); margin: 0; }

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1rem;
}
.badge-strip img { height: 58px; width: auto; border-radius: 6px; background: #fff; padding: 4px; }
.badge-strip a { display: inline-flex; }

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.75rem;
  height: 100%;
  border-top: 3px solid var(--amber);
  box-shadow: 0 6px 20px rgba(11,30,51,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,30,51,0.12); }
.service-card .service-icon {
  width: 54px; height: 54px;
  background: var(--navy);
  color: var(--amber);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card .service-lead { font-size: 0.9rem; color: var(--steel); margin-bottom: 1.1rem; }
.service-card ul { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; color: var(--steel); }
.service-card ul li { padding: 0.28rem 0; border-bottom: 1px dashed #e3e7ec; }
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li::before { content: "\2022"; color: var(--amber-deep); font-weight: 700; margin-right: 0.5rem; }

@media (min-width: 576px) {
  .service-card ul.two-col { column-count: 2; column-gap: 1.5rem; }
  .service-card ul.two-col li { break-inside: avoid; }
}

.service-accent-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11,30,51,0.18);
  height: 100%;
  min-height: 220px;
}
.service-accent-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.9rem 1.6rem;
  height: 100%;
  box-shadow: 0 6px 18px rgba(11,30,51,0.07);
  position: relative;
}
.testimonial-card i.bi-quote { color: var(--amber); font-size: 1.6rem; }
.testimonial-card p.quote-text { font-style: italic; color: var(--ink); font-size: 0.95rem; margin: 0.75rem 0 1rem; }
.testimonial-card .quote-author { font-family: 'Oswald', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--steel); }

.testimonial-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: 8px;
  padding: 1.9rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.testimonial-cta i { color: var(--amber); font-size: 1.8rem; margin-bottom: 0.6rem; }
.testimonial-cta h4 { font-size: 1.05rem; margin-bottom: 0.9rem; }

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(11,30,51,0.1);
  margin-bottom: 1.5rem;
}
.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 2rem;
}

/* ---------- Service area pills ---------- */
.town-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid #dde3ea;
  color: var(--navy);
  font-size: 0.82rem;
  padding: 0.4rem 0.95rem;
  border-radius: 30px;
  margin: 0.25rem;
}

/* ---------- Contact / Location ---------- */
.contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.25rem;
  box-shadow: 0 10px 26px rgba(11,30,51,0.08);
  height: 100%;
}
.contact-card .contact-row { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-card .contact-row i { color: var(--amber-deep); font-size: 1.3rem; width: 28px; flex-shrink: 0; }
.contact-card .contact-row strong { display: block; font-family: 'Oswald', sans-serif; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-card .contact-row a { color: var(--ink); }
.contact-card .contact-row a:hover { color: var(--amber-deep); }

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(11,30,51,0.08);
  height: 100%;
  min-height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: #c3cbd6;
  padding: 3.5rem 0 1.5rem;
}
footer.site-footer .footer-logo-chip {
  background: #fdfdfd;
  border-radius: 6px;
  display: inline-flex;
  padding: 8px 12px;
  margin-bottom: 1rem;
}
footer.site-footer .footer-logo-chip img { height: 40px; width: auto; display: block; }
footer.site-footer h5 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}
footer.site-footer a.footer-link { color: #c3cbd6; display: block; margin-bottom: 0.55rem; font-size: 0.92rem; }
footer.site-footer a.footer-link:hover { color: var(--amber); }
footer.site-footer .license-line { font-size: 0.82rem; color: #8b97a8; }
footer.site-footer .powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--amber);
  padding: 0.55rem 1.1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1rem;
}
footer.site-footer .powered-by:hover { background: rgba(245,166,35,0.22); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #7d879670;
  color: #8b97a8;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  section { padding: 3.75rem 0; }
  .stat-cell { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); padding: 1.5rem 1rem; }
  .stat-cell:first-child { border-top: none; }
  .hero-content { padding: 1.75rem 1.25rem; }
  .badge-strip { justify-content: center; }
}
