@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/static/woff2/SUIT.css");

/* =========================================================
   이바우펫 애견미용학원 · 공통 스타일 (올댓뷰티 레이아웃 기준)
   - 헤더 72px / 상단 띠배너 36px / 컨텐츠 폭 1200px
   - 색상은 아래 :root 변수만 바꾸면 전체에 반영됩니다
   ========================================================= */
:root {
  --c-text: #111;
  --c-sub: #555;
  --c-mute: #8a8a8a;
  --c-line: #e5e5e5;
  --c-bg: #fff;
  --c-bg2: #fafafa;
  --c-bg3: #f3f3f3;
  --c-point: #1f9a96;      /* 포인트(청록) — 하단 고정 버튼, 강조 */
  --c-point-dk: #157a77;
  --c-dark: #111;
  --topnav-h: 36px;
  --header-h: 72px;
  --inner: 1200px;
  --font: "SUIT", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--c-text); background: var(--c-bg); font-size: 15px; line-height: 1.6; letter-spacing: -0.02em; word-break: keep-all; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inner { width: 100%; max-width: var(--inner); margin: 0 auto; padding: 0 0; }
@media (max-width: 1240px) { .inner { padding: 0 20px; } }
.pc_only { }
.mo_only { display: none !important; }
@media (max-width: 1024px) { .pc_only { display: none !important; } .mo_only { display: revert !important; } }

/* ---------- 이미지 자리(플레이스홀더) ----------
   <div class="ph" data-img="images/파일명.jpg" data-label="설명 · 1920×768"></div>
   images 폴더에 같은 이름의 파일을 넣으면 자동으로 사진이 보입니다. */
.ph { position: relative; background: #e9e9e9; overflow: hidden; }
.ph::before { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; color: #9a9a9a; font-size: 13px; font-weight: 600; line-height: 1.4; background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.35) 14px 15px); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- 상단 띠배너 (top-nav, 36px) ---------- */
.top-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--topnav-h); background: rgba(255,255,255,.98); border-bottom: 1px solid #f0f0f0; z-index: 1001; transition: transform .3s; }
.top-nav .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.top-nav__msg { display: flex; align-items: center; gap: 8px; color: var(--c-sub); }
.top-nav__msg b { color: var(--c-text); }
.top-nav__timer { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--c-point); }
.top-nav__links { display: flex; gap: 18px; color: var(--c-sub); }
.top-nav__links a:hover { color: var(--c-text); }
.top-nav__cta { font-weight: 700; color: var(--c-text) !important; }
body.scroll_down .top-nav { transform: translateY(-100%); }

