@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* Reset */
* {margin: 0; padding: 0; box-sizing: border-box;}
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, li {margin: 0; padding: 0;}
h1, h2, h3, h4, h5, h6 {font-weight: 700; font-size: inherit;}
a {color: inherit; text-decoration: inherit;}
img {vertical-align: middle; display: block; max-width: 100%;}
li {list-style: none;}

:root {
  --inner: 1600px;
  --page-pad: 320px;
  --text: #1a1a1a;
  --muted: #5f5f5f;
  --card: #f4f4f4;
  --line: #ececec;
}

body {
  color: var(--text);
  background: #fff;
}

main {
  min-width: 320px;
  overflow-x: hidden;
}

.inner {
  width: min(var(--inner), calc(100% - var(--page-pad)));
  margin: 0 auto;
}

/* Hero */
.hero {
  background: #fafafa;
  padding: 180px 0 136px;
}

.hero-inner {
  display: grid;
   min-height: 370px;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 120px;
}

.hero-text h1 {
  font-size: 68px;
  font-weight: 600;
  letter-spacing: -2%;

}

.hero-text p {
  margin: 28px 0 48px;
  color: #575757;
  font-size: 18px;
  font-weight: 300;
  line-height: 150%;
  letter-spacing: -1%;
  
}

.hero-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #151515;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -2%;
}

.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img img {
  width: min(100%, 400px);
  max-height: 600px;
  object-fit: contain;
}

/* Tabs */
.tabs {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.tabs ul {
  padding-left: 30px;
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 90px;
}

.tabs li {
  position: relative;
  display: flex;
  min-height: 100px;
  align-items: center;
  color: #7a7a7a;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.tabs li.active {
  color: #111;
}

.tabs li.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #111;
}

/* Products */
.products {
  padding: 96px 0 128px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px 35px;
}

.card {
  display: flex;
  min-height: 630px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: var(--card);
}

.thumb {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 72px 34px;
}

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

.category,
.card h2,
.desc,
.bottom {
  margin-left: 34px;
  margin-right: 34px;
}

.category {
  margin-bottom: 11px;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
}

.card h2 {
  margin-bottom: 20px;
  color: #050505;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -2%;
}

.desc {
  min-height: 85px;
  margin-bottom: 26px;
  color: #484848;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -2%;
}

.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  margin-bottom: 34px;
}

.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border: 1px solid #1A1A1A;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.inquire {
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.tabs li {
  cursor: pointer;
}

.tabs li:hover {
  color: #111;
}

.card.is-hidden {
  display: none;
}



@media (max-width: 767px) {
  :root {
    --inner: 343px;
    --page-pad: 32px;
  }

  .inner {
    width: 100%;
    max-width: none;
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    padding: 140px 0 40px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 54px;
    min-height: auto;
  }

  .hero-img {
    width: 100%;
    justify-content: center;
  }

  .hero-img img {
    width: 190px;
    height: auto;
  }

  .hero-text h1 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }

  .hero-text p {
    margin: 16px 0 36px;
    font-size: 14px;
    line-height: 1.55;
    color: #575757;
  }

  .hero-text p br {
    display: none;
  }

  .hero-btn {
    min-height: 39px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 400;
  }

  /* Tabs */
  .tabs {
    overflow-x: auto;
    border-bottom: 0;
  }

  .tabs .inner {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .tabs ul {
    min-height: 80px;
    display: flex;
    align-items: center;

    gap: 50px;
    overflow-x: auto;
    white-space: nowrap;
    padding-left: 32px;
    padding-right: 16px;
  }

  .tabs ul::-webkit-scrollbar {
    display: none;
  }

  .tabs li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;


    min-height: 70px;
    font-size: 16px;
    font-weight: 600;
  }


  .tabs li.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;

    width: 40px;
    height: 2px;
    background: #111;
  }

  /* Products */
  .products {
    padding: 40px 0 100px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .card {
    min-height: auto;
    border-radius: 6px;
    padding-bottom: 20px;
  }

  .thumb {
    height: 160px;
    padding: 24px 22px 14px;
  }

  .category,
  .card h2,
  .desc,
  .bottom {
    margin-left: 12px;
    margin-right: 12px;
  }

  .category {
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
  }

  .card h2 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .desc {
    min-height: auto;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.35;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .desc br {
    display: none;
  }

  .bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .detail-btn {
    width: 136px;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
  }

  .inquire {
    font-size: 13px;
    font-weight: 600;
  }
}

.tabs li {
  cursor: pointer;
}

.tabs li:hover {
  color: #111;
}

.card.is-hidden {
  display: none;
}
