/* ===========================
   Cropick — branding.css
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary:    #3A9E2F;
  --primary-dk: #2D7D24;
  --primary-lt: #5BBD50;
  --brown:      #3D2B1F;
  --brown-lt:   #5C4033;
  --yellow:     #F5C518;
  --text-dark:  #1A1A1A;
  --text-mid:   #555;
  --text-light: #888;
  --border:     #E8E8E8;
  --bg:         #FFFFFF;
  --bg-soft:    #F6FAF5;
  --ease:       cubic-bezier(.22,1,.36,1);
  --max:        1160px;
  --nav-h:      100px;
}

*, *::before, *::after { 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: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── NAVBAR ── */
.navbar { position: sticky; top: 0; z-index: 1000; height: var(--nav-h); background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 40px; }
.navbar__logo { display: flex; align-items: center; gap: 10px; margin-right: 48px; flex-shrink: 0; }
.navbar__logo img { height: 40px; width: auto; object-fit: contain; }
.navbar__nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.navbar__nav a { font-size: 20px; font-weight: 500; color: #777; padding: 7px 16px; border-radius: 8px; letter-spacing: -0.2px; transition: color .2s, background .2s; position: relative; }
.navbar__nav a:hover { color: var(--text-dark); background: var(--bg-soft); }
.navbar__nav a.active { color: var(--primary); font-weight: 700; }
.navbar__nav a.active::after { content: ''; position: absolute; bottom: -2px; left: 16px; right: 16px; height: 2px; border-radius: 2px; background: var(--primary); }
.navbar__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.navbar__actions .link-sm { font-size: 13px; font-weight: 500; color: #888; padding: 6px 10px; border-radius: 6px; transition: color .2s, background .2s; }
.navbar__actions .link-sm:hover { color: var(--text-dark); background: var(--bg-soft); }
.navbar__icon-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: transparent; color: #888; cursor: pointer; transition: background .2s, color .2s; border: 1.5px solid var(--border); }
.navbar__icon-btn:hover { background: var(--bg-soft); color: var(--text-dark); border-color: #ccc; }

/* ── REVEAL ── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv-scale { opacity: 0; transform: scale(.97) translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv-scale.on { opacity: 1; transform: none; }

/* ── 공통 ── */
.sec-lbl { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
.sec-h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.15; color: var(--text-dark); margin-bottom: 12px; }
.sec-lead { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 40px; max-width: 500px; }
.w { max-width: var(--max); margin: 0 auto; padding: 0 52px; }
.sec { padding: 88px 0; }

/* ═══════════════════════════
   HERO
═══════════════════════════ */
#brand-hero {
  position: relative;
  background: var(--primary);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* orb */
.hero-orb {
  position: absolute;
  width: clamp(360px, 50vw, 680px);
  height: clamp(360px, 50vw, 680px);
  right: clamp(-120px, -8vw, -40px); top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 40% 50%, rgba(255,255,255,.2) 0%, rgba(45,125,36,.1) 40%, transparent 68%);
  border-radius: 50%; pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite;
}
.hero-orb2 {
  position: absolute;
  width: clamp(200px, 28vw, 360px);
  height: clamp(200px, 28vw, 360px);
  left: clamp(-80px, -6vw, -20px); bottom: clamp(-80px, -6vw, -20px);
  background: radial-gradient(circle, rgba(61,43,31,.35) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
  animation: orbPulse 11s ease-in-out infinite reverse;
}
@keyframes orbPulse {
  0%,100% { opacity: .9; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-52%) scale(1.04); }
}

/* float tags — 통일된 스타일 */
.float-tag {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap; pointer-events: none; z-index: 50;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  animation: floatDrift linear infinite;
}
.ft-1 { left: 4%;  top: 28%;    animation-duration: 6s;   }
.ft-2 { left: 5%;  bottom: 26%; animation-duration: 7.5s; animation-delay: 1.6s; }
.ft-3 { right: 4%; top: 22%;    animation-duration: 6.5s; animation-delay: .5s; }
.ft-4 { right: 5%; bottom: 24%; animation-duration: 8s;   animation-delay: 2s; }
.ft-5 { right: 3%; top: 52%;    animation-duration: 7s;   animation-delay: .9s; }
@keyframes floatDrift {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-10px); }
  50%  { transform: translateY(-4px); }
  75%  { transform: translateY(-13px); }
  100% { transform: translateY(0); }
}

