/* ===== DESIGN TOKENS ===== */
:root {
  --ht-deep: #0A2540;
  --ht-teal: #0E9AA7;
  --ht-teal-dark: #0B7F8A;
  --ht-ink: #101828;
  --ht-muted: #475467;
  --ht-line: #E4E9F0;
  --ht-surface: #FFFFFF;
  --ht-tint: #F5F8FA;
  --ht-radius: 14px;
  --ht-shadow: 0 10px 30px rgba(16,24,40,0.06);
  --ht-shadow-hover: 0 14px 40px rgba(16,24,40,0.1);
  --ht-container: 1240px;
  --ht-gutter: 24px;
  --ht-section-py: 96px;
  --ht-font-heading: 'Sora', 'Segoe UI', Arial, sans-serif;
  --ht-font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.haitron-home {
  font-family: var(--ht-font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ht-ink);
  background: var(--ht-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6,
.ht-section__title,
.ht-news-opening__copy h1,
.ht-cta__title {
  font-weight: 700;
}

/* ===== UTILITIES ===== */
.ht-container {
  max-width: var(--ht-container);
  margin: 0 auto;
  padding: 0 var(--ht-gutter);
}
.ht-section {
  padding: var(--ht-section-py) 0;
}
.ht-section--tint {
  background: var(--ht-tint);
}
.ht-section__title {
  font-family: var(--ht-font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ht-deep);
  margin-bottom: 48px;
}
.ht-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.ht-section__head .ht-section__title { margin-bottom: 0; }
.ht-section__link {
  font-family: var(--ht-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ht-teal);
  white-space: nowrap;
  transition: opacity 0.2s;
}
.ht-section__link:hover { opacity: 0.75; }
.ht-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.ht-body {
  color: var(--ht-muted);
  max-width: 640px;
}

/* ===== BUTTONS ===== */
.ht-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ht-font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.ht-btn--primary {
  background: var(--ht-teal);
  color: #fff;
}
.ht-btn--primary:hover {
  background: var(--ht-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14,154,167,0.3);
}
.ht-btn--outline {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), 0 8px 24px rgba(0,0,0,0.18);
}
.ht-btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.22);
}
.ht-btn--white {
  background: #fff;
  color: var(--ht-deep);
}
.ht-btn--white:hover {
  background: var(--ht-tint);
  transform: translateY(-1px);
}
.ht-btn--outline-white {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), 0 8px 24px rgba(0,0,0,0.18);
}
.ht-btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.22);
}
.ht-btn--outline-dark {
  background: #fff;
  color: var(--ht-deep);
  border: 1.5px solid rgba(10,37,64,0.22);
}
.ht-btn--outline-dark:hover {
  border-color: var(--ht-teal);
  color: var(--ht-teal-dark);
  transform: translateY(-1px);
}
.ht-btn:focus-visible {
  outline: 2px solid var(--ht-teal);
  outline-offset: 2px;
}

/* ===== HEADER ===== */
.ht-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.ht-header .ht-container {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 8px;
  padding-bottom: 8px;
  transition: transform 0.3s ease;
}
.ht-header:not(.scrolled) .ht-container {
  transform: scaleY(1);
}
.ht-header.scrolled {
  background: var(--ht-deep);
  box-shadow: 0 2px 20px rgba(10,37,64,0.15);
}
.ht-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.ht-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.ht-nav__list {
  display: flex;
  gap: 28px;
}
.ht-nav__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  padding: 4px 0;
}
.ht-nav__link:hover,
.ht-nav__link[aria-current="page"] {
  color: #fff;
}
.ht-nav__link:focus-visible {
  outline: 2px solid var(--ht-teal);
  outline-offset: 4px;
  border-radius: 2px;
}
.ht-header__cta {
  font-size: 14px;
  padding: 10px 22px;
  flex-shrink: 0;
}

/* Hamburger */
.ht-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1010;
}
.ht-hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.ht-hamburger[aria-expanded="true"] .ht-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ht-hamburger[aria-expanded="true"] .ht-hamburger__bar:nth-child(2) {
  opacity: 0;
}
.ht-hamburger[aria-expanded="true"] .ht-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.ht-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ht-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--ht-deep);
}
.ht-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,37,64,0.92) 0%, rgba(10,37,64,0.6) 50%, rgba(10,37,64,0.3) 100%);
}
.ht-hero__inner {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  max-width: 720px;
}
.ht-hero__eyebrow {
  font-family: var(--ht-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ht-teal);
  margin-bottom: 16px;
}
.ht-hero__title {
  font-family: var(--ht-font-heading);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 20px;
}
.ht-hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 600px;
}
.ht-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.ht-hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ht-chip {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ===== CHEMISTRY INTRO ===== */
.ht-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ht-intro__text .ht-section__title { margin-bottom: 24px; }
.ht-intro__text .ht-body { margin-bottom: 32px; }
.ht-intro__families {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ht-intro__families li {
  font-size: 15px;
  font-weight: 500;
  color: var(--ht-deep);
  padding-left: 20px;
  position: relative;
}
.ht-intro__families li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ht-teal);
}
.ht-intro__img {
  border-radius: var(--ht-radius);
  object-fit: cover;
  width: 100%;
  max-height: 560px;
  box-shadow: var(--ht-shadow);
}

