/*
Theme Name: EV Charger Installation Houston
Theme URI: https://example.com
Author: Your Company
Author URI: https://example.com
Description: Premium local-electrical-contractor style WordPress theme for an EV charger installation business serving Houston, TX. Built around a Service → Expertise → Process → Cost → Trust → Location → FAQ → Contact homepage structure, with a deep-navy / restrained-green design system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ev-houston
Tags: custom-colors, custom-menu, threaded-comments, translation-ready, one-column, footer-widgets

This theme is a custom build implementing the "EV Charger Installation Houston"
homepage + design blueprint (Service/Expertise/Process/Cost/Trust/Location/FAQ/Contact
structure, navy + electric-green design system, Manrope/Inter typography).
*/

/* =========================================================
   0. Google Fonts (Manrope for headings, Inter for body)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;650;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* =========================================================
   1. Design tokens
   ========================================================= */
:root{
  /* Colors */
  --navy: #0B1F33;
  --deep-navy: #071521;
  --green: #18A66A;
  --green-dark: #129457;
  --blue: #2563EB;
  --bg-light: #F5F8FA;
  --bg-blue-light: #EEF5F8;
  --white: #FFFFFF;
  --text: #17202A;
  --muted: #667085;
  --border: #E4E9EE;
  --success: #16A34A;

  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radius */
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-img: 14px;
  --radius-input: 8px;

  /* Spacing (desktop) */
  --space-section: 90px;
  --space-hero: 110px;
  --space-card: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11,31,51,0.06);
  --shadow-md: 0 12px 28px rgba(11,31,51,0.10);
}

@media (max-width: 782px){
  :root{
    --space-section: 60px;
    --space-hero: 64px;
    --space-card: 16px;
  }
}

