/* ============================================
   KNOXVILLE EV CHARGER
   Palette: Tennessee Valley green + limestone + river blue
   Inspired by: Great Smoky foothills, Tennessee River, limestone bluffs
   Fonts: Playfair Display + Source Sans 3
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --navy:        #1a3a1a;
  --navy-mid:    #2a5a2a;
  --navy-light:  #3a7a3a;
  --amber:       #2a5a7a;
  --amber-light: #3a6a8a;
  --limestone:   #c8b89a;
  --river:       #2a5a7a;
  --white:       #ffffff;
  --off-white:   #f5f2ec;
  --gray-light:  #e2dcd0;
  --gray-mid:    #8a8070;
  --gray-dark:   #4a4235;
  --text:        #1a1a10;
  --text-light:  #4a4235;
  --green:       #1a4a1a;
  --red:         #8a2020;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --max-w:   1100px;
  --radius:  6px;
  --shadow:  0 2px 12px rgba(26,58,26,0.10);
  --shadow-lg: 0 8px 32px rgba(26,58,26,0.18);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
p  { margin-bottom: 1.1rem; color: var(--text-light); }
p:last-child { margin-bottom: 0; }
a  { color: var(--river); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--limestone); }
strong { color: var(--text); font-weight: 600; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section--gray { background: var(--off-white); }
.nav { background: var(--navy); padding: 0 1.5rem; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,0.25); }
.nav__inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__logo { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); text-decoration: none; }
.nav__logo span { color: var(--limestone); }
.nav__links { display: flex; gap: 2rem; list-style: none; }
.nav__links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--limestone); }
.nav__cta { background: var(--river) !important; color: var(--white) !important; padding: 0.45rem 1.1rem; border-radius: var(--radius); font-weight: 600 !important; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; }

/* HERO */
.hero { background: var(--navy); padding: 3rem 1.5rem 0; position: relative; overflow: hidden; }
.hero__svg { position: absolute; bottom: 0; left: 0; right: 0; pointer-events: none; }
.hero__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; position: relative; z-index: 1; padding-bottom: 140px; }
.hero__eyebrow { display: inline-block; background: rgba(200,184,154,0.15); color: var(--limestone); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1.2rem; border: 1px solid rgba(200,184,154,0.3); }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--limestone); font-style: normal; }
.hero__sub { color: rgba(255,255,255,0.72); font-size: 1.1rem; margin-bottom: 2rem; }
.hero__trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.hero__trust-item::before { content: '✓'; color: var(--limestone); font-weight: 700; }
.form-card { background: var(--white); border-radius: 10px; padding: 1.5rem; box-shadow: var(--shadow-lg); }
.form-card__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin-bottom: 0.4rem; }
.form-card__sub { font-size: 0.85rem; color: var(--gray-mid); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-dark); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input, .form-group select { width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid var(--gray-light); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--text); background: var(--white); transition: border-color 0.2s; appearance: none; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--river); }
.btn { display: inline-block; padding: 0.8rem 1.6rem; border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; text-decoration: none; text-align: center; transition: all 0.2s; }
.btn--primary { background: var(--river); color: var(--white); width: 100%; }
.btn--primary:hover { background: var(--amber-light); color: var(--white); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--amber { background: var(--river); color: var(--white); font-weight: 700; padding: 0.9rem 2rem; font-size: 1.05rem; }
.form-card__disclaimer { font-size: 0.75rem; color: var(--gray-mid); margin-top: 0.75rem; text-align: center; }
.trust-bar { background: var(--off-white); border-bottom: 1px solid var(--gray-light); padding: 1rem 1.5rem; }
.trust-bar__inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-bar__item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 500; color: var(--gray-dark); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header__eyebrow { display: inline-block; color: var(--river); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; }
.section-header p { max-width: 580px; margin: 0.75rem auto 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 1.5px solid var(--gray-light); border-radius: 10px; padding: 1.75rem; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; text-decoration: none; display: block; color: inherit; }
.card:hover { border-color: var(--river); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card__icon { font-size: 1.8rem; margin-bottom: 1rem; }
.card__title { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-bottom: 0.5rem; }
.card__desc { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.card__arrow { display: inline-block; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--river); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-light); padding: 1.25rem 0; }
.faq-question { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; list-style: none; padding: 0; background: none; border: none; width: 100%; text-align: left; }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--limestone); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; padding-top: 0.75rem; }
.faq-answer p { font-size: 0.95rem; }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.location-chip { display: block; text-align: center; padding: 1rem; background: var(--white); border: 1.5px solid var(--gray-light); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 500; font-size: 0.9rem; transition: all 0.2s; }
.location-chip:hover { border-color: var(--river); background: rgba(42,90,122,0.05); color: var(--navy); }
.alert { padding: 0.9rem 1.2rem; border-radius: var(--radius); font-size: 0.9rem; display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 2rem; }
.alert--warning { background: rgba(200,184,154,0.15); border-left: 3px solid var(--limestone); color: var(--text); }
.alert--info { background: rgba(42,90,122,0.07); border-left: 3px solid var(--river); color: var(--text); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1.5px solid var(--gray-light); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { background: var(--navy); color: var(--white); padding: 0.75rem 1rem; text-align: left; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-light); color: var(--text-light); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--off-white); }
td strong { color: var(--navy); }
.steps { list-style: none; }
.step { display: flex; gap: 1.25rem; margin-bottom: 2rem; align-items: flex-start; }
.step__num { flex-shrink: 0; width: 2.2rem; height: 2.2rem; background: var(--navy); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; margin-top: 0.15rem; }
.step__body h4 { color: var(--navy); margin-bottom: 0.3rem; }
.step__body p { margin: 0; font-size: 0.95rem; }
.cta-section { background: var(--navy); padding: 4rem 1.5rem; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 2rem; }
.article-wrap { max-width: var(--max-w); margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: flex-start; }
.article-header { margin-bottom: 2.5rem; }
.article-header__eyebrow { display: inline-block; color: var(--river); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
.article-header__meta { font-size: 0.82rem; color: var(--gray-mid); margin-top: 0.75rem; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; padding-top: 0.5rem; border-top: 2px solid var(--gray-light); }
.article-body h3 { margin-top: 1.75rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.article-body li { margin-bottom: 0.4rem; color: var(--text-light); font-size: 0.97rem; }
.sidebar { position: sticky; top: 84px; }
.sidebar-card { background: var(--off-white); border: 1.5px solid var(--gray-light); border-radius: 10px; padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card__title { font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--navy); margin-bottom: 1rem; }
.sidebar-card ul { list-style: none; }
.sidebar-card ul li { margin-bottom: 0.6rem; }
.sidebar-card ul li a { font-size: 0.88rem; color: var(--river); text-decoration: none; }
.sidebar-card ul li a:hover { color: var(--navy); }
.sidebar-cta { background: var(--navy); border-radius: 10px; padding: 1.5rem; text-align: center; }
.sidebar-cta p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-bottom: 1rem; }
.sidebar-cta h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 3rem 1.5rem 2rem; }
.footer__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer__brand p { font-size: 0.88rem; margin-top: 0.75rem; line-height: 1.6; color: rgba(255,255,255,0.75); }
.footer__logo { font-family: var(--font-display); font-size: 1.1rem; color: white; }
.footer__logo span { color: var(--limestone); }
.footer__col h4 { color: white; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 1rem; }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 0.5rem; }
.footer__col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer__col ul li a:hover { color: var(--limestone); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-bottom: 110px; }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 600px) {
  .hero { padding: 2.5rem 1.25rem 0; }
  .section { padding: 2.5rem 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}
