@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");

:root {
  --bg: #efefef;
  --hero-top: #b2b8d8;
  --hero-mid: #c1c6e0;

  --accent: #f13a26;
  --navy: #003560;
  --teal: #29bbb6;
  --orange: #ff9d00;

  --text: #111111;
  --muted: #999999;
  --white: #ffffff;

  --radius-xl: 40px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-1: 10px 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-2: 15px 15px 25px rgba(0, 0, 0, 0.1);
  --shadow-3: 21px 19px 25.4px rgba(0, 0, 0, 0.1);

  --container: 1200px;
  --topbar-h: 111px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.21);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(82.8px);
}

.topbar__inner {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.brand img {
  height: 45px;
  width: auto;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 830px;
}

.hero-bg {
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    var(--hero-top) 0%,
    var(--hero-mid) 55%,
    var(--bg) 100%
  );
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../images/hero-orange-object.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
}

.promoBanner,
.member,
.promo,
.contact,
.map {
  position: relative;
  z-index: 2;
}

.member--on-hero {
  background: transparent;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  grid-template-rows: auto auto;
  gap: 150px 40px;
  align-items: start;
  padding-top: 180px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  background: var(--white);
  border-radius: var(--radius-pill);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 70px;
}

.hero__title {
  margin: 0;
  color: var(--white);
  font-size: 75px;
  line-height: 90px;
  letter-spacing: -0.02em;
}

.hero__title strong {
  font-weight: 800;
}

.hero__title span {
  font-weight: 300;
}

.hero__cardwrap {
  justify-self: end;
}

.hero__card {
  width: 472px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

.hero__panel {
  grid-column: 1 / -1;
  width: 100%;
}

/* Quick cards */
.glass-cards {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.glass-card {
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(30px);
  outline: 1px solid rgba(255, 255, 255, 1);
  outline-offset: -1px;
  box-shadow: 15px 15px 25px rgba(0, 0, 0, 0.1);
  color: #fff;
  transition: background-color 0.15s ease;
}

.glass-card img {
  width: 80px;
  height: 80px;
}

.glass-card span {
  display: block;
  line-height: 1.4;
  word-break: keep-all;
  font-size: 24px;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .glass-card:hover {
    background: var(--accent);
    outline-color: var(--accent);
  }

  .glass-card:hover span {
    color: var(--white);
  }

  .glass-card:hover img {
    filter: brightness(1.1);
  }
}

/* Promo banner slider */
.promoBanner {
  padding: 0 0 90px;
}

.promoBanner__viewport {
  overflow: hidden;
}

.promoBanner__track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.promoBanner__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 675px 1fr;
  gap: 44px;
  align-items: center;
}

.promoBanner__card {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.promoBanner__content {
  position: relative;
  padding-top: 10px;
}

.promoBanner__index {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin-bottom: 18px;
}

.promoBanner__text {
  margin: 0 0 26px;
  font-size: 40px;
  line-height: 56px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
}

.promoBanner__text strong {
  font-weight: 700;
}

.promoBanner__dots {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 0;
  background: var(--white);
  cursor: pointer;
}

.dot.is-active {
  background: var(--accent);
}

/* Member */
.member {
  padding: 120px 0;
}

.member__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 86px;
  align-items: end;
  margin-bottom: 40px;
}

.member__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 56px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.member__title--accent {
  color: #fff;
}

.line {
  height: 2px;
  flex: 1;
  background: var(--text);
  opacity: 0.85;
}

.line--accent {
  background: #fff;
}

.member__title--mo {
  display: none;
}

.member__grid {
  display: grid;
  grid-template-columns: 557px 557px;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}

.service {
  display: grid;
  gap: 24px;
}

.service__item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.service__icon {
  width: 65px;
  height: 65px;
  border-radius: 15px;
  background: var(--accent);
  display: grid;
  place-items: center;
}

.service__icon img {
  width: 49px;
  height: 49px;
}

.service__label {
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
}

@media (hover: hover) and (pointer: fine) {
  .service__item {
    transition: background-color .2s ease, box-shadow .2s ease;
  }

  .service__item:hover {
    background-color: var(--accent);
  }

  .service__item:hover .service__label {
    color: var(--white);
  }

}

.event__poster {
  width: 557px;
  height: 1009px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #d9d9d9;
}

.progress {
  width: 557px;
  height: 15px;
  margin-top: 24px;
  background: var(--white);
  border-radius: 1000px;
  overflow: hidden;
  position: relative;
}

.progress__bar {
  height: 100%;
  width: 33.3333%;
  background: var(--accent);
  border-radius: 1000px;
  display: block;
  transition: width 0.35s ease-out;
}

/* Contact */
.contact {
  background: var(--bg);
  padding: 110px 0;
}

.section-title {
  margin: 0 0 44px;
  font-size: 40px;
  font-weight: 600;
  line-height: 56px;
  text-align: center;
}

.form {
  display: grid;
  gap: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.form__row--wide {
  grid-template-columns: 380px 1fr;
}

.field {
  display: grid;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 3px solid var(--text);
  transition: border-color 0.2s ease;
}

.field:focus-within {
  border-bottom-color: var(--accent);
}

.field__label {
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
}

.field__input {
  border: 0;
  outline: none;
  padding: 6px 0 2px;
  background: transparent;
  font-size: 18px;
}

.form__actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 18px 120px;
  border-radius: 270px;
  font-size: 32px;
  font-weight: 600;
  box-shadow: var(--shadow-1);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--dark {
  background: var(--text);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--accent);
  color: var(--white);
}

/* Promo */
.promo {
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  padding: 108px 0;
}

.promo__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.promo__card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 350px;
  padding: 42px 40px;
  display: grid;
  align-content: start;
  box-shadow: var(--shadow-1);
}

