/* =============================================
   폰플러스2013 - 메인 스타일시트
   브랜드 컬러: #00BFBF (청록), #1428A0 (삼성블루)
   디자인 스타일: 삼성모바일 레퍼런스 (심플, 신뢰감)
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --cyan: #00BFBF;
  --cyan-dark: #009999;
  --cyan-light: #E0F7F7;
  --blue: #1428A0;
  --blue-dark: #0d1d7a;
  --white: #ffffff;
  --black: #000000;
  --gray-50:  #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --text-primary: #1A1A1A;
  --text-secondary: #555;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
#header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

.logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 48px; width: auto; object-fit: contain; }

.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: 4px; align-items: center; }
.gnb ul li a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.gnb ul li a:hover { color: var(--cyan); background: var(--cyan-light); }

.btn-consult {
  background: var(--cyan);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-consult:hover { background: var(--cyan-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--cyan) 0%, #00A8A8 40%, #0090A8 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0,0,80,0.15) 0%, transparent 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-title .highlight {
  color: #FFF176;
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  line-height: 1.8;
}
.hero-desc strong { color: #FFF176; font-weight: 700; }

/* 히어로 페인포인트 */
.hero-pain-points {
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
}
.pain-item i {
  color: #FFD600;
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pain-point-cta {
  margin-top: 4px;
  font-size: 0.88rem;
  color: #FFF176;
  padding-left: 2px;
}
.pain-point-cta strong {
  color: #FFD600;
  font-weight: 700;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary {
  background: var(--white);
  color: var(--cyan-dark);
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.6);
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.badge i { color: #FFF176; }
.badge-highlight {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 500;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-banner {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: floatY 4s ease-in-out infinite;
  width: 100%;
  max-width: 520px;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}
.trust-item + .trust-item { border-left: 1px solid var(--gray-200); }
.trust-item i {
  font-size: 2rem;
  color: var(--cyan);
  flex-shrink: 0;
}
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.trust-item span { font-size: 0.82rem; color: var(--gray-600); }

/* =============================================
   SECTION COMMON
   ============================================= */
section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header.light .section-eyebrow { color: rgba(255,255,255,0.8); }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-header.light .section-title { color: var(--white); }
.section-desc { font-size: 1rem; color: var(--gray-600); max-width: 560px; margin: 0 auto; }

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--gray-50); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--cyan);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card.featured {
  background: linear-gradient(145deg, var(--cyan), var(--cyan-dark));
  border-color: transparent;
  color: var(--white);
}
.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-list li { color: rgba(255,255,255,0.95); }
.service-card.featured .service-list li i { color: #FFF176; }

.badge-popular {
  position: absolute;
  top: 20px; right: 20px;
  background: #FFF176;
  color: #333;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}

.service-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
}
.service-icon.cyan { background: var(--cyan-light); color: var(--cyan); }
.service-icon.white { background: rgba(255,255,255,0.25); color: var(--white); }

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }

.service-list { margin-bottom: 28px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
  padding: 5px 0;
}
.service-list li i { color: var(--cyan); font-size: 0.75rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  transition: var(--transition);
}
.service-card.featured .card-link { color: rgba(255,255,255,0.9); }
.card-link:hover { gap: 10px; }

/* =============================================
   PLANS
   ============================================= */
.plans { background: var(--white); }

.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.plan-tab {
  padding: 10px 28px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
}
.plan-tab:hover { border-color: var(--cyan); color: var(--cyan); }
.plan-tab.active { background: var(--cyan); color: var(--white); border-color: var(--cyan); }

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  background: var(--white);
}
.plan-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); }
.plan-card.popular {
  border-color: var(--cyan);
  background: linear-gradient(160deg, #F0FAFA 0%, var(--white) 100%);
}
.plan-card.hidden { display: none; }

.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}

.plan-carrier {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.plan-card h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }

.plan-price {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.plan-price span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan-dark);
}