/* ===== PRODUCTS ===== */
.ht-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ht-card {
  display: flex;
  flex-direction: column;
  background: var(--ht-surface);
  border-radius: var(--ht-radius);
  overflow: hidden;
  box-shadow: var(--ht-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ht-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ht-shadow-hover);
}
.ht-card:focus-visible {
  outline: 2px solid var(--ht-teal);
  outline-offset: 2px;
}
.ht-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4f5 0%, #d1eef0 100%);
}
.ht-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.ht-card__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8f4f5 0%, #d1eef0 50%, #c5e8ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ht-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ht-card__title {
  font-family: var(--ht-font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ht-deep);
  margin-bottom: 8px;
}
.ht-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ht-muted);
  flex: 1;
  margin-bottom: 16px;
}
.ht-card__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ht-teal);
}

/* ===== APPLICATIONS ===== */
.ht-apps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ht-app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border-radius: var(--ht-radius);
  background: var(--ht-surface);
  border: 1px solid var(--ht-line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ht-app:hover {
  transform: translateY(-4px);
  box-shadow: var(--ht-shadow);
  border-color: var(--ht-teal);
}
.ht-app:focus-visible {
  outline: 2px solid var(--ht-teal);
  outline-offset: 2px;
}
.ht-app__icon {
  width: 48px;
  height: 48px;
  color: var(--ht-teal);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.ht-app__title {
  font-family: var(--ht-font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--ht-deep);
  margin-bottom: 8px;
}
.ht-app__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ht-muted);
}

/* ===== WHY HAITRON ===== */
.ht-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ht-value {
  text-align: center;
  padding: 40px 24px;
}
.ht-value__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--ht-teal);
}
.ht-value__title {
  font-family: var(--ht-font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--ht-deep);
  margin-bottom: 8px;
}
.ht-value__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ht-muted);
}

/* ===== FAQ ===== */
.ht-faq .ht-section__title {
  text-align: center;
}
.ht-faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.ht-accordion {
  border-bottom: 1px solid var(--ht-line);
}
.ht-accordion:first-child {
  border-top: 1px solid var(--ht-line);
}
.ht-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
}
.ht-accordion__trigger:focus-visible {
  outline: 2px solid var(--ht-teal);
  outline-offset: -2px;
  border-radius: 4px;
}
.ht-accordion__q {
  font-family: var(--ht-font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--ht-deep);
  line-height: 1.4;
}
.ht-accordion__icon {
  flex-shrink: 0;
  color: var(--ht-muted);
  transition: transform 0.25s;
}
.ht-accordion__trigger[aria-expanded="true"] .ht-accordion__icon {
  transform: rotate(45deg);
}
.ht-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.ht-accordion__panel > * {
  overflow: hidden;
}
.ht-accordion__panel:not([hidden]) {
  grid-template-rows: 1fr;
  opacity: 1;
}
.ht-accordion__a {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ht-muted);
  padding: 0 0 24px;
}

/* ===== NEWS ===== */
.ht-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ht-news-card {
  display: flex;
  flex-direction: column;
  background: var(--ht-surface);
  border-radius: var(--ht-radius);
  overflow: hidden;
  box-shadow: var(--ht-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ht-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ht-shadow-hover);
}
.ht-news-card:focus-visible {
  outline: 2px solid var(--ht-teal);
  outline-offset: 2px;
}
.ht-news-card__img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  width: 100%;
}
.ht-news-card__body {
  padding: 24px;
  flex: 1;
}
.ht-news-card__date {
  font-size: 13px;
  color: var(--ht-muted);
  display: block;
  margin-bottom: 8px;
}
.ht-news-card__title {
  font-family: var(--ht-font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ht-deep);
  margin-bottom: 8px;
}
.ht-news-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ht-muted);
}

