/* ==========================================================================
   HQDM Blocks – base layer
   Structure, layout, states and neutral defaults. The active skin (child
   theme) restyles everything through the --hb-* tokens and .hb-* classes.
   ========================================================================== */

:root {
  --hb-primary: #f0b429;
  --hb-primary-contrast: #111318;
  --hb-accent: #111318;
  --hb-heading: #111318;
  --hb-text: #5a5c67;
  --hb-bg: #ffffff;
  --hb-bg-alt: #f6f6f4;
  --hb-border: #e6e6e6;
  --hb-radius: 10px;
  --hb-container: 1140px;
  --hb-gutter: 24px;
  --hb-space: 120px;
  --hb-space-compact: 72px;
  --hb-space-large: 160px;
  --hb-font-heading: system-ui, -apple-system, "Segoe UI", sans-serif;
  --hb-font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --hb-ease: cubic-bezier(.22, .61, .36, 1);
  --hb-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

/* ---------- reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: var(--hb-font-body); font-size: 16px; line-height: 1.6; color: var(--hb-text); background: var(--hb-bg); }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
figure { margin: 0; }
button { font: inherit; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--hb-font-heading); color: var(--hb-heading); line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.hb-section ul, .hb-section ol, .hb-nav__list, .hb-nav__list ul, .hb-footer ul, .hb-social, .hb-contact-list, .hb-hours, .hb-logos__list, .hb-footer__legal, .hb-recent, .hb-widget__menu { list-style: none; margin: 0; padding: 0; }
.hb-prose ul, .hb-card__text ul, .hb-contact__info ul:not(.hb-hours) { list-style: disc; padding-left: 1.3em; }
.hb-prose ol, .hb-card__text ol { list-style: decimal; padding-left: 1.3em; }
.hb-card__text li + li { margin-top: .25em; }
.screen-reader-text, .hb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hb-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; padding: 8px 12px; background: var(--hb-accent); color: #fff; border-radius: 6px; }
.hb-skip:focus { left: 8px; }

/* ---------- containers & sections ---------- */
.hb-container { width: 100%; max-width: calc(var(--hb-container) + var(--hb-gutter) * 2); margin: 0 auto; padding: 0 var(--hb-gutter); position: relative; z-index: 1; }
.hb-container--narrow { max-width: 860px; }
.hb-container--wide { max-width: 1400px; }
.hb-container--full { max-width: none; padding: 0; }

.hb-section { position: relative; padding: var(--hb-space) 0; background: var(--hb-bg); }
.hb-space-compact { padding: var(--hb-space-compact) 0; }
.hb-space-large { padding: var(--hb-space-large) 0; }
.hb-space-top { padding-bottom: 0; }
.hb-space-bottom { padding-top: 0; }
.hb-space-none { padding: 0; }
.hb-bg-alt { background: var(--hb-bg-alt); }
.hb-bg-dark { background: var(--hb-accent); color: rgba(255, 255, 255, .85); }
.hb-bg-dark h1, .hb-bg-dark h2, .hb-bg-dark h3, .hb-bg-dark h4, .hb-bg-dark h5, .hb-bg-dark .hb-intro, .hb-bg-dark .hb-card__title { color: #fff; }
.hb-bg-primary { background: var(--hb-primary); color: var(--hb-primary-contrast); }
.hb-bg-primary h1, .hb-bg-primary h2, .hb-bg-primary h3, .hb-bg-primary h4 { color: var(--hb-primary-contrast); }

/* background image layer (real <img>, overlay separate) */
.hb-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hb-bg__img { width: 100%; height: 100%; object-fit: cover; }
.hb-bg__overlay { position: absolute; inset: 0; background: var(--hb-accent); }
.has-bg { color: #fff; }
.has-bg h1, .has-bg h2, .has-bg h3, .has-bg h4, .has-bg p, .has-bg .hb-intro { color: #fff; }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .hb-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--hb-ease), transform .7s var(--hb-ease); }
  .hb-reveal.is-visible, .no-js .hb-reveal, .editor-styles-wrapper .hb-reveal { opacity: 1; transform: none; }
}

/* ---------- grid ---------- */
.hb-grid { display: grid; gap: 30px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.hb-grid--2 { --cols: 2; }
.hb-grid--3 { --cols: 3; }
.hb-grid--4 { --cols: 4; }
.hb-cols-1 { --cols: 1; }
.hb-cols-2 { --cols: 2; }
.hb-cols-3 { --cols: 3; }
@media (max-width: 1024px) {
  .hb-grid--3, .hb-grid--4 { --cols: 2; }
  .hb-cols-3 { --cols: 2; }
}
@media (max-width: 640px) {
  .hb-grid { --cols: 1 !important; gap: 24px; }
  .hb-cols-2, .hb-cols-3 { --cols: 1; }
}

/* ---------- headings ---------- */
.hb-heading { max-width: 760px; margin: 0 auto 50px; }
.hb-heading--left { margin-left: 0; }
.hb-heading--center { text-align: center; }
.hb-heading--tight { margin-bottom: 24px; }
.hb-eyebrow { display: block; margin-bottom: 10px; font-weight: 500; color: var(--hb-primary); }
.hb-title { margin-bottom: 20px; font-size: clamp(30px, 4vw, 46px); }
.hb-intro { margin: 0; font-size: 17px; }

/* ---------- buttons ---------- */
.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border-radius: var(--hb-radius); font-weight: 500; text-decoration: none; line-height: 1.2; transition: background .35s var(--hb-ease), color .35s var(--hb-ease), border-color .35s, transform .35s; border: 1px solid transparent; cursor: pointer; }
.hb-btn__icon { width: 14px; height: 14px; flex: none; }
.hb-btn--primary { background: var(--hb-primary); color: var(--hb-primary-contrast); }
.hb-btn--primary:hover { background: var(--hb-accent); color: #fff; }
.hb-btn--secondary { background: transparent; color: var(--hb-accent); border-color: currentColor; }
.hb-btn--secondary:hover { background: var(--hb-accent); color: #fff; border-color: var(--hb-accent); }
.has-bg .hb-btn--secondary, .hb-bg-dark .hb-btn--secondary { color: #fff; }
.has-bg .hb-btn--secondary:hover, .hb-bg-dark .hb-btn--secondary:hover { background: #fff; color: var(--hb-accent); }
.hb-btn--light { background: #fff; color: var(--hb-accent); }
.hb-btn--light:hover { background: var(--hb-primary); color: var(--hb-primary-contrast); }
.hb-btn--link { min-height: 0; padding: 0; background: none; color: var(--hb-accent); border: 0; border-radius: 0; }
.hb-btn--link:hover { color: var(--hb-primary); }
.hb-btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.hb-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hb-actions--center { justify-content: center; }
.hb-heading--center + .hb-actions, .hb-hero--center .hb-actions { justify-content: center; }

/* ---------- hero ---------- */
.hb-hero { display: flex; align-items: center; min-height: 640px; padding: 120px 0 100px; background: var(--hb-accent); color: #fff; }
.hb-hero--h-tall { min-height: 800px; }
.hb-hero--h-short, .hb-hero--inner { min-height: 420px; padding: 90px 0 70px; }
.hb-hero__inner { max-width: 820px; }
.hb-hero--center .hb-hero__inner { margin: 0 auto; text-align: center; }
.hb-hero__title { margin-bottom: 20px; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.1; color: #fff; }
.hb-hero__text { margin: 0 0 8px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.hb-hero .hb-actions { margin-top: 32px; }
.hb-breadcrumb { margin-top: 28px; font-size: 15px; }
.hb-breadcrumb ol, .hb-breadcrumb .rank-math-breadcrumb p { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; padding: 16px 22px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--hb-radius); }
.hb-breadcrumb li + li::before { content: "~"; margin-right: 10px; opacity: .8; }
.hb-breadcrumb a { text-decoration: none; }
.hb-breadcrumb [aria-current], .hb-breadcrumb .last { color: var(--hb-primary); }
@media (max-width: 767px) {
  .hb-hero { min-height: 0; padding: 80px 0 64px; }
  .hb-hero--inner { padding: 64px 0 56px; }
}

/* ---------- text + image ---------- */
.hb-ti { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hb-ti--img-right .hb-ti__media { order: 2; }
.hb-ti__media { position: relative; }
.hb-ti__frame img, .hb-ti__img { width: 100%; border-radius: var(--hb-radius); }
.hb-ti__card { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 45%; border: 5px solid #fff; border-radius: var(--hb-radius); overflow: hidden; box-shadow: var(--hb-shadow); }
.hb-ti__stats { display: flex; flex-wrap: wrap; gap: 24px 40px; margin: 28px 0; }
.hb-stat__value { display: inline-flex; align-items: flex-start; font-family: var(--hb-font-heading); font-size: 36px; font-weight: 700; line-height: 1; color: var(--hb-accent); }
.hb-stat__suffix { font-size: .6em; margin-left: 2px; }
.hb-stat__label { display: block; margin-top: 8px; font-size: 15px; }
.hb-stat--card { text-align: center; }
.hb-stat--card .hb-stat__value { font-size: 48px; }
.hb-stat__icon { width: 64px; margin: 0 auto 14px; }
.hb-bg-dark .hb-stat__value, .hb-bg-dark .hb-stat__label, .has-bg .hb-stat__value { color: #fff; }
@media (max-width: 900px) {
  .hb-ti { grid-template-columns: 1fr; gap: 36px; }
  .hb-ti--img-right .hb-ti__media { order: 0; }
}

/* ---------- checklist ---------- */
.hb-checklist { display: grid; gap: 8px 24px; margin: 0 0 28px; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.hb-checklist li { position: relative; display: flex; gap: 10px; align-items: flex-start; }
.hb-checklist__icon { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--hb-primary); }
.hb-checklist--light { color: #fff; }
.hb-checklist--grid { margin-top: 12px; }

/* ---------- cards ---------- */
.hb-card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: transparent; border-radius: var(--hb-radius); transition: transform .5s var(--hb-ease), box-shadow .5s var(--hb-ease), border-color .5s; }
.hb-card__media { position: relative; overflow: hidden; border-radius: var(--hb-radius); }
.hb-card__img { width: 100%; aspect-ratio: 350 / 287; object-fit: cover; }
.hb-card__img-placeholder { display: block; aspect-ratio: 350 / 287; background: var(--hb-bg-alt); }
.hb-card__icon { display: flex; align-items: center; justify-content: center; width: 86px; height: 86px; margin: 0 auto 22px; border-radius: var(--hb-radius); background: var(--hb-primary); }
.hb-card__icon img, .hb-card__icon svg { width: 44px; height: 44px; object-fit: contain; }
.hb-card--image-icon .hb-card__media { margin-bottom: -43px; }
.hb-card--image-icon .hb-card__icon { position: relative; z-index: 1; }
.hb-card__body { display: flex; flex-direction: column; flex: 1; }
.hb-card__title { margin-bottom: 14px; font-size: 22px; }
.hb-card__text { flex: 1; }
.hb-card__text p:last-child { margin-bottom: 0; }
.hb-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--hb-accent); text-decoration: none; }
.hb-card__link svg { width: 14px; height: 14px; }
.hb-card__link:hover { color: var(--hb-primary); }
.hb-card__btn { margin-top: auto; align-self: flex-start; }
.hb-cards--icon .hb-card, .hb-cards--image-icon .hb-card { text-align: center; }
.hb-cards--icon .hb-card__link, .hb-cards--image-icon .hb-card__link { justify-content: center; }
.hb-cards--info .hb-card { align-items: center; text-align: center; padding: 48px 30px 42px; background: #fff; border-bottom: 2px solid transparent; }
.hb-cards--info .hb-card:hover { transform: translateY(-3px); border-bottom-color: var(--hb-primary); }
.hb-cards--info .hb-card__icon { background: transparent; width: auto; height: auto; }
.hb-cards--info .hb-card__icon img { width: 70px; height: 70px; }
.hb-cards--feature .hb-card__media { margin-bottom: 30px; }
.hb-cards--feature .hb-card__img { aspect-ratio: 540 / 300; }
.hb-cards--feature .hb-card__btn { margin-top: 20px; }
.hb-cards--image .hb-card__media { margin-bottom: 22px; }
a.hb-card:hover { transform: translateY(-4px); }

/* ---------- testimonials ---------- */
.hb-testimonial { margin: 0; text-align: center; }
.hb-stars { display: inline-flex; gap: 4px; margin-bottom: 22px; color: var(--hb-primary); }
.hb-stars svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.hb-stars .is-off { opacity: .25; }
.hb-testimonial__quote { margin: 0 0 30px; font-family: var(--hb-font-heading); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.45; color: var(--hb-heading); }
.hb-testimonial__quote p { margin: 0; }
.hb-testimonial__author { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hb-testimonial__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.hb-testimonial__name { font-family: var(--hb-font-heading); font-size: 22px; font-weight: 700; color: var(--hb-heading); }
.hb-testimonial__role { font-size: 14px; }
.hb-testimonials--grid .hb-testimonial { padding: 36px 30px; background: #fff; border-radius: var(--hb-radius); box-shadow: var(--hb-shadow); }
.hb-testimonials--grid .hb-testimonial__quote { font-size: 18px; }
.hb-slider { position: relative; overflow: hidden; }
.hb-slider__track { display: flex; transition: transform .6s var(--hb-ease); }
.hb-slider__item { flex: 0 0 100%; min-width: 0; padding: 0 5%; }
.hb-slider__nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 36px; }
.hb-slider__btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--hb-border); border-radius: 50%; background: #fff; color: var(--hb-accent); cursor: pointer; transition: .3s; }
.hb-slider__btn:hover { background: var(--hb-primary); border-color: var(--hb-primary); }
.hb-slider__btn svg { width: 18px; height: 18px; }
.hb-slider__dots { display: flex; gap: 10px; }
.hb-slider__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: var(--hb-border); cursor: pointer; transition: .3s; }
.hb-slider__dot.is-active { background: var(--hb-primary); transform: scale(1.25); }

/* ---------- cta ---------- */
.hb-cta { color: #fff; }
.hb-cta--full { min-height: 480px; display: flex; align-items: center; }
.hb-cta__inner { max-width: 640px; }
.hb-cta--center .hb-cta__inner { margin: 0 auto; text-align: center; }
.hb-cta--right .hb-cta__inner { margin-left: auto; }
.hb-cta--boxed { color: inherit; }
.hb-cta--boxed .hb-cta__box { position: relative; overflow: hidden; padding: 60px; border-radius: var(--hb-radius); background: var(--hb-accent); color: #fff; }
.hb-cta--boxed .hb-cta__box h2, .hb-cta--boxed .hb-cta__box p { color: #fff; }
.hb-cta .hb-heading--tight { margin-bottom: 20px; }
.hb-cta .hb-actions { margin-top: 20px; }
@media (max-width: 767px) { .hb-cta--full { min-height: 0; } .hb-cta--boxed .hb-cta__box { padding: 40px 24px; } }

/* ---------- faq ---------- */
.hb-faq__grid { display: grid; gap: 24px 30px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); align-items: start; }
.hb-acc { border: 1px solid var(--hb-border); border-radius: var(--hb-radius); background: #fff; transition: border-color .3s; }
.hb-acc[open] { border-color: var(--hb-accent); }
.hb-acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--hb-font-heading); font-weight: 700; font-size: 18px; color: var(--hb-heading); }
.hb-acc__q::-webkit-details-marker { display: none; }
.hb-acc__icon { flex: none; width: 18px; height: 18px; transition: transform .3s; }
.hb-acc[open] .hb-acc__icon { transform: rotate(180deg); }
.hb-acc__a { padding: 0 22px 22px; }
.hb-acc__a p:last-child { margin-bottom: 0; }

/* ---------- process ---------- */
.hb-step { position: relative; text-align: center; }
.hb-step__icon { display: flex; align-items: center; justify-content: center; width: 86px; height: 86px; margin: 0 auto 24px; border-radius: var(--hb-radius); background: var(--hb-primary); color: var(--hb-primary-contrast); font-family: var(--hb-font-heading); font-size: 28px; font-weight: 700; }
.hb-step__icon img { width: 44px; height: 44px; object-fit: contain; }
.hb-step__title { font-size: 22px; margin-bottom: 12px; }
.hb-step__text { margin: 0; }
@media (min-width: 1025px) {
  .has-arrows .hb-step:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -22px; width: 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--hb-primary) 0 8px, transparent 8px 14px); }
}

/* ---------- content / prose ---------- */
.hb-content__figure { margin: 0 0 40px; }
.hb-content__img { width: 100%; border-radius: var(--hb-radius); }
.hb-content--center { text-align: center; }
.hb-prose { font-size: 16px; line-height: 1.7; }
.hb-prose > * + * { margin-top: 1em; }
.hb-prose h2, .hb-prose h3, .hb-prose h4 { margin-top: 1.6em; }
.hb-prose h2 { font-size: 30px; }
.hb-prose h3 { font-size: 24px; }
.hb-prose h4 { font-size: 20px; }
.hb-prose img { border-radius: var(--hb-radius); }
.hb-prose a { color: var(--hb-accent); text-decoration: underline; text-underline-offset: 3px; }
.hb-prose a:hover { color: var(--hb-primary); }
.hb-prose blockquote { margin: 1.5em 0; padding: 24px 30px; border-left: 4px solid var(--hb-primary); background: var(--hb-bg-alt); border-radius: 0 var(--hb-radius) var(--hb-radius) 0; }
.hb-prose table { width: 100%; border-collapse: collapse; }
.hb-prose th, .hb-prose td { padding: 10px 14px; border: 1px solid var(--hb-border); text-align: left; }
.hb-prose li + li { margin-top: .35em; }
.hb-content__closing { margin-top: 28px; }

/* ---------- content with sidebar ---------- */
.hb-sc { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 48px; align-items: start; }
.hb-sc__title { margin-bottom: 36px; }
.hb-sc__aside.is-sticky { position: sticky; top: 110px; }
.hb-widget { padding: 32px 30px; margin-bottom: 24px; background: var(--hb-bg-alt); border-radius: var(--hb-radius); }
.hb-widget__title { font-size: 22px; margin-bottom: 18px; }
.hb-widget__menu li + li { margin-top: 6px; }
.hb-widget__menu a { display: block; padding: 8px 0; border-bottom: 1px solid var(--hb-border); text-decoration: none; }
.hb-widget__menu a:hover { color: var(--hb-primary); }
.hb-contact-list { display: grid; gap: 12px; }
.hb-contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.hb-contact-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--hb-primary); }
.hb-contact-list__link { text-decoration: none; }
.hb-contact-list__link:hover { color: var(--hb-primary); }
.hb-contact-list--lg { gap: 18px; font-size: 17px; margin-top: 28px; }
.hb-hours { display: grid; gap: 4px; }
.hb-hours__row { display: flex; gap: 16px; justify-content: space-between; }
@media (max-width: 900px) { .hb-sc { grid-template-columns: 1fr; } .hb-sc__aside.is-sticky { position: static; } }

/* ---------- contact ---------- */
.hb-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hb-contact--centered .hb-contact__grid { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.hb-form-card { padding: 36px; background: #fff; color: var(--hb-text); border-radius: var(--hb-radius); box-shadow: var(--hb-shadow); }
.hb-form-card h1, .hb-form-card h2, .hb-form-card h3 { color: var(--hb-heading); }
.hb-form__note { margin: 14px 0 0; font-size: 13px; opacity: .8; }
.hb-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .hb-form select, .hb-form textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--hb-border); border-radius: var(--hb-radius); background: #fff; font: inherit; color: var(--hb-text); }
.hb-form textarea { min-height: 120px; resize: vertical; }
.hb-form input:focus, .hb-form select:focus, .hb-form textarea:focus { outline: 2px solid var(--hb-primary); outline-offset: 1px; border-color: var(--hb-primary); }
.hb-form .ff-btn-submit, .hb-form button[type=submit], .hb-form input[type=submit] { width: 100%; min-height: 56px; padding: 0 30px; border: 0; border-radius: var(--hb-radius); background: var(--hb-primary); color: var(--hb-primary-contrast); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: .3s; }
.hb-form .ff-btn-submit:hover, .hb-form button[type=submit]:hover { background: var(--hb-accent); color: #fff; }
.hb-form .ff-el-group { margin-bottom: 16px; }
.hb-form .ff-el-input--label label { font-weight: 500; margin-bottom: 6px; display: block; color: var(--hb-heading); }
@media (max-width: 900px) { .hb-contact__grid { grid-template-columns: 1fr; gap: 32px; } .hb-form-card { padding: 28px 22px; } }

.hb-contact--form-left .hb-contact__form { order: -1; }
.hb-contact__info h2, .hb-contact__info h3, .hb-contact__info h4 { margin-top: 1.2em; }
.hb-contact__info > :first-child { margin-top: 0; }
.hb-contact__info .hb-hours { list-style: none; padding: 0; display: grid; gap: 4px; max-width: 320px; }
.hb-contact__info .hb-hours__row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.hb-contact__info a { color: var(--hb-primary); text-decoration: none; }
.hb-contact__info a:hover { text-decoration: underline; }

/* ---------- map ---------- */
.hb-map__split { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: center; }
.hb-map--info-right .hb-map__info { order: 2; }
.hb-map__title { margin-bottom: 14px; }
.hb-map__title--hours { margin-top: 28px; }
.hb-map__address, .hb-map__contact { margin: 0 0 10px; }
.hb-map__contact span { display: block; }
.hb-map__link { color: var(--hb-primary); text-decoration: none; }
.hb-map__link:hover { text-decoration: underline; }
.hb-map__hours { display: grid; gap: 4px; max-width: 320px; }
.hb-map__hours .hb-hours__row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
@media (max-width: 900px) { .hb-map__split { grid-template-columns: 1fr; gap: 28px; } .hb-map--info-right .hb-map__info { order: 0; } }
.hb-map__frame { position: relative; border-radius: var(--hb-radius); overflow: hidden; }
.hb-map__frame iframe { display: block; width: 100%; height: 480px; border: 0; transition: filter .6s; }
.hb-map--short .hb-map__frame iframe { height: 340px; }
.hb-map--tall .hb-map__frame iframe { height: 600px; }
.hb-map.is-gray .hb-map__frame iframe { filter: grayscale(1); }
.hb-map.is-gray .hb-map__frame:hover iframe { filter: none; }
.hb-map.hb-space-none .hb-map__frame { border-radius: 0; }

/* ---------- gallery ---------- */
.hb-gallery__grid { gap: 20px; }
.hb-gallery__item { position: relative; overflow: hidden; border-radius: var(--hb-radius); }
.hb-gallery__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--hb-ease); }
.hb-gallery__item:hover .hb-gallery__img { transform: scale(1.04); }
.hb-gallery__item figcaption { padding: 10px 0 0; font-size: 14px; }
.hb-lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.hb-lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.hb-lightbox__img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; border-radius: 8px; }
.hb-lightbox__cap { margin: 10px 0 0; text-align: center; color: #fff; }
.hb-lightbox__btn { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; }
.hb-lightbox__btn svg { width: 22px; height: 22px; }
.hb-lightbox__btn--prev { left: 16px; }
.hb-lightbox__btn--next { right: 16px; }
.hb-lightbox__btn--close { top: 16px; right: 16px; transform: none; }

/* ---------- blog ---------- */
.hb-post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid transparent; border-radius: var(--hb-radius); transition: transform .5s var(--hb-ease), border-color .5s; }
.hb-post-card:hover { transform: translateY(-3px); border-color: var(--hb-accent); }
.hb-post-card__media img { width: 100%; aspect-ratio: 328 / 300; object-fit: cover; border-radius: var(--hb-radius); }
.hb-post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 16px 16px; }
.hb-post-card__meta { display: flex; gap: 0; margin-bottom: 12px; font-size: 14px; }
.hb-post-card__meta span { padding: 0 9px; border-right: 1px solid var(--hb-accent); line-height: 1.2; }
.hb-post-card__meta span:first-child { padding-left: 0; }
.hb-post-card__meta span:last-child { border: 0; }
.hb-post-card__title { font-size: 20px; margin-bottom: 14px; }
.hb-post-card__title a { text-decoration: none; }
.hb-post-card__title a:hover { color: var(--hb-primary); }
.hb-post-card__excerpt { flex: 1; }
.hb-post-card .hb-btn { align-self: flex-start; }
.hb-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.hb-pagination .page-numbers { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--hb-border); border-radius: var(--hb-radius); text-decoration: none; }
.hb-pagination .page-numbers.current, .hb-pagination .page-numbers:hover { background: var(--hb-primary); border-color: var(--hb-primary); color: var(--hb-primary-contrast); }
.hb-pagination svg { width: 14px; height: 14px; }

/* single post */
.hb-post { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 48px; align-items: start; }
.hb-post__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; font-size: 14px; }
.hb-post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hb-post__meta svg { width: 16px; height: 16px; color: var(--hb-primary); }
.hb-post__thumb { margin-bottom: 28px; }
.hb-post__thumb img { width: 100%; border-radius: var(--hb-radius); }
.hb-post__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--hb-border); }
.hb-post__nav a { text-decoration: none; font-weight: 600; }
.hb-recent li + li { margin-top: 14px; }
.hb-recent a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; text-decoration: none; }
.hb-recent img { width: 72px; height: 60px; object-fit: cover; border-radius: 6px; }
.hb-recent span { font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) { .hb-post { grid-template-columns: 1fr; } }

