/* =====================================================================
   Techmatic Systems — "Hire Acumatica Developers" page
   Talent-matching / hiring-platform visual language.
   Fully self-contained, namespaced under .hd- / --hd- so it cannot
   collide with acumatica-assets/css/style.css or template-acumatica-tech.php.
   No Bootstrap / jQuery dependency.
   ===================================================================== */

.hd-page {
  --hd-primary:        #c42032;
  --hd-primary-dark:   #a31a27;
  --hd-primary-darker: #7d141e;
  --hd-accent:         #e0a93e;
  --hd-accent-dark:    #b07d1a;
  --hd-ink:            #212121;
  --hd-body:           #4a5160;
  --hd-muted:          #6b7280;
  --hd-line:           #e8e8ee;
  --hd-tint:           #f7f6f6;
  --hd-navy:           #0f1720;
  --hd-navy-2:         #182230;
  --hd-white:          #ffffff;
  --hd-radius:         18px;
  --hd-shadow-sm:      0 6px 20px rgba(33, 33, 33, .07);
  --hd-shadow:         0 18px 50px rgba(33, 33, 33, .12);
  --hd-shadow-lg:      0 30px 70px rgba(28, 22, 24, .18);

  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--hd-body);
  background: var(--hd-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: block;
}

.hd-page *, .hd-page *::before, .hd-page *::after { box-sizing: border-box; }
.hd-page img { max-width: 100%; height: auto; display: block; }
.hd-page ul { margin: 0; list-style: none; padding: 0; }
.hd-page a { text-decoration: none; }
.hd-page button { font-family: inherit; }

.hd-page :where(h1, h2, h3, h4) {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--hd-ink);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
}

/* ----------------------------- Layout helpers ----------------------- */
.hd-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hd-relative { position: relative; }
.hd-text-center { text-align: center; }
.hd-text-white { color: #fff; }

.hd-section { padding: 100px 0; }
.hd-section--tint { background: var(--hd-tint); }
.hd-section__head { max-width: 720px; margin: 0 auto 52px; }
.hd-section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: 16px; }
.hd-section__subtitle { font-size: 1.06rem; color: var(--hd-muted); max-width: 620px; margin: 0 auto; }

.hd-eyebrow {
  display: inline-flex; align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hd-primary); background: rgba(196, 32, 50, .08);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 18px;
}
.hd-eyebrow--light { color: #e2e5ea; background: rgba(255, 255, 255, .1); }
.hd-pulse {
  display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: var(--hd-accent); animation: hdPulseDot 2.2s ease-out infinite;
}
@keyframes hdPulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(224, 169, 62, .55); }
  70%  { box-shadow: 0 0 0 11px rgba(224, 169, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 169, 62, 0); }
}

/* ----------------------------- Buttons ------------------------------ */
.hd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .01em; font-size: .98rem;
  padding: 13px 26px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.hd-btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.hd-btn--primary {
  background: var(--hd-primary); color: #fff; border-color: var(--hd-primary);
  box-shadow: 0 10px 24px rgba(196, 32, 50, .28);
}
.hd-btn--primary:hover { background: var(--hd-primary-dark); border-color: var(--hd-primary-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(196, 32, 50, .36); }
.hd-btn--accent {
  background: var(--hd-accent); color: #3a2900; border-color: var(--hd-accent);
  box-shadow: 0 10px 24px rgba(224, 169, 62, .3);
}
.hd-btn--accent:hover { background: var(--hd-accent-dark); border-color: var(--hd-accent-dark); color: #fff; transform: translateY(-2px); }
.hd-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.hd-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.hd-btn--outline { color: var(--hd-primary); border-color: rgba(196, 32, 50, .3); background: transparent; }
.hd-btn--outline:hover { background: var(--hd-primary); border-color: var(--hd-primary); color: #fff; transform: translateY(-2px); }

.hd-btn--shine { position: relative; overflow: hidden; }
.hd-btn--shine::after {
  content: ''; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  animation: hdBtnShine 3.8s ease-in-out 1.4s infinite;
}
@keyframes hdBtnShine { 0% { left: -130%; } 60%, 100% { left: 160%; } }

/* ===================== Scroll reveal (non-hero) ===================== */
.hd-page [data-hd-animate] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.hd-page [data-hd-animate].hd-visible { opacity: 1; transform: translateY(0); }

/* ============================= HERO ================================= */
.hd-hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px;
  background: radial-gradient(130% 100% at 15% 0%, #24303f 0%, var(--hd-navy-2) 45%, var(--hd-navy) 100%);
  color: #fff;
}
.hd-hero__glow {
  position: absolute; top: -20%; right: -10%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 32, 50, .35), transparent 68%);
  filter: blur(20px); pointer-events: none; z-index: 0;
  animation: hdGlowDrift 18s ease-in-out infinite;
}
@keyframes hdGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-30px, 40px) scale(1.1); }
}

