/* 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:hidden}
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:hidden;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}
.hb-header__hamburger span{display:block;height:3px;background:var(--hb-blue);border-radius:2px;transition:var(--hb-transition)}
.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:linear-gradient(135deg,#0c4a6e 0%,#0369A1 25%,#0ea5e9 50%,#0369A1 75%,#0c4a6e 100%);background-size:400% 400%;animation:hb-ocean 12s ease infinite}
@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,.3)}
.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}
.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:10px 24px;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;left: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 ========== */
.hb-fade-up{opacity:0;transform:translateY(20px);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}
.hb-header__hamburger span{height:3px;background:var(--hb-blue)!important}
@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:hidden}
.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}
}
