
/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design Tokens ── */
:root {
  --green-main:   #29c1a7;
  --green-light:  #7ecfbc;
  --green-pale:   #e6f7f4;
  --green-bg:     #f0faf7;
  --green-dark:   #2e9e84;
  --teal-mid:     #5bbfab;
  --text-base:    rgb(60, 60, 60);
  --text-mid:     rgb(90, 90, 90);
  --text-light:   rgb(130, 130, 130);
  --white:        #fff;
  --radius:       16px;
  /* 54pt = 54 × (96 ÷ 72) = 72px */
  --heading-size: 58px;
  --font-title:   'Paperlogy', 'Pretendard', sans-serif;
  --font-body:    'Pretendard', sans-serif;
}

.paper {font-family: 'Paperlogy', sans-serif;}

/* ── Base ── */
body {
/*  font-family: var(--font-body);*/
  color: var(--text-base);
  background: #fff;
  overflow-x: hidden;
}

/*body > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}*/

  .mo { display: none; }
  .pc { display: block; }

/* ── Global Heading ── */
h1, h2,
.section-title,
.print-left h2,
.process h2,
.why h2 {
  font-family: var(--font-title);
  font-size: var(--heading-size);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-base);
  letter-spacing: -1px;
}
h3, h4 { font-family: var(--font-title); }

.main_cont_table {width: 100%; max-width: 100%; padding-top: 0px;}

/* SECTION 1 — Hero */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  /*background: #fff;*/}/*
.hero .sub {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 8px;
  font-family: var(--font-body);
}*/
.hero h1 { line-height: 1.35; font-weight: 500;}
.hero h1 em {
  font-style: normal;
  color: var(--green-main);
}
.hero p {
  margin-top: 60px;
  font-size: 22px;
  color: var(--text-mid);
  line-height: 1.8; 
}

/* SECTION 2 — Feature Bar (청록 그라데이션 pill) */
.features {
  /* 좌우 패딩 0 → 뷰포트 100% 꽉 채움 */
  padding: 60px 0;
  background: #fff; 
  /* pill 전환 시 좌우 삐져나감 방지 */
  overflow: visible;
  max-width: 100%;  /* 예외 처리 */
}

.features-bar {
  background: linear-gradient(180deg, #e1f6f2 0%, #e1f6f2 40%, #e1f6f2 70%, rgba(114,220,194,0) 100%);
  border-radius: 0;
  margin: 0;
  padding: 100px 0;
  position: relative;
  /* transition 삭제 — GSAP가 처리 */
}

/* 원형 컨테이너 — 80% 겹침 */
.features-circles {
  display: flex;
  justify-content: space-evenly;
  max-width: 1400px;
  align-items: center;
  padding: 0 90px;
  margin: auto;
  
}

.feature-circle , .print-circle{
  width: 340px;
  height: 340px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px;
  color: #fff;
  position: relative;
  transition: transform  0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
            box-shadow 0.6s ease;
  cursor: default;
  background: linear-gradient(145deg, #39bb89 55%, #f1e78b 100%);
  z-index: 1; 
  opacity: 0.95;
  text-shadow: 0px 4px 12px rgba(30, 120, 90, 0.35); /* ← 여기 한 줄만 추가 */
}
/* 2번째·3번째 원을 앞으로 당겨 80% 겹침  (220 × 0.8 = 176px) */
.feature-circle + .feature-circle { margin-left: -140px; }

/* 호버: 위로 튀어오름 + 최상위 */
.feature-circle:hover {
  transform: translateY(-15px) /*scale(1.03)*/;
  z-index: 5;
 /* opacity: 0.85;*/
}

.feature-circle h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-title);
  line-height: 1.4;
}
.feature-circle p:nth-child(2) {
  font-size: 18px;
  font-weight: 300;
  line-height: 2.5;
  color: white;
  
}

.feature-circle p:nth-child(3) {
  font-size: 22px;
  line-height: 1.5;
  color: white;
  margin: 0px 0px 0px;
}

/* SECTION 3 — Portfolio */
.portfolio {
  padding-top: 70px;
  padding-bottom: 180px;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.portfolio-header-left {flex: 1; }

.portfolio-header-right {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  padding: 12px 14px;
  background-color: rgba(126, 207, 188, 0.15);
  border-radius: 40px;
}

.section-title  { 
  line-height: 1.25; 
  font-weight: 400; 
  padding-bottom: 45px;
}
.section-title em {
  font-style: normal;
  color: var(--green-main);
  font-size: 0.75em;
}
.section-sub p {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--green-main);
}

