:root {
  --red: #d13828;
  --blue: #175c8b;
  --white: white;
}

html {
  margin: 0;
}

body {
  margin: 0;
  background-color: var(--white);
}

#header {
  box-sizing: border-box;
  width: 100%;
  padding: 0 24px;
  background-color: var(--white);
  /* border-radius: 7px; */
  box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  position: relative;
  z-index: 1100;
}

.header-inner {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header .brand-container {
  margin: 5px 0;
}

#header .brand-container img {
  display: inline-block;
  width: 240px;
  max-width: calc(100vw - 110px);
  /* never push the burger button off-screen on phones */
  height: auto;
}

/* Desktop: larger logo, scaling with the viewport so the nav links still fit
   on one line between 900px and ~1200px wide. */
@media (min-width: 900px) {
  #header .brand-container img {
    width: clamp(230px, 23vw, 300px);
  }
}

/* ---------- Desktop Nav (600px+) ---------- */
.desktop-nav {
  display: none;
}

.desktop-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav__list a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}

.desktop-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .25s ease;
}

.desktop-nav__list a:hover {
  color: var(--red);
}

.desktop-nav__list a:hover::after {
  width: 100%;
}

/* Current page: keeps the hover look (red text + full underline) so the
     visitor can tell where they are. Driven by aria-current="page", which
     the header partial sets via MenuItem.is_current. */
.desktop-nav__list a[aria-current="page"] {
  color: var(--red);
}

.desktop-nav__list a[aria-current="page"]::after {
  width: 100%;
}

/* Language switch: a bordered pill, not another nav link -- so it reads
     as a toggle rather than a page destination. No underline-grow / color
     hover like the other links (that effect is what made it look like a
     regular nav item in the first place). */
.desktop-nav__list .lang-switch a {
  border: 1px solid var(--blue);
  border-radius: 20px;
  padding: 5px 16px;
}

.desktop-nav__list .lang-switch a::after {
  content: none;
}

.desktop-nav__list .lang-switch a:hover {
  color: var(--blue);
}

@media (min-width:900px) {
  .desktop-nav {
    display: block;
  }
}


/* ---------- Burger Icon ---------- */
.burger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 28px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .35s ease, opacity .25s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Fullscreen Menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.77, 0, .18, 1);
  z-index: 1000;
  overflow-y: auto;
  padding: 100px 20px 40px;
  box-sizing: border-box;
}

.menu-overlay.open {
  transform: translateX(0);
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.menu-list li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
}

.menu-overlay.open .menu-list li {
  opacity: 1;
  transform: translateY(0);
}

/* stagger */
.menu-overlay.open .menu-list li:nth-child(1) {
  transition-delay: .1s;
}

.menu-overlay.open .menu-list li:nth-child(2) {
  transition-delay: .14s;
}

.menu-overlay.open .menu-list li:nth-child(3) {
  transition-delay: .18s;
}

.menu-overlay.open .menu-list li:nth-child(4) {
  transition-delay: .22s;
}

.menu-overlay.open .menu-list li:nth-child(5) {
  transition-delay: .26s;
}

.menu-overlay.open .menu-list li:nth-child(6) {
  transition-delay: .30s;
}

.menu-overlay.open .menu-list li:nth-child(7) {
  transition-delay: .34s;
}

.menu-overlay.open .menu-list li:nth-child(8) {
  transition-delay: .38s;
}

.menu-overlay.open .menu-list li:nth-child(9) {
  transition-delay: .42s;
}

.menu-overlay.open .menu-list li:nth-child(10) {
  transition-delay: .46s;
}

.menu-list a {
  color: var(--blue);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
}

.menu-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .3s ease;
}

.menu-list a:hover::after {
  width: 100%;
}

/* Current page in the mobile menu: same look as hover. */
.menu-list a[aria-current="page"]::after {
  width: 100%;
}

/* Language switch inside the mobile menu -- same bordered-pill treatment,
   no underline-grow / color hover. */
.menu-list .lang-switch a {
  border: 1px solid var(--blue);
  border-radius: 24px;
  padding: 6px 22px;
  font-size: 1.1rem;
}

.menu-list .lang-switch a::after {
  content: none;
}

.menu-list .lang-switch a:hover {
  color: var(--blue);
}

@media (max-width:576px),
(max-height:600px) {
  .menu-list {
    gap: 18px;
  }

  .menu-list a {
    font-size: 1.4rem;
  }

}


