/*
Theme Name:  Low Cost Power
Theme URI:   https://mylowcostpower.com
Author:      Low Cost Power
Description: Custom WordPress theme for mylowcostpower.com. Compatible with Elementor.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: lcp-theme
*/

/* ============================================================
   LOW COST POWER — SHARED DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

:root {
  --blue:        #1a4fa0;
  --blue-dark:   #0f3272;
  --blue-mid:    #2060c0;
  --blue-light:  #e8f0fc;
  --blue-xlight: #f2f6fd;
  --green:       #3aaa5e;
  --green-dark:  #2d8a4a;
  --green-light: #edf8f2;
  --orange:      #f07d2a;
  --orange-dark: #d96b1e;
  --orange-light:#fff4ec;
  --gray-900:    #0f172a;
  --gray-800:    #1e293b;
  --gray-700:    #374151;
  --gray-600:    #4b5563;
  --gray-500:    #6b7280;
  --gray-400:    #9ca3af;
  --gray-200:    #e5e7eb;
  --gray-100:    #f3f4f6;
  --gray-50:     #f9fafb;
  --white:       #ffffff;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { transition: color 0.2s; }

h1, h2, h3, h4, h5 {
  font-family: 'Lexend', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 5%; }
section { padding: 88px 5%; }

/* ── TYPOGRAPHY HELPERS ── */
.section-label {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.section-title span { color: var(--blue); }
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 15px 34px;
  border-radius: var(--radius-md);
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(240,125,42,0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,125,42,0.4);
  color: var(--white);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--blue);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: background 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── NAVIGATION ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo img, .custom-logo-link img { height: 77px !important; width: auto !important; max-width: none !important; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  display: block;
}
.nav-links a:hover { background: var(--blue-xlight); color: var(--blue); }
/* WordPress current page classes */
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links a.active {
  color: var(--blue);
  font-weight: 600;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  font-family: 'Lexend', sans-serif;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-dark) !important; color: var(--white) !important; }
.nav-phone {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}
.nav-phone a { color: var(--gray-700); text-decoration: none; font-weight: 600; }

/* ── FOOTER ── */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.55);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 5% 48px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 38px; filter: brightness(0) invert(0.8); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Lexend', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 5%;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 12px; }
.footer-bottom-links a:hover { color: white; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── BADGES ── */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Lexend', sans-serif;
  letter-spacing: 0.06em;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: var(--green-light); color: var(--green-dark); }
.badge-orange { background: var(--orange-light); color: var(--orange-dark); }

/* ── TRUST BAR ── */
.trust-bar {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
}
.trust-item::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(58,170,94,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #6cdea0;
  flex-shrink: 0;
  line-height: 20px;
  text-align: center;
}

/* ── PAGE HERO (shared across inner pages) ── */
.page-hero {
  background: linear-gradient(140deg, #0b2554 0%, #1a4fa0 60%, #1a6e45 100%);
  color: white;
  padding: 80px 5% 72px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; opacity: 0.82; max-width: 600px; margin: 0 auto 28px; }
.breadcrumb { font-size: 13px; opacity: 0.6; margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: white; }

/* ── CTA STRIP (shared) ── */
.cta-strip {
  background: linear-gradient(135deg, #0b2554, #1a4fa0);
  color: white;
  text-align: center;
  padding: 80px 5%;
}
.cta-strip h2 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.cta-strip p { opacity: 0.8; font-size: 1.05rem; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.cta-trust span { font-size: 13px; opacity: 0.65; }
.cta-trust span::before { content: '✓ '; color: #6cdea0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 64px 5%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .nav-phone { display: none; }
}
@media (max-width: 600px) {
  .nav-inner { flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 4px; flex-wrap: wrap; }
  .nav-links a { font-size: 13px; padding: 6px 10px; }
}
