/* ============================================================
   BinBros — Design System
   Deep Forest / Forest Green / Sage Grey / Off-White
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

:root {
  --deep-forest: #1B3A2D;
  --forest-green: #2D6A4F;
  --forest-green-dark: #245741;
  --sage-grey: #D1D5C8;
  --off-white: #F2F3EF;
  --white: #ffffff;
  --ink: #16271E;
  --muted: #5A6B61;
  --line: rgba(27, 58, 45, 0.12);
  --shadow-sm: 0 2px 8px rgba(27, 58, 45, 0.08);
  --shadow-md: 0 12px 32px rgba(27, 58, 45, 0.12);
  --shadow-lg: 0 24px 60px rgba(27, 58, 45, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--deep-forest); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--sage { background: var(--sage-grey); }
.section--forest { background: var(--deep-forest); }
.section--white { background: var(--off-white); }
.center { text-align: center; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest-green); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; max-width: 620px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.98rem; padding: 15px 28px;
  border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--forest-green); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--forest-green-dark); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--deep-forest); color: var(--white); }
.btn--outline { background: transparent; color: var(--deep-forest); border-color: var(--deep-forest); }
.btn--outline:hover { background: var(--deep-forest); color: var(--white); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: var(--deep-forest); display: flex; align-items: center;
  box-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand__name { font-weight: 900; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand__name span { color: #8FE3B6; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: rgba(255,255,255,.82); font-weight: 600; font-size: 0.95rem; transition: color .15s; }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: .3s; }

/* ---------- Logo mark ---------- */
.logo-mark { width: 40px; height: 40px; flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); text-align: center;
  padding: 120px 0 130px;
  background:
    linear-gradient(180deg, rgba(27,58,45,.78), rgba(27,58,45,.88)),
    url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.25rem; max-width: 640px; margin: 0 auto 32px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.page-hero {
  background: var(--deep-forest); color: var(--white); text-align: center; padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 14px auto 0; }

