/* ── Hero ───────────────────────────────────────────────── */
.hero-split .container {
  padding: 0;
}

.hero-split__content {
  display: flex;
  flex-direction: column;
  gap: var(--sm-2);
  padding: var(--md-1) var(--md-2);
  justify-content: center;
  height: 100%;
}

.hero-split__content .btn {
  align-self: flex-start;
}

.hero-split__title {
  margin: 0;
  font-size: var(--headline-lg-fs);
  font-weight: 700;
  line-height: 1.2;
  color: var(--body-blue);
}

.hero-split__body {
  margin: 0;
  color: var(--body-blue);
  font-size: var(--body-sm-fs);
  line-height: var(--body-sm-lh);
}

/* Carousel — aspect-ratio drives height on all screens */
.hero-split__carousel {
  aspect-ratio: 3 / 2;
  height: auto;
}

.hero-split__carousel-inner,
.hero-split__carousel .carousel-item {
  height: 100%;
}

.hero-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-split__indicators {
  bottom: var(--sm-3);
  margin: 0;
}

.hero-split__indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border-top: none;
  border-bottom: none;
  background-color: var(--blue);
  opacity: 0.5;
}

.hero-split__indicators .active {
  opacity: 1;
}

/* Image column — no padding, aspect ratio matches landscape photos */
.hero-split .col-12:last-child {
  padding: 0;
}

@media (min-width: 992px) {
  /* Aspect ratio drives the column height — no cropping on 3:2 landscape photos */
  .hero-split .col-12:last-child {
    aspect-ratio: 3 / 2;
  }

  .hero-split__carousel {
    flex: 1;
    height: auto;
  }
}

/* ── Stats ───────────────────────────────────────────────── */
.stats-section {
  background-color: var(--section-background);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sm-4);
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.stat-item:hover,
.stat-item:active,
.stat-item:focus-within {
  transform: translateY(-8px);
}

.stat-item__number-row {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  color: var(--dark-blue);
}

.stat-item__number {
  font-size: var(--stat-lg-fs);
  font-weight: 700;
  line-height: var(--stat-lg-lh);
  font-family: var(--stat-lg-ff), "Inter", sans-serif;
}

.stat-item__suffix {
  font-size: var(--stat-lg-fs);
  font-weight: 700;
  font-family: var(--stat-lg-ff), "Inter", sans-serif;
}

.stat-item__label {
  margin: 0;
  color: var(--body-blue);
  font-size: var(--body-md-fs);
}

/* ── About ───────────────────────────────────────────────── */
.about-section {
  background-color: var(--white);
}

.about-section__heading {
  text-align: center;
  color: var(--body-blue);
  font-size: var(--headline-lg-fs);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--sm-1);
}

.about-section__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--rad-xl);
}

@media (max-width: 991.98px) {
  .about-section__img {
    margin-bottom: var(--sm-1);
  }
}

.about-section__text {
  display: flex;
  flex-direction: column;
  gap: var(--sm-2);
}

.about-section__text p {
  margin: 0;
  color: var(--body-blue);
  font-size: var(--body-md-fs);
  line-height: var(--body-md-lh);
}

/* ── Why Allied ──────────────────────────────────────────── */
.why-section__inner {
  overflow: hidden;
  border: 1px solid var(--highlight-blue);
}

.why-section__left {
  background-color: var(--section-background);
  padding: var(--md-2);
  display: flex;
  flex-direction: column;
  gap: var(--sm-2);
}

.why-section__heading {
  margin: 0 0 var(--sm-2);
  color: var(--body-blue);
  font-size: var(--headline-lg-fs);
  font-weight: 700;
  line-height: 1.2;
}

.why-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sm-1);
  counter-reset: why-counter;
}

.why-section__list li {
  counter-increment: why-counter;
  display: flex;
  flex-direction: column;
  gap: var(--xs-1);
}

.why-section__list-title {
  margin: 0;
  color: var(--dark-blue);
  font-size: var(--body-md-fs);
  font-weight: 600;
  line-height: 1.3;
}

.why-section__list-title::before {
  content: counter(why-counter) ". ";
}

.why-section__list p {
  margin: 0;
  color: var(--body-blue);
  font-size: var(--body-sm-fs);
  line-height: var(--body-sm-lh);
  padding-left: var(--sm-2);
}

.why-section__right {
  background-color: var(--white);
  padding: var(--md-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--md-1);
  width: 100%;
}

.why-icon-item {
  display: flex;
  align-items: center;
  gap: var(--sm-2);
}