/* ---------- Typing Slider ---------- */
/* Hero image: shown as-is, no text on top of it. */
.hero-banner {
  width: 100%;
  background-color: var(--white);
  line-height: 0;
}

/* The whole image is always visible: scales with the width, never cropped. */
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Short single bar under the image: typed title | subtitle + caption | button */
.typing-slider {
  position: relative;
  box-sizing: border-box;
  padding: 22px 24px;
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid rgba(23, 92, 139, .15);
  box-shadow: 0 8px 24px rgba(14, 58, 85, .08);
}

.typing-slider__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.typing-slider__text-wrap {
  display: grid;
  grid-template-columns: clamp(190px, 21vw, 310px) minmax(0, 1fr);
  align-items: center;
  column-gap: 22px;
}

.typing-slider__text-wrap>.typing-slider__title {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.typing-slider__text-wrap>.typing-slider__subtitle {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.typing-slider__text-wrap>.typing-slider__caption {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.typing-slider__subtitle[style*="display: none"]~.typing-slider__caption {
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
}

.typing-slider__text-wrap>.typing-slider__about {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.typing-slider__caption {
  max-width: none;
  margin: 4px 0 0;
  text-align: left;
  direction: ltr;
  font-size: clamp(.62rem, 1.02vw, .92rem);
  font-weight: 600;
  color: #000;
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.typing-slider__title {
  margin: 0;
  direction: ltr;
  text-align: left;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--blue);
  min-height: 1.3em;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  padding-inline-end: 26px;
  border-inline-end: 2px solid rgba(23, 92, 139, .18);
}

.typing-slider__subtitle {
  margin: 0;
  direction: ltr;
  text-align: left;
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--red);
  min-height: 1.45em;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  margin-inline-start: 2px;
  background: var(--red);
  vertical-align: -0.15em;
  animation: blink .85s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Merged About Atlas content within the hero */
.typing-slider__about {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
}

.typing-slider__about-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.typing-slider__about-title {
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 12px;
}

.typing-slider__about-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #3d4a52;
  margin: 0 0 22px;
}

.typing-slider__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 24px;
  border-radius: 30px;
  transition: background-color .25s ease, transform .25s ease;
}

.typing-slider__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.typing-slider__btn:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.typing-slider__btn:hover svg {
  transform: translateX(3px);
}

@media (max-width:900px) {

  /* Stacked, centred, in reading order: title, then subtitle, then text. */
  .typing-slider__text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .typing-slider__text-wrap>.typing-slider__title,
  .typing-slider__text-wrap>.typing-slider__subtitle,
  .typing-slider__text-wrap>.typing-slider__caption,
  .typing-slider__subtitle[style*="display: none"]~.typing-slider__caption {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    margin: 0;
    width: 100%;
  }

  .typing-slider__caption {
    white-space: normal;
    overflow: visible;
    font-size: .95rem;
  }

  .typing-slider__title {
    min-height: 1.3em;
    justify-content: center;
    padding-inline-end: 0;
    border-inline-end: 0;
  }

  .typing-slider__subtitle {
    min-height: 1.45em;
  }

  .typing-slider__about {
    margin-top: 6px;
  }
}

@media (max-width:600px) {
  .typing-slider {
    padding: 18px 16px;
  }

  .typing-slider__title {
    font-size: 1.45rem;
    text-align: center;
  }

  .typing-slider__subtitle {
    font-size: 1.05rem;
    text-align: center;
  }

  .typing-slider__caption {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .typing-slider__about {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-top-color: rgba(23, 92, 139, .25);
  }

  .typing-slider__about-text {
    text-shadow: 0 1px 10px rgba(255, 255, 255, .9);
  }
}



/* ---------- Stats Section ---------- */
.stats-section {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 40px 24px;
}

.stats-header {
  max-width: 1200px;
  margin: 0 auto 32px;
  text-align: center;
}

.stats-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}

.stats-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 16px;
  border-right: 1px solid rgba(23, 92, 139, .14);
  border-bottom: 1px solid rgba(23, 92, 139, .14);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease, background-color .25s ease;
}

.stat-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  background-color: rgba(23, 92, 139, .04);
}

.stat-card:nth-child(4n) {
  border-right: none;
}

.stat-card:nth-last-child(-n+4) {
  border-bottom: none;
}

.stat-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(209, 56, 40, .12);
  color: var(--red);
  margin-bottom: 4px;
  transition: transform .3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.08) rotate(-4deg);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.stat-desc {
  font-size: .85rem;
  color: #5b6b76;
  max-width: 170px;
  line-height: 1.4;
}

