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

body {
  background: #c0152a;
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  padding: 36px 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 100%;
  margin-bottom: 32px;
}

.ambassadors {
  width: 100%;
  display: block;
}

.ambassadors--desktop { display: block; }
.ambassadors--tablet  { display: none;  }
.ambassadors--mobile  { display: none;  }

/* Tablet (max 1024px): layout chung */
@media (max-width: 1024px) {
  .hero-content {
    padding: 28px 24px 48px;
  }

  .logo {
    width: 80%;
    margin-bottom: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .ambassadors--desktop { display: none;  }
  .ambassadors--tablet  { display: grid;  }
  .ambassadors--mobile  { display: none;  }

  .ambassadors--tablet {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
  }

  .ambassadors--tablet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
}

/* iPad: chỉ 1 màn hình, không scroll (768px–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  html,
  body {
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
  }

  .hero {
    height: 100vh;
    min-height: 100vh;
    justify-content: center;
  }

  .hero-content {
    padding: 12px 16px 12px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .logo {
    width: 60%;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
  }

  .ambassadors--desktop { display: none;  }
  .ambassadors--tablet  { display: grid;  }
  .ambassadors--mobile  { display: none;  }

  .ambassadors--tablet {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    flex: 1;
    min-height: 0;
    max-height: 100%;
    align-content: center;
    overflow: hidden;
  }

  .ambassadors--tablet img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
    display: block;
  }
}

@media (max-width: 767px) {
  .hero-content {
    padding: 20px 16px 32px;
  }

  .logo {
    width: 80%;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .ambassadors--desktop { display: none;  }
  .ambassadors--tablet  { display: none;  }
  .ambassadors--mobile  { display: block; }
}
