/* ===================================================================
   B&B Bat Removal — shared design system (OWNED BY ORCHESTRATOR)
   Source platform: Wix. Fonts: Wix Madefor -> Poppins (headings) +
   Open Sans (body), loaded via <link> in each page <head>.
   Page subagents may ONLY append page-scoped rules below, each under a
   banner comment reading: page: <slug>
   =================================================================== */

:root {
  --green:        #299b46;
  --green-dark:   #1f7d38;
  --green-deep:   #14652c;
  --mint:         #eff5f1;
  --mint-2:       #e4efe7;
  --ink:          #1a1a1a;
  --heading:      #16221a;
  --body:         #4a4a4a;
  --muted:        #6a6a6a;
  --white:        #ffffff;
  --footer-bg:    #0d0f0d;
  --footer-line:  #2a2e2a;
  --card:         #ffffff;
  --border:       #e2e8e4;

  --radius-pill:  999px;
  --radius-card:  14px;
  --radius-sm:    8px;

  --shadow-sm:    0 2px 8px rgba(20,40,25,.06);
  --shadow-md:    0 10px 30px rgba(20,40,25,.10);
  --shadow-lg:    0 18px 50px rgba(20,40,25,.16);

  --maxw:         1180px;
  --gap:          24px;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 72px 0; }
.section-mint { background: var(--mint); }

.eyebrow {
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .6rem;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--heading); font-family: var(--font-head); font-weight: 700; }
.brand img { width: 46px; height: 42px; object-fit: contain; }
.brand span { font-size: 1.02rem; letter-spacing: .02em; }

.main-nav { margin-left: auto; }
.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav a, .main-nav .sub-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .93rem;
  color: var(--heading);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: color .18s ease, background .18s ease;
}
.main-nav a:hover, .main-nav .sub-label:hover { color: var(--green); }

.has-sub { position: relative; }
.submenu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* dropdown reveal is chrome, not page content — the links exist in the DOM
   and remain reachable; only the flyout panel's visual state toggles */
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 12px; font-size: .9rem; white-space: nowrap; }
.submenu a:hover { background: var(--mint); color: var(--green); }

.nav-cta { flex-shrink: 0; }

.nav-toggle { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #cfd6d0; padding: 58px 0 0; }
.foot-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.foot-brand img { width: 78px; height: auto; margin-bottom: 14px; }
.foot-brand p { color: #a9b3ac; font-size: .92rem; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 10px; }
.foot-links a { color: #bcc5be; font-size: .92rem; }
.foot-links a:hover { color: var(--green); }
.foot-contact { list-style: none; margin: 0; padding: 0; }
.foot-contact li { margin-bottom: 10px; font-size: .92rem; color: #bcc5be; display: flex; gap: 8px; }
.foot-contact a { color: #bcc5be; }
.foot-contact a:hover { color: var(--green); }
.foot-social { display: inline-flex; margin-top: 14px; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: #1b2a1e; color: #fff; }
.foot-social:hover { background: var(--green); color: #fff; }
.foot-bottom {
  margin-top: 48px;
  border-top: 1px solid var(--footer-line);
  padding: 20px 22px;
  text-align: center;
  font-size: .84rem;
  color: #8b968d;
}

/* ---------- Shared cards / lists used across pages ---------- */
.grid { display: grid; gap: var(--gap); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--body); }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  color: var(--green); font-weight: 700;
}

/* ---------- Forms (shared look) ---------- */
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; font-family: var(--font-head); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
}
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(41,155,70,.15);
}
.hp-field { position: absolute; left: -9999px; overflow: hidden; width: 1px; height: 1px; }

/* ---------- Motion (ported from source character) ---------- */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatY   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(41,155,70,.55); } 70% { box-shadow: 0 0 0 12px rgba(41,155,70,0); } 100% { box-shadow: 0 0 0 0 rgba(41,155,70,0); } }

/* on-load entrance: ALWAYS ends visible (animation always runs, fill-mode both).
   No content is ever hidden from a stylesheet. */
.animate      { animation: fadeUp .7s ease both; }
.animate-slow { animation: fadeUp .9s ease both; }
.fade-in      { animation: fadeIn 1s ease both; }
.float        { animation: floatY 5s ease-in-out infinite; }
.live-dot     { animation: pulseDot 2s infinite; }

/* stagger helpers */
.d1 { animation-delay: .12s; }
.d2 { animation-delay: .24s; }
.d3 { animation-delay: .36s; }
.d4 { animation-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .main-nav { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .cols-3, .cols-4, .cols-2, .quote-form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
}

/* ===================================================================
   Source-fidelity pass — components rebuilt to match the Wix original
   (nav Services label, bat eyebrow accent, hero/gallery video, service
   tabs, expect split, service-area cards, contact page).
   =================================================================== */

/* ---------- Nav: "Services" is a label, not a link ---------- */
.main-nav .sub-label {
  background: none;
  border: 0;
  margin: 0;
  cursor: default;
  line-height: inherit;
}

/* ---------- Bat accent beside a section eyebrow ----------
   Source renders a black bat vector next to the small green eyebrow
   label; the clone previously dropped it. */
.eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.eyebrow-row .eyebrow { margin: 0; }
.bat-accent { flex-shrink: 0; width: 30px; height: auto; display: block; }
.bat-accent-lg { width: 72px; height: auto; display: block; margin: 0 auto 10px; }

/* ---------- Feature strip: icon badge beside the label ----------
   Source: emoji inside a dashed green ring, icon left / label right. */
.feature-strip .feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.feature-item .emoji {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--green);
  border-radius: 50%;
  background: #fff;
  font-size: 1.6rem;
  line-height: 1;
}
.feature-item .label { font-family: var(--font-head); font-weight: 600; color: var(--heading); font-size: .95rem; }

/* ---------- Hero background video ---------- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ---------- Media grid (gallery page + "Our Work In Action") ----------
   Source: uniform square tiles, 3 columns, 16px gutter, 29px radius. */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.media-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 29px;
  overflow: hidden;
  background: var(--mint);
}
.media-tile img,
.media-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* videos keep native controls: a CSS-only play overlay could not know when
   playback had started, so it would sit on top of the playing clip */
