/*
 * Theme Name: Herebia's Truck and Trailer Parts (Child of Astra)
 * Theme URI: https://herebias.com
 * Description: Custom child theme for Herebia's Truck and Trailer Parts  local brick-and-mortar marketing focus. Child of Astra.
 * Author: Ricardo R
 * Template: astra
 * Version: 2.3.0
 * */

@import url("../astra/style.css");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap");

/* =========================================================
 *    DESIGN TOKENS
 *    ========================================================= */
:root {
	  --hb-blue:        #4a7fb5;
	  --hb-blue-dark:   #2c5282;
	  --hb-blue-light:  #6fa3d8;
	  --hb-navy:        #1a2e4a;
	  --hb-black:       #0d0f12;
	  --hb-white:       #ffffff;
	  --hb-gray-50:     #f8f9fb;
	  --hb-gray-100:    #f1f3f6;
	  --hb-gray-200:    #e2e6ed;
	  --hb-gray-400:    #9aa5b4;
	  --hb-gray-600:    #4a5568;
	  --hb-gray-800:    #1a202c;
	  --hb-accent:      #e8a020;
	
	  --hb-font-head:   'Oswald', 'Arial Narrow', Arial, sans-serif;
	  --hb-font-body:   'Open Sans', system-ui, sans-serif;
	
	  --hb-radius:      6px;
	  --hb-radius-lg:   12px;
	  --hb-shadow:      0 2px 12px rgba(0,0,0,.10);
	  --hb-shadow-lg:   0 8px 32px rgba(0,0,0,.18);
	
	  --hb-shell-max:   1200px;
	  --hb-shell-pad:   clamp(1rem, 5vw, 2.5rem);
	  --hb-transition:  .25s ease;
}

/* =========================================================
 *    RESET / BASE
 *    ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	  font-family: var(--hb-font-body);
	  font-size: 1rem;
	  line-height: 1.65;
	  color: var(--hb-gray-800);
	  background: var(--hb-white);
	  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

ul { list-style: none; }

h1,h2,h3,h4,h5 {
	  font-family: var(--hb-font-head);
	  font-weight: 700;
	  line-height: 1.15;
	  letter-spacing: .02em;
	  color: var(--hb-navy);
}

/* =========================================================
 *    UTILITY
 *    ========================================================= */
.hb-shell {
	  max-width: var(--hb-shell-max);
	  margin-inline: auto;
	  padding-inline: var(--hb-shell-pad);
}

.hb-section {
	  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hb-section--dark {
	  background: var(--hb-navy);
	  color: var(--hb-gray-100);
}
.hb-section--dark h2,
.hb-section--dark h3 { color: var(--hb-white); }
.hb-section--dark p   { color: var(--hb-gray-200); }

.hb-section--gray { background: var(--hb-gray-50); }

.hb-section-header {
	  display: flex;
	  flex-wrap: wrap;
	  align-items: flex-end;
	  justify-content: space-between;
	  gap: 1rem;
	  margin-bottom: 2.5rem;
}

.hb-section-label {
	  display: inline-block;
	  font-family: var(--hb-font-head);
	  font-size: .8rem;
	  font-weight: 600;
	  letter-spacing: .12em;
	  text-transform: uppercase;
	  color: var(--hb-blue);
	  margin-bottom: .5rem;
}

.hb-section-header h2 {
	  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	  margin-bottom: .4rem;
}
.hb-section-header p {
	  color: var(--hb-gray-600);
	  max-width: 54ch;
}

/* =========================================================
 *    BUTTONS
 *    ========================================================= */
.hb-btn {
	  display: inline-flex;
	  align-items: center;
	  gap: .45rem;
	  padding: .7rem 1.6rem;
	  border-radius: var(--hb-radius);
	  font-family: var(--hb-font-head);
	  font-size: .95rem;
	  font-weight: 600;
	  letter-spacing: .04em;
	  text-transform: uppercase;
	  cursor: pointer;
	  border: 2px solid transparent;
	  transition: background var(--hb-transition), color var(--hb-transition), border-color var(--hb-transition), transform var(--hb-transition), box-shadow var(--hb-transition);
	  white-space: nowrap;
}
.hb-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.18); }

.hb-btn-primary {
	  background: var(--hb-blue);
	  color: var(--hb-white);
	  border-color: var(--hb-blue);
}
.hb-btn-primary:hover {
	  background: var(--hb-blue-dark);
	  border-color: var(--hb-blue-dark);
	  color: var(--hb-white);
}

.hb-btn-secondary {
	  background: transparent;
	  color: var(--hb-blue);
	  border-color: var(--hb-blue);
}
.hb-btn-secondary:hover {
	  background: var(--hb-blue);
	  color: var(--hb-white);
}