.hero-body {
  position: relative; z-index: 10;
  width: 100%; max-width: 760px;
  margin: 0 auto; padding: 80px 48px 100px;
  text-align: center;
}
.hero-h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 18px;
  opacity: 0; animation: fadeUp .75s var(--ease) forwards .2s;
}
.hero-h1 em { font-style: normal; color: var(--yellow); }
.hero-sub {
  display: block;
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 400; letter-spacing: -1px;
  color: rgba(255,255,255,.65);
  margin-top: 8px;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  line-height: 1.85; margin-bottom: 40px;
  opacity: 0; animation: fadeUp .75s var(--ease) forwards .4s;
}
.hero-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .75s var(--ease) forwards .56s;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brown); color: #fff;
  padding: 14px 32px; border-radius: 50px;
  font-size: 14.5px; font-weight: 700;
  transition: background .2s;
}
.btn-primary:hover { background: var(--brown-lt); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════
   STATS — 흰 배경
═══════════════════════════ */
#brand-stats {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.stats-row {
  max-width: var(--max); margin: 0 auto; padding: 0 52px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.st { padding: 32px 24px; text-align: center; border-right: 1px solid var(--border); transition: background .2s; }
.st:hover { background: var(--bg-soft); }
.st:last-child { border-right: none; }
.st-n { font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; color: var(--primary); letter-spacing: -1px; line-height: 1; margin-bottom: 7px; }
.st-l { font-size: 12px; color: var(--text-light); }

/* ═══════════════════════════
   SERVICES — 밝은 배경 + 진한 텍스트
═══════════════════════════ */
#brand-service { background: #F8F9FA; }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sc {
  border-radius: 16px;
  padding: 36px 32px 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s;
  cursor: default;
  background: #fff;
}
.sc:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,.1); }
.sc-a { border: 1.5px solid var(--border); }
.sc-b { border: 1.5px solid rgba(58,158,47,.3); background: #f6faf5; }
.sc-c { border: 1.5px solid rgba(61,43,31,.15); background: #fdf8f5; grid-column: 1 / -1; }

.sc-num { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; color: var(--primary); margin-bottom: 14px; }
.sc h3 { font-size: 19px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -.3px; }
.sc p { font-size: 13.5px; color: var(--text-mid); line-height: 1.8; flex: 1; }
.sc-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.sc-list li { font-size: 13px; color: var(--text-mid); display: flex; align-items: center; gap: 8px; }
.sc-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); opacity: .7; flex-shrink: 0; }
.sc-arrow {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700;
  margin-top: 24px; transition: gap .2s, color .2s;
  align-self: flex-start; cursor: pointer;
  padding: 9px 20px; border-radius: 50px;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
}
.sc-arrow:hover { gap: 9px; border-color: var(--primary); color: var(--primary); }
.sc-b .sc-arrow { border-color: rgba(58,158,47,.35); color: var(--primary); }
.sc-b .sc-arrow:hover { background: var(--bg-soft); }
.sc-c .sc-arrow { border-color: rgba(61,43,31,.2); color: var(--brown); }
.sc-c .sc-arrow:hover { background: #fdf0e8; }

/* ═══════════════════════════
   PRICING — 흰 배경
═══════════════════════════ */
#brand-pricing { background: #fff; }

/* 유지보수 플랜 배너 */
.plan-free-banner {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(58,158,47,.06);
  border: 1px solid rgba(58,158,47,.18);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.plan-free-banner .icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.plan-free-banner .txt strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.plan-free-banner .txt span { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 1000px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }

.plan {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px 36px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.plan:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); transform: translateY(-3px); }
.plan.hot { border-color: var(--primary); }
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 50px;
  white-space: nowrap;
}
.plan-tier { font-size: 46px; font-weight: 900; color: var(--text-dark); letter-spacing: -2px; line-height: 1; }
.plan-tier span { font-size: 18px; font-weight: 700; }
.plan.hot .plan-tier { color: var(--primary); }
.plan-label { font-size: 10px; font-weight: 600; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; margin-top: -4px; }
.plan-price { font-size: 28px; font-weight: 900; color: var(--text-dark); letter-spacing: -1px; line-height: 1; }
.plan-price sup { font-size: 13px; font-weight: 600; vertical-align: super; }
.plan-price sub { font-size: 13px; font-weight: 600; }
.plan-desc { font-size: 12.5px; color: var(--text-mid); padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-list li { font-size: 12.5px; color: var(--text-mid); display: flex; align-items: center; gap: 8px; }
.plan-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.plan-list li.hl { color: var(--primary); font-weight: 700; }
.plan-list li.hl::before { background: var(--primary); }
.plan-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text-mid);
  margin-top: 10px; transition: border-color .2s, color .2s;
}
.plan-btn:hover { border-color: var(--primary); color: var(--primary); }
.plan.hot .plan-btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.plan.hot .plan-btn:hover { background: var(--primary-dk); }