.why-icon-item--last {
  grid-column: 1 / -1;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.why-icon-item__img {
  width: clamp(5rem, 3rem + 2.5vw, 10rem);
  height: clamp(5rem, 3rem + 2.5vw, 10rem);
  flex-shrink: 0;
  object-fit: contain;
}

.why-icon-item__label {
  color: var(--body-blue);
  font-size: var(--body-sm-fs);
  font-weight: 600;
  line-height: 1.4;
}

/* ── Products ────────────────────────────────────────────── */
:root {
  --hex-w: 210px;
  --hex-h: calc(var(--hex-w) * 0.866);
  --hex-gap: 0px;
  --hex-stroke: 3px;
}

@media (max-width: 1200px) { :root { --hex-w: 192px; } }
@media (max-width: 1024px) { :root { --hex-w: 175px; } }
@media (max-width: 860px)  { :root { --hex-w: 170px; } }
@media (max-width: 720px)  { :root { --hex-w: 145px; } }
@media (max-width: 600px)  { :root { --hex-w: 108px; --hex-stroke: 2px; } }
@media (max-width: 500px)  { :root { --hex-w: 88px;  --hex-stroke: 2px; } }
@media (max-width: 400px)  { :root { --hex-w: 74px;  --hex-stroke: 1px; } }

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

.products-section__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sm-2);
  margin-bottom: var(--md-1);
  flex-wrap: wrap;
}

.products-section__head-text {
  display: flex;
  flex-direction: column;
  gap: var(--xs-1);
}

.products-section__title {
  margin: 0;
  color: var(--body-blue);
  font-size: var(--headline-lg-fs);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.products-section__sub {
  margin: 0;
  color: var(--body-blue);
  font-size: var(--body-sm-fs);
  text-align: center;
}

.view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--xs-1);
  color: var(--dark-blue);
  font-size: var(--body-sm-fs);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.view-all-btn:hover {
  color: var(--highlight-blue);
}

/* Hive */
.hive {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--hex-h) * 0.5 + 8px) 8px 5%;
  overflow-x: hidden;
}

.hive .col {
  flex: none; /* override Bootstrap's flex: 1 0 0% */
  display: flex;
  flex-direction: column;
  gap: var(--hex-gap);
  width: var(--hex-w);
  flex-shrink: 0;
}

.hive .col + .col {
  margin-left: calc(var(--hex-w) * -0.25);
}

.hive .col--raised {
  transform: translateY(calc(var(--hex-h) * -0.5));
}

.hex {
  display: block;
  position: relative;
  width: var(--hex-w);
  height: var(--hex-h);
  background: var(--white); /* white gap between adjacent hexes acts as the border */
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  cursor: pointer;
}

.hex__inner {
  position: absolute;
  inset: var(--hex-stroke);
  background: var(--section-background); /* light blue solid fill */
  color: var(--body-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  padding: 12px 14px;
  clip-path: inherit;
  font-size: calc(var(--hex-w) * 0.083);
  transition: background 0.2s ease, color 0.2s ease;
}

.hex:hover .hex__inner {
  background: var(--highlight-blue);
  color: var(--white);
}

/* AR accent hex */
.hex[data-category="AR"] .hex__inner {
  background: var(--highlight-blue);
  color: var(--white);
}

.hex b { font-weight: 600; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background-color: var(--powder-blue);
  text-align: center;
  padding: var(--md-2) var(--sm-2);
  min-height: 34rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--md-1);
}

.cta-headline {
  margin: 0;
  font-size: clamp(1.8rem, 1.1rem + 2vw, 3.6rem);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  max-width: 20ch;
}

.cta-headline__blue {
  color: var(--dark-blue);
  font-weight: 500;
}

.cta-headline__black {
  color: var(--black);
  font-weight: 600;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sm-3);
  background: var(--dark-blue);
  border: none;
  color: var(--white);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: var(--body-sm-fs);
  font-weight: 600;
  border-radius: var(--btn-rad);
  padding: var(--sm-3) var(--sm-2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  color: var(--white);
  background: var(--highlight-yellow);
}

/* .cta-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--highlight-yellow);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
} */

.cta-molecule {
  position: absolute;
  width: clamp(140px, 14vw, 200px);
  max-width: 40%;
  pointer-events: none;
  z-index: 1;
}

.cta-molecule--left {
  left: 0;
  bottom: 0;
  transform: translate(-10%, 10%);
}

.cta-molecule--right {
  right: 0;
  bottom: 0;
  transform: translate(0, 10%);
}

@media (max-width: 640px) {
  .cta-banner {
    min-height: 260px;
    padding: var(--sm-2);
  }
}

/* ── (placeholder kept for future sections) ─────────────── */
.home-placeholder {
  padding: var(--md-1) 0;
  background: linear-gradient(180deg, rgba(0, 171, 228, 0.08) 0%, rgba(224, 251, 252, 0.4) 100%);
}

.home-placeholder__panel {
  padding: clamp(2.4rem, 2rem + 1vw, 4rem);
  border: 1px dashed var(--highlight-blue);
  border-radius: var(--rad-xxl);
  background-color: rgba(255, 255, 255, 0.9);
}

.home-placeholder__eyebrow {
  margin: 0 0 var(--sm-4);
  color: var(--dark-blue);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-placeholder__title {
  margin: 0;
  max-width: 68rem;
  color: var(--body-blue);
  font-size: clamp(2.8rem, 2.1rem + 1.5vw, 4.4rem);
  line-height: 1.2;
}