.hb-btn-ghost {
	  background: transparent;
	  color: var(--hb-white);
	  border-color: rgba(255,255,255,.65);
}
.hb-btn-ghost:hover {
	  background: rgba(255,255,255,.15);
	  border-color: var(--hb-white);
	  color: var(--hb-white);
}

.hb-btn-accent {
	  background: var(--hb-accent);
	  color: var(--hb-navy);
	  border-color: var(--hb-accent);
	  font-weight: 700;
}
.hb-btn-accent:hover {
	  background: #c98a1a;
	  border-color: #c98a1a;
	  color: var(--hb-navy);
}

/* =========================================================
 *    SITE HEADER
 *    ========================================================= */
.hb-topbar {
	  background: var(--hb-navy);
	  color: rgba(255,255,255,.85);
	  font-size: .8rem;
	  font-family: var(--hb-font-head);
	  letter-spacing: .06em;
	  text-transform: uppercase;
}
.hb-topbar-inner {
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  flex-wrap: wrap;
	  gap: .4rem .8rem;
	  padding-block: .45rem;
	  max-width: var(--hb-shell-max);
	  margin-inline: auto;
	  padding-inline: var(--hb-shell-pad);
}
.hb-topbar a { color: inherit; }
.hb-topbar a:hover { color: var(--hb-blue-light); }
.hb-topbar-hours { color: var(--hb-blue-light); }

.hb-site-header {
	  position: sticky;
	  top: 0;
	  z-index: 1000;
	  background: var(--hb-white);
	  box-shadow: 0 2px 10px rgba(0,0,0,.10);
}

.hb-header-main {
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  gap: 1.5rem;
	  padding-block: .8rem;
	  max-width: var(--hb-shell-max);
	  margin-inline: auto;
	  padding-inline: var(--hb-shell-pad);
}

/* Logo */
.hb-logo a {
	  display: flex;
	  align-items: center;
	  gap: .75rem;
}
.hb-logo img {
	  width: auto;
	  height: clamp(54px, 8vw, 80px);
	  object-fit: contain;
}

/* Nav */
.hb-primary-nav ul {
	  display: flex;
	  align-items: center;
	  gap: .25rem;
}
.hb-primary-nav li a {
	  font-family: var(--hb-font-head);
	  font-size: .78rem;
	  font-weight: 500;
	  letter-spacing: .04em;
	  text-transform: uppercase;
	  color: var(--hb-navy);
	  padding: .4rem .65rem;
	  border-radius: var(--hb-radius);
	  transition: color var(--hb-transition), background var(--hb-transition);
}
.hb-primary-nav li a:hover,
.hb-primary-nav li.current-menu-item > a {
	  color: var(--hb-blue);
	  background: var(--hb-gray-100);
}

/* Header CTA */
.hb-header-cta {
	  display: flex;
	  align-items: center;
	  gap: .75rem;
	  flex-shrink: 0;
}
.hb-header-phone {
	  font-family: var(--hb-font-head);
	  font-size: 1.05rem;
	  font-weight: 700;
	  color: var(--hb-navy);
	  white-space: nowrap;
}
.hb-header-phone:hover { color: var(--hb-blue); }

/* Mobile hamburger */
.hb-nav-toggle {
	  display: none;
	  background: none;
	  border: 2px solid var(--hb-navy);
	  border-radius: var(--hb-radius);
	  padding: .35rem .5rem;
	  cursor: pointer;
	  flex-direction: column;
	  gap: 5px;
	  flex-shrink: 0;
}
.hb-nav-toggle span {
	  display: block;
	  width: 22px;
	  height: 2px;
	  background: var(--hb-navy);
	  border-radius: 2px;
	  transition: all var(--hb-transition);
}

/* Mobile nav open state */
.hb-nav-open .hb-primary-nav {
	  display: block;
	  position: absolute;
	  top: 100%;
	  left: 0;
	  right: 0;
	  background: var(--hb-white);
	  border-top: 3px solid var(--hb-blue);
	  box-shadow: 0 8px 24px rgba(0,0,0,.15);
	  z-index: 999;
	  padding: 1rem var(--hb-shell-pad);
}
.hb-nav-open .hb-primary-nav ul {
	  flex-direction: column;
	  align-items: flex-start;
	  gap: 0;
}
.hb-nav-open .hb-primary-nav li { width: 100%; }
.hb-nav-open .hb-primary-nav li a {
	  display: block;
	  padding: .75rem .5rem;
	  border-bottom: 1px solid var(--hb-gray-200);
	  border-radius: 0;
}

/* =========================================================
 *    HERO
 *    ========================================================= */
.hb-hero {
	  position: relative;
	  min-height: clamp(420px, 60vh, 640px);
	  display: flex;
	  align-items: center;
	  overflow: hidden;
	  background: var(--hb-navy);
}

