/* ============================================================
   Mr. Tortoise — Shared Stylesheet
   ============================================================ */

:root {
  --green-dark:   #1B4332;
  --green-mid:    #2D6A4F;
  --green-light:  #40916C;
  --green-pale:   #D8F3DC;
  --orange:       #E76F51;
  --orange-dark:  #C25B3F;
  --cream:        #FAFAF7;
  --gray-100:     #F3F4F6;
  --gray-200:     #E5E7EB;
  --gray-600:     #4B5563;
  --gray-800:     #1F2937;
  --white:        #FFFFFF;
  --radius:       8px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --max-w:        1100px;
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-green { background: var(--green-mid); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }

/* ── Nav ── */
nav {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.nav-logo img {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
}
.nav-logo span { color: var(--green-pale); }

/* ── Hero logo ── */
.hero-logo {
  width: 175px;
  height: 175px;
  margin: 0 auto 28px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.4));
}

/* ── Footer logo ── */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-logo-wrap img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
}
.footer-logo-wrap h4 { margin-bottom: 0 !important; }
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.15s;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }
.nav-links .nav-cta { background: var(--orange); color: var(--white) !important; padding: 8px 14px; }
.nav-links .nav-cta:hover { background: var(--orange-dark); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: var(--white);
  padding: 80px 20px 72px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 em { font-style: normal; color: var(--green-pale); }
.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 20px;
}
.trust-inner {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
}
.trust-item .icon { font-size: 20px; }

/* ── Section ── */
section { padding: 72px 0; }
section.alt-bg { background: var(--gray-100); }
section h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-intro {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-light);
}
.card .card-icon { font-size: 36px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--gray-600); font-size: 15px; }

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
  counter-reset: steps;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 28px 72px;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 20px;
  top: 24px;
  width: 38px;
  height: 38px;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--gray-600); font-size: 14px; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-200);
  text-align: center;
  transition: box-shadow 0.2s;
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--green-mid); }
.price-card .badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.price-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.price-card .price {
  font-size: 42px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
  margin: 12px 0 4px;
}
.price-card .price-sub { color: var(--gray-600); font-size: 14px; margin-bottom: 20px; }
.price-card ul { list-style: none; text-align: left; font-size: 15px; }
.price-card ul li { padding: 6px 0; border-bottom: 1px solid var(--gray-200); display: flex; gap: 8px; }
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before { content: "✓"; color: var(--green-light); font-weight: 700; flex-shrink: 0; }

/* ── Service Area ── */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 20px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.area-card h3 { font-size: 16px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.area-card p { font-size: 13px; color: var(--gray-600); }

/* ── FAQ ── */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
details summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 22px; color: var(--green-mid); flex-shrink: 0; }
details[open] summary::after { content: "−"; }
details .faq-body { padding: 0 20px 18px; color: var(--gray-600); font-size: 15px; line-height: 1.7; }

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 72px 20px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; margin-bottom: 12px; }
.cta-band p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-band .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Audience tabs ── */
.audience-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 10px 20px;
  border-radius: 24px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--gray-600);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.audience-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--green-dark); }
.audience-card p { font-size: 14px; color: var(--gray-600); }

/* ── Counties page ── */
.county-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  color: var(--white);
  padding: 60px 20px 52px;
  text-align: center;
}
.county-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.county-hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ── Footer ── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer-col p, .footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.9; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-links { list-style: none; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 8px; }
.footer-license {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  margin-top: 6px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  background: var(--gray-100);
  padding: 10px 20px;
  font-size: 13px;
  color: var(--gray-600);
}
.breadcrumb a { color: var(--green-mid); }

/* ── Hamburger button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Mobile sticky call bar ── */
.mobile-call-bar { display: none; }
.mobile-call-btn {
  flex: 1;
  background: var(--orange);
  color: var(--white) !important;
  text-align: center;
  padding: 13px 8px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  display: block;
}
.mobile-call-btn:hover { background: var(--orange-dark); text-decoration: none !important; }
.mobile-book-btn {
  flex: 1;
  background: rgba(255,255,255,0.12);
  color: var(--white) !important;
  text-align: center;
  padding: 13px 8px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  display: block;
  border: 1px solid rgba(255,255,255,0.25);
}
.mobile-book-btn:hover { background: rgba(255,255,255,0.2); text-decoration: none !important; }

/* ── Responsive ── */
@media (max-width: 700px) {
  section { padding: 48px 0; }
  .hero { padding: 56px 20px 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Mobile nav ── */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-inner { flex-wrap: nowrap; height: 64px; padding: 0; gap: 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--green-dark);
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
    z-index: 99;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    gap: 0;
    list-style: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { font-size: 15px; padding: 11px 20px; border-radius: 0; display: block; color: rgba(255,255,255,0.88); }
  .nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }
  .nav-links .nav-cta { margin: 10px 20px 0; display: block; text-align: center; border-radius: var(--radius); padding: 12px; }
  .hero-logo { width: 110px; height: 110px; }
}

/* ── Mobile sticky call bar (show) ── */
@media (max-width: 768px) {
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 10px 16px 16px;
    background: var(--green-dark);
    border-top: 2px solid rgba(255,255,255,0.12);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    gap: 10px;
  }
  body { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .nav-logo { font-size: 17px; }
  .nav-logo img { width: 44px; height: 44px; }
  .cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .hero-logo { width: 90px; height: 90px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px; }
  .county-hero h1 { font-size: 26px; }
  .county-hero p { font-size: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .breadcrumb { font-size: 12px; }
}

/* ── Clickable phone numbers ── */
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
a[href^="tel"]:hover { text-decoration: underline; }