/* ===== CTA BAND ===== */
.ht-cta {
  background: var(--ht-teal);
  padding: 80px 0;
}
.ht-cta__inner {
  text-align: center;
}
.ht-cta__title {
  font-family: var(--ht-font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 32px;
}
.ht-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.ht-footer {
  background: var(--ht-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.ht-footer a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.ht-footer a:hover { color: #fff; }
.ht-footer a:focus-visible {
  outline: 2px solid var(--ht-teal);
  outline-offset: 2px;
  border-radius: 2px;
}
.ht-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ht-footer__logo img {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.ht-footer__tagline {
  font-size: 14px;
  line-height: 1.6;
}
.ht-footer__heading {
  font-family: var(--ht-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.ht-footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ht-footer__links li a {
  font-size: 14px;
}
.ht-footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ht-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.ht-footer__contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
}
.ht-footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

/* ===== SCROLL REVEAL ===== */
.ht-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ht-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ht-products__grid { grid-template-columns: repeat(2, 1fr); }
  .ht-apps__grid { grid-template-columns: repeat(2, 1fr); }
  .ht-why__grid { grid-template-columns: repeat(2, 1fr); }
  .ht-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --ht-section-py: 56px;
    --ht-gutter: 20px;
  }

  /* Header mobile */
  .ht-hamburger { display: flex; }
  .ht-header__cta { display: none; }
  .ht-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--ht-deep);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right 0.35s ease;
    z-index: 1005;
  }
  .ht-nav.is-open { right: 0; }
  .ht-nav__list {
    flex-direction: column;
    gap: 24px;
  }
  .ht-nav__link { font-size: 18px; }
  .ht-nav .ht-nav__list::after {
    content: '';
    display: block;
    margin-top: 16px;
  }

  /* Hero mobile */
  .ht-hero__inner { padding: 120px 0 60px; }
  .ht-hero__sub { font-size: 16px; }
  .ht-hero__actions { flex-direction: column; }
  .ht-hero__actions .ht-btn { text-align: center; justify-content: center; }

  /* Intro mobile */
  .ht-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ht-intro__media { order: -1; }
  .ht-intro__img { max-height: 360px; }

  /* Products mobile */
  .ht-products__grid { grid-template-columns: 1fr; max-width: 420px; }

  /* Apps mobile */
  .ht-apps__grid { grid-template-columns: 1fr; }

  /* Why mobile */
  .ht-why__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ht-value { padding: 24px 16px; }

  /* News mobile */
  .ht-news__grid { grid-template-columns: 1fr; max-width: 420px; }

  /* CTA mobile */
  .ht-cta { padding: 56px 0; }
  .ht-cta__actions { flex-direction: column; align-items: center; }

  /* Footer mobile */
  .ht-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 400px) {
  .ht-hero__chips { gap: 6px; }
  .ht-chip { font-size: 11px; padding: 5px 10px; }
  .ht-why__grid { grid-template-columns: 1fr; }
}

/* ===== PRINT ===== */
@media print {
  .ht-header, .ht-cta, .ht-hero__overlay { display: none; }
  .ht-hero { min-height: auto; padding: 40px 0; }
}

/* ===== HAITRON LOGO AND MOBILE HERO PATCH 2026-07-08 ===== */
.ht-header .ht-logo,
.ht-footer__logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 210px;
    height: 92px;
    overflow: visible;
}

.ht-header .ht-logo img,
.ht-footer__logo img {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    pointer-events: none;
}

.ht-header .ht-logo::before,
.ht-footer__logo::before {
    content: '';
    display: block;
    width: 210px;
    height: 92px;
    background-image: url('../img/haitron-logo-client-approved-font-final-cropped.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.ht-footer__logo {
    margin-bottom: 16px;
}

@media (max-width: 1100px) {
    .ht-header .ht-logo {
        width: 184px;
        height: 81px;
    }

    .ht-header .ht-logo::before {
        width: 184px;
        height: 81px;
    }
}

@media (max-width: 768px) {
    body.home .ht-header {
        min-height: 84px;
        padding: 10px 0;
        background: rgba(10, 37, 64, 0.96);
        backdrop-filter: blur(16px);
    }

    body.home .ht-header .ht-container,
    body.home .ht-header .ht-nav__inner {
        min-height: 58px;
        align-items: center;
    }

    .ht-header .ht-logo {
        flex: 0 0 auto;
        width: 164px;
        height: 72px;
    }

    .ht-header .ht-logo::before {
        width: 164px;
        height: 72px;
    }

    body.home .ht-menu-toggle {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1002;
    }

    body.home .ht-hero {
        min-height: 100svh;
        padding-top: 124px;
        padding-bottom: 48px;
        display: flex;
        align-items: center;
    }

    body.home .ht-hero .ht-container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    body.home .ht-hero__content {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    body.home .ht-hero__eyebrow {
        margin-bottom: 12px;
        font-size: 12px;
        line-height: 1.45;
        letter-spacing: 0.08em;
    }

    body.home .ht-hero h1 {
        max-width: 10.6em;
        line-height: 1.05;
        letter-spacing: 0;
        margin-bottom: 18px;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    body.home .ht-hero__lead {
        max-width: 32rem;
        font-size: clamp(1rem, 4.2vw, 1.18rem);
        line-height: 1.55;
        margin-bottom: 28px;
    }

    body.home .ht-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 360px;
        margin-bottom: 28px;
    }

    body.home .ht-hero__actions .ht-btn {
        width: 100%;
        min-height: 52px;
        justify-content: center;
        padding: 14px 18px;
        white-space: normal;
        text-align: center;
    }

    body.home .ht-hero__badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        max-width: 360px;
    }

    body.home .ht-hero__badge {
        min-height: 38px;
        padding: 8px 10px;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }
}

@media (max-width: 400px) {
    .ht-header .ht-logo {
        width: 146px;
        height: 64px;
    }

    .ht-header .ht-logo::before {
        width: 146px;
        height: 64px;
    }

    body.home .ht-hero .ht-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.home .ht-hero__content {
        padding: 0 20px;
    }

    body.home .ht-hero__badges {
        gap: 8px;
    }
}