@media (max-width:900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(4n) {
    border-right: 1px solid rgba(23, 92, 139, .14);
  }

  .stat-card:nth-child(2n) {
    border-right: none;
  }

  .stat-card:nth-last-child(-n+4) {
    border-bottom: 1px solid rgba(23, 92, 139, .14);
  }

  .stat-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width:480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(23, 92, 139, .14) !important;
  }

  .stat-card:last-child {
    border-bottom: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ---------- Show normal navbar, hide burger/overlay (900px+) ---------- */
@media (min-width:900px) {
  .burger {
    display: none;
  }

  .menu-overlay {
    display: none !important;
  }
}

/* ---------- About Page ---------- */
.about-hero {
  padding: 56px 24px 32px;
  text-align: left;
}

.about-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-hero__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.about-hero__title {
  font-size: 2.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
  max-width: 820px;
}

.about-intro {
  padding: 0 24px 24px;
}

.about-intro__container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-intro__inner p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #3d4a52;
  margin: 0 0 20px;
  max-width: 820px;
}

.about-quote {
  margin: 36px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 4px solid var(--red);
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 600;
  font-style: italic;
  color: var(--blue);
  max-width: 820px;
}

/* ---------- About Feature Image ---------- */
.about-image {
  padding: 16px 24px 56px;
}

.about-image__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-image__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width:600px) {
  .about-image__img {
    max-height: 280px;
  }
}

.vm-section {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 24px 24px 72px;
}

.vm-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 20px 45px -18px rgba(23, 92, 139, .22), 0 8px 20px -10px rgba(0, 0, 0, .08);
}

.vm-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(209, 56, 40, .12);
  color: var(--red);
  margin-bottom: 16px;
}

.vm-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vm-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.vm-text {
  font-size: .98rem;
  line-height: 1.75;
  color: #3d4a52;
  margin: 0;
}

@media (max-width:700px) {
  .about-hero__title {
    font-size: 1.6rem;
  }

  .about-quote {
    font-size: 1.1rem;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Business Divisions ---------- */
.bd-section {
  background: var(--white);
  padding: 40px 24px 40px;
}

.bd-header {
  max-width: 1200px;
  margin: 0 auto 32px;
  text-align: center;
}

.bd-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}

.bd-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.bd-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.bd-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bd-track::-webkit-scrollbar {
  display: none;
}

.bd-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 20px 45px -20px rgba(23, 92, 139, .20), 0 6px 16px -8px rgba(0, 0, 0, .07);
  display: flex;
  flex-direction: column;
}

.bd-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px -10px rgba(23, 92, 139, .5);
  z-index: 2;
  transition: background-color .2s ease, opacity .2s ease;
}

.bd-arrow:hover {
  background: var(--red);
}

.bd-arrow:disabled {
  opacity: .35;
  cursor: default;
  background: var(--blue);
}

.bd-arrow--prev {
  left: -22px;
}

.bd-arrow--next {
  right: -22px;
}

.bd-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width:1260px) {
  .bd-arrow--prev {
    left: 8px;
  }

  .bd-arrow--next {
    right: 8px;
  }
}

@media (max-width:640px) {
  .bd-carousel {
    padding-bottom: 64px;
  }

  .bd-arrow {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .bd-arrow--prev {
    left: auto;
    right: calc(50% + 8px);
  }

  .bd-arrow--next {
    right: auto;
    left: calc(50% + 8px);
  }
}

.bd-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(209, 56, 40, .12);
  color: var(--red);
  margin-bottom: 14px;
}

.bd-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bd-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 10px;
  line-height: 1.4;
}

.bd-desc {
  font-size: .9rem;
  line-height: 1.65;
  color: #3d4a52;
  margin: 0 0 16px;
  flex-grow: 1;
}

.bd-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.bd-tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(23, 92, 139, .08);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.bd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bd-list li {
  font-size: .85rem;
  color: #3d4a52;
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.bd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ---- Business divisions as a card grid (replaces the slider) ----
     4 per row on desktop, so 7 divisions make two rows; an incomplete last
     row is centered. 2 per row on tablets, 1 on phones. */
.bd-grid {
  --bd-gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--bd-gap);
}

.bd-grid .bd-card {
  flex: 0 0 calc((100% - 3 * var(--bd-gap)) / 4);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  padding: 28px 24px 24px;
  border: 1px solid rgba(23, 92, 139, .08);
  border-radius: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

/* accent line that grows across the top on hover */
.bd-grid .bd-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}

