/* ============================================
   VinAsia – Design tokens & base
   ============================================ */
:root {
  /* Hero-aligned palette: deep blue-grey (sky/buildings) + warm amber (sun) */
  --color-dark: #1a2332;
  --color-dark-alt: #252d3a;
  --color-accent: #c9943a;
  --color-accent-strong: #d4a054;
  --color-bg-light: #eef1f5;
  --color-bg-cream: #f2f4f7;
  --color-text: #1e2a36;
  --color-text-muted: #4a5c6a;
  --color-white: #ffffff;
  --color-border: rgba(26, 35, 50, 0.1);
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(26, 35, 50, 0.08);
  --shadow-card: 0 8px 30px rgba(26, 35, 50, 0.1);
  --header-height: 4rem;
  --navbar-bg: #1a2332;
  --design-ref: 120; /* 1920 ÷ 16 — pairs with fluid root sizing below */
  --container: min(75rem, 100% - 2rem);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* Firefox: track matches navbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--navbar-bg);
}

/* WebKit (Chrome, Safari, Edge): track matches navbar */
html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: var(--navbar-bg);
}

html::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 10px;
  border: 2px solid var(--navbar-bg);
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-strong);
  background-clip: padding-box;
}

body {
  margin: 0;
  overflow-y: hidden; 
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-light);
  overflow-x: hidden;
}

main {
  margin: 0;
}

/* ============================================
   Scroll progress bar (studio-style like jeh.it)
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: rgba(26, 35, 50, 0.12);
  pointer-events: none;
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-strong));
  transition: width 0.08s ease-out;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Scroll reveal animations (studio-style: scale + ease-out)
   ============================================ */
.hero__content,
.section .section__label,
.section .section__title,
.section .section__subtitle,
.about__copy,
.about__image-wrap,
.mission__item,
.impact-intro__box,
.services__media,
.stats-dark__item,
.testimonials__slider,
.partnerships__intro,
.partnerships__grid,
.contact__form,
.contact__side,
.footer__grid,
.footer__bottom {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  filter: blur(2px);
}

.hero__content.is-visible,
.section .section__label.is-visible,
.section .section__title.is-visible,
.section .section__subtitle.is-visible,
.about__copy.is-visible,
.about__image-wrap.is-visible,
.mission__item.is-visible,
.impact-intro__box.is-visible,
.services__media.is-visible,
.stats-dark__item.is-visible,
.testimonials__slider.is-visible,
.partnerships__intro.is-visible,
.partnerships__grid.is-visible,
.contact__form.is-visible,
.contact__side.is-visible,
.footer__grid.is-visible,
.footer__bottom.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger children when parent becomes visible */
.stats-dark__grid .stats-dark__item:nth-child(1) { transition-delay: 0.05s; }
.stats-dark__grid .stats-dark__item:nth-child(2) { transition-delay: 0.1s; }
.stats-dark__grid .stats-dark__item:nth-child(3) { transition-delay: 0.15s; }
.stats-dark__grid .stats-dark__item:nth-child(4) { transition-delay: 0.2s; }

.mission__grid .mission__item:nth-child(1) { transition-delay: 0.05s; }
.mission__grid .mission__item:nth-child(2) { transition-delay: 0.1s; }
.mission__grid .mission__item:nth-child(3) { transition-delay: 0.15s; }
.mission__grid .mission__item:nth-child(4) { transition-delay: 0.2s; }

/* ============================================
   Layout
   ============================================ */
.container {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 4.5rem 0;
  }

  /* Tighten spacing before "Our Solutions" on desktop */
  .services.section {
    padding-top: 2.75rem;
  }

  /* Keep partnerships spacing visually consistent with other sections */
  .partnerships.section--dark {
    padding: 0;
  }

  .partnerships__container {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

.section--light {
  background: var(--color-bg-light);
}

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

/* Subtle section watermarks – VinAsia branding, non-intrusive */
.brand-watermark {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 0;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

.brand-watermark--alt {
  right: auto;
  left: 1.5rem;
}

.brand-watermark--dark {
  color: var(--color-white);
  opacity: 0.06;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text);
}

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

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

.section__subtitle {
  max-width: 35rem;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
}

.section__subtitle.services__subtitle {
  max-width: 56rem;
}

.section__subtitle-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .section__subtitle.services__subtitle {
    max-width: 35rem;
  }

  .section__subtitle-line {
    display: inline;
    white-space: normal;
  }
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.85);
}

