/* Haven Bridge Wellness — Main Stylesheet */
/* Prefix: hb- | Coastal/Calming */

/* ========== RESET & BASE ========== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --hb-blue:#0369A1;
  --hb-blue-dark:#025a8a;
  --hb-blue-light:#0ea5e9;
  --hb-sand:#E7DDD0;
  --hb-sand-light:#f3ede6;
  --hb-dark:#0F172A;
  --hb-white:#FFFFFF;
  --hb-gray:#64748B;
  --hb-gray-light:#F1F5F9;
  --hb-success:#10B981;
  --hb-font-heading:'Sora',sans-serif;
  --hb-font-body:'Karla',sans-serif;
  --hb-radius:12px;
  --hb-radius-sm:8px;
  --hb-shadow:0 4px 20px rgba(15,23,42,.08);
  --hb-shadow-lg:0 8px 40px rgba(15,23,42,.12);
  --hb-transition:all .3s ease;
  --hb-max-width:1200px;
  --hb-header-h:72px;
}
html{scroll-behavior:smooth;font-size:16px;overflow-x:clip}
body{font-family:var(--hb-font-body);color:var(--hb-dark);background:var(--hb-white);line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:clip;padding-top:var(--hb-header-h)}
h1,h2,h3,h4,h5,h6{font-family:var(--hb-font-heading);font-weight:700;line-height:1.25}
h1{font-size:clamp(2rem,5vw,3.25rem)}
h2{font-size:clamp(1.6rem,4vw,2.5rem)}
h3{font-size:clamp(1.2rem,3vw,1.5rem)}
h4{font-size:1.125rem}
a{color:var(--hb-blue);text-decoration:none;transition:var(--hb-transition)}
a:hover{color:var(--hb-blue-dark)}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
button{cursor:pointer;font-family:var(--hb-font-body);border:none;background:none}

/* ========== UTILITIES ========== */
.hb-container{max-width:var(--hb-max-width);margin:0 auto;padding:0 20px}
@media(max-width:768px){.hb-container{padding:0 16px}}
.hb-section{padding:80px 0}
@media(max-width:768px){.hb-section{padding:56px 0}}
.hb-section--sand{background:var(--hb-sand-light)}
.hb-section--dark{background:var(--hb-dark);color:var(--hb-white)}
.hb-text-center{text-align:center}
.hb-mb-16{margin-bottom:16px}
.hb-mb-24{margin-bottom:24px}
.hb-mb-32{margin-bottom:32px}
.hb-mb-48{margin-bottom:48px}
.hb-section-label{font-family:var(--hb-font-heading);font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:2px;color:var(--hb-blue);margin-bottom:12px}
.hb-section-title{margin-bottom:16px}
.hb-section-subtitle{font-size:1.125rem;color:var(--hb-gray);max-width:640px;margin:0 auto 48px}

