/* ============================================================
   BINX v3 — Honed design system (scoped to body.binx-v3)
   Palette named for the act · Fraunces display + Inter body
   Loads AFTER style.css to refine, not replace.
   ============================================================ */

:root {
  --th:      #4C1D95;  /* Brand purple — base for dark washes / sections */
  --th-800:  #5B21B6;
  --th-700:  #6D28D9;
  --spot:    #FBBF24;  /* Yellow — primary CTA */
  --spot-dk: #F59E0B;  /* Amber-orange — CTA hover */
  --foam:    #F97316;  /* Orange — accent (card borders, icons) */
  --candy:   #FB923C;  /* Light orange — sparing pop */
  --stage:   #FBF8FF;  /* Warm off-white canvas */
  --ink:     #2A2140;  /* Ink — soft near-black purple text */
  --ink-60:  #6B6485;  /* muted text */
  --line:    #ECE8F2;  /* hairline borders */
}

/* ---- Base canvas + type ---- */
body.binx-v3 { background: var(--stage); color: var(--ink); }
body.binx-v3 h1, body.binx-v3 h2, body.binx-v3 h3,
body.binx-v3 .section-header h2 {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: -0.01em;
}
body.binx-v3 .section-label {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--th-700);
}

/* ---- Gold primary CTA (was purple) ---- */
body.binx-v3 .btn-primary {
  background: var(--spot);
  color: var(--th);
  border: none;
  font-weight: 700;
}
body.binx-v3 .btn-primary:hover { background: var(--spot-dk); color: var(--th); }

/* ---- Softer, less-boxy cards ---- */
body.binx-v3 .service-card,
body.binx-v3 .feature-card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(34,26,71,.08);
}
body.binx-v3 .service-card { border-top: 3px solid var(--foam); }
body.binx-v3 .service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(34,26,71,.16); }
body.binx-v3 .service-card-price { color: var(--th-700); font-weight: 800; }

