* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: #ffffff;
  color: #111;
}

img {
  display: block;
}

/* ===== 히어로 ===== */
.hero {
  width: 100%;
  height: 900px;
  position: relative;
  overflow: hidden;
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 100%;
  padding: 0 20px;
}

.hero h1 {
  font-size: 58px;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  line-height: 1.7;
}

.gap {
  margin-top: 20px;
}

/* ===== intro ===== */
.intro {
  text-align: center;
  padding: 26px 20px 70px;
  font-size: 20px;
  font-weight: 700;
}

/* ===== 콘텐츠 ===== */
.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  margin-bottom: 90px;
}

.card {
  text-align: center;
}

.gallery img,
.video img,
.box-img {
  width: 100%;
  height: auto;
}

.video {
  position: relative;
}

.label {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600; /*폰트 두께 400이 기본*/
  line-height: 1.4;
}

/* ===== feature ===== 모바일청첩장구성소개*/
.feature-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 70px;
}

.feature-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 28px;
}

.feature-wrap {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.feature-image {
  flex: 0 0 500px;
  width: 500px;
  height: 333px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  flex: 1;
  font-size: 17.05px;  /*폰트 사이즈 수정*/
  color: #7d7d7d;
  line-height: 1.7;   /*폰트 행간 수정*/
  margin-top: 30px;  /* 폰트 섹션 내리기 픽셀 */
}

.feature-text p {
  margin-bottom: 16px;
}

.feature-text p:last-child {
  margin-bottom: 0;
}

/* ===== 모달 ===== */
.zoomable {
  cursor: pointer;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-modal.open {
  display: flex;
}

.image-modal-content {
  max-width: 95vw;
  max-height: 90vh;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}

/* ===== price ===== 제작가격 */
.price-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 24px 80px;
  background: #ffffff;
}

.price-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.price-left {
  max-width: 520px;
  width: 100%;
  margin-top: 80px; /*좌측 청첩장샘플라인 섹션 간격 조정*/
}


.price-item {
  margin-bottom: 40px;
}

.price-item:last-child {
  margin-bottom: 0;
}

.price-icon {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 6px;
  color: #555;
}

.price-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 10px;
}

.price-value {
  font-size: 20px;
  color: #8a8a8a;
  line-height: 1.3;
  margin-bottom: 16px;
}

.price-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  background: #000;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 42px;
  height: 42px;
  border-radius: 10px;
}

.price-right {
  width: 100%;
}

.price-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
  color: #111;
  letter-spacing: -0.02em;
}

.price-image {
  width: 100%;
  max-width: 640px;
}

.price-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ===== 제작과정 이미지 섹션 ===== */
.process-image-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  background: #ffffff;
}

.process-image-wrap {
  width: 100%;
}

.process-image {
  width: 100%;
  height: auto;
  display: block;
}
.process-image-title {
  font-size: 42px;
  font-weight: 800;
  margin-top: 100px; /*위 구조와 간격조정*/  
  margin-bottom: 28px;
  color: #111;
  text-align: center;   /* 🔥 텍스트정렬 */
}


/* ===== 하단 CTA 버튼 ===== */
.footer-cta-section {
  max-width: 1100px;
  text-align: center;
  margin: 40px auto 0;   
  padding: 40px 24px 20px; /* 🔥 위와 여백 조정(~px(위) auto ~px(아래)*/
  background: #ffffff;
}

.footer-cta-wrap {
  display: flex;
  justify-content: center;   /*가운데정렬*/
  align-items: center;
  gap: 32px;
}

.footer-cta-btn {
  display: inline-block;
  text-decoration: none;
}

.footer-cta-btn img {
  display: block;
  width: auto;
  height: 48px;
}

/* ===== 사이트 푸터 ===== */
.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
  background: #ffffff;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: #dddddd;
  margin: 100px 0 60px;  /* 🔥 위와 여백 조정(~px(위) auto ~px(아래)*/
}

.footer-info {
  text-align: center;
}

.footer-title {
  font-size: 22px;
  font-weight: 500;
  color: #111;
  margin-bottom: 14px;
}

.footer-email {
  font-size: 16px;
  color: #b0b0b0;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 15px;
  color: #b0b0b0;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sns-icon {
  width: 24px;
  height: 24px;
  fill: #8f8f8f;
}



/* ===== 모바일섹션 ===== */
@media (max-width: 768px) {
  .hero {
    height: 320px;
  }

  .hero h1 {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 13px;
    line-height: 1.6;
  }

  .gap {
    margin-top: 12px;
  }

  .intro {
    font-size: 14px;
    padding: 18px 14px 40px;
  }

  .content {
    padding: 32px 16px 40px;
  }

  .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 32px;
  }

  .label {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
  }

  /* ===== 모바일 청첩장 구성 소개 ===== */
  .feature-section {
    max-width: 100%;
    padding: 26px 16px 44px;
  }

  .feature-title {
    font-size: 20px;  /*제목*/
    line-height: 1.35;
    margin-bottom: 18px;
    word-break: keep-all;
    text-align: center; /*글 위치정렬(왼,센터,우)*/
  }

  .feature-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .feature-image {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .feature-text {
    width: 100%;  
    margin-top: 0;
    font-size: 12px; /*내용*/
    line-height: 1.85;
  }

  .feature-text p {
    margin-bottom: 12px;
  }

  /* ===== 제작 가격 ===== */
  .price-section {
    max-width: 100%;
    padding: 10px 16px 44px;
  }

  .price-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  /* 제목/이미지 먼저 나오게 */
  .price-right {
    order: 1;
    width: 100%;
  }

  .price-left {
    order: 2;
    max-width: 100%;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
  }

  .price-title {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 16px;
    text-align: center;
  }

  .price-image {
    width: 100%;
    max-width: 100%;
  }

  .price-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .price-item {
    margin-bottom: 28px;
  }

  .price-item:last-child {
    margin-bottom: 0;
  }

  .price-icon {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .price-name {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .price-value {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .price-btn {
    width: 100%;
    max-width: 100%;
    font-size: 13px;
    line-height: 42px;
    height: 42px;
    border-radius: 8px;
  }

  /* ===== 제작 과정 제목/이미지 ===== */
  .process-image-section {
    max-width: 100%;
    margin: 32px auto 0;
    padding: 0 16px 44px;
  }

  .process-image-title {
    font-size: 20px;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 18px;
    text-align: center;
  }

  .process-image-wrap {
    width: 100%;
  }

  .process-image {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ===== 하단 CTA 버튼 ===== */
  .footer-cta-section {
    padding: 28px 16px 18px;
    margin: 0 auto;
  }

  .footer-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px; /*이미지간 간격*/
  }

  .footer-cta-btn {
    width: 100%;
  }

 .footer-cta-btn img {
  width: 100%;
  max-width: 200px;   /* 🔥 이거 추가 (핵심) */
  height: auto;
  display: block;
  margin: 0 auto;     /* 가운데 정렬 */
}

  /* ===== 푸터 ===== */
  .site-footer {
    padding: 0 16px 44px;
  }

  .footer-line {
    margin: 12px 0 28px;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-email {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .footer-links {
    gap: 14px;
    margin-bottom: 20px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .sns-icon {
    width: 22px;
    height: 22px;
  }

  /* ===== 이미지 확대 모달 ===== */
  .image-modal {
    padding: 16px;
  }

  .image-modal-close {
    top: 14px;
    right: 16px;
    font-size: 34px;
  }

  .image-modal-content {
    max-width: 100vw;
    max-height: 85vh;
  }
}