* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, "Noto Sans KR", sans-serif;
  background: #f8f4ef;
  color: #4f3b2d;
}


/* =========================
   메인
========================= */

.hero {
  min-height: 100vh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 70px;

  padding: 80px 8%;

  background: #f8f4ef;
}

.hero-text-area {
  flex: 1;
  max-width: 620px;
}

.brand-small {
  margin-bottom: 28px;

  font-size: 15px;
  letter-spacing: 6px;

  color: #b18b6d;
}

.hero h1 {
  margin-bottom: 30px;

  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.28;

  font-weight: 500;
  letter-spacing: -2px;

  color: #604735;
}

.hero-text {
  margin-bottom: 38px;

  font-size: 19px;
  line-height: 1.9;

  color: #786d65;
}

.buttons {
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-block;

  padding: 15px 32px;

  border-radius: 4px;

  font-size: 16px;

  text-decoration: none;
}

.main-btn {
  background: #604735;
  color: white;
}

.sub-btn {
  border: 1px solid #604735;

  color: #604735;
  background: transparent;
}

.hero-image-area {
  flex: 1;

  max-width: 720px;
}

.hero-image {
  display: block;

  width: 100%;
  height: auto;

  max-height: 620px;

  object-fit: cover;

  border-radius: 8px;

  box-shadow: 0 20px 50px rgba(70, 50, 40, 0.12);
}


/* =========================
   제품 소개
========================= */

.products {
  width: 100%;

  padding: 110px 5%;

  background: white;
}

.section-title {
  max-width: 700px;

  margin: 0 auto 65px;

  text-align: center;
}

.section-title > p {
  margin-bottom: 14px;

  font-size: 14px;
  letter-spacing: 5px;

  color: #b18b6d;
}

.section-title h2 {
  margin-bottom: 18px;

  font-size: 40px;

  font-weight: 500;

  color: #604735;
}

.section-title span {
  font-size: 17px;
  line-height: 1.8;

  color: #80756e;
}

.product-grid {
  width: 100%;
  max-width: 1500px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 24px;
}

.product-card {
  overflow: hidden;

  background: #faf7f3;

  border: 1px solid #eee5dd;

  transition: 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 15px 35px rgba(70, 50, 40, 0.10);
}

.product-image {
  width: 100%;
  height: 240px;

  overflow: hidden;

  background: #eee9e4;
}

.product-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.product-content {
  padding: 30px;
}

.product-number {
  margin-bottom: 26px;

  font-size: 13px;
  letter-spacing: 2px;

  color: #b69a84;
}

.product-card h3 {
  margin-bottom: 16px;

  font-size: 23px;

  font-weight: 500;

  color: #604735;
}

.product-card p {
  font-size: 15px;
  line-height: 1.8;

  color: #80746c;
}


/* =========================
   태블릿
========================= */

@media (max-width: 1000px) {

  .hero {
    gap: 40px;

    padding-left: 5%;
    padding-right: 5%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================
   휴대폰
========================= */

@media (max-width: 700px) {

  .hero {
    min-height: auto;

    flex-direction: column;

    padding: 70px 24px;
  }

  .hero-text-area {
    width: 100%;

    text-align: center;
  }

  .hero-image-area {
    width: 100%;
  }

  .hero-text {
    font-size: 17px;
  }

  .buttons {
    justify-content: center;

    flex-wrap: wrap;
  }

  .products {
    padding: 80px 24px;
  }

  .section-title h2 {
    font-size: 31px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 300px;
  }

}
/* =========================
   메모리하우스 특징
========================= */

.features {
  width: 100%;
  padding: 110px 5%;
  background: #f8f4ef;
}

.feature-grid {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  padding: 35px 10px;
  border-top: 1px solid #cdb8a6;
}

.feature-number {
  margin-bottom: 35px;

  font-size: 13px;
  letter-spacing: 2px;

  color: #b18b6d;
}

.feature-item h3 {
  margin-bottom: 18px;

  font-size: 22px;
  font-weight: 500;

  color: #604735;
}

.feature-item p {
  font-size: 15px;
  line-height: 1.9;

  color: #80746c;
}


/* 태블릿 */

@media (max-width: 1000px) {

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* 휴대폰 */

@media (max-width: 700px) {

  .features {
    padding: 80px 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

}
/* =========================
   제작 과정
========================= */

.process {
  width: 100%;
  padding: 110px 5%;
  background: #ffffff;
}

.process-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.process-step {
  min-height: 220px;
  padding: 30px 28px;

  border-left: 1px solid #e4d7cc;
}

.process-step:last-child {
  border-right: 1px solid #e4d7cc;
}

.process-number {
  margin-bottom: 35px;

  font-size: 13px;
  letter-spacing: 2px;

  color: #b18b6d;
}

.process-step h3 {
  margin-bottom: 15px;

  font-size: 22px;
  font-weight: 500;

  color: #604735;
}

.process-step p {
  font-size: 15px;
  line-height: 1.8;

  color: #80746c;
}


/* 태블릿 */

@media (max-width: 1000px) {

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .process-step,
  .process-step:last-child {
    border: 1px solid #e4d7cc;
  }

}


/* 휴대폰 */

@media (max-width: 700px) {

  .process {
    padding: 80px 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

}
/* =========================
   포트폴리오
========================= */

.portfolio {
  width: 100%;
  padding: 110px 5%;
  background: #f8f4ef;
}

.portfolio-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-item {
  width: 100%;
  height: 360px;
  overflow: hidden;

  background: #eee9e4;
}

.portfolio-item img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: 0.35s;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}


/* 태블릿 */

@media (max-width: 1000px) {

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* 휴대폰 */

@media (max-width: 700px) {

  .portfolio {
    padding: 80px 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    height: 320px;
  }

}
/* =========================
   주문 / 상담
========================= */

.contact-cta {
  width: 100%;
  padding: 120px 24px;
  background: #604735;
  text-align: center;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-small {
  margin-bottom: 22px;

  font-size: 14px;
  letter-spacing: 5px;

  color: #d7bda9;
}

.contact-cta h2 {
  margin-bottom: 25px;

  font-size: 46px;
  line-height: 1.4;
  font-weight: 500;

  color: #ffffff;
}

.contact-text {
  margin-bottom: 38px;

  font-size: 17px;
  line-height: 1.9;

  color: #e5d9d0;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.contact-cta .main-btn {
  background: #ffffff;
  color: #604735;
}

.contact-cta .sub-btn {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.contact-cta .sub-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* 모바일 */

@media (max-width: 700px) {

  .contact-cta {
    padding: 90px 24px;
  }

  .contact-cta h2 {
    font-size: 34px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-buttons .btn {
    width: 220px;
  }

}
/* =========================
   Footer
========================= */

.footer {
  width: 100%;
  padding: 70px 6% 30px;

  background: #2f241e;
  color: #d9cdc5;
}

.footer-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 55px;

  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 60px;
}

.footer-brand h3 {
  margin-bottom: 18px;

  font-size: 22px;
  font-weight: 500;
  letter-spacing: 4px;

  color: #ffffff;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.8;

  color: #bfaea3;
}

.footer-info p {
  margin-bottom: 11px;

  font-size: 14px;
  line-height: 1.7;

  color: #bfaea3;
}

.footer-info strong {
  display: inline-block;
  width: 55px;

  font-weight: 500;

  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links a {
  color: #d9cdc5;

  font-size: 14px;

  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  width: 100%;
  max-width: 1400px;

  margin: 0 auto;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  font-size: 12px;

  color: #8f7e73;
}


/* 모바일 */

@media (max-width: 800px) {

  .footer {
    padding: 60px 24px 25px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}