/* ══════════════════════════════════════════
   RISE ELECTRICAL — pages.css
   ══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HOME — Hero
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--header-h) + 60px) 5vw 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 60%),
    var(--black);
  z-index: 0;
}

/* animated scan lines */
.hero-lines { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scanline 5s linear infinite;
  opacity: 0.25;
}
.hero-lines::before { left: 18%; height: 200px; animation-delay: 0s; }
.hero-lines::after  { left: 72%; height: 140px; animation-delay: 2.5s; }

@keyframes scanline {
  0%   { top: -200px; opacity: 0; }
  10%  { opacity: 0.25; }
  90%  { opacity: 0.25; }
  100% { top: 110%; opacity: 0; }
}

.hero-eyebrow {
  position: relative; z-index: 1;
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 40px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

.hero-title {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: 2px;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 2rem;
}
.hero-title em { font-style: normal; color: var(--gold); display: block; }

.hero-subtitle {
  position: relative; z-index: 1;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--light-grey);
  max-width: 500px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}
.hero-subtitle strong { color: var(--white); font-weight: 500; }

.hero-actions {
  position: relative; z-index: 1;
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.hero-stats {
  position: relative; z-index: 1;
  display: flex; gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-grey);
  margin-top: 4px;
}

/* ─────────────────────────────────────────
   HOME — About snapshot
───────────────────────────────────────── */
.home-about {
  background: var(--off-black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.about-card {
  background: var(--dark-grey);
  border: 1px solid var(--gold-border);
  padding: 3rem;
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gold);
}
.about-card p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.9;
  margin-bottom: 1.4rem;
}
.about-card p:last-of-type { margin-bottom: 0; }
.about-highlight { color: var(--white); font-weight: 500; }

.coverage-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.8rem; }

.about-visual-block {
  background: var(--dark-grey);
  border: 1px solid var(--gold-border);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
}
.about-visual-block::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 3px; height: 60px;
  background: var(--gold);
}
.about-logo-large {
  font-family: var(--font-display);
  font-size: 5rem;
  letter-spacing: 6px;
  color: var(--white);
  line-height: 1;
}
.about-logo-large span { color: var(--gold); }
.about-logo-sub {
  font-family: var(--font-cond);
  font-size: 1rem;
  letter-spacing: 8px;
  color: var(--light-grey);
  margin-top: 0.5rem;
  text-transform: uppercase;
}
.about-logo-email {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-cond);
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

/* ─────────────────────────────────────────
   SERVICES grid
───────────────────────────────────────── */
.services-section { background: var(--black); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}

.service-card {
  background: var(--off-black);
  padding: 2.5rem;
  position: relative;
  transition: background var(--transition);
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.service-card:hover { background: var(--dark-grey); }
.service-card:hover::after { width: 100%; }

.service-icon {
  width: 48px; height: 48px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.service-name {
  font-family: var(--font-cond);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   WHY US
───────────────────────────────────────── */
.why-section {
  background: var(--dark-grey);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.why-list { margin-top: 2rem; }

.why-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.why-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }

.why-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  min-width: 40px;
}

.why-content h4 {
  font-family: var(--font-cond);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.why-content p {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.75;
}

.why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why-stat-card {
  background: var(--mid-grey);
  border: 1px solid var(--gold-border);
  padding: 2rem 1.5rem;
  text-align: center;
}
.why-stat-card:first-child {
  grid-column: span 2;
  background: var(--gold-dim);
  border-color: rgba(201,168,76,0.3);
}
.why-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}
.why-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-grey);
  margin-top: 6px;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-section {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.contact-detail:last-of-type { border-bottom: none; }

.contact-icon {
  width: 42px; height: 42px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-detail-label {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 1rem;
  color: var(--white);
}
.contact-detail-value a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-detail-value a:hover { color: var(--gold); }

/* ── Contact form ── */
.contact-form-area {
  background: var(--off-black);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 3rem;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-grey);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-grey);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--dark-grey); }

.form-submit { margin-top: 0.5rem; }
.form-notice {
  font-size: 0.78rem;
  color: var(--light-grey);
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-cond);
  letter-spacing: 1px;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--off-black);
  padding: calc(var(--header-h) + 60px) 5vw 60px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 80px; height: 3px;
  background: var(--gold);
}

/* ── About page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: start;
}
.about-body p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.9;
  margin-bottom: 1.4rem;
}
.about-body p strong { color: var(--white); font-weight: 500; }

.team-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.team-card {
  background: var(--dark-grey);
  border: 1px solid var(--gold-border);
  padding: 2rem 1.5rem;
  text-align: center;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.team-role {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.team-phone {
  font-size: 0.9rem;
  color: var(--light-grey);
  text-decoration: none;
  transition: color var(--transition);
  display: block;
}
.team-phone:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .home-about,
  .contact-section,
  .why-grid,
  .about-grid    { grid-template-columns: 1fr; }

  .about-visual-block { display: none; }
  .why-stats-grid     { display: none; }
  .services-header    { flex-direction: column; align-items: flex-start; }
  .form-row           { grid-template-columns: 1fr; }
  .contact-form-area  { padding: 2rem; }
  .team-cards         { grid-template-columns: 1fr; }
}
