/* ============================================================
   HAPI Photography — Shared Widget Styles
   ============================================================ */

.hapi-port * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hapi-port {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #f0ece6;
}

/* HERO - DARK */
.hapi-port .port-hero {
  position: relative;
  background: linear-gradient(135deg, #122131 0%, #1B2F45 50%, #122131 100%);
  padding: 90px 40px 80px;
  text-align: center;
  overflow: hidden;
}

.hapi-port .port-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(78, 155, 233, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(78, 155, 233, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hapi-port .port-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4E9BE9;
  margin-bottom: 18px;
}

.hapi-port .port-hero-eyebrow::before,
.hapi-port .port-hero-eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: #4E9BE9;
  opacity: 0.6;
}

.hapi-port .port-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.1;
  color: #f0ece6;
  margin-bottom: 20px;
}

.hapi-port .port-hero h1 em {
  font-style: normal;
  color: #4E9BE9;
  font-weight: 500;
}

.hapi-port .port-hero-desc {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.75;
  color: #9e9589;
}

.hapi-port .port-hero-cta {
  display: inline-block;
  background: #4E9BE9;
  color: #122131;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 38px;
  text-decoration: none;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.hapi-port .port-hero-cta:hover {
  background: #6AAEF0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(78, 155, 233, 0.3);
}

.hapi-port .port-hero-deco {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.25;
}

.hapi-port .port-hero-deco.tl {
  top: 30px;
  left: 40px;
  border-top: 1px solid #4E9BE9;
  border-left: 1px solid #4E9BE9;
}

.hapi-port .port-hero-deco.br {
  bottom: 30px;
  right: 40px;
  border-bottom: 1px solid #4E9BE9;
  border-right: 1px solid #4E9BE9;
}

/* SECTION HEADERS - DARK BG VERSION */
.hapi-port .sec-head {
  text-align: center;
  padding: 70px 40px 10px;
}

.hapi-port .sec-head .eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4E9BE9;
  display: block;
  margin-bottom: 12px;
}

.hapi-port .sec-head h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 300;
  color: #f0ece6;
  margin-bottom: 14px;
}

.hapi-port .sec-head h2 strong {
  font-weight: 600;
  color: #4E9BE9;
}

.hapi-port .sec-head p {
  max-width: 580px;
  margin: 0 auto;
  color: #9e9589;
  font-size: 15px;
  line-height: 1.7;
}

.hapi-port .divider-gold {
  width: 50px;
  height: 2px;
  background: #4E9BE9;
  margin: 18px auto 0;
  opacity: 0.5;
}

/* SECTION HEADERS - LIGHT BG VERSION */
.hapi-port .sec-head.light h2 {
  color: #122131;
}

.hapi-port .sec-head.light p {
  color: #6b6259;
}

/* STATS BAR - dark strip */
.hapi-port .stats-bar {
  background: #122131;
  border-top: 1px solid rgba(78, 155, 233, 0.15);
  border-bottom: 1px solid rgba(78, 155, 233, 0.15);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.hapi-port .stat-item {
  padding: 40px 60px;
  text-align: center;
  border-right: 1px solid rgba(78, 155, 233, 0.1);
  flex: 1;
  min-width: 140px;
}

.hapi-port .stat-item:last-child {
  border-right: none;
}

.hapi-port .stat-num {
  font-size: 42px;
  font-weight: 300;
  color: #4E9BE9;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.hapi-port .stat-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #9e9589;
}

/* CATEGORY CARDS - WHITE SECTION */
.hapi-port .cats-section {
  background: #ffffff;
  padding-bottom: 60px;
}

.hapi-port .cats-section .sec-head {
  padding-top: 70px;
  padding-bottom: 10px;
}

.hapi-port .port-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  padding: 40px 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.hapi-port .cat-card {
  position: relative;
  height: 340px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.hapi-port .cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.55);
}

.hapi-port .cat-card:hover img {
  transform: scale(1.07);
  filter: brightness(0.4);
}

.hapi-port .cat-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(to top, rgba(18, 33, 49, 0.9) 0%, transparent 60%);
  transition: background 0.4s ease;
}

.hapi-port .cat-card:hover .cat-card-overlay {
  background: linear-gradient(to top, rgba(18, 33, 49, 0.95) 0%, rgba(18, 33, 49, 0.4) 100%);
}

.hapi-port .cat-card-num {
  font-size: 10px;
  letter-spacing: 3px;
  color: #4E9BE9;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hapi-port .cat-card h3 {
  font-size: 22px;
  font-weight: 400;
  color: #f0ece6;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hapi-port .cat-card p {
  font-size: 13px;
  color: #9e9589;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.hapi-port .cat-card:hover p {
  max-height: 80px;
  opacity: 1;
}

.hapi-port .cat-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4E9BE9;
  margin-top: 12px;
  transform: translateX(-8px);
  transition: transform 0.3s ease;
}

.hapi-port .cat-card:hover .cat-card-arrow {
  transform: translateX(0);
}

.hapi-port .cat-card-arrow::after {
  content: '\2192';
  font-size: 15px;
}

/* VIDEO GALLERY SECTION - DARK */
.hapi-port .video-section {
  background: #122131;
  padding: 70px 40px;
}

.hapi-port .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.hapi-port .vid-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  text-decoration: none;
  display: block;
  background: #122131;
}

.hapi-port .vid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.75);
}

.hapi-port .vid-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.5);
}

.hapi-port .vid-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(78, 155, 233, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.hapi-port .vid-play::after {
  content: '';
  border-left: 20px solid #122131;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.hapi-port .vid-card:hover .vid-play {
  background: #4E9BE9;
  transform: translate(-50%, -50%) scale(1.12);
}

.hapi-port .vid-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(18, 33, 49, 0.92), transparent);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4E9BE9;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.hapi-port .vid-card:hover .vid-label {
  transform: translateY(0);
}

.hapi-port .vid-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(78, 155, 233, 0.9);
  color: #122131;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 3;
}

.hapi-port .vimeo-note {
  text-align: center;
  margin-top: 36px;
  color: #9e9589;
  font-size: 13px;
}

.hapi-port .vimeo-note a {
  color: #4E9BE9;
  text-decoration: none;
  border-bottom: 1px solid rgba(78, 155, 233, 0.4);
  transition: border-color 0.3s ease;
}

.hapi-port .vimeo-note a:hover {
  border-color: #4E9BE9;
}

/* FEATURED GRID - WHITE SECTION */
.hapi-port .featured-section {
  background: #ffffff;
  padding-bottom: 70px;
}

.hapi-port .feat-grid-wrap {
  padding: 20px 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.hapi-port .feat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 3px;
}

.hapi-port .feat-item {
  overflow: hidden;
  position: relative;
}

.hapi-port .feat-item.big {
  grid-row: 1 / 3;
}

.hapi-port .feat-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.85);
}

.hapi-port .feat-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.65);
}

.hapi-port .feat-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(18, 33, 49, 0.85), transparent);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4E9BE9;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.hapi-port .feat-item:hover .feat-item-label {
  transform: translateY(0);
}

/* INCLUDES - DARK */
.hapi-port .includes-sec {
  background: #122131;
  padding: 70px 40px;
}

.hapi-port .includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  max-width: 1100px;
  margin: 50px auto 0;
}

.hapi-port .inc-item {
  background: #1B2F45;
  padding: 36px 28px;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hapi-port .inc-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #4E9BE9;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.hapi-port .inc-item:hover {
  background: #1E3855;
  transform: translateY(-3px);
}

.hapi-port .inc-item:hover::before {
  transform: scaleX(1);
}

.hapi-port .inc-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.hapi-port .inc-item h4 {
  font-size: 14px;
  font-weight: 500;
  color: #f0ece6;
  margin-bottom: 8px;
}

.hapi-port .inc-item p {
  font-size: 12px;
  color: #9e9589;
  line-height: 1.6;
}

/* CTA STRIP - WHITE */
.hapi-port .cta-strip {
  background: #ffffff;
  border-top: 1px solid rgba(78, 155, 233, 0.2);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hapi-port .cta-strip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(78, 155, 233, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hapi-port .cta-strip h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  color: #122131;
  margin-bottom: 14px;
}

.hapi-port .cta-strip h2 strong {
  color: #4E9BE9;
  font-weight: 600;
}

.hapi-port .cta-strip p {
  color: #6b6259;
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hapi-port .cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hapi-port .btn-gold {
  display: inline-block;
  background: #4E9BE9;
  color: #122131;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.hapi-port .btn-gold:hover {
  background: #6AAEF0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(78, 155, 233, 0.35);
}

.hapi-port .btn-outline-dark {
  display: inline-block;
  border: 1px solid rgba(36, 32, 28, 0.35);
  color: #122131;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hapi-port .btn-outline-dark:hover {
  border-color: #4E9BE9;
  color: #4E9BE9;
  transform: translateY(-2px);
}

/* ANIMATIONS */
.hapi-port .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hapi-port .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.hapi-port .fade-up.d1 {
  transition-delay: 0.1s;
}

.hapi-port .fade-up.d2 {
  transition-delay: 0.2s;
}

.hapi-port .fade-up.d3 {
  transition-delay: 0.3s;
}

.hapi-port .fade-up.d4 {
  transition-delay: 0.4s;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hapi-port .feat-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }

  .hapi-port .feat-item.big {
    grid-row: auto;
  }

  .hapi-port .stat-item {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .hapi-port .port-hero {
    padding: 60px 20px 50px;
  }

  .hapi-port .port-cats,
  .hapi-port .feat-grid-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hapi-port .feat-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }

  .hapi-port .feat-item.big {
    grid-row: auto;
  }

  .hapi-port .sec-head {
    padding: 50px 20px 10px;
  }

  .hapi-port .stat-item {
    padding: 24px 20px;
    min-width: 50%;
  }

  .hapi-port .includes-sec,
  .hapi-port .cta-strip,
  .hapi-port .video-section {
    padding: 50px 20px;
  }

  .hapi-port .video-grid {
    gap: 10px;
  }
}

/* ============================================================
   HAPI Photography — BUSINESS PAGE Widget Styles
   ============================================================ */

.hapi-biz * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hapi-biz {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #f0ece6;
}

/* ── BIZ INTRO — WHITE ─────────────────────── */
.hapi-biz .biz-intro-sec {
  background: #ffffff;
  padding: 50px 40px;
}

.hapi-biz .biz-intro-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hapi-biz .biz-intro-heading {
  font-size: 30px;
  font-weight: 300;
  color: #122131;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hapi-biz .biz-intro-heading strong {
  color: #4E9BE9;
  font-weight: 600;
}

.hapi-biz .biz-intro-text p {
  font-size: 15px;
  line-height: 1.85;
  color: #6b6259;
  margin-bottom: 16px;
}

.hapi-biz .biz-highlight {
  margin-top: 24px;
  padding: 20px 24px;
  background: #faf9f7;
  border-left: 3px solid #4E9BE9;
  font-size: 15px;
  font-weight: 600;
  color: #122131;
  line-height: 1.6;
}

.hapi-biz .biz-highlight span {
  color: #4E9BE9;
}

.hapi-biz .biz-why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.hapi-biz .biz-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #faf9f7;
  border-left: 3px solid #4E9BE9;
  font-size: 14px;
  color: #122131;
  line-height: 1.5;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hapi-biz .biz-why-list li:hover {
  background: #f5f2ee;
  transform: translateX(4px);
}

.hapi-biz .biz-wl-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.hapi-biz .biz-why-list span {
  font-size: 12px;
  color: #6b6259;
  display: block;
  margin-top: 3px;
}

/* ── BIZ VIDEO PORTFOLIO — DARK ────────────── */
.hapi-biz .biz-videos-sec {
  background: #122131;
  padding: 50px 40px 60px;
}

.hapi-biz .sec-head {
  text-align: center;
}

.hapi-biz .sec-head .eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4E9BE9;
  display: block;
  margin-bottom: 12px;
}

