* {
  box-sizing: border-box;
}

:root {
  --header-bg: #10375c;
  --subtext-header: #c9d2da;
  --subtext-main: #575f66;
  --subtext-footer: #a9b3bb;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Sora", sans-serif;
}

/* Common */
a {
  text-decoration: none;
  color: #fff;
}

.container {
  width: 1170px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.btn {
  min-width: 10.4rem;
  height: 4.4rem;
  border-radius: 2.2rem;
  background: #2e80ce;
  padding: 0.8rem 2rem;
  color: #fff !important;
  font-size: 1.6rem;
  font-weight: 400 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header */
.header {
  background-color: var(--header-bg);
  min-height: 100vh;
  padding-top: 3rem;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin: 3rem 0; */
}

.logo {
  font-size: 1rem;
  position: relative;
  display: inline-flex;
}

.logo__circle::before,
.logo__circle::after {
  content: "";
  display: inline-block;
  border-radius: 50%;
}

.logo__circle::before {
  background-color: #2e80ce;
  width: 3em;
  height: 3em;
}

.logo__circle::after {
  position: absolute;
  top: 1.1em;
  left: 1.1em;
  background-color: #fff;
  width: 1.6em;
  height: 1.6em;
}

.logo__text {
  color: #fff;
  margin-left: 0.6em;
}

.logo__brand {
  display: block;
  text-align: right;
}

.logo__brand:nth-child(1) {
  font-size: 1.8em;
  font-weight: 400;
}

.logo__brand:nth-child(2) {
  color: #fff;
  font-size: 1.2em;
  font-weight: 300;
}

.navbar__list {
  display: flex;
  gap: 4.2rem;
  padding: 0.4em 0;
}

.navbar__link--active {
  color: #fff !important;
  font-weight: 500;
}

.navbar__link {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--subtext-header);
  transition: color 0.2s;
}

.navbar__link:hover {
  color: #fff !important;
  font-weight: 300;
}

.navbar__link--active {
  color: #fff !important;
  font-weight: 300;
}

.navbar__link--active::before {
  position: relative;
  top: -0.25rem;
  left: -0.8rem;
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
}

/* Action */
.header-action {
  display: flex;
  gap: 2.8rem;
  align-items: center;
}

.header-action__btn {
  color: var(--subtext-header);
  font-weight: 300;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  margin-top: 7.6rem;
  min-height: 80vh;
  gap: 11.3rem;
}

.hero__content {
  flex: 1;
  color: #fff;
}

.hero__heading {
  color: #fff;
  font-family: Sora;
  font-size: 7rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.14286;
}

.hero__desc {
  margin: 2.2rem 0 3.8rem;
  color: var(--subtext-header);
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.66667;
}

.hero__row {
  display: flex;
  gap: 3.8rem;
  align-items: center;
}

.hero__row .btn {
  width: 205px;
  height: 60px;
  border-radius: 3rem;
}

.hero__images {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 540px; /* Chiều cao lớn nhất theo ảnh 1 */
  height: 100%;
  gap: 0; /* Nếu muốn sát nhau */
}

.hero__img {
  width: 100%;
  max-width: 330px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.hero__img:first-child {
  max-width: 330px;
  max-height: 540px;
  width: 100%;
  height: auto;
  margin-right: -1rem;
  z-index: 1;
  border-radius: 6px;
  object-fit: cover;
}

.hero__img:last-child {
  max-width: 210px;
  max-height: 410px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* Responsive: co lại trên mobile */
@media (max-width: 900px) {
  .hero {
    gap: 4rem;
    margin-top: 3rem;
  }
  .hero__heading {
    font-size: 3.2rem;
  }
  .hero__desc {
    font-size: 1.2rem;
    margin: 1.2rem 0 2rem;
  }
  .hero__row .btn {
    width: 120px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 2rem;
  }
  .hero__phone {
    font-size: 1.1rem;
  }

  .hero__images {
    max-height: 320px;
  }
  .hero__img:first-child {
    max-width: 180px;
    max-height: 320px;
  }
  .hero__img:last-child {
    max-width: 110px;
    max-height: 200px;
  }
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    padding: 0 8px;
  }
  .hero {
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    min-height: unset;
  }
  .hero__content {
    text-align: center;
  }
  .hero__heading {
    font-size: 2.2rem;
  }
  .hero__desc {
    font-size: 1rem;
    margin: 1rem 0 1.5rem;
  }
  .hero__row {
    flex-direction: column;
    gap: 1rem;
  }
  .hero__row .btn {
    width: 100%;
    min-width: 0;
    height: 36px;
    font-size: 1rem;
    border-radius: 1.5rem;
  }
  .hero__phone {
    font-size: 1rem;
  }
}
