/* Reno EV Charger — shared stylesheet */
:root {
  --navy: #0A1F3D;
  --deep-blue: #0D47A1;
  --pine: #0284C7;
  --pine-light: #38BDF8;
  --sand: #E0F2FE;
  --wood: #22D3EE;
  --white: #FFFFFF;
  --off-white: #F0F7FC;
  --text: #0F172A;
  --muted: #475569;
  --energy: #10B981;
  --energy-dark: #059669;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(10, 31, 61, 0.12);
  --max: 1120px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--pine); }
h1, h2, h3 { line-height: 1.25; color: var(--navy); margin: 0 0 0.6em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h); padding: 0.5rem 0;
  flex-wrap: wrap;
}
.logo {
  color: var(--white); text-decoration: none; font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.01em;
}
.logo span { color: var(--wood); font-weight: 500; display: block; font-size: 0.72rem; }
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.nav a {
  color: var(--sand); text-decoration: none; font-size: 0.92rem; font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.phone-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--energy); color: var(--white) !important;
  font-weight: 700; text-decoration: none !important;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  font-size: 0.95rem; white-space: nowrap;
}
.phone-cta:hover { background: var(--energy-dark); color: var(--white) !important; }

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 50%, #0369A1 100%);
  color: var(--white); padding: 2.5rem 0 3rem; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(34,211,238,0.22), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(16,185,129,0.2), transparent 35%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-media {
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
  background: rgba(255,255,255,0.08);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-media figcaption {
  padding: 0.45rem 0.75rem;
  color: var(--sand);
  background: rgba(10,31,61,0.72);
  font-size: 0.82rem;
}
.hero-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.hero h1 { color: var(--white); margin-bottom: 0.5em; }
.hero .lead { font-size: 1.1rem; color: var(--sand); max-width: 36rem; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0;
  padding: 0; list-style: none;
}
.hero-badges li {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.85rem;
}
.hero-phone {
  margin-top: 1.25rem; font-size: 1.45rem;
}
.hero-phone a {
  color: var(--white); font-weight: 800; text-decoration: none;
  border-bottom: 3px solid var(--wood);
}
.hero-phone a:hover { color: var(--sand); }
.price-banner {
  display: inline-block; margin-top: 1rem;
  background: rgba(16,185,129,0.2); border: 1px solid rgba(16,185,129,0.45);
  padding: 0.65rem 1rem; border-radius: 8px; font-size: 0.95rem; max-width: 36rem;
}

.quote-card {
  background: var(--white); color: var(--text);
  border-radius: var(--radius); padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.quote-card h2 {
  font-size: 1.2rem; margin-bottom: 0.25em; color: var(--navy);
}
.quote-card .sub {
  color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem;
}
.form-grid { display: grid; gap: 0.75rem; }
.form-grid label {
  display: grid; gap: 0.25rem; font-size: 0.88rem; font-weight: 600; color: var(--navy);
}
.form-grid input, .form-grid select, .form-grid textarea {
  font: inherit; padding: 0.55rem 0.7rem; border: 1px solid #c5d0d6;
  border-radius: 6px; background: var(--off-white); color: var(--text);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: 2px solid var(--deep-blue); outline-offset: 1px; background: var(--white);
}
.form-grid textarea { min-height: 72px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn {
  display: inline-block; border: none; cursor: pointer;
  background: var(--energy); color: var(--white);
  font-weight: 700; font-size: 1rem;
  padding: 0.7rem 1.1rem; border-radius: 8px;
  text-align: center; text-decoration: none !important;
}
.btn:hover { background: var(--energy-dark); color: var(--white) !important; }
.btn-block { width: 100%; }
.btn-outline {
  background: transparent; color: var(--navy) !important;
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white) !important; }

.section { padding: 3rem 0; }
.section-alt { background: var(--off-white); }
.section-pine { background: var(--deep-blue); color: var(--white); }
.section-pine h2, .section-pine h3 { color: var(--white); }
.section-head { margin-bottom: 1.75rem; max-width: 42rem; }
.section-head p { color: var(--muted); }
.section-pine .section-head p { color: var(--sand); }

.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #e0e6ea; padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(10,31,61,0.04);
}
.card h3 { margin: 0; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--pine); text-decoration: underline; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; flex: 1; }
.card .card-link {
  font-weight: 600; font-size: 0.9rem; color: var(--deep-blue); margin-top: 0.5rem;
}
.placeholder {
  background: linear-gradient(145deg, #bfdbfe, #a5f3fc 50%, #bbf7d0);
  border-radius: 8px; aspect-ratio: 16/10;
  display: grid; place-items: center; color: var(--navy);
  font-size: 0.85rem; font-weight: 600; text-align: center; padding: 1rem;
  border: 1px dashed rgba(10,31,61,0.25);
}
.placeholder svg { width: 48px; height: 48px; opacity: 0.5; margin-bottom: 0.35rem; }
.placeholder.has-image { padding: 0; overflow: hidden; border-style: solid; }
.placeholder.has-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.two-col {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .two-col.reverse { grid-template-columns: 0.8fr 1.2fr; }
}

.pill-list {
  display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1rem 0;
}
.pill-list li {
  background: var(--sand); color: var(--navy);
  padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}

.season-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.season-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); padding: 1.1rem;
}
.season-card h3 { color: var(--wood); margin-bottom: 0.4em; font-size: 1.05rem; }
.season-card p { margin: 0; color: var(--sand); font-size: 0.95rem; }