.hb-hero-media {
	  position: absolute;
	  inset: 0;
	  z-index: 0;
}
.hb-hero-media video,
.hb-hero-media img {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  opacity: .45;
}

.hb-hero-overlay {
	  position: absolute;
	  inset: 0;
	  background: linear-gradient(100deg, rgba(26,46,74,.85) 0%, rgba(26,46,74,.55) 60%, rgba(74,127,181,.25) 100%);
	  z-index: 1;
}

.hb-hero-content {
	  position: relative;
	  z-index: 2;
	  max-width: var(--hb-shell-max);
	  margin-inline: auto;
	  padding-inline: var(--hb-shell-pad);
	  padding-block: clamp(3rem, 8vw, 5rem);
	  width: 100%;
}

.hb-hero-inner {
	  max-width: 640px;
}

.hb-hero-kicker {
	  display: inline-block;
	  font-family: var(--hb-font-head);
	  font-size: .8rem;
	  font-weight: 600;
	  letter-spacing: .14em;
	  text-transform: uppercase;
	  color: var(--hb-blue-light);
	  background: rgba(74,127,181,.18);
	  border: 1px solid rgba(111,163,216,.4);
	  padding: .3rem .8rem;
	  border-radius: 999px;
	  margin-bottom: 1rem;
}

.hb-hero h1 {
	  font-size: clamp(2rem, 5.5vw, 3.6rem);
	  color: var(--hb-white);
	  line-height: 1.08;
	  margin-bottom: 1rem;
}

.hb-hero-desc {
	  font-size: clamp(.95rem, 1.8vw, 1.1rem);
	  color: rgba(255,255,255,.85);
	  max-width: 50ch;
	  margin-bottom: 1.75rem;
}

.hb-hero-actions {
	  display: flex;
	  flex-wrap: wrap;
	  gap: .75rem;
	  margin-bottom: 2rem;
}

.hb-hero-badges {
	  display: flex;
	  flex-wrap: wrap;
	  gap: .5rem;
}
.hb-hero-badge {
	  font-family: var(--hb-font-head);
	  font-size: .73rem;
	  font-weight: 600;
	  letter-spacing: .08em;
	  text-transform: uppercase;
	  color: rgba(255,255,255,.8);
	  border: 1px solid rgba(255,255,255,.3);
	  padding: .25rem .75rem;
	  border-radius: 999px;
}

/* Hero slider dots */
.hb-hero-dots {
	  position: absolute;
	  bottom: 1.25rem;
	  left: 50%;
	  transform: translateX(-50%);
	  z-index: 3;
	  display: flex;
	  gap: .5rem;
}
.hb-hero-dot {
	  width: 10px;
	  height: 10px;
	  border-radius: 50%;
	  background: rgba(255,255,255,.4);
	  border: none;
	  cursor: pointer;
	  transition: background var(--hb-transition), transform var(--hb-transition);
	  padding: 0;
}
.hb-hero-dot.is-active {
	  background: var(--hb-blue-light);
	  transform: scale(1.3);
}

/* =========================================================
 *    QUICK INFO BAR
 *    ========================================================= */
.hb-quick-bar {
	  background: var(--hb-blue);
	  color: var(--hb-white);
}
.hb-quick-bar-inner {
	  display: grid;
	  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	  max-width: var(--hb-shell-max);
	  margin-inline: auto;
	  padding-inline: var(--hb-shell-pad);
}
.hb-quick-item {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  justify-content: center;
	  gap: .2rem;
	  padding: 1.1rem .75rem;
	  text-align: center;
	  border-right: 1px solid rgba(255,255,255,.2);
	  transition: background var(--hb-transition);
}
.hb-quick-item:last-child { border-right: none; }
.hb-quick-item:hover { background: rgba(255,255,255,.1); }
.hb-quick-item a { color: inherit; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.hb-quick-label {
	  font-family: var(--hb-font-head);
	  font-size: .68rem;
	  font-weight: 600;
	  letter-spacing: .1em;
	  text-transform: uppercase;
	  opacity: .8;
}
.hb-quick-value {
	  font-family: var(--hb-font-head);
	  font-size: 1.05rem;
	  font-weight: 700;
}
.hb-quick-sub {
	  font-size: .73rem;
	  opacity: .75;
}

/* =========================================================
*   STORE LOCATION SECTION (Logo + Aerial View)
* ========================================================= */
.hb-store-location-section {
    background: var(--hb-navy);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.hb-store-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hb-store-location-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.hb-store-location-logo {
    width: clamp(160px, 22vw, 260px);
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.45));
}

.hb-store-location-section .hb-section-label {
    color: var(--hb-accent);
    opacity: 1;
}