/* ---------- logos ---------- */
.hb-logos { padding: 56px 0 40px; }
.hb-logos__title { margin-bottom: 24px; text-align: center; font-weight: 500; }
.hb-logos__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px 40px; }
.hb-logos__img { max-height: 48px; width: auto; transition: .5s; }
.is-gray .hb-logos__img { filter: grayscale(1); opacity: .8; }
.is-gray li:hover .hb-logos__img { filter: none; opacity: 1; }
@media (max-width: 767px) { .hb-logos__list { justify-content: center; } }

/* ---------- team ---------- */
.hb-member { text-align: center; padding-bottom: 20px; border-radius: var(--hb-radius); transition: .5s var(--hb-ease); }
.hb-member:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--hb-shadow); }
.hb-member__media { overflow: hidden; border-radius: 20px; margin-bottom: 22px; }
.hb-member__img { width: 100%; aspect-ratio: 255 / 304; object-fit: cover; }
.hb-member__name { font-size: 20px; margin-bottom: 4px; }
.hb-member__role { display: block; margin-bottom: 14px; font-size: 14px; }

/* ---------- social ---------- */
.hb-social { display: flex; gap: 8px; }
.hb-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: var(--hb-radius); transition: .3s; }
.hb-social svg { width: 16px; height: 16px; }
.hb-social a:hover { background: var(--hb-primary); border-color: var(--hb-primary); color: var(--hb-primary-contrast); transform: translateY(2px); }
.hb-social--sm a { width: 38px; height: 38px; border-radius: 50%; background: var(--hb-accent); color: #fff; border: 0; }

/* ---------- header (theme) ---------- */
.hb-topbar { padding: 6px 0; background: var(--hb-primary); color: var(--hb-primary-contrast); text-align: center; font-size: 15px; }
.hb-topbar a { color: inherit; text-decoration: none; }
.hb-header { position: relative; z-index: 50; }
.hb-header__bar { display: flex; align-items: center; gap: 24px; padding: 12px 30px; background: #fff; border-radius: 0 0 var(--hb-radius) var(--hb-radius); box-shadow: 0 10px 40px rgba(0, 0, 0, .06); }
.hb-header__logo { flex: none; display: block; }
.hb-header__logo img { max-height: 56px; width: auto; }
.hb-nav { flex: 1; }
.hb-nav__list { display: flex; align-items: center; justify-content: center; gap: 44px; }
.hb-nav__list li { position: relative; }
.hb-nav__list a { display: block; padding: 10px 0; font-weight: 500; text-decoration: none; color: var(--hb-accent); }
.hb-nav__list > li > a { position: relative; }
.hb-nav__list > li > a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 1px; background: var(--hb-primary); transition: width .4s var(--hb-ease); }
.hb-nav__list > li:hover > a::after, .hb-nav__list > li.current-menu-item > a::after, .hb-nav__list > li.current-menu-ancestor > a::after { width: 100%; }
.hb-nav__list > li.current-menu-item > a { color: var(--hb-primary); }
.hb-nav__toggle { display: none; }
.hb-nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 10px; margin-top: 10px; background: #fff; border-radius: var(--hb-radius); box-shadow: 0 0 100px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--hb-ease); z-index: 5; }
.hb-nav__list li:hover > .sub-menu, .hb-nav__list li:focus-within > .sub-menu, .hb-nav__list li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hb-nav__list .sub-menu a { padding: 7px 12px; border-radius: var(--hb-radius); }
.hb-nav__list .sub-menu a:hover, .hb-nav__list .sub-menu .current-menu-item > a { background: var(--hb-primary); color: var(--hb-primary-contrast); }
.hb-nav__list .menu-item-has-children > a { padding-right: 16px; }
.hb-nav__list .menu-item-has-children > a::before { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.hb-header__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--hb-font-heading); font-size: 20px; font-weight: 700; color: var(--hb-accent); text-decoration: none; }
.hb-header__phone .hb-phone__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--hb-primary); color: var(--hb-primary-contrast); }
.hb-header__cta { min-height: 48px; padding: 0 22px; }
.hb-header__toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--hb-accent); cursor: pointer; }
.hb-header__toggle svg { width: 28px; height: 28px; }
body.hb-sticky .hb-header.is-scrolled { position: sticky; top: 0; }
.hb-header.is-scrolled .hb-header__bar { border-radius: 0; }
@media (max-width: 1024px) {
  .hb-header__bar { gap: 16px; padding: 10px 16px; }
  .hb-nav__list { gap: 24px; }
  .hb-header__phone span { display: none; }
}
@media (max-width: 900px) {
  .hb-nav { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; padding: 90px 24px 40px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--hb-ease); }
  body.hb-nav-open .hb-nav { transform: none; }
  .hb-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .hb-nav__list li { border-bottom: 1px solid var(--hb-border); }
  .hb-nav__list a { padding: 14px 0; font-size: 18px; }
  .hb-nav__list > li > a::after { display: none; }
  .hb-nav__list .menu-item-has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .hb-nav__list .menu-item-has-children > a::before { display: none; }
  .hb-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--hb-accent); cursor: pointer; }
  .hb-nav__toggle svg { width: 18px; height: 18px; transition: transform .3s; }
  .hb-nav__list li.is-open > .hb-nav__toggle svg { transform: rotate(180deg); }
  .hb-nav__list .sub-menu { grid-column: 1 / -1; position: static; display: none; min-width: 0; margin: 0 0 8px; padding: 0 0 0 16px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .hb-nav__list li.is-open > .sub-menu { display: block; }
  .hb-nav__list .sub-menu li { border: 0; }
  .hb-nav__list .sub-menu a { padding: 10px 0; font-size: 16px; }
  .hb-header__toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; position: relative; z-index: 101; }
  .hb-header__cta { display: none; }
  .hb-header__phone { margin-left: auto; }
  .hb-header__phone + .hb-header__toggle { margin-left: 0; }
}