.bd-grid .bd-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 92, 139, .18);
  box-shadow: 0 28px 55px -22px rgba(23, 92, 139, .35), 0 8px 18px -10px rgba(0, 0, 0, .1);
}

.bd-grid .bd-card:hover::before {
  transform: scaleX(1);
}

.bd-grid .bd-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(209, 56, 40, .14), rgba(23, 92, 139, .10));
  margin-bottom: 18px;
  transition: background-color .3s ease, color .3s ease;
}

.bd-grid .bd-icon svg {
  width: 26px;
  height: 26px;
}

.bd-grid .bd-card:hover .bd-icon {
  background: var(--red);
  color: var(--white);
}

.bd-grid .bd-card-title {
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.bd-grid .bd-list {
  margin-bottom: 16px;
}

.bd-grid .bd-brands {
  padding-top: 14px;
  border-top: 1px solid rgba(23, 92, 139, .08);
}

@media (max-width:1100px) {
  .bd-grid .bd-card {
    flex-basis: calc((100% - var(--bd-gap)) / 2);
  }
}

@media (max-width:640px) {
  .bd-grid .bd-card {
    flex-basis: 100%;
  }
}

@media (max-width:600px) {
  .bd-header {
    text-align: center;
  }

  .bd-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Brands & Partners Strip ---------- */
.brands-strip {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 40px 0 40px;
  text-align: center;
  overflow: hidden;
}

.brands-strip__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
  padding: 0 24px;
}

.brands-strip__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 auto 40px;
  padding: 0 24px;
  max-width: 640px;
  line-height: 1.4;
}

.brands-marquee {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.brands-marquee__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: brands-scroll 32s linear infinite;
}

.brands-marquee:hover .brands-marquee__track {
  animation-play-state: paused;
}

@keyframes brands-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

/* Logos are shown in their natural colors (no grayscale / fade). */
.brand-mark__logo {
  height: 100%;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}

/* No logo file available (or it failed to load): fall back to the brand name as text */
.brand-mark__logo.is-broken {
  display: none;
}

.brand-mark__name {
  display: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  transition: color .25s ease;
}

.brand-mark:hover .brand-mark__name {
  color: var(--red);
}

.brand-mark__logo.is-broken~.brand-mark__name {
  display: inline;
}

@media (max-width:600px) {
  .brands-strip__title {
    font-size: 1.25rem;
  }

  .brand-mark {
    height: 46px;
  }

  .brand-mark__logo {
    max-width: 150px;
  }

  .brand-mark__name {
    font-size: 1.15rem;
  }

  .brands-marquee__track {
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 0 24px;
  }

  .brands-marquee__track span[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Distribution Network ---------- */
.network-section {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 40px 24px;
}

.network-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: center;
}

.network-text {
  text-align: center;
}

.network-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.network-title {
  font-size: 1.9rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 16px;
}

.network-desc {
  font-size: .98rem;
  line-height: 1.75;
  color: #3d4a52;
  margin: 0 auto 28px;
  max-width: 480px;
}

.network-mini-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mini-stat-num {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.mini-stat-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--red);
  text-transform: uppercase;
}

.network-map {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* Pre-rendered map images (one per language). multiply blends the image's
     white background into the dotted section background. */
.network-map--img {
  max-width: 780px;
}

.network-map__img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.network-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.ksa-outline {
  fill: rgba(23, 92, 139, .06);
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.city-node line {
  stroke: var(--red);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: .5;
}

.city circle {
  fill: var(--red);
  stroke: var(--white);
  stroke-width: 1.5;
}

.city:first-of-type circle {
  fill: var(--blue);
  r: 8;
}

.city text {
  font-size: 15px;
  font-weight: 700;
  fill: #3d4a52;
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.city:first-of-type text {
  font-size: 16px;
  font-weight: 700;
  fill: var(--blue);
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 4px;
  stroke-linejoin: round;
}

@media (max-width:900px) {
  .network-grid {
    grid-template-columns: 1fr;
  }

  .network-text {
    text-align: center;
  }

  .network-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .network-mini-stats {
    justify-content: center;
  }

  .mini-stat {
    align-items: center;
  }
}

@media (max-width:600px) {
  .city text {
    font-size: 12px;
  }

  .city:first-of-type text {
    font-size: 13px;
  }
}

/* ---------- Partner CTA (Home) ---------- */
.partner-cta {
  background: linear-gradient(160deg, #1c6a9c 0%, var(--blue) 55%, #0e3a55 100%);
  padding: 44px 24px;
  text-align: center;
}

.partner-cta__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffb4a8;
  margin: 0 0 10px;
}

.partner-cta__title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 14px;
}

.partner-cta__text {
  font-size: .98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  max-width: 640px;
  margin: 0 auto 28px;
}

.partner-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 12px 24px;
  border-radius: 30px;
  transition: background-color .25s ease, transform .25s ease;
}

.partner-cta__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.partner-cta__btn:hover {
  background: var(--white);
  color: var(--red);
  transform: translateY(-2px);
}

.partner-cta__btn:hover svg {
  transform: translateX(3px);
}

/* ---------- Partner With Us Page ---------- */
.pw-hero {
  padding: 56px 24px 40px;
  max-width: 1248px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
}

.pw-hero__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.pw-hero__title {
  font-size: 2.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 18px;
}

.pw-hero__text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #3d4a52;
  margin: 0;
  max-width: 700px;
}