.hb-store-location-heading {
    font-family: var(--hb-font-head);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--hb-white);
    line-height: 1.2;
    margin: 0;
}

.hb-store-location-desc {
    font-size: .95rem;
    color: rgba(255,255,255,.78);
    line-height: 1.65;
    max-width: 42ch;
    margin: 0;
}

.hb-store-location-right {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.hb-store-aerial-figure {
    margin: 0;
    border-radius: var(--hb-radius-lg);
    overflow: hidden;
    box-shadow: var(--hb-shadow-lg);
    border: 2px solid rgba(255,255,255,.1);
}

.hb-store-aerial-img {
    width: 100%;
    height: clamp(220px, 28vw, 380px);
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

.hb-store-aerial-figure figcaption {
    background: rgba(26,46,74,.92);
    color: rgba(255,255,255,.7);
    font-family: var(--hb-font-body);
    font-size: .78rem;
    letter-spacing: .03em;
    padding: .5rem 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hb-store-location-grid {
        grid-template-columns: 1fr;
    }
    .hb-store-location-logo {
        width: clamp(130px, 40vw, 200px);
    }
}


/* =========================================================
 *    WHY HEREBIAS
 *    ========================================================= */
.hb-why-grid {
	  display: grid;
	  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	  gap: 1.5rem;
}

.hb-why-card {
	  background: var(--hb-white);
	  border: 1px solid var(--hb-gray-200);
	  border-radius: var(--hb-radius-lg);
	  padding: 1.75rem;
	  box-shadow: var(--hb-shadow);
	  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
	  border-top: 4px solid var(--hb-blue);
}
.hb-why-card:hover {
	  transform: translateY(-4px);
	  box-shadow: var(--hb-shadow-lg);
}
.hb-why-card h3 {
	  font-size: 1.05rem;
	  color: var(--hb-navy);
	  margin-bottom: .6rem;
}
.hb-why-card p {
	  font-size: .92rem;
	  color: var(--hb-gray-600);
	  line-height: 1.6;
}

/* =========================================================
 *    CATEGORIES
 *    ========================================================= */
.hb-category-grid {
	  display: grid;
	  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	  gap: 1.25rem;
}

.hb-category-card {
	  background: var(--hb-white);
	  border: 1px solid var(--hb-gray-200);
	  border-radius: var(--hb-radius-lg);
	  padding: 1.5rem 1.25rem;
	  text-align: center;
	  box-shadow: var(--hb-shadow);
	  transition: transform var(--hb-transition), box-shadow var(--hb-transition), border-color var(--hb-transition);
	  cursor: pointer;
}
.hb-category-card:hover {
	  transform: translateY(-4px);
	  box-shadow: var(--hb-shadow-lg);
	  border-color: var(--hb-blue);
}
.hb-category-card h3 {
	  font-size: 1rem;
	  color: var(--hb-navy);
	  margin-bottom: .5rem;
}
.hb-category-card p {
	  font-size: .85rem;
	  color: var(--hb-gray-600);
	  line-height: 1.5;
}
.hb-category-icon {
	  width: 48px;
	  height: 48px;
	  background: var(--hb-blue);
	  border-radius: 50%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  margin: 0 auto .85rem;
	  color: var(--hb-white);
	  font-size: 1.3rem;
}

/* =========================================================
 *    VIDEO SECTION
 *    ========================================================= */
.hb-video-section {
	  background: var(--hb-gray-50);
}
.hb-video-grid {
	  display: grid;
	  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	  gap: 1.5rem;
}
.hb-video-card {
	  border-radius: var(--hb-radius-lg);
	  overflow: hidden;
	  box-shadow: var(--hb-shadow);
	  background: var(--hb-navy);
}
.hb-video-card video {
	  width: 100%;
	  aspect-ratio: 16/9;
	  object-fit: cover;
	  display: block;
}
.hb-video-card-caption {
	  padding: .85rem 1rem;
	  background: var(--hb-navy);
	  color: var(--hb-gray-200);
	  font-family: var(--hb-font-head);
	  font-size: .82rem;
	  font-weight: 500;
	  letter-spacing: .04em;
	  text-align: center;
}

/* =========================================================
 *    HELP FINDING A PART (CTA band)
 *    ========================================================= */
.hb-help-band {
	  background: linear-gradient(135deg, var(--hb-navy) 0%, var(--hb-blue-dark) 100%);
	  color: var(--hb-white);
}
.hb-help-grid {
	  display: grid;
	  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	  gap: 2rem;
}
.hb-help-item h3 {
	  font-size: 1rem;
	  color: var(--hb-blue-light);
	  margin-bottom: .5rem;
}
.hb-help-item p {
	  font-size: .9rem;
	  color: rgba(255,255,255,.8);
	  line-height: 1.6;
}
.hb-help-item a { color: var(--hb-blue-light); }
.hb-help-item a:hover { color: var(--hb-white); }

/* =========================================================
 *    COMMERCIAL ACCOUNTS
 *    ========================================================= */
.hb-commercial-grid {
	  display: grid;
	  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	  gap: 1.5rem;
}
.hb-commercial-card {
	  padding: 1.5rem;
	  border-radius: var(--hb-radius-lg);
	  background: var(--hb-white);
	  border: 1px solid var(--hb-gray-200);
	  box-shadow: var(--hb-shadow);
}
.hb-commercial-card h3 {
	  font-size: 1rem;
	  color: var(--hb-navy);
	  margin-bottom: .6rem;
}
.hb-commercial-card p {
	  font-size: .9rem;
	  color: var(--hb-gray-600);
	  line-height: 1.6;
}

/* =========================================================
 *    VISIT STORE
 *    ========================================================= */
.hb-visit-layout {
	  display: grid;
	  grid-template-columns: 1fr 1fr;
	  gap: 3rem;
	  align-items: start;
}
.hb-visit-info h2 {
	  font-size: clamp(1.4rem, 3vw, 2rem);
	  margin-bottom: 1rem;
}
.hb-visit-info p {
	  font-size: .95rem;
	  color: var(--hb-gray-600);
	  margin-bottom: .6rem;
	  line-height: 1.65;
}
.hb-visit-info strong { color: var(--hb-navy); }
.hb-visit-info a { color: var(--hb-blue); }
.hb-visit-ctas {
	  display: flex;
	  flex-wrap: wrap;
	  gap: .75rem;
	  margin-top: 1.5rem;
}
.hb-map-embed {
	  border-radius: var(--hb-radius-lg);
	  overflow: hidden;
	  box-shadow: var(--hb-shadow-lg);
	  background: var(--hb-gray-200);
	  min-height: 340px;
	  display: flex;
	  align-items: center;
	  justify-content: center;
}
.hb-map-embed iframe {
	  width: 100%;
	  height: 340px;
	  border: none;
	  display: block;
}
.hb-map-placeholder-text {
	  text-align: center;
	  padding: 2rem;
	  color: var(--hb-gray-600);
	  font-size: .9rem;
}

/* =========================================================
 *    FOOTER
 *    ========================================================= */
.hb-footer {
	  background: var(--hb-navy);
	  color: var(--hb-gray-200);
}
.hb-footer-top {
	  display: grid;
	  grid-template-columns: 1.6fr repeat(3, 1fr);
	  gap: 2.5rem;
	  padding-block: 3.5rem;
	  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hb-footer-brand {}
.hb-footer-logo-img {
	  height: 80px;
	  width: auto;
	  margin-bottom: 1rem;
	  filter: brightness(0) invert(1);
	  opacity: .9;
}
.hb-footer-tagline {
	  font-size: .9rem;
	  line-height: 1.65;
	  color: rgba(255,255,255,.7);
	  max-width: 32ch;
	  margin-bottom: 1rem;
}
.hb-footer-contact p {
	  font-size: .88rem;
	  color: rgba(255,255,255,.7);
	  margin-bottom: .4rem;
}
.hb-footer-contact strong { color: var(--hb-blue-light); }
.hb-footer-contact a { color: rgba(255,255,255,.75); }
.hb-footer-contact a:hover { color: var(--hb-blue-light); }

.hb-footer-col h3 {
	  font-family: var(--hb-font-head);
	  font-size: .85rem;
	  font-weight: 600;
	  letter-spacing: .1em;
	  text-transform: uppercase;
	  color: var(--hb-blue-light);
	  margin-bottom: 1rem;
}
.hb-footer-col li { margin-bottom: .5rem; }
.hb-footer-col a {
	  font-size: .88rem;
	  color: rgba(255,255,255,.65);
	  transition: color var(--hb-transition);
}
.hb-footer-col a:hover { color: var(--hb-white); }

.hb-footer-bottom {
	  padding-block: 1.25rem;
	  display: flex;
	  flex-wrap: wrap;
	  align-items: center;
	  justify-content: space-between;
	  gap: .5rem;
	  font-size: .8rem;
	  color: rgba(255,255,255,.45);
}

/* WhatsApp footer btn */
.hb-whatsapp-btn {
	  display: inline-flex;
	  align-items: center;
	  gap: .5rem;
	  background: #25d366;
	  color: var(--hb-white) !important;
	  padding: .6rem 1.2rem;
	  border-radius: 999px;
	  font-family: var(--hb-font-head);
	  font-size: .85rem;
	  font-weight: 700;
	  letter-spacing: .04em;
	  transition: background var(--hb-transition), transform var(--hb-transition);
}
.hb-whatsapp-btn:hover {
	  background: #1db855;
	  transform: translateY(-2px);
}
.hb-whatsapp-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================================
 *    RESPONSIVE
 *    ========================================================= */

/* Tablet */
@media (max-width: 900px) {
	.hb-footer-top {
		    grid-template-columns: 1fr 1fr;
	}
	.hb-visit-layout {
		    grid-template-columns: 1fr;
	}
	.hb-header-phone { display: none; }
}

/* Mobile */
@media (max-width: 640px) {
	.hb-nav-toggle { display: flex; }
	.hb-primary-nav {
		    display: none;
	}
	.hb-header-main { position: relative; }
	.hb-hero-actions { flex-direction: column; }
	.hb-hero-actions .hb-btn { width: 100%; justify-content: center; }
	.hb-footer-top { grid-template-columns: 1fr; }
	.hb-quick-bar-inner { grid-template-columns: 1fr 1fr; }
	.hb-topbar-inner { justify-content: center; }
	.hb-topbar-hours { display: none; }
	.hb-hero-badge { font-size: .68rem; }
}

/* =========================================================
 *    ASTRA OVERRIDES  suppress conflicting Astra chrome
 *    ========================================================= */
.ast-container,
.ast-site-header-wrap,
#ast-hf-header-wrap,
.main-header-bar,
#masthead,
.site-footer,
#colophon.ast-site-footer-wrap {
	  display: none !important;
}

/* Keep admin bar */
#wpadminbar { display: block !important; }

body.admin-bar .hb-site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .hb-site-header { top: 46px; }
}

}
}
	}
}
	}
	}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}

