/* ============================================================
   FifthStar hub page (integrated-offer.html) - page-specific styles.
   Loaded AFTER assets/base.css (shared design system). This file holds
   only the hub's own rules; base.css provides tokens, fonts, components.
   The two are kept in sync with the shared system.
   ============================================================ */
/* v1.0: tokens, resets, shared components (glass-card, btn, reveal, sig-mark,
   sig-watermark, breathe-ring, gradient-text, hero::before, hero-glow, etc.)
   are ALL owned by base.css. This file holds ONLY hub-specific layout & widgets. */

/* === Layout (hub-specific overrides only; nav/hero/btn/section from base.css) === */
.nav-in{display:flex;align-items:center;justify-content:space-between;height:4rem}
.brand .sig-mark{width:1.5rem;height:1.5rem}
.nav-cta{font-size:.85rem;font-weight:600;color:var(--bg);background:var(--gold);padding:.5rem .95rem;border-radius:.6rem;letter-spacing:.01em;display:inline-flex;align-items:center;min-height:2.75rem}
.nav-cta:hover{filter:brightness(1.08)}

.hero .breathe-ring{left:50%;top:30%;transform:translateX(-50%)}
.hero-copy{position:relative;z-index:2;max-width:54rem}
.hero h1{font-size:clamp(2.3rem,5.4vw,4rem);margin:1.1rem 0 1.4rem}
.hero .lead{max-width:40rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2rem}

.sec-head{max-width:46rem;margin-bottom:2.6rem}
.sec-head h2{font-size:clamp(1.8rem,3.6vw,2.6rem);margin:.8rem 0 .9rem}

/* === Trust (hero) === */
.stars{color:var(--gold);letter-spacing:.1em;font-size:1rem;line-height:1}
.trust-row{margin-top:2.2rem;display:flex;flex-direction:column;gap:.9rem;max-width:40rem}
.trust-top{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}
.trust-top .score{font-weight:700;color:var(--ink);font-size:.95rem}
.trust-note{color:var(--mute);font-size:.9rem}
.badges{display:flex;flex-wrap:wrap;gap:.5rem}
.badge{font-size:.74rem;font-weight:600;letter-spacing:.03em;color:var(--gold);border:1px solid var(--line);padding:.35rem .75rem;border-radius:9999px;background:var(--glass)}

/* === Testimonials === */
.testi{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.testi-card{padding:1.7rem 1.6rem;border-radius:1.1rem;display:flex;flex-direction:column;gap:.9rem}
.testi-card .stars{font-size:.95rem}
.testi-card .quote{color:var(--ink);font-size:1rem;line-height:1.6}
.testi-card .who{color:var(--mute);font-size:.82rem;margin-top:auto}
@media(max-width:820px){.testi{grid-template-columns:1fr}}

/* === Before / After === */
.ba{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:center;max-width:60rem;margin:0 auto}
.ba .col{padding:1.7rem;border-radius:1.1rem;height:100%}
.ba .ba-h{font-weight:600;font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:.8rem}
.ba .ba-body{color:var(--mute);font-size:.95rem;line-height:1.6}
.ba .ba-body strong{color:var(--ink)}
.ba .arrow{color:var(--gold);font-size:1.7rem;text-align:center}
@media(max-width:720px){.ba{grid-template-columns:1fr}.ba .arrow{transform:rotate(90deg)}}

/* === Ladder (progress) === */
.ladder{display:flex;flex-direction:column;gap:0;max-width:50rem;margin:0 auto}
.step{display:grid;grid-template-columns:auto 1fr;gap:1.4rem;padding:1.5rem 0;position:relative}
.step:not(:last-child)::before{content:'';position:absolute;left:1.05rem;top:3.4rem;bottom:-1.4rem;width:1px;background:var(--line)}
.step .node{width:2.2rem;height:2.2rem;border-radius:9999px;border:1px solid var(--gold);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--gold);background:var(--bg);z-index:1;flex:none}
.step .price{font-family:"Playfair Display",serif;font-size:1.35rem;font-weight:700;color:var(--gold);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.step h3{font-size:1.15rem;margin:.1rem 0 .35rem}
.step p{color:var(--mute);max-width:34rem}
.tag{display:inline-block;font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--gold);border:1px solid var(--line);padding:.2rem .55rem;border-radius:.4rem;margin-bottom:.5rem}
.prog{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;max-width:52rem;margin:0 auto 2.4rem}
.prog .pn{font-size:.78rem;color:var(--mute);border:1px solid var(--line);border-radius:9999px;padding:.3rem .8rem}
.prog .pn b{color:var(--gold)}