.section__label--light {
  color: var(--color-accent);
}

.section__label--center {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: transparent;
  transition: background 0.3s ease;
}

.header.scrolled {
  background: var(--navbar-bg);
}

.header__logo {
  display: flex;
  align-items: center;
  color: var(--color-white);
}

.header__logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header__nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 2rem;
  min-width: 0;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  transition: color var(--transition);
}

.header__link:hover {
  color: var(--color-white);
}

.header__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.header__social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.header__social-icon svg {
  flex-shrink: 0;
  display: block;
}

.header__social-icon:hover {
  color: var(--color-white);
}

.header__toggle {
  margin-left: 0.5rem;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-white);
}

.header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header__toggle {
    display: flex;
    margin-left: auto;
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navbar-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 2rem;
    gap: 0;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  .header__nav.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .header__links {
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
  }

  .header__link {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    width: 100%;
    text-align: center;
    letter-spacing: 0.03em;
  }

  .header__social {
    margin-left: 0;
    margin-top: auto;
    padding: 1.5rem 0;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-height) 2rem 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-dark);
  background-image: url('images/skyscrapers-from-low-angle-view.jpg');
  background-repeat: no-repeat;
  /* Over-scale + position tuned in script.js so the photo sun sits behind the hero logo */
  background-size: 122% auto;
  background-position: 50% 40%;
  will-change: transform;
  /* Parallax transform applied via JS */
} 

.hero__overlay {
  position: absolute;
  inset: 0;
  will-change: transform;
  background:
    linear-gradient(180deg, rgba(26, 35, 50, 0.4) 0%, rgba(26, 35, 50, 0.75) 50%, rgba(10, 14, 22, 0.92) 100%),
    linear-gradient(135deg, rgba(201, 148, 58, 0.06) 0%, transparent 50%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  pointer-events: none;
}

.hero__glow--1 {
  width:  min(80vw, 32.5rem);
  height: min(80vw, 32.5rem);
  top: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(201, 148, 58, 0.35) 0%, transparent 70%);
  animation: heroGlow 12s ease-in-out infinite;
}

.hero__glow--2 {
  width:  min(60vw, 22.5rem);
  height: min(60vw, 22.5rem);
  bottom: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(74, 125, 158, 0.25) 0%, transparent 70%);
  animation: heroGlow 14s ease-in-out infinite reverse;
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  50% { transform: scale(1.1) translate(3%, -2%); opacity: 0.65; }
}

.hero__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 148, 58, 0.4) 20%, rgba(201, 148, 58, 0.6) 50%, rgba(201, 148, 58, 0.4) 80%, transparent 100%);
  transform: rotate(-2deg);
  transform-origin: left center;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(90%, 48rem);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform, opacity;
  /* Scroll-linked scale/fade applied via JS */
}

.hero__aside {
  display: none;
}

.hero__logo {
  display: block;
  height: clamp(100px, 10vw, 180px);
  width: auto;
  margin-bottom: 1.25rem;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.hero__main {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin: 0 0 0.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__title-line {
  display: block;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--color-white);
  margin-bottom: 0.12em;
}

.hero__title-accent {
  display: block;
  padding-bottom: 0.15rem;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 0.98;
  margin-left: 0;
  color: var(--color-accent);
  background: linear-gradient(135deg, #e8c070 0%, var(--color-accent) 50%, #b87830 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(201, 148, 58, 0.35);
  animation: accentShine 8s ease-in-out infinite;
}

@keyframes accentShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero__title-underline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  margin: 0.75rem auto 1.5rem;
}

.hero__title-underline-line {
  display: block;
  width: clamp(32px, 8vw, 56px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-strong));
  border-radius: 1px;
  opacity: 0.9;
}

.hero__title-underline-line:last-of-type {
  background: linear-gradient(90deg, var(--color-accent-strong), transparent);
}

.hero__title-underline-diamond {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--color-accent-strong);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.95;
}

