/* Homepage: structure, fonts, colors */
.page-home { --home-w: 1180px; --blue: #102A46; background: #fff; }
.page-home .site-header { margin: 0; }
.page-home .container { width: min(calc(100% - 48px), var(--home-w)); }
.page-home main { margin: 0; padding: 0; }
.page-home .hx-sec { padding: 44px 0; background: #fff; }
.page-home .hx-soft { background: #F6F6F3; }
.page-home h2 {
  font-size: 32px;
  color: #102A46;
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}
.hx-kicker {
  margin: 0 0 4px;
  font-size: 14px;
  color: #8A93A0;
  font-weight: 300;
}
.hx-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 20px;
}
.hx-head p {
  max-width: 36ch;
  margin: 0;
  color: #6B7280;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

/* Hero: full width, no gap, no crop, height follows image */
.hx-hero {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #fff;
}
.hx-slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hx-slide.is-on {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hx-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  vertical-align: top;
}
.hx-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.82);
  color: var(--blue);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}
.hx-nav.prev { left: 18px; }
.hx-nav.next { right: 18px; }
.hx-dots {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}
.hx-dots button {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.55);
}
.hx-dots button.is-on { background: #fff; width: 20px; }

/* Hero photo + copy overlay */
.hx-slide img {
  height: clamp(440px, 42vw, 620px);
  object-fit: cover;
}
.hx-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,24,48,0.78) 0%, rgba(8,24,48,0.45) 45%, rgba(8,24,48,0) 75%);
  pointer-events: none;
}
.hx-hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  line-height: 1.4;
}
.hx-hero-copy .container { max-width: var(--home-w); }
.hx-hero-copy .hx-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hx-hero-copy h1,
.hx-hero-copy .hx-h {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 17ch;
  margin: 0 0 14px;
  text-transform: none;
}
.hx-hero-copy p { color: rgba(255,255,255,0.88); font-size: clamp(14px, 1.4vw, 17px); font-weight: 300; max-width: 46ch; margin: 0 0 22px; }
.hx-hero-copy .hx-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hx-hero-copy .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.hx-hero-copy .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Registration strip */
.hx-regs { display: grid; gap: 12px; }
.hx-regs div {
  background: #fff;
  border: 1px solid #E6EAF0;
  border-radius: 12px;
  padding: 18px 20px;
}
.hx-regs small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.hx-regs strong { font-size: 17px; font-weight: 600; color: #102A46; word-break: break-all; }
@media (min-width: 768px) { .hx-regs { grid-template-columns: repeat(4, 1fr); } }

/* Promo ticker under hero */
.hx-ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 8px 20px;
  background: #F3F4F6;
  border-bottom: 1px solid #eee;
}
.hx-ticker button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d5d8de;
  background: #fff;
  color: #445;
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}
.hx-ticker-track {
  flex: 1;
  position: relative;
  min-height: 22px;
  overflow: hidden;
  text-align: center;
}
.hx-ticker-track p {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 300;
  color: #102A46;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease;
}
.hx-ticker-track p.is-on { position: relative; opacity: 1; visibility: visible; }
.hx-ticker-track a { color: var(--blue); font-weight: 500; }

/* Why work with us: see the "How we are different" block at the end */

/* Hover zoom on photo cards */
.hx-brand img,
.hx-hi-feature img,
.hx-pastel.photo img,
.hx-prods a img,
.hx-info a img { transition: transform 900ms var(--ease); }
.hx-brand:hover img,
.hx-hi-feature:hover img,
.hx-pastel.photo:hover img,
.hx-prods a:hover img,
.hx-info a:hover img { transform: scale(1.05); }