/* === Case study === */
.case{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:.8rem;align-items:stretch;max-width:68rem;margin:0 auto}
.case .stepc{padding:1.5rem;border-radius:1.1rem;display:flex;flex-direction:column;gap:.5rem}
.case .stepc .lbl{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:600}
.case .stepc .body{color:var(--mute);font-size:.88rem;line-height:1.55}
.case .stepc .body strong{color:var(--ink)}
.case .arrow{color:var(--gold);font-size:1.4rem;align-self:center}
@media(max-width:820px){.case{grid-template-columns:1fr}.case .arrow{transform:rotate(90deg);text-align:center}}

/* === Pillars === */
.pillars{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem}
.pillar{padding:2rem;border-radius:1.1rem}
.pillar h3{font-size:1.4rem;margin-bottom:.3rem}
.pillar .sub{color:var(--gold);font-weight:600;font-size:.85rem;letter-spacing:.04em;margin-bottom:1.1rem}
.pillar ul{list-style:none;display:flex;flex-direction:column;gap:.7rem}
.pillar li{display:flex;gap:.7rem;color:var(--mute);font-size:.96rem}
.pillar li::before{content:'';flex:none;width:.55rem;height:.55rem;border-radius:9999px;background:var(--gold);margin-top:.55rem;opacity:.8}
@media(max-width:720px){.pillars{grid-template-columns:1fr}}
.integ-note{margin-top:1.6rem;padding:1.4rem 1.6rem;border-left:3px solid var(--gold);background:var(--glass);border-radius:.6rem;color:var(--mute)}
.integ-note strong{color:var(--ink)}

/* === Pricing === */
.tiers{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;align-items:stretch}
.tier{padding:1.4rem 1.1rem;border-radius:1rem;display:flex;flex-direction:column;position:relative}
.tier.feat{background:var(--glass);border-color:var(--gold);transform:scale(1.06);border-width:1.5px}
.tier.feat::after{content:'Most popular';position:absolute;top:-.8rem;left:50%;transform:translateX(-50%);background:var(--gold);color:var(--bg);font-size:.66rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.25rem .65rem;border-radius:9999px;white-space:nowrap}
.tier .t-name{font-weight:600;font-size:.9rem;letter-spacing:.04em}
.tier .t-price{font-family:"Playfair Display",serif;font-size:1.7rem;font-weight:700;color:var(--gold);margin:.4rem 0;font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.tier.feat .t-price{font-size:2.1rem}
.tier .t-price small{font-size:.8rem;color:var(--mute);font-family:"Inter",sans-serif;font-weight:400}
.tier ul{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin:.6rem 0 1rem;font-size:.85rem;color:var(--mute)}
.tier li::before{content:'·';color:var(--gold);margin-right:.4rem}
.tier .t-cta{margin-top:auto;font-size:.82rem;font-weight:600;color:var(--gold)}
@media(max-width:900px){.tiers{grid-template-columns:repeat(2,1fr)}.tier.feat{transform:none}.tier.feat::after{top:-.7rem}}
@media(max-width:480px){.tiers{grid-template-columns:1fr}}

/* === Pay-when-happy pledge === */
.pledge-pill{display:inline-flex;align-items:center;gap:.5rem;margin:1.1rem 0 0;padding:.5rem 1rem;border-radius:9999px;border:1px solid var(--gold);background:var(--glass);color:var(--ink);font-size:.9rem;font-weight:600}
.pledge-pill .tick{color:var(--gold);font-weight:700}
.pledge-banner{max-width:52rem;margin:2.2rem auto 0;padding:2rem 2.2rem;border-radius:1.2rem;background:var(--glass);border:1.5px solid var(--gold);text-align:center;position:relative}
.pledge-banner .eyebrow{display:block;margin-bottom:.6rem}
.pledge-banner h3{font-size:1.7rem;margin-bottom:.6rem}
.pledge-banner p{color:var(--mute);font-size:1.05rem;max-width:40rem;margin:0 auto}
.pledge-banner p strong{color:var(--ink)}
@media(max-width:600px){.pledge-banner{padding:1.6rem 1.3rem}.pledge-banner h3{font-size:1.4rem}}

/* === Why + diagram === */
.why{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem;max-width:60rem}
.why .b{padding:1.5rem;border-radius:1rem}
.why h3{font-size:1.1rem;color:var(--gold);margin-bottom:.4rem}
.why p{color:var(--mute);font-size:.95rem}
@media(max-width:720px){.why{grid-template-columns:1fr}}
.diagram{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;max-width:64rem;margin:2.4rem auto 0}
.diagram .old{padding:1.8rem;border-radius:1.1rem}
.diagram .old h3{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);margin-bottom:1rem;font-family:"Inter",sans-serif;font-weight:600}
.diagram .old .row{padding:.75rem 0;border-bottom:1px solid var(--line);color:var(--mute);font-size:.92rem}
.diagram .old .row:last-child{border-bottom:0}
.diagram .new{padding:1.8rem;border-radius:1.1rem;background:var(--glass);border:1.5px solid var(--gold)}
.diagram .new h3{color:var(--gold);font-size:1.35rem;margin-bottom:.6rem}
.diagram .new p{color:var(--ink)}
@media(max-width:720px){.diagram{grid-template-columns:1fr}}