.section-sub  p:nth-child(2) {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-base);
  padding-top: 20px;

}


.portfolio-inner {
  margin: 0 auto; 
  overflow: visible;
  /* hidden 이 있다면 변경 */
  max-width: 1400px;
}

.portfolio-tabs {
  display: flex;
  gap: 10px;
  margin: 28px 0 24px;
  flex-wrap: wrap;

}

.portfolio-header-right {
  position: relative;  /* ← 추가 */
}

.tab-slider {
  position: absolute;
  height: calc(100% - 24px);  /* 패딩 12px 상하 제외 */
  background: var(--green-main);
  border-radius: 50px;
  transition: left 0.85s cubic-bezier(0.02, 0.38, 0.15, 0.87),
              width 0.85s cubic-bezier(0.02, 0.38, 0.15, 0.87);
  z-index: 0;
  pointer-events: none;
}

.tab-btn {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;           /* 테두리 제거 */
  color: var(--green-main);
  transition: color 1s ease;
  padding: 10px 32px;
  font-size: 16px;
  cursor: pointer;
}

.tab-btn.active,
.tab-btn:hover {
  background: transparent;  /* 기존 배경 제거 */
  background: var(--green-main);
  border-radius: 50px;  
  transition: color 1s ease;
  color: #fff;
}

.tab-radio { display: none; }

/* 슬라이더 초기 위치 */
#tab1:checked ~ .tab-slider { left: 12px; width: 180px; }
#tab2:checked ~ .tab-slider { left: 154px; width: 114px; }
#tab3:checked ~ .tab-slider { left: 280px; width: 114px; }

#tab1:checked ~ .tab-btn:nth-of-type(1),
#tab2:checked ~ .tab-btn:nth-of-type(2),
#tab3:checked ~ .tab-btn:nth-of-type(3) {
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  width: 100%;
  /* 기본: 완전히 숨김 */
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1.6s ease;
  visibility: hidden;
}

.portfolio-card {
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  margin: auto;
}
.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1px 20px rgba(75, 75, 75, 0.18);
}
.portfolio-card .card-bg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-grids {
  position: relative;  /* ← 추가 */
  width: 100%;
}

.portfolio-grid.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;   /* 공간 차지 */
  visibility: visible;
}

.portfolio-card .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*.portfolio-card img{max-width: 433px;}*/

/*.portfolio-card .card-icon { font-size: 36px; opacity: 0.6; }*/

.card-label {
  text-align: center;
  font-size: 20px;
  color: var(--text-base);
  margin-top: 15px;
}

/* SECTION 4 — Process */
.process, .printing {
  background: var(--green-bg);
  padding: 140px 20px;
  text-align: center;
  max-width: 100%;
}
.process-inner  { margin: 0 auto;}
.process h2     { margin-bottom: 80px; }

.process-steps {
  display: flex;
  justify-content: center;
  gap: 200px;
  flex-wrap: wrap;
  white-space: nowrap;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 140px;

}
.process-steps::before {
  content: '';
  position: absolute;
  top: 145px;
  bottom: auto;
  left: 0;
  right: 0;
  height: 1px;
  background: #d0d0d0;
  z-index: 0;
  width: 100%;
}

.process-step img {
  width: 114px;
  height: 114px;
  display: block;
  padding: 10px;
  border-radius: 20%;   
  background-color: #1caf93;


}

.process-step:hover .step-icon { transform: scale(1.1); }
.process .dot {width: 20px; height: 20px; border-radius: 15px; background-color: var(--green-main); content:''; border: solid 3px #fff; box-shadow: 0 0px 7px var(--green-main); z-index: 1;
  ;} 
.process .step-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--green-main);
}
.process .step-desc {
  font-size: 16px;
  color: var(--text-base);
  line-height: 1.7;
  text-align: center;
}

/* SECTION 5 — Print */

/*.print-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}*/

.print-left          { flex: auto;}
.print-left h2       { line-height: 1.25; text-align: left; padding-bottom: 20px;}
.print-left .highlight { font-weight: 600;}
.print-left p  { font-size: 24px; color: var(--green-main); /*margin-top: 14px; */line-height: 1.8; text-align: left; font-weight: 500; white-space: nowrap;}

/*.print-right { flex: 1; }*/
/*
.print-bubbles {
  display: grid;
  grid-template-columns: repeat(3, fr);
  gap: 16px;
}*/
.print-bubble {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  margin: 0 auto;
  transition: transform 0.3s;
  cursor: default;
  background-color: #fff;
}

