/* ================================================
   BEE GUY — Custom Styles
   Bee & Wasp Removal | Hartford, WI
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;800&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font:inherit;cursor:pointer;border:none;background:none}

/* ---- Custom Properties ---- */
:root {
  --font-heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --bg: #f7f4ef;
  --bg-alt: #eee9df;
  --bg-card: #ffffff;
  --bg-dark: #2c2418;
  --text: #2c2418;
  --text-muted: #6b5d4d;
  --text-faint: #a39684;
  --primary: #c47b1a;
  --primary-rgb: 196,123,26;
  --primary-light: #f0d9a8;
  --accent: #4a7c72;
  --accent-light: #d4e5e1;
  --border: #d4cbbe;
  --border-light: #e8e2d8;
  --radius: 0.375rem;
  --container: 1140px;
  --transition: 0.3s ease;
}

html.dark {
  --bg: #1a1612;
  --bg-alt: #231e18;
  --bg-card: #2c2418;
  --bg-dark: #0f0d0a;
  --text: #ede8df;
  --text-muted: #a89b89;
  --text-faint: #6b5d4d;
  --primary: #d9922e;
  --primary-rgb: 217,146,46;
  --primary-light: #3d2e14;
  --accent: #6aad9f;
  --accent-light: #1e3330;
  --border: #3d3428;
  --border-light: #2c2418;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  letter-spacing: 0.005em;
  color: var(--text);
  background: var(--bg);
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased; padding-bottom: 2.25rem; }

h1,h2,h3,h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2.2vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 600; }
h4 { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); font-weight: 600; }

p { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

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

.label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  padding: 0.625rem 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  transition: color var(--transition);
}
.nav__logo span { color: var(--primary); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--primary); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--bg);
  background: var(--primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  transition: opacity var(--transition);
}
.nav__cta:hover { opacity: 0.9; }
.nav__cta svg { width: 16px; height: 16px; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Dark hero overrides */
.has-dark-hero .site-header:not(.scrolled) .nav__logo,
.has-dark-hero .site-header:not(.scrolled) .nav__link { color: #fff; }
.has-dark-hero .site-header:not(.scrolled) .theme-toggle { color: #fff; }
.has-dark-hero .site-header:not(.scrolled) .nav__hamburger span { background: #fff; }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: color var(--transition);
  border-radius: 50%;
}
.theme-toggle:hover { color: var(--primary); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: block; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    gap: 1rem;
  }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }
  .nav__cta-wrapper { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 6rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(44,36,24,0.75) 0%, rgba(44,36,24,0.4) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__sub {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  max-width: 36rem;
  margin-bottom: 2rem;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: #fff;
  background: var(--primary);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: opacity var(--transition);
  min-height: 48px;
}
.hero__cta:hover { opacity: 0.9; }
.hero__cta svg { width: 20px; height: 20px; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 1rem 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-bar__divider {
  width: 1px;
  height: 1rem;
  background: rgba(255,255,255,0.2);
}
@media (max-width: 600px) {
  .trust-bar__divider { display: none; }
  .trust-bar__inner { flex-direction: column; gap: 0.5rem; }
}

/* ---- Sections ---- */
.section {
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
}
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.9);
}
.section--dark .label { color: var(--primary); }
.section--dark h2 { color: #fff; }
.section__header {
  margin-bottom: 3rem;
}
.section__header p {
  color: var(--text-muted);
  max-width: 38rem;
  margin-top: 0.75rem;
}

/* ---- Services (staggered 2-col) ---- */
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.service-item:nth-child(even) { direction: rtl; }
.service-item:nth-child(even) > * { direction: ltr; }
.service-item:last-child { margin-bottom: 0; }
.service-item__img {
  border-radius: var(--radius);
  overflow: hidden;
}
.service-item__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-item__content h3 { margin-bottom: 1rem; }
@media (max-width: 768px) {
  .service-item { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-item:nth-child(even) { direction: ltr; }
}

/* ---- About (asymmetric split) ---- */
.about-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: start;
}
.about-split__img {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  left: -1.5rem;
}
.about-split__img img {
  width: calc(100% + 1.5rem);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-split__content h2 { margin-bottom: 1.5rem; }
@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split__img { left: 0; }
  .about-split__img img { width: 100%; aspect-ratio: 16/9; }
}

/* ---- How It Works (vertical timeline) ---- */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--border);
}
.timeline__step {
  position: relative;
  margin-bottom: 3rem;
}
.timeline__step:last-child { margin-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -2.375rem;
  top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg);
}
html.dark .timeline__dot { border-color: var(--bg); }
.timeline__step h4 { margin-bottom: 0.5rem; color: var(--text); }
.timeline__step p { color: var(--text-muted); }

