/* ============================================
   TULSA EV CHARGER INSTALLATION
   Design: Clean utilitarian — trust-first
   Palette: Deep navy + electric amber accent
   Fonts: DM Serif Display + DM Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --navy:        #001f5b;
  --navy-mid:    #003595;
  --navy-light:  #1a4db0;
  --amber:       #c4a862;
  --amber-light: #d0b787;
  --white:       #ffffff;
  --off-white:   #f7f6f2;
  --gray-light:  #e5e2d9;
  --gray-mid:    #9a9488;
  --gray-dark:   #4a4640;
  --text:        #1a1714;
  --text-light:  #4a4640;
  --green:       #1a6b45;
  --red:         #ce0e2d;

  --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(0,31,91,0.10);
  --shadow-lg: 0 8px 32px rgba(0,31,91,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;
}

/* ---- TYPOGRAPHY ---- */
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(--navy-mid); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--amber); }
strong { color: var(--text); font-weight: 600; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section--gray { background: var(--off-white); }
.section--navy { background: var(--navy); }

/* ---- NAVIGATION ---- */
.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;
  letter-spacing: -0.01em;
}
.nav__logo span { color: var(--amber); }
.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(--amber); }
.nav__cta {
  background: var(--amber);
  color: var(--navy) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--amber-light) !important; color: var(--navy) !important; }

/* Mobile nav */
.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; transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  background: var(--navy);
  padding: 2.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  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;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  color: var(--amber);
  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(245,158,11,0.3);
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--amber); 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(--amber); font-weight: 700; }

/* ---- LEAD FORM CARD ---- */
.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,
.form-group textarea {
  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,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
}
.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(--amber);
  color: var(--navy);
  width: 100%;
}
.btn--primary:hover { background: var(--amber-light); color: var(--navy); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,158,11,0.35); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.form-card__disclaimer { font-size: 0.75rem; color: var(--gray-mid); margin-top: 0.75rem; text-align: center; }

/* ---- TRUST BAR ---- */
.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);
}
.trust-bar__icon { font-size: 1rem; }

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header__eyebrow {
  display: inline-block;
  color: var(--amber);
  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; }

/* ---- SERVICE CARDS ---- */
.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(--navy-mid);
  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(--navy-mid); }

/* ---- FAQ SNIPPET ---- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.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(--amber); 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 ---- */
.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(--amber); background: rgba(245,158,11,0.05); color: var(--navy); }

/* ---- ALERT BANNER ---- */
.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(245,158,11,0.1); border-left: 3px solid var(--amber); color: var(--text); }
.alert--info    { background: rgba(26,48,87,0.07); border-left: 3px solid var(--navy-mid); color: var(--text); }
.alert__icon { flex-shrink: 0; font-size: 1rem; }

/* ---- TABLE ---- */
.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 ---- */
.steps { counter-reset: step; list-style: none; }
.step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  counter-increment: step;
  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 ---- */
.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; }
.btn--amber { background: var(--amber); color: var(--navy); font-weight: 700; padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn--amber:hover { background: var(--amber-light); color: var(--navy); transform: translateY(-1px); }

/* ---- ARTICLE LAYOUT (guides/faqs) ---- */
.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(--amber);
  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; }
.article-body a { color: var(--navy-mid); }

/* Sidebar */
.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(--navy-mid); text-decoration: none; }
.sidebar-card ul li a:hover { color: var(--amber); }
.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 ---- */
.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(--amber); }
.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(--amber); }
.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;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .form-card { max-width: 480px; }
  .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: 3rem 1.25rem; }
  .section { padding: 2.5rem 0; }
  .trust-bar__inner { gap: 1.25rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; }
}