.hapi-biz .biz-vid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  max-width: 1200px;
  margin: 0 auto;
}

.hapi-biz .biz-vc {
  position: relative;
  background: #122131;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}

.hapi-biz .biz-vc-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.hapi-biz .biz-vc-thumb.gone {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.hapi-biz .biz-vc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: filter 0.4s ease;
}

.hapi-biz .biz-vc:hover .biz-vc-thumb img {
  filter: brightness(0.45);
}

.hapi-biz .biz-vid-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(78, 155, 233, 0.9);
  color: #122131;
  padding: 3px 10px;
}

.hapi-biz .biz-vimeo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #1ab7ea;
  color: #fff;
  padding: 3px 10px;
}

.hapi-biz .biz-vc-play {
  position: absolute;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(78, 155, 233, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(78, 155, 233, 0.2);
  transition: all 0.3s ease;
}

.hapi-biz .biz-vc-play::after {
  content: '';
  border-left: 22px solid #122131;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 5px;
}

.hapi-biz .biz-vc:hover .biz-vc-play {
  background: #6AAEF0;
  transform: scale(1.1);
  box-shadow: 0 0 0 14px rgba(78, 155, 233, 0.12);
}

.hapi-biz .biz-vc-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(18, 33, 49, 0.9), transparent);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4E9BE9;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.hapi-biz .biz-vc:hover .biz-vc-label {
  transform: translateY(0);
}

.hapi-biz .biz-vc-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hapi-biz .biz-vc-frame.loaded {
  opacity: 1;
}

.hapi-biz .biz-vc-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  background: #122131;
}

.hapi-biz .biz-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(78, 155, 233, 0.2);
  border-top-color: #4E9BE9;
  animation: biz-spin 0.8s linear infinite;
}

@keyframes biz-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── BIZ SERVICES — WHITE ──────────────────── */
.hapi-biz .biz-svcs-sec {
  background: #ffffff;
  padding: 50px 40px;
}

.hapi-biz .biz-svcs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  max-width: 1100px;
  margin: 24px auto 0;
}

.hapi-biz .biz-svc-card {
  background: #faf9f7;
  padding: 36px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hapi-biz .biz-svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #4E9BE9;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.hapi-biz .biz-svc-card:hover {
  background: #f5f2ee;
  transform: translateY(-4px);
}

.hapi-biz .biz-svc-card:hover::after {
  transform: scaleX(1);
}

.hapi-biz .biz-svc-icon {
  font-size: 30px;
  margin-bottom: 16px;
  display: block;
}

.hapi-biz .biz-svc-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #122131;
  margin-bottom: 10px;
}

.hapi-biz .biz-svc-card p {
  font-size: 13px;
  color: #6b6259;
  line-height: 1.65;
}

/* ── BIZ PROCESS — DARK ───────────────────── */
.hapi-biz .biz-process-sec {
  background: #122131;
  padding: 50px 40px;
}

.hapi-biz .biz-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3px;
  max-width: 1100px;
  margin: 24px auto 0;
}

.hapi-biz .biz-step {
  background: #1B2F45;
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.hapi-biz .biz-step:hover {
  background: #1E3855;
}

.hapi-biz .biz-step-num {
  font-size: 56px;
  font-weight: 300;
  color: rgba(78, 155, 233, 0.15);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
  font-family: 'Georgia', serif;
}

.hapi-biz .biz-step-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.hapi-biz .biz-step h4 {
  font-size: 16px;
  font-weight: 600;
  color: #4E9BE9;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.hapi-biz .biz-step p {
  font-size: 13px;
  color: #9e9589;
  line-height: 1.7;
}

.hapi-biz .biz-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #4E9BE9;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.hapi-biz .biz-step:hover::before {
  transform: scaleX(1);
}

/* ── BIZ SERVICE AREAS — WHITE ─────────────── */
/* ── BIZ SERVICE AREAS ──────────────────────────── */
.hapi-biz .biz-areas-sec {
  background: #122131;
  padding: 80px 40px;
  border-top: 4px solid #4E9BE9;
}

.hapi-biz .biz-areas-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}

/* ── Left text ──────────── */
.hapi-biz .biz-areas-text {
  border-left: 4px solid #4E9BE9;
  padding-left: 24px;
}

.hapi-biz .biz-areas-eyebrow {
  display: block;
  color: #4E9BE9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hapi-biz .biz-areas-heading {
  color: #f0ece6;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.hapi-biz .biz-areas-desc {
  color: #9e9589;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.hapi-biz .biz-areas-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid rgba(78, 155, 233, 0.2);
  padding-top: 16px;
}

.hapi-biz .biz-areas-note-q {
  color: #4E9BE9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hapi-biz .biz-areas-note-a {
  color: #9e9589;
  font-size: 13px;
  line-height: 1.6;
}

/* ── Right scroll board ──────────── */
.hapi-biz .biz-areas-board {
  border: 1px solid rgba(78, 155, 233, 0.2);
  border-left: 4px solid #4E9BE9;
  background: rgba(255, 255, 255, 0.02);
}

.hapi-biz .biz-areas-board-header {
  padding: 10px 18px;
  border-bottom: 1px solid rgba(78, 155, 233, 0.15);
  background: rgba(78, 155, 233, 0.05);
}

.hapi-biz .biz-areas-count {
  color: #4E9BE9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hapi-biz .biz-areas-scroll {
  height: 300px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: flex-start;
}

.hapi-biz .biz-areas-scroll::-webkit-scrollbar {
  width: 5px;
}

.hapi-biz .biz-areas-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.hapi-biz .biz-areas-scroll::-webkit-scrollbar-thumb {
  background: rgba(78, 155, 233, 0.45);
}

.hapi-biz .biz-areas-scroll::-webkit-scrollbar-thumb:hover {
  background: #4E9BE9;
}

/* ── Location tags ──────────── */
.hapi-biz .biz-area-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(78, 155, 233, 0.3);
  color: #c8c0b8;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
  cursor: default;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hapi-biz .biz-area-tag em {
  font-style: normal;
  font-weight: 700;
  color: #4E9BE9;
}

.hapi-biz .biz-area-tag:hover {
  background: #4E9BE9;
  color: #122131;
  border-color: #4E9BE9;
}

.hapi-biz .biz-area-tag:hover em {
  color: #122131;
}

