/* ===== Shared Microsite CSS — Works for ALL Evansville Pro microsites ===== */
/* Colors are set per-site via CSS custom properties in each HTML file's <style> block */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Default values — overridden by each site's inline :root block */
  --primary: #2DB3A6;
  --secondary: #1A365D;
  --accent: #2DB3A6;
  --background-light: #F8F9FA;
  
  /* Shared design tokens */
  --blue-700: #0d3b8c;
  --blue-600: #1a56db;
  --blue-500: #2563eb;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --green-600: #16a34a;
  --green-50: #f0fdf4;
  --amber-500: #f59e0b;
  --red-500: #ef4444;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --max-width: 1140px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  padding-top: var(--header-h);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--gray-800); }
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

ul, ol { margin-bottom: 1rem; padding-left: 1.25rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }

.section { padding: 3rem 0; }
.section--alt { background: var(--gray-50); }
.section--blue { background: var(--secondary); color: var(--white); }
.section--blue h1, .section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue .card { color: #000; }
.section--blue .card h1, .section--blue .card h2, .section--blue .card h3, .section--blue .card h4 { color: #000; }
.section--blue .card ul, .section--blue .card ol, .section--blue .card li { color: var(--gray-700); }

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex; align-items: center;
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.header__brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.header__brand:hover { text-decoration: none; }
.header__logo {
  font-size: 1.25rem; font-weight: 700; color: var(--primary);
  text-decoration: none; line-height: 1.1;
}
.header__logo:hover { text-decoration: none; }
.header__logo span { color: var(--gray-500); font-weight: 400; font-size: .875rem; display: block; }

.header__nav {
  display: none;
  gap: 1.25rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.header__nav a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: color .15s;
}
.header__nav a:hover { color: var(--primary); text-decoration: none; }
.header__nav.is-open {
  display: flex;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.header__cta { display: flex; align-items: center; gap: .75rem; }
.header__phone {
  font-size: 1.25rem; font-weight: 700; color: var(--primary);
  text-decoration: none; white-space: nowrap;
}
.header__phone:hover { text-decoration: none; color: var(--secondary); }
.header__phone-icon { font-size: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem; font-weight: 700;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--primary:hover { background: var(--secondary); border-color: var(--secondary); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--background-light); }
.btn--white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--white:hover { background: var(--gray-100); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: rgba(255,255,255,.1); }
.btn--lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn--block { width: 100%; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
}
.hero .card { color: #000; }
.hero .card h1, .hero .card h2, .hero .card h3, .hero .card h4 { color: #000; }
.hero .card ul, .hero .card ol, .hero .card li { color: var(--gray-700); }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__title { font-size: 2.25rem; color: var(--white); margin-bottom: .75rem; }
.hero__subtitle { font-size: 1.25rem; opacity: .9; margin-bottom: 1.5rem; }
.hero__cta-group { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__phone {
  font-size: 1.75rem; font-weight: 700; color: var(--white);
  text-decoration: none; display: flex; align-items: center; gap: .5rem;
}
.hero__phone:hover { text-decoration: none; opacity: .9; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .375rem;
  background: rgba(255,255,255,.15); padding: .375rem .75rem;
  border-radius: 999px; font-size: .875rem; font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--background-light);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.trust-bar__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  text-align: center;
}
.trust-bar__item { font-size: .875rem; color: var(--gray-700); font-weight: 600; }
.trust-bar__icon { font-size: 1.5rem; display: block; margin-bottom: .25rem; }

/* ===== Cards ===== */
.cards-grid { display: grid; gap: 1.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
  color: #000;
}
.card:hover { box-shadow: var(--shadow); }
.card h1, .card h2, .card h3, .card h4 { color: #000; }
.card ul, .card ol, .card li { color: #1f2937; }
.card__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.card__title { font-size: 1.25rem; margin-bottom: .5rem; color: #000; }
.card__text { color: #1f2937; font-size: .9375rem; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1rem 0; }
.faq-item__question {
  font-size: 1.125rem; font-weight: 700; color: var(--gray-800);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; padding: .5rem 0; background: none; border: none;
  width: 100%; text-align: left; font-family: inherit;
}
.faq-item__question:hover { color: var(--primary); }
.faq-item__icon { font-size: 1.25rem; transition: transform .2s; flex-shrink: 0; margin-left: 1rem; }
.faq-item__answer { display: none; padding-top: .5rem; color: var(--gray-600); }
.faq-item.is-open .faq-item__answer { display: block; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

/* ===== Forms ===== */
.form { max-width: 600px; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; margin-bottom: .375rem; color: var(--gray-700); }
.form-control {
  width: 100%; padding: .75rem; font-size: 1rem;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-family: inherit; background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,179,166,.15); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-success {
  background: var(--green-50); border: 1px solid var(--green-600);
  color: var(--green-600); padding: 1rem; border-radius: var(--radius);
  display: none;
}
.form-success.is-visible { display: block; }

/* ===== Service Area List ===== */
.area-grid { display: grid; gap: .75rem; }
.area-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem; background: var(--background-light);
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-weight: 600; color: var(--gray-700);
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-800); color: var(--gray-300);
  padding: 3rem 0 1.5rem;
}
.footer__grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
.footer__title { color: var(--white); font-size: 1.125rem; margin-bottom: .75rem; }
.footer__text { font-size: .875rem; line-height: 1.7; }
.footer__nav a.footer__link { color: var(--blue-100); font-size: .875rem; }
.footer__nav a.footer__link:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 1.5rem; font-size: .75rem; color: var(--gray-500);
  text-align: center;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.footer__nav a { color: var(--gray-300); font-size: .875rem; }
.footer__nav a:hover { color: var(--white); text-decoration: underline; }

/* ===== Disclosure ===== */
.disclosure {
  background: var(--amber-500);
  color: #1a1a1a;
  padding: .75rem 0;
  text-align: center;
  font-size: .875rem; font-weight: 600;
}

/* ===== Page Header ===== */
.page-header {
  background: var(--background-light);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.page-header__title { font-size: 2rem; margin-bottom: .5rem; }
.page-header__subtitle { font-size: 1.125rem; color: var(--gray-600); }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: .875rem; margin-bottom: 1rem; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb span { margin: 0 .375rem; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: .5rem; }
.cta-banner p { opacity: .9; margin-bottom: 1.5rem; }
.cta-banner__phone { font-size: 2rem; font-weight: 700; color: var(--white); text-decoration: none; }
.cta-banner__phone:hover { text-decoration: none; opacity: .9; }

/* ===== Mobile Menu Toggle ===== */
.nav-toggle {
  display: block; background: none; border: none; font-size: 1.5rem;
  cursor: pointer; padding: .25rem; color: var(--gray-700);
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 2.75rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.25rem; }
}

@media (min-width: 900px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .hero__title { font-size: 3rem; }
  .header__nav { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 639px) {
  .header__phone { font-size: 1rem; }
  .header__logo { font-size: 1rem; }
  .header__logo span { font-size: .75rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero__title { font-size: 1.75rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__phone { font-size: 1.375rem; }
  .btn { padding: .625rem 1.25rem; font-size: .9375rem; }
  .btn--lg { padding: .75rem 1.5rem; font-size: 1rem; }
  .section { padding: 2rem 0; }
  .cta-banner__phone { font-size: 1.5rem; }
}

/* ===== Live Embeds (Twitch + Facebook) ===== */
.live-embeds {
  background: #f3f4f6;
  padding: 2rem 0;
  border-top: 3px solid var(--primary);
}
.live-embeds__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.live-embeds__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: #1f2937;
}
.live-embeds__frame {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.live-embeds__frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
.live-embeds__frame--fb iframe {
  height: 500px;
}
@media (min-width: 900px) {
  .live-embeds__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
  }
  .live-embeds__frame iframe {
    height: 420px;
  }
  .live-embeds__frame--fb iframe {
    height: 420px;
  }
}