/* ==========================================================================
   VOLTCRAFT ELECTRICAL & HEAT PUMPS — STYLESHEET (4-PAGE TRADE SITE)
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --accent-spark: #f59e0b;
  --accent-cyan: #06b6d4;
  --bg-dark: #0f172a;
  --bg-dark-surface: #1e293b;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */
.top-contact-bar {
  background: var(--bg-dark);
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-left {
  display: flex;
  gap: 16px;
}

.top-bar-right a {
  color: #38bdf8;
  font-weight: 700;
}

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 21px;
  color: var(--bg-dark);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
  position: relative;
  padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--primary);
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-cta-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.header-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Page Subheaders & Heroes */
.page-hero {
  background: linear-gradient(135deg, #0b1329 0%, #172554 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Home Hero Grid */
.home-hero {
  background: linear-gradient(135deg, #0a1128 0%, #1e293b 100%);
  color: #fff;
  padding: 64px 0 80px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.home-headline {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.home-headline span {
  color: #38bdf8;
}

.home-lead {
  font-size: 1.12rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  line-height: 1.6;
}

.guarantee-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-lead {
  background: var(--accent-spark);
  color: #0f172a;
  padding: 15px 26px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
  transition: all 0.2s;
}

.btn-primary-lead:hover {
  background: #d97706;
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary-white {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 15px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
}

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

/* Quick Quote Estimator Card */
.quote-estimator-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.estimator-header h3 {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
}

.estimator-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-submit-estimate {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 6px;
}

.btn-submit-estimate:hover {
  background: var(--primary-hover);
}

/* Sections */
.section-pad {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  background: rgba(2, 132, 199, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 8px;
}

/* Services Grid & Deep-Dive Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.service-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.service-box h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0f172a;
}

.service-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.service-action-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Service Detail Cards (on services.html) */
.service-detail-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

.service-detail-info h2 {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
}

.service-features-list {
  list-style: none;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features-list li {
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li::before {
  content: "✓";
  color: #10b981;
  font-weight: 900;
}

.service-quote-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.service-quote-box h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-quote-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Heat Pump Partner Brands */
.brands-strip {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}

.brands-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.brand-badge {
  font-size: 15px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.5px;
}

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-guarantee-card {
  background: #0f172a;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.about-guarantee-card h3 {
  font-size: 24px;
  color: #38bdf8;
  margin-bottom: 12px;
}

.about-guarantee-card p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Contact Page Styles */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-panel {
  background: #0f172a;
  color: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
}

.contact-info-panel h2 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
}

.contact-detail-row {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #38bdf8;
  margin-bottom: 4px;
}

.contact-detail-item p {
  font-size: 15px;
  color: #e2e8f0;
}

/* Footer & Mobile Sticky Bar */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 32px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-col p {
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
}

/* Mobile Sticky Bar */
.sticky-mobile-lead-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-call-btn {
  background: var(--accent-spark);
  color: #0f172a;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-quote-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .home-hero-grid,
  .service-detail-card,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sticky-mobile-lead-bar {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
}