/* =========================================================
*   LANGUAGE SWITCHER
* ========================================================= */
/* Wrapper that TranslatePress outputs */
.hb-header-cta .trp-language-switcher-container {
    display: inline-flex;
    align-items: center;
}

.hb-header-cta .trp-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hb-header-cta .trp-language-switcher li {
    margin: 0;
    padding: 0;
}

.hb-header-cta .trp-language-switcher a,
.hb-header-cta .trp-language-switcher span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-family: var(--hb-font-head);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--hb-white);
    padding: .3rem .55rem;
    border-radius: var(--hb-radius);
    border: 1px solid rgba(255,255,255,.25);
    transition: background var(--hb-transition), border-color var(--hb-transition);
    white-space: nowrap;
    text-decoration: none;
}

.hb-header-cta .trp-language-switcher a:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.5);
    text-decoration: none;
}

/* Active / current language */
.hb-header-cta .trp-language-switcher li.trp-ls-current-language a,
.hb-header-cta .trp-language-switcher li.trp-ls-current-language span {
    background: var(--hb-accent);
    border-color: var(--hb-accent);
    color: var(--hb-white);
}

/* Flag images */
.hb-header-cta .trp-language-switcher img {
    width: 18px;
    height: auto;
    border-radius: 50%;
    display: inline-block;
}

