:root {
  --accent: #176b40;
  --dark: #1f2933;
  --light: #f8f9fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 1rem;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* NAV */
nav.site-nav {
  background: var(--light);
  border-bottom: 1px solid #ddd;
}
.nav-inner {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.75rem 1rem;
  flex-wrap: wrap;
}
.nav-inner a {
  color: var(--dark);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}
.nav-inner a:hover,
.nav-inner a.active {
  color: var(--accent);
}

/* HEADER */
header {
  background: var(--light);
  padding: 3rem 0;
  border-bottom: 4px solid var(--accent);
  text-align: center;
}

header h1 { margin-bottom: 0.5rem; font-size: 2.1rem; }
header .tagline { color: var(--accent); font-weight: bold; font-size: 1.1rem; margin: 0 0 0.5rem; }
header p { font-size: 1.1rem; margin-bottom: 1.5rem; }

.cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn { background: var(--accent); color: #fff; padding: 0.6rem 1.1rem; border-radius: 4px; font-weight: bold; border: 2px solid #fff; text-decoration: none; }

/* REFERRAL BOX */
.referral-box {
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  background: #fff;
}
.referral-box h3 { color: var(--accent); margin-top: 0; }
.referral-box a { color: var(--accent); font-weight: bold; text-decoration: none; }

/* PAGE INTRO (subpages) */
.page-intro { padding: 2.5rem 0; }
.page-intro h2 { margin-top: 0; }

/* SERVICES */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.services-heading { text-align: center; }

.card { border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fff; }
.card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-body { padding: 1rem; }
.card-body ul { padding-left: 1.2rem; margin: 0.75rem 0 0; }
.card-body li { margin-bottom: 0.35rem; }

/* FAQ */
.faq-heading { text-align: center; margin-top: 2.5rem; }
.faq { max-width: 700px; margin: 0 auto; }
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { color: var(--accent); margin-bottom: 0.35rem; }
.faq-item p { margin: 0; }

/* REVIEWS */
.reviews iframe { width: 100%; height: 450px; border: none; }

.reviews-heading { text-align: center; }

.reviews-status { text-align: center; color: #666; }

.reviews-summary {
  text-align: center;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.reviews-stars { color: #f5a623; letter-spacing: 1px; }

.reviews-carousel {
  position: relative;
  padding: 0 2.5rem;
}

.reviews-cards {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.reviews-cards::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 90%;
  max-width: 360px;
  min-height: 420px;
  scroll-snap-align: start;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 480px) {
  .review-card { flex-basis: 360px; }
}
.review-card .review-stars { color: #f5a623; letter-spacing: 1px; margin-bottom: 0.5rem; }
.review-card .review-text {
  flex: 1;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 14;
  overflow: hidden;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #eee;
  padding-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}
.review-meta .review-author { font-weight: bold; color: var(--dark); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--dark);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.carousel-btn:hover { background: var(--light); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.reviews-link { margin-top: 0.75rem; margin-bottom: 20px; text-align: center; }
.reviews-link a { color: var(--accent); font-weight: bold; text-decoration: none; }
.reviews-link .arrow {
  display: inline-block;
  margin-left: 4px;
  position: relative;
  top: -2px;
  font-weight: 900;
  text-shadow: 0.6px 0 currentColor, -0.6px 0 currentColor, 0 0.6px currentColor;
}

/* CONTACT / INFO BLOCKS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.info-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1.25rem;
  background: #fff;
  text-align: center;
}
.info-card h3 { margin-top: 0; color: var(--accent); }
.info-card p { overflow-wrap: break-word; }
.info-card a { color: var(--accent); text-decoration: none; font-weight: bold; }
.info-card a:hover { text-decoration: underline; }

/* BOTTOM CTA */
.bottom-cta {
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0;
  text-align: center;
}

.bottom-cta .cta-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.bottom-cta .cta-content h2,
.bottom-cta .cta-content p { margin: 0; }

.bottom-cta .cta-button-row {
  width: 100%;
  display: flex;
  justify-content: center;
}

.bottom-cta .copilot-request-container {
  flex: 2 1 400px;
  text-align: center;
  margin-top: 1rem;
}

#ctaCallBtn {
  background: rgba(255,255,255,0.95);
  color: var(--accent);
  border: 2px solid #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* STICKY BUTTON */
.sticky-btn {
  display: none;
  background: rgba(255,255,255,0.95);
  color: var(--accent);
  border: 2px solid #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
  z-index: 999;
}

/* VISITS WIDGET (desktop only) */
.visits-widget {
  display: none;
  position: fixed;
  left: 14px;
  bottom: 14px;
  background: rgba(31, 41, 51, 0.9);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8rem;
  text-align: center;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.visits-widget .visits-count {
  display: block;
  font-size: 1.15rem;
  font-weight: bold;
}
.visits-widget .visits-label { color: #ccc; }

@media (min-width: 900px) {
  .visits-widget { display: block; }
}

footer {
  background: #111;
  color: #ccc;
  padding: 1.5rem 0;
  text-align: center;
}
.social-links {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}
.social-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.6rem;
  font-weight: bold;
}
.social-links a:hover { text-decoration: underline; }

.footer-links {
  margin: 0.5rem 0 0;
  padding: 0 1rem;
  font-size: 0.75rem;
}
.footer-links a {
  color: #999;
  text-decoration: none;
  margin: 0 0.5rem;
}
.footer-links a:hover {
  color: #ccc;
  text-decoration: underline;
}