.plan-data {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-card ul { margin-bottom: 28px; }
.plan-card ul li {
  padding: 7px 0;
  font-size: 0.87rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-card ul li::before {
  content: '·';
  color: var(--cyan);
  font-weight: 700;
}

.plan-btn {
  display: block;
  text-align: center;
  background: var(--cyan);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}
.plan-btn:hover { background: var(--cyan-dark); transform: translateY(-1px); }

.plan-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* =============================================
   BENEFITS
   ============================================= */
.benefits {
  background: linear-gradient(135deg, var(--cyan) 0%, #009999 100%);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
}
.benefit-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.benefit-item.open {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,214,0,0.55);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 20px;
}

.benefit-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.benefit-arrow {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.benefit-item.open .benefit-arrow {
  transform: rotate(180deg);
  color: #FFD600;
}

.benefit-summary { font-size: 0.875rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 0; }

/* 상세 내용 (아코디언) */
.benefit-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  margin-top: 0;
}
.benefit-item.open .benefit-detail {
  max-height: 320px;
  opacity: 1;
  margin-top: 18px;
}
.benefit-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
}
.benefit-detail ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.855rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
}
.benefit-detail ul li i {
  color: #FFD600;
  font-size: 0.78rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.howto { background: var(--gray-50); }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.step {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  max-width: 240px;
}
.step:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan-light);
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.step-icon {
  width: 56px; height: 56px;
  background: var(--cyan-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--cyan);
  margin: 0 auto 16px;
}

.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.6; }

.step-arrow {
  flex-shrink: 0;
  padding: 40px 8px 0;
  color: var(--cyan);
  font-size: 1.2rem;
  align-self: center;
  margin-top: -20px;
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews { background: var(--white); }

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.rating-summary .stars { color: #FFB800; font-size: 1.1rem; display: flex; gap: 3px; }
.rating-summary strong { font-size: 1.6rem; font-weight: 800; color: var(--text-primary); }
.rating-summary span { font-size: 0.875rem; color: var(--gray-600); }

.review-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.review-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); background: var(--white); }

.review-stars { color: #FFB800; font-size: 0.9rem; margin-bottom: 16px; display: flex; gap: 2px; }
.review-card > p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.review-card > p::before { content: '"'; font-size: 1.5rem; color: var(--cyan); line-height: 0; vertical-align: -8px; margin-right: 4px; }
.review-card > p::after { content: '"'; font-size: 1.5rem; color: var(--cyan); line-height: 0; vertical-align: -8px; margin-left: 4px; }

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer .avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.reviewer div { display: flex; flex-direction: column; }
.reviewer strong { font-size: 0.875rem; font-weight: 600; }
.reviewer small { font-size: 0.78rem; color: var(--gray-500); }

/* =============================================
   REVIEW WRITE FORM
   ============================================= */
.review-write-wrap {
  margin-bottom: 40px;
  text-align: center;
}
.review-write-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,188,212,0.3);
}
.review-write-toggle:hover { background: var(--cyan-dark); transform: translateY(-2px); }

.review-form-box {
  background: var(--white);
  border: 2px solid var(--cyan);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin-top: 20px;
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.3s ease;
}
.review-form-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rf-group {
  margin-bottom: 18px;
}
.rf-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.rf-opt { font-size: 0.78rem; color: var(--gray-500); font-weight: 400; }
.rf-group input,
.rf-group select,
.rf-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  background: var(--gray-50);
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.rf-group input:focus,
.rf-group select:focus,
.rf-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
}
.rf-group textarea { resize: vertical; min-height: 90px; }

