/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   PENTASTAR ELECTRICAL — Redesigned 2026
   ============================================================ */

:root {
  --navy:   #0d1b2a;
  --gold:   #f0a500;
  --gold-h: #d8920a;
  --white:  #ffffff;
  --light:  #f4f7fb;
  --text:   #1e293b;
  --muted:  #64748b;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --trans:  all 0.22s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--light);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--trans);
}
a:hover { color: var(--gold-h); }

img { max-width: 100%; height: auto; display: block; }

/* ===== HELPERS ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn, .btn-outline {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn {
  background: var(--gold);
  color: var(--navy);
}
.btn:hover {
  background: var(--gold-h);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240,165,0,0.35);
}

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--navy);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-star {
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

.logo-text {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
}

.logo-text em {
  font-style: normal;
  color: var(--gold);
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ===== NAV ===== */
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.site-nav ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: var(--trans);
}

.site-nav ul li a:hover,
.site-nav ul li.active a {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-nav {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.25rem !important;
}
.btn-nav:hover {
  background: var(--gold-h) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--trans);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: var(--navy);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-banner h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-image: url('/assets/images/pentastar-image-1.webp');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(13,27,42,0.88) 0%,
    rgba(13,27,42,0.55) 60%,
    rgba(13,27,42,0.30) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.4);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.trust-item .trust-icon {
  font-size: 1.25rem;
  color: var(--gold);
}

/* ===== SERVICES ===== */
.services-section {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: var(--trans);
}
.service-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== ABOUT TEASER ===== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  line-height: 1.1;
  box-shadow: 0 8px 24px rgba(240,165,0,0.4);
}
.about-badge .badge-num {
  display: block;
  font-size: 2.5rem;
}
.about-badge .badge-text {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-size: 1.025rem;
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 2rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.45rem 0;
  font-size: 0.975rem;
  color: var(--text);
  font-weight: 500;
}
.checklist li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/services.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.cta-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  text-align: center;
}
.cta-inner h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-inner p {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-phone {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  display: block;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.cta-phone a { color: var(--gold); }
.cta-phone a:hover { color: #fff; }

/* ===== INNER PAGE CONTENT ===== */
.page-content {
  padding: 4rem 0 5rem;
}

.prose {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow);
  max-width: 820px;
}

.prose h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-size: 1.025rem;
}

.prose ul, .prose ol {
  margin: 0.5rem 0 1.25rem 1.5rem;
}
.prose li {
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.prose strong { color: var(--text); }

.prose a { color: var(--gold); }

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light);
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light);
}
.contact-item:last-child { border-bottom: none; }

.contact-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item-body dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-item-body dd {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}
.contact-item-body dd a {
  color: var(--gold);
  font-weight: 600;
}

.contact-cta {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: sticky;
  top: 104px;
}
.contact-cta h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}
.contact-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.contact-cta .big-number {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
  margin: 1.25rem 0;
  letter-spacing: 0.02em;
}
.contact-cta .big-number a { color: var(--gold); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-star { font-size: 1.3rem; }
.footer-logo .logo-text { font-size: 0.9rem; }

.footer-blurb {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.social-link {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
}
.social-link:hover { color: #fff; }

.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col address {
  font-size: 0.875rem;
  line-height: 1.8;
  font-style: normal;
  color: rgba(255,255,255,0.6);
}

.footer-phone {
  font-size: 1.25rem !important;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
}
.footer-phone a, .footer-col a {
  color: rgba(255,255,255,0.75);
}
.footer-phone a:hover, .footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 1.25rem 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-badge {
    right: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-cta {
    position: static;
  }
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 87px;
    left: 0; right: 0;
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero { min-height: 100svh; background-attachment: scroll; }

  .prose { padding: 2rem 1.5rem; }

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

  .about-image-wrap img { height: 280px; }
  .about-badge { bottom: -1rem; right: 0.5rem; }

  .section { padding: 3.5rem 0; }
}