.print-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

/* pill 카드 */
.print-card {
  flex: 1;
  background: #fff;
  border-radius: 999px;        /* 세로 pill 형태 */
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(77, 184, 158, 0.08);
}

.print-card h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-base);
  line-height: 1.5;
  font-family: var(--font-title);
  padding-top: 45px;
}

.print-card p {
  font-size: 18px;
  color: var(--green-main);
  line-height: 1.7;
}

/* 구분선 */
.print-divider {
  width: 1px;
  height: 40px;
  background: var(--green-light);
}

/* 하단 원형 버블 */
.print-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  margin-top: auto;
}

.print-circle h4 {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  font-family: var(--font-title);
  padding-bottom: 0px;
}

.print-bubble:hover { transform: scale(1.05); }
.print-bubble h4    { font-size: 13px; font-weight: 700; color: #333; }
.print-bubble p     { font-size: 11px; color: var(--text-mid); line-height: 1.6; margin-top: 6px; }

.pb-green { background: linear-gradient(145deg, #c8f0e8, #a5e0d0); }
.pb-teal  { background: linear-gradient(145deg, #b2ead8, #8fd4bf); }
.pb-mint  { background: linear-gradient(145deg, #d4f5ed, #b2e8da); }
.pb-lime  { background: linear-gradient(145deg, #d8f3dd, #b6e5bc); }
.pb-sage  { background: linear-gradient(145deg, #c4ead4, #a0d4b8); }
.pb-soft  { background: linear-gradient(145deg, #e0f5ee, #c0e8dc); }

/* SECTION 6 — Why */

.why {
  padding: 140px 20px;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}
.why h2 { margin-bottom: 48px; }

.why-swiper {
  max-width: 100%;
  padding: 40px 0;
  overflow: visible;
}

/* 슬라이드 전체 80% 축소 */
.why-swiper .swiper-slide {
  max-width: 820px;   /* 기존 800px → 80% */
  height: 240px;      /* 기존 200px → 80% */
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.4;
  transform: scale(0.7);   /* 기존 0.85 → 더 축소 */
}

.why-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(0.8);   /* 활성 슬라이드도 80% */
}

/* 카드 스타일 */
.why-card {
  background: #eef0f5;   /* 청록색 → 변경 */
  border-radius: 24px;   /* 비율 맞게 약간 축소 */
  padding: 48px;         /* 기존 60px → 80% */
  display: flex;
  align-items: center;
  gap: 32px;             /* 기존 40px → 80% */
  text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  position: relative;
  color: #222;
}

/* 이미지 80% 축소 */
.why-card img {
  width: 320px;      /* 필요시 조정 */
  height: auto;
  flex-shrink: 0;
}

/* 텍스트는 그대로 유지 */
.why-card h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #111;
}

.why-card p {
  font-size: 22px;
  padding-left: 5px;
  line-height: 1.5;
  color: #555;
}

/* 좌우 컨트롤 */
.why-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 220px;
  left: calc(50% - 420px);
  right: calc(50% - 420px);
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.why-prev,
.why-next {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.2s;
}

.why-prev:hover,
.why-next:hover {
  background: #29C1A7;
  transform: scale(1.1);
}

.why-prev svg,
.why-next svg {
  width: 16px;
  fill: #555;
  transition: fill 0.2s;
}

.why-prev:hover svg,
.why-next:hover svg {
  fill: #111;
}

/* 하단 pagination 삭제 */
.why-swiper .swiper-pagination {
  display: none !important;
}


/* CTA */
.cta { padding: 120px 20px; text-align: center; background: #fff; }
.cta h4 { font-size: 22px; color: var(--text-base); margin-bottom: 60px; line-height: 1.5; font-weight: 400; }
.cta-btn {
  display: inline-block;
  background: var(--green-main);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  padding: 16px 52px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(77, 184, 158, 0.35);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(77, 184, 158, 0.45);
}

/* Utilities */
.divider { height: 1px; background: #f0f0f0; max-width: 900px; margin: 0 auto; }

/* Scroll fade-in */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   Responsive
   ================================================================ */

/* ── 태블릿 (1024px 이하) ── */
@media (max-width: 1024px) {
  :root { --heading-size: 44px; }

  /* Hero */
  .hero p { font-size: 18px; }

  /* Feature circles */
  .feature-circle {
    width: 300px;
    height: 300px;
  }
  .feature-circle + .feature-circle { margin-left: -100px; }
  .feature-circle h3 { font-size: 22px; }
  .feature-circle p:nth-child(2) { font-size: 14px; }
  .feature-circle p:nth-child(3) { font-size: 16px; }

  /* Portfolio */
  .portfolio { padding-bottom: 100px; }
  .portfolio-grid { gap: 25px; grid-template-columns: repeat(2, 1fr); }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .portfolio-header-right { align-self: flex-end; }
  

  /* Process */
  .process-steps { gap: 110px; }

  /* Print */
  .print-inner { gap: 16px;}
  .print-card h3 { padding-top:30px; font-size: 20px; }
  .print-card p  { font-size: 15px; }
  .print-circle  { width: 220px; height: 220px; }
  .print-circle h4 { font-size: 18px; }
  

  /* Why */
  .why-swiper .swiper-slide { max-width: 720px; height: auto; }
  .why-card { padding: 40px; gap: 28px; }
  .why-card h3 { font-size: 24px; }
  .why-card p  { font-size: 16px; }
  .why-controls {
    left: calc(50% - 380px);
    right: calc(50% - 380px);
    transform: translateY(-85%);
  }
  .why-card img {width: 50%;}

  .cta { padding: 60px;}
  .why { padding: 60px;}
}

/* ── 모바일 가로 / 작은 태블릿 (768px 이하) ── */
@media (max-width: 768px) {
  :root { --heading-size: 36px; }

  /* 공통 */
  body > * { max-width: 100%; }
  .mo { display: block; }
  .pc { display: none; }

  /* Hero */
  .hero { padding: 60px 24px 40px; }
  .hero p { font-size: 16px; margin-top: 32px; }

  /* Feature circles — 세로 배치 */
  .features { padding: 40px 0; }
  .features-bar { padding: 60px 0; }
  .features-circles {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
  }
  .feature-circle {
    width: 280px;
    height: 280px;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }
  .feature-circle h3 { font-size: 20px; }
  .feature-circle p:nth-child(2) { font-size: 13px; line-height: 2; }
  .feature-circle p:nth-child(3) { font-size: 15px; }

  /* Portfolio */
  .portfolio { padding: 48px 24px 80px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* 탭 버튼 세로 배치 */
  .portfolio-header-right {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    padding: 10px;
    border-radius: 24px;
  }
  .tab-btn { padding: 12px 28px; font-size: 15px; text-align: center; }

  /* 슬라이더 세로 방향 재정의 */
  .tab-slider {
    width: calc(100% - 20px) !important;
    left: 10px !important;
    height: calc(100% - 124px) !important;
    transition: top 0.85s cubic-bezier(0.02, 0.38, 0.15, 0.87);
  }
  #tab1:checked ~ .tab-slider { top: 10px; }
  #tab2:checked ~ .tab-slider { top: 64px; }
  #tab3:checked ~ .tab-slider { top: 118px; }

  /* 포트폴리오 1단 — 이미지 꽉 채움 */
  .modal-scroll-gallery{
  max-height:80vh;
  overflow-y:auto;
}

.remodal{
  width:95% !important;
  max-width:1600px !important;

  height:auto;
  max-height:90vh;

  padding:20px !important;

  overflow:hidden;
  box-sizing:border-box;
}

  .portfolio-grid { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-card {
    width: 100%;
    aspect-ratio: 3 / 2;     /* 가로형 비율로 변경 */
    border-radius: 24px;
  }
  .portfolio-card .card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .section-sub p { font-size: 22px; }
  .section-sub p:nth-child(2) { font-size: 16px; }
  .card-label { font-size: 15px; }

  /* Process */
  .process { padding: 80px 24px; }
  .process h2 { margin-bottom: 48px; }
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 48px;
    white-space: none;
  }
  .process-steps::before { display: none; }
  .process-step { width: 200px; }
  .process-step img { width: 100px; height: 100px; }
  .process .step-name { font-size: 18px; }
  .process .step-desc { font-size: 15px; }

  /* Print — 세로 배치, 카드 가로형 */
  .print { padding: 60px 24px; max-width: 100%; }
  .print-inner {
    flex-direction: column;
    align-items: stretch;     /* 좌우 꽉 채움 */
    /*gap: 16px;*/
    padding: 0 12%;
  }
  .print-left { width: 100%; text-align: center; }
  .print-left h2 { text-align: center; }
  .print-left p  { text-align: center; white-space: normal; font-size: 18px; }

  /* print-bubbles 가 각각 100% 너비 차지 */
  .print-bubbles {
    width: 100%;
    display: block;
  }

  /* 카드 가로형 pill */
  .print-card {
    flex-direction: row;
    align-items: center;
    border-radius: 35px;
    padding: 20px;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: space-around;
    display: flex;
  }
  .print-card h3 {
    font-size: 17px;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 0px;
    text-align: left;
  }
  .print-card p { font-size: 13px; line-height: 1.5; text-align: left; }

  /* divider 세로줄 → 가로줄 */
  .print-divider {
    width: 30px;
    height: 1px;
    flex-shrink: 0;
    margin: 0;
  }

  /* 원형 버블 */
  .print-circle {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .print-circle h4 { font-size: 15px; line-height: 1.5; word-break: keep-all;       /* 한국어 단어 단위로 줄바꿈 */ }

  /* Why */
  .why { padding: 80px 0; }
  .why h2 { padding: 0 24px; margin-bottom: 36px; }
  .why-swiper .swiper-slide {
    max-width: calc(100vw - 80px);
    height: auto;
  }
  .why-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
    gap: 20px;
  }
  .why-card img { width: 140px; height: 140px; }
  .why-card h3 { font-size: 20px; margin-bottom: 10px; }
  .why-card p  { font-size: 15px; }
  .why-controls {
    left: 16px;
    right: 16px;
/*    transform: translateY(-25%);*/
    top: 48%;
  }
  .why-prev, .why-next { width: 44px; height: 44px; }

  /* CTA */
  .cta { padding: 48px 24px; }
  .cta h4 { font-size: 18px; margin-bottom: 36px; }
  .cta-btn { font-size: 22px; padding: 14px 36px; }
}


#archive a.btn_esti {
  display: inline-block; 
  background-color: var(--bora); 
  color: #ffffff; font-size: 36px; 
  padding: 10px 60px; 
  font-family: 'Paperlogy'; 
  font-weight: 400; 
  margin: 80px 0px; 
  transition: all 0.3s ease;}

#archive a.btn_esti:hover {  
    background-color:rgb(55, 55, 55);
    box-shadow: 0 8px 20px rgba(54, 54, 54, 0.49);
    transform: translateY(-10px);
    box-shadow: 0px 2px 7px 5px #00000020;}

#archive a.btn_esti2 { background-color: #555555; margin-top: 30px   }




/* ── 모바일 세로 (480px 이하) ── */
@media (max-width: 480px) {
  :root { --heading-size: 30px; }

  /* Hero */
  .hero { padding: 48px 20px 32px; }
  .hero h1 { font-size: 30px; }
  .hero p  { font-size: 15px; margin-top: 24px; }

  /* Feature circles */
  .feature-circle { width: 240px; height: 240px; }
  .feature-circle h3 { font-size: 18px; }

  /* Portfolio */
  .portfolio { padding: 40px 16px 60px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-header-right { padding: 10px; }
  .tab-btn { padding: 7px 12px; font-size: 13px; }
  #tab1:checked ~ .tab-slider { width: 140px; }
  #tab2:checked ~ .tab-slider { left: 130px; width: 100px; }
  #tab3:checked ~ .tab-slider { left: 240px; width: 100px; }

  /* Process */
  .process { padding: 60px 16px; }
  .process-step { width: 180px; }

  /* Print */
  .print { padding: 48px 16px; }
  .print-card { padding: 14px 18px; gap: 10px; }
  .print-card h3 { font-size: 15px; }
  .print-card p  { font-size: 12px; }
  .print-circle { width: 80px; height: 80px; }
  .print-circle h4 { font-size: 11px; }
  .print-divider { width: 20px; }

  /* Why */
  .why { padding: 60px 0; }
  .why-card { padding: 28px 20px; }
  .why-card h3 { font-size: 18px; }
  .why-card p  { font-size: 14px; }
  .why-controls { left: 8px; right: 8px; }
  .why-prev, .why-next { width: 36px; height: 36px; }

  /* CTA */
  .cta h4 { font-size: 16px; }
  .cta-btn { font-size: 18px; padding: 12px 28px; }
}

  @media only screen and (min-width: 641px){

  .remodal{
    width:95vw !important;
    max-width:1400px !important;

    padding:20px !important;

    box-sizing:border-box !important;

    overflow:hidden;
  }
}

.modal-scroll-gallery{
  max-height:80vh;
  overflow-y:auto;
}

.modal-scroll-gallery img{
  width:100%;
  display:block;
  margin-bottom:20px;
}