.promo__card--orange {
  background: var(--orange);
}

.promo__card--navy {
  background: var(--navy);
}

.promo__text {
  color: var(--white);
  font-size: 40px;
  line-height: 54px;
}

.promo__text strong {
  font-weight: 800;
}

.promo__img {
  position: absolute;
  right: 14px;
  bottom: 0;
  width: 350px;
  height: 350px;
}

.promo__img--small {
  width: 218px;
  height: 218px;
  right: 28px;
  bottom: 42px;
}

.badge {
  position: absolute;
  left: 40px;
  bottom: 34px;
  background: var(--white);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 269px;
  font-size: 36px;
  font-weight: 700;
  box-shadow: var(--shadow-1);
}

/* Map */
.map {
  background: var(--white);
  padding: 0 0 90px;
}

.map__img {
  width: 100%;
  border-radius: var(--radius-xl);
}

/* Footer */
.footer {
  background: #222;
  color: var(--muted);
}

.footer__text,
.footer__copy {
  margin: 0;
  font-size: 14px;
  line-height: 19.6px;
  color: var(--muted);
}

.footer__copy {
  opacity: 0.9;
}

.footer--pc {
  display: block;
  padding: 56px 0 48px;
}

.footer--pc .footer__inner {
  display: grid;
  gap: 26px;
}

.footer--pc .footer__cols {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.footer--pc .footer__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer--pc .footer__brand img {
  width: 120px;
  height: auto;
  margin-top: 4px;
}

.footer--mo {
  display: none;
}

/* Mobile footer */
@media (max-width: 560px) {
  .footer--pc {
    display: none;
  }

  .footer--mo {
    display: block;
    padding: 56px 0 56px;
  }

  .footer__inner--mo {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 26px;
  }

  .footer__brand--mo img {
    width: 86px;
    height: auto;
  }

  .footer__moText {
    display: grid;
    gap: 22px;
  }

  .footer--mo .footer__text {
    max-width: 320px;
    word-break: keep-all;
  }

  .footer__copy--mo {
    margin-top: 6px;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    width: min(var(--container), calc(100% - 60px));
  }

  .hero-bg::after {
    background-size: 165% auto;
    background-position: center top;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 38px;
    padding-top: 44px;
  }

  .hero__cardwrap {
    order: 0;
    align-self: center;
  }

  .hero__copy {
    order: 1;
    text-align: center;
    width: 100%;
  }

  .hero__panel {
    order: 2;
  }

  .pill {
    margin: 0 0 14px;
    font-size: 18px;
    padding: 8px 14px;
  }

  .hero__title {
    font-size: 34px;
    line-height: 44px;
  }

  .hero__card {
    width: min(320px, 92vw);
    border-radius: 16px;
  }

  .topbar__inner {
    height: 55px;
  }

  .brand img {
    width: 110px;
    height: auto;
  }

  .glass-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .glass-card {
    width: 100%;
    padding: 14px 16px;
    gap: 10px;
    border-radius: 12px;
  }

  .glass-card img {
    width: 50px;
    height: 50px;
  }

  .glass-card span {
    font-size: 20px;
    line-height: 1;
  }

  .promoBanner {
    padding: 44px 0;
  }

  .promoBanner__slide {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .promoBanner__card {
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 22px;
  }

  .promoBanner__content {
    padding-top: 0;
  }

  .promoBanner__index {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--white);
    opacity: 0.9;
  }

  .promoBanner__text {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 14px;
  }

  .promoBanner__dots {
    justify-content: flex-end;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 12px;
  }

  .member {
    padding: 54px 0;
  }

  .member__head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .member__title {
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
  }

  .member__head .member__title:not(.member__title--accent) {
    display: none;
  }

  .member__grid {
    grid-template-columns: 1fr;
    gap: 74px;
  }

  .member__title--mo {
    display: flex;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
  }

  .service {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .service__item {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    border-radius: 16px;
    text-align: center;
  }

  .service__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--white);
  }

  .service__icon img {
    width: 100%;
    height: auto;
  }

  .service__label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
  }

  .event__poster {
    width: 100%;
    height: auto;
    aspect-ratio: 557 / 1009;
    border-radius: 22px;
  }

  .progress {
    width: 100%;
    margin-top: 14px;
    height: 10px;
  }

  .contact {
    padding: 70px 0;
  }

  .form__row,
  .form__row--wide {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .field {
    width: 100%;
    gap: 0;
    padding: 20px 0 10px;
  }

  .btn {
    width: 100%;
    max-width: 420px;
    padding: 16px 24px;
    font-size: 20px;
  }

  .section-title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 18px;
  }

  .field__label {
    font-size: 16px;
  }

  .field__input {
    font-size: 18px;
  }

  .promo {
    padding: 54px 0;
  }

  .promo__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .promo__card {
    min-height: 180px;
    padding: 22px;
    border-radius: 22px;
  }

  .promo__text {
    font-size: 22px;
    line-height: 30px;
  }

  .badge {
    font-size: 16px;
    left: 22px;
    bottom: 18px;
    padding: 10px 28px;
  }

  .promo__img {
    width: 180px;
    height: 180px;
  }

  .promo__img--small {
    width: 100px;
    height: 100px;
  }

  .map {
    padding: 0 0 54px;
  }

  .map__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
  }
}