/* 문의 카드 */
.inquiry-card {
  background: var(--bg-soft);
  border: 1px solid rgba(58,158,47,.2);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.inquiry-card__icon { font-size: 48px; }
.inquiry-card__title { font-size: 22px; font-weight: 800; color: var(--text-dark); letter-spacing: -.5px; }
.inquiry-card__desc { font-size: 14px; color: var(--text-mid); line-height: 1.9; max-width: 500px; }
.inquiry-card__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 13px 32px; border-radius: 50px;
  font-size: 14.5px; font-weight: 700;
  margin-top: 8px; transition: background .2s;
}
.inquiry-card__btn:hover { background: var(--primary-dk); }

/* 구분선 + 추가 섹션 */
.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.pricing-section-title {
  font-size: 18px; font-weight: 800; color: var(--text-dark);
  letter-spacing: -.4px; margin-bottom: 24px;
}

.plan-inquiry {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #F8F9FA;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 20px;
}
.plan-inquiry h3 { font-size: 15px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.plan-inquiry p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }
.pi-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff;
  padding: 12px 26px; border-radius: 50px;
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  transition: background .2s;
}
.pi-btn:hover { background: var(--primary-dk); }
.pricing-note { font-size: 12.5px; color: var(--text-light); text-align: center; margin-top: 20px; }