/* Separator between languages */
.hb-header-cta .trp-language-switcher li:not(:last-child)::after {
    content: '';
}

@media (max-width: 768px) {
    .hb-header-cta .trp-language-switcher a,
    .hb-header-cta .trp-language-switcher span {
        font-size: .65rem;
        padding: .25rem .4rem;
    }
    .hb-header-cta .trp-language-switcher img {
        width: 14px;
    }
}


/* =========================================================
 * FIXES v2.3
 * ========================================================= */

/* Fix #1: Header logo text styling */
.hb-logo-text-link { text-decoration: none; }
.hb-logo-text {
  font-family: var(--hb-font-head);
  font-size: clamp(.75rem, 1.2vw, .9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hb-navy);
  line-height: 1.2;
  white-space: nowrap;
}

/* Fix #2: Remove drop shadow / decorative line under language switcher */
.hb-lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  box-shadow: none !important;
  border-bottom: none !important;
  outline: none !important;
  text-decoration: none !important;
}
.hb-lang-switcher-wrap::after,
.hb-lang-switcher-wrap::before {
  display: none !important;
  content: none !important;
}
/* Hide the TranslatePress dropdown container line */
.hb-lang-switcher-wrap .trp-shortcode-switcher__wrapper {
  overflow: visible;
}
.hb-lang-switcher-wrap .trp-ls-dropdown,
.hb-header-cta .trp-ls-dropdown,
.hb-header-cta .trp-language-switcher,
.hb-header-cta .trp-shortcode-switcher {
  border: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}