/* Solutions 2x2 pastel */
.hx-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hx-pastel {
  min-height: 230px;
  border-radius: 10px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  color: #102A46;
}
.hx-pastel h3 {
  font-size: 22px;
  font-weight: 600;
  text-transform: none;
  margin: 0 0 6px;
  color: #102A46;
}
.hx-pastel p { margin: 0; color: #777; font-size: 14px; font-weight: 300; }
.page-home .hx-pastel .hx-h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #102A46;
}
.page-home .hx-pastel.photo .hx-h3 { color: #fff; }
.hx-contact span { font-size: 16px; color: #102A46; font-weight: 300; }
.hx-pastel img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.hx-pastel.photo {
  grid-template-columns: 1fr;
  padding: 0;
  position: relative;
  color: #fff;
}
.hx-pastel.photo img {
  position: absolute;
  inset: 0;
  min-height: 230px;
  border-radius: 10px;
}
.hx-pastel.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,16,28,0.55), rgba(20,16,28,0.15));
  border-radius: 10px;
}
.hx-pastel.photo .hx-pastel-copy {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  align-self: end;
}
.hx-pastel.photo h3,
.hx-pastel.photo p { color: #fff; }
.c-mint { background: #F0F7F6; }
.c-cream { background: #F7F3E9; }
.c-sky { background: #F2F4F7; }

/* Discover brands */
.hx-brands {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.hx-brand {
  position: relative;
  min-height: 200px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hx-brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hx-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8,20,40,0.55));
}
.hx-brand h3, .hx-brand p { position: relative; z-index: 1; margin: 0; }
.hx-brand h3 { font-size: 22px; font-weight: 500; text-transform: none; color: #fff; }
.hx-brand p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.85); margin-top: 4px; }
.hx-brand.b1 { background: #102A46; }
.hx-brand.b2 { background: #0B1F35; }
.hx-brand.b3 { background: #F5A623; color: #102A46; }
.hx-brand.b3 h3 { color: #102A46; }
.hx-brand.b3 p { color: #5A4A40; }
.hx-brand.b3::after { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15)); }
.hx-brand.b4 { background: #0B1F35; }
.hx-brand.b5 { background: #1D4068; }

/* Highlights */
.hx-hi { display: grid; gap: 14px; }
.hx-hi-feature {
  position: relative;
  min-height: 340px;
  border-radius: 12px;
  overflow: hidden;
}
.hx-hi-feature img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.hx-hi-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(8,28,58,0.62));
}
.hx-hi-feature div {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  z-index: 1;
}
.hx-hi-feature h3 { color: #fff; text-transform: none; margin: 0 0 12px; font-size: 24px; font-weight: 500; }
.hx-hi-card {
  background: #F6F6F3;
  border-radius: 12px;
  padding: 16px 16px 18px;
  display: grid;
  justify-items: start;
  gap: 10px;
}
.hx-hi-card:nth-child(2) { background: #F2F4F7; }
.hx-hi-card:nth-child(3) { background: #F4F0EA; }
.hx-hi-card:nth-child(4) { background: #F0F4F2; }
.hx-hi-card:nth-child(5) { background: #F2F4F7; }
.hx-hi-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.hx-hi-card h3 { font-size: 16px; font-weight: 500; text-transform: none; margin: 0; color: #102A46; }
.hx-hi-card .btn { min-height: 36px; padding: 7px 14px; font-size: 13px; font-weight: 400; border-radius: 6px; }

/* Shop look */
.hx-prods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.hx-prods a {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  color: inherit;
  padding-bottom: 18px;
}
.hx-prods a:hover { border-color: #cfd6e0; }
.hx-prods img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  margin-bottom: 16px;
}
.hx-prods h3 {
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  margin: 0 16px 4px;
  color: #222;
}
.hx-prods p { margin: 0 16px 12px; color: #777; font-size: 13px; font-weight: 300; }
.hx-prods span { margin-left: 16px; color: var(--blue); font-weight: 400; font-size: 14px; }
.page-home .hx-head .btn {
  min-height: 36px;
  border-radius: 999px;
  font-weight: 400;
}

/* Info */
.hx-info { display: grid; gap: 20px; }
.hx-info a {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 20px;
  border: 1px solid #E8E8E8;
}
.hx-info img { width: 100%; height: 220px; object-fit: cover; }
.hx-info h3 { margin: 18px 20px 6px; text-transform: none; font-size: 20px; font-weight: 500; color: #102A46; }
.hx-info p { margin: 0 20px 14px; color: #666; font-weight: 300; font-size: 14px; }
.hx-info span { margin-left: 20px; color: var(--blue); font-size: 14px; }

/* Contact */
.hx-talk { display: grid; gap: 40px; align-items: start; }
.hx-talk h2 { font-size: 36px; color: var(--blue); }
.hx-talk-note { color: #666; font-weight: 300; font-size: 15px; max-width: 32ch; margin: 12px 0 28px; }
.hx-contact { display: grid; gap: 18px; }
.hx-contact small {
  display: block;
  font-size: 12px;
  color: #8A93A0;
  font-weight: 300;
  margin-bottom: 4px;
}
.hx-contact a {
  font-size: 18px;
  font-weight: 400;
  color: #102A46;
}
.hx-contact a:hover { color: var(--blue); }
.page-home .form.compact {
  background: #fff;
  border: 1px solid #E8E8E8;
  box-shadow: none;
  border-radius: 12px;
  padding: 24px;
}
.page-home .form.compact .field label { font-weight: 300; color: #888; font-size: 13px; }
.page-home .form.compact input,
.page-home .form.compact textarea {
  border-color: #E0E0E0;
  border-radius: 6px;
  min-height: 46px;
}
.page-home .form.compact textarea { min-height: 110px; }

@media (min-width: 768px) {
  .hx-bento {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 240px 240px;
  }
  .hx-pastel { min-height: 0; }
  .hx-pastel.photo img { min-height: 100%; }
  .hx-brands {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 260px 180px;
    grid-template-areas:
      "a a b"
      "c d e";
  }
  .hx-brand.b1 { grid-area: a; }
  .hx-brand.b2 { grid-area: b; }
  .hx-brand.b3 { grid-area: c; }
  .hx-brand.b4 { grid-area: d; }
  .hx-brand.b5 { grid-area: e; }
  .hx-brand { min-height: 0; }
  .hx-hi {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .hx-hi-feature { grid-row: 1 / span 2; min-height: 100%; }
  .hx-hi-feature img { min-height: 100%; }
  .hx-prods { grid-template-columns: repeat(4, 1fr); }
  .hx-info, .hx-talk { grid-template-columns: 1fr 1.05fr; }
}

.hx-quick { display: none; }

@media (max-width: 767px) {
  .page-home { background: #F6F6F3; }
  .page-home .container { width: calc(100% - 28px); }
  .page-home .hx-sec { padding: 28px 0; background: transparent; }
  .page-home .hx-soft { background: transparent; }
  .page-home h2 { font-size: 22px; font-weight: 600; }
  .hx-head { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 14px; }
  .hx-head p { flex-basis: 100%; font-size: 14px; }
  .page-home .hx-head .btn { min-height: 32px; padding: 4px 14px; font-size: 13px; margin-left: auto; }

  /* Hero as a rounded app card */
  .hx-hero { margin: 10px 14px 0; border-radius: 24px; overflow: hidden; }
  .hx-slide img { height: 460px; }
  .hx-nav { display: none; }
  .hx-slide::after { background: linear-gradient(180deg, rgba(8,24,48,0.15) 25%, rgba(8,24,48,0.88)); }
  .hx-hero-copy { top: auto; bottom: 40px; transform: none; }
  .hx-hero-copy .container { width: calc(100% - 40px); }
  .hx-hero-copy h1, .hx-hero-copy .hx-h { font-size: 29px; margin-bottom: 10px; }
  .hx-hero-copy p { font-size: 14px; margin-bottom: 18px; }
  .hx-hero-copy .hx-eyebrow { font-size: 11px; margin-bottom: 12px; }
  .hx-hero-copy .hx-cta { flex-wrap: nowrap; gap: 10px; }
  .hx-hero-copy .hx-cta .btn { flex: 1 1 0; padding: 10px 12px; }
  .hx-dots { bottom: 16px; }

  .hx-ticker { margin: 10px 14px 0; padding: 8px 12px; border: 0; border-radius: 14px; background: #FFF4E0; }
  .hx-ticker button { display: none; }
  .hx-ticker-track p { font-size: 12.5px; }

  .hx-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 12px 14px 0;
    padding: 14px 6px;
    background: #fff;
    border: 1px solid #E6EAF0;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(16, 42, 70, 0.06);
  }

  /* Swipeable rows */
  .hx-bento, .hx-brands, .hx-hi, .hx-prods, .hx-info {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: none;
    grid-template-areas: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 12px;
    margin-inline: -14px;
    padding: 2px 14px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .hx-bento::-webkit-scrollbar, .hx-brands::-webkit-scrollbar, .hx-hi::-webkit-scrollbar,
  .hx-prods::-webkit-scrollbar, .hx-info::-webkit-scrollbar { display: none; }
  .hx-bento > *, .hx-brands > *, .hx-hi > *, .hx-prods > *, .hx-info > * { scroll-snap-align: start; }
  .hx-info.container { width: 100%; margin-inline: 0; }

  .hx-pastel { grid-template-columns: 1fr; align-content: start; min-height: 320px; padding: 20px; border-radius: 20px; }
  .hx-pastel img { min-height: 170px; height: 170px; border-radius: 14px; }
  .hx-pastel.photo { padding: 0; }
  .hx-pastel.photo img, .hx-pastel.photo::after { border-radius: 20px; height: 100%; }
  .hx-pastel.photo .hx-pastel-copy { padding: 20px; }

  .hx-brand { min-height: 230px; border-radius: 20px; padding: 20px; }
  .hx-hi-feature, .hx-hi-feature img { min-height: 280px; border-radius: 20px; }
  .hx-hi-card { border-radius: 20px; }
  .hx-hi-card img { height: 170px; border-radius: 14px; }

  .hx-prods { grid-auto-columns: 46%; }
  .hx-prods a { border-radius: 18px; padding-bottom: 14px; }
  .hx-prods img { margin-bottom: 10px; }
  .hx-prods h3 { font-size: 15px; margin: 0 12px 2px; }
  .hx-prods p { margin: 0 12px 8px; font-size: 12px; }
  .hx-prods span { margin-left: 12px; font-size: 13px; }

  .hx-info a { border-radius: 20px; }
  .hx-info img { height: 180px; }

  .hx-regs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hx-regs div { padding: 12px 14px; border-radius: 16px; }
  .hx-regs strong { font-size: 12.5px; letter-spacing: -0.01em; word-break: normal; overflow-wrap: anywhere; }

  .hx-talk { gap: 20px; }
  .hx-talk h2 { font-size: 26px; }
  .hx-talk-note { margin-bottom: 18px; }
  .page-home .form.compact { border-radius: 20px; padding: 20px; }
}

/* Banner-only hero: put desktop images in assets/banners/desktop, mobile in assets/banners/mobile */
.hx-hero.is-banner {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #0B1F35;
}
.hx-hero.is-banner .hx-slide { transition: opacity 600ms ease, visibility 600ms ease; }
.hx-hero.is-banner .hx-slide::after { display: none; }
.hx-hero.is-banner picture { display: block; line-height: 0; }
.hx-hero.is-banner .hx-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #0B1F35;
}
.hx-hero.is-banner .hx-nav {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.hx-hero.is-banner .hx-dots {
  bottom: 16px;
  gap: 7px;
  padding: 6px 10px;
  background: rgba(11, 31, 53, 0.35);
  border-radius: 999px;
  width: max-content;
  margin: 0 auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.hx-hero.is-banner .hx-dots button {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}
.hx-hero.is-banner .hx-dots button.is-on { width: 22px; background: #F5A623; }
@media (max-width: 767px) {
  .hx-hero.is-banner {
    margin: 10px 14px 0;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(16, 42, 70, 0.12);
  }
  .hx-hero.is-banner .hx-slide img { height: auto; }
  .hx-hero.is-banner .hx-nav { display: none; }
  .hx-hero.is-banner .hx-dots { bottom: 12px; }
}

/* Precast focus: why facts units, precast vs brick table, team */
.hx-cmp {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 1px 0 rgba(16, 42, 70, 0.03);
}
.hx-cmp table { width: 100%; border-collapse: collapse; }
.hx-cmp th,
.hx-cmp td { padding: 16px 22px; text-align: left; font-size: 15px; line-height: 1.5; border-bottom: 1px solid var(--border); }
.hx-cmp tbody tr:last-child th,
.hx-cmp tbody tr:last-child td { border-bottom: 0; }
.hx-cmp thead th { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; background: #FAFAF7; }
.hx-cmp thead th.is-pc { color: var(--navy); background: var(--amber-tint); }
.hx-cmp tbody th { width: 24%; color: var(--navy); font-weight: 600; }
.hx-cmp td { color: var(--muted); }
.hx-cmp td.is-pc { position: relative; padding-left: 46px; color: var(--navy); font-weight: 500; background: rgba(255, 244, 224, 0.55); }
.hx-cmp td.is-pc::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%23102A46' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.hx-cmp tbody tr { transition: background 200ms ease; }
.hx-cmp tbody tr:hover { background: #FCFBF7; }

.hx-team { display: grid; gap: 28px; align-items: stretch; }
.hx-team-media { overflow: hidden; border-radius: 22px; }
.hx-team-media img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform 1.2s var(--ease); }
.hx-team-media:hover img { transform: scale(1.04); }
.hx-team-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.2; color: var(--navy); }
.hx-team-copy .muted { margin: 0 0 22px; max-width: 52ch; line-height: 1.7; }
.hx-team-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: team; }
.hx-team-list li {
  position: relative;
  padding: 16px 18px 16px 62px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  counter-increment: team;
  transition: border-color 280ms var(--ease), transform 280ms var(--ease);
}
.hx-team-list li:hover { border-color: rgba(245, 166, 35, 0.6); transform: translateX(4px); }
.hx-team-list li::before {
  content: counter(team, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
}
.hx-team-list strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: 16px; font-weight: 600; }
.hx-team-list span { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

@media (min-width: 960px) {
  .hx-team { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
}
@media (max-width: 767px) {
  .hx-cmp { border-radius: 16px; }
  .hx-cmp th, .hx-cmp td { padding: 12px 12px; font-size: 13.5px; }
  .hx-cmp thead th { font-size: 10.5px; letter-spacing: 0.06em; }
  .hx-cmp tbody th { width: 28%; }
  .hx-cmp td.is-pc { padding-left: 34px; }
  .hx-cmp td.is-pc::before { left: 11px; width: 15px; height: 15px; background-size: 15px; }
  .hx-team-media img { min-height: 220px; }
  .hx-team-list li { padding: 14px 14px 14px 56px; }
  .hx-team-list li::before { left: 13px; top: 14px; }
}

/* How we are different: intro, photo, "what often happens vs with us" board, facts */
.hx-why {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  color: #fff;
  background-color: #102A46;
  background-image:
    radial-gradient(circle at 88% 0%, rgba(245, 166, 35, 0.16), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.hx-why-top { display: grid; gap: 32px; align-items: center; margin-bottom: 44px; }
.hx-why-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #F5A623;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hx-why-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #F5A623; }
.page-home .hx-why h2 { max-width: 18ch; margin: 0 0 16px; color: #fff; font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.12; }
.hx-why-intro > p:not(.hx-why-label) { max-width: 50ch; margin: 0 0 26px; color: rgba(255, 255, 255, 0.76); font-size: 16.5px; font-weight: 300; line-height: 1.7; }
.hx-why-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-why .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.hx-why .btn-outline:hover { background: #fff; color: #102A46; border-color: #fff; }
.hx-why-photo { position: relative; margin: 0; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.hx-why-photo img { display: block; width: 100%; height: 300px; object-fit: cover; transition: transform 1.2s var(--ease); }
.hx-why-photo:hover img { transform: scale(1.04); }
.hx-why-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 16px 10px 14px;
  color: #102A46;
  line-height: 1.3;
  background: #fff;
  border-left: 4px solid #F5A623;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.hx-why-photo small { display: block; color: #5A6573; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.hx-why-photo strong { font-size: 15px; font-weight: 600; }

.vs {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
}
.vs-head, .vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.2fr); }
.vs-head > span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.vs-head .vs-h-yes { color: #102A46; font-size: 13px; letter-spacing: 0.06em; background: #F5A623; }
.vs-h-yes img { width: 28px; height: 28px; padding: 3px; background: #fff; border-radius: 50%; object-fit: contain; }
.vs-row { border-top: 1px solid rgba(255, 255, 255, 0.08); transition: background 260ms ease; }
.vs-row:hover { background: rgba(255, 255, 255, 0.03); }
.vs-topic { display: flex; align-items: center; gap: 14px; padding: 20px 24px; }
.vs-ico {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #102A46;
  background: #F5A623;
  border-radius: 13px;
  transition: transform 350ms var(--ease);
}
.vs-row:hover .vs-ico { transform: rotate(-6deg) scale(1.06); }
.vs-num { display: block; margin-bottom: 2px; color: rgba(255, 255, 255, 0.4); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; }
.page-home .vs-topic h3 { margin: 0; color: #fff; font-size: 16.5px; font-weight: 600; line-height: 1.3; text-transform: none; }
.vs-no, .vs-yes { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 20px 24px; font-size: 14.5px; line-height: 1.6; }
.vs-no { color: rgba(255, 255, 255, 0.55); font-weight: 300; }
.vs-yes {
  color: #fff;
  font-weight: 500;
  background: rgba(245, 166, 35, 0.09);
  border-left: 1px solid rgba(245, 166, 35, 0.3);
}
.vs-tag { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding-top: 1px; font-size: 0; }
.vs-x, .vs-ok { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; }
.vs-x {
  background: rgba(255, 128, 128, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%23FF8F8F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.vs-ok {
  background: #F5A623 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.7 2.6L14.2 7.5' fill='none' stroke='%23102A46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.vs-head .vs-x { width: 18px; height: 18px; background-size: 18px; }
.vs.is-in .vs-row { animation: vsIn 640ms var(--ease) backwards; }
.vs.is-in .vs-row:nth-child(2) { animation-delay: 70ms; }
.vs.is-in .vs-row:nth-child(3) { animation-delay: 140ms; }
.vs.is-in .vs-row:nth-child(4) { animation-delay: 210ms; }
.vs.is-in .vs-row:nth-child(5) { animation-delay: 280ms; }
.vs.is-in .vs-row:nth-child(6) { animation-delay: 350ms; }
@keyframes vsIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.vs-dots { display: none; }

.hx-why-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}
.hx-why-facts > div { padding: 22px 24px; background: #102A46; }
.hx-why-facts strong { display: block; margin-bottom: 8px; color: #F5A623; font-size: 34px; font-weight: 600; line-height: 1; }
.hx-why-facts strong span { color: inherit; font-size: inherit; }
.hx-why-facts > div > span { color: rgba(255, 255, 255, 0.75); font-size: 14px; }

@media (min-width: 768px) {
  .hx-why-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .vs-head, .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-h-topic { display: none !important; }
  .vs-topic { grid-column: 1 / -1; padding-bottom: 4px; }
  .vs-yes { border-left: 0; }
}
@media (min-width: 1024px) {
  .hx-why-top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; }
}

@media (max-width: 767px) {
  .hx-why { margin: 8px 14px 0; padding: 30px 0 22px; border-radius: 26px; background-size: auto, 32px 32px, 32px 32px; }
  .hx-why .container { width: calc(100% - 36px); }
  .hx-why-top { gap: 20px; margin-bottom: 24px; }
  .page-home .hx-why h2 { font-size: 25px; }
  .hx-why-intro > p:not(.hx-why-label) { margin-bottom: 18px; font-size: 14.5px; }
  .hx-why-actions .btn { flex: 1 1 auto; }
  .hx-why-photo { border-radius: 20px; }
  .hx-why-photo img { height: 170px; }

  .vs { overflow: visible; background: none; border: 0; border-radius: 0; }
  .vs-head { display: none; }
  .vs-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 12px;
    margin-inline: -18px;
    padding: 0 18px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .vs-list::-webkit-scrollbar { display: none; }
  .vs-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    scroll-snap-align: start;
  }
  .vs-row:hover { background: rgba(255, 255, 255, 0.05); }
  .vs-topic { gap: 12px; padding: 0 0 4px; }
  .vs-ico { width: 40px; height: 40px; border-radius: 12px; }
  .page-home .vs-topic h3 { font-size: 16px; }
  .vs-no, .vs-yes { flex-direction: column; gap: 6px; padding: 12px 14px; font-size: 13.5px; border-radius: 14px; }
  .vs-no { background: rgba(255, 255, 255, 0.04); }
  .vs-yes { flex: 1 1 auto; border: 1px solid rgba(245, 166, 35, 0.35); }
  .vs-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
  .vs-no .vs-tag { color: #FF9F9F; }
  .vs-yes .vs-tag { color: #F5A623; }
  .vs-x, .vs-ok { width: 18px; height: 18px; background-size: 18px; }
  .vs-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .vs-dots button { width: 7px; height: 7px; padding: 0; background: rgba(255, 255, 255, 0.3); border: 0; border-radius: 99px; transition: width 260ms ease, background 260ms ease; }
  .vs-dots button.is-on { width: 20px; background: #F5A623; }

  .hx-why-facts { margin-top: 20px; border-radius: 16px; }
  .hx-why-facts > div { padding: 15px 16px; }
  .hx-why-facts strong { font-size: 26px; }
  .hx-why-facts > div > span { font-size: 12.5px; }
}

/* Mobile app touches: search pill, 8 action grid, compare cards */
.hx-appsearch { display: none; }
.ms-ico.is-navy { background: #102A46; color: #F5A623; }
.ms-ico.is-sky { background: #E6EEF8; color: #1D4068; }
.ms-ico.is-mint { background: #E2F4EC; color: #1F7A5A; }
.ms-ico.is-sand { background: #F3ECDF; color: #8A6420; }
@media (max-width: 767px) {
  .hx-appsearch {
    display: flex;
    align-items: center;
    gap: 10px;
    width: calc(100% - 28px);
    min-height: 46px;
    margin: 10px 14px 0;
    padding: 0 16px;
    color: #8A93A0;
    font: inherit;
    font-size: 14px;
    text-align: left;
    background: #fff;
    border: 1px solid #E6EAF0;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(16, 42, 70, 0.05);
    -webkit-tap-highlight-color: transparent;
  }
  .hx-appsearch svg { flex: 0 0 auto; color: #102A46; }
  .hx-appsearch:active { transform: scale(0.99); }

  .hx-quick { row-gap: 16px; padding: 16px 6px; }
  .hx-quick a { font-size: 11.5px; }

  .hx-why-actions { flex-wrap: nowrap; gap: 8px; }
  .hx-why-actions .btn { flex: 1 1 0; min-height: 46px; padding: 10px 8px; font-size: 13.5px; }

  .hx-cmp { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .hx-cmp table, .hx-cmp tbody { display: block; }
  .hx-cmp thead { display: none; }
  .hx-cmp tbody { display: grid; gap: 10px; }
  .hx-cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: 18px; }
  .hx-cmp tbody tr:hover { background: #fff; }
  .hx-cmp tbody th { grid-column: 1 / -1; width: auto; padding: 0 2px 2px; font-size: 15px; border: 0; }
  .hx-cmp td, .hx-cmp td.is-pc { padding: 10px 12px; font-size: 13px; line-height: 1.45; border: 0; border-radius: 12px; }
  .hx-cmp td { background: #F5F6F8; }
  .hx-cmp td.is-pc { background: #FFF4E0; }
  .hx-cmp td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
  .hx-cmp td.is-pc::before { content: attr(data-label); position: static; width: auto; height: auto; margin: 0 0 4px; color: var(--amber-ink); background: none; border-radius: 0; }
}

/* Real photo strip on home */
.hx-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 140px;
  gap: 10px;
}
.hx-ph {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
}
.hx-ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease, cubic-bezier(.2,.8,.2,1));
}
.hx-ph:hover img { transform: scale(1.05); }
.hx-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 24, 48, 0.72));
}
.hx-ph span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
}
.hx-ph.is-a { grid-column: span 2; grid-row: span 2; }
.hx-ph.is-c { grid-row: span 2; }
@media (min-width: 768px) {
  .hx-photos {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
    gap: 14px;
  }
  .hx-ph { border-radius: 20px; }
  .hx-ph.is-a { grid-column: span 3; grid-row: span 2; }
  .hx-ph.is-b { grid-column: span 3; }
  .hx-ph.is-c { grid-column: span 2; grid-row: span 2; }
  .hx-ph.is-d { grid-column: span 2; }
  .hx-ph.is-e { grid-column: span 2; }
  .hx-ph.is-f { grid-column: span 2; }
  .hx-ph span { left: 16px; bottom: 14px; font-size: 14px; }
}
@media (max-width: 767px) {
  .hx-photos {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-auto-rows: 220px;
    gap: 12px;
    margin-inline: -14px;
    padding: 2px 14px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .hx-photos::-webkit-scrollbar { display: none; }
  .hx-ph { grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .hx-ph.is-a, .hx-ph.is-c { grid-column: auto; grid-row: auto; }
}