/* floating skill-tag bubbles drifting upward */
.hd-hero__bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hd-hero__bubbles span {
  position: absolute; bottom: -60px;
  font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: .78rem; color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  padding: 7px 14px; border-radius: 100px; white-space: nowrap;
  animation: hdBubbleUp linear infinite;
}
.hd-hero__bubbles span:nth-child(1) { left: 4%;  animation-duration: 17s; animation-delay: 0s; }
.hd-hero__bubbles span:nth-child(2) { left: 16%; animation-duration: 21s; animation-delay: 2s; }
.hd-hero__bubbles span:nth-child(3) { left: 28%; animation-duration: 15s; animation-delay: 5s; }
.hd-hero__bubbles span:nth-child(4) { left: 42%; animation-duration: 23s; animation-delay: 1s; }
.hd-hero__bubbles span:nth-child(5) { left: 58%; animation-duration: 19s; animation-delay: 4s; }
.hd-hero__bubbles span:nth-child(6) { left: 71%; animation-duration: 16s; animation-delay: 7s; }
.hd-hero__bubbles span:nth-child(7) { left: 84%; animation-duration: 22s; animation-delay: 3s; }
.hd-hero__bubbles span:nth-child(8) { left: 93%; animation-duration: 18s; animation-delay: 6s; }
@keyframes hdBubbleUp {
  0%   { transform: translateY(0); opacity: 0; }
  8%   { opacity: .8; }
  90%  { opacity: .5; }
  100% { transform: translateY(-760px); opacity: 0; }
}

.hd-hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}