/* 별점 선택 */
.star-rating {
  display: flex;
  gap: 6px;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--gray-300);
}
.star-rating i { transition: color 0.15s; }
.star-rating i.active,
.star-rating i.hover { color: #FFB800; }

/* 사진 업로드 */
.photo-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 24px 16px;
  cursor: pointer;
  background: var(--gray-50);
  transition: border-color 0.2s, background 0.2s;
}
.photo-upload-area:hover { border-color: var(--cyan); background: #e0f7fa; }
.photo-upload-area i { font-size: 1.8rem; color: var(--cyan); }
.photo-upload-area span { font-size: 0.9rem; color: var(--gray-600); }
.photo-upload-area small { font-size: 0.78rem; color: var(--gray-400); }

.photo-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.photo-preview-item {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gray-200);
}
.photo-preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-preview-item .del-photo {
  position: absolute;
  top: 3px; right: 3px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rf-submit {
  width: 100%;
  background: var(--cyan);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: var(--transition);
}
.rf-submit:hover { background: var(--cyan-dark); transform: translateY(-2px); }
.rf-success {
  text-align: center;
  padding: 32px 16px;
}
.rf-success i { font-size: 2.5rem; color: var(--cyan); display: block; margin-bottom: 12px; }
.rf-success p { font-size: 1rem; color: var(--gray-700); }

/* 후기 카드 (동적) */
.review-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.review-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  transition: var(--transition);
}
.review-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); background: var(--white); }
.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-card-header .avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card-meta { flex: 1; }
.review-card-meta strong { display: block; font-size: 0.9rem; font-weight: 700; }
.review-card-meta small { font-size: 0.78rem; color: var(--gray-500); }
.review-card-stars { color: #FFB800; font-size: 0.85rem; display: flex; gap: 2px; margin-bottom: 10px; }
.review-card-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
}
.review-card-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.review-card-photos img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: transform 0.2s;
}
.review-card-photos img:hover { transform: scale(1.05); }
.review-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--gray-500);
  font-size: 0.95rem;
}
.review-more-wrap { text-align: center; margin-top: 32px; }
.review-more-btn {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.review-more-btn:hover { background: var(--cyan); color: var(--white); }

/* 사진 라이트박스 */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 모바일 리뷰 폼 */
@media (max-width: 768px) {
  .review-form-box { padding: 24px 18px; }
  .review-cards { grid-template-columns: 1fr; }
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--gray-900);
  padding: 100px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-eyebrow.light { color: var(--cyan); }

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: var(--transition);
}
.contact-method:hover { background: rgba(255,255,255,0.14); border-color: var(--cyan); }
.contact-method i {
  width: 44px; height: 44px;
  background: var(--cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.contact-method.kakao i { background: #FEE500; color: #3C1E1E; }

/* 카카오 로고 이미지 공통 */
.kakao-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.kakao-logo-sm {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  border-radius: 4px;
}
/* 상담 섹션 카카오 아이콘 영역 */
.contact-method.kakao .kakao-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.contact-method div { display: flex; flex-direction: column; gap: 2px; }
.contact-method strong { font-size: 0.9rem; color: var(--white); font-weight: 600; }
.contact-method span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

.contact-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.contact-hours i { color: var(--cyan); }

/* SNS 버튼 그룹 */
.contact-sns {
  margin-top: 24px;
  margin-bottom: 8px;
}
.sns-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.03em;
}
.sns-label i { color: var(--cyan); font-size: 0.72rem; }
.sns-btns-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
/* 로고 이미지 아이콘 버튼 */
.sns-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  background: transparent;
}
.sns-icon-btn img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.sns-icon-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
/* 푸터 SNS 링크 */
.footer-sns-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-sns-link:hover { color: #fff; }
.footer-sns-icon {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

/* 모달 인스타 버튼 */
.modal-insta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.modal-insta:hover { opacity: 0.88; }
.modal-insta i { font-size: 1.1rem; }

/* ---- Form ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.req { color: var(--cyan); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,191,191,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check label { font-size: 0.82rem; color: var(--gray-600); }

.btn-submit {
  width: 100%;
  background: var(--cyan);
  color: var(--white);
  padding: 15px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-submit:hover { background: var(--cyan-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success i { font-size: 4rem; color: var(--cyan); margin-bottom: 20px; display: block; }
.form-success h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.form-success p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; }
.hidden { display: none !important; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #111;
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-img { height: 52px; width: auto; object-fit: contain; margin-bottom: 12px; filter: brightness(1.1); }
.footer-logo p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col strong { font-size: 0.875rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 4px; }
.footer-col a,
.footer-col span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-biz-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 6px 0;
}
.footer-biz-info .divider {
  color: rgba(255,255,255,0.15);
}
@media (max-width: 600px) {
  .footer-biz-info .divider { display: none; }
  .footer-biz-info span { width: 100%; }
}
.footer-disclaimer { margin-top: 6px; }

/* =============================================
   FLOATING CTA & BACK TO TOP
   ============================================= */
.float-cta {
  position: fixed;
  bottom: 80px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.float-btn:hover { transform: scale(1.1); }
.phone-btn { background: var(--cyan); }
.consult-btn { background: var(--blue); }

/* 카카오 플로팅 버튼 */
.kakao-float-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #FEE500;
  border-radius: 50px;
  padding: 10px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: kakaoFloat 2.5s ease-in-out infinite;
}
.kakao-float-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.kakao-float-btn img {
  width: 32px;
  height: 32px;
}
.kakao-float-btn span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #3A1D1D;
  text-align: center;
  line-height: 1.3;
}
@keyframes kakaoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
body.bb-active .kakao-float-btn {
  bottom: 150px;
}

.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
  backdrop-filter: blur(4px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--cyan); transform: translateY(-3px); }

/* =============================================
   MOBILE NAV OVERLAY
   ============================================= */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .btn-consult { display: none; }

  .gnb {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 24px 28px;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .gnb.open { transform: translateY(0); }
  .gnb ul { flex-direction: column; gap: 4px; }
  .gnb ul li a { display: block; padding: 12px 16px; font-size: 1rem; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; padding-top: 40px; }
  .hero-btns { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-banner { max-width: 340px; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-item + .trust-item { border-left: none; }
  .trust-item:nth-child(odd) + .trust-item { border-left: 1px solid var(--gray-200); }
  .trust-item:nth-child(3) { border-top: 1px solid var(--gray-200); padding-top: 20px; }
  .trust-item:nth-child(4) { border-left: 1px solid var(--gray-200); border-top: 1px solid var(--gray-200); padding-top: 20px; }
  .trust-item:nth-child(5) { border-top: 1px solid var(--gray-200); padding-top: 20px; }

  /* Services */
  .service-cards { grid-template-columns: 1fr; }

  /* Plans */
  .plan-cards { grid-template-columns: 1fr; }

  /* Benefits */
  .benefit-grid { grid-template-columns: 1fr 1fr; }

  /* Steps */
  .steps { flex-direction: column; align-items: center; gap: 16px; }
  .step { max-width: 100%; width: 100%; }
  .step-arrow { transform: rotate(90deg); padding: 0; margin: 0; }

  /* Reviews */
  .review-cards { grid-template-columns: 1fr; }

  /* Contact - 아래 768px 블록에서 상세 처리 */
  .contact-inner { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  section { padding: 72px 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.9rem; }
}

/* =============================================
   ANIMATIONS / TRANSITIONS
   ============================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }

/* Accent underline for nav active */
.gnb ul li a.active { color: var(--cyan); }

/* =============================================
   BOTTOM BAR - 노란 상담예약 버튼형
   ============================================= */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1050;
  background: var(--white);
  border-top: 3px solid #FFD600;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.13);
  padding: 10px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.bottom-bar.visible {
  transform: translateY(0);
}
.bb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 좌측: 매장 안내 텍스트 */
.bb-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.bb-info i { color: var(--cyan); font-size: 1.1rem; }
.bb-info span { font-size: 0.85rem; color: var(--gray-700); line-height: 1.4; }
.bb-info strong { color: var(--text-primary); font-weight: 700; }

/* 우측: 버튼 그룹 */
.bb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 노란 상담예약 버튼 - 아정당 스타일 */
.bb-consult-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFD600;
  color: #1A1A1A;
  border: none;
  border-radius: 50px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255,214,0,0.45);
  transition: var(--transition);
  letter-spacing: -0.01em;
}
.bb-consult-btn i { font-size: 1rem; }
.bb-consult-btn:hover {
  background: #FFC400;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(255,196,0,0.55);
}
.bb-consult-btn:active { transform: translateY(0); }

/* 전화버튼 */
.bb-call {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-900);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  text-decoration: none;
}
.bb-call:hover { background: var(--cyan); color: var(--white); }
.bb-call i { font-size: 0.9rem; }
/* 카톡 버튼 */
.bb-kakao {
  background: #FEE500;
  color: #3A1D1D;
}
.bb-kakao:hover { background: #F0D800; color: #3A1D1D; }

/* 바텀바 보일 때 페이지 패딩 (JS에서 --bb-height 동적 주입) */
body.bb-active { padding-bottom: var(--bb-height, 72px); }

/* =============================================
   상담 예약 모달
   ============================================= */

/* 배경 오버레이 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 모달 박스 */
.consult-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  z-index: 2100;
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
  scrollbar-width: none;
}
.consult-modal::-webkit-scrollbar { display: none; }
.consult-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* 모달 헤더 - 노란색 */
.modal-header {
  background: #FFD600;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px 20px 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.modal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7A6000;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  border: none;
  color: #1A1A1A;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,0.2); }

/* 모달 안내 배너 */
.modal-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFDE7;
  border-bottom: 1px solid #FFF176;
  padding: 12px 22px;
}
.modal-notice i { color: #E6A000; font-size: 1rem; flex-shrink: 0; }
.modal-notice p { font-size: 0.85rem; color: var(--gray-700); }
.modal-notice strong { color: var(--cyan-dark); }

/* 모달 폼 */
.modal-form { padding: 22px 22px 0; }

.modal-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-field {
  margin-bottom: 14px;
}
.modal-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: #FFD600;
  box-shadow: 0 0 0 3px rgba(255,214,0,0.18);
}
.modal-field textarea {
  resize: none;
  min-height: 80px;
}

/* 동의 체크 */
.modal-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 16px;
}
.modal-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #FFD600;
  flex-shrink: 0;
  cursor: pointer;
}
.modal-check label {
  font-size: 0.8rem;
  color: var(--gray-600);
  cursor: pointer;
}