.media-tile video { background: #000; }

/* ---------- Service tabs (Bird / Bat) — CSS-only, no JS ---------- */
.svc-tabs { max-width: 1010px; margin: 0 auto; }
.svc-tabs input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.svc-tablist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.svc-tablist label {
  display: block;
  text-align: center;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  background: #000;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .18s ease;
}
.svc-tablist label:hover { background: #1c1c1c; }
.svc-panels { border: 1px solid var(--green); border-radius: 26px; padding: 38px 26px 30px; }
.svc-panel { display: none; }
#svc-bird:checked ~ .svc-tablist label[for="svc-bird"],
#svc-bat:checked  ~ .svc-tablist label[for="svc-bat"]  { background: var(--green); }
#svc-bird:checked ~ .svc-panels .svc-panel-bird,
#svc-bat:checked  ~ .svc-panels .svc-panel-bat  { display: block; }
.svc-tabs input[type="radio"]:focus-visible ~ .svc-tablist label[for="svc-bird"],
.svc-tabs input[type="radio"]:focus-visible ~ .svc-tablist label[for="svc-bat"] { outline: 3px solid rgba(41,155,70,.45); outline-offset: 2px; }

/* ---------- "What You Can Expect" split ---------- */
.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.expect-media img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}

/* ---------- Service-area cards (source vector, not an emoji) ---------- */
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; }
.area-card {
  position: relative;
  aspect-ratio: 366 / 124;
  display: flex;
  align-items: center;
}
.area-card .area-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.area-card .area-pin {
  position: absolute;
  left: 9%;
  top: 25%;
  width: 10.1%;
  height: auto;
}
.area-card .area-name {
  position: relative;
  margin-left: 34%;
  padding-right: 8%;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .98rem;
  line-height: 1.35;
}

/* ---------- Contact page ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.contact-photo { position: relative; min-height: 470px; }
.contact-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-rail {
  position: absolute;
  right: -34px;
  top: 12%;
  bottom: 12%;
  width: 68px;
  background: var(--green);
  border-radius: 34px 34px 0 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.contact-rail span {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-rail img { width: 26px; height: 26px; }
.contact-details { display: flex; flex-direction: column; justify-content: center; padding: 60px 22px 60px 90px; }
.contact-details h2 { font-size: 1.28rem; margin-bottom: 4px; }
.contact-details h2 + p { margin: 0 0 30px; font-size: 1.02rem; }
.contact-details a { color: var(--body); }
.contact-details a:hover { color: var(--green); }

@media (max-width: 900px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .expect-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-rail { right: 16px; }
  .contact-details { padding: 46px 22px; }
}
@media (max-width: 600px) {
  .media-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .media-tile { border-radius: 20px; }
  .area-list { grid-template-columns: 1fr; }
  .svc-tablist { grid-template-columns: 1fr; }
  .svc-panels { padding: 26px 16px 20px; }
  .feature-strip .feature-item { justify-content: flex-start; }
}