@keyframes hdRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hdPop  { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

.hd-hero [data-hd-in] { opacity: 0; animation: hdRise .85s cubic-bezier(.2, .7, .2, 1) forwards; }
.hd-hero [data-hd-in="0"] { animation-delay: .1s; }
.hd-hero [data-hd-in="1"] { animation-delay: .2s; }
.hd-hero [data-hd-in="2"] { animation-delay: .3s; }
.hd-hero [data-hd-in="3"] { animation-delay: .4s; }
.hd-hero [data-hd-in="4"] { animation-delay: .5s; }
.hd-hero [data-hd-in="5"] { animation-delay: .6s; }
.hd-hero [data-hd-in="6"] { animation: hdPop 1s cubic-bezier(.2, .7, .2, 1) .55s forwards; }

.hd-hero__title {
  color: #fff; font-size: clamp(2.1rem, 4.2vw, 2.9rem); line-height: 1.14;
  margin-bottom: 14px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hd-hero__accent { color: var(--hd-accent); }
.hd-hero__subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: #fff; margin-bottom: 18px;
}
.hd-hero__subtitle span { color: #b6bfcc; font-weight: 600; }
.hd-hero__lead { font-size: 1.08rem; color: #cfd6e0; max-width: 520px; margin-bottom: 30px; }
.hd-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hd-hero__trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hd-hero__trust span { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: #aeb6c2; }
.hd-hero__trust svg { color: var(--hd-accent); flex: none; }

/* --- "how hiring works" slider (3 screens: map / chat / booking) --- */
.hd-hero__visual { display: flex; align-items: center; justify-content: center; min-width: 0; }
.hd-slider { width: 100%; max-width: 440px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }

.hd-slider__label { text-align: center; min-height: 46px; }
.hd-slider__step {
  display: block; font-family: 'Inter'; font-weight: 700; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--hd-accent); margin-bottom: 4px;
}
.hd-slider__title { display: block; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 1.05rem; color: #fff; }

.hd-slider__row { display: flex; align-items: center; gap: 14px; width: 100%; justify-content: center; }
.hd-slider__arrow {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #cfd6e0;
  cursor: pointer; transition: background .25s ease, color .25s ease, transform .2s ease, border-color .25s ease;
}
.hd-slider__arrow:hover { background: var(--hd-accent); border-color: var(--hd-accent); color: #3a2900; transform: scale(1.06); }

.hd-slider__frame {
  flex: 1 1 340px; min-width: 0; max-width: 340px; border-radius: 18px; overflow: hidden;
  background: rgba(20, 25, 33, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .55);
}
.hd-slider__head { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hd-slider__dot { width: 10px; height: 10px; border-radius: 50%; }
.hd-slider__dot--r { background: #ff5f57; }
.hd-slider__dot--y { background: #febc2e; }
.hd-slider__dot--g { background: #28c840; }
.hd-slider__head span { margin-left: 8px; font-size: .74rem; color: #8b93a0; }

.hd-slider__viewport { position: relative; height: 230px; }
.hd-slide {
  position: absolute; inset: 0; padding: 20px;
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.hd-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .05s, transform .45s ease .05s; }

/* slide 1 — global map */
.hd-slide__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.hd-map-dot { fill: rgba(255, 255, 255, .3); }
.hd-map-dot--main { fill: var(--hd-accent); animation: hdMapPulse 2.4s ease-in-out infinite; }
@keyframes hdMapPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hd-map-line { stroke: var(--hd-accent); stroke-width: 1.4; fill: none; stroke-dasharray: 4 5; opacity: .7; animation: hdMapFlow 2s linear infinite; }
.hd-map-line--slow { opacity: .4; animation-duration: 3s; animation-direction: reverse; }
@keyframes hdMapFlow { to { stroke-dashoffset: -18; } }
.hd-slide__tag { position: absolute; font-size: .72rem; color: #fff; background: rgba(0, 0, 0, .45); padding: 4px 10px; border-radius: 8px; font-weight: 600; }
.hd-slide__tag--left { left: 26px; top: 86px; }
.hd-slide__tag--right { right: 60px; top: 68px; }
.hd-slide__pill {
  position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 600; color: #9fe6b4; background: rgba(159, 230, 180, .1); padding: 6px 12px; border-radius: 100px;
}
.hd-slide__pulse { width: 6px; height: 6px; border-radius: 50%; background: #9fe6b4; animation: hdPulseDot 2.2s ease-out infinite; }

/* slide 2 — concierge chat */
.hd-chat { display: flex; flex-direction: column; gap: 10px; height: 100%; justify-content: center; }
.hd-chat__bubble {
  max-width: 82%; font-size: .86rem; padding: 10px 14px; border-radius: 14px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease;
}
.hd-slide.is-active .hd-chat__bubble { opacity: 1; transform: none; }
.hd-chat__bubble--user { align-self: flex-end; background: var(--hd-accent); color: #3a2900; border-radius: 14px 14px 3px 14px; }
.hd-chat__bubble--reply { align-self: flex-start; background: rgba(255, 255, 255, .07); color: #cfd6e0; border-radius: 14px 14px 14px 3px; }
.hd-slide.is-active .hd-chat__bubble--reply { transition-delay: .15s; }
.hd-chat__avatars { display: flex; gap: 8px; margin-top: 2px; opacity: 0; transition: opacity .4s ease .3s; }
.hd-slide.is-active .hd-chat__avatars { opacity: 1; }
.hd-chat__avatars span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fc); color: #fff; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: .7rem;
}

/* slide 3 — interview booking */
.hd-book { display: flex; flex-direction: column; gap: 12px; height: 100%; justify-content: center; }
.hd-book__caption { font-size: .74rem; color: #9aa2b0; }
.hd-book__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hd-book__days span {
  display: grid; place-items: center; height: 32px; border-radius: 8px; font-size: .74rem; font-weight: 600;
  background: rgba(255, 255, 255, .06); color: #9aa2b0;
}
.hd-book__days span.is-active { background: var(--hd-accent); color: #3a2900; }
.hd-book__confirm {
  display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(159, 230, 180, .35); border-radius: 10px; padding: 11px 13px;
  color: #9fe6b4; opacity: 0; transform: translateY(6px); transition: opacity .4s ease .2s, transform .4s ease .2s;
}
.hd-slide.is-active .hd-book__confirm { opacity: 1; transform: none; }
.hd-book__confirm span { display: flex; flex-direction: column; gap: 2px; font-size: .78rem; }
.hd-book__confirm b { color: #fff; font-size: .82rem; }

.hd-slider__dots { display: flex; gap: 8px; }
.hd-slider__dot-btn {
  position: relative; width: 26px; height: 6px; border-radius: 3px; overflow: hidden;
  background: rgba(255, 255, 255, .16); border: none; cursor: pointer; padding: 0;
  transition: width .3s ease, background .3s ease;
}
.hd-slider__dot-btn.is-active { width: 40px; background: rgba(224, 169, 62, .25); }
.hd-slider__dot-fill { display: block; height: 100%; width: 0; background: var(--hd-accent); border-radius: 3px; }
.hd-slider__dot-fill.run { animation: hdSliderFill 5s linear forwards; }
@keyframes hdSliderFill { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .hd-page .hd-hero__glow, .hd-page .hd-hero__bubbles span, .hd-page .hd-pulse,
  .hd-page .hd-btn--shine::after, .hd-page .hd-hero [data-hd-in],
  .hd-page .hd-map-dot--main, .hd-page .hd-map-line, .hd-page .hd-slide__pulse,
  .hd-page .hd-slider__dot-fill {
    animation: none !important;
  }
  .hd-page .hd-hero [data-hd-in] { opacity: 1 !important; }
  .hd-page .hd-chat__bubble, .hd-page .hd-chat__avatars, .hd-page .hd-book__confirm { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 991.98px) {
  .hd-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hd-hero__cta, .hd-hero__trust { justify-content: center; }
  .hd-hero__lead { margin-left: auto; margin-right: auto; }
  .hd-hero__visual { margin-top: 44px; }
}
@media (max-width: 575.98px) {
  .hd-hero { padding-top: 120px; }
  .hd-slider__viewport { height: 220px; }
}
@media (max-width: 359.98px) {
  .hd-slider__row { gap: 8px; }
  .hd-slider__arrow { width: 32px; height: 32px; }
}

/* ===================== Old way / New way comparison ===================== */
.hd-compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center;
}
.hd-compare__card {
  border-radius: var(--hd-radius); padding: 34px 32px;
  border: 1.5px solid var(--hd-line); background: #fff;
}
.hd-compare__card--old { background: #fdf5f5; border-color: #f3dcdf; }
.hd-compare__card--new {
  background: linear-gradient(160deg, #fffaf0, #fff);
  border-color: rgba(224, 169, 62, .35);
  box-shadow: var(--hd-shadow);
  transform: scale(1.02);
}
.hd-compare__label {
  display: inline-block; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 1.08rem;
  color: var(--hd-muted); margin-bottom: 18px;
}
.hd-compare__label--accent { color: var(--hd-accent-dark); }
.hd-compare__list li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: .98rem; color: var(--hd-ink); }
.hd-compare__x {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: rgba(196, 32, 50, .1); color: var(--hd-primary-dark); font-size: .78rem; font-weight: 800; line-height: 1;
}
.hd-compare__check {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: rgba(224, 169, 62, .18); color: var(--hd-accent-dark);
}
.hd-compare__arrow { display: grid; place-items: center; color: var(--hd-primary); }

@media (max-width: 767.98px) {
  .hd-compare { grid-template-columns: 1fr; }
  .hd-compare__arrow { transform: rotate(90deg); margin: 0 auto; }
  .hd-compare__card--new { transform: none; }
}

/* ===================== Services explorer (tabs) ===================== */
.hd-explorer { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: stretch; }
.hd-explorer__list { display: flex; flex-direction: column; gap: 4px; }
.hd-explorer__tab {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: none; background: transparent; cursor: pointer;
  transition: background .25s ease;
}
.hd-explorer__tab:hover { background: rgba(196, 32, 50, .05); }
.hd-explorer__tab.is-active { background: #fff; box-shadow: var(--hd-shadow-sm); }
.hd-explorer__num {
  font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: .82rem; color: var(--hd-muted);
  flex: none; width: 26px;
}
.hd-explorer__tab.is-active .hd-explorer__num { color: var(--hd-primary); }
.hd-explorer__tab-title { flex: 1; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: .96rem; color: var(--hd-ink); }
.hd-explorer__tab.is-active .hd-explorer__tab-title { color: var(--hd-primary-dark); }
.hd-explorer__progress {
  position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: rgba(196, 32, 50, .1); overflow: hidden; display: none;
}
.hd-explorer__tab.is-active .hd-explorer__progress { display: block; }
.hd-explorer__progress-fill {
  display: block; height: 100%; width: 0%; background: var(--hd-primary); border-radius: 2px;
}
.hd-explorer__progress-fill.run { animation: hdProgressFill 4.5s linear forwards; }
@keyframes hdProgressFill { from { width: 0%; } to { width: 100%; } }

.hd-explorer__stage {
  position: relative; background: #fff; border-radius: var(--hd-radius);
  box-shadow: var(--hd-shadow); padding: 40px; min-height: 320px;
}
.hd-explorer__panel {
  position: absolute; inset: 40px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}
.hd-explorer__panel.is-active { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease .05s, transform .4s ease .05s; }
.hd-explorer__panel-icon {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--hd-primary), var(--hd-primary-dark)); color: #fff;
  box-shadow: 0 12px 26px rgba(196, 32, 50, .3);
}
.hd-explorer__panel-title { font-size: 1.4rem; margin-bottom: 14px; }
.hd-explorer__panel-text { font-size: 1rem; color: var(--hd-body); margin: 0; }

@media (max-width: 899.98px) {
  .hd-explorer { grid-template-columns: 1fr; }
  .hd-explorer__stage { min-height: 0; padding: 30px; }
  .hd-explorer__panel { position: relative; inset: auto; display: none; opacity: 1; visibility: visible; transform: none; }
  .hd-explorer__panel.is-active { display: block; }
}

/* ===================== Why choose (image + feature list) ===================== */
.hd-why { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.hd-why__media { position: relative; border-radius: var(--hd-radius); overflow: hidden; box-shadow: var(--hd-shadow); }
.hd-why__media img { transition: transform .6s ease; }
.hd-why__media:hover img { transform: scale(1.06); }
.hd-why__tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 100px; padding: 9px 16px;
  font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: .8rem; color: var(--hd-ink);
  box-shadow: 0 12px 26px rgba(33, 33, 33, .18);
}
.hd-why__tag svg { color: var(--hd-primary); }
.hd-why__tag--1 { top: 20px; left: 20px; }
.hd-why__tag--2 { bottom: 20px; right: 20px; }
.hd-why__tag--2 svg { color: var(--hd-accent-dark); }

.hd-feature-list { margin-top: 24px; }
.hd-feature-list li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hd-line); }
.hd-feature-list li:first-child { border-top: none; padding-top: 0; }
.hd-feature-list__icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: rgba(196, 32, 50, .08); color: var(--hd-primary);
}
.hd-feature-list h4 { font-size: 1.02rem; margin-bottom: 4px; }
.hd-feature-list p { font-size: .92rem; color: var(--hd-body); margin: 0; }

@media (max-width: 899.98px) {
  .hd-why { grid-template-columns: 1fr; }
}

/* ===================== Engagement models (pricing-style) ===================== */
.hd-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.hd-plan {
  position: relative; background: #fff; border: 1.5px solid var(--hd-line); border-radius: 22px;
  padding: 36px 30px; box-shadow: var(--hd-shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
  display: flex; flex-direction: column;
}
.hd-plan:hover { transform: translateY(-6px); box-shadow: var(--hd-shadow); }
.hd-plan--featured {
  border-color: var(--hd-accent); box-shadow: var(--hd-shadow-lg);
  transform: scale(1.05); z-index: 1;
  background: linear-gradient(180deg, #fffaf0, #fff 40%);
}
.hd-plan--featured:hover { transform: scale(1.05) translateY(-6px); }
.hd-plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #3a2900; background: var(--hd-accent); padding: 6px 16px; border-radius: 100px;
  box-shadow: 0 8px 18px rgba(224, 169, 62, .4);
}
.hd-plan__title { font-size: 1.25rem; margin-bottom: 10px; }
.hd-plan__text { font-size: .94rem; color: var(--hd-body); margin-bottom: 20px; }
.hd-plan__list { margin-bottom: 26px; flex: 1; }
.hd-plan__list li { position: relative; padding: 7px 0 7px 26px; font-size: .92rem; color: var(--hd-ink); }
.hd-plan__list li::before {
  content: ''; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(224, 169, 62, .18)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23b07d1a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.hd-plan .hd-btn { align-self: flex-start; }

@media (max-width: 899.98px) {
  .hd-plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .hd-plan--featured { transform: none; order: -1; }
  .hd-plan--featured:hover { transform: translateY(-6px); }
}

/* ===================== Benefits (snap-scroll strip) ===================== */
.hd-benefits { padding-bottom: 100px; }
.hd-strip { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 24px; }
.hd-strip__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 20px; scrollbar-width: none;
}
.hd-strip__track::-webkit-scrollbar { display: none; }
.hd-strip__card {
  scroll-snap-align: start; flex: 0 0 260px;
  background: #fff; border: 1.5px solid var(--hd-line); border-radius: 20px; padding: 28px 24px;
  box-shadow: var(--hd-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hd-strip__card:hover { transform: translateY(-6px); box-shadow: var(--hd-shadow); border-color: rgba(196, 32, 50, .3); }
.hd-strip__num {
  display: inline-block; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 1.6rem;
  color: rgba(196, 32, 50, .18); margin-bottom: 10px;
}
.hd-strip__card h4 { font-size: 1.04rem; margin-bottom: 8px; }
.hd-strip__card p { font-size: .9rem; color: var(--hd-body); margin: 0; }
.hd-strip__nav {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--hd-line); color: var(--hd-primary); cursor: pointer;
  box-shadow: var(--hd-shadow-sm); transition: background .25s ease, color .25s ease, transform .2s ease;
}
.hd-strip__nav:hover { background: var(--hd-primary); color: #fff; transform: scale(1.06); }

@media (max-width: 575.98px) {
  .hd-strip { padding: 0 12px; }
  .hd-strip__nav { display: none; }
}

/* ===================== Final CTA ===================== */
.hd-cta {
  position: relative; overflow: hidden; padding: 100px 0;
  background: radial-gradient(120% 100% at 85% 0%, #24303f 0%, var(--hd-navy-2) 45%, var(--hd-navy) 100%);
}
.hd-cta__bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hd-cta__bubbles span {
  position: absolute; bottom: -60px;
  font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: .8rem; color: rgba(224, 169, 62, .35);
  border: 1px solid rgba(224, 169, 62, .18); padding: 7px 15px; border-radius: 100px; white-space: nowrap;
  animation: hdBubbleUp linear infinite;
}
.hd-cta__bubbles span:nth-child(1) { left: 8%;  animation-duration: 19s; animation-delay: 0s; }
.hd-cta__bubbles span:nth-child(2) { left: 22%; animation-duration: 23s; animation-delay: 3s; }
.hd-cta__bubbles span:nth-child(3) { left: 38%; animation-duration: 16s; animation-delay: 6s; }
.hd-cta__bubbles span:nth-child(4) { left: 55%; animation-duration: 21s; animation-delay: 1s; }
.hd-cta__bubbles span:nth-child(5) { left: 70%; animation-duration: 18s; animation-delay: 5s; }
.hd-cta__bubbles span:nth-child(6) { left: 86%; animation-duration: 24s; animation-delay: 2s; }
.hd-cta__text { position: relative; z-index: 1; color: #cfd6e0; font-size: 1.08rem; max-width: 620px; margin: 0 auto 30px; }
.hd-cta__buttons { position: relative; z-index: 1; display: flex; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .hd-page .hd-cta__bubbles span { animation: none !important; opacity: 0; }
}

/* ============================= FAQ (masonry-ish) ================================= */
.hd-faq { column-count: 2; column-gap: 22px; }
.hd-faq__item {
  position: relative; break-inside: avoid; margin-bottom: 20px;
  background: #fff; border: 1px solid var(--hd-line); border-left: 3px solid transparent;
  border-radius: 14px; overflow: hidden; box-shadow: var(--hd-shadow-sm);
  transition: border-color .3s ease;
}
.hd-faq__item.is-open { border-left-color: var(--hd-primary); }
.hd-faq__index {
  position: absolute; top: 6px; right: 16px; font-family: 'Plus Jakarta Sans'; font-weight: 800;
  font-size: 2.2rem; color: rgba(196, 32, 50, .06); line-height: 1; pointer-events: none;
}
.hd-faq__btn {
  position: relative; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 22px 50px 22px 24px; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 1rem; color: var(--hd-ink);
  cursor: pointer;
}
.hd-faq__item.is-open .hd-faq__btn { color: var(--hd-primary); }
.hd-faq__icon {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--hd-primary); transition: transform .3s ease;
}
.hd-faq__item.is-open .hd-faq__icon { transform: translateY(-50%) rotate(180deg); }
.hd-faq__panel { display: grid; grid-template-rows: 0fr; min-height: 0; transition: grid-template-rows .35s ease; }
.hd-faq__item.is-open .hd-faq__panel { grid-template-rows: 1fr; }
.hd-faq__panel > .hd-faq__body { overflow: hidden; min-height: 0; }
.hd-faq__body { padding: 0 24px; color: var(--hd-body); font-size: .96rem; transition: padding-bottom .35s ease; }
.hd-faq__item.is-open .hd-faq__body { padding-bottom: 22px; }

@media (max-width: 767.98px) {
  .hd-faq { column-count: 1; }
}

/* ============================= Responsive ========================= */
@media (max-width: 991.98px) {
  .hd-section { padding: 76px 0; }
}
@media (max-width: 575.98px) {
  .hd-container { padding: 0 18px; }
}