.hero__text {
  font-size: clamp(0.9rem, 1.35vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.75rem;
  width: 100%;
  max-width: 46rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.hero__text-line {
  display: block;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.btn--hero {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--hero.btn--primary {
  background: linear-gradient(135deg, var(--color-accent-strong) 0%, var(--color-accent) 100%);
  box-shadow: 0 4px 24px rgba(201, 148, 58, 0.35);
}

.btn--hero.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 148, 58, 0.45);
}

.btn--hero.btn--secondary {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--hero.btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.hero__brand {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: heroScrollPulse 2.5s ease-in-out infinite;
}

.hero__scroll-label {
  display: block;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-accent-strong), transparent);
  border-radius: 1px;
  animation: heroScrollLine 2s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

@keyframes heroScrollLine {
  0%, 100% { opacity: 0.5; height: 24px; }
  50% { opacity: 1; height: 40px; }
}

@media (max-width: 900px) {
  .hero__content {
    max-width: 92%;
    padding: 1rem 1.25rem;
  }

  .hero__title-line {
    font-size: clamp(1.65rem, 7vw, 2.35rem);
  }

  .hero__title-accent {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero__text {
    max-width: none;
    font-size: clamp(0.9rem, 4vw, 1.05rem);
  }

  .hero__text-line {
    display: inline;
    white-space: normal;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-accent-strong);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-accent);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--full {
  width: 100%;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn__arrow {
  font-size: 1.1em;
}

/* ============================================
   About
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4.5rem;
  row-gap: 0;
  align-items: start;
}

.about__grid > .section__label {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  text-align: center;
}

.about__grid > .section__title {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  text-align: center;
  white-space: nowrap;
  margin-bottom: 2.75rem;
}

.about__copy {
  grid-column: 2;
  grid-row: 3;
  max-width: 33.75rem;
}

.about__image-wrap {
  grid-column: 1;
  grid-row: 3;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-dark);
}

.about__image-wrap--placeholder {
  pointer-events: none;
}

.about__image-wrap--placeholder .is-expand-clone {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.about__image-wrap.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 10000;
  grid-column: auto;
  grid-row: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: rgba(26, 35, 50, 0.4);
  backdrop-filter: blur(2px);
}

.about__image-wrap.is-expanded .about__video {
  width: min(854px, 92vw);
  max-width: 854px;
  height: auto;
  max-height: min(480px, 80vh);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  background: #000;
}

.about__expand-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.about__expand-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.about__image-wrap.is-expanded .about__expand-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about__text {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.about__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.about__stat {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
}

.about__stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.about__stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.about__video {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 0;
  background: var(--color-dark);
}

.about__video:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
  }

  .about__grid > .section__label,
  .about__grid > .section__title,
  .about__copy,
  .about__image-wrap {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
  }

  .about__grid > .section__title {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: clamp(1.25rem, 5.5vw, 1.75rem);
    margin-bottom: 2rem;
    padding-inline: 0.15rem;
  }

  .about__image-wrap {
    order: 1;
    margin-bottom: 2rem;
    width: 100%;
    min-width: 0;
  }

  .about__copy {
    order: 2;
    max-width: 100%;
    min-width: 0;
  }

  .about__text {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .about__video {
    max-width: 100%;
    max-height: 320px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

/* About Us: centered layout in tablet view only */
@media (min-width: 768px) and (max-width: 1024px) {
  .about .about__grid {
    justify-items: center;
    text-align: center;
  }

  .about .about__copy {
    max-width: 33.75rem;
  }

  .about .about__image-wrap {
    display: block;
    width: 100%;
    max-width: 33.75rem;
    justify-self: center;
  }

  .about .about__video {
    display: block;
    width: 100%;
    max-height: 320px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  /* Stats: align 500+ and 98% properly with equal-width columns */
  .about .about__stats {
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
  }

  .about .about__stat {
    align-items: center;
    text-align: center;
    min-width: 140px;
    padding-left: 0;
    border-left: none;
    padding-top: 0;
    border-top: none;
  }

  .about .about__stat:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ============================================
   Mission
   ============================================ */
.mission__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.mission__item {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.75rem;
  min-height: 10.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 35, 50, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
}

.mission.section--dark .mission__item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.mission__item:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.mission.section--dark .mission__item:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.38);
}

.mission__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 148, 58, 0.12);
  color: var(--color-accent);
  border-radius: var(--radius);
  font-size: 1.25rem;
}

.mission.section--dark .mission__icon {
  background: rgba(201, 148, 58, 0.22);
}

.mission__icon i {
  display: inline-block;
  color: inherit;
}

.mission__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mission__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
  line-height: 1.3;
  text-align: center;
}

.mission.section--dark .mission__title {
  color: var(--color-white);
}

.mission__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
  text-align: center;
}