.pw-benefits {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 48px 24px 64px;
}

.pw-benefits__title {
  max-width: 1200px;
  margin: 0 auto 32px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  text-align: left;
}

.pw-benefits__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pw-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 16px 36px -18px rgba(23, 92, 139, .20), 0 6px 14px -8px rgba(0, 0, 0, .06);
}

.pw-benefit__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(209, 56, 40, .12);
  color: var(--red);
}

.pw-benefit__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pw-benefit__label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.35;
}

.pw-form-section {
  max-width: 1248px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 56px 24px 80px;
}

.pw-form-section__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 10px;
}

.pw-form-section__subtitle {
  font-size: .95rem;
  color: #5b6b76;
  margin: 0 0 32px;
}

.pw-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.pw-form[hidden] {
  display: none;
}

.pw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pw-field--full {
  grid-column: 1 / -1;
}

.pw-field label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .2px;
}

.pw-field input,
.pw-field select,
.pw-field textarea {
  font-family: inherit;
  font-size: .95rem;
  color: #25333a;
  padding: 11px 13px;
  border: 1px solid rgba(23, 92, 139, .25);
  border-radius: 8px;
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pw-field input:focus,
.pw-field select:focus,
.pw-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 92, 139, .12);
}

.pw-field textarea {
  resize: vertical;
}

.pw-field input[type="file"] {
  padding: 9px 13px;
}

.pw-submit {
  background: var(--blue);
  color: var(--white);
  border: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}

.pw-submit:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.pw-success {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 24px;
  background: rgba(23, 92, 139, .06);
  border-radius: 14px;
}

.pw-success p {
  font-size: 1rem;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

@media (max-width:700px) {
  .pw-hero__title {
    font-size: 1.6rem;
  }

  .pw-form {
    grid-template-columns: 1fr;
  }

  .pw-benefits__title {
    text-align: center;
  }
}

/* ---------- News & Insights ---------- */
.news-section {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 64px 24px;
}

.news-header {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.news-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}

.news-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.news-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: color .2s ease;
}

.news-viewall svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.news-viewall:hover {
  color: var(--red);
}

.news-viewall:hover svg {
  transform: translateX(3px);
}

.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 20px 45px -20px rgba(23, 92, 139, .20), 0 6px 16px -8px rgba(0, 0, 0, .07);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -18px rgba(23, 92, 139, .28), 0 10px 20px -8px rgba(0, 0, 0, .1);
}

.news-card__tag {
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(209, 56, 40, .1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.news-card__date {
  font-size: .75rem;
  color: #8a97a0;
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.4;
  margin: 0 0 10px;
}

.news-card__excerpt {
  font-size: .88rem;
  line-height: 1.65;
  color: #3d4a52;
  margin: 0 0 16px;
  flex-grow: 1;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
}

.news-card__link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.news-card:hover .news-card__link {
  color: var(--red);
}

.news-card:hover .news-card__link svg {
  transform: translateX(3px);
}

@media (max-width:600px) {
  .news-header {
    align-items: center;
  }
}

/* ---------- News Article Page ---------- */
.article-hero {
  max-width: 1248px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 40px 24px 0;
  text-align: left;
}

.article-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 28px;
  transition: color .2s ease;
}

.article-back svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.article-back:hover {
  color: var(--red);
}

.article-back:hover svg {
  transform: translateX(-3px);
}

.article-hero .news-card__tag {
  margin-bottom: 16px;
}

.article-hero__title {
  max-width: 900px;
  font-size: 2.5rem;
  line-height: 1.28;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: .86rem;
  color: #5b6b76;
}

.article-byline__author {
  font-weight: 700;
  color: var(--blue);
}

.article-byline__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b7c2c8;
  flex: 0 0 auto;
}