/* ── BIZ DARK CTA ──────────────────────────── */
.hapi-biz .biz-btn-gold {
  display: inline-block;
  background: #4E9BE9;
  color: #122131;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 44px;
  text-decoration: none;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.hapi-biz .biz-btn-gold:hover {
  background: #6AAEF0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(78, 155, 233, 0.35);
}

.hapi-biz .biz-btn-outline {
  display: inline-block;
  border: 1px solid rgba(78, 155, 233, 0.5);
  color: #4E9BE9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 44px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hapi-biz .biz-btn-outline:hover {
  border-color: #4E9BE9;
  background: rgba(78, 155, 233, 0.08);
  transform: translateY(-2px);
}

/* ── BIZ ANIMATIONS ────────────────────────── */
.hapi-biz .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hapi-biz .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.hapi-biz .fade-up.d1 {
  transition-delay: 0.1s;
}

.hapi-biz .fade-up.d2 {
  transition-delay: 0.2s;
}

.hapi-biz .fade-up.d3 {
  transition-delay: 0.3s;
}

.hapi-biz .fade-up.d4 {
  transition-delay: 0.4s;
}

/* ── BIZ RESPONSIVE ────────────────────────── */
@media (max-width: 860px) {
  .hapi-biz .biz-intro-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hapi-biz .biz-vid-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hapi-biz .biz-areas-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hapi-biz .biz-areas-scroll {
    height: 260px;
  }
}

@media (max-width: 600px) {

  .hapi-biz .biz-intro-sec,
  .hapi-biz .biz-svcs-sec {
    padding: 50px 20px;
  }

  .hapi-biz .biz-videos-sec,
  .hapi-biz .biz-process-sec {
    padding: 50px 20px 60px;
  }

  .hapi-biz .biz-areas-sec {
    padding: 50px 16px;
  }

  .hapi-biz .biz-areas-scroll {
    height: 220px;
    padding: 12px 14px;
    gap: 6px;
  }

  .hapi-biz .biz-area-tag {
    padding: 4px 9px;
    font-size: 10px;
  }
}

/* APP DOWNLOAD CTA WIDGET — Premium Redesign */
.hapi-port .hapi-app-download-sec {
  position: relative;
  padding: 90px 40px;
  overflow: hidden;
  background: linear-gradient(160deg, #122131 0%, #122131 40%, #122131 100%);
}

.hapi-port .hapi-app-download-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 75% 50%, rgba(78, 155, 233, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 25% 50%, rgba(78, 155, 233, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hapi-port .hapi-app-download-sec.on-dark {
  background: linear-gradient(160deg, #122131 0%, #122131 40%, #122131 100%);
}

.hapi-port .hapi-app-download-sec.on-light {
  background: linear-gradient(160deg, #f8f6f3 0%, #ffffff 40%, #f8f6f3 100%);
}

/* Corner decorative borders */
.hapi-port .app-deco-corner {
  position: absolute;
  width: 70px;
  height: 70px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.hapi-port .app-deco-tl {
  top: 28px;
  left: 36px;
  border-top: 1px solid #4E9BE9;
  border-left: 1px solid #4E9BE9;
}

.hapi-port .app-deco-br {
  bottom: 28px;
  right: 36px;
  border-bottom: 1px solid #4E9BE9;
  border-right: 1px solid #4E9BE9;
}

/* Grid layout */
.hapi-port .app-dl-grid {
  display: grid;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hapi-port .app-dl-grid.img-right {
  grid-template-columns: 1.1fr 0.9fr;
}

.hapi-port .app-dl-grid.img-left {
  grid-template-columns: 0.9fr 1.1fr;
}

/* ── Text content column ──────────── */
.hapi-port .app-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.hapi-port .app-glass-card {
  background: rgba(36, 32, 28, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(78, 155, 233, 0.1);
  border-radius: 4px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.hapi-port .app-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 155, 233, 0.3), transparent);
}

.hapi-port .on-light .app-glass-card {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(78, 155, 233, 0.15);
}

.hapi-port .app-text-content .eyebrow {
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #4E9BE9;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 600;
}

.hapi-port .app-text-content .eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: #4E9BE9;
  opacity: 0.6;
}

.hapi-port .hapi-app-download-sec .hapi-heading {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 300;
  color: #f0ece6;
  margin-bottom: 0;
  line-height: 1.15;
}

.hapi-port .on-light .hapi-heading {
  color: #122131;
}

.hapi-port .hapi-app-download-sec .hapi-heading strong {
  color: #4E9BE9;
  font-weight: 600;
}

.hapi-port .hapi-app-download-sec .divider-gold {
  width: 50px;
  height: 2px;
  background: #4E9BE9;
  margin: 20px 0 22px;
  opacity: 0.5;
  border-radius: 2px;
}

.hapi-port .app-desc {
  color: #9e9589;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.hapi-port .on-light .app-desc {
  color: #6b6259;
}

/* ── Feature list ──────────── */
.hapi-port .app-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hapi-port .app-features-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(78, 155, 233, 0.04);
  border: 1px solid rgba(78, 155, 233, 0.08);
  border-radius: 2px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hapi-port .app-features-list li:hover {
  background: rgba(78, 155, 233, 0.08);
  border-color: rgba(78, 155, 233, 0.18);
}

.hapi-port .app-feature-icon-wrap {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4E9BE9, #3A85D4);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(78, 155, 233, 0.2);
}

.hapi-port .app-feature-icon {
  flex-shrink: 0;
  color: #fff;
  display: block;
}

.hapi-port .app-feature-text {
  font-size: 15px;
  font-weight: 400;
  color: #c8c2ba;
}

.hapi-port .on-light .app-feature-text {
  color: #4a4540;
}

.hapi-port .on-light .app-features-list li {
  background: rgba(78, 155, 233, 0.03);
  border-color: rgba(78, 155, 233, 0.1);
}

/* ── Badge area ──────────── */
.hapi-port .app-badges-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hapi-port .app-badges-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #706b64;
  font-weight: 500;
}

.hapi-port .app-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hapi-port .app-badge-link {
  display: block;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hapi-port .app-badge-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  border: 1px solid rgba(78, 155, 233, 0.15);
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.hapi-port .app-badge-link img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 3px;
}

.hapi-port .app-badge-link:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(78, 155, 233, 0.2);
}

.hapi-port .app-badge-link:hover::after {
  border-color: rgba(78, 155, 233, 0.35);
}

/* ── Mockup column ──────────── */
.hapi-port .app-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

/* Orbital glow rings */
.hapi-port .app-glow-ring {
  position: absolute;
  width: 70%;
  height: 70%;
  border: 1px solid rgba(78, 155, 233, 0.12);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: hapiRingSpin 20s linear infinite;
  pointer-events: none;
}

.hapi-port .app-glow-ring--outer {
  width: 90%;
  height: 90%;
  border-color: rgba(78, 155, 233, 0.06);
  animation-duration: 30s;
  animation-direction: reverse;
}

@keyframes hapiRingSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Phone float */
.hapi-port .app-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 2;
  animation: hapiFloat 6s ease-in-out infinite;
}

@keyframes hapiFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}

/* Radial glow behind the phone */
.hapi-port .app-mockup::before {
  content: '';
  position: absolute;
  width: 75%;
  height: 85%;
  background: radial-gradient(ellipse at center,
    rgba(78, 155, 233, 0.18) 0%,
    rgba(78, 155, 233, 0.06) 40%,
    transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(30px);
  animation: hapiBlobPulse 8s ease-in-out infinite alternate;
}

@keyframes hapiBlobPulse {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(-50%, -50%) rotate(10deg) scale(1.04);
  }
}

.hapi-port .app-mockup img,
.hapi-port .app-placeholder-img {
  width: 100%;
  max-width: 85%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35));
}

.hapi-port .app-placeholder-img {
  min-height: 380px;
  background: rgba(78, 155, 233, 0.04);
  border: 2px dashed rgba(78, 155, 233, 0.25);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4E9BE9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  gap: 8px;
  line-height: 1.4;
}

.hapi-port .app-placeholder-img small {
  font-size: 10px;
  text-transform: none;
  color: #706b64;
  letter-spacing: 0;
}

/* ── Responsive ──────────── */
@media (max-width: 900px) {
  .hapi-port .app-dl-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .hapi-port .app-dl-grid.img-right .app-mockup-wrap {
    order: -1;
  }

  .hapi-port .app-dl-grid.img-right .app-text-content {
    order: 1;
  }

  .hapi-port .app-dl-grid.img-left .app-mockup-wrap {
    order: -1;
  }

  .hapi-port .app-text-content {
    align-items: center;
    text-align: center;
  }

  .hapi-port .app-glass-card {
    padding: 32px 28px;
    text-align: center;
  }

  .hapi-port .app-text-content .eyebrow {
    justify-content: center;
  }

  .hapi-port .hapi-app-download-sec .divider-gold {
    margin-left: auto;
    margin-right: auto;
  }

  .hapi-port .app-features-list {
    align-items: stretch;
  }

  .hapi-port .app-badges-wrap {
    align-items: center;
  }

  .hapi-port .app-badges {
    justify-content: center;
  }

  .hapi-port .app-mockup-wrap {
    min-height: 300px;
  }

  .hapi-port .app-deco-corner {
    display: none;
  }
}

@media (max-width: 600px) {
  .hapi-port .hapi-app-download-sec {
    padding: 60px 18px;
  }

  .hapi-port .app-glass-card {
    padding: 28px 20px;
  }

  .hapi-port .app-badge-link img {
    height: 42px;
  }
}

/* Mobile image swap / hide for App Download */
.hapi-port .app-img-mobile { display: none; }

@media (max-width: 900px) {
  .hapi-port .app-hide-mobile { display: none !important; }
  .hapi-port .app-img-mobile { display: block; }
  .hapi-port .app-mockup-wrap:not(.app-hide-mobile) .app-img-desktop {
    display: none;
  }
  /* If no mobile image set, keep desktop visible */
  .hapi-port .app-mockup-wrap:not(.app-hide-mobile) .app-img-desktop:only-child {
    display: block;
  }
}

/* ============================================================
   BEFORE / AFTER GRID WIDGET
   ============================================================ */
.hapi-port .hapi-ba-sec {
  background: #0E1B2C;
  padding: 60px 30px 70px;
}

.hapi-port .hapi-ba-heading {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 600;
  color: #f0ece6;
  margin: 0 0 30px;
  line-height: 1.2;
}

.hapi-port .hapi-ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Individual card ──────────── */
.hapi-port .hapi-ba-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  line-height: 0;
  background: #111E2D;
  /* prevent iOS rubber-band issues inside the slider */
  touch-action: pan-y pinch-zoom;
}

.hapi-port .hapi-ba-card img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* After image = base layer */
.hapi-port .hapi-ba-after-img {
  position: relative;
  z-index: 1;
}

/* Before image = overlay, clipped to handle position */
.hapi-port .hapi-ba-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.hapi-port .hapi-ba-before img {
  display: block;
  height: 100%;
  width: auto;
  min-width: 100%;
  max-width: none;
  object-fit: cover;
}

/* ── Labels (Before / After) ──────────── */
.hapi-port .hapi-ba-label {
  position: absolute;
  top: 10px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  pointer-events: none;
  line-height: 1.3;
}

.hapi-port .hapi-ba-label--before {
  left: 10px;
}

.hapi-port .hapi-ba-label--after {
  right: 10px;
}

/* ── Caption overlay ──────────── */
.hapi-port .hapi-ba-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 28px 14px 12px;
  text-align: center;
  pointer-events: none;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

/* ── Handle (vertical line + circle) ──────────── */
.hapi-port .hapi-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fff;
  z-index: 4;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.hapi-port .hapi-ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: #122131;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hapi-port .hapi-ba-handle-circle:hover,