.hb-header-cta .trp-shortcode-switcher__wrapper {
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.hb-header-cta .trp-switcher-dropdown-list {
  border: none !important;
  box-shadow: var(--hb-shadow-lg) !important;
}

/* Fix #3: Parts Help section - lighten headings and subheading text */
.hb-help-band h2,
.hb-help-band .hb-section-heading {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.hb-help-band .hb-section-label {
  color: rgba(255,255,255,.9) !important;
}
.hb-help-band p,
.hb-help-band .hb-section-sub,
.hb-help-band .hb-section p,
.hb-help-band .hb-shell .hb-section p {
  color: rgba(255,255,255,.85) !important;
}

/* Fix #4: Come See Us - Call Now button text color fix */
.hb-visit-info a.hb-btn-primary {
  color: var(--hb-white) !important;
}
.hb-visit-info a.hb-btn-primary:hover {
  color: var(--hb-white) !important;
}

/* Fix #6: Footer logo - use mix-blend-mode to handle white background logos */
.hb-footer-logo-img {
  display: block !important;
  height: 80px !important;
  width: auto !important;
  filter: none !important;
  mix-blend-mode: screen !important;
  opacity: 1 !important;
  max-width: 180px;
  background: transparent;
}

/* Fix #7: Footer column list alignment with headings */
.hb-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hb-footer-col h3 {
  text-align: left;
  width: 100%;
}
.hb-footer-col ul {
  text-align: left;
  width: 100%;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.hb-footer-col li {
  text-align: left;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Header WhatsApp button size override */
.hb-header-wa-btn {
  font-size: .8rem;
  padding: .5rem 1rem;
  border-radius: 6px;
}
.hb-header-wa-btn svg {
  width: 16px;
  height: 16px;
}


/* =============================================
   COMMERCIAL ACCOUNTS PAGE
   ============================================= */

/* --- HERO --- */
.hb-ca-hero {
  background: var(--hb-navy);
  color: var(--hb-white);
  padding: 5rem 0;
}
.hb-ca-hero .hb-section-kicker { color: var(--hb-gold); }
.hb-ca-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--hb-white);
  margin-bottom: 1.25rem;
  max-width: 760px;
}
.hb-ca-hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hb-ca-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- BENEFITS --- */
.hb-ca-benefits {
  background: #f8f9fb;
  padding: 5rem 0;
  text-align: center;
}
.hb-ca-benefits .hb-section-kicker { color: var(--hb-gold); }
.hb-ca-benefits h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .75rem;
  color: var(--hb-navy);
}
.hb-ca-benefits-lead {
  color: var(--hb-gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.hb-ca-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) {
  .hb-ca-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .hb-ca-benefits-grid { grid-template-columns: 1fr; }
}
.hb-ca-benefit-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  text-align: center;
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
}
.hb-ca-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.hb-ca-benefit-icon {
  font-size: 2.25rem;
  margin-bottom: .75rem;
  display: block;
}
.hb-ca-benefit-card h3 {
  font-size: 1.1rem;
  color: var(--hb-navy);
  margin-bottom: .5rem;
}
.hb-ca-benefit-card p {
  font-size: .95rem;
  color: var(--hb-gray-600);
  line-height: 1.65;
  margin: 0;
}

/* --- WHO QUALIFIES --- */
.hb-ca-qualify {
  background: var(--hb-white);
  padding: 5rem 0;
}
.hb-ca-qualify-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .hb-ca-qualify-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.hb-ca-qualify-content .hb-section-kicker { color: var(--hb-gold); }
.hb-ca-qualify-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--hb-navy);
  margin-bottom: 1rem;
}
.hb-ca-qualify-content > p {
  color: var(--hb-gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.hb-ca-qualify-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.hb-ca-qualify-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--hb-navy);
  font-weight: 500;
}
.hb-ca-qualify-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hb-gold);
}
.hb-ca-qualify-box {
  background: var(--hb-navy);
  border-radius: var(--hb-radius-lg);
  padding: 2rem;
  color: var(--hb-white);
}
.hb-ca-qualify-box h3 {
  font-size: 1.1rem;
  color: var(--hb-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hb-ca-stat-row {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.25rem 0;
}
.hb-ca-stat-row:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.hb-ca-stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hb-gold);
  font-family: var(--hb-font-head);
  line-height: 1.1;
  margin-bottom: .25rem;
}
.hb-ca-stat-label {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}

/* --- HOW IT WORKS --- */
.hb-ca-how {
  background: var(--hb-navy);
  color: var(--hb-white);
  padding: 5rem 0;
  text-align: center;
}
.hb-ca-how h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--hb-white);
  margin-bottom: .75rem;
}
.hb-ca-how-lead {
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.hb-ca-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
@media (max-width: 768px) {
  .hb-ca-steps { flex-direction: column; align-items: center; }
  .hb-ca-step-divider { width: 2px; height: 40px; background: rgba(255,255,255,.2); margin: 0 auto; }
}
.hb-ca-step {
  flex: 1;
  max-width: 300px;
  padding: 0 1.5rem;
  text-align: center;
}
.hb-ca-step-divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,.2);
  margin-top: 2.5rem;
  flex-shrink: 0;
}
.hb-ca-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hb-gold);
  color: var(--hb-white);
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--hb-font-head);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.hb-ca-step h3 {
  font-size: 1.05rem;
  color: var(--hb-white);
  margin-bottom: .5rem;
}
.hb-ca-step p {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}

