.hero {
  position: relative;
  height: 660px;
  background: url("../img/main_bg.png") center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.28) 40%,
      rgba(0, 0, 0, 0.72) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 50% 100%, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 210px 0 0;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  justify-content: center;
}

.hero__tag {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1.6px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 20px;
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.hero__title {
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow: var(--shadow-strong);
}

.hero__subtitle {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-shadow: var(--shadow-strong);
}

.hero__description {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.9;
  color: #ffffffb3;
  text-shadow: var(--shadow-strong);
}

.highlight {
  color: #fff;
  font-weight: 700;
}
.highlight strong {
  color: #dd1e26;
}
.items {
  background: #0a0a0a;
  padding: 60px 0 120px;
}

.items__inner {
  max-width: 1440px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.items__list {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  justify-content: center;
}

.item-card {
  background: #1f1f1f;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
  flex: 0 0 450px;
  display: flex;
  flex-direction: column;
}

.item-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.item-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-card__body {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.item-card__title {
  font-size: 26px;
  font-weight: 700;
  color: #f5f5f7;
}

.item-card__text {
  font-size: 20px;
  color: #c7c7c9;
  line-height: 1.4;
  word-break: keep-all;
}

.item-card__cta {
  margin-top: 6px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 16px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  background: #262626;
  color: #666666;
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.item-card__cta img {
  width: 24px;
  height: 24px;
}

.item-card__cta:hover {
  border-color: #555;
  color: #d8d8dd;
  transform: translateY(-1px);
}

.intro {
  background: #0a0a0a;
  padding: 30px 0 120px;
}

.intro__inner {
  max-width: 1440px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.intro__top {
  display: grid;
  grid-template-columns: 1.15fr 1.8fr;
  align-items: center;
  gap: 40px;
}

.intro__title {
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

.intro__lead {
  font-size: 20px;
  line-height: 1.4;
  color: #d7d7d9;
  word-break: keep-all;
}

.intro__lead .highlight {
  font-weight: 700;
}

.intro__body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.intro__text-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: #d6d6d8;
  font-size: 20px;
  line-height: 1.4;
  word-break: keep-all;
}

.intro__cta {
  margin-top: 23px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 16px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  color: #666666;
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.intro__cta img {
  width: 24px;
  height: 24px;
}

.intro__cta:hover {
  border-color: #555;
  color: #dedee2;
  transform: translateY(-1px);
}

.intro__image {
  width: 100%;
  max-width: 1000px;
  height: 275px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .hero__inner,
  .items__inner,
  .intro__inner {
    width: min(1440px, calc(100% - 40px));
  }

  .hero__title {
    font-size: 50px;
  }

  .item-card {
    flex: 0 1 340px;
  }

  .intro__title {
    font-size: 46px;
  }

  .intro__top {
    grid-template-columns: 1fr 1fr;
  }

  .intro__body {
    grid-template-columns: 1fr 1fr;
  }

  .intro__image {
    height: 320px;
  }
}

@media (max-width: 960px) {
  .hero__inner,
  .items__inner,
  .intro__inner {
    width: min(1440px, calc(100% - 34px));
  }

  .hero__inner {
    padding: 28px 0 100px;
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__description {
    font-size: 16px;
  }

  .items {
    padding: 50px 0 90px;
  }

  .items__list {
    gap: 22px;
  }

  .item-card {
    flex: 0 1 calc(50% - 18px);
  }

  .item-card__image {
    height: 180px;
  }

  .item-card__text {
    font-size: 15px;
  }

  .intro {
    padding: 30px 0 90px;
  }

  .intro__inner {
    gap: 36px;
  }

  .intro__top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro__title {
    font-size: 40px;
  }

  .intro__body {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .intro__image {
    height: 300px;
  }
}

@media (max-width: 720px) {
  .hero__inner,
  .items__inner,
  .intro__inner {
    width: min(1440px, calc(100% - 32px));
  }

  .hero__inner {
    padding: 24px 0 80px;
  }

  .hero__content {
    padding-top: 100px;
  }

  .hero__tag {
    font-size: 14px;
    padding: 10px 18px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__description {
    font-size: 15px;
    line-height: 1.8;
  }

  .items {
    padding: 36px 0 70px;
  }

  .item-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .item-card__image {
    height: 200px;
  }

  .intro {
    padding: 26px 0 70px;
  }

  .intro__title {
    font-size: 32px;
  }

  .intro__lead,
  .intro__text-block {
    font-size: 16px;
  }

  .intro__image {
    height: 260px;
  }
}

@media (max-width: 540px) {
  .hero {
    height: 620px;
  }

  .hero__inner,
  .items__inner,
  .intro__inner {
    width: min(1440px, calc(100% - 28px));
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__subtitle {
    word-break: keep-all;
    font-size: 15px;
  }

  .hero__description {
    font-size: 14px;
    word-break: keep-all;
    line-height: 1.7;
  }
  .hero__description br{
    display: none;
  }
  .items__list {
    gap: 18px;
  }

  .item-card__body {
    padding: 24px 20px;
  }

  .item-card__text {
    font-size: 14px;
  }

  .intro__title {
    font-size: 26px;
  }

  .intro__lead,
  .intro__text-block {
    font-size: 15px;
  }

  .intro__image {
    height: 220px;
  }
}

@media (max-width: 420px) {
    .item-card__cta img{
        width: 16px;
        height: 16px;
    }
  .hero__inner,
  .items__inner,
  .intro__inner {
    width: min(1440px, calc(100% - 22px));
  }

  .hero__tag {
    font-size: 13px;
    padding: 9px 14px;
  }

  .item-card__cta {
    padding: 5px 12px;
    font-size: 13px;
  }
  .intro__cta{
    padding: 5px 12px;
    font-size: 13px;  
    }
  .intro__cta img{
    width: 16px;
    height: 16px;
  }
}