.mission.section--dark .mission__text {
  color: rgba(255, 255, 255, 0.82);
}

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

  .mission__item {
    min-height: 0;
  }
}

/* ============================================
   Services – solutions image
   ============================================ */
.services.section {
  background: #fff;
}

.services__media {
  max-width: 72rem;
  margin: 0 auto;
}

.services__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================
   Impact intro (dark box)
   ============================================ */
.impact-intro.section {
  /* Box has its own padding; avoid stacking with section padding before contact */
  padding: 0;
}

.impact-intro--full .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.impact-intro__box {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4.75rem 2.5rem;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 0;
  text-align: center;
}

.impact-intro__title {
  color: var(--color-accent-strong);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.impact-intro__text {
  margin: 0 auto;
  max-width: 78ch;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
}

@media (max-width: 600px) {
  .impact-intro__box {
    padding: 2.6rem 1.5rem;
  }
}

/* ============================================
   Stats (Creating Measurable Impact)
   ============================================ */
.stats-dark__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.stats-dark__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.75rem;
  min-height: 10.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: box-shadow var(--transition), transform var(--transition);
}

.stats-dark__item:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.stats-dark__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  text-align: center;
}

.stats-dark__value {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--color-accent-strong);
}

.stats-dark__value--currency {
  white-space: nowrap;
}

.stats-dark__label {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 768px) {
  .stats-dark__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .stats-dark__item {
    min-height: 0;
    padding: 1.25rem 1rem;
  }

  .stats-dark__value,
  .stats-dark__value--currency {
    font-size: clamp(0.85rem, 3.6vw, 1.15rem);
  }
}

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

/* ============================================
   Clients
   ============================================ */
.clients .container {
  max-width: 68.75rem;
}

.clients.section {
  padding-bottom: 2.5rem;
  background: #fff;
}

.clients__header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.clients__subtitle,
.section__subtitle.clients__subtitle {
  width: 100%;
  max-width: 68.75rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  text-align: center;
}