/* ── FOOTER ── */
.footer-main { padding: 60px 40px; border-top: 1px solid var(--border); }
.footer-main__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-main__logo img { height: 28px; width: auto; object-fit: contain; }
.footer-main__info { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.footer-main__links { display: flex; gap: 16px; margin-top: 16px; }
.footer-main__links a { font-size: 13px; color: var(--text-light); transition: color .2s; }
.footer-main__links a:hover { color: var(--text-dark); }
.footer-main__copy { font-size: 12px; color: #bbb; margin-top: 8px; }

/* ── BACK TO TOP ── */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: #fff; border: 1px solid var(--border); border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; color: var(--text-mid); z-index: 999; opacity: 0; pointer-events: none; transition: opacity .3s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ── 검색 오버레이 ── */
.search-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.45); align-items: flex-start; justify-content: center; padding-top: 80px; }
.search-overlay.open { display: flex; }
.search-box { background: #fff; border-radius: 16px; width: 100%; max-width: 680px; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 160px); }
.search-box__input-row { display: flex; align-items: center; padding: 18px 20px; gap: 12px; border-bottom: 1px solid #E8E8E8; flex-shrink: 0; }
.search-box__icon { color: #888; flex-shrink: 0; }
.search-box__input { flex: 1; border: none; outline: none; font-size: 17px; font-family: 'Noto Sans KR', sans-serif; color: #1A1A1A; background: transparent; }
.search-box__input::placeholder { color: #bbb; }
.search-box__clear { background: none; border: none; font-size: 18px; color: #bbb; cursor: pointer; padding: 0 4px; transition: color .2s; display: none; }
.search-box__clear.visible { display: block; }
.search-results { overflow-y: auto; flex: 1; }
.search-box__footer { padding: 10px 20px; border-top: 1px solid #F0F0F0; font-size: 12px; color: #bbb; text-align: center; flex-shrink: 0; }

/* ════════════════════════════════
   MOBILE — branding.css
════════════════════════════════ */
@media (max-width: 768px) {

  :root { --nav-h: 60px; }
  .navbar { height: var(--nav-h); padding: 0 16px; }
  .navbar__logo { margin-right: 0; }
  .navbar__logo img { height: 30px; }
  .navbar__nav { display: none; }
  .navbar__actions .link-sm { display: none; }
  .navbar__icon-btn { width: 32px; height: 32px; }

  /* 히어로 */
  .float-tag { display: none; }
  .hero-body { padding: 56px 24px 64px; }
  .hero-h1 { font-size: 36px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 24px; }
  .hero-desc { font-size: 14px; margin-bottom: 32px; }

  /* 스탯 */
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 0 16px; }
  .st { padding: 20px 12px; }
  .st:nth-child(2) { border-right: none; }
  .st-n { font-size: 24px; }

  /* 서비스 */
  #brand-service .w { padding: 0 16px; }
  #brand-service.sec { padding: 60px 0; }
  .svc-grid { grid-template-columns: 1fr !important; }
  .sc { padding: 28px 24px; }

  /* 요금제 */
  #brand-pricing .w { padding: 0 16px; }
  #brand-pricing.sec { padding: 60px 0; }
  .plan-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .plan-inquiry { flex-direction: column; gap: 16px; }

  .footer-main { padding: 28px 16px; }
  .footer-main__info { font-size: 12px; }
}

/* ════════════════════════════════
   HAMBURGER + DRAWER
════════════════════════════════ */

/* 햄버거 버튼 — PC에서는 숨김 */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
  border-radius: 8px;
  transition: background .2s;
}
.navbar__hamburger:hover { background: var(--bg-soft, #F6FAF5); }
.navbar__hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #555;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* 드로어 오버레이 */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1100;
}
.drawer-overlay.open { display: block; }

/* 드로어 패널 */
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 100%;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  box-shadow: 4px 0 24px rgba(0,0,0,.12);
}
.drawer.open { transform: translateX(0); }

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E8E8E8;
  flex-shrink: 0;
}
.drawer__header img { height: 28px; width: auto; object-fit: contain; }
.drawer__close {
  width: 32px; height: 32px;
  background: none; border: none;
  font-size: 18px; color: #888;
  cursor: pointer;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.drawer__close:hover { background: #f5f5f5; }

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
  overflow-y: auto;
}
.drawer__nav a {
  font-size: 16px;
  font-weight: 500;
  color: #444;
  padding: 14px 24px;
  text-decoration: none;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.drawer__nav a:hover { background: #F6FAF5; color: #1A1A1A; }
.drawer__nav a.active {
  color: var(--primary, #3A9E2F);
  font-weight: 700;
  border-left-color: var(--primary, #3A9E2F);
  background: rgba(58,158,47,.05);
}

.drawer__actions {
  padding: 16px 24px 32px;
  border-top: 1px solid #E8E8E8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer__actions a {
  font-size: 14px;
  font-weight: 500;
  color: #888;
  text-decoration: none;
  padding: 8px 0;
  transition: color .2s;
}
.drawer__actions a:hover { color: #1A1A1A; }
.drawer__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary, #3A9E2F);
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 0 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: background .2s;
}
.drawer__login:hover { background: var(--primary-dark, #2D7D24); }

/* 모바일에서만 햄버거 표시 */
@media (max-width: 768px) {
  .navbar__hamburger { display: flex; }
}

