/* Shared layout for SEO interior pages — Energy Advocate Carolinas */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0a1f3c;
  --navy2: #0f2d54;
  --green: #1a7a45;
  --green2: #22a05a;
  --mint: #d0f0e0;
  --white: #f8faf8;
  --gray: #4a5568;
  --light: #eef4f0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light);
  color: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
}
.skip-link {
  position: absolute; left: -9999px; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--green2); color: #fff;
  font-weight: 600; font-size: 0.9rem; text-decoration: none; border-radius: 6px;
}
.skip-link:focus { left: 1rem; top: 1rem; outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.5); }
a:focus-visible { outline: 2px solid var(--green2); outline-offset: 3px; }
nav a:focus-visible { outline-color: #fff; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(10,31,60,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.05rem;
  color: #fff; letter-spacing: 0.01em;
  line-height: 1.2; text-decoration: none;
}
.nav-logo span { color: var(--green2); }
.nav-links { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none; font-size: 0.82rem;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; font-weight: 600; }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 0.55rem 1.1rem; border-radius: 6px;
  font-weight: 600 !important; font-size: 0.82rem !important;
}
.nav-cta:hover { background: var(--green2) !important; }
.nav-toggle {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.nav-burger {
  display: none; cursor: pointer; padding: 0.35rem 0.5rem;
  border-radius: 6px; border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; border-radius: 1px;
}

.seo-page { padding: 6.5rem 5vw 4rem; max-width: 720px; margin: 0 auto; }
.seo-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.seo-lead { font-size: 1rem; color: var(--gray); margin-bottom: 1.5rem; line-height: 1.7; }
.seo-page h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}
.seo-page h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy2);
  margin: 1.25rem 0 0.5rem;
}
.seo-page p { margin-bottom: 1rem; color: var(--navy); }
.seo-page ul, .seo-page ol { margin: 0.5rem 0 1rem 1.35rem; color: var(--navy); }
.seo-page li { margin-bottom: 0.35rem; }
.seo-page a { color: var(--green); font-weight: 600; text-decoration: none; }
.seo-page a:hover { text-decoration: underline; }
.seo-page strong { color: var(--navy2); }
.seo-internal { background: #fff; border: 1px solid rgba(10,31,60,0.08); border-radius: 10px; padding: 1.25rem 1.35rem; margin: 2rem 0; }
.seo-internal h2 { margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); }
.seo-internal ul { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.seo-internal li { margin-bottom: 0.5rem; }

.faq-section { margin: 2rem 0; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(10,31,60,0.08);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.faq-item p { font-size: 0.95rem; color: var(--gray); margin: 0; }

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy2);
  margin: 1rem 0 0.35rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(10,31,60,0.15);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  margin-top: 1.25rem;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}
.contact-form button:hover { background: var(--green2); }
.map-wrap {
  margin: 1.5rem 0 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(10,31,60,0.1);
}
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

footer {
  background: var(--navy); padding: 3rem 5vw;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap;
}
.footer-brand .nav-logo { font-size: 1rem; margin-bottom: 0.6rem; display: inline-block; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 280px; }
.footer-links h5 {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.4); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

@media (max-width: 1100px) {
  .nav-links { gap: 0.65rem; }
  .nav-links a { font-size: 0.78rem; }
}
@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-links {
    display: none; position: fixed; top: 56px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: 1rem 5vw 1.25rem;
    background: rgba(10,31,60,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 0.75rem;
    z-index: 99;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-cta { text-align: center; }
}