/* ========== BUTTONS ========== */
.hb-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:50px;font-weight:600;font-size:1rem;transition:var(--hb-transition);text-align:center;justify-content:center}
.hb-btn--primary{background:var(--hb-blue);color:var(--hb-white)}
.hb-btn--primary:hover{background:var(--hb-blue-dark);color:var(--hb-white);transform:translateY(-2px);box-shadow:0 6px 20px rgba(3,105,161,.3)}
.hb-btn--sand{background:var(--hb-sand);color:var(--hb-dark)}
.hb-btn--sand:hover{background:#ddd0be;color:var(--hb-dark);transform:translateY(-2px)}
.hb-btn--outline{border:2px solid var(--hb-blue);color:var(--hb-blue);background:transparent}
.hb-btn--outline:hover{background:var(--hb-blue);color:var(--hb-white)}
.hb-btn--white{background:var(--hb-white);color:var(--hb-blue)}
.hb-btn--white:hover{background:var(--hb-sand-light);transform:translateY(-2px)}
.hb-btn--sm{padding:10px 24px;font-size:.875rem}
.hb-btn--lg{padding:18px 40px;font-size:1.125rem}
.hb-btn--full{width:100%}

/* ========== HEADER ========== */
.hb-header{position:fixed;top:0;left:0;right:0;z-index:1000;height:var(--hb-header-h);display:flex;align-items:center;transition:var(--hb-transition)}
.hb-header--transparent{background:transparent}
.hb-header--scrolled{background:var(--hb-white);box-shadow:var(--hb-shadow)}
.hb-header__inner{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:var(--hb-max-width);margin:0 auto;padding:0 20px}
.hb-header__logo{display:flex;align-items:center;gap:10px;font-family:var(--hb-font-heading);font-weight:700;font-size:1.25rem;color:var(--hb-blue)}
.hb-header--transparent .hb-header__logo{color:var(--hb-white)}
.hb-header--scrolled .hb-header__logo{color:var(--hb-blue)}
.hb-header__logo svg{width:40px;height:40px}
.hb-nav{display:flex;align-items:center;gap:32px}
.hb-nav__link{font-weight:500;font-size:.95rem;color:var(--hb-dark);position:relative}
.hb-header--transparent .hb-nav__link{color:rgba(255,255,255,.9)}
.hb-header--transparent .hb-nav__link:hover{color:var(--hb-white)}
.hb-header--scrolled .hb-nav__link{color:var(--hb-dark)}
.hb-nav__link:hover{color:var(--hb-blue)}
.hb-nav__link--active{color:var(--hb-blue)!important}
.hb-nav__dropdown{position:relative}
.hb-nav__dropdown-menu{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%) translateY(8px);background:var(--hb-white);border-radius:var(--hb-radius);box-shadow:var(--hb-shadow-lg);padding:12px 0;min-width:220px;opacity:0;visibility:hidden;transition:var(--hb-transition);z-index:100}
.hb-nav__dropdown:hover .hb-nav__dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.hb-nav__dropdown-item{display:block;padding:10px 20px;font-size:.9rem;color:var(--hb-dark);white-space:nowrap}
.hb-nav__dropdown-item:hover{background:var(--hb-sand-light);color:var(--hb-blue)}
.hb-header__cta{padding:10px 24px}
.hb-header__hamburger{display:none;flex-direction:column;gap:5px;width:28px;padding:4px 0;position:relative;z-index:1001;cursor:pointer}
.hb-header__hamburger span{display:block;height:3px;background:var(--hb-blue);border-radius:2px;transition:var(--hb-transition)}
.hb-nav--open~.hb-header__hamburger span:nth-child(1),.hb-header__hamburger.hb-active span:nth-child(1){transform:rotate(45deg) translate(5px,6px)}
.hb-nav--open~.hb-header__hamburger span:nth-child(2),.hb-header__hamburger.hb-active span:nth-child(2){opacity:0}
.hb-nav--open~.hb-header__hamburger span:nth-child(3),.hb-header__hamburger.hb-active span:nth-child(3){transform:rotate(-45deg) translate(5px,-6px)}
.hb-header--transparent .hb-header__hamburger span{background:var(--hb-white)}

@media(max-width:968px){
  .hb-nav{position:fixed;top:0;right:-100%;width:300px;height:100vh;background:var(--hb-white);flex-direction:column;align-items:flex-start;padding:80px 32px 32px;gap:0;transition:var(--hb-transition);box-shadow:var(--hb-shadow-lg);z-index:999}
  .hb-nav.hb-nav--open{right:0}
  .hb-nav__link{color:var(--hb-dark)!important;padding:14px 0;width:100%;border-bottom:1px solid var(--hb-gray-light);font-size:1.05rem}
  .hb-nav__dropdown-menu{position:static;transform:none;box-shadow:none;opacity:1;visibility:visible;padding:0 0 0 16px;display:none}
  .hb-nav__dropdown.hb-open .hb-nav__dropdown-menu{display:block}
  .hb-header__hamburger{display:flex}
  .hb-header__cta--desktop{display:none}
  .hb-header__cta--mobile{display:inline-flex;margin-top:20px}
}

/* ========== HERO ========== */
.hb-hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:120px 20px 80px;margin-top:calc(-1 * var(--hb-header-h))}
.hb-hero__bg{position:absolute;inset:0;z-index:0;background:url('/images/hero.webp') center/cover no-repeat,linear-gradient(135deg,#0c4a6e 0%,#1e3a5f 30%,#2d5a7b 60%,#1a4a6a 100%)}
@keyframes hb-ocean{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.hb-hero__overlay{position:absolute;inset:0;z-index:1;background:rgba(15,23,42,.55)}
.hb-hero__waves{position:absolute;bottom:0;left:0;right:0;z-index:2}
.hb-hero__content{position:relative;z-index:3;text-align:center;max-width:800px;color:var(--hb-white)}
.hb-hero__title{font-size:clamp(2.25rem,6vw,3.75rem);margin-bottom:20px;text-shadow:0 2px 20px rgba(0,0,0,.2)}
.hb-hero__subtitle{font-size:clamp(1.05rem,2.5vw,1.35rem);opacity:.92;margin-bottom:36px;line-height:1.7}
.hb-hero__actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.hb-hero__badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.15);backdrop-filter:blur(10px);padding:8px 20px;border-radius:50px;font-size:.875rem;margin-bottom:20px}

/* ========== WAVE DIVIDERS ========== */
.hb-wave{position:relative;overflow:hidden}
.hb-wave::before{content:'';position:absolute;top:-1px;left:0;right:0;height:60px;background:var(--hb-white);clip-path:ellipse(55% 100% at 50% 0%);z-index:2}
.hb-wave--sand::before{background:var(--hb-sand-light)}
.hb-wave--dark::before{background:var(--hb-dark)}
.hb-wave--white::before{background:var(--hb-white)}
.hb-wave--bottom::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:60px;background:var(--hb-white);clip-path:ellipse(55% 100% at 50% 100%);z-index:2}

