/* Theme Name: ZeroY Starter
   Theme URI: https://elechunter.com
   Description: Huntersourcing clean industrial business theme
   Version: 1.1
*/

/* Base reset & typography */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hs-ink);
  background-color: var(--hs-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--hs-navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 0;
}

p {
  color: var(--hs-slate);
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--hs-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

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

/* Container */
.hs-container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.hs-header {
  height: 76px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--hs-mist);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.hs-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hs-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
  color: var(--hs-navy);
  display: inline-flex;
  align-items: center;
}

.hs-brand i {
  font-style: normal;
  color: var(--hs-orange);
}

.hs-brand--light {
  color: var(--hs-white);
}

.hs-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hs-nav a {
  color: var(--hs-slate);
  font-weight: 600;
  font-size: 15px;
}

.hs-nav a:hover,
.hs-nav a.active {
  color: var(--hs-navy);
  text-decoration: none;
}

.hs-nav a.active {
  position: relative;
}

.hs-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--hs-blue);
}

/* Buttons */
.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-control);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hs-btn--primary {
  background-color: var(--hs-orange);
  color: var(--hs-ink);
  border: 1px solid var(--hs-orange);
}

.hs-btn--primary:hover {
  background-color: #e08e06;
  border-color: #e08e06;
  text-decoration: none;
  transform: translateY(-1px);
}

.hs-btn--secondary {
  background-color: var(--hs-white);
  color: var(--hs-navy);
  border: 1px solid var(--hs-navy);
}

.hs-btn--secondary:hover {
  background-color: var(--hs-cloud);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Footer */
.hs-footer {
  background-color: var(--hs-navy);
  color: var(--hs-mist);
  padding-top: 64px;
  padding-bottom: 32px;
  border-top: 1px solid var(--hs-navy-line);
}

.hs-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hs-navy-line);
}

.hs-footer__tagline {
  color: #a2b4c2;
  font-size: 14px;
  margin-top: 14px;
  max-width: 320px;
}

.hs-footer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8faec5;
  margin-bottom: 16px;
}

.hs-footer__col p {
  color: #c4d5e2;
  font-size: 14px;
  margin-bottom: 8px;
}

.hs-footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8faec5;
}

.hs-footer__bottom p {
  margin: 0;
  color: inherit;
}

.hs-footer__motto {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* Visual Placeholders per user instruction (Grey Blocks) */
.hs-placeholder {
  background-color: #E2E8F0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(11, 39, 66, 0.03) 10px,
    rgba(11, 39, 66, 0.03) 20px
  );
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  min-height: 240px;
  overflow: hidden;
}

.hs-placeholder__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hs-slate);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--hs-mist);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hs-placeholder__desc {
  font-size: 13px;
  color: var(--hs-slate);
  max-width: 260px;
  margin: 0;
}

/* Sections rhythm */
.hs-section {
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--hs-mist);
}

.hs-section--soft {
  background-color: var(--hs-cloud);
}

.hs-section--navy {
  background-color: var(--hs-navy);
  color: var(--hs-white);
}

.hs-section--navy h2,
.hs-section--navy h3 {
  color: var(--hs-white);
}

.hs-section--navy p {
  color: #c4d5e2;
}

.hs-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hs-blue);
  margin-bottom: 16px;
}

.hs-section--navy .hs-kicker {
  color: #8fc2e7;
}

/* Home-page styles live in assets/css/page-home.css (loaded on the front page only). */
@media (max-width: 900px) {
  .hs-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hs-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .hs-header__cta {
    display: none;
  }
  .hs-brand {
    font-size: 17px;
  }
  .hs-nav {
    gap: 18px;
  }
  .hs-nav a {
    font-size: 14px;
  }
}
/* Service menu: nav item with a grouped dropdown panel */
/* Service menu: the panel hangs from the nav, not from the item, so a
   four-column panel stays inside the viewport even on narrow desktops. */
.hs-nav {
  position: relative;
}

.hs-nav__item {
  display: flex;
  align-items: center;
}

.hs-nav__parent {
  display: inline-flex;
  align-items: center;
}

.hs-nav__parent::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.hs-nav__item:hover .hs-nav__parent::after,
.hs-nav__item:focus-within .hs-nav__parent::after {
  transform: translateY(0) rotate(45deg);
}

.hs-nav__item.is-current .hs-nav__parent {
  color: var(--hs-navy);
}

.hs-nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 28px;
  width: min(780px, calc(100vw - 64px));
  padding: 24px 26px 20px;
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
  box-shadow: 0 22px 44px -30px rgba(11, 39, 66, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 60;
}

.hs-nav__item:hover .hs-nav__dropdown,
.hs-nav__item:focus-within .hs-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hs-nav .hs-nav__column {
  min-width: 0;
}

.hs-nav .hs-nav__column-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-blue);
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--hs-mist);
}

.hs-nav .hs-nav__dropdown-link {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--hs-ink);
  text-decoration: none;
  white-space: normal;
}

.hs-nav .hs-nav__dropdown-link:hover,
.hs-nav .hs-nav__dropdown-link:focus-visible {
  background-color: transparent;
  color: var(--hs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

/* Single-column variant for menus that hold one short list */
.hs-nav__dropdown--single {
  grid-template-columns: minmax(0, 1fr);
  width: min(280px, calc(100vw - 64px));
}

/* Two columns once the header gets tight, and no dropdown without a pointer */
@media (max-width: 1100px) {
  .hs-nav__dropdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(520px, calc(100vw - 72px));
  }
}

@media (max-width: 900px) {
  .hs-nav__dropdown,
  .hs-nav__parent::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-nav__parent::after,
  .hs-nav__dropdown {
    transition: none;
  }
}
/* Language switcher in the header */
.hs-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-control);
  background-color: var(--hs-cloud);
}

.hs-lang__link {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hs-slate);
  text-decoration: none;
  white-space: nowrap;
}

.hs-lang__link:hover {
  color: var(--hs-navy);
  text-decoration: none;
}

.hs-lang__link.is-current {
  border: 1px solid var(--hs-mist);
  background-color: #fff;
  color: var(--hs-navy);
}

/* Small screens: let the header grow and keep the menu reachable instead of
   clipping it, so the switcher and the navigation both stay usable. */
@media (max-width: 900px) {
  .hs-header {
    height: auto;
  }

  .hs-header__inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    row-gap: 10px;
  }

  .hs-nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}