/* ---- Service Area ---- */
.service-area__cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 720px;
  margin: 2rem auto 1.5rem;
  text-align: center;
}
.service-area__city {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.service-area__note {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}
@media (max-width: 480px) {
  .service-area__cities { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Testimonials ---- */
.testimonial {
  max-width: 42rem;
}
.testimonial__quote {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}
.testimonial__quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -0.25rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.testimonial__attr {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 2rem;
}
.testimonials-list { display: flex; flex-direction: column; gap: 3rem; }

/* ---- Emergency CTA ---- */
.emergency-cta {
  text-align: center;
  padding: clamp(4rem, 3rem + 4vw, 6rem) 0;
}
.emergency-cta h2 { color: #fff; margin-bottom: 1rem; }
.emergency-cta p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 32rem; margin-left: auto; margin-right: auto; }
.emergency-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--bg-dark);
  background: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  transition: opacity var(--transition);
  min-height: 48px;
}
.emergency-cta .btn:hover { opacity: 0.9; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: opacity var(--transition);
  min-height: 48px;
}
.btn-primary:hover { opacity: 0.9; }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 6rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer__brand .nav__logo { color: #fff; margin-bottom: 1rem; display: inline-block; }
.footer__brand p { font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1rem; max-width: 280px; }
.footer__credit {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
}
.footer__credit a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer__col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer__col a {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.625rem;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---- Disclaimer Bar ---- */
.disclaimer-bar {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  z-index: 200;
}
html.dark .disclaimer-bar { background: var(--bg-alt); }

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  min-height: 48px;
  transition: opacity var(--transition);
}
.form-submit:hover { opacity: 0.9; }
.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  display: none;
}
.form-message.success { display: block; background: var(--accent-light); color: var(--accent); }
.form-message.error { display: block; background: #fde8e8; color: #b91c1c; }

.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-info__item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); margin-top: 0.2rem; }
.contact-info__item span { color: var(--text-muted); }

/* ---- Service Detail Pages ---- */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--bg-alt);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); max-width: 38rem; }

.content-section { max-width: 42rem; }
.content-section h2 { margin-bottom: 1.5rem; margin-top: 2.5rem; }
.content-section ul { margin: 1rem 0 1.5rem 1.25rem; }
.content-section li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
.content-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 42rem; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
}
.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-faint);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-answer p { color: var(--text-muted); }

/* ---- CTA Band ---- */
.cta-band {
  background: var(--primary);
  padding: 3rem 0;
  text-align: center;
}
.cta-band h3 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.cta-band .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  min-height: 48px;
  transition: opacity var(--transition);
}
.cta-band .btn:hover { opacity: 0.9; }

/* ---- Hexagon Divider ---- */
.hex-divider {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 2rem 0;
}
.hex-divider span {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--border);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-divider span:nth-child(2),
.hex-divider span:nth-child(5),
.hex-divider span:nth-child(8) { transform: translateY(3px); }
.hex-divider span:nth-child(4),
.hex-divider span:nth-child(7) { transform: translateY(-2px); }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Values Grid ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.value-card h4 { margin-bottom: 0.5rem; }
.value-card p { color: var(--text-muted); font-size: 0.9375rem; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }

/* ---- About Page ---- */
.about-content { max-width: 42rem; }
.about-content h2 { margin: 2rem 0 1rem; }

/* ---- Whimsy Animations ---- */
@media (prefers-reduced-motion: no-preference) {
  .hex-divider span {
    animation: hex-pulse 2.4s ease-in-out infinite alternate;
  }
  .hex-divider span:nth-child(2) { animation-delay: 0.2s; }
  .hex-divider span:nth-child(3) { animation-delay: 0.4s; }
  .hex-divider span:nth-child(4) { animation-delay: 0.6s; }
  .hex-divider span:nth-child(5) { animation-delay: 0.8s; }

  @keyframes hex-pulse {
    0% { transform: translateY(var(--hex-y, 0)) scale(1); opacity: 0.6; }
    100% { transform: translateY(var(--hex-y, 0)) scale(1.25); opacity: 1; }
  }

  .timeline__dot {
    animation: dot-glow 3s ease-in-out infinite alternate;
  }

  @keyframes dot-glow {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 0 8px 3px rgba(var(--primary-rgb), 0.35); }
  }
}
