/* ==========================================================================
   Base
   ========================================================================== */

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

body {
  font-family: Roboto, Arial, sans-serif;
  color: #fff;
  background: #fff;
}

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

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

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 88px;
}

/* ==========================================================================
   Header — 105 / 857 of viewport
   ========================================================================== */

.header {
  height: calc(100vh * 105 / 857);
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
}

.logo img {
  width: 250px;
  height: 70px;
  object-fit: contain;
}

/* ==========================================================================
   Button
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 54px;
  padding: 0 23px;
  background: #aa0004;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  white-space: nowrap;
}

.header .btn:focus-visible,
.logo:focus-visible {
  outline-color: #aa0004;
  box-shadow: none;
}

/* ==========================================================================
   Hero — remaining 752 / 857 of viewport
   ========================================================================== */

.hero {
  position: relative;
  height: calc(100vh * 752 / 857);
  background: url("img/hero-bg.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #196CA6C9;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 66px;
}

.hero__content {
  max-width: 780px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 100%;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: #fff;
}

h1 {
  font-family: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  font-size: 80px;
  font-weight: 600;
  line-height: 124%;
  letter-spacing: 2%;
  margin-bottom: 25px;
}

.hero__text {
  font-size: 17px;
  line-height: 165%;
  margin-bottom: 25px;
  max-width: 770px;
  font-weight: 400;
}

.hero__note {
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  line-height: 20px;
  letter-spacing: 0%;
  margin-top: 25px;
}

/* ==========================================================================
   Card
   ========================================================================== */

.card {
  flex: none;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}

.card__wise {
  border-radius: 8px;
}

.card__text {
  font-family: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0%;
  text-align: center;
  margin-top: 40px;
  color: #2D2D2D;
}

.card .card__arrow {
  margin: 16px 0px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
  .container {
    padding: 0 40px;
  }

  .logo img {
    width: 180px;
    height: 50px;
  }

  .btn {
    gap: 12px;
    height: 48px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero {
    height: auto;
    min-height: calc(100vh * 752 / 857);
    overflow: visible;
  }

  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero__content {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  h1 {
    font-size: 48px;
    line-height: 120%;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
  }

  .hero__text {
    font-size: 16px;
    line-height: 160%;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero__note {
    margin-top: 18px;
  }

  .card {
    width: 100%;
    max-width: 426px;
    padding: 32px;
  }

  .card img:first-child {
    width: 260px;
    height: auto;
  }

  .card__wise {
    width: 260px;
    height: auto;
  }

  .card__text {
    font-size: 22px;
    margin-top: 28px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .logo img {
    width: 140px;
    height: 40px;
  }

  .btn {
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .hero__inner {
    gap: 32px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .eyebrow {
    font-size: 10px;
    gap: 8px;
    margin-bottom: 14px;
  }

  .eyebrow::before {
    width: 18px;
  }

  h1 {
    font-size: 36px;
    line-height: 118%;
    margin-bottom: 14px;
  }

  .hero__text {
    font-size: 15px;
    line-height: 155%;
    margin-bottom: 16px;
  }

  .hero__note {
    font-size: 13px;
    margin-top: 16px;
  }

  .card {
    max-width: 100%;
    padding: 28px 20px;
  }

  .card img:first-child {
    width: 200px;
  }

  .card__wise {
    width: 200px;
  }

  .card .card__arrow {
    margin: 12px 0;
  }

  .card__text {
    font-size: 20px;
    line-height: 135%;
    margin-top: 24px;
  }
}