/* ---------- footer (theme) ---------- */
.hb-footer { position: relative; background: var(--hb-accent); color: rgba(255, 255, 255, .85); }
.hb-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 120px 0 70px; }
.hb-footer__logo { display: inline-block; margin-bottom: 18px; }
.hb-footer__logo img { max-height: 60px; width: auto; }
.hb-footer__about { margin-bottom: 24px; font-size: 14px; line-height: 1.7; color: #fff; }
.hb-footer__title { margin-bottom: 30px; font-size: 22px; color: var(--hb-primary); }
.hb-footer__menu li + li { margin-top: 8px; }
.hb-footer__menu a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #fff; text-decoration: none; transition: .3s; }
.hb-footer__menu a::before { content: ""; width: 5px; height: 5px; border-right: 2px solid var(--hb-primary); border-top: 2px solid var(--hb-primary); transform: rotate(45deg); }
.hb-footer__menu a:hover { color: var(--hb-primary); }
.hb-footer .hb-contact-list a, .hb-footer .hb-contact-list span { font-size: 14px; color: #fff; }
.hb-footer .hb-social a { color: #fff; }
.hb-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #fff; }
.hb-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.hb-footer__legal a { color: #fff; text-decoration: none; }
.hb-footer__legal a:hover { color: var(--hb-primary); }
@media (max-width: 1024px) { .hb-footer__grid { grid-template-columns: 1fr 1fr; padding: 80px 0 40px; } }
@media (max-width: 600px) { .hb-footer__grid { grid-template-columns: 1fr; text-align: center; } .hb-footer .hb-social, .hb-footer .hb-contact-list li { justify-content: center; } .hb-footer__bottom { justify-content: center; text-align: center; } }

/* back to top */
.hb-totop { position: fixed; right: 32px; bottom: 32px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 0; border-radius: var(--hb-radius); background: var(--hb-primary); color: var(--hb-primary-contrast); cursor: pointer; opacity: 0; visibility: hidden; transition: .4s; }
.hb-totop svg { width: 20px; height: 20px; }
.hb-totop.is-visible { opacity: 1; visibility: visible; }

/* editor preview niceties */
.editor-styles-wrapper .hb-section { padding: 48px 0; }
.editor-styles-wrapper .hb-hero { min-height: 320px; }