/* === Founder === */
.founder{display:flex;gap:1.8rem;align-items:center;max-width:58rem;margin:0 auto;padding:2.2rem;border-radius:1.2rem}
.founder .ava{width:5.5rem;height:5.5rem;border-radius:9999px;border:1px solid var(--gold);display:flex;align-items:center;justify-content:center;color:var(--gold);flex:none;background:var(--glass)}
.founder .ava .sig-mark{width:2.6rem;height:2.6rem}
.founder h3{font-size:1.6rem;margin-bottom:.4rem}
.founder p{color:var(--mute);font-size:1rem;line-height:1.6}
.founder p strong{color:var(--ink)}
@media(max-width:600px){.founder{flex-direction:column;text-align:center}}

/* === FAQ === */
.faq{max-width:52rem;display:flex;flex-direction:column;gap:.8rem}
.q{padding:1.2rem 1.4rem;border-radius:.9rem}
.q h3{font-size:1.05rem;margin-bottom:.35rem}
.q p{color:var(--mute);font-size:.94rem}
.faq-close{margin-top:1.4rem;padding:1.4rem 1.6rem;border-radius:1rem;text-align:center}
.faq-close h3{font-size:1.2rem;margin-bottom:.4rem}
.faq-close p{color:var(--mute);margin-bottom:1rem}
.faq-close a:not(.btn){color:var(--gold);font-weight:600}

/* === Inline CTA band === */
.cta-band{text-align:center;padding:2.6rem 1.5rem;border-radius:1.2rem;max-width:60rem;margin:2.6rem auto 0}
.cta-band h3{font-size:1.55rem;margin-bottom:.5rem}
.cta-band p{color:var(--mute);max-width:34rem;margin:0 auto 1.5rem}

/* === Final CTA === */
.final{position:relative;overflow:hidden;text-align:center;padding:5rem 0}
.final h2{font-size:clamp(1.9rem,4vw,3rem);max-width:30rem;margin:0 auto 1rem}
.final .lead{margin:0 auto 2rem;max-width:34rem}
.guarantee{display:flex;flex-wrap:wrap;justify-content:center;gap:1.1rem 1.6rem;margin-top:2rem}
.guarantee .g{display:flex;align-items:center;gap:.5rem;color:var(--mute);font-size:.92rem}
.guarantee .g .tick{color:var(--gold);font-weight:700}
.foot{padding:2.4rem 0;border-top:1px solid var(--line);color:var(--mute);font-size:.85rem;text-align:center}
.foot a{color:var(--gold)}
.foot-local{display:block;margin-top:1rem;max-width:38rem;margin-left:auto;margin-right:auto;font-size:.8rem;line-height:1.55;opacity:.8}

