/* Summit Electric - High Impact Demo */
:root {
  --primary: #0f172a;
  --primary-mid: #1e293b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.header {
  background: var(--primary);
  color: white;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover, .nav a.active { color: white; }

.btn-call {
  background: var(--accent);
  color: #0f172a !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-call:hover { background: var(--accent-hover); }

.hero {
  background: var(--primary);
  color: white;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px 60px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 420px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #0f172a;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245,158,11,0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.why-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.1);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 46px;
  height: 46px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.trust-bar {
  background: var(--primary);
  color: white;
  padding: 26px 20px;
  text-align: center;
}

.trust-bar p {
  margin: 0;
  font-size: 1.05rem;
}

.trust-bar strong {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.contact-info p {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--accent-hover);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover { text-decoration: underline; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 300px;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-small {
  margin-top: 6px;
  opacity: 0.55;
  font-size: 0.8rem;
}

.password-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 20px;
}

.password-box {
  background: white;
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.password-box .logo-icon {
  margin: 0 auto 18px;
}

.password-box h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.password-box p {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.password-box input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
}

.password-box button {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #0f172a;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.password-box button:hover { background: var(--accent-hover); }

.error-msg {
  color: #dc2626;
  font-size: 0.9rem;
  margin-top: 12px;
  display: none;
}

@media (max-width: 800px) {
  .nav { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text {
    padding: 50px 20px;
  }
  .hero-image {
    height: 280px;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
}