.hapi-port .hapi-ba-card.hapi-ba-active .hapi-ba-handle-circle {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* ── Placeholder when no image set ──────────── */
.hapi-port .hapi-ba-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  aspect-ratio: 4/3;
  width: 100%;
  background: rgba(78, 155, 233, 0.05);
  border: 2px dashed rgba(78, 155, 233, 0.25);
  color: #4E9BE9;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

/* ── Responsive ──────────── */
@media (max-width: 768px) {
  .hapi-port .hapi-ba-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
    max-width: 100%;
  }

  .hapi-port .hapi-ba-sec {
    padding: 40px 16px 50px;
  }

  .hapi-port .hapi-ba-heading {
    margin-bottom: 20px;
  }

  .hapi-port .hapi-ba-handle-circle {
    width: 32px;
    height: 32px;
  }

  .hapi-port .hapi-ba-handle-circle svg {
    width: 11px;
    height: 11px;
  }

  .hapi-port .hapi-ba-caption {
    font-size: 12px;
    padding: 22px 10px 10px;
  }

  .hapi-port .hapi-ba-label {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* ══════════════════════════════════════════════
   BIZ LOYALTY HERO WIDGET
══════════════════════════════════════════════ */
.hapi-biz .biz-lhero-sec {
  position: relative;
  background-color: #122131;
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid #4E9BE9;
  overflow: hidden;
}

.hapi-biz .biz-lhero-overlay {
  position: absolute;
  inset: 0;
  background: #122131;
  opacity: 82%;
  pointer-events: none;
}

.hapi-biz .biz-lhero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  text-align: center;
}

.hapi-biz .biz-lhero-heading {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 12px;
  line-height: 1.1;
}

.hapi-biz .biz-lhero-subtitle {
  color: #d4cfc9;
  font-size: 16px;
  margin: 0 0 28px;
  line-height: 1.6;
}

.hapi-biz .biz-lhero-btn {
  display: inline-block;
  background: #4E9BE9;
  color: #122131;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 38px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hapi-biz .biz-lhero-btn:hover {
  background: #6AAEF0;
  color: #122131;
}

.hapi-biz .biz-lhero-email {
  text-align: center;
  padding: 20px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #3a3028;
  background: #f7f5f3;
  border-bottom: 1px solid rgba(78, 155, 233, 0.1);
}

.hapi-biz .biz-lhero-email a {
  color: #4E9BE9;
  text-decoration: none;
  font-weight: 700;
}

.hapi-biz .biz-lhero-email a:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════════════════
   BIZ LOYALTY PROGRAM WIDGET
══════════════════════════════════════════════ */
.hapi-biz .biz-loyalty-sec {
  background: #f7f5f3;
  padding: 60px 20px;
}

/* ── 2-column card grid ──────────── */
.hapi-biz .biz-lcards-wrap {
  max-width: 1100px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.hapi-biz .biz-lcard {
  background: #ffffff;
  border: 1px solid #f0ece6;
  border-top: 4px solid #4E9BE9;
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.hapi-biz .biz-lcard-num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(78, 155, 233, 0.18);
  line-height: 1;
  margin-bottom: 8px;
}

.hapi-biz .biz-lcard-title {
  color: #122131;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
}

.hapi-biz .biz-lcard-desc {
  color: #6b6259;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.hapi-biz .biz-lcard-divider {
  height: 1px;
  background: #f0ece6;
  margin: 20px 0 16px;
}

.hapi-biz .biz-pts-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4E9BE9;
  margin: 0 0 10px;
}

.hapi-biz .biz-pts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hapi-biz .biz-pts-item {
  font-size: 13px;
  color: #5a5550;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.hapi-biz .biz-pts-item::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(78, 155, 233, 0.5);
  font-size: 11px;
}

/* ── Discount tiers ──────────── */
.hapi-biz .biz-tiers-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hapi-biz .biz-tier-item {
  display: flex;
  flex-direction: column;
  padding: 13px 0;
  border-bottom: 1px solid #f0ece6;
  gap: 3px;
}

.hapi-biz .biz-tier-item:last-child {
  border-bottom: none;
}

.hapi-biz .biz-tier-orders {
  color: #4E9BE9;
  font-size: 15px;
  font-weight: 700;
}

.hapi-biz .biz-tier-desc {
  color: #3a3028;
  font-size: 13px;
}

.hapi-biz .biz-military-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fdfaf7;
  border-left: 3px solid #4E9BE9;
  color: #2a2015;
  font-size: 13px;
  font-weight: 600;
}