.article-banner {
  max-width: 1248px;
  width: 100%;
  margin: 32px auto 0;
  box-sizing: border-box;
  padding: 0 24px;
}

.article-banner__img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 48px -24px rgba(23, 92, 139, .30);
}

.article-body {
  max-width: 1248px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 40px 24px 24px;
}

.article-body p {
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #3d4a52;
  margin: 0 0 24px;
}

.article-more {
  max-width: 1248px;
  width: 100%;
  margin: 24px auto 0;
  box-sizing: border-box;
  padding: 40px 24px 80px;
  border-top: 1px solid rgba(23, 92, 139, .12);
}

.article-more__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 24px;
}

@media (max-width:700px) {

  .article-hero,
  .article-body,
  .article-more {
    text-align: center;
  }

  .article-body p {
    margin-left: auto;
    margin-right: auto;
  }

  .article-back {
    justify-content: center;
  }

  .article-hero__title {
    font-size: 1.6rem;
  }

  .article-byline {
    justify-content: center;
  }

  .article-banner__img {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Footer ---------- */
#footer {
  background: #0e2c3f;
  color: rgba(255, 255, 255, .75);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  /* This grid used to reserve 4 column tracks (1.6fr 1fr 1fr 1.2fr), but
       _footer.html only ever renders 3 columns (.footer-brand, .footer-links,
       .footer-contact). The leftover 4th track still took its share of the
       row's width and collapsed to empty space on one side (the left edge in
       RTL), which is exactly the uneven spacing being reported: the 3 real
       columns got squeezed into ~75% of the row instead of being centered
       and evenly gapped across the whole width. Matching the column count to
       the actual children fixes it. */
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 230px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.footer-tagline {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .65);
  margin: 0 0 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .75);
  transition: background-color .2s ease, color .2s ease;
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-links h3,
.footer-contact h3 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 18px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
  margin: 0 0 18px;
  max-width: 240px;
}

.footer-contact__btn {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  padding: 10px 20px;
  border-radius: 24px;
  transition: background-color .2s ease;
}

.footer-contact__btn:hover {
  background: var(--white);
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}

@media (max-width:900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width:560px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 24px 32px;
  }

  .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ---------- Contact Us Page ---------- */
.contact-hero {
  max-width: 1248px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 56px 24px 40px;
  text-align: left;
}

.contact-hero__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.contact-hero__title {
  font-size: 2.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 16px;
}

.contact-hero__text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #3d4a52;
  margin: 0;
  max-width: 600px;
}

.contact-section {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 16px 24px 80px;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 24px;
}

.contact-info__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(209, 56, 40, .12);
  color: var(--red);
}

.contact-info__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.contact-info__value {
  display: block;
  font-size: .94rem;
  color: #3d4a52;
  line-height: 1.5;
}

.contact-info__note {
  font-size: .82rem;
  font-style: italic;
  color: #8a97a0;
  line-height: 1.6;
  margin: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 45px -20px rgba(23, 92, 139, .20), 0 6px 16px -8px rgba(0, 0, 0, .07);
  align-content: start;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: inherit;
  font-size: .95rem;
  color: #25333a;
  padding: 11px 13px;
  border: 1px solid rgba(23, 92, 139, .25);
  border-radius: 8px;
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 92, 139, .12);
}

.contact-field textarea {
  resize: vertical;
}

.contact-submit {
  background: var(--blue);
  color: var(--white);
  border: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}

.contact-submit:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.contact-form[hidden] {
  display: none;
}

.contact-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 24px;
  background: rgba(23, 92, 139, .06);
  border-radius: 14px;
}

.contact-success p {
  font-size: 1rem;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

@media (max-width:800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width:700px) {
  .contact-hero {
    text-align: center;
  }

  .contact-hero__title {
    font-size: 1.6rem;
  }

  .contact-hero__text {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ---------- Products / Brands Page ---------- */
.products-hero {
  max-width: 1248px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 56px 24px 20px;
  text-align: left;
}

.products-hero__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.products-hero__title {
  font-size: 2.1rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 16px;
}

.products-hero__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #3d4a52;
  margin: 0;
  max-width: 680px;
}

.products-section {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 40px 24px 64px;
}

.partner-grid {
  max-width: 1200px;
  margin: 0 auto;
  column-count: 3;
  column-gap: 28px;
}

.partner-tree {
  break-inside: avoid;
  margin-bottom: 28px;
}

.partner-tree {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.partner-node__logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: block;
}

.partner-node__name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--blue);
}

