/* ══════════════════════════════════
   BLOOM — LANDING CSS (v4 — 시안A 피드형)
   PC 2컬럼 히어로 + 3컬럼 그리드
   Mobile: 단일컬럼 + 하단탭
══════════════════════════════════ */

/* ═══ HERO ═══ */
.hero { padding: 0; margin: 0; background: none; min-height: auto; display: block; position: relative; }
.hero::after { display: none; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 3; }
.hero-wave svg { width: 100%; height: 60px; display: block; }
.hero-bg {
  background: linear-gradient(135deg, #4a3f8a 0%, #6b4c9a 20%, #9b6bb0 40%, #c78dbd 60%, #e8a7c8 80%, #f2c4d0 100%);
  min-height: 520px; display: flex; align-items: center; position: relative; overflow: hidden;
}
/* 소프트 빛 오버레이 — 웨딩 분위기 */
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 80%, rgba(255,182,193,.25) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 85% 20%, rgba(255,228,225,.18) 0%, transparent 60%),
    radial-gradient(ellipse 300px 300px at 50% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
  z-index: 0;
}
/* 플로럴 텍스처 + 보케 파티클 */
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cstyle%3E.p%7Bfill:rgba(255,255,255,.035)%7D%3C/style%3E%3C/defs%3E%3Ccircle class='p' cx='30' cy='30' r='18'/%3E%3Ccircle class='p' cx='170' cy='60' r='12'/%3E%3Ccircle class='p' cx='80' cy='150' r='22'/%3E%3Ccircle class='p' cx='150' cy='170' r='8'/%3E%3Ccircle class='p' cx='100' cy='40' r='6'/%3E%3Cpath class='p' d='M60 100c0-8 6-14 10-14s10 6 10 14-6 14-10 14-10-6-10-14z'/%3E%3Cpath class='p' d='M140 110c-4-7 0-16 5-18s12 3 16 10c4 7 0 16-5 18s-12-3-16-10z'/%3E%3C/svg%3E") repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cdefs%3E%3CradialGradient id='g1'%3E%3Cstop offset='0%25' stop-color='%23fff' stop-opacity='.08'/%3E%3Cstop offset='100%25' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='g2'%3E%3Cstop offset='0%25' stop-color='%23ffd1dc' stop-opacity='.06'/%3E%3Cstop offset='100%25' stop-color='%23ffd1dc' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='80' cy='80' r='60' fill='url(%23g1)'/%3E%3Ccircle cx='320' cy='120' r='45' fill='url(%23g2)'/%3E%3Ccircle cx='200' cy='300' r='70' fill='url(%23g1)'/%3E%3Ccircle cx='360' cy='340' r='35' fill='url(%23g2)'/%3E%3Ccircle cx='50' cy='280' r='25' fill='url(%23g1)'/%3E%3C/svg%3E") repeat;
  animation: heroBokeh 20s linear infinite;
}
@keyframes heroBokeh {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 200px 100px, -100px 200px; }
}
.hero-inner {
  max-width: var(--content-max, 1200px); margin: 0 auto; padding: 80px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}

/* Hero Text */
.hero-text { animation: heroFadeIn .6s ease both; }
@keyframes heroFadeIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(16px);
  padding: 6px 16px; border-radius: 24px;
  font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.hero-pulse {
  width: 8px; height: 8px; background: #4ade80; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-h1 {
  font-size: 48px; font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -1px;
}
.hero-desc { font-size: 18px; color: rgba(255,255,255,.8); margin: 16px 0 28px; line-height: 1.6; }