/* ---------- Trust bar ---------- */
.trustbar {
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center;
  margin-top: 34px;
}
.trustbar span { color: rgba(255,255,255,.92); font-weight: 600; font-size: 0.92rem; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--off-white); border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.section--sage .card, .section--white .card { background: var(--white); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__icon { font-size: 2.1rem; margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 10px; }
.feature { text-align: left; }
.feature__icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(3,1fr); counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--forest-green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.steps-vertical { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.step-row {
  display: flex; gap: 22px; align-items: flex-start; background: var(--white);
  padding: 24px 26px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.step-row .step__num { flex: none; margin-bottom: 0; }

/* ---------- Callout / Notice ---------- */
.notice {
  background: #FFF6E5; border: 1px solid #F2D58A; border-left: 6px solid #E0A92E;
  border-radius: var(--radius); padding: 22px 26px; margin: 28px auto; max-width: 820px;
}
.notice strong { color: #7A5A12; }
.notice p { color: #6B5320; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 24px; grid-template-columns: repeat(3,1fr); align-items: start; }
.price-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px; text-align: center;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card--featured { border: 2px solid var(--forest-green); box-shadow: var(--shadow-md); }
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--forest-green); color: #fff; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; padding: 6px 16px; border-radius: 999px; text-transform: uppercase;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.price-card .price { font-size: 2.4rem; font-weight: 900; color: var(--deep-forest); margin: 10px 0 2px; }
.price-card .per { color: var(--muted); font-size: 0.9rem; }
/* Clickable pricing cards that book directly on Square */
.price-card--link { display: block; text-decoration: none; cursor: pointer; }
.price-card__cta {
  display: block; margin-top: 18px; padding: 11px 16px; border-radius: 999px;
  background: var(--forest-green); color: #fff; font-weight: 700; font-size: 0.92rem;
  transition: background .18s ease;
}
.price-card--featured .price-card__cta { background: var(--deep-forest); }
.price-card--link:hover .price-card__cta { background: var(--forest-green-dark); }
.ptable { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
.ptable th, .ptable td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable th { color: var(--deep-forest); font-weight: 700; }
.ptable td:last-child, .ptable th:last-child { text-align: right; font-weight: 700; color: var(--forest-green); }
.save { color: var(--forest-green); font-weight: 700; }

.checklist { list-style: none; text-align: left; margin: 18px 0; }
.checklist li { padding: 7px 0 7px 30px; position: relative; color: var(--ink); font-size: 0.96rem; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--forest-green); font-weight: 900; }

/* ---------- Before / After slider ---------- */
.ba-slider {
  position: relative; max-width: 420px; margin: 36px auto 0; aspect-ratio: 1/1;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  user-select: none; touch-action: none; cursor: ew-resize; background: var(--sage-grey);
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* The "after" (clean) image sits on top, clipped to the handle position. */
.ba-slider .ba-after { clip-path: inset(0 0 0 50%); }
.ba-label {
  position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: rgba(27,58,45,.82); backdrop-filter: blur(2px);
}
.ba-label--before { left: 14px; }
.ba-label--after { right: 14px; background: rgba(45,106,79,.9); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff;
  transform: translateX(-50%); box-shadow: 0 0 8px rgba(0,0,0,.35);
}
.ba-handle::after {
  content: '⟺'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--forest-green);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900;
  box-shadow: var(--shadow-sm);
}

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.testimonial .stars { color: #E8B53A; margin-bottom: 8px; }
.testimonial p { color: var(--ink); font-style: italic; margin-bottom: 14px; }
.testimonial__who { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--forest-green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.testimonial__name { font-weight: 700; color: var(--deep-forest); font-size: 0.95rem; }
.testimonial__hood { font-size: 0.82rem; color: var(--muted); }

/* ---------- Strip ---------- */
.strip { background: var(--deep-forest); color: #fff; padding: 26px 0; text-align: center; }
.strip strong { color: #8FE3B6; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.team-card__photo { aspect-ratio: 3/4; width: 100%; object-fit: cover; background: var(--sage-grey); }
.team-card__ph {
  aspect-ratio: 3/4; width: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--forest-green), var(--deep-forest)); color: #fff; font-weight: 800; font-size: 3rem;
}
.team-card__body { padding: 26px 28px; }
.team-card__role { color: var(--forest-green); font-weight: 700; font-size: 0.9rem; }
.team-card__school { color: var(--muted); font-size: 0.85rem; margin-bottom: 12px; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--deep-forest); color: #fff; text-align: center; padding: 80px 0; }
.final-cta h2 { color: #fff; margin-bottom: 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 1.05rem; color: var(--deep-forest); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q::after { content: '+'; font-size: 1.6rem; color: var(--forest-green); transition: transform .25s; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 24px 22px; }

/* ---------- Forms ---------- */
.form { max-width: 720px; margin: 0 auto; background: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--deep-forest); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 12px; background: var(--off-white); color: var(--ink); transition: border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-green); }
.field textarea { resize: vertical; min-height: 90px; }
.confirm-box { display: flex; gap: 12px; align-items: flex-start; background: var(--sage-grey); padding: 18px; border-radius: 12px; margin: 8px 0 20px; }
.confirm-box input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--forest-green); }
.confirm-box label { font-size: 0.9rem; color: var(--ink); font-weight: 500; }

/* ---------- Trust badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: center; margin-top: 30px; }
.badges span { font-weight: 600; color: var(--deep-forest); font-size: 0.92rem; }

/* ---------- Service area ---------- */
.area-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; max-width: 820px; margin: 0 auto 32px; }
.area-list li { list-style: none; background: var(--white); padding: 14px 18px; border-radius: 12px; font-weight: 600; color: var(--deep-forest); border: 1px solid var(--line); }
.map-embed { width: 100%; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Contact ---------- */
.contact-info { display: grid; gap: 14px; margin-bottom: 28px; }
.contact-info div { background: var(--white); padding: 18px 22px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; color: var(--deep-forest); }

/* ---------- Footer ---------- */
.footer { background: var(--deep-forest); color: rgba(255,255,255,.78); padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: rgba(255,255,255,.78); display: block; padding: 4px 0; font-size: 0.92rem; }
.footer a:hover { color: #fff; }
.footer__brand p { color: rgba(255,255,255,.7); margin-top: 10px; max-width: 280px; font-size: 0.92rem; }
.footer__social { display: flex; gap: 14px; margin-top: 14px; }
.footer__social a { background: rgba(255,255,255,.1); width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; text-align: center; font-size: 0.85rem; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--deep-forest); padding: 10px 14px; gap: 10px; box-shadow: 0 -4px 18px rgba(0,0,0,.2); }
.mobile-bar .btn { flex: 1; justify-content: center; padding: 13px; }

/* ---------- Scroll animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-6, .price-grid, .steps, .team-grid, .form-row { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__links { position: fixed; top: var(--nav-h); right: 0; height: calc(100vh - var(--nav-h)); width: 78%; max-width: 320px; background: var(--deep-forest); flex-direction: column; align-items: flex-start; padding: 28px 26px; gap: 4px; transform: translateX(100%); transition: transform .3s ease; box-shadow: -8px 0 30px rgba(0,0,0,.3); }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links .nav__cta { margin: 12px 0 0; }
  .nav__toggle { display: flex; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
  .section { padding: 60px 0; }
}
