/* =========================================
   타죠 홈페이지 리뉴얼 - style.css
   메인칼라: #d24619 / 서브칼라: #1e783c
========================================= */

/* ===== 타이틀 전용 폰트 (G마켓 산스) ===== */
@font-face {
  font-family: 'GmarketSans';
  src: url('../fonts/GmarketSansLight.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('../fonts/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('../fonts/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --main-color: #d24619;
  --main-color-dark: #b23a14;
  --main-color-light: #f0703f;
  --sub-color: #1e783c;
  --sub-color-dark: #145a2c;
  --text-dark: #2b2119;
  --text-gray: #6b625b;
  --bg-cream: #fff8f0;
  --bg-white: #ffffff;
  --max-width: 1024px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(210, 70, 25, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.section-inner, .header-inner, .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--main-color);
  color: #fff;
  box-shadow: 0 8px 20px rgba(210, 70, 25, 0.35);
}
.btn-primary:hover {
  background: var(--main-color-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: #fff;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}
.btn-outline:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 76px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: height 0.25s ease;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 44px; width: auto; }

.gnb ul {
  display: flex;
  gap: 40px;
}
.gnb a.nav-link {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  position: relative;
  padding: 6px 2px;
}
.gnb a.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 3px;
  background: var(--main-color);
  transition: width 0.25s ease;
  border-radius: 3px;
}
.gnb a.nav-link:hover::after,
.gnb a.nav-link.active::after {
  width: 100%;
}
.gnb a.nav-link:hover { color: var(--main-color); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-dim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}
.mobile-nav-dim.active { display: block; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 0 0;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: -60px 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: calc(100% + 60px);
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(210, 70, 25, 0.78) 0%, rgba(178, 58, 20, 0.82) 55%, rgba(120, 35, 12, 0.88) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px 100px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-text {
  text-align: center;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-block;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(2px);
}
.hero-text h1 {
  font-family: 'GmarketSans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
  letter-spacing: -0.5px;
}
.hero-text h1 span { color: #ffe4a3; }
.hero-desc {
  font-size: 16.5px;
  color: #fff;
  opacity: 0.95;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-wave {
  position: relative;
  z-index: 2;
  height: 60px;
  background: var(--bg-white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.5);
  margin-top: auto;
}

/* ===== Section common ===== */
.section {
  padding: 90px 0;
  background: var(--bg-white);
}
.section-alt {
  background: var(--bg-cream);
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--main-color);
  background: rgba(210, 70, 25, 0.08);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: 'GmarketSans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-head p {
  color: var(--text-gray);
  font-size: 15.5px;
}

/* ===== Service Section (01/02/03 지그재그 레이아웃) ===== */
.service-row {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 56px 0;
  border-bottom: 1px solid #f2e9df;
}
.service-row.reverse { flex-direction: row-reverse; }
.service-row:last-of-type { border-bottom: none; }
.service-row-text { flex: 1; }
.service-row-img { flex: 0.9; }
.service-row-img img {
  width: 100%;
  display: block;
}
.service-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.service-row-title {
  font-family: 'GmarketSans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.45;
  color: var(--sub-color);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.service-row-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}
.service-banner {
  background: linear-gradient(120deg, var(--sub-color), var(--sub-color-dark));
  border-radius: var(--radius);
  padding: 44px 36px;
  text-align: center;
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 120, 60, 0.25);
}
.banner-text h3 {
  font-family: 'GmarketSans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.banner-text p {
  font-size: 14.5px;
  opacity: 0.92;
}

/* ===== Program Download Center ===== */
.program-download {
  padding: 0 0 90px;
  background: var(--bg-cream);
}
.program-hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background: #1a1310;
}
.program-hero-bg {
  position: absolute;
  inset: 0;
}
.program-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-hero-dim {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 8, 0.72);
}
.program-hero-inner {
  position: relative;
  text-align: center;
  color: #fff;
}
.program-eyebrow {
  font-size: 15px;
  font-weight: 700;
  color: var(--main-color-light);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.program-title {
  font-family: 'GmarketSans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.program-desc {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

/* 관리 프로그램 설쉱하기 : 원본 사이트 실제 구조 재현
   PC버전 2종(총판 매니저용/가맹점용) + 모바일버전 3종(총판 매니저용/가맹점용/배송원용) */
.install-section {
  margin-top: -60px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
  padding: 44px 40px 40px;
  margin-bottom: 70px;
}
.install-head { text-align: center; margin-bottom: 36px; }
.install-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--main-color);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.install-title {
  font-family: 'GmarketSans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.install-group { margin-bottom: 30px; }
.install-group:last-of-type { margin-bottom: 0; }
.install-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 16px;
}
.install-group-label-pc { color: var(--main-color); }
.install-group-label-mobile { color: var(--sub-color); }

.install-cards {
  display: grid;
  gap: 20px;
}
.install-cards-pc { grid-template-columns: repeat(2, 1fr); }
.install-cards-mobile { grid-template-columns: repeat(3, 1fr); }

.install-card {
  position: relative;
  background: var(--bg-cream);
  border-radius: 16px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #f5e7db;
}
.install-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.install-badge-pc { color: var(--main-color); background: rgba(210, 70, 25, 0.1); }
.install-badge-mobile { color: var(--sub-color); background: rgba(30, 120, 60, 0.1); }

.install-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.install-icon-pc { background: linear-gradient(145deg, #fff1e6, #ffe0cd); color: var(--main-color); }
.install-icon-mobile { background: linear-gradient(145deg, #eafaf0, #d9f2e3); color: var(--sub-color); }

.install-card h4 {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.install-card p {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.btn-install {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-install:hover {
  transform: translateY(-2px);
}
.btn-install:active {
  transform: translateY(0);
}
.btn-install-pc { background: var(--main-color); }
.btn-install-pc:hover {
  background: var(--main-color-dark);
  box-shadow: 0 8px 16px rgba(210, 70, 25, 0.3);
}
.btn-install-mobile { background: var(--sub-color); }
.btn-install-mobile:hover {
  background: var(--sub-color-dark);
  box-shadow: 0 8px 16px rgba(30, 120, 60, 0.3);
}

.install-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 34px;
  padding: 20px 22px;
  background: #fdf6e8;
  border: 1px solid #f3e3b8;
  border-radius: 14px;
}
.install-notice i { color: #d99a1f; font-size: 18px; margin-top: 2px; }
.install-notice-text strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.install-notice-text p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* 운영 프로그램 지원 항목 - PC 버전(가로 1줄 3열) / 모바일 버전(세로 리스트)을
   완전히 별도의 DOM으로 구성하여 원본 사이트의 pc_section / mobile_section
   위젯 트리 방식과 동일하게 PC·모바일 레이아웃을 구조적으로 분리한다. */
.program-list { margin-bottom: 20px; }

/* --- PC 버전: 가로 1줄 3열 그리드 --- */
.program-list-pc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 56px;
}
.program-list-pc .program-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 38px 26px 34px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--main-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-list-pc .program-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(210, 70, 25, 0.2);
}
.program-list-pc .program-icon {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #f2e6da;
  box-shadow: 0 6px 16px rgba(210, 70, 25, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.program-list-pc .program-icon img { width: 56%; height: 56%; object-fit: contain; }
.program-list-pc .program-content h3 {
  font-size: 18.5px;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.program-list-pc .program-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.65;
}

/* --- 모바일 버전: 세로 1열 리스트 (아이콘 좌측 + 텍스트 우측) --- */
.program-list-mobile { display: none; }
.program-list-mobile .program-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--main-color);
  margin-bottom: 14px;
}
.program-list-mobile .program-item:last-child { margin-bottom: 0; }
.program-list-mobile .program-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #f2e6da;
  box-shadow: 0 4px 10px rgba(210, 70, 25, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.program-list-mobile .program-icon img { width: 56%; height: 56%; object-fit: contain; }
.program-list-mobile .program-content h3 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.program-list-mobile .program-content p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.55;
}

/* ===== Contact Section ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

/* 카카오채널 문의 카드 */
.contact-kakao {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #ffe14d 0%, #fbc531 55%, #f6b40f 100%);
  border-radius: 24px;
  padding: 48px 38px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(251, 197, 49, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-kakao::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}
.contact-kakao::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}
.contact-kakao-icon {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #3c1e1e;
  color: #ffe14d;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}
.contact-kakao h3 {
  position: relative;
  z-index: 1;
  font-family: 'GmarketSans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.5;
  color: #3c1e1e;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.contact-kakao p {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  line-height: 1.75;
  color: #5c3f14;
  opacity: 0.92;
  margin-bottom: 28px;
}
.btn-kakao {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  background: #3c1e1e;
  color: #ffe14d;
  box-shadow: 0 10px 24px rgba(60, 30, 30, 0.3);
  transition: all 0.25s ease;
}
.btn-kakao:hover {
  background: #241010;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(60, 30, 30, 0.35);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 고객센터 + 운영시간 묶음 카드 */
.info-card-split {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 28px rgba(210, 70, 25, 0.1);
  border: 1px solid #f5e7db;
  display: flex;
  align-items: stretch;
  flex: 1;
  overflow: hidden;
}
.info-card-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 22px;
}
.info-card-divider {
  width: 1px;
  background: #f0e4da;
  margin: 20px 0;
}
.info-card-item i {
  font-size: 22px;
  color: var(--main-color);
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #fff1e6, #ffe0cd);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-card-item h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
}
.info-card-item p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-gray);
}

/* 오시는 길 카드 */
.info-card-location {
  background: #fff;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 10px 28px rgba(210, 70, 25, 0.1);
  border: 1px solid #f5e7db;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.info-card-location i {
  font-size: 22px;
  color: #fff;
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--sub-color), var(--sub-color-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-card-location-text { flex: 1; min-width: 0; }
.info-card-location-text h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
}
.info-card-location-text p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-gray);
}
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sub-color);
  background: rgba(30, 120, 60, 0.08);
  border: 1.5px solid rgba(30, 120, 60, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-map:hover {
  background: var(--sub-color);
  color: #fff;
  border-color: var(--sub-color);
}

/* ===== Footer ===== */
.site-footer {
  background: #2b2119;
  color: #d8cfc6;
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-logo img { height: 46px; width: auto; }
.footer-info p {
  font-size: 13px;
  margin-bottom: 6px;
  color: #b5aca3;
}
.footer-info .copyright {
  margin-top: 10px;
  color: #8a8079;
}

/* ===== Top Button ===== */
.top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: var(--main-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(210,70,25,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 500;
}
.top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.top-btn:hover { background: var(--main-color-dark); }

/* =========================================
   Responsive
========================================= */
@media (max-width: 1024px) {
  .header-inner, .section-inner, .footer-inner { padding: 0 24px; }
}

@media (max-width: 860px) {
  .hero { min-height: 520px; }
  .hero-inner { padding: 40px 20px 80px; }
  .hero-text h1 { font-size: 34px; }
  .hero-btns { justify-content: center; }

  .service-grid { grid-template-columns: 1fr; }
  .service-title { font-size: 22px; }
  .install-section { margin-top: -40px; padding: 32px 24px 30px; }
  .install-cards-pc,
  .install-cards-mobile { grid-template-columns: 1fr; }
  .program-hero { padding: 90px 0 70px; }
  .program-title { font-size: 26px; }

  /* 원본 사이트의 pc_section/mobile_section 구조처럼 PC용 가로 3열
     레이아웃과 모바일용 세로 리스트 레이아웃을 완전히 별도 DOM으로 전환 */
  .program-list-pc { display: none; }
  .program-list-mobile { display: block; }

  .contact-wrap { grid-template-columns: 1fr; }
  .contact-kakao { padding: 36px 24px; }
  .info-card-split { flex-direction: column; }
  .info-card-divider { width: auto; height: 1px; margin: 0 22px; }
}

@media (max-width: 720px) {
  .gnb { 
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 1050;
    padding-top: 100px;
  }
  .gnb.active { right: 0; }
  .gnb ul {
    flex-direction: column;
    gap: 0;
  }
  .gnb ul li { border-bottom: 1px solid #f2ece6; }
  .gnb a.nav-link {
    display: block;
    padding: 18px 30px;
    font-size: 17px;
  }
  .menu-toggle { display: flex; }
  .site-header { height: 66px; }
  .hero { padding-top: 100px; }
  .logo img { height: 36px; }
}

@media (max-width: 560px) {
  .hero { min-height: 460px; }
  .hero-inner { padding: 30px 16px 70px; }
  .hero-text h1 { font-size: 28px; }
  .hero-desc { font-size: 14.5px; }
  .btn { padding: 12px 24px; font-size: 14.5px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .top-btn { width: 42px; height: 42px; right: 16px; bottom: 16px; }
  .program-hero { padding: 80px 0 60px; }
  .program-title { font-size: 22px; }
  .program-desc { font-size: 14.5px; }
  .install-title { font-size: 20px; }
  .install-notice { flex-direction: column; }
  .service-row { padding: 32px 0; gap: 18px; }
  .service-row-title { font-size: 21px; }
  .service-row-desc { font-size: 14.5px; }
  .contact-kakao h3 { font-size: 20px; }
  .info-card-location { flex-direction: column; text-align: center; }
  .btn-map { width: 100%; justify-content: center; }
}