.hero-actions { display: flex; gap: 12px; margin-bottom: 40px; }
.hero-btn {
  padding: 14px 28px; border-radius: 28px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: .2s; border: none; text-decoration: none; display: inline-block;
}
.hero-btn-white {
  background: #fff; color: #6b4c9a;
  box-shadow: 0 4px 20px rgba(107,76,154,.2);
}
.hero-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(107,76,154,.3); }
.hero-btn-glass {
  background: rgba(255,255,255,.12); backdrop-filter: blur(12px);
  color: #fff; border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.hero-btn-glass:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 32px; }
.hero-stat { text-align: left; }
.hs-num { font-size: 28px; font-weight: 800; color: #fff; }
.hs-label { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 2px; }

/* Hero Visual (Phone Mockup) */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.hero-phone {
  width: 260px; height: 420px; background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px); border-radius: 32px;
  border: 1px solid rgba(255,255,255,.2); padding: 12px;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.hero-phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; }
.hp-header { background: var(--terracotta, #4F46E5); padding: 16px 14px 12px; color: #fff; }
.hp-logo { font-size: 16px; font-weight: 700; }
.hp-sub { font-size: 10px; opacity: .7; margin-top: 2px; }

.hp-match-card {
  margin: 10px; background: #fff; border-radius: 12px;
  border: 1px solid var(--ink-10, #E5E8EB); padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.hp-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 700; color: var(--terracotta, #4F46E5);
  background: var(--terra-lt, #EEF2FF); padding: 2px 6px; border-radius: 4px; margin-bottom: 6px;
}
.hp-match-row { display: flex; align-items: center; gap: 8px; }
.hp-avatar {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.hp-match-info { flex: 1; font-size: 11px; line-height: 1.4; color: var(--ink-60, #666); }
.hp-match-info strong { display: block; font-size: 12px; color: var(--ink, #1A1A1A); }
.hp-score { font-size: 18px; font-weight: 800; color: var(--terracotta, #4F46E5); }
.hp-feature-text { font-size: 12px; color: var(--ink, #1A1A1A); font-weight: 600; margin-top: 4px; }

.hp-list-item {
  margin: 0 10px; padding: 10px 0; border-bottom: 1px solid var(--ink-10, #E5E8EB);
  display: flex; align-items: center; gap: 8px;
}
.hp-li-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; font-weight: 700;
}
.hp-li-info { flex: 1; font-size: 10px; color: var(--ink-60, #666); }
.hp-li-info strong { display: block; font-size: 11px; color: var(--ink, #1A1A1A); }
.hp-li-star { font-size: 10px; color: var(--gold, #D97706); }

/* Float cards */
.hero-float-card {
  position: absolute; background: rgba(255,255,255,.9); backdrop-filter: blur(16px);
  border-radius: 14px; border: 1px solid rgba(255,255,255,.4);
  padding: 10px 14px; box-shadow: 0 4px 16px rgba(0,0,0,.08); z-index: 3;
  display: flex; align-items: center; gap: 10px;
}
.hero-fc-1 { top: 20px; left: -40px; animation: float1 4s ease-in-out infinite; }
.hero-fc-2 { bottom: 40px; right: -30px; animation: float2 5s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
.hfc-icon { font-size: 16px; }
.hfc-text { font-size: 11px; font-weight: 600; color: var(--ink, #1A1A1A); }
.hfc-sub { font-size: 10px; color: var(--ink-60, #666); }


/* ═══ QUICK ACTIONS ═══ */
.quick-actions-section { padding: 48px 0 0; }
.section-wrap { max-width: var(--content-max, 1200px); margin: 0 auto; padding: 0 40px; }

.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qa-card {
  background: var(--paper, #fff); border-radius: 16px; border: 1px solid var(--ink-10, #E5E8EB);
  padding: 28px 24px; display: flex; align-items: center; gap: 16px;
  cursor: pointer; transition: .25s; text-decoration: none; color: inherit;
}
.qa-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-3px); border-color: var(--terracotta, #4F46E5); }
.qa-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.qa-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.qa-card p { font-size: 12px; color: var(--ink-60, #666); line-height: 1.4; margin: 0; }

/* AI Banner */
.ai-banner {
  margin: 32px 0; background: linear-gradient(135deg, var(--terra-lt, #EEF2FF), #F5F3FF);
  border-radius: 16px; padding: 28px 32px; display: flex; align-items: center; gap: 20px;
  cursor: pointer; transition: .2s; border: 1px solid rgba(79,70,229,.08);
  text-decoration: none; color: inherit;
}
.ai-banner:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.ai-banner-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--terracotta, #4F46E5); display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0; color: #fff;
}
.ai-banner-text { flex: 1; }
.ai-banner-text strong { font-size: 17px; color: var(--ink, #1A1A1A); display: block; }
.ai-banner-text p { font-size: 13px; color: var(--ink-60, #666); margin: 3px 0 0; }
.ai-banner-btn {
  background: var(--terracotta, #4F46E5); color: #fff; padding: 10px 24px;
  border-radius: 24px; font-size: 13px; font-weight: 700; cursor: pointer;
  border: none; white-space: nowrap; transition: .2s;
}
.ai-banner-btn:hover { opacity: .9; }


/* ═══ SECTION HEADERS ═══ */
.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin: 48px 0 24px; }
.sec-title { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1.3; }
.sec-title em { font-style: normal; color: var(--terracotta, #4F46E5); }
.sec-sub { font-size: 14px; color: var(--ink-60, #666); margin-top: 4px; }
.sec-more { font-size: 13px; color: var(--terracotta, #4F46E5); font-weight: 600; cursor: pointer; text-decoration: none; }
.sec-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 24px;
  font-size: 13px; font-weight: 600; color: #4F46E5;
  background: #f5f3ff; border: 1px solid #E9E5FF;
  text-decoration: none; transition: all .2s;
  white-space: nowrap;
}
.sec-more-btn:hover { background: #ede9fe; color: #4338CA; border-color: #C7D2FE; }
.sec-more-btn span { font-size: 15px; }
.section-tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; margin-bottom: 12px;
}


/* ═══ HOW IT WORKS ═══ */
.how-section { padding: 56px 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-card {
  background: var(--paper, #fff); border: 1px solid var(--ink-10, #E5E8EB);
  border-radius: 16px; padding: 32px 28px; transition: .25s; cursor: pointer;
  position: relative; overflow: hidden;
}
.how-card:hover { border-color: var(--terracotta, #4F46E5); box-shadow: 0 4px 16px rgba(0,0,0,.06); transform: translateY(-4px); }
.how-num { font-size: 11px; font-weight: 700; color: var(--ink-30, #999); margin-bottom: 14px; }
.how-card .how-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.how-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.how-card p { font-size: 13px; color: var(--ink-60, #666); line-height: 1.6; margin: 0; }
.how-arrow {
  position: absolute; bottom: 28px; right: 28px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--ink-05, #F2F3F5);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-30, #999); transition: .2s;
}
.how-card:hover .how-arrow { background: var(--terracotta, #4F46E5); color: #fff; }


/* ═══ PLANNER SLIDER v5 ═══ */
.planners-section { padding: 16px 0 56px; }
.planner-slider-wrap {
  position: relative;
}
.planner-slider {
  overflow: hidden;
}
.planner-slider-track {
  display: flex; gap: 16px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.planner-slider-track .pcard-v4 {
  flex: 0 0 calc(25% - 12px);
  min-width: 0;
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid #E5E8EB;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  font-size: 22px; line-height: 1; color: #333;
  cursor: pointer; transition: .2s;
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: #f5f3ff; border-color: #C7D2FE; color: #4F46E5; }
.slider-arrow:disabled { opacity: .3; cursor: default; }
.slider-prev { left: -20px; }
.slider-next { right: -20px; }

/* ── 플래너 카드 (가로형) ── */
.pcard-v4 {
  background: var(--paper, #fff); border-radius: 14px; border: 1px solid var(--ink-10, #E5E8EB);
  overflow: hidden; cursor: pointer; transition: .25s; text-decoration: none; color: inherit;
  display: block; padding: 14px 16px 14px 16px;
}
.pcard-v4:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); transform: translateY(-3px); }

/* 뱃지 행 */
.pcard-v4-badges {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.pcard-v4-badge-tl {
  background: #f5f3ff; padding: 3px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 700; color: var(--terracotta, #4F46E5);
}
.pcard-v4-badge-tr {
  background: #f8f8f8; padding: 3px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 600; color: #555;
}

/* 본문 가로 레이아웃 */
.pcard-v4-row {
  display: flex; align-items: center; gap: 14px;
}
.pcard-v4-info { flex: 1; min-width: 0; }
.pcard-v4-info h3 { font-size: 14px; font-weight: 700; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-v4-meta { font-size: 11px; color: var(--ink-60, #666); margin-bottom: 6px; }
.pcard-v4-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.pcard-v4-tag {
  background: var(--ink-05, #F2F3F5); color: var(--ink-60, #666);
  padding: 2px 7px; border-radius: 5px; font-size: 10px; font-weight: 500;
}
.pcard-v4-bottom { display: flex; align-items: center; gap: 8px; }
.pcard-v4-price { font-size: 13px; font-weight: 700; color: var(--terracotta, #4F46E5); }
.pcard-v4-match {
  font-size: 10px; color: var(--accent, #E8437F); font-weight: 600;
  background: rgba(232,67,127,.08); padding: 3px 8px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 3px;
}
.pcard-v4-match svg { width: 11px; height: 11px; }

/* 프로필 썸네일 (정사각형 + 라운드 코너) */
.pcard-v4-thumb {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 12px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pcard-v4-initial {
  font-size: 22px; font-weight: 700; color: #fff;
}


/* 스크롤 힌트: PC에서는 숨김 */
.planner-scroll-hint { display: none; }

/* ═══ BRAND GRID (웨딩플레이스 둘러보기) ═══ */
.place-section { padding: 0 0 56px; }
.brand-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
}
.brand-card {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: inherit;
  padding: 20px 8px 16px; border-radius: 16px;
  border: 1px solid #f0f0f0; background: #fff;
  transition: all .25s; cursor: pointer;
  text-align: center;
}
.brand-card:hover {
  border-color: #C7D2FE; box-shadow: 0 4px 20px rgba(79,70,229,.1);
  transform: translateY(-3px);
}
.brand-card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.brand-card-icon svg { width: 32px; height: 32px; }
.brand-card-name { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 3px; }
.brand-card-count { font-size: 11px; color: #999; font-weight: 500; }


/* ═══ REVIEW GRID v4 ═══ */
.reviews-section { padding: 0 0 56px; }
.review-grid-v4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card-v4 {
  background: var(--paper, #fff); border-radius: 16px; border: 1px solid var(--ink-10, #E5E8EB);
  padding: 24px; cursor: pointer; transition: .2s;
}
.review-card-v4:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.rv4-stars { color: var(--gold, #D97706); font-size: 14px; margin-bottom: 12px; letter-spacing: 1px; }
.rv4-text {
  font-size: 14px; color: var(--ink, #1A1A1A); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 16px;
}
.rv4-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--ink-10, #E5E8EB);
}
.rv4-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #818CF8);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
}
.rv4-info { font-size: 12px; color: var(--ink-60, #666); }
.rv4-info strong { display: block; color: var(--ink, #1A1A1A); font-size: 14px; margin-bottom: 1px; }


/* ═══ CTA BAND v4 ═══ */
.cta-band-v4 {
  background: var(--ink, #1A1A1A); padding: 64px 40px; text-align: center; margin-top: 48px;
}
.cta-band-v4 h2 { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.cta-band-v4 h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #A78BFA, #F472B6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-band-v4 p { font-size: 15px; color: rgba(255,255,255,.5); margin: 14px 0 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; }
.cta-btn {
  padding: 14px 32px; border-radius: 28px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: .2s; border: none; text-decoration: none; display: inline-block;
}
.cta-btn-white { background: #fff; color: var(--ink, #1A1A1A); }
.cta-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.cta-btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; }
.cta-btn-outline:hover { border-color: rgba(255,255,255,.5); }


/* ═══ FOOTER v4 ═══ */
.footer-v4 { background: var(--warm, #FAFAFA); padding: 40px 40px 24px; }
.footer-v4-inner {
  max-width: var(--content-max, 1200px); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.footer-v4-logo { font-size: 20px; font-weight: 800; color: var(--ink, #1A1A1A); letter-spacing: -.3px; margin-bottom: 6px; }
.footer-v4-logo span { color: var(--accent, #E8437F); }
.footer-v4-left small { font-size: 11px; color: var(--ink-30, #999); display: block; }
.footer-v4-links { display: flex; gap: 24px; }
.footer-v4-links a { text-decoration: none; font-size: 13px; color: var(--ink-60, #666); transition: .2s; }
.footer-v4-links a:hover { color: var(--ink, #1A1A1A); }


/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .planner-slider-track .pcard-v4 { flex: 0 0 calc(33.333% - 11px); }
  .review-grid-v4 { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 60px 24px; }
  .hero-text { text-align: center; }
  .hero-h1 { font-size: 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .section-wrap { padding: 0 20px; }
  .qa-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .planner-slider-track .pcard-v4 { flex: 0 0 calc(50% - 8px); }
  .planner-slider-wrap { margin: 0 -4px; }
  .slider-prev { left: 4px; }
  .slider-next { right: 4px; }
  .footer-v4-inner { flex-direction: column; gap: 16px; align-items: center; text-align: center; }
  .footer-v4-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
  .hero-bg { min-height: 380px; }
  .hero-inner { padding: 40px 20px; }
  .hero-h1 { font-size: 28px; }
  .hero-desc { font-size: 14px; }
  .hero-btn { padding: 12px 20px; font-size: 13px; }
  .hero-stats { gap: 20px; }
  .hs-num { font-size: 20px; }

  /* ── 퀵액션: 모바일 2x2 그리드 ── */
  .qa-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .qa-card { flex-direction: row; text-align: left; padding: 14px 12px; gap: 10px; }
  .qa-card p { display: block; font-size: 11px; line-height: 1.3; }
  .qa-icon { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
  .qa-card h3 { font-size: 13px; font-weight: 700; }

  .ai-banner { flex-direction: column; text-align: center; padding: 20px; }
  .ai-banner-btn { width: 100%; text-align: center; }
  .sec-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sec-title { font-size: 18px; }
  .how-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-card { padding: 20px; }

  /* ── 인기 플래너: 모바일 최적화 ── */
  .planners-section { padding: 16px 0 40px; }
  .planner-slider-wrap { margin: 0 -20px; padding: 0 20px; }

  /* 모바일: CSS 스크롤 스냅 방식으로 전환 */
  .planner-slider { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
  .planner-slider::-webkit-scrollbar { display: none; }
  .planner-slider-track { transition: none !important; transform: none !important; }
  .planner-slider-track .pcard-v4 { flex: 0 0 calc(80vw - 24px); scroll-snap-align: start; max-width: 300px; }

  /* 모바일: 슬라이더 화살표 숨김 (터치 스와이프 사용) */
  .slider-arrow { display: none; }

  /* 카드 내부 모바일 최적화 */
  .pcard-v4 { padding: 12px 14px; }
  .pcard-v4-row { gap: 12px; }
  .pcard-v4-thumb { width: 56px; height: 56px; border-radius: 12px; }
  .pcard-v4-initial { font-size: 20px; }
  .pcard-v4-info h3 { font-size: 15px; }
  .pcard-v4-meta { font-size: 12px; margin-bottom: 6px; }
  .pcard-v4-tags { margin-bottom: 8px; }
  .pcard-v4-tag { font-size: 11px; padding: 3px 8px; }
  .pcard-v4-price { font-size: 14px; }
  .pcard-v4-match { font-size: 11px; }
  .pcard-v4-badges { margin-bottom: 8px; }
  .pcard-v4-badge-tl { font-size: 10px; padding: 2px 8px; }
  .pcard-v4-badge-tr { font-size: 10px; padding: 2px 8px; }

  /* 스크롤 인디케이터 (슬라이더 하단 도트) */
  .planner-scroll-hint {
    display: block;
    text-align: center; padding: 12px 0 0;
    font-size: 11px; color: var(--ink-30, #999);
  }
  .planner-scroll-hint::before {
    content: ''; display: inline-block;
    width: 40px; height: 3px; border-radius: 2px;
    background: var(--ink-10, #E5E8EB); margin-right: 6px; vertical-align: middle;
  }

  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-card { padding: 14px 6px 12px; }
  .brand-card-icon { width: 48px; height: 48px; border-radius: 12px; }
  .brand-card-icon svg { width: 26px; height: 26px; }
  .brand-card-name { font-size: 12px; }
  .review-grid-v4 { grid-template-columns: 1fr; gap: 12px; }
  .cta-band-v4 { padding: 40px 20px; }
  .cta-band-v4 h2 { font-size: 22px; }
  .cta-btns { flex-direction: column; gap: 8px; }
  .cta-btn { width: 100%; text-align: center; }
  .footer-v4 { padding-bottom: 80px; }
}

/* ── 아주 작은 화면 (≤380px) 추가 최적화 ── */
@media (max-width: 380px) {
  .planner-slider-track .pcard-v4 { flex: 0 0 calc(85vw - 16px); }
  .hero-h1 { font-size: 24px; }
  .hero-desc { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-btn { width: 100%; text-align: center; }
  .qa-card h3 { font-size: 12px; }
  .qa-card p { display: none; }
  .qa-icon { width: 36px; height: 36px; font-size: 16px; }
}