.benefits {
  background: var(--off-white); border-left: 4px solid var(--energy);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.benefits h3, .benefits h2 { margin-bottom: 0.5em; }
.callout {
  background: linear-gradient(90deg, rgba(16,185,129,0.1), rgba(13,71,161,0.08));
  border: 1px solid rgba(2,132,199,0.3);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.callout strong { color: var(--deep-blue); }

.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--white); border: 1px solid #e0e6ea;
  border-radius: var(--radius); padding: 1rem 1.15rem;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.faq-item p { margin: 0; color: var(--muted); }

.area-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.area-link {
  display: block; background: var(--white); border: 1px solid #e0e6ea;
  border-radius: 8px; padding: 0.85rem 1rem; text-decoration: none;
  color: var(--navy); font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.area-link:hover {
  border-color: var(--pine); box-shadow: var(--shadow); color: var(--pine);
}
.area-link small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.area-link.priority { border-color: var(--energy); background: #ecfdf5; }

.cta-band {
  background: var(--navy); color: var(--white); padding: 2.5rem 0; text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--sand); max-width: 36rem; margin: 0 auto 1.25rem; }
.cta-band .phone-big {
  font-size: 1.5rem; font-weight: 800; color: var(--white);
  text-decoration: none; border-bottom: 2px solid var(--wood);
}

.page-cta-strip {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: space-between;
  background: var(--sand); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.page-cta-strip .phone-inline {
  font-size: 1.25rem; font-weight: 800; color: var(--navy); text-decoration: none;
}

.breadcrumb {
  font-size: 0.88rem; color: var(--muted); padding: 1rem 0 0;
}
.breadcrumb a { color: var(--deep-blue); }
.breadcrumb span { margin: 0 0.35rem; color: #adb5bd; }

.site-footer {
  background: var(--navy); color: var(--sand); padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.75em; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4em; }
.footer-phone {
  font-size: 1.2rem; font-weight: 800; color: var(--white) !important;
  display: inline-block; margin: 0.5rem 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between; color: rgba(224,242,254,0.7); font-size: 0.85rem;
}

.note { font-size: 0.88rem; color: var(--muted); }
.prose { max-width: 42rem; }


.agent-box {
  background: var(--sand);
  border: 1px solid rgba(10,31,61,0.12);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
.agent-box h3 { font-size: 1rem; margin-bottom: 0.4em; }
.agent-box code, .agent-box a code {
  font-size: 0.85em;
  background: rgba(10,31,61,0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.agent-box ul { margin: 0.4em 0 0; padding-left: 1.2em; }
.book-layout {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}
@media (max-width: 860px) {
  .book-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { width: 100%; order: 3; gap: 0.5rem 0.85rem; }
  .header-inner { padding-bottom: 0.75rem; }
}