.clients__divider {
  display: block;
  width: 48px;
  height: 3px;
  margin: 1.5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  border-radius: 2px;
  opacity: 0.8;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: center;
  justify-items: center;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.clients__grid .client-card {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.client-card__logo-wrap {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 0;
}

.client-card__logo {
  max-width: min(160px, 100%);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .clients__header {
    margin-bottom: 2rem;
  }

  .clients__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem 1rem;
    margin-bottom: 1rem;
  }

  .clients__grid .client-card {
    min-height: 96px;
  }

  .client-card__logo-wrap {
    height: 78px;
  }

  .client-card__logo {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .clients__grid {
    gap: 0.75rem;
  }

  .clients__grid .client-card {
    min-height: 88px;
  }

  .client-card__logo-wrap {
    height: 72px;
  }
}

/* ============================================
   Testimonials – slider
   ============================================ */
.testimonials__slider {
  position: relative;
  max-width: 72rem;
  margin: 0 auto 2rem;
}

.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonials__slide {
  min-width: 0;
}

.card--testimonial {
  position: relative;
  padding: 2.5rem 2.75rem;
  background: var(--color-bg-cream);
}

.card--testimonial .card__stars {
  color: var(--color-accent);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.card__stars {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.card__stars i {
  display: inline-block;
  margin-right: 0.1em;
  color: inherit;
}

.card--testimonial .card__quote {
  top: 1.25rem;
  right: 1.5rem;
  font-size: 4rem;
}

.card__quote {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(26, 35, 50, 0.12);
  font-family: Georgia, serif;
}

.card--testimonial .card__text {
  margin-bottom: 1.5rem;
  font-size: 1.12rem;
  line-height: 1.65;
}

.card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card--testimonial .card__author {
  gap: 1rem;
}

.card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #9ba8b8 0%, #7a8a9a 100%);
}

.card--testimonial .card__avatar {
  width: 58px;
  height: 58px;
}

.card__avatar--2 {
  background: linear-gradient(135deg, #7a8a9e 0%, #5c6b7e 100%);
}

.card__avatar--3 {
  background: linear-gradient(135deg, #8a9aa8 0%, #6a7a88 100%);
}

.card__avatar--4 { background: linear-gradient(135deg, #6b7c8e 0%, #4d5d6e 100%); }
.card__avatar--5 { background: linear-gradient(135deg, #7d8e9c 0%, #5d6e7e 100%); }
.card__avatar--6 { background: linear-gradient(135deg, #8b9caa 0%, #6b7c8a 100%); }
.card__avatar--7 { background: linear-gradient(135deg, #5c6d7e 0%, #3e4f60 100%); }
.card__avatar--8 { background: linear-gradient(135deg, #7a8b9a 0%, #5a6b7a 100%); }
.card__avatar--9 { background: linear-gradient(135deg, #6e7f90 0%, #4e5f70 100%); }
.card__avatar--10 { background: linear-gradient(135deg, #9aa8b6 0%, #7a8896 100%); }

.card__author-name {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.card--testimonial .card__author-name {
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.card__author-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.card--testimonial .card__author-role {
  font-size: 0.92rem;
}

.testimonials__dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.testimonials.section--dark .testimonials__dot {
  background: rgba(255, 255, 255, 0.3);
}

.testimonials.section--dark .testimonials__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 35, 50, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.testimonials__dot:hover {
  background: rgba(26, 35, 50, 0.5);
}

.testimonials__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .testimonials__slider {
    max-width: 100%;
  }

  .card--testimonial {
    padding: 2rem 1.75rem;
  }

  .card--testimonial .card__text {
    font-size: 1.05rem;
  }

  .card--testimonial .card__avatar {
    width: 52px;
    height: 52px;
  }
}

.testimonials__video-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #000;
}

.testimonials__video-item--placeholder {
  pointer-events: none;
}

.testimonials__video-item--placeholder .is-expand-clone {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.testimonials__video-item.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: rgba(26, 35, 50, 0.4);
  backdrop-filter: blur(2px);
}

.testimonials__video-item.is-expanded .testimonials__video {
  width: min(360px, 70vw);
  max-width: 360px;
  height: auto;
  max-height: min(640px, 85vh);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  background: #000;
}

.testimonials__expand-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.testimonials__expand-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.testimonials__video-item.is-expanded .testimonials__expand-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonials__video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border: 0;
  display: block;
  object-fit: contain;
  background: #000;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .testimonials__track {
    gap: 1rem;
  }

  .testimonials__slider {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .testimonials__slider {
    width: min(360px, 88vw);
    max-width: min(360px, 88vw);
    overflow: hidden;
    margin-bottom: 0;
    touch-action: pan-y;
  }

  .testimonials__track {
    position: relative;
    display: block;
    transform: none !important;
    will-change: auto;
  }

  .testimonials__slide {
    width: 100%;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    inset: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .testimonials__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
    inset: auto;
  }

  @media (prefers-reduced-motion: reduce) {
    .testimonials__slide {
      transition: none;
    }
  }

  .testimonials__video-item {
    width: 100%;
  }

  .testimonials__video {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .testimonials__dots {
    display: flex;
  }
}

/* ============================================
   Partnerships – dark asymmetric + bento grid
   ============================================ */
.partnerships.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
}

.partnerships__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(201, 148, 58, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.partnerships__container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.partnerships__intro {
  position: sticky;
  top: calc(var(--header-height, 64px) + 1.5rem);
}

.partnerships__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.partnerships__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.partnerships__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1.75rem;
  max-width: 28ch;
}

.partnerships__cta-wrap {
  margin-top: 0;
}

.btn--partnerships {
  padding: 0.75rem 1.5rem;
  background: var(--color-accent-strong);
  color: var(--color-white);
  border: none;
}

.btn--partnerships:hover {
  background: var(--color-accent);
}

/* Grouped partner logo grid */
.partnerships__grid {
  display: grid;
  gap: 1.25rem;
}

.partnerships__group {
  display: grid;
  gap: 0.85rem;
}

.partnerships__group-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.partnerships__logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.partnerships__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

/* Staggered entrance (enabled when .partnerships--js is set by script.js) */
.partnerships--js .partnerships__tile {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.partnerships--js .partnerships__tile.is-tile-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .partnerships__bg {
    transition: none;
    transform: none !important;
  }

  .partnerships--js .partnerships__tile {
    opacity: 1;
    transform: none;
  }
}

.partnerships__tile:hover {
  background: #f8f8f8;
  border-color: rgba(201, 148, 58, 0.45);
  transform: translateY(-2px);
}

.partnerships__logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
}

.partnerships__logo-box--black {
  background: #000;
}

.partnerships__logo {
  width: 100%;
  max-width: 170px;
  max-height: 42px;
  object-fit: contain;
  display: block;
}

.partnerships__logo--pos,
.partnerships__logo--ninjavan,
.partnerships__logo--dhl,
.partnerships__logo--macrokiosk {
  max-width: 260px;
  max-height: 60px;
}

@media (max-width: 900px) {
  .partnerships__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .partnerships__intro {
    position: static;
  }

  .partnerships__text {
    max-width: none;
  }

  .partnerships__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .partnerships__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .partnerships__tile {
    min-height: 68px;
    padding: 0.55rem 0.6rem;
    border-radius: 12px;
  }

  .partnerships__logo {
    max-width: 120px;
    max-height: 34px;
  }

  .partnerships__logo--pos,
  .partnerships__logo--ninjavan,
  .partnerships__logo--dhl,
  .partnerships__logo--macrokiosk {
    max-width: 150px;
    max-height: 42px;
  }
}

/* ============================================
   Contact
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.contact__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: border-color var(--transition);
}

.contact__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.contact__info {
  width: 100%;
  box-sizing: border-box;
  background: var(--color-bg-cream);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem 1.75rem;
}

.contact__info-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.contact__info-item {
  display: flex;
  gap: 1rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact__info-item:last-child {
  margin-bottom: 0;
}

.contact__info-icon {
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.contact__info-icon i {
  font-size: 1rem;
  color: inherit;
}

.contact__info-logo {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
  margin: 0.05rem auto 0;
  filter: grayscale(1) brightness(0.55);
  opacity: 0.9;
}

.contact__info a {
  color: var(--color-accent-strong);
}

@media (min-width: 769px) and (max-width: 1024px) {
  .contact__info-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .contact__info-item {
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
  }

  .contact__info-icon i {
    font-size: 0.92rem;
  }

  .contact__info-logo {
    width: 1.2rem;
    height: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .contact__grid {
    gap: 3rem;
  }
}

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

  .contact__side {
    gap: 1rem;
  }
}

/* ============================================
   Scroll to top
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 50;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-strong);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform 0.15s ease;
  box-shadow: var(--shadow);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.scroll-top__arrow {
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .scroll-top {
    bottom: 1rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   Footer – reference-inspired card layout
   ============================================ */
.footer {
  background: linear-gradient(180deg, #1a2332 0%, #141c28 100%);
  color: var(--color-white);
  padding: clamp(3rem, 7vw, 4.5rem) 0 0;
}

.footer .container {
  width: var(--container);
  max-width: none;
  padding-left: 1rem;
  padding-right: 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  width: 100%;
  margin: 0;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0;
}

.footer__logo-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer__logo-mark-link {
  display: block;
  color: var(--color-white);
  text-decoration: none;
}

.footer__logo-large {
  display: block;
  width: clamp(6.5rem, 11vw, 10rem);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__center {
  display: grid;
  grid-template-columns: minmax(0, 20rem) auto;
  align-items: start;
  gap: clamp(2.25rem, 4vw, 3.5rem);
  min-width: 0;
  justify-self: center;
  padding: 0 clamp(2rem, 4vw, 3.25rem);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand {
  min-width: 0;
  max-width: none;
}

.footer__brand-name {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--color-white);
  text-decoration: none;
}

.footer__logo-text {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--color-white);
  line-height: 1.2;
}

.footer__text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1rem;
  max-width: none;
  line-height: 1.65;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--color-white);
  text-decoration: none;
}

.footer__logo-img {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.45rem;
  letter-spacing: 0.04em;
}

.footer__social {
  display: flex;
  gap: 0.45rem;
}

.footer__social-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer__social-icon svg {
  flex-shrink: 0;
  display: block;
  width: 14px;
  height: 14px;
}

.footer__social-icon:hover {
  color: var(--color-white);
  border-color: rgba(201, 148, 58, 0.55);
  background: rgba(201, 148, 58, 0.2);
  transform: translateY(-1px);
}

.footer__heading {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer__links {
  display: flex;
  flex-direction: column;
  min-width: 8.5rem;
}

.footer__links-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__links-nav a:hover {
  color: var(--color-accent);
  transform: translateX(2px);
}

.footer__md {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  justify-self: end;
}

.footer__md-logo {
  width: auto;
  max-width: clamp(9rem, 18vw, 14rem);
  height: auto;
  display: block;
}

.footer__bottom {
  padding: 1rem clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.2rem;
  opacity: 1;
  transform: none;
  filter: none;
}

.footer__copy {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__logo-mark {
    justify-content: center;
  }

  .footer__center {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-self: center;
    padding: 1.5rem 0;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer__brand {
    max-width: 28rem;
    margin: 0 auto;
  }

  .footer__text {
    max-width: none;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__links {
    align-items: center;
    min-width: 0;
  }

  .footer__links-nav {
    align-items: center;
  }

  .footer__links-nav a:hover {
    transform: none;
  }

  .footer__md {
    justify-self: center;
    justify-content: center;
  }

  .footer__md-logo {
    max-width: 10rem;
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 2.5rem 0 0;
  }

  .footer__grid {
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .footer__center {
    gap: 1.25rem;
    padding: 1.25rem 0;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__md-logo {
    max-width: 9rem;
  }
}

/* ============================================
   Mobile spacing polish
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: 2.75rem 0;
  }

  .section__subtitle {
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
  }

  .about__stats {
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .about__stat {
    padding-left: 0.75rem;
  }

  .mission__grid {
    margin-top: 1.25rem;
    gap: 0.9rem;
  }

  .mission__item {
    padding: 1.15rem 1rem;
  }

  .clients__header {
    margin-bottom: 1.75rem;
  }

  .clients__grid {
    margin-bottom: 1rem;
  }

  .clients.section {
    padding-bottom: 2rem;
  }

  .testimonials__slider {
    margin-bottom: 1.5rem;
  }

  .partnerships__container {
    gap: 1.5rem;
    padding-top: 2.1rem;
    padding-bottom: 2.1rem;
  }

  .contact__grid {
    gap: 1.25rem;
  }

  .contact__info {
    padding: 0.85rem 1rem 1rem;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 2.25rem 0;
  }

  .section__title {
    margin-bottom: 0.75rem;
  }

  .testimonials__slider {
    margin-bottom: 2rem;
  }
}

/* ============================================
   Large screens: scale layout from 1920×1080 reference
   Root rem grows with viewport; vw clamps switch to rem
   so typography and spacing scale proportionally.
   ============================================ */
@media (min-width: 1920px) {
  html {
    font-size: calc(100vw / var(--design-ref));
  }

  .section {
    padding-block: 5rem;
  }

  .section__title {
    font-size: 2.5rem;
  }

  .section__subtitle {
    max-width: 35rem;
  }

  .brand-watermark {
    font-size: 8rem;
  }

  .hero__content {
    max-width: min(90%, 48rem);
    padding: 2rem 2.5rem;
  }

  .hero__logo {
    height: 11.25rem;
  }

  .hero__title-line {
    font-size: 2.75rem;
  }

  .hero__title-accent {
    font-size: 3.5rem;
  }

  .hero__title-underline {
    gap: 1rem;
  }

  .hero__title-underline-line {
    width: 3.5rem;
  }

  .hero__text {
    font-size: 1.05rem;
  }

  .hero__glow--1 {
    width: 32.5rem;
    height: 32.5rem;
  }

  .hero__glow--2 {
    width: 22.5rem;
    height: 22.5rem;
  }

  .impact-intro__title {
    font-size: 2rem;
  }

  .impact-intro__box {
    padding: 4.75rem 2.5rem;
  }

  .stats-dark__value,
  .stats-dark__value--currency {
    font-size: 2.2rem;
  }

  .partnerships__container {
    gap: 4rem;
    padding-block: 3.5rem;
  }

  .partnerships__title {
    font-size: 2.25rem;
  }

  .partnerships__logo {
    max-width: 10.625rem;
    max-height: 2.625rem;
  }

  .partnerships__logo--pos,
  .partnerships__logo--ninjavan,
  .partnerships__logo--dhl,
  .partnerships__logo--macrokiosk {
    max-width: 16.25rem;
    max-height: 3.75rem;
  }

  .footer {
    padding-top: 4.5rem;
  }

  .footer .container {
    padding-inline: 1rem;
  }

  .footer__grid {
    gap: 2.5rem;
    padding: 2.25rem 0;
  }

  .footer__bottom {
    padding: 1rem 2rem;
  }

  .client-card__logo {
    max-width: min(13.75rem, 100%);
  }
}