/* ========== CARDS ========== */
.hb-card{background:var(--hb-white);border-radius:var(--hb-radius);overflow:hidden;box-shadow:var(--hb-shadow);transition:var(--hb-transition);border-bottom:4px solid transparent}
.hb-card:hover{transform:translateY(-4px);box-shadow:var(--hb-shadow-lg);border-bottom-color:var(--hb-blue);background:var(--hb-sand-light)}
.hb-card__img{width:100%;height:200px;object-fit:cover}
.hb-card__body{padding:24px}
.hb-card__tag{display:inline-block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:var(--hb-blue);background:rgba(3,105,161,.08);padding:4px 12px;border-radius:50px;margin-bottom:12px}
.hb-card__title{font-size:1.15rem;margin-bottom:8px}
.hb-card__title a{color:var(--hb-dark)}
.hb-card__title a:hover{color:var(--hb-blue)}
.hb-card__text{color:var(--hb-gray);font-size:.925rem;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hb-card__meta{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--hb-gray)}
.hb-card__link{font-weight:600;font-size:.9rem;color:var(--hb-blue);display:inline-flex;align-items:center;gap:4px}
.hb-card__link:hover{gap:8px}

/* Card Grid */
.hb-card-grid{display:grid;gap:24px;grid-template-columns:repeat(3,1fr)}
.hb-card-grid--2{grid-template-columns:repeat(2,1fr)}
.hb-card-grid--3{grid-template-columns:repeat(3,1fr)}
.hb-card-grid--4{grid-template-columns:repeat(4,1fr)}
@media(max-width:968px){.hb-card-grid--3,.hb-card-grid--4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.hb-card-grid--2,.hb-card-grid--3,.hb-card-grid--4{grid-template-columns:1fr}}

/* ========== STATS ========== */
.hb-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;text-align:center}
.hb-stats__item h3{font-size:clamp(1.75rem,4vw,2.75rem);color:var(--hb-blue);margin-bottom:4px}
.hb-stats__item p{color:var(--hb-gray);font-size:.9rem}
@media(max-width:768px){.hb-stats{grid-template-columns:repeat(2,1fr);gap:24px}}

/* ========== BRIDGE STEPS ========== */
.hb-bridge{position:relative;padding:40px 0}
.hb-bridge__steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative}
.hb-bridge__step{text-align:center;padding:24px 16px;position:relative;z-index:2}
.hb-bridge__step-num{width:56px;height:56px;border-radius:50%;background:var(--hb-blue);color:var(--hb-white);display:flex;align-items:center;justify-content:center;font-family:var(--hb-font-heading);font-weight:700;font-size:1.25rem;margin:0 auto 16px;position:relative;z-index:3}
.hb-bridge__step h4{margin-bottom:8px;color:var(--hb-dark)}
.hb-bridge__step p{font-size:.9rem;color:var(--hb-gray)}
.hb-bridge__line{position:absolute;top:52px;left:12.5%;right:12.5%;height:4px;background:var(--hb-sand);z-index:1;border-radius:2px}
.hb-bridge__svg{position:absolute;top:20px;left:5%;right:5%;height:80px;z-index:0;opacity:.12}
@media(max-width:768px){
  .hb-bridge__steps{grid-template-columns:1fr;gap:16px}
  .hb-bridge__line{display:none}
  .hb-bridge__svg{display:none}
}

