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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #efefef;
  color: #2b2b2b;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  min-height: 68vh;
  padding: 28px 44px 40px;
  background: #efefef;
  border-bottom: 2px solid #e4e4e4;
}

.hero-top-note {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 30;
  width: min(22vw, 220px);
  max-width: 100%;
  text-align: center;
}

.gara-ai-logo {
  width: 100%;
  max-width: 84px;
  object-fit: contain;
}

.hero-top-note-title {
  margin-top: 0;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
  color: #1a1a1a;
}

.hero-top-note-desc {
  margin-top: 8px;
  font-size: clamp(10px, 0.72vw, 11px);
  line-height: 1.4;
  text-align: center;
  color: #333;
}

.hero-top-note > a {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.hero-brand {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.main-logo {
  width: min(480px, 82%);
  object-fit: contain;
}

.partners {
  margin-top: 44px;
  display: flex;
  gap: 40px;
  align-items: center;
}

.partner-card {
  width: 160px;
  height: 118px;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: #66b88b;
  box-shadow:
    0 8px 18px rgba(12, 92, 48, 0.18),
    0 0 0 2px rgba(102, 184, 139, 0.28);
}

.hero-side-banner {
  position: absolute;
  top: 80px;
  right: 44px;
  width: 108px;
  text-align: center;
}

.hero-side-banner img {
  width: 100%;
  border-radius: 6px;
}

.hero-side-banner p {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.35;
}

.contact {
  position: relative;
  padding: 28px 24px 34px;
  color: #384d66;
  overflow: hidden;
  background-color: #f3f3f3;
  background-image: url("./assest/images/backgroud-contact.png");
  background-repeat: repeat;
  background-size: cover;
  background-position: 0 0;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr 320px;
  gap: 18px 42px;
  align-items: start;
}

.contact__left {
  justify-self: start;
  min-width: 0;
}

.contact__brand-logo {
  width: 132px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-top: 2px;
}

.contact__agencies {
  max-width: 560px;
}

.contact__heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #3d3d3d;
  margin-bottom: 12px;
}

.agency-list {
  list-style: none;
}

.agency-item {
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(64, 64, 64, 0.22);
}

.agency-item--last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.agency-name {
  font-size: 14px;
  font-weight: 700;
  color: #404040;
  margin-bottom: 4px;
}

.agency-detail {
  font-size: 13px;
  line-height: 1.4;
  color: #4a4a4a;
}

.contact__team {
  justify-self: end;
}

.contact__line {
  font-size: 15px;
  line-height: 1.55;
  color: #4b4b4b;
  margin-bottom: 8px;
}

.contact__socials {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  line-height: 1;
}

.social-btn--facebook {
  background: #1877f2;
}

.social-btn--zalo {
  background: #0068ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.social-btn--whatsapp {
  background: #25d366;
}

@media (max-width: 900px) {
  .hero {
    padding: 20px;
  }

  .hero-top-note,
  .hero-side-banner {
    position: static;
    margin: 12px auto 0;
    text-align: center;
  }

  .hero-top-note {
    width: 100%;
    max-width: 300px;
  }

  .hero-top-note-title {
    font-size: clamp(14px, 3.6vw, 16px);
  }

  .hero-top-note-desc {
    font-size: clamp(12px, 3vw, 14px);
  }

  .gara-ai-logo {
    max-width: 100px;
  }

  .partners {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact__left {
    justify-self: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .contact__brand-logo {
    margin-top: 0;
  }

  .contact__agencies,
  .contact__team {
    justify-self: center;
    width: 100%;
    max-width: 580px;
  }

  .contact__heading {
    font-size: 18px;
    text-align: left;
    margin-bottom: 14px;
  }

  .agency-name,
  .agency-detail,
  .contact__line {
    text-align: left;
  }

  .contact__socials {
    justify-content: flex-start;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }
}