.partner-node::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 16px;
  background: rgba(23, 92, 139, .3);
}

.tree-branches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid rgba(23, 92, 139, .22);
  width: 100%;
}

.tree-branches--single {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.brand-node {
  position: relative;
  text-align: center;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.brand-node__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: block;
  margin-bottom: 2px;
}

.tree-branches:not(.tree-branches--single) .brand-node::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 2px;
  height: 16px;
  background: rgba(23, 92, 139, .22);
}

.brand-node__name {
  font-weight: 700;
  color: var(--blue);
  font-size: .86rem;
}

.brand-node__cat {
  font-size: .66rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 1.3;
}

.brand-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
}

.brand-chip img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
}

.products-extra {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 72px;
}

.products-extra__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
}

.products-extra__text {
  font-size: .92rem;
  color: #5b6b76;
  margin: 0 0 18px;
}

.products-extra__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.products-extra .bd-tag {
  font-size: .82rem;
  padding: 7px 16px;
}

@media (max-width:900px) {
  .partner-grid {
    column-count: 2;
  }
}

@media (max-width:700px) {
  .products-hero {
    text-align: center;
  }

  .products-hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .products-extra {
    text-align: center;
  }

  .products-extra__tags {
    justify-content: center;
  }

  .partner-grid {
    column-count: 1;
  }
}

/* ---------- Product Catalog Page ---------- */
.catalog-hero {
  padding: 56px 24px 8px;
  text-align: left;
}

.catalog-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-hero__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.catalog-hero__title {
  font-size: 2.1rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 16px;
}

.catalog-hero__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #3d4a52;
  margin: 0 0 16px;
  max-width: 680px;
}

.catalog-hero__link {
  display: inline-block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.catalog-hero__link:hover {
  color: var(--red);
}

.catalog-filters {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(23, 92, 139, .14);
  padding: 16px 24px;
}

.catalog-filters__bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-filters__search {
  flex: 1 1 220px;
}

.catalog-filters__bar input,
.catalog-filters__bar select {
  font-family: inherit;
  font-size: .88rem;
  color: #25333a;
  padding: 9px 12px;
  border: 1px solid rgba(23, 92, 139, .25);
  border-radius: 8px;
  background: var(--white);
}

.catalog-filters__bar select {
  flex: 1 1 170px;
}

.catalog-filters__bar input:focus,
.catalog-filters__bar select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 92, 139, .12);
}

.catalog-filters__reset {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(23, 92, 139, .08);
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s ease;
}

.catalog-filters__reset:hover {
  background: rgba(23, 92, 139, .16);
}

.catalog-filters__count {
  max-width: 1200px;
  margin: 10px auto 0;
  font-size: .82rem;
  color: #8a97a0;
}

.catalog-grid-section {
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px;
  padding: 32px 24px 72px;
}

.catalog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(23, 92, 139, .10);
  box-shadow: 0 14px 32px -20px rgba(23, 92, 139, .18), 0 4px 10px -6px rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 92, 139, .22);
  box-shadow: 0 24px 44px -18px rgba(23, 92, 139, .28), 0 10px 20px -10px rgba(0, 0, 0, .10);
}

.product-card[hidden] {
  display: none;
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, #f3f7f9 0%, #eaf1f4 100%);
}

.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 28px;
  box-sizing: border-box;
  display: block;
  transition: transform .35s ease, opacity .2s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.045);
}

.product-card__image.is-broken {
  opacity: 0;
  visibility: hidden;
}

.product-card__fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: rgba(23, 92, 139, .35);
}

.product-card__image.is-broken~.product-card__fallback {
  display: flex;
}

.product-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  padding: 5px 11px;
  border-radius: 20px;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .15);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 18px 20px 20px;
}

.product-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.product-chip {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 5px 12px;
  border-radius: 20px;
  line-height: 1.3;
}

.product-chip--brand {
  background: var(--blue);
  color: var(--white);
}

.product-chip--partner {
  background: rgba(209, 56, 40, .1);
  color: var(--red);
}

.product-chip--none {
  background: rgba(0, 0, 0, .05);
  color: #9aa5ac;
  font-style: italic;
  font-weight: 600;
}