/* ========== LETTER TABS (States) ========== */
.hb-letter-tabs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:32px}
.hb-letter-tab{padding:10px 24px;border-radius:50px;font-weight:600;font-size:.9rem;background:var(--hb-sand-light);color:var(--hb-dark);transition:var(--hb-transition);cursor:pointer;border:2px solid transparent}
.hb-letter-tab:hover{border-color:var(--hb-blue)}
.hb-letter-tab--active{background:var(--hb-blue);color:var(--hb-white);border-color:var(--hb-blue)}
.hb-letter-content{display:none}
.hb-letter-content--active{display:block}
.hb-states-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.hb-state-link{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:var(--hb-radius-sm);background:var(--hb-white);border:1px solid #e2e8f0;transition:var(--hb-transition);font-weight:500}
.hb-state-link:hover{border-color:var(--hb-blue);background:var(--hb-sand-light);color:var(--hb-blue)}
.hb-state-link span{font-size:.8rem;color:var(--hb-gray);margin-left:auto}

/* ========== TESTIMONIALS CAROUSEL ========== */
.hb-testimonials{position:relative;max-width:700px;margin:0 auto;overflow:hidden}
.hb-testimonial{display:none;text-align:center;padding:40px 20px}
.hb-testimonial--active{display:block;animation:hb-fadeIn .5s ease}
@keyframes hb-fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.hb-testimonial__quote{font-size:1.2rem;font-style:italic;line-height:1.8;color:var(--hb-dark);margin-bottom:24px;position:relative;padding:0 20px}
.hb-testimonial__quote::before{content:'\201C';font-size:4rem;color:var(--hb-blue);opacity:.2;position:absolute;top:-20px;left:0;font-family:serif}
.hb-testimonial__author{font-weight:700;color:var(--hb-dark)}
.hb-testimonial__role{font-size:.875rem;color:var(--hb-gray)}
.hb-testimonials__dots{display:flex;gap:8px;justify-content:center;margin-top:24px}
.hb-testimonials__dot{width:10px;height:10px;border-radius:50%;background:var(--hb-sand);cursor:pointer;transition:var(--hb-transition)}
.hb-testimonials__dot--active{background:var(--hb-blue);transform:scale(1.2)}

/* ========== INSURANCE PILLS ========== */
.hb-pills{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.hb-pill{padding:8px 20px;display:inline-flex;align-items:center;border-radius:50px;background:var(--hb-white);border:2px solid #e2e8f0;font-weight:500;font-size:.9rem;transition:var(--hb-transition);color:var(--hb-dark)}
.hb-pill:hover{border-color:var(--hb-blue);color:var(--hb-blue);background:rgba(3,105,161,.04)}

/* ========== FAQ ========== */
.hb-faq{max-width:800px;margin:0 auto}
.hb-faq__item{border-bottom:1px solid #e2e8f0}
.hb-faq__question{width:100%;text-align:left;padding:20px 0;font-size:1.05rem;font-weight:600;display:flex;justify-content:space-between;align-items:center;color:var(--hb-dark)}
.hb-faq__question::after{content:'+';font-size:1.5rem;color:var(--hb-blue);transition:var(--hb-transition);flex-shrink:0}
.hb-faq__item--open .hb-faq__question::after{content:'−'}
.hb-faq__answer{max-height:0;overflow:hidden;transition:max-height .3s ease;color:var(--hb-gray);line-height:1.8}
.hb-faq__item--open .hb-faq__answer{max-height:500px;padding-bottom:20px}

/* ========== ARTICLE FEATURED ========== */
.hb-article-featured{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:24px;align-items:stretch}
.hb-article-featured .hb-card:first-child{grid-row:span 2}
.hb-article-featured .hb-card:first-child .hb-card__img{height:100%;min-height:300px}
@media(max-width:968px){.hb-article-featured{grid-template-columns:1fr}}

/* ========== FLOATING FAB ========== */
.hb-fab{position:fixed;bottom:24px;right:24px;z-index:900;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.hb-fab__btn{width:56px;height:56px;border-radius:50%;background:var(--hb-blue);color:var(--hb-white);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(3,105,161,.3);transition:var(--hb-transition);font-size:1.25rem}
.hb-fab__btn:hover{transform:scale(1.1);box-shadow:0 6px 30px rgba(3,105,161,.4)}
.hb-fab__menu{display:flex;flex-direction:column;gap:8px;opacity:0;visibility:hidden;transform:translateY(10px);transition:var(--hb-transition)}
.hb-fab--open .hb-fab__menu{opacity:1;visibility:visible;transform:translateY(0)}
.hb-fab__menu-item{display:flex;align-items:center;gap:10px;padding:10px 16px;background:var(--hb-white);border-radius:50px;box-shadow:var(--hb-shadow);font-size:.875rem;font-weight:500;white-space:nowrap;color:var(--hb-dark)}
.hb-fab__menu-item:hover{background:var(--hb-sand-light);color:var(--hb-blue)}

/* ========== FOOTER ========== */
.hb-footer{background:var(--hb-dark);color:rgba(255,255,255,.8);padding:80px 0 32px;position:relative}
.hb-footer__wave{position:absolute;top:-59px;left:0;right:0;height:60px}
.hb-footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;margin-bottom:48px}
.hb-footer__brand p{margin-top:16px;font-size:.9rem;line-height:1.7;opacity:.7}
.hb-footer__title{font-family:var(--hb-font-heading);font-size:1rem;font-weight:600;color:var(--hb-white);margin-bottom:16px}
.hb-footer__links{display:flex;flex-direction:column;gap:10px}
.hb-footer__links a{color:rgba(255,255,255,.6);font-size:.9rem}
.hb-footer__links a:hover{color:var(--hb-white)}
.hb-footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;font-size:.8rem;opacity:.6}
@media(max-width:768px){.hb-footer__grid{grid-template-columns:1fr 1fr;gap:32px}.hb-footer__bottom{flex-direction:column;text-align:center}}
@media(max-width:480px){.hb-footer__grid{grid-template-columns:1fr}}

/* ========== BREADCRUMBS ========== */
.hb-breadcrumbs{padding:16px 0;font-size:.85rem;color:var(--hb-gray)}
.hb-breadcrumbs a{color:var(--hb-gray)}
.hb-breadcrumbs a:hover{color:var(--hb-blue)}
.hb-breadcrumbs span{margin:0 8px;opacity:.4}

/* ========== PAGE HERO (Interior) ========== */
.hb-page-hero{background:linear-gradient(135deg,#0c4a6e,#0369A1);padding:120px 20px 60px;text-align:center;color:var(--hb-white);position:relative}
.hb-page-hero h1{margin-bottom:16px}
.hb-page-hero p{font-size:1.1rem;opacity:.85;max-width:600px;margin:0 auto}

/* ========== TABS (Overview, etc.) ========== */
.hb-tabs{display:flex;gap:0;border-bottom:2px solid #e2e8f0;margin-bottom:32px;overflow-x:auto}
.hb-tab{padding:14px 24px;font-weight:600;font-size:.95rem;color:var(--hb-gray);border-bottom:3px solid transparent;margin-bottom:-2px;transition:var(--hb-transition);white-space:nowrap;cursor:pointer}
.hb-tab:hover{color:var(--hb-blue)}
.hb-tab--active{color:var(--hb-blue);border-bottom-color:var(--hb-blue)}
.hb-tab-content{display:none}
.hb-tab-content--active{display:block}

/* ========== SIDEBAR ========== */
.hb-layout{display:grid;grid-template-columns:1fr 340px;gap:40px}
@media(max-width:968px){.hb-layout{grid-template-columns:1fr}}
.hb-sidebar__card{background:var(--hb-white);border-radius:var(--hb-radius);padding:24px;box-shadow:var(--hb-shadow);margin-bottom:24px}
.hb-sidebar__card h4{margin-bottom:16px}

/* ========== LOAD MORE ========== */
.hb-load-more{text-align:center;margin-top:40px}

/* ========== ARTICLE DETAIL ========== */
.hb-article-progress{position:fixed;top:var(--hb-header-h);left:0;right:0;height:3px;z-index:999;background:#e2e8f0}
.hb-article-progress__bar{height:100%;background:var(--hb-blue);width:0;transition:width .1s linear}
.hb-article-toc{background:var(--hb-sand-light);border-radius:var(--hb-radius);padding:24px;margin-bottom:32px}
.hb-article-toc h4{margin-bottom:12px}
.hb-article-toc a{display:block;padding:6px 0;font-size:.9rem;color:var(--hb-gray)}
.hb-article-toc a:hover{color:var(--hb-blue)}
.hb-article-body{font-size:1.05rem;line-height:1.85}
.hb-article-body h2{margin:40px 0 16px}
.hb-article-body h3{margin:32px 0 12px}
.hb-article-body p{margin-bottom:20px}
.hb-article-body ul,.hb-article-body ol{margin:16px 0;padding-left:24px;list-style:disc}
.hb-article-body ol{list-style:decimal}
.hb-article-body li{margin-bottom:8px}
.hb-article-share{display:flex;gap:12px;margin:32px 0}
.hb-article-share a{width:40px;height:40px;border-radius:50%;background:var(--hb-sand-light);display:flex;align-items:center;justify-content:center;color:var(--hb-gray);transition:var(--hb-transition)}
.hb-article-share a:hover{background:var(--hb-blue);color:var(--hb-white)}
.hb-author-card{display:flex;gap:20px;padding:24px;background:var(--hb-sand-light);border-radius:var(--hb-radius);margin:32px 0}
.hb-author-card img{width:64px;height:64px;border-radius:50%;object-fit:cover}
.hb-medical-review{padding:16px 20px;border-left:4px solid var(--hb-blue);background:rgba(3,105,161,.04);border-radius:0 var(--hb-radius-sm) var(--hb-radius-sm) 0;margin:24px 0;font-size:.9rem}

/* ========== CENTER DETAIL ========== */
.hb-center-hero{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
@media(max-width:768px){.hb-center-hero{grid-template-columns:1fr}}
.hb-center-info{display:flex;flex-direction:column;gap:12px}
.hb-center-info__item{display:flex;align-items:center;gap:10px;font-size:.95rem;color:var(--hb-gray)}
.hb-center-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-radius:var(--hb-radius);overflow:hidden}
.hb-center-gallery img{width:100%;height:150px;object-fit:cover}

/* ========== COMPARISON TABLE ========== */
.hb-comparison{overflow-x:auto}
.hb-comparison table{width:100%;border-collapse:collapse;min-width:600px}
.hb-comparison th,.hb-comparison td{padding:14px 16px;text-align:left;border-bottom:1px solid #e2e8f0}
.hb-comparison th{background:var(--hb-sand-light);font-family:var(--hb-font-heading);font-weight:600;position:sticky;top:0}
.hb-comparison td:first-child{font-weight:600;color:var(--hb-dark)}
.hb-comparison tr:hover{background:rgba(3,105,161,.02)}

/* ========== FORM ========== */
.hb-form{display:flex;flex-direction:column;gap:20px}
.hb-form__group label{display:block;font-weight:600;margin-bottom:6px;font-size:.9rem}
.hb-form__input{width:100%;padding:14px 16px;border:2px solid #e2e8f0;border-radius:var(--hb-radius-sm);font-family:var(--hb-font-body);font-size:1rem;transition:var(--hb-transition)}
.hb-form__input:focus{outline:none;border-color:var(--hb-blue);box-shadow:0 0 0 3px rgba(3,105,161,.1)}
textarea.hb-form__input{min-height:140px;resize:vertical}

/* ========== 404 ========== */
.hb-404{min-height:80vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:40px 20px}
.hb-404 h1{font-size:clamp(5rem,15vw,10rem);color:var(--hb-blue);opacity:.15;line-height:1}
.hb-404 h2{margin:16px 0 12px}
.hb-404 p{color:var(--hb-gray);margin-bottom:32px}

/* ========== ANIMATIONS ========== */
/* opacity:0 removed � content visible by default for bots/no-JS; animation enhancement only */
.hb-fade-up{transition:opacity .6s ease,transform .6s ease}
.hb-fade-up.hb-visible{opacity:1;transform:translateY(0)}

/* ========== PRINT ========== */
@media print{.hb-header,.hb-fab,.hb-footer,.hb-fab{display:none}.hb-section{padding:20px 0}}

/* === FIXES: Mobile header visibility === */
.hb-header--scrolled{border-bottom:2px solid var(--hb-blue);background:var(--hb-white)!important}
.hb-header__hamburger{width:32px;padding:6px 0}

@media(max-width:968px){
  .hb-header__inner{padding:0 16px}
  .hb-header__logo-img{width:140px}
}

/* === FIXES: Facility page layout on mobile === */
@media(max-width:968px){
  .hb-sidebar__card[style*="background:var(--hb-blue)"]{
    border-radius:var(--hb-radius);
    margin:0 -4px;
  }
  .hb-section{padding-top:calc(var(--hb-header-h) + 16px)}
  .hb-breadcrumbs{margin-top:var(--hb-header-h)}
}

.hb-hidden{display:none!important}

/* ========== MOBILE OVERFLOW FIX ========== */
html,body{max-width:100vw}
.hb-container{overflow-wrap:break-word;word-wrap:break-word;overflow:clip}
.hb-center-hero{overflow:hidden}
@media(max-width:768px){
  .hb-center-hero{grid-template-columns:1fr}
  .hb-center-gallery{grid-template-columns:repeat(2,1fr)}
  .hb-layout{grid-template-columns:1fr;gap:24px;min-width:0}
  .hb-layout>*{min-width:0;overflow-wrap:break-word}
  .hb-sidebar__card{overflow:hidden}
  .hb-tab-content p{overflow-wrap:break-word;word-break:break-word}
  .hb-comparison{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .hb-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}
  img{max-width:100%;height:auto}
  .hb-center-info__item{flex-wrap:wrap}
}
.hb-sidebar__links{display:flex;flex-direction:column;gap:10px}
.hb-sidebar__links a{color:var(--hb-blue);font-size:.9rem;text-decoration:none}
.hb-sidebar__links a:hover{color:var(--hb-dark);text-decoration:underline}

/* ========== SKIP LINK ========== */
.hb-skip-link{position:absolute;top:-100%;left:16px;padding:12px 24px;background:var(--hb-blue);color:var(--hb-white);border-radius:0 0 var(--hb-radius-sm) var(--hb-radius-sm);z-index:9999;font-weight:600;transition:top .2s}
.hb-skip-link:focus{top:0}

/* ========== FOCUS VISIBLE ========== */
:focus-visible{outline:3px solid var(--hb-blue);outline-offset:2px;border-radius:4px}
a:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}

/* ========== MOBILE STICKY CTA ========== */
.hb-mobile-cta{position:fixed;bottom:0;left:0;right:0;background:var(--hb-blue);z-index:997;text-align:center;display:none}
.hb-mobile-cta a{display:block;color:#fff;text-decoration:none;font-weight:700;font-size:1.05rem;padding:14px 20px;letter-spacing:.3px}
@media(max-width:768px){
  .hb-mobile-cta{display:block!important}
  body{padding-bottom:56px}
}
@media(min-width:769px){
  .hb-mobile-cta{display:none!important}
}

/* ========== INSURANCE LOGOS BAR ========== */
.hb-insurance-bar{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;align-items:center;padding:20px 0}
.hb-insurance-bar img{height:32px;width:auto;opacity:.6;transition:opacity .3s}
.hb-insurance-bar img:hover{opacity:1}

/* Hide FAB on mobile when sticky CTA exists */
@media(max-width:768px){
  .hb-fab{display:none!important}
}

/* Mobile nav overlay backdrop */
@media(max-width:968px){
  .hb-nav-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:998}
  .hb-nav-overlay.active{display:block}
  .hb-nav{width:min(300px,85vw)}
  .hb-mobile-cta{z-index:997}
}

/* Mobile menu CTA */
@media(max-width:968px){
  .hb-header__cta--mobile{display:inline-flex!important;margin-top:20px;padding:14px 24px;background:var(--hb-blue);color:var(--hb-white)!important;border-radius:var(--hb-radius);font-weight:600;justify-content:center}
  /* Consistent nav spacing */
  .hb-nav__link{border-bottom:1px solid var(--hb-gray-light)}
  .hb-nav__dropdown .hb-nav__link{border-bottom:1px solid var(--hb-gray-light)}
}

/* ===== MOBILE MENU FIX (complete override) ===== */
@media(max-width:968px){
  /* Hamburger - always visible, large touch target */
  .hb-header__hamburger{
    display:flex!important;
    flex-direction:column;
    gap:6px;
    width:36px;
    height:36px;
    justify-content:center;
    align-items:center;
    padding:6px;
    cursor:pointer;
    z-index:1002;
    background:none;
    border:none;
    -webkit-tap-highlight-color:transparent;
  }
  .hb-header__hamburger span{
    display:block;
    width:24px;
    height:3px;
    background:var(--hb-blue)!important;
    border-radius:2px;
    transition:.3s ease;
  }
  /* White hamburger on transparent/blue header */
  .hb-header--transparent .hb-header__hamburger span{
    background:var(--hb-white)!important;
  }
  /* X shape when active */
  .hb-header__hamburger.hb-active span:nth-child(1){
    transform:rotate(45deg) translate(6px,6px);
    background:var(--hb-blue)!important;
  }
  .hb-header__hamburger.hb-active span:nth-child(2){opacity:0}
  .hb-header__hamburger.hb-active span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
    background:var(--hb-blue)!important;
  }
  
  /* Nav panel */
  .hb-nav{
    position:fixed!important;
    top:0!important;
    right:-100%!important;
    width:min(300px,85vw)!important;
    height:100vh!important;
    background:var(--hb-white)!important;
    flex-direction:column!important;
    align-items:stretch!important;
    padding:80px 24px 32px!important;
    gap:0!important;
    transition:right .3s ease!important;
    box-shadow:-4px 0 20px rgba(0,0,0,.15)!important;
    z-index:1000!important;
    overflow-y:auto!important;
  }
  .hb-nav.hb-nav--open{right:0!important}
  
  /* Nav links - consistent spacing */
  .hb-nav .hb-nav__link,
  .hb-nav .hb-nav__dropdown > .hb-nav__link{
    display:block!important;
    padding:14px 0!important;
    border-bottom:1px solid #e5e7eb!important;
    font-size:1.05rem!important;
    color:#1f2937!important;
    text-decoration:none!important;
  }
  
  /* Dropdown menus - hidden by default, show on tap */
  .hb-nav .hb-nav__dropdown-menu{
    position:static!important;
    display:none!important;
    transform:none!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    padding:0 0 0 20px!important;
    background:transparent!important;
  }
  .hb-nav .hb-nav__dropdown.hb-open .hb-nav__dropdown-menu{
    display:block!important;
  }
  .hb-nav .hb-nav__dropdown-item{
    display:block!important;
    padding:10px 0!important;
    border-bottom:1px solid #f3f4f6!important;
    font-size:.95rem!important;
    color:#4b5563!important;
  }
  
  /* Desktop CTA hidden, mobile CTA shown */
  .hb-header__cta--desktop{display:none!important}
  .hb-header__cta--mobile{
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:24px!important;
    padding:14px 24px!important;
    background:var(--hb-blue)!important;
    color:#fff!important;
    border-radius:8px!important;
    font-weight:600!important;
    font-size:1rem!important;
    text-decoration:none!important;
  }
}

/* Insurance chips */
.hb-insurance-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background:var(--hb-gray-light);border-radius:24px;font-size:.85rem;white-space:nowrap}
.hb-insurance-chip img{height:32px;width:auto;min-width:60px;max-width:100px;object-fit:contain}
.hb-insurance-initial{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.8rem;flex-shrink:0}
.hb-insurance-name{color:var(--hb-dark);font-weight:500}

/* Related Articles sidebar fix */
.hb-sidebar__card h4+.hb-footer__links{display:flex;flex-direction:column;gap:8px}
.hb-sidebar__card h4+.hb-footer__links a{color:var(--hb-blue);font-size:.9rem;text-decoration:none;line-height:1.4}
.hb-sidebar__card h4+.hb-footer__links a:hover{text-decoration:underline}
.hb-sidebar__card:empty{display:none}
.hb-pill img{height:28px;width:auto;max-width:100px;object-fit:contain}


/* === sirius hero-pro v1 (hb) === */
.hb-hero-pro {
  position: relative;
  padding: 76px 24px 56px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 40%, #ffffff 100%);
  overflow: hidden;
}
.hb-hero-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0% 0%, #0F766E1a, transparent 40%),
                    radial-gradient(circle at 100% 50%, #0F766E1a, transparent 50%);
  pointer-events: none;
}
.hb-hero-pro__inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.hb-hero-pro__crumb {
  display: flex; gap: 6px; font-size: .84rem; color: #475569;
  margin: 0 0 18px; list-style: none; padding: 0; flex-wrap: wrap;
}
.hb-hero-pro__crumb li { display: inline-flex; align-items: center; }
.hb-hero-pro__crumb li:not(:last-child)::after {
  content: "›"; margin: 0 6px; color: #94a3b8;
}
.hb-hero-pro__crumb a { color: #0F766E; text-decoration: none; font-weight: 500; }
.hb-hero-pro__crumb a:hover { text-decoration: underline; }
.hb-hero-pro__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: #fff; border: 1px solid #0F766E55;
  border-radius: 999px; font-size: .78rem; font-weight: 700; color: #0d5d59;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.hb-hero-pro__eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #dc2626;
  animation: hb-hero-pulse 1.8s infinite;
}
@keyframes hb-hero-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,.65); }
  50%     { box-shadow: 0 0 0 7px rgba(220,38,38,0); }
}
.hb-hero-pro__h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem); font-weight: 700;
  color: #0f172a; margin: 0 0 14px; line-height: 1.15; letter-spacing: -.01em;
}
.hb-hero-pro__sub {
  font-size: 1.05rem; line-height: 1.6; color: #334155;
  margin: 0 0 22px; max-width: 56ch;
}
.hb-hero-pro__actions {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0 0 18px;
}
.hb-hero-pro__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; background: linear-gradient(135deg, #0F766E, #0d5d59);
  color: #fff !important; border-radius: 12px; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; box-shadow: 0 6px 18px #0F766E4d;
  transition: all .2s ease; white-space: nowrap;
}
.hb-hero-pro__cta:hover {
  transform: translateY(-2px); box-shadow: 0 10px 26px #0F766E66;
  background: linear-gradient(135deg, #0d5d59, #0d5d59);
}
.hb-hero-pro__cta-2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; background: #fff; color: #0d5d59 !important;
  border: 2px solid #0F766E; border-radius: 12px; font-weight: 700; font-size: .98rem;
  text-decoration: none; transition: all .15s ease;
}
.hb-hero-pro__cta-2:hover { background: #0F766E11; transform: translateY(-1px); }
.hb-hero-pro__trust {
  display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: #0d5d59;
}
.hb-hero-pro__trust span {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
}
.hb-hero-pro__trust svg { width: 14px; height: 14px; color: #0F766E; }
.hb-hero-pro__card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
  padding: 26px 28px; box-shadow: 0 10px 35px rgba(15,23,42,.08);
}
.hb-hero-pro__card-title {
  font-size: .78rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px;
}
.hb-hero-pro__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 0 0 20px; padding: 0 0 18px; border-bottom: 1px solid #f1f5f9;
}
.hb-hero-pro__stat { text-align: center; }
.hb-hero-pro__stat-num {
  display: block; font-size: 2.1rem; font-weight: 700; color: #0F766E;
  line-height: 1; margin-bottom: 4px;
}
.hb-hero-pro__stat-label {
  display: block; font-size: .75rem; color: #64748b; font-weight: 600;
  letter-spacing: .02em;
}
.hb-hero-pro__accred { display: flex; flex-direction: column; gap: 10px; }
.hb-hero-pro__accred-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: #334155; font-weight: 600;
}
.hb-hero-pro__accred-item svg {
  width: 20px; height: 20px; color: #0F766E; flex-shrink: 0;
}
@media (max-width: 900px) {
  .hb-hero-pro { padding: 72px 18px 36px; }
  .hb-hero-pro__inner { grid-template-columns: 1fr; gap: 30px; }
  .hb-hero-pro__h1 { font-size: 1.65rem; }
  .hb-hero-pro__sub { font-size: .98rem; }
  .hb-hero-pro__stat-num { font-size: 1.6rem; }
  .hb-hero-pro__cta { padding: 12px 20px; font-size: .98rem; }
}
@media (max-width: 480px) {
  .hb-hero-pro__actions { flex-direction: column; align-items: stretch; }
  .hb-hero-pro__cta, .hb-hero-pro__cta-2 { width: 100%; }
}
/* === /sirius hero-pro v1 (hb) === */