/* ---------- 헤더 (72px) ---------- */
.header { position: fixed; top: var(--topnav-h); left: 0; right: 0; height: var(--header-h); background: rgba(255,255,255,.9); backdrop-filter: blur(6px); z-index: 1000; transition: top .3s, background .3s, box-shadow .3s; }
body.scroll_down .header { top: 0; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header .inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__left, .header__right { display: flex; align-items: center; gap: 14px; width: 220px; }
.header__right { justify-content: flex-end; }
.icon-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: #f2f2f2; }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.header__center { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.logo { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding-top: 8px; }
.logo__ko { font-size: 15px; font-weight: 900; letter-spacing: -0.03em; }
.logo__en { font-size: 9px; letter-spacing: .32em; color: var(--c-mute); margin-top: 3px; font-weight: 600; }
.logo .ph { width: 150px; height: 26px; }
.header__call { font-weight: 800; font-size: 14px; }

/* GNB */
.gnb { display: flex; justify-content: center; height: 36px; margin-top: auto; }
.gnb > li { position: relative; }
.gnb > li > a { display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 14.5px; font-weight: 600; color: #333; position: relative; }
.gnb > li > a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: var(--c-text); transform: scaleX(0); transition: transform .25s; }
.gnb > li:hover > a::after, .gnb > li.on > a::after { transform: scaleX(1); }
.gnb > li.on > a { color: var(--c-text); font-weight: 800; }

/* 메가 메뉴 (호버 시 전체폭) */
.mega { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 16px 24px rgba(0,0,0,.06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s; }
.header:hover .mega.is-open, .mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega .inner { display: flex; justify-content: center; padding: 28px 0 34px; height: auto; align-items: flex-start; }
.mega__col { min-width: 132px; padding: 0 14px; border-left: 1px solid #f1f1f1; }
.mega__col:first-child { border-left: 0; }
.mega__col h4 { font-size: 14px; font-weight: 900; margin-bottom: 12px; }
.mega__col a { display: block; font-size: 13.5px; color: #666; padding: 4px 0; }
.mega__col a:hover { color: var(--c-text); text-decoration: underline; }
.mega__col--wide { min-width: 220px; }
.mega__col--wide ul { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 10px; }

/* 전체메뉴 (햄버거) */
.allmenu { position: fixed; inset: 0; background: #fff; z-index: 2000; overflow-y: auto; transform: translateX(-100%); transition: transform .35s; }
.allmenu.is-open { transform: none; }
.allmenu__head { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 24px; border-bottom: 1px solid var(--c-line); }
.allmenu__body { max-width: var(--inner); margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.allmenu__body h4 { font-size: 20px; font-weight: 900; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--c-text); }
.allmenu__body a { display: block; padding: 5px 0; color: #555; }
.allmenu__call { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 768px) { .allmenu__body { grid-template-columns: 1fr 1fr; gap: 28px 18px; } .allmenu__body h4 { font-size: 17px; } }

/* ---------- 우측 고정 QUICK MENU (95px) ---------- */
.gnb-right { position: fixed; right: 12px; top: 50%; transform: translateY(-40%); width: 95px; background: #fff; border-radius: 48px; box-shadow: 0 4px 18px rgba(0,0,0,.08); z-index: 900; overflow: hidden; text-align: center; padding-bottom: 10px; }
.gnb-right__tit { background: var(--c-dark); color: #fff; font-size: 11px; font-weight: 300; letter-spacing: .12em; line-height: 1.25; padding: 18px 0 14px; }
.gnb-right a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 4px; font-size: 11.5px; color: #444; border-bottom: 1px solid #f2f2f2; }
.gnb-right a:last-child { border-bottom: 0; }
.gnb-right a:hover { color: var(--c-text); background: #fafafa; }
.gnb-right .qi { font-size: 20px; line-height: 1; }
.gnb-right__top { font-size: 11px !important; font-weight: 800; letter-spacing: .1em; }

/* ---------- 하단 고정 바 + 팝업 ---------- */
.btm-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: flex; justify-content: center; pointer-events: none; padding: 0 0 14px; }
.btm-bar__btn { pointer-events: auto; position: relative; width: min(900px, calc(100% - 32px)); height: 54px; border-radius: 8px; background: var(--c-point); color: #fff; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 8px 22px rgba(31,154,150,.35); }
.btm-bar__btn:hover { background: var(--c-point-dk); }
.btm-bar__badge { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); background: #fff; color: var(--c-point); border: 1px solid var(--c-point); border-radius: 30px; font-size: 12px; font-weight: 800; padding: 3px 12px; white-space: nowrap; }
.side-call { position: fixed; right: 22px; bottom: 90px; width: 52px; height: 52px; border-radius: 50%; background: var(--c-point); color: #fff; display: none; align-items: center; justify-content: center; font-size: 22px; z-index: 951; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
@media (max-width: 1024px) { .side-call { display: flex; } }

.modal { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.55); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 14px; padding: 36px 32px 28px; }
.modal__close { position: absolute; right: 14px; top: 12px; font-size: 26px; line-height: 1; color: #999; }
.modal__tit { font-size: 24px; font-weight: 900; text-align: center; }
.modal__sub { text-align: center; color: var(--c-sub); margin: 4px 0 22px; }
@media (max-width: 480px) { .modal__box { padding: 30px 18px 22px; } }

/* ---------- 폼 공통 ---------- */
.form-grid { display: grid; gap: 12px; }
.fld label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.fld label em { color: var(--c-point); font-style: normal; }
.fld input, .fld select, .fld textarea { width: 100%; height: 48px; border: 1px solid #dcdcdc; border-radius: 6px; padding: 0 14px; background: #fff; outline: none; transition: border-color .2s; }
.fld textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--c-text); }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--c-sub); }
.agree input { margin-top: 4px; accent-color: var(--c-point); }
.agree a { text-decoration: underline; }
.form-safe { font-size: 12.5px; color: var(--c-mute); text-align: center; }
.hp { position: absolute; left: -9999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 50px; padding: 0 26px; border-radius: 6px; font-weight: 800; font-size: 15px; transition: .2s; white-space: nowrap; }
.btn-fill { background: var(--c-text); color: #fff; }
.btn-fill:hover { background: #333; }
.btn-point { background: var(--c-point); color: #fff; }
.btn-point:hover { background: var(--c-point-dk); }
.btn-line { border: 1px solid #cfcfcf; background: #fff; }
.btn-line:hover { border-color: var(--c-text); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row--c { justify-content: center; }

/* ---------- 섹션 공통 (올댓 main-sect) ---------- */
.sect { padding: 80px 0 0; }
.sect__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sect__eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .18em; color: var(--c-point); margin-bottom: 6px; }
.sect__tit { font-size: 51.2px; font-weight: 900; line-height: 1.15; letter-spacing: -0.04em; }
.sect__desc { color: var(--c-sub); margin-top: 10px; font-size: 16px; }
@media (max-width: 1024px) { .sect { padding-top: 64px; } .sect__tit { font-size: 36px; } }
@media (max-width: 600px) { .sect__tit { font-size: 28px; } .sect__desc { font-size: 14.5px; } }

/* # 탭 (검정 알약) */
.htabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.htabs button, .htabs a { height: 40px; padding: 0 18px; border-radius: 40px; border: 1px solid #d5d5d5; background: #fff; font-size: 14.5px; font-weight: 700; color: #444; transition: .2s; display: inline-flex; align-items: center; }
.htabs button:hover, .htabs a:hover { border-color: var(--c-text); color: var(--c-text); }
.htabs .on { background: var(--c-text) !important; border-color: var(--c-text) !important; color: #fff !important; }

/* 슬라이더 화살표 (← →) */
.sl-nav { display: flex; gap: 6px; }
.sl-nav button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #333; }
.sl-nav button:hover { color: #000; }
.sl-nav button:disabled { color: #ccc; cursor: default; }
.slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; flex: 0 0 auto; }

.more-c { text-align: center; margin-top: 40px; }

/* ---------- 푸터 ---------- */
#footer_wrap { background: var(--c-bg2); border-top: 1px solid #eee; padding: 50px 0 120px; margin-top: 120px; font-size: 13.5px; color: #666; }
.ft-top { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-bottom: 22px; border-bottom: 1px solid #e6e6e6; margin-bottom: 24px; }
.ft-top a { font-weight: 700; color: #333; }
.ft-top a.b { color: var(--c-point); }
.ft-logo { font-size: 18px; font-weight: 900; color: var(--c-text); margin-bottom: 14px; }
.ft-info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.ft-info dt { font-weight: 700; color: #444; }
.ft-copy { margin-top: 22px; color: #999; font-size: 12.5px; }
@media (max-width: 600px) { .ft-info { grid-template-columns: 1fr; gap: 0; } .ft-info dd { margin-bottom: 8px; } }

/* 반응형 헤더 */
@media (max-width: 1024px) {
  :root { --header-h: 56px; --topnav-h: 0px; }
  .top-nav { display: none; }
  .header__left, .header__right { width: auto; }
  .gnb, .mega { display: none; }
  .header__center { justify-content: center; }
  .logo { padding-top: 0; }
  .gnb-right { display: none; }
}

/* 상담 접수 완료 안내 */
.form-ok { text-align: center; padding: 34px 20px; background: #fff; border-radius: 14px; color: var(--c-text); }
.form-ok__ic { font-size: 40px; }
.form-ok h3 { font-size: 21px; font-weight: 900; margin: 10px 0 8px; }
.form-ok p { color: var(--c-sub); margin-bottom: 18px; }
.qform-bar + .form-ok, .sub-tuition__form + .form-ok { grid-column: 1 / -1; }

/* 중간 폭(1025~1300px)에서 메뉴 줄바꿈 방지 */
.gnb > li > a { white-space: nowrap; }
@media (max-width: 1300px) and (min-width: 1025px) {
  .gnb > li > a { padding: 0 12px; font-size: 14px; }
  .gnb > li > a::after { left: 12px; right: 12px; }
  .header__left, .header__right { width: 150px; }
  .header__call { display: none; }
}