/* ── Loyalty Clients Special ──────────── */
.hapi-biz .biz-special-sec {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hapi-biz .biz-special-heading {
  color: #122131;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hapi-biz .biz-special-desc {
  color: #6b6259;
  font-size: 15px;
  margin: 0 0 28px;
}

.hapi-biz .biz-special-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hapi-biz .biz-special-card {
  background: #122131;
  color: #fff;
  padding: 28px 20px;
  border: 1px solid #4E9BE9;
  text-align: center;
}

.hapi-biz .biz-special-card h3 {
  color: #4E9BE9;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}

.hapi-biz .biz-special-price {
  font-size: 26px;
  font-weight: 700;
  margin: 10px 0 8px;
  color: #f0ece6;
}

.hapi-biz .biz-special-save {
  color: #9e9589;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Loyalty Responsive ──────────── */
@media (max-width: 700px) {
  .hapi-biz .biz-lcards-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hapi-biz .biz-special-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hapi-biz .biz-lcard {
    padding: 26px 20px;
  }
}

/* ══════════════════════════════════════════════
   BIZ LOYALTY FULL SYSTEM (AUTH + DASHBOARD)
══════════════════════════════════════════════ */
.hapi-biz.hapi-loyalty-system-wrap {
  --hapi-loyalty-primary: #4E9BE9;
  --hapi-loyalty-dark: #122131;
  --hapi-loyalty-panel: #1a2d40;
  --hapi-loyalty-text: #f4f8fd;
  --hapi-loyalty-muted: #b9c8d8;
  --hapi-loyalty-border: rgba(78, 155, 233, 0.22);
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-loyalty-public {
  background: #f6f9fd;
  padding: 10px 0 60px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-loyalty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  gap: 24px;
  padding: 0 20px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-loyalty-card {
  background: #fff;
  border: 1px solid #e2ebf4;
  border-top: 4px solid var(--hapi-loyalty-primary);
  padding: 36px 28px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-step-number {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(78, 155, 233, 0.2);
  margin-bottom: 10px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-loyalty-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: #122131;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-loyalty-card p {
  margin: 0;
  color: #465b71;
  line-height: 1.7;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-rewards-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-rewards-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2ebf4;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-rewards-list li:last-child {
  border-bottom: none;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-rewards-list strong {
  display: block;
  color: var(--hapi-loyalty-primary);
  margin-bottom: 3px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-military-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--hapi-loyalty-primary);
  background: rgba(78, 155, 233, 0.06);
  color: #122131;
  font-weight: 600;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-special-section {
  max-width: 1100px;
  margin: 55px auto 0;
  padding: 0 20px;
  text-align: center;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-special-section h2 {
  margin: 0 0 8px;
  color: #122131;
  font-size: 34px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-special-section p {
  margin: 0 0 24px;
  color: #4a6178;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-special-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-special-card {
  background: var(--hapi-loyalty-dark);
  color: #fff;
  padding: 24px 18px;
  border: 1px solid var(--hapi-loyalty-primary);
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-special-card h3 {
  color: var(--hapi-loyalty-primary);
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-special-card .hapi-price {
  font-size: 36px;
  font-weight: 700;
  margin: 8px 0;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-special-card .hapi-save {
  color: #c0d4ea;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 33, 49, 0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-auth-modal.is-open {
  display: flex;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-auth-box {
  width: 90%;
  max-width: 420px;
  background: var(--hapi-loyalty-dark);
  border: 2px solid var(--hapi-loyalty-primary);
  padding: 44px 34px 30px;
  position: relative;
  text-align: center;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #d5e8fb;
  font-size: 26px;
  cursor: pointer;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-auth-box h2 {
  margin: 0 0 8px;
  color: #fff;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-auth-box p {
  color: #c3d7ec;
  margin: 0 0 20px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-social-btn {
  width: 100%;
  border: 1px solid var(--hapi-loyalty-primary);
  background: var(--hapi-loyalty-primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-auth-error {
  margin: 12px 0 0;
  color: #ffb3b3;
  font-size: 12px;
  min-height: 16px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-dashboard-view {
  display: none;
  background: var(--hapi-loyalty-dark);
  color: var(--hapi-loyalty-text);
  padding: 50px 20px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-dashboard-container {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-user-card,
.hapi-biz.hapi-loyalty-system-wrap .hapi-nav,
.hapi-biz.hapi-loyalty-system-wrap .hapi-content-area {
  background: var(--hapi-loyalty-panel);
  border: 1px solid var(--hapi-loyalty-border);
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-user-card {
  padding: 22px 16px;
  text-align: center;
  margin-bottom: 12px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-avatar {
  width: 66px;
  height: 66px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hapi-loyalty-primary);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-user-card h3 {
  margin: 0;
  color: #fff;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-nav li {
  border-bottom: 1px solid var(--hapi-loyalty-border);
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-nav li:last-child {
  border-bottom: none;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-nav button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #c4d7eb;
  padding: 13px 16px;
  cursor: pointer;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-nav li.active button {
  color: #fff;
  background: rgba(78, 155, 233, 0.1);
  border-left: 3px solid var(--hapi-loyalty-primary);
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-content-area {
  padding: 26px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-panel {
  display: none;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-panel.active {
  display: block;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-panel-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hapi-loyalty-border);
  margin-bottom: 20px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-panel-header h2 {
  color: #fff;
  margin: 0 0 4px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-panel-header p {
  margin: 0;
  color: var(--hapi-loyalty-muted);
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-points-box {
  border: 1px solid var(--hapi-loyalty-primary);
  background: rgba(78, 155, 233, 0.12);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-points-box h1 {
  margin: 0;
  color: #fff;
  font-size: 54px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-points-box p {
  margin: 6px 0 0;
  color: #d4e6f8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-tier {
  padding: 12px 0;
  border-bottom: 1px solid var(--hapi-loyalty-border);
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-tier:last-child {
  border-bottom: none;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-tier-title strong {
  color: #fff;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-tier-desc {
  color: #c2d7ec;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-row {
  display: block;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-input-group {
  margin-bottom: 14px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-input-group label {
  display: block;
  margin-bottom: 6px;
  color: #d3e4f6;
  font-size: 12px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-input-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  border: 1px solid var(--hapi-loyalty-border);
  padding: 10px 12px;
}

.hapi-biz.hapi-loyalty-system-wrap .hapi-empty-state {
  text-align: center;
  color: #d2e0ef;
  padding: 24px;
}

@media (max-width: 900px) {
  .hapi-biz.hapi-loyalty-system-wrap .hapi-loyalty-grid {
    grid-template-columns: 1fr;
  }

  .hapi-biz.hapi-loyalty-system-wrap .hapi-special-grid {
    grid-template-columns: 1fr;
  }

  .hapi-biz.hapi-loyalty-system-wrap .hapi-dashboard-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HAPI LOYALTY — Dashboard additions v2.3.8
   ============================================================ */
.hapi-biz.hapi-loyalty-system-wrap .hapi-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom:14px;
}
@media (max-width:600px) { .hapi-biz.hapi-loyalty-system-wrap .hapi-row { grid-template-columns:1fr; } }
.hapi-biz.hapi-loyalty-system-wrap .hapi-input-group input:focus { outline:none; border-color:var(--hapi-loyalty-primary); }
.hapi-biz.hapi-loyalty-system-wrap .hapi-btn-primary {
  background:var(--hapi-loyalty-primary); color:#fff; border:none;
  padding:10px 24px; font-size:0.9rem; font-weight:600; cursor:pointer; font-family:inherit; transition:opacity 0.2s;
}
.hapi-biz.hapi-loyalty-system-wrap .hapi-btn-primary:hover { opacity:0.85; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-acct-btn-danger {
  background:rgba(224,96,96,0.12); color:#e06060; border:1px solid rgba(224,96,96,0.4);
  padding:10px 24px; font-size:0.9rem; font-weight:600; cursor:pointer; font-family:inherit; transition:background 0.2s;
}
.hapi-biz.hapi-loyalty-system-wrap .hapi-acct-btn-danger:hover { background:rgba(224,96,96,0.22); }
.hapi-biz.hapi-loyalty-system-wrap .hapi-acct-rows { margin-bottom:8px; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-acct-row {
  display:flex; gap:14px; padding:11px 0; border-bottom:1px solid var(--hapi-loyalty-border); align-items:baseline;
}
.hapi-biz.hapi-loyalty-system-wrap .hapi-acct-row:last-child { border-bottom:none; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-acct-row > span { min-width:130px; font-size:0.85rem; color:var(--hapi-loyalty-muted); }
.hapi-biz.hapi-loyalty-system-wrap .hapi-acct-row > strong { color:#fff; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-notif-item {
  display:flex; gap:14px; padding:16px; background:rgba(78,155,233,0.05);
  border:1px solid var(--hapi-loyalty-border); border-left:3px solid var(--hapi-loyalty-primary);
}
.hapi-biz.hapi-loyalty-system-wrap .hapi-addr-card {
  display:flex; gap:12px; align-items:flex-start; background:rgba(78,155,233,0.05);
  border:1px solid var(--hapi-loyalty-border); padding:14px; margin-bottom:8px;
}
.hapi-biz.hapi-loyalty-system-wrap .hapi-addr-num {
  width:26px; height:26px; flex-shrink:0; background:var(--hapi-loyalty-primary); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.8rem;
}
.hapi-biz.hapi-loyalty-system-wrap .hapi-setting-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:13px 0; border-bottom:1px solid rgba(255,255,255,0.04);
}
.hapi-biz.hapi-loyalty-system-wrap .hapi-setting-row:last-child { border-bottom:none; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-setting-info h4 { margin:0; color:#d4e6f8; font-size:0.92rem; font-weight:400; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-toggle { position:relative; display:inline-block; width:44px; height:24px; flex-shrink:0; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-toggle input { opacity:0; width:0; height:0; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-slider { position:absolute; cursor:pointer; inset:0; background:#2a3a4a; border-radius:34px; transition:.3s; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-slider::before { position:absolute; content:""; height:16px; width:16px; left:4px; bottom:4px; background:#7a9ab8; border-radius:50%; transition:.3s; }
.hapi-biz.hapi-loyalty-system-wrap .hapi-toggle input:checked + .hapi-slider { background:var(--hapi-loyalty-primary); }
.hapi-biz.hapi-loyalty-system-wrap .hapi-toggle input:checked + .hapi-slider::before { transform:translateX(20px); background:#fff; }

/* ============================================================
   [Svc] Content & CTA Block  v2.4.1
   Full-bleed image → lifted card → feature grid
   ============================================================ */

  /* Ensure the entire widget sits above absolutely positioned decor in Elementor */
  .elementor-widget-hapi_svc_content { position: relative; z-index: 99 !important; }

  .hsvc2-wrap { width: 100%; overflow: visible; position: relative; z-index: 99; }

  /* ── Image panel ──────────────────────────────────────── */
  .hsvc2-img-panel {
    position: relative;
    z-index: 1;
    width: 100%;
  height: 480px;
  background: #0e1b2c center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

/* Overlay — rendered via inline style so gradient type works */
.hsvc2-img-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Image heading content — centred inside max-width */
.hsvc2-img-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 40px 52px;
}
.hsvc2-img-content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hsvc2-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #4E9BE9;
  background: rgba(78,155,233,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  margin-bottom: 12px;
}
.hsvc2-heading {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 720px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hsvc2-overlay-bar {
  width: 60px; height: 4px;
  background: #4E9BE9;
  border-radius: 2px;
}

/* ── Below section (background + card) ─────────────────── */
.hsvc2-below {
  background: #0e1b2c;
  padding: 0 40px 80px;
  position: relative;
  z-index: 2;
}

/* Lifted card — centred, rises out of image */
.hsvc2-card {
  background: #122131;
  max-width: 1200px;
  margin: -64px auto 0;
  position: relative;
  z-index: 4;
  padding: 52px 56px;
  border-top: 3px solid #4E9BE9;
  box-shadow: 0 -2px 0 rgba(78,155,233,0.3),
              0 0 60px rgba(0,0,0,0.4),
              0 20px 60px rgba(0,0,0,0.25);
}

/* ── Intro row (desc + why heading) ────────────────────── */
.hsvc2-intro-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(78,155,233,0.1);
}
@media (max-width:860px) { .hsvc2-intro-row { grid-template-columns: 1fr; gap: 24px; } }

.hsvc2-desc {
  font-size: 15.5px;
  line-height: 1.9;
  color: #b0c8e0;
  margin: 0 0 30px;
}

.hsvc2-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

/* Primary book button */
.hsvc2-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4E9BE9;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 38px;
  text-decoration: none;
  position: relative;
  z-index: 99;
  pointer-events: auto;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.hsvc2-book-btn:hover {
  background: #3a85d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(78,155,233,0.35);
}

/* Secondary link button */
.hsvc2-sec-btn {
  font-size: 13px;
  font-weight: 600;
  color: #4E9BE9;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  position: relative;
  z-index: 5;
  pointer-events: auto;
  transition: opacity 0.2s, letter-spacing 0.2s;
  border-bottom: 1px solid rgba(78,155,233,0.3);
  padding-bottom: 2px;
}
.hsvc2-sec-btn:hover { opacity: 1; border-color: #4E9BE9; }

/* Why col & Right Image Col */
.hsvc2-why-col { padding-top: 4px; }
.hsvc2-right-img-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hsvc2-right-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  object-fit: cover;
}
.hsvc2-why-title {
  font-size: 17px;
  font-weight: 700;
  color: #4E9BE9;
  margin: 0 0 14px;
  line-height: 1.35;
}
.hsvc2-divider {
  width: 44px; height: 3px;
  background: #4E9BE9;
  border-radius: 2px;
  opacity: 0.55;
}

/* ── Feature grid ───────────────────────────────────────── */
.hsvc2-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px; /* default — overridden by Elementor selector */
}
@media (max-width:1020px) { .hsvc2-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:560px)  { .hsvc2-feat-grid { grid-template-columns: 1fr; } }

.hsvc2-feat-item {
  background: rgba(78,155,233,0.07);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.22s, transform 0.22s;
  cursor: default;
}
.hsvc2-feat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: #4E9BE9;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hsvc2-feat-item:hover { background: rgba(78,155,233,0.13); transform: translateY(-3px); }
.hsvc2-feat-item:hover::before { transform: scaleX(1); }

.hsvc2-feat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.hsvc2-feat-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #4E9BE9;
  opacity: 0.55;
}
.hsvc2-feat-icon { font-size: 22px; transition: transform 0.25s; }
.hsvc2-feat-item:hover .hsvc2-feat-icon { transform: scale(1.18) rotate(-3deg); }
.hsvc2-feat-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.35;
}
.hsvc2-feat-desc {
  font-size: 12.5px;
  color: #7a9ab8;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width:700px) {
  .hsvc2-img-content { padding: 0 20px 36px; }
  .hsvc2-below { padding: 0 16px 60px; }
  .hsvc2-card  { padding: 30px 22px; margin-top: -44px; }
}



   [Svc] Related Services Grid
   ============================================================ */

.hsvc-rel-wrap { width: 100%; }
.hsvc-rel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}
@media (max-width:600px) { .hsvc-rel-inner { padding: 50px 20px; } }

/* Header */
.hsvc-rel-header { text-align: center; margin-bottom: 52px; }
.hsvc-rel-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: #4E9BE9; margin-bottom: 10px;
}
.hsvc-rel-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700; color: #ffffff;
  margin: 0 0 14px; line-height: 1.2;
}
.hsvc-rel-rule {
  width: 52px; height: 3px;
  background: #4E9BE9;
  margin: 0 auto 16px; border-radius: 2px;
}
.hsvc-rel-sub {
  color: #7a9ab8; font-size: 15px;
  max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* Grid */
.hsvc-rel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
@media (max-width:1000px) { .hsvc-rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:560px)  { .hsvc-rel-grid { grid-template-columns: 1fr; } }

/* Card */
.hsvc-rel-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px;
  background: #122131;
  border-top: 3px solid transparent;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.hsvc-rel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(78,155,233,0.05) 0%, transparent 65%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.hsvc-rel-card:hover { border-top-color: #4E9BE9; transform: translateY(-4px); }
.hsvc-rel-card:hover::after { opacity: 1; }

/* Tag */
.hsvc-rel-card-tag {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: #4E9BE9; color: #fff;
  padding: 3px 9px;
}
/* Card top row */
.hsvc-rel-card-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 14px;
}
.hsvc-rel-card-num {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px;
  color: rgba(78,155,233,0.35);
}
.hsvc-rel-card-icon { font-size: 24px; transition: transform 0.3s; }
.hsvc-rel-card:hover .hsvc-rel-card-icon { transform: scale(1.15); }
.hsvc-rel-card-title {
  font-size: 14.5px; font-weight: 700;
  color: #f0f6fd; margin: 0 0 8px; line-height: 1.35;
}
.hsvc-rel-card-desc {
  font-size: 12.5px; color: #7a9ab8;
  line-height: 1.65; margin: 0; flex: 1;
}
.hsvc-rel-card-arrow {
  display: block; margin-top: 18px;
  font-size: 16px; color: #4E9BE9;
  transform: translateX(-4px);
  transition: transform 0.25s;
}
.hsvc-rel-card:hover .hsvc-rel-card-arrow { transform: translateX(2px); }

/* Footer */
.hsvc-rel-footer { text-align: center; margin-top: 52px; }
.hsvc-rel-book-btn {
  display: inline-block;
  background: #4E9BE9; color: #fff !important;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 16px 50px; text-decoration: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.hsvc-rel-book-btn:hover {
  background: #3a85d4;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(78,155,233,0.4);
}


/* ============================================================
   [Svc] Junk Removal Inquiry Form
   ============================================================ */

.hjf-wrap { width: 100%; }

.hjf-card {
  background: #122131;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

/* Title bar */
.hjf-title-bar {
  background: #4E9BE9;
  padding: 28px 40px;
}
.hjf-form-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}
.hjf-form-desc {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* Success / error banners */
.hjf-success, .hjf-error { padding: 28px 40px; }
.hjf-success-inner {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(78,155,233,0.1);
  border: 1px solid rgba(78,155,233,0.35);
  padding: 20px 24px; border-radius: 3px;
}
.hjf-success-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: #4E9BE9; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.hjf-success p { color: #dce8f5; font-size: 15px; line-height: 1.6; margin: 6px 0 0; }
.hjf-error { display: none; }
.hjf-error.hid { display: none; }
.hjf-error-msg {
  background: rgba(224,96,96,0.12);
  border: 1px solid rgba(224,96,96,0.35);
  color: #f08080;
  padding: 14px 18px; margin: 0; font-size: 14px;
  border-radius: 3px;
}

/* Form */
.hjf-form { padding: 10px 0; }

/* Section blocks */
.hjf-section {
  padding: 28px 40px;
  border-bottom: 1px solid rgba(78,155,233,0.08);
}
.hjf-section:last-of-type { border-bottom: none; }

.hjf-section-title {
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #4E9BE9;
  margin: 0 0 20px; display: flex; align-items: center; gap: 10px;
}
.hjf-section-title::before {
  content: ''; flex-shrink: 0; width: 3px; height: 14px;
  background: #4E9BE9; border-radius: 2px;
}
.hjf-section-note {
  color: #7a9ab8; font-size: 13px; line-height: 1.6;
  margin: -10px 0 20px;
}
.hjf-req { color: #e06060; margin-left: 2px; }

/* Grid layouts */
.hjf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hjf-field-wrap { display: flex; flex-direction: column; gap: 6px; }
.hjf-col-full { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .hjf-grid-2 { grid-template-columns: 1fr; }
  .hjf-col-full { grid-column: 1; }
  .hjf-section { padding: 22px 20px; }
  .hjf-title-bar { padding: 22px 20px; }
}

/* Labels */
.hjf-label, .hjf-group-label {
  font-size: 12.5px; font-weight: 600; color: #a8c4e0;
  letter-spacing: 0.3px;
}

/* Inputs / Select / Textarea */
.hjf-field, .hjf-select, .hjf-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(78,155,233,0.2);
  color: #ffffff;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.hjf-field::placeholder, .hjf-textarea::placeholder { color: rgba(167,200,228,0.4); }
.hjf-field:focus, .hjf-select:focus, .hjf-textarea:focus {
  outline: none;
  border-color: #4E9BE9;
  box-shadow: 0 0 0 3px rgba(78,155,233,0.15);
}
.hjf-select { cursor: pointer; color: #ffffff; }
.hjf-select option { background: #0e1b2c; color: #ffffff; }
.hjf-select option:checked { background: #4E9BE9; color: #ffffff; }
.hjf-textarea { resize: vertical; min-height: 110px; }
input[type="date"].hjf-field::-webkit-calendar-picker-indicator { filter: invert(0.6); cursor: pointer; }

/* Checkboxes */
.hjf-check-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hjf-check-vertical { flex-direction: column; }
.hjf-check-wrap { flex-direction: row; }
.hjf-checkbox-item {
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; user-select: none;
}
.hjf-checkbox-item input[type="checkbox"] { display: none; }
.hjf-check-box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid rgba(78,155,233,0.4);
  border-radius: 3px; background: rgba(255,255,255,0.04);
  transition: background 0.18s, border-color 0.18s;
  position: relative;
}
.hjf-checkbox-item input:checked + .hjf-check-box {
  background: #4E9BE9; border-color: #4E9BE9;
}
.hjf-checkbox-item input:checked + .hjf-check-box::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.hjf-check-label { font-size: 13.5px; color: #b8d0e8; line-height: 1; }
.hjf-checkbox-item:hover .hjf-check-box { border-color: #4E9BE9; }

/* File upload */
.hjf-file-input { display: none; }
.hjf-upload-btn {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1.5px dashed rgba(78,155,233,0.3);
  border-radius: 3px; padding: 12px 16px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  color: #7a9ab8; font-size: 13px;
}
.hjf-upload-btn:hover { border-color: #4E9BE9; background: rgba(78,155,233,0.06); color: #4E9BE9; }
.hjf-upload-icon { font-size: 18px; line-height: 1; }
.hjf-upload-text { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.hjf-upload-btn.has-file { border-style: solid; border-color: rgba(78,155,233,0.5); color: #4E9BE9; }

/* Submit row */
.hjf-submit-row {
  padding: 28px 40px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(78,155,233,0.08);
}
.hjf-submit {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  background: #4E9BE9; color: #fff !important;
  border: none !important; outline: none !important;
  -webkit-appearance: none; appearance: none;
  box-shadow: none;
  padding: 14px 44px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer;
  font-family: inherit;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.hjf-submit:focus { outline: none !important; border: none !important; box-shadow: none !important; }
.hjf-submit:hover {
  background: #3a85d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(78,155,233,0.4);
}
.hjf-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.hjf-submit-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  animation: hjfSpin 0.7s linear infinite;
}
@keyframes hjfSpin { to { transform: rotate(360deg); } }
.hjf-privacy-note {
  font-size: 11.5px; color: #4a6a8a; margin: 0; line-height: 1.5;
}

/* Hidden helper */
.hid { display: none !important; }

@media (max-width: 640px) {
  .hjf-submit-row { padding: 22px 20px; }
}


/* ============================================================
   [HAPI] Join Our Team — Trigger Button + Modal Popup
   ============================================================ */

/* ── Trigger button ── */
.hjt-btn-wrap { line-height: 1; }
.hjt-open-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  background: #4E9BE9; color: #fff !important;
  border: none !important; outline: none !important;
  -webkit-appearance: none; appearance: none;
  border-radius: 4px;
  padding: 14px 36px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; font-family: inherit;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.hjt-open-btn:hover {
  background: #3a85d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(78,155,233,0.4);
}
.hjt-btn-arrow { font-size: 16px; transition: transform 0.2s; }
.hjt-open-btn:hover .hjt-btn-arrow { transform: translate(2px,-2px); }

/* ── Overlay ── */
.hjt-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(8,16,28,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  align-items: center; justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.hjt-overlay.hjt-open { display: flex; animation: hjtFadeIn 0.25s ease; }
@keyframes hjtFadeIn { from { opacity:0; } to { opacity:1; } }

/* ── Modal card ── */
.hjt-modal {
  background: #122131;
  width: 100%; max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: hjtSlideUp 0.3s cubic-bezier(.22,.68,0,1.2);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(78,155,233,0.3) transparent;
}
.hjt-modal::-webkit-scrollbar { width: 5px; }
.hjt-modal::-webkit-scrollbar-thumb { background: rgba(78,155,233,0.3); border-radius: 3px; }
@keyframes hjtSlideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* ── Modal header ── */
.hjt-modal-header {
  background: #4E9BE9;
  padding: 28px 36px;
  position: sticky; top: 0; z-index: 2;
}
.hjt-modal-header-inner { padding-right: 40px; }
.hjt-modal-title {
  color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 8px;
}
.hjt-modal-desc {
  color: rgba(255,255,255,0.88); font-size: 14px; line-height: 1.65; margin: 0;
}
.hjt-close-btn {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.15); border: none;
  color: #fff; font-size: 22px; line-height: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.hjt-close-btn:hover { background: rgba(255,255,255,0.3); }

/* ── Success / error ── */
.hjt-success, .hjt-error { padding: 24px 36px; }
.hjt-success-inner {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(78,155,233,0.1); border: 1px solid rgba(78,155,233,0.35);
  padding: 20px 24px; border-radius: 3px;
}
.hjt-success-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: #4E9BE9; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.hjt-success p { color: #dce8f5; font-size: 15px; line-height: 1.6; margin: 6px 0 0; }
.hjt-error-msg {
  background: rgba(224,96,96,0.12); border: 1px solid rgba(224,96,96,0.35);
  color: #f08080; padding: 14px 18px; margin: 0; font-size: 14px; border-radius: 3px;
}

/* ── Sections ── */
.hjt-section { padding: 24px 36px; border-bottom: 1px solid rgba(78,155,233,0.08); }
.hjt-section:last-of-type { border-bottom: none; }
.hjt-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: #4E9BE9; margin: 0 0 18px;
  display: flex; align-items: center; gap: 9px;
}
.hjt-section-title::before {
  content: ''; flex-shrink: 0; width: 3px; height: 13px;
  background: #4E9BE9; border-radius: 2px;
}
.hjt-req { color: #e06060; margin-left: 2px; }

/* ── Grid / fields ── */
.hjt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hjt-field-wrap { display: flex; flex-direction: column; gap: 5px; }
.hjt-col-full { grid-column: 1 / -1; }
.hjt-label, .hjt-group-label {
  font-size: 12px; font-weight: 600; color: #a8c4e0; letter-spacing: 0.3px;
}
.hjt-field, .hjt-select, .hjt-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(78,155,233,0.2);
  color: #ffffff; padding: 10px 13px;
  font-size: 13.5px; font-family: inherit;
  border-radius: 3px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hjt-field::placeholder, .hjt-textarea::placeholder { color: rgba(167,200,228,0.35); }
.hjt-field:focus, .hjt-select:focus, .hjt-textarea:focus {
  outline: none; border-color: #4E9BE9; box-shadow: 0 0 0 3px rgba(78,155,233,0.15);
}
.hjt-select { cursor: pointer; color: #ffffff; }
.hjt-select option { background: #0e1b2c; color: #ffffff; }
.hjt-select option:checked { background: #4E9BE9; color: #ffffff; }
.hjt-textarea { resize: vertical; min-height: 100px; }

/* ── Checkboxes ── */
.hjt-check-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.hjt-check-vertical { flex-direction: column; }
.hjt-check-wrap { flex-direction: row; }
.hjt-checkbox-item { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.hjt-checkbox-item input[type="checkbox"] { display: none; }
.hjt-check-box {
  width: 17px; height: 17px; flex-shrink: 0;
  border: 1.5px solid rgba(78,155,233,0.4); border-radius: 3px;
  background: rgba(255,255,255,0.04); position: relative;
  transition: background 0.18s, border-color 0.18s;
}
.hjt-checkbox-item input:checked + .hjt-check-box { background: #4E9BE9; border-color: #4E9BE9; }
.hjt-checkbox-item input:checked + .hjt-check-box::after {
  content: ''; position: absolute; top: 2px; left: 4px;
  width: 5px; height: 9px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.hjt-check-label { font-size: 13px; color: #b8d0e8; }
.hjt-checkbox-item:hover .hjt-check-box { border-color: #4E9BE9; }

/* ── Submit row ── */
.hjt-submit-row {
  padding: 24px 36px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 10px;
  background: rgba(0,0,0,0.15); border-top: 1px solid rgba(78,155,233,0.08);
}
.hjt-submit {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  background: #4E9BE9; color: #fff !important;
  border: none !important; outline: none !important;
  -webkit-appearance: none; appearance: none;
  padding: 13px 42px; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  font-family: inherit;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.hjt-submit:hover { background: #3a85d4; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(78,155,233,0.4); }
.hjt-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.hjt-submit:focus { outline: none !important; box-shadow: none !important; }
.hjt-submit-spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  animation: hjtSpin 0.7s linear infinite;
}
@keyframes hjtSpin { to { transform: rotate(360deg); } }
.hjt-privacy-note { font-size: 11.5px; color: #4a6a8a; margin: 0; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .hjt-grid-2 { grid-template-columns: 1fr; }
  .hjt-col-full { grid-column: 1; }
  .hjt-section { padding: 20px 20px; }
  .hjt-modal-header { padding: 22px 20px; }
  .hjt-submit-row { padding: 20px 20px; }
}

/* hid utility */
.hid { display: none !important; }

/* ============================================================
   [HAPI] Booking App Widget
   ============================================================ */
.hba-wrap { font-family:'Montserrat','Segoe UI',sans-serif; background:#122131; padding:60px 20px 0; text-align:center; min-height:600px; box-sizing:border-box; width:100%; }
.hba-title { color:#fff; font-size:2.8rem; text-transform:uppercase; margin:0 0 40px; font-weight:600; letter-spacing:2px; }
.hba-selection { animation:hbaFadeIn 0.5s ease-in-out; }
.hba-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; max-width:1200px; margin:0 auto; }
.hba-card { background:#0d1a27; border:2px solid rgba(78,155,233,0.3); cursor:pointer; display:flex; flex-direction:column; box-shadow:0 2px 5px rgba(0,0,0,0.2); filter:brightness(90%) contrast(90%); transition:border-color 0.4s,filter 0.4s,box-shadow 0.4s; }
.hba-card:hover { border-color:#4E9BE9; filter:brightness(100%) contrast(100%); box-shadow:0 5px 20px rgba(78,155,233,0.25); }
.hba-card-img-wrap { width:100%; height:250px; overflow:hidden; border-bottom:4px solid #4E9BE9; position:relative; flex-shrink:0; }
.hba-card-img { width:100%; height:100%; background-size:cover; background-position:center; transition:transform 1.2s ease-out; }
.hba-card:hover .hba-card-img { transform:scale(1.06) translate(-2px,-2px); }
.hba-card-img-wrap::after { content:""; position:absolute; inset:0; background:linear-gradient(rgba(78,155,233,0) 0%,rgba(78,155,233,0.12) 100%); opacity:0; transition:opacity 0.4s; pointer-events:none; }
.hba-card:hover .hba-card-img-wrap::after { opacity:1; }
.hba-card-title { color:#fff; font-size:1.5rem; padding:25px 15px; font-weight:700; text-transform:uppercase; letter-spacing:1px; flex-grow:1; display:flex; align-items:center; justify-content:center; transition:color 0.3s; }
.hba-card:hover .hba-card-title { color:#4E9BE9; }
.hba-form-view { animation:hbaFadeIn 0.5s ease-in-out; max-width:1200px; margin:0 auto; text-align:left; }
.hba-back-btn { background:transparent; border:2px solid #4E9BE9; color:#4E9BE9; padding:10px 25px; font-family:inherit; font-weight:700; font-size:1rem; text-transform:uppercase; cursor:pointer; transition:background 0.3s,color 0.3s; margin-bottom:20px; display:inline-flex; align-items:center; gap:10px; -webkit-appearance:none; appearance:none; }
.hba-back-btn:hover { background:#4E9BE9; color:#122131; }
.hba-back-btn:focus { outline:none !important; }
.hba-form-inner { width:100%; background:#122131; padding:10px 0; display:flex; justify-content:center; }
.hba-iframe-wrap { width:100%; position:relative; height:1200px; background:#122131; }
.hba-iframe-wrap iframe { width:100%; height:100%; border:none; display:block; }
@keyframes hbaFadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@media(max-width:992px){ .hba-grid{grid-template-columns:repeat(2,1fr)} .hba-grid .hba-card:last-child:nth-child(odd){grid-column:1/-1} }
@media(max-width:768px){ .hba-wrap{padding:40px 15px 0} .hba-title{font-size:2rem} .hba-grid{grid-template-columns:1fr;gap:20px} .hba-card-img-wrap{height:200px} .hba-iframe-wrap{height:85vh;overflow:hidden;border:1px solid rgba(78,155,233,0.2)} }

/* ============================================================
   [HAPI] Contact Form Widget
   ============================================================ */
.hcf-wrap { width:100%; }
.hcf-inner { max-width:1200px; margin:0 auto; padding:80px 40px; }
.hcf-split { display:grid; grid-template-columns:1fr 1.5fr; gap:0; align-items:stretch; }
.hcf-stacked { display:flex; flex-direction:column; gap:0; }
.hcf-info { background:#122131; padding:52px 44px; display:flex; flex-direction:column; }
.hcf-split .hcf-info { border-right:1px solid rgba(78,155,233,0.12); }
.hcf-subtitle { display:inline-block; font-size:11px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:#4E9BE9; margin-bottom:12px; }
.hcf-main-title { font-size:clamp(24px,3vw,40px); font-weight:700; color:#fff; margin:0 0 16px; line-height:1.15; }
.hcf-rule { width:48px; height:3px; background:#4E9BE9; margin-bottom:24px; border-radius:2px; }
.hcf-desc { font-size:15px; line-height:1.8; color:#a0bcd5; margin:0 0 40px; }
.hcf-details { display:flex; flex-direction:column; gap:18px; }
.hcf-detail-item { display:flex; align-items:flex-start; gap:14px; }
.hcf-detail-icon { color:#4E9BE9; flex-shrink:0; margin-top:1px; }
.hcf-detail-text { color:#c0d8ef; font-size:14px; line-height:1.5; }
.hcf-form-card { background:#122131; display:flex; flex-direction:column; }
.hcf-form-title-bar { background:#4E9BE9; padding:22px 36px; }
.hcf-form-title { color:#fff; font-size:18px; font-weight:700; margin:0; }
.hcf-success,.hcf-error { padding:24px 36px; }
.hcf-success-inner { display:flex; gap:16px; align-items:flex-start; background:rgba(78,155,233,0.1); border:1px solid rgba(78,155,233,0.3); padding:18px 22px; border-radius:3px; }
.hcf-success-icon { width:30px; height:30px; flex-shrink:0; background:#4E9BE9; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:700; }
.hcf-success p { color:#dce8f5; font-size:14.5px; line-height:1.6; margin:4px 0 0; }
.hcf-error-msg { background:rgba(224,96,96,0.1); border:1px solid rgba(224,96,96,0.3); color:#f08080; padding:12px 16px; margin:0; font-size:13.5px; border-radius:3px; }
.hcf-form { padding:28px 36px 0; }
.hcf-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.hcf-field-wrap { display:flex; flex-direction:column; gap:6px; }
.hcf-col-full { grid-column:1/-1; }
.hcf-label { font-size:12px; font-weight:600; color:#8ab0cc; letter-spacing:0.3px; }
.hcf-req { color:#e06060; margin-left:2px; }
.hcf-field,.hcf-select,.hcf-textarea { background:rgba(255,255,255,0.05); border:1px solid rgba(78,155,233,0.2); color:#ffffff; padding:11px 14px; font-size:14px; font-family:inherit; border-radius:3px; width:100%; transition:border-color 0.2s,box-shadow 0.2s; box-sizing:border-box; }
.hcf-field::placeholder,.hcf-textarea::placeholder { color:rgba(167,200,228,0.35); }
.hcf-field:focus,.hcf-select:focus,.hcf-textarea:focus { outline:none; border-color:#4E9BE9; box-shadow:0 0 0 3px rgba(78,155,233,0.15); }
.hcf-select { cursor:pointer; color:#ffffff; }
.hcf-select option { background:#0e1b2c; color:#ffffff; }
.hcf-select option:checked { background:#4E9BE9; color:#ffffff; }
.hcf-textarea { resize:vertical; min-height:120px; }
input[type="date"].hcf-field::-webkit-calendar-picker-indicator { filter:invert(0.6); cursor:pointer; }
.hcf-submit-row { padding:24px 36px 32px; display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.hcf-submit { display:inline-flex; align-items:center; gap:10px; background:#4E9BE9; color:#fff !important; border:none !important; outline:none !important; -webkit-appearance:none; appearance:none; padding:16px 44px; font-size:13px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; cursor:pointer; font-family:inherit; border-radius:3px; transition:background 0.25s,transform 0.2s,box-shadow 0.25s; }
.hcf-submit:hover { background:#3a85d4; transform:translateY(-2px); box-shadow:0 8px 28px rgba(78,155,233,0.4); }
.hcf-submit:disabled { opacity:0.65; cursor:not-allowed; transform:none; }
.hcf-submit:focus { outline:none !important; box-shadow:none; }
.hcf-submit-spinner { width:16px; height:16px; border-radius:50%; border:2px solid rgba(255,255,255,0.3); border-top-color:#fff; animation:hcfSpin 0.7s linear infinite; }
@keyframes hcfSpin { to{transform:rotate(360deg)} }
.hcf-privacy { font-size:11.5px; color:#4a6a8a; margin:0; line-height:1.5; }
@media(max-width:900px){ .hcf-split{grid-template-columns:1fr} .hcf-split .hcf-info{border-right:none;border-bottom:1px solid rgba(78,155,233,0.12)} .hcf-inner{padding:50px 20px} }
@media(max-width:600px){ .hcf-grid-2{grid-template-columns:1fr} .hcf-col-full{grid-column:1} .hcf-info{padding:36px 24px} .hcf-form{padding:22px 20px 0} .hcf-submit-row{padding:20px 20px 28px} }

.hapi-vid * { box-sizing: border-box; margin: 0; padding: 0; }
.hapi-vid {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #f0ece6;
}



/* ── SECTION HEADER ─────────────────────────────────────────── */
.hapi-vid .sec-head { text-align: center; padding: 70px 40px 10px; }
.hapi-vid .sec-head .eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #4E9BE9; display: block; margin-bottom: 12px; }
.hapi-vid .sec-head h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 300; margin-bottom: 14px; }
.hapi-vid .sec-head.on-dark h2 { color: #f0ece6; }
.hapi-vid .sec-head.on-light h2 { color: #122131; }
.hapi-vid .sec-head h2 strong { font-weight: 600; color: #4E9BE9; }
.hapi-vid .sec-head p { max-width: 580px; margin: 0 auto; font-size: 15px; line-height: 1.7; }
.hapi-vid .sec-head.on-dark p { color: #9e9589; }
.hapi-vid .sec-head.on-light p { color: #6b6259; }
.hapi-vid .divider { width: 50px; height: 2px; background: #4E9BE9; margin: 18px auto 0; opacity: 0.5; }

/* ── VIDEO SECTION — DARK ──────────────────────────────────── */
.hapi-vid .videos-section { background: #122131; padding: 30px 40px 80px; }

/* ── FILTER TABS ────────────────────────────────────────────── */
.hapi-vid .filter-tabs {
  display: flex; justify-content: center; gap: 3px;
  max-width: 420px; margin: 40px auto 0; padding: 0;
}
.hapi-vid .filter-tab {
  flex: 1; padding: 12px 20px; cursor: pointer; border: none;
  background: #1B2F45; color: #9e9589;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  transition: all 0.3s ease; font-family: inherit;
}
.hapi-vid .filter-tab:hover { background: #1E3855; color: #f0ece6; }
.hapi-vid .filter-tab.active { background: #4E9BE9; color: #122131; }
/* Count badge */
.hapi-vid .filter-tab .count {
  display: inline-block; margin-left: 6px;
  background: rgba(0,0,0,0.2); border-radius: 10px;
  padding: 1px 7px; font-size: 9px; font-weight: 700;
}
.hapi-vid .filter-tab.active .count { background: rgba(18,33,49,0.25); }

/* ── VIDEO GRID ─────────────────────────────────────────────── */
.hapi-vid .vid-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3px; max-width: 1200px; margin: 30px auto 0;
}

/* Individual video card */
.hapi-vid .vc {
  position: relative; background: #122131; overflow: hidden;
  aspect-ratio: 16/9; cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hapi-vid .vc.hidden-card { display: none; }

/* Thumbnail layer */
.hapi-vid .vc-thumb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: opacity 0.4s ease;
}
.hapi-vid .vc-thumb.gone { opacity: 0; pointer-events: none; z-index: 0; }
.hapi-vid .vc-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.6); transition: filter 0.4s ease;
}
.hapi-vid .vc:hover .vc-thumb img { filter: brightness(0.45); }

/* Source badge - YT red or Vimeo blue */
.hapi-vid .src-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
}
.hapi-vid .src-badge.yt { background: #FF0000; color: #fff; }
.hapi-vid .src-badge.vm { background: #1ab7ea; color: #fff; }

/* Play button */
.hapi-vid .vc-play {
  position: absolute; z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(78,155,233,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 0 6px rgba(78,155,233,0.2);
}
.hapi-vid .vc-play::after {
  content: ''; border-left: 18px solid #122131;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.hapi-vid .vc:hover .vc-play { background: #6AAEF0; transform: scale(1.1); box-shadow: 0 0 0 10px rgba(78,155,233,0.12); }

/* Bottom label */
.hapi-vid .vc-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(18,33,49,0.9), transparent);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #4E9BE9;
  transform: translateY(100%); transition: transform 0.3s ease;
}
.hapi-vid .vc:hover .vc-label { transform: translateY(0); }

/* Actual iframe */
.hapi-vid .vc-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: none; z-index: 1; opacity: 0; transition: opacity 0.4s ease;
}
.hapi-vid .vc-frame.loaded { opacity: 1; }

/* Loading spinner */
.hapi-vid .vc-loading {
  position: absolute; inset: 0; z-index: 1;
  display: none; align-items: center; justify-content: center;
  background: #122131;
}
.hapi-vid .spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(78,155,233,0.2);
  border-top-color: #4E9BE9;
  animation: hapi-spin 0.8s linear infinite;
}
@keyframes hapi-spin { to { transform: rotate(360deg); } }



/* ── SERVICES HIGHLIGHT — WHITE ─────────────────────────────── */
.hapi-vid .svcs-section { background: #ffffff; padding: 70px 40px; }
.hapi-vid .svcs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px; max-width: 1100px; margin: 50px auto 0;
}
.hapi-vid .svc-item {
  background: #faf9f7; padding: 32px 24px; text-align: center;
  position: relative; overflow: hidden; transition: background 0.3s ease, transform 0.3s ease;
}
.hapi-vid .svc-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: #4E9BE9; transform: scaleX(0); transition: transform 0.3s ease;
}
.hapi-vid .svc-item:hover { background: #f5f2ee; transform: translateY(-4px); }
.hapi-vid .svc-item:hover::after { transform: scaleX(1); }
.hapi-vid .svc-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.hapi-vid .svc-item h4 { font-size: 14px; font-weight: 600; color: #122131; margin-bottom: 8px; }
.hapi-vid .svc-item p { font-size: 12px; color: #6b6259; line-height: 1.6; }

/* ── CTA — DARK ─────────────────────────────────────────────── */
.hapi-vid .cta-strip {
  background: linear-gradient(135deg, #122131 0%, #1B2F45 50%, #122131 100%);
  border-top: 1px solid rgba(78,155,233,0.2);
  padding: 70px 40px; text-align: center; position: relative; overflow: hidden;
}
.hapi-vid .cta-strip::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(78,155,233,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hapi-vid .cta-strip h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 300; color: #f0ece6; margin-bottom: 14px; }
.hapi-vid .cta-strip h2 strong { color: #4E9BE9; font-weight: 600; }
.hapi-vid .cta-strip p { color: #9e9589; font-size: 15px; max-width: 520px; margin: 0 auto 32px; line-height: 1.7; }
.hapi-vid .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hapi-vid .btn-gold {
  display: inline-block; background: #4E9BE9; color: #122131;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 15px 40px; text-decoration: none; transition: all 0.3s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.hapi-vid .btn-gold:hover { background: #6AAEF0; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(78,155,233,0.35); }
.hapi-vid .btn-outline {
  display: inline-block; border: 1px solid rgba(78,155,233,0.4); color: #4E9BE9;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 15px 40px; text-decoration: none; transition: all 0.3s ease;
}
.hapi-vid .btn-outline:hover { border-color: #4E9BE9; background: rgba(78,155,233,0.08); transform: translateY(-2px); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
.hapi-vid .fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.hapi-vid .fade-up.visible { opacity: 1; transform: translateY(0); }
.hapi-vid .fade-up.d1 { transition-delay: 0.1s; }
.hapi-vid .fade-up.d2 { transition-delay: 0.2s; }
.hapi-vid .fade-up.d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hapi-vid .intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .hapi-vid .vid-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}
@media (max-width: 600px) {
  .hapi-vid .vid-hero, .hapi-vid .cta-strip { padding: 60px 20px 50px; }
  .hapi-vid .intro-section, .hapi-vid .svcs-section { padding: 50px 20px; }
  .hapi-vid .videos-section { padding: 30px 16px 60px; }
  .hapi-vid .sec-head { padding: 50px 20px 10px; }
  .hapi-vid .vid-grid { grid-template-columns: 1fr; }
  .hapi-vid .vs-item { padding: 24px 20px; min-width: 50%; }
  .hapi-vid .filter-tabs { max-width: 100%; }
}