/* reveal: owned by base.css (with stagger). Keep reduced-motion guard for hub-only animations. */
@media (prefers-reduced-motion:reduce){
  .breathe-ring,.gradient-text,.reveal{animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}

/* === Lead capture (zero-server, mailto pre-fill) === */
.capture{max-width:34rem;margin:2rem auto 0;padding:2rem 1.8rem;display:flex;flex-direction:column;gap:1.1rem}
.cap-field{display:flex;flex-direction:column;gap:.4rem}
.cap-field label{font-size:.85rem;font-weight:600;color:var(--ink)}
.cap-opt{color:var(--mute);font-weight:400}
.cap-req{color:var(--gold)}
.cap-field input{font:inherit;font-size:.95rem;padding:.7rem .9rem;border-radius:.6rem;background:color-mix(in srgb,var(--bg) 55%,transparent);border:1px solid var(--line);color:var(--ink)}
.cap-field input:focus{outline:none;border-color:var(--gold)}
.cap-field input::placeholder{color:var(--mute)}
.cap-submit{margin-top:.3rem;justify-content:center}
  .cap-note{font-size:.78rem;color:var(--mute);text-align:center;margin-top:.2rem}

  /* GSAP hero pre-paint hide: only applied when motion is allowed (class set by an inline
     head script BEFORE paint). End state is forced via .fromTo autoAlpha:1, so content is
     never left hidden — if JS/GSAP is missing or disabled, the class is never added and the
     hero stays fully visible. */
  html.gsap-hero .hero .eyebrow,
  html.gsap-hero .hero h1,
  html.gsap-hero .hero .lead,
  html.gsap-hero .hero .cta-row,
  html.gsap-hero .hero .trust-top,
  html.gsap-hero .hero .badges{opacity:0}

  /* === Category nav cards (hub) — editorial, no icons === */
  .cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem;max-width:66rem;margin:2rem auto 0}
  .cat-card{display:flex;flex-direction:column;padding:1.75rem 1.7rem 1.4rem;border-radius:1.1rem;position:relative;overflow:hidden;min-height:15rem;transition:transform .25s,border-color .25s,background .25s;text-decoration:none;color:inherit}
  .cat-card:hover{transform:translateY(-3px);border-color:var(--gold)}
  .cat-meta{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--mute);font-variant-numeric:tabular-nums;margin-bottom:1.1rem;padding-right:0}
  .cat-num{color:var(--gold);font-weight:600}
  .cat-cities{text-align:right;line-height:1.35}
  .cat-name{font-family:"Playfair Display",Georgia,serif;font-size:1.65rem;line-height:1.12;margin:0 0 .3rem;color:var(--ink);letter-spacing:-.012em;font-weight:500}
  .cat-sub{color:var(--mute);font-size:.88rem;margin:0 0 .95rem;font-style:italic;padding-right:0}
  .cat-why{color:var(--ink);font-size:.95rem;line-height:1.5;margin:0 0 .85rem;padding-right:0;opacity:.94}
  .cat-value{color:var(--mute);font-size:.84rem;line-height:1.55;margin:0;padding:.85rem 0 0;border-top:1px solid var(--line)}
  .cat-cta{margin-top:.95rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:600}
  .cat-cta .arrow{font-size:1.15rem;letter-spacing:0;transition:transform .25s;opacity:.85}
  .cat-card:hover .arrow{transform:translateX(4px);opacity:1}
  @media(max-width:720px){.cat-grid{grid-template-columns:1fr}.cat-card{min-height:0}}