/* =========================================================
   2. Reset & base
   ========================================================= */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; border-radius: var(--radius-img); }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-heading);
  color: var(--navy);
  margin:0 0 16px;
  line-height:1.2;
}
h1{ font-weight:700; }
h2{ font-weight:700; font-size: clamp(28px,3.4vw,40px); }
h3{ font-weight:650; font-size:20px; }
p{ margin:0 0 16px; color: var(--text); }
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: var(--space-section) 0; }
.section--light{ background: var(--bg-light); }
.section--blue-light{ background: var(--bg-blue-light); }
.section--navy{ background: var(--navy); color:#fff; }
.section--navy h2, .section--navy h3{ color:#fff; }
.section--deep-navy{ background: var(--deep-navy); color:#fff; }
.eyebrow{
  display:inline-block;
  font-family: var(--font-body);
  font-weight:600;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: var(--green);
  margin-bottom:10px;
}
.section-head{ max-width:720px; margin-bottom:44px; }
.section-head p{ color: var(--muted); font-size:17px; }
.section-head--center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
  cursor:pointer;
  transition: background .2s ease, transform .15s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--green); color:#fff; }
.btn-primary:hover{ background: var(--green-dark); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.5); color:#fff; }
.btn-outline:hover{ border-color:#fff; background: rgba(255,255,255,.08); }
.btn-outline-navy{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color:#fff; }
.btn-link{ color: var(--green); font-weight:600; }
.btn-link:hover{ text-decoration: underline; }

/* Grid helpers */
.grid{ display:grid; gap: var(--space-card); }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
.grid-6{ grid-template-columns: repeat(6,1fr); }
@media (max-width:980px){
  .grid-3,.grid-4,.grid-6{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width:600px){
  .grid-2,.grid-3,.grid-4,.grid-6{ grid-template-columns: 1fr; }
}

/* Reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(15px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* =========================================================
   3. Header
   ========================================================= */
.site-header{
  position: sticky;
  top:0;
  z-index:100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom:1px solid var(--border);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:78px;
}
.site-logo{
  font-family: var(--font-heading);
  font-weight:700;
  font-size:19px;
  color: var(--navy);
  display:flex;
  align-items:center;
  gap:8px;
}
.site-logo span{ color: var(--green); }
.main-nav ul{ display:flex; gap:30px; }
.main-nav a{
  font-weight:600;
  font-size:14.5px;
  color: var(--text);
  transition: color .2s ease;
}
.main-nav a:hover{ color: var(--green); }
.header-actions{ display:flex; align-items:center; gap:18px; }
.header-phone{ font-weight:600; font-size:14.5px; color: var(--navy); display:flex; align-items:center; gap:6px; }
.menu-toggle{ display:none; background:none; border:none; cursor:pointer; }
@media (max-width: 900px){
  .main-nav{ display:none; }
  .header-phone span.label{ display:none; }
  .menu-toggle{ display:block; }
}

/* Mobile nav drawer */
.mobile-nav{
  display:none;
  flex-direction:column;
  background:#fff;
  border-bottom:1px solid var(--border);
  padding: 8px 24px 20px;
}
.mobile-nav.is-open{ display:flex; }
.mobile-nav a{ padding:10px 0; font-weight:600; border-bottom:1px solid var(--border); }

/* =========================================================
   4. Hero
   ========================================================= */
.hero{
  position:relative;
  background: linear-gradient(180deg, rgba(7,21,33,.86), rgba(7,21,33,.78)),
              url('assets/img/hero-installation.svg') center/cover no-repeat;
  background-color: var(--deep-navy);
  color:#fff;
  padding: var(--space-hero) 0;
}
.hero .container{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:50px;
  align-items:center;
}
.hero h1{
  color:#fff;
  font-size: clamp(38px,5vw,58px);
  margin-bottom:20px;
}
.hero h1 em{ color: var(--green); font-style:normal; }
.hero p.lede{ font-size:18px; color:#D9E2EA; max-width:520px; margin-bottom:28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:26px; }
.hero-trustline{ font-size:13.5px; color:#B7C3CE; letter-spacing:.02em; }
.hero-photo{
  border-radius: var(--radius-img);
  overflow:hidden;
  box-shadow: var(--shadow-md);
  min-height:340px;
  background: url('assets/img/hero-installation.svg') center/cover no-repeat, var(--navy);
}
@media (max-width:900px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-photo{ order:-1; min-height:220px; }
}

/* Trust strip */
.trust-strip{ background: var(--deep-navy); padding: 22px 0; }
.trust-strip ul{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:34px;
  color:#EAF0F4;
  font-size:14px;
  font-weight:600;
}
.trust-strip li{ display:flex; align-items:center; gap:8px; }
.trust-strip li::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background: var(--green);
  display:inline-block;
}

/* =========================================================
   5. Cards (services / why / choose-us / guides)
   ========================================================= */
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius-card);
  padding:28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon{
  width:46px;height:46px;
  border-radius:10px;
  background: rgba(24,166,106,.1);
  color: var(--green);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;
  font-size:22px;
}
.card h3{ margin-bottom:8px; font-size:19px; }
.card p{ color: var(--muted); font-size:15px; margin-bottom:14px; }
.card .learn{ font-weight:600; color: var(--green); font-size:14px; }

/* Services asymmetric grid */
.services-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:24px; }
@media (max-width:700px){ .services-grid{ grid-template-columns:1fr; } }

/* =========================================================
   6. Why professional (checklist layout)
   ========================================================= */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
  align-items:center;
}
@media (max-width:850px){ .split{ grid-template-columns:1fr; gap:30px; } }
.checklist li{
  display:flex; align-items:flex-start; gap:12px;
  padding:12px 0; border-bottom:1px solid var(--border);
  font-weight:600; color: var(--navy);
}
.checklist li:last-child{ border-bottom:none; }
.checklist li::before{
  content:"✓";
  flex:0 0 24px; height:24px; width:24px;
  border-radius:50%;
  background: var(--green);
  color:#fff;
  font-size:13px;
  display:flex;align-items:center;justify-content:center;
}

/* =========================================================
   7. Process timeline
   ========================================================= */
.process{ background: var(--navy); color:#fff; }
.timeline{
  display:grid;
  grid-template-columns: repeat(6,1fr);
  gap:20px;
  margin-top:20px;
}
@media (max-width:980px){ .timeline{ grid-template-columns: repeat(3,1fr);} }
@media (max-width:600px){ .timeline{ grid-template-columns: 1fr;} }
.timeline-step{ position:relative; padding-top:8px; }
.timeline-step .num{
  width:38px;height:38px;border-radius:50%;
  background: var(--green);
  color:#fff; font-weight:700; font-family:var(--font-heading);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.timeline-step h4{ color:#fff; font-family:var(--font-heading); font-size:16px; margin-bottom:6px; }
.timeline-step p{ color:#B7C3CE; font-size:14px; margin-bottom:0; }

/* =========================================================
   8. Charger types
   ========================================================= */
.charger-types{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width:850px){ .charger-types{ grid-template-columns:1fr; } }
.charger-card{
  border:1px solid var(--border);
  border-radius: var(--radius-card);
  padding:30px 26px;
  background:#fff;
}
.charger-card.featured{ border-color: var(--green); box-shadow: var(--shadow-md); position:relative; }
.charger-card .tag{
  display:inline-block; font-size:12px; font-weight:700;
  color: var(--green); text-transform:uppercase; letter-spacing:.05em;
  margin-bottom:10px;
}
.charger-card h3{ font-size:22px; margin-bottom:8px; }

/* =========================================================
   9. Cost / panel checklist panels
   ========================================================= */
.factor-list li{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 0; font-weight:600; color: var(--navy); font-size:15px;
}
.factor-list li::before{ content:"✓"; color: var(--green); font-weight:800; }

.stage-line{ position:relative; padding-left:28px; margin-top:20px; }
.stage-line::before{
  content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background: var(--green);
}
.stage{ position:relative; margin-bottom:26px; }
.stage:last-child{ margin-bottom:0; }
.stage::before{
  content:""; position:absolute; left:-28px; top:2px;
  width:18px;height:18px;border-radius:50%; background:#fff; border:3px solid var(--green);
}
.stage h4{ font-family:var(--font-heading); color:var(--navy); font-size:16px; margin-bottom:4px; }
.stage p{ color: var(--muted); font-size:14.5px; margin-bottom:0; }

table.cost-table{ width:100%; border-collapse:collapse; margin-top:10px; }
table.cost-table th, table.cost-table td{
  text-align:left; padding:12px 14px; border-bottom:1px solid var(--border); font-size:14.5px;
}
table.cost-table th{ color: var(--navy); font-family:var(--font-heading); }
table.cost-table td{ color: var(--muted); }

/* =========================================================
   10. Brands grid
   ========================================================= */
.brand-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap:18px; margin-top:24px;
}
@media (max-width:700px){ .brand-grid{ grid-template-columns: repeat(2,1fr);} }
.brand-item{
  border:1px solid var(--border); border-radius: var(--radius-card);
  padding:22px; text-align:center; font-weight:700; color: var(--muted);
  font-family: var(--font-heading);
  background:#fff;
  transition: color .2s ease, border-color .2s ease;
}
.brand-item:hover{ color: var(--navy); border-color: var(--green); }

/* =========================================================
   11. Permits (dark info panel)
   ========================================================= */
.permits-panel{
  display:grid; grid-template-columns: 90px 1fr; gap:30px; align-items:flex-start;
}
@media (max-width:700px){ .permits-panel{ grid-template-columns:1fr; } }
.permits-panel .icon-lg{
  width:64px;height:64px;border-radius:14px;
  background: rgba(24,166,106,.14); color: var(--green);
  display:flex; align-items:center; justify-content:center; font-size:30px;
}
.reviewed-badge{
  display:inline-block; margin-top:14px; font-size:13px; color:#9FB1BE;
  border:1px solid rgba(255,255,255,.2); padding:6px 12px; border-radius:20px;
}

/* =========================================================
   12. Why choose us (numbered)
   ========================================================= */
.numbered-list{ display:grid; grid-template-columns: repeat(3,1fr); gap:30px; }
@media (max-width:850px){ .numbered-list{ grid-template-columns: 1fr 1fr; } }
@media (max-width:600px){ .numbered-list{ grid-template-columns: 1fr; } }
.numbered-item .n{
  font-family: var(--font-heading); font-weight:800; font-size:28px; color: rgba(24,166,106,.35);
  margin-bottom:6px;
}
.numbered-item h4{ font-family: var(--font-heading); color: var(--navy); font-size:17px; margin-bottom:6px; }
.numbered-item p{ color: var(--muted); font-size:14.5px; margin-bottom:0; }

/* =========================================================
   13. Projects masonry-ish
   ========================================================= */
.projects-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap:20px;
}
.projects-grid .project{ position:relative; border-radius: var(--radius-img); overflow:hidden; min-height:220px; background: var(--bg-light) center/cover no-repeat; }
.projects-grid .project.large{ grid-row: span 2; min-height:460px; }
.project .overlay{
  position:absolute; left:0; right:0; bottom:0; padding:16px 18px;
  background: linear-gradient(180deg, transparent, rgba(7,21,33,.85));
  color:#fff;
}
.project .overlay .loc{ font-size:12.5px; color:#B7C3CE; }
.project .overlay .type{ font-weight:700; font-family: var(--font-heading); }
@media (max-width:900px){
  .projects-grid{ grid-template-columns: 1fr 1fr; }
  .projects-grid .project.large{ grid-column: span 2; min-height:280px; }
}
@media (max-width:600px){
  .projects-grid{ grid-template-columns: 1fr; }
  .projects-grid .project.large{ grid-column: auto; }
}

/* =========================================================
   14. Reviews
   ========================================================= */
.review-card{ background:#fff; border:1px solid var(--border); border-radius: var(--radius-card); padding:26px; }
.review-card .stars{ color: var(--green); letter-spacing:2px; margin-bottom:10px; }
.review-card .who{ margin-top:14px; font-weight:700; color: var(--navy); font-family: var(--font-heading); font-size:14.5px; }
.review-card .where{ color: var(--muted); font-size:13px; }
.review-card .source{ color: var(--green); font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; margin-top:4px; }

/* =========================================================
   15. Service areas
   ========================================================= */
.area-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; margin-top:20px; }
@media (max-width:700px){ .area-grid{ grid-template-columns: repeat(2,1fr); } }
.area-item{
  border:1px solid var(--border); border-radius:10px; padding:16px; text-align:center;
  font-weight:600; color: var(--navy); background:#fff; transition: border-color .2s ease, color .2s ease;
}
.area-item:hover{ border-color: var(--green); color: var(--green); }
.area-note{ text-align:center; margin-top:26px; color: var(--muted); font-size:14.5px; }

/* =========================================================
   16. Guides
   ========================================================= */
.guides-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width:850px){ .guides-grid{ grid-template-columns:1fr; } }
.guide-card{ border:1px solid var(--border); border-radius: var(--radius-card); overflow:hidden; background:#fff; }
.guide-card .thumb{ height:170px; background: var(--bg-light) center/cover no-repeat; border-radius:0; }
.guide-card .body{ padding:22px; }
.guide-card h3{ font-size:17px; margin-bottom:8px; }
.guide-card p{ color: var(--muted); font-size:14px; margin-bottom:14px; }

/* =========================================================
   17. FAQ accordion
   ========================================================= */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:20px 0; font-family: var(--font-heading); font-weight:650; font-size:17px;
  color: var(--navy); display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-q .plus{ font-size:22px; color: var(--green); transition: transform .25s ease; flex:0 0 auto; }
.faq-item.is-open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-a p{ color: var(--muted); padding-bottom:18px; font-size:15px; margin:0; }

/* =========================================================
   18. Final CTA
   ========================================================= */
.final-cta{ text-align:center; }
.final-cta h2{ color:#fff; max-width:640px; margin:0 auto 14px; }
.final-cta p{ color:#C6D2DB; max-width:560px; margin:0 auto 30px; }
.final-cta .actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-bottom:20px; }
.final-cta .served{ color:#9FB1BE; font-size:14px; }

/* =========================================================
   19. Footer
   ========================================================= */
.site-footer{ background: var(--deep-navy); color:#C6D2DB; padding: 64px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap:36px; margin-bottom:46px; }
@media (max-width:1050px){ .footer-grid{ grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width:700px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:460px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h4{ color:#fff; font-family: var(--font-heading); font-size:14px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; }
.footer-grid li{ margin-bottom:10px; font-size:14.5px; }
.footer-grid a:hover{ color: var(--green); }
.footer-brand{ font-family: var(--font-heading); font-weight:700; color:#fff; font-size:19px; margin-bottom:10px; }
.footer-brand span{ color: var(--green); }
.footer-contact li{ font-size:14.5px; margin-bottom:8px; color:#C6D2DB; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:13px; color:#8FA1AE;
}
.footer-bottom ul{ display:flex; gap:18px; }
.footer-bottom a:hover{ color:#fff; }

/* =========================================================
   20. Mobile sticky call/quote bar
   ========================================================= */
.mobile-sticky-bar{
  display:none;
  position:fixed; left:0; right:0; bottom:0; z-index:200;
  background: var(--navy);
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}
.mobile-sticky-bar .row{ display:flex; }
.mobile-sticky-bar a{
  flex:1; text-align:center; padding:16px 8px; font-weight:700; font-size:14.5px; color:#fff;
}
.mobile-sticky-bar a.call{ background: var(--deep-navy); }
.mobile-sticky-bar a.quote{ background: var(--green); }
@media (max-width: 782px){
  .mobile-sticky-bar{ display:block; }
  body{ padding-bottom:56px; }
}