/* --- PARTS WE CARRY --- */
.hb-ca-parts {
  background: #f8f9fb;
  padding: 5rem 0;
  text-align: center;
}
.hb-ca-parts .hb-section-kicker { color: var(--hb-gold); }
.hb-ca-parts h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--hb-navy);
  margin-bottom: .75rem;
}
.hb-ca-parts-lead {
  color: var(--hb-gray-600);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hb-ca-parts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .hb-ca-parts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .hb-ca-parts-grid { grid-template-columns: 1fr; }
}
.hb-ca-part-item {
  background: var(--hb-white);
  border: 2px solid #e8e8e8;
  border-radius: var(--hb-radius);
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--hb-navy);
  font-size: .95rem;
  text-align: left;
  transition: border-color var(--hb-transition);
}
.hb-ca-part-item:hover { border-color: var(--hb-gold); }
.hb-ca-parts-note {
  color: var(--hb-gray-600);
  font-size: .95rem;
  font-style: italic;
  margin: 0;
}

/* --- CTA --- */
.hb-ca-cta {
  background: var(--hb-navy);
  color: var(--hb-white);
  padding: 5rem 0;
  text-align: center;
}
.hb-ca-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--hb-white);
  margin-bottom: .75rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hb-ca-cta-lead {
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.hb-ca-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* =========================================================
 * MOBILE HAMBURGER MENU - 768px and below
 * Overrides Astra parent theme to show hamburger on mobile
 * ========================================================= */
@media (max-width: 768px) {

  /* Hide address topbar on mobile to save space */
  .hb-topbar {
    display: none;
  }

  /* Hide the horizontal nav links */
  .hb-primary-nav {
    display: none !important;
  }

  /* Hide phone, WhatsApp button, and language switcher in header CTA */
  .hb-header-phone,
  .hb-whatsapp-btn.hb-header-wa-btn,
  .hb-lang-switcher-wrap {
    display: none !important;
  }

  /* Show the hamburger toggle button */
  .hb-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    flex-shrink: 0;
    background: none;
    border: 2px solid var(--hb-navy);
    border-radius: var(--hb-radius);
    padding: .35rem .5rem;
    cursor: pointer;
  }

  .hb-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--hb-navy);
    border-radius: 2px;
    transition: all var(--hb-transition);
  }

  /* Simple flex row: logo on left, hamburger on right */
  .hb-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem var(--hb-shell-pad);
    position: relative;
  }

  /* Logo text on mobile */
  .hb-logo-text {
    font-size: clamp(.85rem, 4vw, 1.1rem);
    white-space: normal;
    max-width: 200px;
    line-height: 1.2;
  }

  /* Dropdown nav panel when hamburger is open */
  .hb-nav-open .hb-primary-nav {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hb-white);
    border-top: 3px solid var(--hb-blue);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    z-index: 999;
    padding: .5rem 0;
  }

  .hb-nav-open .hb-primary-nav ul {
    display: flex !important;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .hb-nav-open .hb-primary-nav li {
    border-bottom: 1px solid var(--hb-gray-200);
  }

  .hb-nav-open .hb-primary-nav li:last-child {
    border-bottom: none;
  }

  .hb-nav-open .hb-primary-nav a {
    display: block;
    padding: .85rem var(--hb-shell-pad);
    font-family: var(--hb-font-head);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--hb-navy);
    background: var(--hb-white);
    transition: background var(--hb-transition), color var(--hb-transition);
  }

  .hb-nav-open .hb-primary-nav a:hover,
  .hb-nav-open .hb-primary-nav .current-menu-item > a {
    background: var(--hb-gray-100);
    color: var(--hb-blue);
  }

  /* Animate hamburger lines into X when open */
  .hb-nav-open .hb-nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hb-nav-open .hb-nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hb-nav-open .hb-nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

}
/* END mobile hamburger menu */


/* ==========================================================================
   Social Icons - Footer
   ========================================================================== */

.hb-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

.hb-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.hb-social-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  display: block;
}

.hb-social-icon:hover {
  transform: translateY(-2px);
}

.hb-social-fb:hover {
  background-color: #1877f2;
}

.hb-social-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.hb-social-tt:hover {
  background-color: #010101;
}