.product-card__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.product-card__name a {
  color: var(--blue);
  text-decoration: none;
}

.product-card__name a:hover {
  color: var(--red);
}

.product-card__desc {
  font-size: .85rem;
  line-height: 1.6;
  color: #5b6b76;
  margin: 0 0 16px;
  flex-grow: 1;
}

.product-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: .84rem;
  padding: 10px 16px;
  border: 1.5px solid rgba(23, 92, 139, .35);
  border-radius: 24px;
  margin-top: 14px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.product-card__btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.product-card__btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.product-card__btn:hover svg {
  transform: translateX(3px);
}

.catalog-empty {
  text-align: center;
  font-size: .95rem;
  color: #5b6b76;
  padding: 40px 24px;
}

@media (max-width:700px) {
  .catalog-hero {
    text-align: center;
  }

  .catalog-hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .catalog-filters__bar {
    flex-direction: column;
  }

  .catalog-filters__bar select,
  .catalog-filters__bar input,
  .catalog-filters__reset {
    width: 100%;
    flex: 1 1 auto;
  }
}

/* ---------- Product Detail Page ---------- */
.pd-section {
  max-width: 1248px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 40px 24px 24px;
}

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}

.pd-image {
  background: #f7fafb;
  border-radius: 16px;
  overflow: hidden;
}

.pd-image img {
  width: 100%;
  display: block;
  aspect-ratio: 1.1 / 1;
  object-fit: contain;
}

.pd-name {
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--blue);
  margin: 12px 0 14px;
}

.pd-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #3d4a52;
  margin: 0 0 28px;
}

.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pd-chips .product-chip {
  font-size: .85rem;
  padding: 8px 18px;
}

.pd-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 12px 24px;
  border-radius: 30px;
  transition: background-color .2s ease, transform .2s ease;
}

.pd-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.pd-related {
  max-width: 1248px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 24px 24px 72px;
}

.pd-related__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 18px;
}

.pd-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.pd-related__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px -18px rgba(23, 92, 139, .2);
  transition: transform .2s ease;
}

.pd-related__card:hover {
  transform: translateY(-3px);
}

.pd-related__card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: contain;
  background: #f7fafb;
}

.pd-related__card span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  padding: 10px 12px;
}

.pd-notfound {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.pd-notfound p {
  font-size: 1.1rem;
  color: #5b6b76;
  margin: 0 0 14px;
}

.pd-notfound a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width:760px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }
}


/* ===== Atlas Events gallery ===== */
.events-section {
  padding: 40px 6% 44px;
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 92, 139, .10) 1.5px, transparent 0);
  background-size: 26px 26px
}

.events-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px
}

.events-eyebrow {
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 8px
}

.events-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--blue)
}

.events-text {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.7
}

.events-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 14px
}

.ev {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #e9edf3;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(23, 92, 139, .12)
}

.ev--big {
  grid-column: span 2;
  grid-row: span 2
}

.ev--tall {
  grid-row: span 2
}

.ev img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform .6s ease
}

.ev::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 92, 139, .45));
  opacity: 0;
  transition: opacity .35s
}

.ev:hover img {
  transform: scale(1.06)
}

.ev:hover::after {
  opacity: 1
}

.ev-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(14, 58, 85, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out
}

.ev-lightbox[hidden] {
  display: none
}

.ev-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5)
}

.ev-lightbox__close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer
}

@media (max-width:900px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px
  }

  .ev--big {
    grid-column: span 2
  }

  .events-section {
    padding: 32px 5% 36px
  }
}

@media (max-width:600px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 10px
  }

  .ev--big {
    grid-column: span 2
  }
}

/* Footer contact details (above the Contact button) */
.footer-contact__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px
}

.footer-contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75)
}

.footer-contact__list svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85
}

.footer-contact__list a {
  color: inherit;
  text-decoration: none;
  word-break: break-word
}

.footer-contact__list a:hover {
  color: var(--white);
  text-decoration: underline
}

/* Business Divisions: picture and title on the same line */
.bd-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px
}

.bd-card-head .bd-card-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0
}

.bd-card-head .bd-icon {
  margin: 0;
  flex: 0 0 54px
}

.bd-icon-img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: block;
  border-radius: 16px;
  object-fit: contain;
  transition: transform .3s ease
}

.bd-grid .bd-card:hover .bd-icon-img {
  transform: scale(1.08) rotate(-3deg)
}