/* 제출 버튼 */
.modal-submit {
  width: 100%;
  background: #FFD600;
  color: #1A1A1A;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(255,214,0,0.4);
  transition: var(--transition);
  letter-spacing: -0.01em;
}
.modal-submit:hover { background: #FFC400; transform: translateY(-2px); box-shadow: 0 7px 22px rgba(255,196,0,0.5); }
.modal-submit:active { transform: translateY(0); }

/* 완료 메시지 */
.modal-success {
  text-align: center;
  padding: 50px 24px 32px;
}
.modal-success i { font-size: 3.5rem; color: var(--cyan); display: block; margin-bottom: 16px; }
.modal-success h4 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.modal-success p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; }
.modal-success-close {
  background: #FFD600;
  color: #1A1A1A;
  border: none;
  padding: 12px 40px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}
.modal-success-close:hover { background: #FFC400; }

/* 하단 직접 연락 */
.modal-footer {
  display: flex;
  gap: 10px;
  padding: 16px 22px 22px;
}
.modal-call,
.modal-kakao {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.modal-call {
  background: var(--gray-100);
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
}
.modal-call:hover { background: var(--gray-200); }
.modal-kakao {
  background: #FEE500;
  color: #3C1E1E;
}
.modal-kakao:hover { background: #F0D800; }

/* 모달 열릴 때 body 스크롤 막기 */
body.modal-open { overflow: hidden; }

/* ---- 모달 모바일 반응형 ---- */
@media (max-width: 540px) {
  .consult-modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(20px) scale(1);
  }
  .consult-modal.active {
    transform: translateY(0) scale(1);
  }
  .modal-header { border-radius: 20px 20px 0 0; }
  .modal-field-row { grid-template-columns: 1fr; gap: 0; }
  .modal-form { padding: 18px 16px 0; }
  .modal-footer { padding: 12px 16px 20px; }
  .modal-header { padding: 16px 16px; }
  .modal-notice { padding: 10px 16px; }
}

/* =============================================
   BOTTOM BAR 반응형
   ============================================= */
@media (max-width: 900px) {
  .bb-info { display: none; }
}

@media (max-width: 768px) {
  /* ---- 하단바: 모바일 최적화 ---- */
  .bb-inner {
    padding: 10px 16px;
    gap: 10px;
  }
  .bb-info { display: none; } /* 모바일에서 텍스트 숨김, 버튼만 */
  .bb-actions { flex: 1; gap: 8px; }
  /* 상담예약 버튼 - 모바일에서 더 크게 */
  .bb-consult-btn {
    flex: 1;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 12px;
  }
  /* 전화버튼 - 아이콘만 */
  .bb-call {
    padding: 14px 16px;
    border-radius: 12px;
    flex-shrink: 0;
  }
  .bb-call span { display: none; }

  /* 하단바 높이만큼 페이지 패딩 증가 */
  body.bb-active { padding-bottom: 80px; }
  body.bb-active .back-to-top { bottom: 90px; }

  /* ---- Contact 섹션 폼 모바일 ---- */
  .contact {
    padding: 60px 0 140px; /* 하단바 높이만큼 충분한 여백 */
  }
  .contact-inner {
    gap: 28px;
  }
  /* 폼 카드 - 높이 제한 완전 제거, 내용 모두 보이게 */
  .contact-form-wrap {
    padding: 24px 20px 32px;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 16px;
  }
  /* 폼 자체도 height 제한 없애기 */
  .contact-form {
    height: auto !important;
    overflow: visible !important;
  }
  .contact-form h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  /* 폼 그룹 간격 줄여 공간 확보 */
  .form-group {
    margin-bottom: 14px;
  }
  .form-group label {
    font-size: 0.82rem;
    margin-bottom: 5px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 14px;
    font-size: 0.9rem;
  }
  /* 텍스트에어리어 높이 조정 */
  .form-group textarea {
    min-height: 88px;
    resize: none;
  }
  /* 체크박스 터치 영역 확보 */
  .form-check {
    margin-bottom: 18px;
    gap: 12px;
    align-items: center;
  }
  .form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  .form-check label {
    font-size: 0.82rem;
  }
  /* 신청 버튼 - 충분한 높이로 탭하기 편하게 */
  .btn-submit {
    padding: 16px;
    font-size: 1rem;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .widget-panel { width: calc(100vw - 52px); }
  .bb-consult-btn { font-size: 0.92rem; padding: 13px 12px; }
}

/* back-to-top 기본 위치 조정 (바텀바 있을 때) */
body.bb-active .back-to-top { bottom: 90px; }
