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

html,
body {
  height: 100%;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  background: #823719;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── PAGE ─── */
.page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #823719;
}

/* ─── WATERMARK ─── */
.bg-watermark-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Square using the taller dimension so it fills the viewport */
  width: max(80vw, 80vh);
  height: max(80vw, 80vh);
  pointer-events: none;
  user-select: none;
}

.bg-watermark-wrap .troung-dong {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: spin-ccw 30s linear infinite;
}

/* Icon ConGroup nằm chính giữa Trống đồng — 48.36% = 789.52/1632.66 */
.bg-watermark-wrap .bg-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48%;
  height: 48%;
  object-fit: contain;
  animation: spin-cw 30s linear infinite;
}

@keyframes spin-ccw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes spin-cw {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ─── CONTENT ─── */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 56px 36px 48px;
  max-width: 520px;
}

.logo-wrap {
  margin-bottom: 36px;
}
.logo-wrap img {
  width: 160px;
  height: auto;
  display: block;
}

/* Responsive text helpers */
.desktop-only {
  display: none;
}
.mobile-only {
  display: block;
}

/* Quote */
.quote-block {
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.6;
  font-size: 13px;
}

/* Contact */
.contact-block {
  color: #fff;
  margin-bottom: 40px;
}
.contact-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-info {
  font-size: 13px;
  line-height: 1.8;
  font-weight: 400;
}
.contact-info a {
  color: inherit;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Sub-brand logos */
.logo-cluster img {
  width: 100%;
  height: auto;
  display: block;
}
.logo-cluster-mobile {
  display: block;
}
.logo-cluster-desktop {
  display: none;
}

/* ─── DESKTOP (≥ 960px) ─── */
@media (min-width: 960px) {
  /* Trống đồng: dùng chiều cao viewport làm kích thước */
  .bg-watermark-wrap {
    width: 150vh;
    height: 150vh;
  }

  .content {
    max-width: 980px;
    padding: 20px 40px 100px;
    gap: 0;
  }

  .logo-wrap {
    margin-bottom: 80px;
  }
  .logo-wrap img {
    width: 210px;
  }

  .desktop-only {
    display: block;
  }
  .mobile-only {
    display: none;
  }

  /* Quote desktop */
  .quote-block {
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.8;
  }

  .contact-block {
    margin-bottom: 80px;
  }
  .contact-name {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .contact-info {
    font-size: 14px;
  }

  .logo-cluster-mobile {
    display: none;
  }
  .logo-cluster-desktop {
    display: block;
    width: 100%;
  }
}