/* ---- Custom PNG icons ---- */
body.binx-v3 .feature-icon { background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
body.binx-v3 .feature-icon img { width: 56%; height: 56%; object-fit: contain; }
body.binx-v3 .service-details-badge img.badge-ico { width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px; object-fit: contain; }

/* ---- Line-icon system (replaces emoji) ---- */
.bx-ico { width: 40px; height: 40px; display: inline-flex; color: var(--th); }
.bx-ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.bx-ico.foam { color: var(--foam); }
.bx-ico.candy { color: var(--candy); }
.bx-ico.gold { color: var(--spot-dk); }

/* ============ HERO (bunny-reveal signature) ============ */
.hero-binx {
  position: relative;
  background:
    linear-gradient(100deg, rgba(46,16,101,.94) 0%, rgba(46,16,101,.72) 55%, rgba(46,16,101,.35) 100%),
    var(--th);
  background-size: cover;
  background-position: center right;
  color: #fff;
  padding: clamp(72px, 12vh, 140px) 0;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-binx-text { max-width: 620px; }
.hero-binx .hero-binx-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero-binx-kicker {
  display: inline-block;
  font: 600 0.72rem/1 'Inter', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spot);
  margin-bottom: 18px;
}
.hero-binx h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.03;
  margin: 0 0 18px;
  color: #fff;
}
.hero-binx h1 .accent { color: var(--spot); }
.hero-binx p.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  color: #E7E3F5;
  max-width: 560px;
  margin: 0 0 26px;
}
.hero-binx .hero-binx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-binx .hero-binx-facts {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font: 500 0.9rem/1.3 'Inter', sans-serif; color: #CFC9E6;
}
.hero-binx .hero-binx-facts b { color: #fff; font-weight: 700; }
.hero-binx-photo {
  border-radius: 22px;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  position: relative;
}
.hero-binx-photo .tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(34,26,71,.82); color: #fff;
  font: 600 0.78rem/1 'Inter'; padding: 8px 12px; border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-binx .hero-contact-line {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font: 500 0.92rem 'Inter';
}
.hero-binx .hero-contact-line a { color: #E7E3F5; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 1px; }
.hero-binx .hero-contact-line a:hover { color: #fff; border-color: var(--spot); }

@media (max-width: 860px) {
  .hero-binx .hero-binx-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-binx-photo { aspect-ratio: 16/11; order: -1; }
}

/* ============ NO-SUBCONTRACTOR — section with teeth ============ */
.binx-teeth {
  background: var(--th);
  color: #fff;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.binx-teeth h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.08; margin: 10px 0 14px; }
.binx-teeth .kick { color: var(--spot); font: 600 0.72rem/1 'Inter'; letter-spacing: .14em; text-transform: uppercase; }
.binx-teeth p { color: #D9D4EC; line-height: 1.6; margin: 0 0 10px; }
.binx-teeth .vs { display: grid; gap: 12px; }
.binx-teeth .vs .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.binx-teeth .vs .cell { border-radius: 14px; padding: 14px 16px; font: 500 0.92rem/1.4 'Inter'; }
.binx-teeth .vs .binx { background: rgba(249,115,22,.18); border: 1px solid rgba(249,115,22,.45); }
.binx-teeth .vs .them { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #C7C1DE; }
.binx-teeth .vs .lbl { display: block; font: 700 0.7rem/1 'Inter'; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.binx-teeth .vs .binx .lbl { color: var(--foam); }
.binx-teeth .vs .them .lbl { color: #9089B0; }
@media (max-width: 860px) { .binx-teeth { grid-template-columns: 1fr; gap: 22px; } }

/* ============ FULL-BLEED ALTERNATING SPOTLIGHT BANDS ============ */
/* Edge-to-edge image on one side, text on the other — no boxed rounded photos.
   Alternation is controlled explicitly per block (we cancel the old
   direction:rtl flip to avoid double-flipping / column overlap). */
body.binx-v3 .service-hero-block { padding: 0; display: block; }
body.binx-v3 .service-hero-block:nth-child(even) { background: var(--stage); }
body.binx-v3 .service-hero-block > .container { max-width: 100%; width: 100%; padding: 0; margin: 0; }
body.binx-v3 .service-hero-grid,
body.binx-v3 .service-hero-block:nth-child(even) .service-hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  direction: ltr;                 /* cancel inherited rtl flip */
}
/* image bleeds to the edge — strip the old card frame */
body.binx-v3 .service-hero-image {
  margin: 0; height: 100%;
  aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none;
}
body.binx-v3 .service-hero-image img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; display: block; }
/* text: contained, vertically centered */
body.binx-v3 .service-hero-text { max-width: 620px; padding: clamp(40px, 6vw, 96px); align-self: center; direction: ltr; }
/* explicit flip: only the foam band gets image-left / text-right */
body.binx-v3 #foam-spotlight .service-hero-image { order: 1; }
body.binx-v3 #foam-spotlight .service-hero-text  { order: 2; }

@media (max-width: 860px) {
  body.binx-v3 .service-hero-grid,
  body.binx-v3 .service-hero-block:nth-child(even) .service-hero-grid { grid-template-columns: 1fr; }
  body.binx-v3 #foam-spotlight .service-hero-image,
  body.binx-v3 #foam-spotlight .service-hero-text { order: 0; }
  body.binx-v3 .service-hero-image img { min-height: 300px; }
  body.binx-v3 .service-hero-text { padding: 40px 24px; }
}

/* ============ SERVICE CAROUSEL — edge-to-edge, bigger cards, arrows ============ */
body.binx-v3 .binx-carwrap { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
body.binx-v3 .binx-carwrap .scroll-carousel {
  gap: 22px;
  padding: 6px clamp(20px, 5vw, 64px) 12px;
  scroll-padding-left: clamp(20px, 5vw, 64px);
}
body.binx-v3 .scroll-carousel > * { width: 340px !important; min-width: 340px !important; max-width: 340px !important; }
body.binx-v3 .scroll-carousel .service-card { border-top: 3px solid var(--foam); border-radius: 18px; }
/* show the real photo cleanly — hide the emoji that was overlaying it */
body.binx-v3 .scroll-carousel .service-card-img { height: 210px !important; min-height: 210px !important; font-size: 0 !important; }
body.binx-v3 .scroll-carousel .service-card-body { padding: 18px 20px 20px !important; }
body.binx-v3 .scroll-carousel .service-card-body h3 { font-family: 'Fraunces', Georgia, serif !important; font-size: 1.24rem !important; color: var(--th) !important; }
body.binx-v3 .scroll-carousel .service-card-body p { color: var(--ink-60); font-size: 0.9rem !important; }
body.binx-v3 .service-card-price { color: var(--th-700); font-weight: 800; }
body.binx-v3 .service-card-link { color: var(--spot-dk); font-weight: 700; }

/* prev / next arrows — desktop + tablet only */
.binx-carnav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 54px; height: 54px; border: none; border-radius: 50%;
  background: var(--th); color: #fff; font-size: 1.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 10px 26px rgba(76,29,149,.38); transition: background .2s, transform .15s;
}
.binx-carnav:hover { background: var(--th-700); }
.binx-carnav:active { transform: translateY(-50%) scale(.94); }
.binx-carnav.prev { left: clamp(10px, 2vw, 28px); }
.binx-carnav.next { right: clamp(10px, 2vw, 28px); }
@media (max-width: 860px) { .binx-carnav { display: none; } }