/* === Review widget block (moved from inline <style> in #widget-demo) === */
        #fifthstar-reviews.fs-rw{--fs-accent:currentColor;--fs-muted:color-mix(in srgb,currentColor 52%,transparent);--fs-line:color-mix(in srgb,currentColor 16%,transparent);--fs-bg:color-mix(in srgb,currentColor 5%,transparent);--fs-radius:14px;font-family:inherit;color:inherit;max-width:760px;margin:0 auto;line-height:1.5}
        #fifthstar-reviews.fs-rw *{box-sizing:border-box}
        .fs-rw-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;margin-bottom:18px}
        .fs-rw-title{font-size:1.35rem;font-weight:700;letter-spacing:-.01em;margin:0}
        .fs-rw-score{font-weight:600}
        .fs-rw-score a{color:inherit;text-decoration:none;border-bottom:1px solid var(--fs-line)}
        .fs-rw-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
        .fs-rw-card{border:1px solid var(--fs-line);background:var(--fs-bg);border-radius:var(--fs-radius);padding:18px 18px 16px;display:flex;flex-direction:column;gap:10px}
        .fs-rw-stars{font-size:1.05rem;letter-spacing:2px;line-height:1;color:var(--fs-accent)}
        .fs-rw-stars .fs-empty{color:var(--fs-muted)}
        .fs-rw-text{margin:0;font-size:.95rem}
        .fs-rw-meta{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:.8rem;color:var(--fs-muted);margin-top:auto}
        .fs-rw-meta a{color:inherit;text-decoration:none;border-bottom:1px solid var(--fs-line)}
        .fs-rw-foot{margin-top:18px;font-size:.78rem;color:var(--fs-muted);text-align:center}
        .fs-rw-foot a{color:inherit}

/* ============================================================
   OVERRIDE GUARD — neutralize base.css icon-version .cat-card collision.
   base.css ships an icon-variant .cat-card whose compound selectors
   (.cat-card h3 / .cat-card p / .cat-card .arrow) out-specify this hub's
   editorial single-class rules (.cat-name / .cat-sub / .cat-why /
   .cat-value / .cat-cta .arrow). Re-assert the hub's intended values with
   equal-or-higher specificity. hub.css loads AFTER base.css, so these win.
   Follow-up: scope base.css's icon-version .cat-card (e.g. a parent or a
   distinct class) so the hub can share base.css cleanly without this guard.
   ============================================================ */
.cat-card h3{font-size:1.65rem;margin:0 0 .3rem}
.cat-card .cat-sub{color:var(--mute);font-size:.88rem;font-style:italic;padding-right:0}
.cat-card .cat-why{color:var(--ink);font-size:.95rem;line-height:1.5;opacity:.94;padding-right:0}
.cat-card .cat-value{color:var(--mute);font-size:.84rem;line-height:1.55;padding-right:0}
.cat-card .cat-cta .arrow{position:static;right:auto;bottom:auto;font-size:1.15rem;opacity:.85}

/* === cadence sub-line inside tier cards (v2.1: monthly/quarterly/6-mo/annual) === */
.tier .t-cadence{font-size:.74rem;line-height:1.45;color:var(--mute);margin:-.15rem 0 .35rem}
.tier .t-cadence b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums lining-nums}

/* === new-business welcome offer banner (first-year discount, one-time) === */
.welcome-banner{max-width:52rem;margin:1.9rem auto 0;padding:1.7rem 2rem;border-radius:1.1rem;
  background:linear-gradient(180deg,color-mix(in srgb,var(--gold) 15%,transparent),transparent);
  border:1px solid var(--gold);text-align:center}
.welcome-banner .eyebrow{display:block;margin-bottom:.5rem}
.welcome-banner h3{font-size:1.45rem;margin-bottom:.5rem;color:var(--ink)}
.welcome-banner p{color:var(--mute);font-size:.96rem;max-width:42rem;margin:0 auto;line-height:1.55}
.welcome-banner p b{color:var(--ink);font-variant-numeric:tabular-nums lining-nums}
@media(max-width:600px){.welcome-banner{padding:1.4rem 1.2rem}.welcome-banner h3{font-size:1.3rem}}

/* === hub service grid: 5 cards wrap cleanly (centered, no lone stretched card) === */
.svc-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:1.2rem;max-width:90rem;margin:2.2rem auto 0}
.svc-card{flex:1 1 230px;max-width:290px}
@media(max-width:720px){.svc-card{flex:1 1 100%;max-width:none}}
