/* ============================================================
   BASSILINA -- ORGANIZATION, PARALLAX & POLISH LAYER (v5)
   ============================================================ */
:root{
  --bl-navy:#16213E;
  --bl-navy-soft:#1B2A54;
  --bl-ivory:#FAF7F0;
  --bl-gold:#C9A96E;
  --bl-gold-soft:#E4D3AE;
  --bl-plum:#4A2545;
  --bl-charcoal:#2B2B2B;
}

.band{ position:relative; }
.band--ivory{ background:var(--bl-ivory); }
.band--gold-tint{ background:linear-gradient(180deg,#FAF7F0 0%,#F3EADA 50%,#FAF7F0 100%); }
.band--navy-tint{ background:linear-gradient(180deg,#FAF7F0 0%,#F0EEEA 100%); position:relative; }
.band--navy-tint::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(1200px 400px at 50% 0%, rgba(22,33,62,.05), transparent 70%);
  pointer-events:none;
}

.section-divider{
  display:flex; align-items:center; justify-content:center;
  padding:0; height:1px; position:relative; z-index:2;
}
.section-divider span{
  width:7px; height:7px; background:var(--bl-gold);
  transform:rotate(45deg); display:block;
  box-shadow:-28px 0 0 -2.5px rgba(201,169,110,.5), 28px 0 0 -2.5px rgba(201,169,110,.5),
             -56px 0 0 -3.5px rgba(201,169,110,.28), 56px 0 0 -3.5px rgba(201,169,110,.28);
}
.section-divider::before,
.section-divider::after{
  content:""; position:absolute; top:50%; width:120px; height:1px;
  background:linear-gradient(90deg, transparent, rgba(201,169,110,.45));
}
.section-divider::before{ right:calc(50% + 70px); }
.section-divider::after{ left:calc(50% + 70px); transform:scaleX(-1); }

.zoom-in-scroll{ overflow:hidden; display:block; }
.zoom-in-scroll img{
  transform:scale(1.16);
  transition:transform 1.6s cubic-bezier(.16,.84,.44,1);
  will-change:transform;
}
.zoom-in-scroll.visible img{ transform:scale(1); }

[data-parallax-speed]{ will-change:transform; }

.franchise-band{
  position:relative;
  background:linear-gradient(150deg,#0A102A 0%,#16224F 60%,#1B2A6B 100%);
  padding:110px 0;
  isolation:isolate;
  text-align:center;
  overflow:hidden;
}
.franchise-band::before{
  content:"";
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23C9A96E' stroke-opacity='0.08'%3E%3Ccircle cx='60' cy='60' r='38'/%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size:120px 120px;
  opacity:.5;
}
.franchise-band .eyebrow{ justify-content:center; color:var(--bl-gold-soft); position:relative; z-index:1; }
.franchise-band h2{ color:#F6F1E7; position:relative; z-index:1; }
.franchise-band .lead{ color:rgba(246,241,231,.65); max-width:560px; margin:16px auto 40px; position:relative; z-index:1; }
.franchise-band .franchise-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; position:relative; z-index:1; }

.benefits-grid, .products-grid, .lines-grid{ row-gap:40px; }

#reading-progress{ background:var(--bl-gold); }


/* ============================================================
   CONTRAST FIXES (v5.1) -- dark-section text visibility
   ============================================================ */
.story-band h2,
.story-band p,
.story-band .story-sign{ color:#F6F1E7 !important; }
.story-band .eyebrow{ color:var(--bl-gold-soft) !important; }
.story-band .btn--gold{ color:#16213E !important; background:var(--bl-gold) !important; background-image:none !important; }

.doctor .btn--ghost-light{ color:#F6F1E7 !important; border-color:rgba(246,241,231,.55) !important; background:transparent !important; }

.coming-soon .line-desc{ color:rgba(246,241,231,.78) !important; }
.coming-soon .line-name{ color:#F6F1E7 !important; }
.coming-soon .coming-tag{ color:#16213E !important; background:var(--bl-gold) !important; background-image:none !important; }

.franchise-band h2{ color:#F6F1E7 !important; }
.franchise-band .lead{ color:rgba(246,241,231,.75) !important; }
.franchise-band .eyebrow{ color:var(--bl-gold-soft) !important; }

.site-footer .footer-bottom p{ color:rgba(246,241,231,.65) !important; }


/* ============================================================
   PARTNERSHIP PAGE (v5.2)
   ============================================================ */
.partner-hero{
  background:linear-gradient(150deg,#0A102A 0%,#16224F 60%,#1B2A6B 100%);
  padding:130px 0 90px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.partner-hero .eyebrow{ color:var(--bl-gold-soft); }
.partner-hero h1{ color:#F6F1E7; font-size:clamp(2.2rem,5vw,3.4rem); margin:14px 0 18px; }
.partner-hero .lead{ color:rgba(246,241,231,.75); max-width:640px; margin:0 auto 28px; }
.partner-hero-chips{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:32px; }
.partner-hero-chips span{
  border:1px solid rgba(201,169,110,.4); color:var(--bl-gold-soft);
  font-size:.72rem; letter-spacing:.06em; text-transform:uppercase;
  padding:8px 16px; border-radius:999px;
}

.why-partner .why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:40px; }
.why-card{ text-align:center; padding:8px; }
.why-icon{ font-size:1.8rem; color:var(--bl-gold); margin-bottom:14px; }
.why-card h4{ color:var(--bl-navy); margin-bottom:8px; font-size:1.05rem; }
.why-card p{ color:var(--bl-charcoal); opacity:.75; font-size:.92rem; line-height:1.6; }

.partner-paths .paths-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:40px; align-items:stretch; }
.path-card{
  background:var(--bl-ivory); border:1px solid rgba(201,169,110,.25); border-radius:4px;
  padding:36px 28px; display:flex; flex-direction:column;
}
.path-num{ font-family:'Cormorant Garamond',Georgia,serif; font-size:1.4rem; color:var(--bl-gold); margin-bottom:10px; }
.path-card h3{ color:var(--bl-navy); margin-bottom:10px; font-size:1.3rem; }
.path-card > p{ color:var(--bl-charcoal); opacity:.8; margin-bottom:16px; font-size:.94rem; }
.path-card ul{ list-style:none; padding:0; margin:0 0 18px; flex-grow:1; }
.path-card ul li{ color:var(--bl-charcoal); font-size:.88rem; padding:6px 0 6px 20px; position:relative; opacity:.85; }
.path-card ul li::before{ content:'\2726'; position:absolute; left:0; color:var(--bl-gold); font-size:.75rem; top:8px; }
.path-ideal{ font-size:.82rem; color:var(--bl-charcoal); opacity:.7; margin-bottom:20px; }
.path-cta{ align-self:flex-start; }

.partner-process .process-steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:44px; }
.process-step{ text-align:center; }
.process-step .step-num{ font-family:'Cormorant Garamond',Georgia,serif; font-size:2rem; color:var(--bl-gold); }
.process-step .step-line{ width:36px; height:2px; background:var(--bl-gold); margin:10px auto 16px; opacity:.5; }
.process-step h4{ color:var(--bl-navy); margin-bottom:8px; }
.process-step p{ color:var(--bl-charcoal); opacity:.75; font-size:.88rem; line-height:1.6; }

.partner-faq{ background:#16213E; padding:100px 0; }
.partner-faq .eyebrow{ color:var(--bl-gold-soft); justify-content:center; }
.partner-faq h2{ color:#F6F1E7; text-align:center; }
.partner-faq .section-header{ text-align:center; }
.faq-list{ max-width:760px; margin:36px auto 0; display:flex; flex-direction:column; gap:10px; }
.faq-item{
  background:rgba(255,255,255,.03); border:1px solid rgba(201,169,110,.2); border-radius:4px; padding:18px 22px;
}
.faq-item summary{
  color:#F6F1E7; cursor:pointer; font-weight:500; list-style:none; display:flex; justify-content:space-between; align-items:center;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; color:var(--bl-gold); font-size:1.3rem; margin-left:12px; }
.faq-item[open] summary::after{ content:'\2212'; }
.faq-item p{ color:rgba(246,241,231,.72); margin-top:14px; font-size:.92rem; line-height:1.7; }

.partner-form-section .section-header{ text-align:center; }
.partner-form{ max-width:720px; margin:36px auto 0; }
.partner-form .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.partner-form .form-field{ margin-bottom:20px; }
.partner-form label{ display:block; font-size:.82rem; color:var(--bl-navy); margin-bottom:6px; letter-spacing:.02em; }
.partner-form input, .partner-form select, .partner-form textarea{
  width:100%; padding:12px 14px; border:1px solid rgba(22,33,62,.2); border-radius:3px;
  background:#fff; font-family:inherit; font-size:.95rem; color:var(--bl-charcoal);
}
.partner-form input:focus, .partner-form select:focus, .partner-form textarea:focus{
  outline:none; border-color:var(--bl-gold);
}
.partner-form button[type="submit"]{ width:100%; justify-content:center; }
.pf-status{ margin-top:14px; font-size:.9rem; text-align:center; min-height:1.2em; }
.pf-status.success{ color:#2E6B4F; }
.pf-status.error{ color:#A13636; }

.partner-direct-contact{ text-align:center; margin-top:40px; padding-top:32px; border-top:1px solid rgba(22,33,62,.12); }
.partner-direct-contact p{ color:var(--bl-charcoal); opacity:.7; font-size:.88rem; margin-bottom:10px; }
.direct-links{ display:flex; gap:24px; justify-content:center; flex-wrap:wrap; }
.direct-links a{ color:var(--bl-navy); font-weight:500; text-decoration:none; border-bottom:1px solid var(--bl-gold); padding-bottom:2px; }

@media (max-width:900px){
  .why-partner .why-grid, .partner-paths .paths-grid, .partner-process .process-steps{ grid-template-columns:1fr 1fr; }
  .partner-form .form-row{ grid-template-columns:1fr; }
}
@media (max-width:600px){
  .why-partner .why-grid, .partner-paths .paths-grid, .partner-process .process-steps{ grid-template-columns:1fr; }
}


/* ============================================================
   SINGLE POST HERO -- sharpen washed-out heading (v5.3)
   ============================================================ */
.single-post-hero h1{
  color:#FFFDF8 !important;
  font-weight:500 !important;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
}
.single-post-hero::before{
  background:rgba(10,10,12,.72) !important;
}
.single-post-hero .eyebrow{ color:var(--bl-gold-soft) !important; }


/* ============================================================
   SINGLE POST HERO -- fix stacking bug (v5.4)
   The theme's base ".single-post-hero .container { z-index:2 }" rule
   never matches this template's actual wrapper class
   ".container--narrow", so the dark ::before dim-overlay (z-index:1)
   was painting OVER the heading text instead of behind it, making
   bright text look washed-out/gray. Promote the real wrapper above
   the overlay.
   ============================================================ */
.single-post-hero .container--narrow{
  position:relative;
  z-index:2;
}

/* ============================================================
   FRANCHISE BAND -- trust stats + mini path cards (v5.5)
   ============================================================ */
.franchise-band .franchise-stats{
  display:flex; flex-wrap:wrap; justify-content:center; gap:36px;
  margin:36px auto 44px; position:relative; z-index:1;
  padding:24px 0; border-top:1px solid rgba(201,169,110,.18); border-bottom:1px solid rgba(201,169,110,.18);
  max-width:720px;
}
.franchise-band .fstat{ display:flex; flex-direction:column; align-items:center; gap:6px; min-width:110px; }
.franchise-band .fstat-num{ font-family:'Cormorant Garamond',Georgia,serif; font-size:1.6rem; color:var(--bl-gold); }
.franchise-band .fstat-label{ font-size:.76rem; letter-spacing:.04em; color:rgba(246,241,231,.65); text-transform:uppercase; }

.franchise-band .franchise-mini-paths{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  max-width:820px; margin:0 auto 44px; position:relative; z-index:1;
}
.franchise-band .fmp-item{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px;
  padding:24px 18px; border:1px solid rgba(201,169,110,.22); border-radius:4px;
  background:rgba(255,255,255,.03); text-decoration:none;
  transition:border-color .3s, background .3s, transform .3s;
}
.franchise-band .fmp-item:hover{ border-color:var(--bl-gold); background:rgba(255,255,255,.06); transform:translateY(-3px); }
.franchise-band .fmp-icon{ font-size:1.5rem; color:var(--bl-gold); }
.franchise-band .fmp-title{ color:#F6F1E7; font-weight:500; font-size:.98rem; }
.franchise-band .fmp-desc{ color:rgba(246,241,231,.6); font-size:.82rem; line-height:1.5; }

@media (max-width:700px){
  .franchise-band .franchise-mini-paths{ grid-template-columns:1fr; }
  .franchise-band .franchise-stats{ gap:22px 32px; }
}
.franchise-band .btn--ghost-light{ color:#F6F1E7 !important; border-color:rgba(246,241,231,.55) !important; background:transparent !important; }

/* ============================================================
   GLOBAL FIX -- .btn--ghost-light is a dark-background-only
   button variant (light ghost outline). Something in the cascade
   was forcing navy text on it regardless of section, making it
   invisible on every dark section (doctor, franchise-band,
   partner-hero). Fix once, globally, instead of per-section.
   (v5.6)
   ============================================================ */
.btn--ghost-light{
  color:#F6F1E7 !important;
  border-color:rgba(246,241,231,.55) !important;
  background:transparent !important;
}
.btn--ghost-light:hover{
  background:#F6F1E7 !important;
  color:#16213E !important;
}