:root {
    --primary:   #2563b0;
    --primary-d: #1a4e94;
    --primary-l: #4a82c8;
    --primary-pale: #eef3f8;
    --pastel-mint:   #ece9e2;
    --pastel-green:  #ede9e0;
    --pastel-yellow: #f5f0e4;
    --pastel-blue:   #eef0f4;
    --pastel-pink:   #f0ece8;
    --pastel-purple: #eeece8;
    --pastel-orange: #f2ece4;
    --navy:  #2a2e34;
    --white: #ffffff;
    --bg:    #f7f5f0;
    --gray:  #8a8c90;
    --text:  #3c3e42;
    --border:#e4e0d8;
    --accent:#2563b0;
  }
  *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Noto Sans KR', sans-serif; color: var(--text); background: #f5f3ee; overflow-x: hidden; }
  a { text-decoration: none; color: inherit; }

  /* ══════ BRAND BAR ══════ */
  /* ══════ CAT BANNER ══════ */

  .cat-banner {
    display: flex; height:48px;
    border: none; outline: none;
    border-bottom: 1px solid #e8e4dc;
    background: #fff;
  }
  .cat-item {
    border: none !important; outline: none !important;
  }
  .cat-item {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; text-decoration: none; color: #3c3e42;
    font-size: 0.85rem; font-weight: 600; letter-spacing: -0.01em;
    transition: background .2s, color .2s;
    position: relative;
    border-right: 1px solid #e8e4dc;
  }
  .cat-item::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0); transition: background .2s;
    pointer-events: none;
  }
  .cat-item:hover::after { background: rgba(255,255,255,0); }
  .cat-item:hover { background: rgba(0,0,0,0.04); color: var(--primary); }
  .cat-item.active { background: rgba(0,0,0,0.05); color: var(--primary); }
  .cat-item.active::before {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 40px; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0;
  }
  .cat-tutoring  { background: transparent; }
  .cat-academy   { background: transparent; }
  .cat-language  { background: transparent; }
  .cat-blog      { background: transparent; }
  .cat-icon { font-size: 1.15rem; line-height: 1; }
  .cat-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
  .cat-main { font-size: 0.9rem; font-weight: 800; }
  .cat-sub { display: none; }

  /* ══════ 어학원 드롭다운 ══════ */
  .cat-lang-wrap {
    flex: 1; position: relative;
  }
  .cat-lang-wrap .cat-item {
    width: 100%; height: 52px; box-sizing: border-box;
  }
  .lang-dd-item:last-child { border-bottom: none; }
  .lang-dd-item:hover { background: #f5f0ff; }
  .lang-dd-item:hover
  .lang-dd-badge.coming { background: #f0f0f0; color: #aaa; }

  @media (max-width: 600px) {
    .cat-sub { display: none; }
    .cat-item { font-size: 0.82rem; }
  }

  /* ══════ UTIL BAR ══════ */


  /* ══════ 어학원 선택 모달 ══════ */
  .lang-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 9990;
    align-items: flex-end; justify-content: center;
  }
  .lang-modal-overlay.open { display: flex; }
  .lang-modal {
    background: #fff; width: 100%; max-width: 520px;
    border-radius: 20px 20px 0 0;
    padding: 1.4rem 1.4rem 2.5rem;
    animation: langSlideUp .22s ease;
  }
  @keyframes langSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .lang-modal-handle {
    width: 40px; height: 4px; background: #e0e0e0; border-radius: 2px;
    margin: 0 auto 1.3rem;
  }
  .lang-modal-title {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
    color: #a0a8b8; text-transform: uppercase; margin-bottom: 1rem;
    text-align: center;
  }
  .lang-modal-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.95rem 1.1rem; border-radius: 14px;
    text-decoration: none; color: #1a2a4a;
    transition: background .15s, border-color .15s;
    margin-bottom: 0.6rem; border: 1.5px solid #eef0f5;
  }
  .lang-modal-item:last-child { margin-bottom: 0; }
  .lang-modal-item:hover { background: #f5f8ff; border-color: #c8d8f8; }
  .lang-modal-flag { font-size: 2rem; line-height: 1; flex-shrink: 0; }
  .lang-modal-texts { flex: 1; }
  .lang-modal-name { font-size: 0.98rem; font-weight: 800; color: #1a2a4a; margin-bottom: 0.1rem; }
  .lang-modal-desc { font-size: 0.73rem; color: #9aa8b8; }
  .lang-modal-badge {
    font-size: 0.62rem; font-weight: 700; padding: 0.18rem 0.55rem;
    border-radius: 50px; white-space: nowrap; flex-shrink: 0;
  }
  .badge-go { background: #f0f0f0; color: #888; }
  .lang-modal-arrow { font-size: 1rem; color: #c8d0e0; flex-shrink: 0; }

  /* ══════ HEADER ══════ */
  header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(37,99,176,0.07);
  }
  .hd-main {
    max-width: 1160px; margin: 0 auto; padding: 0 2rem;
    height: 66px; display: flex; align-items: center; justify-content: space-between;
  }
  .logo { display: flex; align-items: center; gap: 0.7rem; }
  .logo-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(37,99,176,0.2));
  }
  .logo-name {
    font-size: 1.3rem; font-weight: 900; letter-spacing: -0.3px;
    display: flex; align-items: baseline;
  }
  .logo-name .pw  { color: var(--primary); }
  .logo-name .tu  { color: #2bba9b; }
  nav { display: flex; align-items: center; gap: 0.2rem; }
  nav a {
    color: var(--text); font-size: 0.87rem; font-weight: 500;
    padding: 0.5rem 0.9rem; border-radius: 8px;
    transition: background .2s, color .2s;
  }
  nav a:hover { background: #eef4ff; color: var(--primary); }
  .nav-btn {
    background: linear-gradient(135deg, #dceaf8, #ccddf4) !important;
    color: var(--primary-d) !important; font-weight: 700 !important;
    border-radius: 50px !important; padding: 0.5rem 1.3rem !important;
    box-shadow: 0 3px 12px rgba(37,99,176,0.2);
  }

  /* ══════ HERO ══════ */
  .hero { /* 모바일: 실제 아이폰 기준 조정 */
    min-height: 600px;
    background: linear-gradient(160deg, var(--primary-pale) 0%, #ffffff 60%, #f0fff9 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
  }
  @media (min-width: 769px) {
    header { top: 0; } /* PC: cat-banner(52) */
    .hero  { margin-top: 0; } /* PC: cat-banner(52) + hd-main(66) */
  }
  /* 배경 장식 원 */
  .hero::before {
    content: ''; position: absolute;
    top: -140px; right: -100px;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,176,0.08) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
  }
  .hero::after {
    content: ''; position: absolute;
    bottom: -100px; left: -60px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(180,200,240,0.12) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
  }
  .hero-inner {
    max-width: 1160px; margin: 0 auto; padding: 4rem 2rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    position: relative; z-index: 1; width: 100%;
  }
  .hero-copy { }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(37,99,176,0.08); border: 1px solid rgba(37,99,176,0.2);
    color: var(--primary); font-size: 0.72rem; font-weight: 700;
    padding: 0.35rem 0.9rem; border-radius: 50px; margin-bottom: 1.4rem;
    letter-spacing: 0.5px;
  }
  .hero h1 {
    font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 900;
    color: var(--navy); line-height: 1.25; margin-bottom: 1.1rem;
  }
  .hero h1 .hl { color: var(--primary); }
  .hero-desc {
    font-size: 0.97rem; color: #6a8075; line-height: 1.9;
    margin-bottom: 2.2rem; font-weight: 300;
  }
  .hero-desc b { font-weight: 700; color: var(--navy); }
  .hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
  .btn-main {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-d));
    color: #fff; border: none; border-radius: 50px;
    padding: 0.85rem 1.8rem; font-size: 0.9rem; font-weight: 700;
    font-family: inherit; cursor: pointer;
    box-shadow: 0 6px 20px rgba(37,99,176,0.3);
    transition: transform .2s, box-shadow .2s;
  }
  .btn-main:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,176,0.38); }
  .btn-sub {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #fff; color: var(--primary);
    border: 1.5px solid var(--primary-l); border-radius: 50px;
    padding: 0.85rem 1.8rem; font-size: 0.9rem; font-weight: 600;
    font-family: inherit; cursor: pointer;
    transition: transform .2s, background .2s;
  }
  .btn-sub:hover { background: #eef4fc; transform: translateY(-2px); }
  .hero-stats { display: flex; gap: 2rem; }
  .hero-stat { text-align: center; }
  .hero-stat-num { font-size: 1.6rem; font-weight: 900; color: var(--primary); line-height: 1; }
  .hero-stat-lbl { font-size: 0.68rem; color: var(--gray); margin-top: 0.2rem; }

  /* 히어로 오른쪽 - 선생님 카드 미리보기 */
  .hero-visual { position: relative; }
  .tutor-preview {
    background: #fff; border-radius: 20px;
    box-shadow: 0 16px 48px rgba(37,99,176,0.12);
    overflow: hidden; border: 1px solid var(--border);
  }
  .tp-header {
    background: linear-gradient(135deg, var(--pastel-blue), #ffe4ef);
    padding: 1.2rem 1.5rem;
    display: flex; align-items: center; gap: 0.8rem;
  }
  .tp-title { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
  .tp-sub   { font-size: 0.68rem; color: var(--gray); }
  .tp-list  { padding: 0.8rem; display: flex; flex-direction: column; gap: 0.6rem; }
  .tp-item {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.8rem 1rem; border-radius: 12px;
    background: #ffffff; border: 1px solid #e8f8f2;
    transition: transform .2s;
  }
  .tp-item:hover { transform: translateX(4px); }
  .tp-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700;
  }
  .tp-info { flex: 1; }
  .tp-name  { font-size: 0.83rem; font-weight: 700; color: var(--navy); }
  .tp-spec  { font-size: 0.7rem; color: var(--gray); margin-top: 0.1rem; }
  .tp-rate  { font-size: 0.75rem; font-weight: 700; color: #f5a623; }
  .tp-match {
    position: absolute; top: -14px; right: -14px;
    background: linear-gradient(135deg, #3a6fc0, #2563b0);
    color: #ffffff; font-size: 0.68rem; font-weight: 800;
    padding: 0.4rem 0.9rem; border-radius: 50px;
    box-shadow: 0 4px 14px rgba(37,99,176,0.25);
  }
  .tp-bottom {
    padding: 0.8rem 1.2rem 1rem;
    background: linear-gradient(135deg, #f5f8ff, #fff8fb);
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
  }
  .tp-bot-txt { font-size: 0.72rem; color: var(--gray); }
  .tp-bot-btn {
    background: var(--primary); color: #fff; border: none;
    border-radius: 50px; padding: 0.4rem 1rem;
    font-size: 0.72rem; font-weight: 700; font-family: inherit; cursor: pointer;
  }

  /* ══════ DIVIDER ══════ */
  .divider { height: 3px; background: linear-gradient(to right, #c8d8f0, var(--pastel-blue), #d8e8f8, #c8d8f0); }



  /* ══════ DIAGNOSIS ══════ */
  .diagnosis-sec { }
  .diag-top {
    background: linear-gradient(135deg, #1a3f7a 0%, #2563b0 60%, #1e4a90 100%);
    padding: 4rem 2rem 3rem;
  }
  .diag-steps-wrap {
    background: #f5f3ee;
    padding: 0 2rem 4rem;
  }
  .diag-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-top: -2rem;
    box-shadow: 0 8px 40px rgba(37,99,176,0.08);
    border: 1px solid var(--border);
  }
  .diag-step {
    padding: 0 1rem;
    text-align: center;
  }
  .ds-head {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    margin-bottom: 0.8rem;
  }
  .ds-num {
    font-size: 0.65rem; font-weight: 900; letter-spacing: 1px;
    color: var(--primary); background: var(--pastel-blue);
    padding: 0.2rem 0.6rem; border-radius: 50px;
  }
  .ds-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--pastel-blue);
    display: flex; align-items: center; justify-content: center;
  }
  .diag-step h4 {
    font-size: 0.82rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem;
  }
  .diag-step p {
    font-size: 0.71rem; color: var(--gray); line-height: 1.75;
  }
  .ds-arrow {
    font-size: 1.4rem; color: var(--border); align-self: center;
    padding-top: 2rem; padding-bottom: 0; font-weight: 300;
  }

  @media(max-width:1100px) {
    .diag-steps { grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
    .ds-arrow { display: none; }
  }
  @media(max-width:600px) {
    .diag-steps { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  }

  /* ══════ CITIES (하이브리드) ══════ */
  .cities {
    padding: 0;
    background: #ffffff;
    position: relative; overflow: hidden;
  }
  .cities-bg-glow { display: none; }
  .cities-hero {
    position: relative; z-index: 1;
    padding: 5rem 2rem 3rem;
    text-align: center;
  }
  .cities-hero .sec-kicker { color: #3b82f6; }
  .cities-hero-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900; color: #0f172a; line-height: 1.15;
    margin: 0.6rem 0 1rem; letter-spacing: -0.5px;
  }
  .cities-hero-title em {
    font-style: normal;
    color: #2563b0;
  }
  .cities-hero-sub { font-size: 0.9rem; color: #475569; margin-bottom: 2rem; }
  .cities-hero-cta {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--primary); color: #fff;
    padding: 0.8rem 1.8rem; border-radius: 50px; font-size: 0.88rem; font-weight: 700;
    text-decoration: none; border: none; cursor: pointer; font-family: inherit;
    box-shadow: 0 6px 24px rgba(37,99,176,0.4); transition: transform .2s, box-shadow .2s;
  }
  .cities-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,99,176,0.5); }

  /* ── 광역 탭 바 ── */
  .cities-region-wrap {
    position: relative; z-index: 1;
    max-width: 1160px; margin: 0 auto;
    padding: 0 2rem 2.5rem;
  }
  .cities-region-tabs {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    justify-content: center; margin-bottom: 2rem;
  }
  .region-tab {
    display: flex; align-items: center; gap: 0.45rem;
    padding: 0.55rem 1.1rem; border-radius: 50px;
    background: #fff;
    border: 1.5px solid #e8e4dc;
    color: #475569;
    font-size: 0.8rem; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: all .2s;
  }
  .region-tab:hover { background: #f5f3ee; border-color: #93c5fd; color: #2563b0; }
  .region-tab.active {
    background: #2563b0; border-color: #2563b0;
    color: #fff; box-shadow: 0 4px 16px rgba(37,99,176,0.25);
  }
  .region-tab .rt-cnt {
    font-size: 0.65rem; font-weight: 600;
    background: rgba(255,255,255,0.2); padding: 0.1rem 0.4rem; border-radius: 50px;
  }
  .region-tab.active .rt-cnt { background: rgba(255,255,255,0.3); }

  /* ── 광역 패널 ── */
  .region-panel { display: none; }
  .region-panel.active { display: block; }

  /* ── 세부 지역 카드 그리드 ── */
  .city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
  }
  .city-card {
    border-radius: 16px; overflow: hidden;
    position: relative; cursor: pointer;
    display: block; text-decoration: none;
    transition: transform .3s, box-shadow .3s;
    min-height: 150px;
    outline: 2px solid transparent;
  }
  .city-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 16px 36px rgba(0,0,0,0.2); outline: 2px solid rgba(255,255,255,0.6); }
  .city-card-big { grid-column: span 2; grid-row: span 2; min-height: 315px; }
  .city-card-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform .4s;
  }
  .city-card:hover .city-card-bg { transform: scale(1.04); }
  .city-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 15%, rgba(0,0,0,0.30) 100%);
  }
  .city-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.1rem 1.3rem; }
  .city-card-big .city-card-body { padding: 1.6rem 1.8rem; }
  .city-tag {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.62rem; font-weight: 800; letter-spacing: 0.5px;
    padding: 0.22rem 0.7rem; border-radius: 50px; margin-bottom: 0.5rem;
    backdrop-filter: blur(8px);
  }
  .city-name { font-size: 1.15rem; font-weight: 900; color: #ffffff; line-height: 1.2; text-shadow: 0 1px 6px rgba(0,0,0,0.2); letter-spacing:-0.01em; }
  .city-card-big .city-name { font-size: 1.85rem; margin-bottom: 0.3rem; letter-spacing:-0.02em; }
  .city-desc { font-size: 0.73rem; color: rgba(255,255,255,0.95); margin-top: 0.2rem; line-height: 1.55; display: none; }
  .city-card-big .city-desc { display: block; }
  .city-subjects { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }
  .city-subj-tag { font-size: 0.58rem; font-weight: 600; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); padding: 0.12rem 0.45rem; border-radius: 50px; }
  .city-arrow {
    position: absolute; top: 0.8rem; right: 0.8rem;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.16); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; transition: background .2s;
  }
  .city-card:hover .city-arrow { background: rgba(255,255,255,0.3); }
  .city-pattern { position: absolute; inset: 0; overflow: hidden; opacity: 0.07; }
  .city-pattern svg { width: 100%; height: 100%; }

  /* 배경 그라디언트 - 밝고 선명한 컬러 */
  .city-gangnam  { background: linear-gradient(145deg, #3b82f6 0%, #93c5fd 100%); }
  .city-seocho   { background: linear-gradient(145deg, #0ea5e9 0%, #7dd3fc 100%); }
  .city-mapo     { background: linear-gradient(145deg, #ec4899 0%, #f9a8d4 100%); }
  .city-nowon    { background: linear-gradient(145deg, #14b8a6 0%, #5eead4 100%); }
  .city-bundang  { background: linear-gradient(145deg, #8b5cf6 0%, #c4b5fd 100%); }
  .city-ilsan    { background: linear-gradient(145deg, #38bdf8 0%, #bae6fd 100%); }
  .city-suwon    { background: linear-gradient(145deg, #f59e0b 0%, #fcd34d 100%); }
  .city-yongin   { background: linear-gradient(145deg, #a78bfa 0%, #ddd6fe 100%); }
  .city-incheon  { background: linear-gradient(145deg, #10b981 0%, #6ee7b7 100%); }
  .city-daejeon  { background: linear-gradient(145deg, #60a5fa 0%, #bfdbfe 100%); }
  .city-daegu    { background: linear-gradient(145deg, #f87171 0%, #fecaca 100%); }
  .city-busan    { background: linear-gradient(145deg, #818cf8 0%, #c7d2fe 100%); }
  .city-gwangju  { background: linear-gradient(145deg, #c084fc 0%, #e9d5ff 100%); }
  .city-chungbuk { background: linear-gradient(145deg, #4ade80 0%, #bbf7d0 100%); }
  .city-chungnam { background: linear-gradient(145deg, #08281a 0%, #1a6040 100%); }
  .city-jeonbuk  { background: linear-gradient(145deg, #281408 0%, #7a4010 100%); }
  .city-jeonnam  { background: linear-gradient(145deg, #0d2818 0%, #2a6838 100%); }
  .city-gyeongbuk { background: linear-gradient(145deg, #280808 0%, #7a2020 100%); }
  .city-gyeongnam { background: linear-gradient(145deg, #082030 0%, #1a5878 100%); }
  .city-jeju     { background: linear-gradient(145deg, #083028 0%, #1a7860 100%); }

  /* 더보기 카드 */
  .city-more {
    background: #f5f3ee;
    border: 1.5px dashed #93c5fd;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0.45rem;
    min-height: 150px; border-radius: 16px; cursor: pointer;
    transition: background .2s;
    -webkit-tap-highlight-color: rgba(37,99,176,0.15);
    touch-action: manipulation;
    user-select: none;
  }
  .city-more:hover, .city-more:active { background: #eef3f8; border-color: #3b82f6; }
  .city-more-icon { font-size: 1.5rem; opacity: 1; }
  .city-more-txt  { font-size: 0.78rem; font-weight: 800; color: #1e40af; }
  .city-more-sub  { font-size: 0.63rem; color: #64748b; }

  /* 하단 여백 */
  .cities-region-wrap { padding-bottom: 4rem; }

  @media(max-width:1000px) {
    .city-grid { grid-template-columns: repeat(3, 1fr); }
    .city-card-big { grid-column: span 2; }
  }
  @media(max-width:780px) {
    .cities-map-outer { grid-template-columns: 1fr !important; }
    .cities-map-outer > div:first-child { display: none; }
  }
  @media(max-width:600px) {
    .cities-region-tabs { gap: 0.35rem; }
    .region-tab { font-size: 0.72rem; padding: 0.45rem 0.85rem; }
    .city-grid { grid-template-columns: repeat(2, 1fr); }
    .city-card-big { grid-column: span 2; grid-row: span 1; min-height: 180px; }
  }

  /* ══════ SECTION COMMONS ══════ */
  .sec { padding: 5.5rem 2rem; }
  .sec-inner { max-width: 1160px; margin: 0 auto; }
  .sec-head { text-align: center; margin-bottom: 3rem; }
  .sec-kicker { font-size: 0.68rem; font-weight: 700; letter-spacing: 3px; color: var(--primary); text-transform: uppercase; margin-bottom: 0.5rem; }
  .sec-title { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 900; color: var(--navy); line-height: 1.3; }
  .sec-sub { font-size: 0.88rem; color: var(--gray); margin-top: 0.5rem; font-weight: 300; }

  /* ══════ WHY 섹션 ══════ */
  .why-sec { background: #f5f3ee; padding: 5rem 2rem; }
  .why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2.8rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .wc {
    background: #ffffff;
    border: 1.5px solid #e8e4dc;
    border-radius: 18px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 4px 18px rgba(37,99,176,0.06);
    transition: transform .25s, box-shadow .25s;
  }
  .wc:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(37,99,176,0.12); }
  .wc-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1rem;
  }
  .wc-title { font-size: 0.9rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; }
  .wc-desc  { font-size: 0.76rem; color: #5a6a7a; line-height: 1.8; }
  .wc-note  { font-size: 0.67rem; color: #9aaabb; margin-top: 0.5rem; border-top: 1px dashed #e0eaf6; padding-top: 0.5rem; }
  /* 구형 클래스 완전 숨김 */
  .why-grid, .why-card, .why-list, .why-row, .why-right { display: none !important; }

  /* ══════ 선생님 카드 ══════ */
  .tutors { background: #f5f3ee; }
  .tutor-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
  .tutor-card {
    background: #ffffff; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s; cursor: pointer;
  }
  .tutor-card:hover { transform: translateY(-6px); box-shadow: 0 14px 38px rgba(37,99,176,0.12); }
  .tc-top {
    height: 100px; display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .tutor-card.math    .tc-top { background: linear-gradient(135deg, #e8f0fc, #d0e4f4); }
  .tutor-card.korean  .tc-top { background: linear-gradient(135deg, #eef4fc, #dce8f8); }
  .tutor-card.english .tc-top { background: linear-gradient(135deg, #e8f4fc, #d4e8f6); }
  .tutor-card.science .tc-top { background: linear-gradient(135deg, #eaeffc, #d8e4f4); }
  .tc-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  }
  .tc-badge {
    position: absolute; top: 10px; right: 10px;
    font-size: 0.6rem; font-weight: 800; padding: 0.2rem 0.6rem;
    border-radius: 50px; background: var(--primary); color: #fff;
  }
  .tc-body { padding: 1.2rem; }
  .tc-name { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 0.2rem; }
  .tc-comment {
    font-size: 0.76rem; line-height: 1.85; margin-top: 0.8rem;
    padding: 0.9rem 1rem; border-radius: 12px;
    background: var(--primary-pale); border-left: 3px solid var(--primary-l);
    color: #3a4a5a; font-style: italic;
  }
  .tc-career {
    font-size: 0.7rem; color: #5a6a7a; margin-top: 0.6rem;
    display: flex; flex-direction: column; gap: 0.3rem;
  }
  .tc-career-item { display: flex; align-items: flex-start; gap: 0.4rem; line-height: 1.55; }
  .tc-career-item::before { content: "✔"; color: var(--primary); font-size: 0.6rem; margin-top: 0.2rem; flex-shrink: 0; }
  .tc-score-tag {
    display: inline-block; font-size: 0.62rem; font-weight: 700;
    background: #eef3f8; color: #1d4ed8; border-radius: 50px;
    padding: 0.15rem 0.55rem; margin: 0.05rem 0.1rem 0 0;
  }
  .tc-hashtags {
    display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.6rem;
  }
  .tc-hash {
    font-size: 0.68rem; font-weight: 600;
    color: var(--primary); background: var(--primary-pale);
    padding: 0.2rem 0.6rem; border-radius: 50px;
    border: 1px solid #d8ecff;
  }
  .tc-oneliner {
    font-size: 0.8rem; font-weight: 700; color: var(--navy);
    margin-top: 0.8rem; line-height: 1.5;
    padding: 0.65rem 0.9rem;
    background: linear-gradient(135deg, #f6f9ff, #eef4ff);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
  }
  .tc-years {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.7rem; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-d));
    padding: 0.25rem 0.7rem; border-radius: 50px;
    margin-bottom: 0.5rem;
  }
  .tc-univ { font-size: 0.72rem; color: var(--primary); font-weight: 600; margin-bottom: 0.6rem; }
  .tc-subjects { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.8rem; }
  .tc-subj {
    font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.6rem;
    border-radius: 50px; background: var(--pastel-blue); color: var(--primary-d);
  }
  .tc-info { display: flex; justify-content: space-between; align-items: center; }
  .tc-rate { font-size: 0.78rem; color: #f5a623; font-weight: 700; }
  .tc-count { font-size: 0.68rem; color: var(--gray); }
  .tc-price { font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-top: 0.5rem; }

  /* ══════ 매칭 프로세스 ══════ */
  .process { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); padding: 4rem 2rem; }
  .process .sec-kicker { color: var(--primary-l); }
  .process .sec-title  { color: #fff; }
  .process .sec-sub    { color: rgba(255,255,255,0.45); }
  .process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; position: relative; }
  .process-grid::before {
    content: '';
    position: absolute; top: 36px; left: calc(12.5% + 18px); right: calc(12.5% + 18px); height: 2px;
    background: linear-gradient(to right, var(--primary-l), var(--pastel-blue));
    z-index: 0;
  }
  .pstep { text-align: center; position: relative; z-index: 1; }
  .pstep-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.07); border: 2px solid var(--primary-l);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem; font-size: 0.9rem; font-weight: 900; color: var(--primary-l);
    box-shadow: 0 4px 16px rgba(37,99,176,0.2);
  }
  .pstep:nth-child(2) .pstep-num { border-color: #a8d4f5; color: #a8d4f5; }
  .pstep:nth-child(3) .pstep-num { border-color: #ffb3ce; color: #ffb3ce; }
  .pstep:nth-child(4) .pstep-num { border-color: #ffd6a0; color: #ffd6a0; }
  .pstep h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
  .pstep p  { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.75; }
  .pstep-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }

  /* ══════ 매칭 프로세스 타임라인 ══════ */
  .process-timeline {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: center;
    gap: 0;
    margin-top: 3.5rem;
    position: relative;
  }
  .ptl-step {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  /* 단계 사이 연결선 */
  .ptl-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
    z-index: 0;
  }
  .ptl-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    flex-shrink: 0;
  }
  .ptl-num {
    position: absolute;
    top: -5px; right: -5px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    font-size: 0.58rem; font-weight: 900; color: #fff;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
  }
  .ptl-body { padding: 0 0.6rem; }
  .ptl-title { font-size: 0.88rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; }
  .ptl-desc  { font-size: 0.72rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

  /* ══════ 과목 카테고리 ══════ */
  .subjects { background: #f5f3ee; padding: 4rem 1.5rem; }
  .subj-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 0.8rem; }
  .subj-card {
    background: #ffffff; border: 1px solid var(--border); border-radius: 14px;
    padding: 1.4rem 0.8rem; text-align: center; cursor: pointer;
    transition: transform .25s, background .25s, box-shadow .25s;
  }
  .subj-card:hover { transform: translateY(-4px); background: var(--pastel-blue); box-shadow: 0 8px 24px rgba(37,99,176,0.1); }
  .subj-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
  .subj-name { font-size: 0.78rem; font-weight: 700; color: var(--navy); }
  .subj-cnt  { font-size: 0.65rem; color: var(--gray); margin-top: 0.2rem; }

  /* ══════ 후기 ══════ */
  .reviews { background: #f8f7f4; }
  .rv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
  .rv-card {
    background: #ffffff; border-radius: 16px; padding: 1.6rem; border: 1.5px solid #e8e4dc;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform .3s;
  }
  .rv-card:hover { transform: translateY(-4px); }
  .rv-quote { font-size: 2.2rem; color: var(--primary-l); line-height: 0.8; margin-bottom: 0.7rem; font-family: Georgia, serif; }
  .rv-text  { font-size: 0.83rem; color: var(--text); line-height: 1.95; margin-bottom: 1.4rem; font-weight: 300; }
  .rv-text b { font-weight: 700; color: var(--primary); }
  .rv-footer { display: flex; align-items: center; gap: 0.8rem; }
  .rv-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
  }
  .rv-card:nth-child(1) .rv-avatar { background: var(--pastel-mint); }
  .rv-card:nth-child(2) .rv-avatar { background: var(--pastel-yellow); }
  .rv-card:nth-child(3) .rv-avatar { background: var(--pastel-pink); }
  .rv-who  { font-size: 0.78rem; font-weight: 700; color: var(--navy); }
  .rv-info { font-size: 0.68rem; color: var(--gray); margin-top: 0.1rem; }
  .rv-stars { margin-left: auto; font-size: 0.75rem; color: #f5a623; }

  /* ══════ 수강생 후기 슬라이드 ══════ */
  .reviews2 { background: #f5f3ee; }
  .rv2-track-wrap { margin-top: 2.2rem; width: 100%; overflow: hidden; }
  .rv2-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1.1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0 1rem;
  }
  .rv2-track::-webkit-scrollbar { display: none; }
  .rv2-card {
    flex: 0 0 310px !important;
    min-width: 310px !important;
    max-width: 310px !important;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.4rem 1.2rem;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #e8e4dc;
    box-shadow: 0 3px 14px rgba(37,99,176,0.07);
    transition: transform .3s, box-shadow .3s;
    box-sizing: border-box;
  }
  .rv2-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(37,99,176,0.12); }
  .rv2-open-quote {
    font-size: 2.4rem; line-height: 1.1; color: #c8dff8;
    font-family: Georgia, serif; display: block;
    margin-bottom: 0.3rem; height: 1.6rem; overflow: hidden;
  }
  .rv2-tag-row { display: flex; flex-wrap: wrap; gap: 0.28rem; margin-bottom: 0.75rem; }
  .rv2-tag { font-size: 0.6rem; font-weight: 700; padding: 0.14rem 0.48rem; border-radius: 50px; }
  .rv2-text { font-size: 0.76rem; line-height: 1.85; color: #4a5a6a; flex: 1; font-weight: 300; }
  .rv2-text b { color: var(--navy); font-weight: 700; }
  .rv2-footer {
    display: flex !important; align-items: center; gap: 0.65rem;
    margin-top: 1rem; padding-top: 0.85rem;
    border-top: 1px solid #edf3fc;
  }
  .rv2-emo {
    width: 33px; height: 33px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; flex-shrink: 0;
  }
  .rv2-who  { font-size: 0.72rem; font-weight: 800; color: var(--navy); }
  .rv2-meta { font-size: 0.61rem; color: var(--gray); margin-top: 0.06rem; }
  .rv2-stars { margin-left: auto; color: #f5a623; font-size: 0.66rem; letter-spacing: 0.8px; flex-shrink: 0; }
  .rv2-nav { display: flex; justify-content: center; gap: 0.55rem; margin-top: 0.9rem; }
  .rv2-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: #fff; border: 1.5px solid #cce0f5;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.88rem; color: var(--primary);
    transition: background .2s, border-color .2s; font-family: inherit;
  }
  .rv2-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

  /* ══════ VIDEO REVIEW SLIDER ══════ */
  .vr-section-wrap { margin-bottom: 3.5rem; }
  .vr-outer { position: relative; padding: 0 24px; }
  .vr-overflow { overflow: hidden; }
  .vr-track {
    display: flex; gap: 1rem;
    transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
  }
  .vr-card {
    flex: 0 0 280px; width: 280px;
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 4px 18px rgba(37,99,176,0.10);
    border: 1px solid #e4e0d8; cursor: pointer;
    transition: transform .22s, box-shadow .22s; user-select: none;
  }
  .vr-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(37,99,176,0.20); }
  .vr-thumb {
    width: 100%; aspect-ratio: 12/8; position: relative;
    background: #0f172a; overflow: hidden;
  }
  .vr-thumb img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    display: block; pointer-events: none;
  }
  .vr-badge {
    position: absolute; top: 9px; right: 9px; z-index: 2;
    color: #fff; font-size: 0.58rem; font-weight: 800;
    padding: 0.26rem 0.5rem; border-radius: 8px; text-align: center; line-height: 1.35;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  }
  .badge-blue   { background: linear-gradient(135deg,#1a5fe8,#0a3aaa); }
  .badge-orange { background: linear-gradient(135deg,#f05a1a,#c03808); }
  .badge-green  { background: linear-gradient(135deg,#1a9a4a,#0d6a30); }
  .badge-violet { background: linear-gradient(135deg,#7a3ad8,#5020a8); }
  .badge-pink   { background: linear-gradient(135deg,#d03a8a,#a01860); }
  .vr-play-layer {
    position: absolute; inset: 0; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0); transition: background .2s;
  }
  .vr-card:hover .vr-play-layer { background: rgba(0,0,0,0.12); }
  .vr-play-btn {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.28);
    transition: transform .2s, background .2s;
  }
  .vr-card:hover .vr-play-btn { transform: scale(1.12); background: #fff; }
  .vr-play-btn svg { margin-left: 3px; }
  .vr-info { padding: 0.8rem 0.9rem 0.95rem; }
  .vr-univ { font-size: 0.82rem; font-weight: 900; color: #1a5fe8; margin-bottom: 0.22rem; }
  .vr-desc { font-size: 0.69rem; color: #334455; line-height: 1.5; margin-bottom: 0.4rem; }
  .vr-who  { font-size: 0.6rem; color: #6a8aaa; }
  .vr-arrow {
    position: absolute; top: 50%; transform: translateY(-65%);
    width: 36px; height: 36px; border-radius: 50%;
    background: #fff; border: 1.5px solid #c8ddf5;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--primary);
    box-shadow: 0 2px 10px rgba(26,80,112,0.12);
    transition: background .18s, border-color .18s; z-index: 5;
    font-size: 0.9rem; font-family: inherit;
  }
  .vr-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
  .vr-arrow-l { left: 0; }
  .vr-arrow-r { right: 0; }
  .vr-dots { display: flex; justify-content: center; gap: 0.38rem; margin-top: 1rem; }
  .vr-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #c0d8f0; border: none; padding: 0; cursor: pointer;
    transition: background .2s, transform .2s;
  }
  .vr-dot.on { background: var(--primary); transform: scale(1.35); }
  /* 재생버튼 호버시 유튜브 빨강 힌트 */
  .vr-card:hover .vr-play-btn { transform: scale(1.12); background: #fff; }
  .vr-play-btn svg polygon { transition: fill .2s; }
  .vr-card:hover .vr-play-btn svg polygon { fill: #ff0000; }
  /* 선택된 카드 하이라이트 */
  .vr-card.playing { outline: 2.5px solid var(--primary); box-shadow: 0 0 0 4px rgba(26,95,232,0.15); }
  @media(max-width:768px){
    .vr-card { flex: 0 0 215px; width: 215px; }
    .vr-outer { padding: 0 18px; }
  }
  @media(max-width:480px){
    .vr-card { flex: 0 0 190px; width: 190px; }
  }

  /* ══════ 슬라이드업 플레이어 ══════ */
  /* ══════ 영상 모달 플레이어 ══════ */
  .vr-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,0.88);
    align-items: center; justify-content: center;
    padding: 1.5rem;
  }
  .vr-modal-overlay.open { display: flex; }
  .vr-modal-box {
    background: #0a1520; border-radius: 14px; overflow: hidden;
    width: 100%; max-width: 960px;
    position: relative;
    box-shadow: 0 32px 100px rgba(0,0,0,0.85);
    animation: vrFadeIn .22s ease;
  }
  @keyframes vrFadeIn { from{opacity:0;transform:scale(0.95)} to{opacity:1;transform:scale(1)} }
  /* 16:9 비율 영상 래퍼 */
  .vr-modal-vwrap {
    position: relative; width: 100%; padding-bottom: 56.25%; background: #000;
  }
  .vr-modal-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block; object-fit: contain; background: #000;
  }
  /* 정보 바 */
  .vr-modal-info {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.5rem 1.3rem;
  }
  .vr-mi-badge {
    flex-shrink: 0; font-size: 0.65rem; font-weight: 800;
    padding: 0.25rem 0.65rem; border-radius: 6px; color: #fff;
  }
  .vr-mi-texts { flex: 1; }
  .vr-mi-title { font-size: 1rem; font-weight: 900; color: #fff; margin-bottom: 0.2rem; }
  .vr-mi-desc  { font-size: 0.78rem; color: rgba(255,255,255,0.58); }
  .vr-mi-name  { font-size: 0.65rem; color: rgba(255,255,255,0.3); margin-top: 0.12rem; }
  /* 닫기 버튼 */
  .vr-modal-close {
    position: absolute; top: 10px; right: 12px; z-index: 10;
    background: rgba(0,0,0,0.6); border: none; color: #fff;
    width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .18s; font-family: inherit;
  }
  .vr-modal-close:hover { background: rgba(255,255,255,0.25); }
  @media(max-width:600px){
    .vr-modal-overlay { padding: 0; align-items: flex-end; }
    .vr-modal-box { border-radius: 14px 14px 0 0; max-width: 100%; }
    .vr-modal-info { padding: 0.8rem 1rem 1rem; }
    .vr-mi-title { font-size: 0.88rem; }
  }

  /* ══════ FOOTER ══════ */
  footer { background: var(--navy); padding: 3.5rem 2rem 2rem; }
  .ft-inner { max-width: 1160px; margin: 0 auto; }
  .ft-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 1.5rem;
  }
  .ft-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
  .ft-logo-name { font-size: 1.1rem; font-weight: 900; }
  .ft-logo-name .pw { color: #ffaac5; }
  .ft-logo-name .tu { color: #6dd9c0; }
  .ft-desc { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.8; }
  .ft-col h5 { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.3); text-transform: uppercase; margin-bottom: 1rem; }
  .ft-col a  { display: block; color: rgba(255,255,255,0.38); font-size: 0.8rem; margin-bottom: 0.55rem; transition: color .2s; }
  .ft-col a:hover { color: var(--primary-l); }
  .ft-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
  .ft-copy { font-size: 0.72rem; color: rgba(255,255,255,0.2); }

  /* ══════ FLOAT ══════ */
  .float-group {
    position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 999;
    display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-end;
  }
  .float-btn {
    display: flex; align-items: center; justify-content: center;
    border: none; border-radius: 50px;
    cursor: pointer; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
  }
  .float-btn:hover { transform: translateY(-2px); }
  .float-phone {
    width: 48px; height: 48px; border-radius: 50%;
    background: #fff; border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  }
  .float-phone:hover { box-shadow: 0 6px 20px rgba(37,99,176,0.18); }
  .float-kakao {
    width: 48px; height: 48px; border-radius: 50%;
    background: transparent; padding: 0;
    box-shadow: 0 2px 12px rgba(254,229,0,0.45);
    overflow: hidden;
  }
  .float-kakao:hover { box-shadow: 0 6px 20px rgba(254,229,0,0.6); }
  .float-consult {
    gap: 0.5rem; padding: 0.78rem 1.25rem; font-size: 0.82rem; font-weight: 800;
    font-family: inherit; white-space: nowrap;
    background: #2563b0; color: #fff;
    box-shadow: 0 4px 18px rgba(37,99,176,0.35);
  }
  .float-consult:hover { box-shadow: 0 8px 26px rgba(37,99,176,0.45); }



  /* ══════ HERO SLIDE ══════ */
  .hero-slides {
    position: absolute; inset: 0; z-index: 0;
  }
  .hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
  }
  .hero-slide.active { opacity: 1; }
  .hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(255,250,247,0.92) 0%, rgba(255,250,247,0.75) 50%, rgba(255,250,247,0.3) 100%);
  }
  .hero-inner { position: relative; z-index: 1; }
  /* 슬라이드 도트 */
  .hero-dots {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.5rem; z-index: 2;
  }
  .hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(37,99,176,0.25); cursor: pointer;
    transition: background .3s, transform .3s;
  }
  .hero-dot.active { background: var(--primary); transform: scale(1.3); }

  /* 슬라이드 배경 - CSS 그라디언트로 대체 */
  .slide-bg-1 { background: linear-gradient(135deg,#1e3a8a 0%,#2563eb 55%,#3b82f6 100%); }
  .slide-bg-2 { background: linear-gradient(135deg,#1d4ed8 0%,#2563eb 60%,#60a5fa 100%); }
  .slide-bg-3 { background: linear-gradient(135deg,#1e40af 0%,#3b82f6 60%,#93c5fd 100%); }

  /* 슬라이드별 장식 */
  .slide-deco {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 55%; display: flex; align-items: center; justify-content: center;
    font-size: 14rem; opacity: 0.06; pointer-events: none;
    user-select: none;
  }

  /* ══════ TRUST BAR ══════ */
  .trust-bar {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 40%, #3b82f6 100%);
    padding: 3rem 2rem;
  }
  .trust-bar::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(ellipse 50% 70% at 50% -5%, rgba(147,197,253,0.4) 0%, transparent 65%),
      radial-gradient(ellipse 25% 35% at 10% 50%, rgba(147,197,253,0.15) 0%, transparent 55%);
    pointer-events: none;
  }
  /* 반짝이 파티클 */
  .trust-bar::after {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background-image:
      radial-gradient(circle 1.5px at 10% 30%, rgba(255,255,255,0.7) 0%, transparent 100%),
      radial-gradient(circle 1px at 20% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(circle 2px at 35% 20%, rgba(200,220,255,0.6) 0%, transparent 100%),
      radial-gradient(circle 1px at 50% 80%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(circle 1.5px at 65% 15%, rgba(255,255,255,0.65) 0%, transparent 100%),
      radial-gradient(circle 1px at 75% 65%, rgba(200,220,255,0.5) 0%, transparent 100%),
      radial-gradient(circle 2px at 88% 35%, rgba(255,255,255,0.55) 0%, transparent 100%),
      radial-gradient(circle 1px at 92% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(circle 1px at 5% 55%, rgba(255,255,255,0.35) 0%, transparent 100%),
      radial-gradient(circle 1.5px at 45% 45%, rgba(255,255,255,0.3) 0%, transparent 100%);
    pointer-events: none;
    animation: sparkle 4s ease-in-out infinite alternate;
  }
  @keyframes sparkle {
    0%   { opacity: 0.6; }
    50%  { opacity: 1; }
    100% { opacity: 0.5; }
  }
  .trust-inner {
    position: relative; z-index: 1;
    max-width: 1160px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 2rem;
  }
  .trust-headline {
    text-align: center;
  }
  .trust-brand {
    font-size: 1rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(160,200,255,0.6); margin-bottom: 0.4rem;
  }
  .trust-tagline {
    font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; line-height: 1.2;
  }
  .trust-tagline span { color: #a8cef8; }
  .trust-stats {
    display: flex; align-items: stretch; justify-content: center;
    gap: 0; width: 100%; max-width: 900px;
  }
  .trust-item {
    flex: 1; text-align: center; padding: 1.5rem 1rem;
    position: relative;
    border-right: 1px solid #e8e4dc;
    transition: background .3s;
  }
  .trust-item:last-child { border-right: none; }
  .trust-item:hover { background: rgba(255,255,255,0.04); border-radius: 16px; }
  .trust-icon {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 0.8rem;
    font-size: 1.6rem;
    position: relative;
  }
  .trust-icon::after {
    content: '';
    position: absolute; inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(100,160,255,0.4), rgba(40,80,200,0.2));
    z-index: -1;
  }
  .trust-num {
    font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1;
    text-shadow: 0 0 30px rgba(100,160,255,0.5);
  }
  .trust-num span {
    font-size: 1.1rem; color: #a8cef8; font-weight: 700;
  }
  .trust-lbl {
    font-size: 0.72rem; color: rgba(255,255,255,0.45);
    margin-top: 0.4rem; letter-spacing: 1px; text-transform: uppercase;
  }
  .trust-sep { display: none; }
  .trust-left { display: none; }
  .trust-divider-v { display: none; }
  @media(max-width:700px) {
    .trust-stats { flex-wrap: wrap; }
    .trust-item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.08); border-right: none; }
    .trust-item:nth-child(odd) { border-right: 1px solid #e8e4dc; }
  }

  /* ══════ CONSULT FORM ══════ */
  .consult-sec { background: #ffffff; padding: 3.5rem 1.5rem; }
  .consult-wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
    max-width: 1000px; margin: 0 auto;
  }
  .consult-points { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
  .cp-item { font-size: 0.85rem; color: var(--text); display: flex; align-items: center; gap: 0.6rem; }
  .cp-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
  .consult-form {
    background: #fff; border-radius: 20px; padding: 2rem 2rem 1.8rem;
    box-shadow: 0 8px 40px rgba(37,99,176,0.1);
    border: 1px solid var(--border);
  }
  .cf-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 1.4rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
  .cf-row { margin-bottom: 1rem; }
  .cf-row label { font-size: 0.75rem; font-weight: 700; color: var(--navy); display: block; margin-bottom: 0.35rem; }
  .cf-req { color: var(--primary); }
  .cf-row input, .cf-row select {
    width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
    padding: 0.65rem 0.9rem; font-size: 0.83rem; font-family: inherit;
    color: var(--text); background: #fdfcfa; outline: none;
    transition: border-color .2s;
  }
  .cf-row input:focus, .cf-row select:focus { border-color: var(--primary-l); }
  .cf-select-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .cf-select-wrap select { width: 100%; }
  .cf-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .cf-chip {
    font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.8rem;
    border-radius: 50px; border: 1.5px solid var(--border);
    color: var(--gray); cursor: pointer; transition: all .2s;
    user-select: none;
  }
  .cf-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
  .cf-agree { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0; font-size: 0.72rem; color: var(--gray); }
  .cf-agree input { width: auto; }
  .cf-submit {
    width: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-d));
    color: #fff; border: none; border-radius: 12px;
    padding: 0.9rem; font-size: 0.88rem; font-weight: 700; font-family: inherit;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(37,99,176,0.28);
    transition: transform .2s, box-shadow .2s;
  }
  .cf-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,176,0.38); }

  @media(max-width:900px) {
    .consult-wrap { grid-template-columns: 1fr; gap: 2rem; }
    .trust-item { padding: 0 1.2rem; }
    .trust-divider { display: none; }
  }

  /* ══════ CONSULT LEFT ══════ */
  .consult-left { }

  /* ══════ SCROLL MARGIN (fixed header 보정) ══════ */
  #cities, #tutors, #process, #subjects, #reviews-real, #reviews, #consult, #cta, #price, #faq {
    scroll-margin-top: 140px;
  }

  /* ══════ REVEAL ══════ */
  .reveal { opacity:1; transform:none; }
  .reveal.on { opacity:1; transform:none; }
  .reveal-d1 { transition-delay: 0s; }
  .reveal-d2 { transition-delay: 0s; }
  .reveal-d3 { transition-delay: 0s; }

  /* ══════ RESPONSIVE ══════ */
  @media(max-width:1024px) {
    .tutor-grid { grid-template-columns: repeat(2,1fr); }
    .subj-grid  { grid-template-columns: repeat(4,1fr); }
  }
  @media(max-width:900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .why-grid    { grid-template-columns: repeat(2,1fr); }
    .process-grid { grid-template-columns: repeat(2,1fr); }
    .process-grid::before { display: none; }
    .rv2-track { gap: 1rem; }
    .rv2-card  { flex: 0 0 85vw; }
    .why-list  { grid-template-columns: 1fr; }
    .ft-top  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  }
  @media(max-width:600px) {
    .subj-grid  { grid-template-columns: repeat(3,1fr); }
    .tutor-grid { grid-template-columns: 1fr; }
    .why-grid   { grid-template-columns: 1fr; }
    nav a:not(.nav-btn) { display: none; }
  }

  /* ══════ WHY 섹션 (2열 가로 리스트) ══════ */
  .why { background: #ffffff; }
  .why-grid  { display: none !important; }
  .why-card  { display: none !important; }

  .why-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 2rem;
    margin-top: 2.2rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }
  .why-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e4eef8;
    box-shadow: 0 2px 10px rgba(37,99,176,0.05);
    transition: transform .25s, box-shadow .25s;
  }
  .why-row:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(37,99,176,0.10); }
  .why-row > .why-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    margin: 0 !important;          /* margin:0 auto 완전 차단 */
    flex-shrink: 0 !important;
  }
  .why-right { flex: 1; min-width: 0; }
  .why-title { font-size: 0.85rem; font-weight: 800; color: var(--navy); margin-bottom: 0.25rem; }
  .why-desc  { font-size: 0.72rem; color: #5a6a7a; line-height: 1.75; }
  .why-note  { font-size: 0.64rem; color: #9aaabb; margin-top: 0.25rem; }

  /* ══════ FAQ ══════ */
  .faq-sec { background: #fff; padding: 5.5rem 2rem; }
  .faq-wrap { max-width: 780px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.6rem; }
  .faq-item {
    border: 1.5px solid var(--border); border-radius: 14px;
    overflow: hidden; transition: border-color .2s;
  }
  .faq-item.open { border-color: var(--primary-l); }
  .faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.15rem 1.4rem; cursor: pointer;
    font-size: 0.88rem; font-weight: 700; color: var(--navy);
    background: #fff; user-select: none;
    transition: background .2s;
  }
  .faq-item.open .faq-q { background: #f5f9ff; color: var(--primary); }
  .faq-q-icon {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    background: var(--pastel-blue); display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 900; color: var(--primary);
    transition: background .2s, transform .3s;
  }
  .faq-item.open .faq-q-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .3s;
    font-size: 0.82rem; color: #5a6a7a; line-height: 1.85;
    padding: 0 1.4rem;
  }
  .faq-item.open .faq-a { max-height: 300px; padding: 0 1.4rem 1.2rem; }
  .faq-a b { color: var(--navy); font-weight: 700; }

  /* ══════════════════════════════════════════════════════
     모바일 전용 반응형 패치 v4 — PC 구조 영향 없음
  ══════════════════════════════════════════════════════ */

  /* ── 햄버거 버튼 ── */
  .hamburger-btn {
    display: none; flex-direction: column; justify-content: center;
    align-items: center; width: 40px; height: 40px;
    background: none; border: none; cursor: pointer; gap: 5px; padding: 0; flex-shrink: 0;
  }
  .hamburger-btn span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger-btn.open span:nth-child(2) { opacity: 0; }
  .hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── 모바일 드로어 ── */
  .mobile-menu {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 1200;
    overflow-y: auto; flex-direction: column;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu-inner {
    padding: 1.2rem 1.4rem 3rem; margin-top: 0;
    display: flex; flex-direction: column; gap: 0.1rem;
  }
  .mobile-menu a {
    display: flex; align-items: center;
    color: var(--text); font-size: 1rem; font-weight: 600;
    padding: 1rem 0.8rem; border-bottom: 1px solid #f0f0f0;
    text-decoration: none; -webkit-tap-highlight-color: transparent;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:active { background: #eef4ff; }
  .mobile-menu .mm-cta {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-d));
    color: #fff !important; border-radius: 50px !important;
    text-align: center; margin-top: 1rem; padding: 1rem 1.5rem !important;
    border-bottom: none !important; box-shadow: 0 4px 16px rgba(37,99,176,0.3);
  }

  /* ══════════════════════════════
     @media 768px 이하
  ══════════════════════════════ */
  @media (max-width: 768px) {

    /* ─── 전반 ─── */
    body         { overflow-x: hidden !important; }
    header       { top: 0; } /* cat-banner 52px */
    .hero { min-height: auto !important; align-items: flex-start !important; }
    .hamburger-btn { display: none; }
    nav          { display: none !important; }
    .sec         { padding: 3.2rem 1.2rem !important; }
    .hd-main     { padding: 0 1rem !important; height: 58px !important; }
    .logo-name   { font-size: 1.1rem !important; }
    .logo-icon   { width: 36px !important; height: 36px !important; }
    .sec-head    { margin-bottom: 2rem !important; }
    .sec-kicker  { font-size: 0.62rem !important; }
    .sec-title   { font-size: 1.25rem !important; word-break: keep-all; }
    .sec-sub     { font-size: 0.78rem !important; word-break: keep-all; }

    /* ─── CAT BANNER ─── */
    .cat-banner  { height:52px; }
    .cat-item    { gap: 0.3rem; }
    .cat-icon    { font-size: 0.95rem; }
    .cat-main    { font-size: 0.8rem; }
    .cat-sub     { display: none; }
    /* 드롭다운 전체폭 */

    /* ─── HERO ─── */
    .hero-inner  { padding: 0 1.2rem 2.2rem !important; grid-template-columns: 1fr !important; }
    .hero-visual { display: none !important; }
    .hero h1     { font-size: 1.7rem !important; line-height: 1.3 !important; }
    .hero-desc   { font-size: 0.84rem !important; line-height: 1.75 !important; margin-bottom: 1.4rem !important; }
    .hero-badge  { font-size: 0.68rem !important; margin-top: 0.8rem !important; }
    .btn-main    { font-size: 0.88rem !important; padding: 0.8rem 1.5rem !important; width: auto !important; }
    .hero-stats  { gap: 1rem !important; }
    .hero-stat-num { font-size: 1.3rem !important; }

    /* ─── TRUST BAR 2×2 ─── */
    .trust-tagline { font-size: 1.1rem !important; }
    .trust-brand   { font-size: 0.7rem !important; letter-spacing: 2px !important; }
    .trust-stats   { flex-wrap: wrap !important; gap: 0 !important; }
    .trust-item    { flex: 0 0 50% !important; padding: 1rem 0.7rem !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
    .trust-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08) !important; }
    .trust-item:nth-child(3),
    .trust-item:nth-child(4)    { border-bottom: none !important; }
    .trust-num   { font-size: 1.75rem !important; }
    .trust-icon  { width: 38px !important; height: 38px !important; font-size: 1.1rem !important; }
    .trust-lbl   { font-size: 0.62rem !important; }

    /* ─── CITIES — 지도 숨김, 카드 균일 높이 ─── */
    .cities      { overflow: hidden; }
    .cities-hero { padding: 2.5rem 1.2rem 1.8rem !important; }
    .cities-hero-title { font-size: 1.3rem !important; word-break: keep-all; }
    .cities-hero-sub   { font-size: 0.76rem !important; word-break: keep-all; }
    .cities-region-wrap { padding: 0 1rem 2.5rem !important; overflow: hidden; }
    .cities-region-tabs { flex-wrap: wrap; gap: 0.3rem; justify-content: center; margin-bottom: 1.2rem; }
    .region-tab  { font-size: 0.7rem !important; padding: 0.38rem 0.75rem !important; }
    .cities-map-layout { display: block !important; }
    #map-sticky-col    { display: none !important; }
    .city-grid-col     { width: 100% !important; }
    .city-grid {
      grid-template-columns: 1fr 1fr !important;
      gap: 0.65rem !important;
    }
    /* 모든 카드 동일 높이 */
    .city-card     { min-height: 120px !important; height: 120px !important; }
    .city-card-big {
      grid-column: span 2 !important; grid-row: span 1 !important;
      min-height: 120px !important; height: 120px !important;
    }
    /* 빅카드 텍스트 조정 */
    .city-card-big .city-name { font-size: 1rem !important; }
    .city-card-big .city-desc { display: none !important; }
    .city-card-big .city-card-body { padding: 1rem 1.1rem !important; }
    .city-name   { font-size: 0.85rem !important; }
    .city-tags   { gap: 0.25rem !important; }
    .city-tag    { font-size: 0.6rem !important; padding: 0.15rem 0.45rem !important; }
    .city-arrow  { width: 26px !important; height: 26px !important; font-size: 0.75rem !important; top: 0.6rem !important; right: 0.6rem !important; }

    /* ─── WHY — 2열 ─── */
    .why-sec     { padding: 2.8rem 1rem !important; }
    .why-cards   { grid-template-columns: 1fr 1fr !important; gap: 0.7rem !important; }
    .wc          { padding: 1.1rem 0.9rem !important; }
    .wc-icon     { width: 38px !important; height: 38px !important; font-size: 1.1rem !important; margin-bottom: 0.6rem !important; }
    .wc-title    { font-size: 0.8rem !important; }
    .wc-desc     { font-size: 0.68rem !important; line-height: 1.6 !important; }
    .why-list    { grid-template-columns: 1fr !important; gap: 0.5rem !important; }
    .why-row     { padding: 0.85rem 1rem !important; gap: 0.75rem !important; }
    .why-icon-wrap { width: 36px !important; height: 36px !important; font-size: 1rem !important; flex-shrink: 0; }
    .why-title   { font-size: 0.78rem !important; }
    .why-desc    { font-size: 0.66rem !important; }

    /* ─── TUTORS 텍스트 영역 — 간격 정비 ─── */
    .tutors      { padding: 2.8rem 1.2rem !important; }
    .ti-layout   { grid-template-columns: 1fr !important; gap: 0 !important; }
    /* 텍스트 영역 */
    .ti-layout > div:first-child { margin-bottom: 1.6rem; }
    /* 섹션 헤더 */
    .tutors .sec-kicker { font-size: 0.62rem !important; }
    .tutors .sec-title  { font-size: 1.2rem !important; word-break: keep-all; margin-bottom: 0.5rem !important; }
    /* sec-sub(바른결에듀의 모든~) 와 ti-headline 사이 간격 */
    .tutors .sec-sub    {
      font-size: 0.74rem !important; word-break: keep-all;
      line-height: 1.6 !important;
      margin-bottom: 1.4rem !important;  /* ← 간격 추가 */
      padding-bottom: 1.2rem !important;
      border-bottom: 1px solid #eee;     /* ← 구분선 */
    }
    .ti-headline {
      font-size: 1.2rem !important; line-height: 1.4 !important;
      word-break: keep-all;
      margin-top: 0 !important;
      margin-bottom: 0.6rem !important;
    }
    .ti-desc {
      font-size: 0.8rem !important; line-height: 1.8 !important;
      word-break: keep-all; margin-bottom: 1.2rem !important;
    }
    .ti-pills    { gap: 0.3rem !important; flex-wrap: wrap !important; }
    .ti-pill     { font-size: 0.7rem !important; padding: 0.32rem 0.75rem !important; }
    /* 콜라쥬 이미지 */
    .ti-collage-wrap { border-radius: 12px !important; overflow: hidden; max-height: 200px !important; }
    .ti-collage-wrap img { height: 200px !important; object-fit: cover !important; object-position: center !important; width: 100% !important; }
    .ti-collage-badge { font-size: 0.65rem !important; padding: 0.35rem 0.75rem !important; }

    /* ─── PREMIUM TUTOR SLIDER (peek 방식) ─── */
    /* margin/padding은 섹션 내부 @media로 처리 */
    .tp-head     { padding: 0 1.2rem; }
    .tp-stars    { font-size: 1rem !important; }
    .tp-ptitle   { font-size: 1rem !important; line-height: 1.35 !important; word-break: keep-all; }
    .tp-psub     { font-size: 0.68rem !important; word-break: keep-all; }
    /* 카드: 1.7장 보이게 — 58vw, 다음 카드 살짝 노출 */
    .tp-slider-wrap {
      position: relative !important;
      padding: 0 !important;
      overflow: hidden !important;
    }
    .tp-overflow { overflow: visible !important; }
    .tp-track    { gap: 0.75rem !important; padding: 0 1.2rem !important; }
    .tp-card {
      flex: 0 0 58vw !important;
      max-width: 58vw !important;
    }
    /* 사진: 원본 비율 유지 — 잘림 없이 전체 노출 */
    .tp-photo    {
      overflow: hidden !important;
      border-radius: 10px 10px 0 0 !important;
      background: transparent !important;
      height: auto !important;
      display: block !important;
    }
    .tp-photo img{
      width: 100% !important;
      height: auto !important;
      object-fit: unset !important;
      display: block !important;
    }
    /* 카드 하단 텍스트 영역 폰트 줄임 */
    .tp-card .tp-name  { font-size: 0.82rem !important; }
    .tp-card .tp-spec  { font-size: 0.72rem !important; }
    .tp-card .tp-intro { font-size: 0.68rem !important; line-height: 1.5 !important; }
    /* 화살표: 슬라이더 하단 좌우 배치 */
    .tp-arrow {
      position: absolute !important;
      top: auto !important; bottom: -4rem !important;
      transform: none !important;
      width: 42px !important; height: 42px !important;
      font-size: 1.3rem !important;
    }
    .tp-arrow-l  { left: calc(50% - 50px) !important; right: auto !important; }
    .tp-arrow-r  { right: calc(50% - 50px) !important; left: auto !important; }
    .tp-dots     { margin-top: 0.8rem !important; }

    /* ─── REVIEWS 영상 슬라이더 (peek 방식) ─── */
    .vr-sec      { padding: 2.8rem 0 2.8rem !important; }  /* 좌우 0 → peek */
    .vr-sec .sec-head { padding: 0 1.2rem !important; }
    .vr-sec .vr-dots  { padding: 0 1.2rem; }
    .vr-outer    {
      position: relative; padding: 0 1.2rem !important;
      overflow: hidden !important;
    }
    .vr-track    { gap: 0.75rem !important; cursor: grab; }
    .vr-track:active { cursor: grabbing; }
    /* 카드: 프리미엄과 동일한 세로 비율 → 화면의 55% 너비 */
    .vr-card     {
      flex: 0 0 55vw !important; width: 55vw !important;
      transition: opacity 0.3s ease, transform 0.3s ease !important;
    }
    /* 현재 카드 외 흐리게 */
    .vr-card:not(.vr-active) { opacity: 1 !important; transform: scale(1) !important; }
    .vr-card.vr-active        { opacity: 1 !important; transform: scale(1) !important; }
    .vr-thumb    { aspect-ratio: 3/4 !important; }
    .vr-arrow    { display: none !important; }
    .vr-univ     { font-size: 0.72rem !important; }
    .vr-desc     { font-size: 0.62rem !important; line-height: 1.5 !important; }
    .vr-name     { font-size: 0.6rem !important; }
    /* 텍스트 리뷰 */
    .rv2-wrap    { padding: 2.5rem 0 !important; }
    .rv2-wrap .sec-head { padding: 0 1.2rem !important; }
    .rv2-outer   { overflow: hidden !important; }
    .rv2-track   { padding: 0.5rem 1.2rem 1rem !important; }
    .rv2-card    { flex: 0 0 82vw !important; min-width: 82vw !important; max-width: 82vw !important; padding: 1.3rem !important; }
    .rv2-text    { font-size: 0.72rem !important; line-height: 1.7 !important; }
    .rv2-name    { font-size: 0.7rem !important; }
    .rv2-grade   { font-size: 0.62rem !important; }

    /* ─── HOW IT WORKS — 세로 타임라인 ─── */
    .process     { padding: 3rem 1.4rem !important; }
    .process-timeline {
      display: flex !important; flex-direction: column !important; gap: 0 !important;
    }
    .ptl-step {
      display: flex !important; flex-direction: row !important;
      align-items: flex-start !important; text-align: left !important;
      gap: 1.2rem; padding: 1rem 0; position: relative;
    }
    .ptl-step:not(:last-child)::after {
      content: '' !important; position: absolute !important;
      left: 27px !important; top: 78px !important;
      width: 2px !important; height: calc(100% - 52px) !important;
      background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.04)) !important;
      z-index: 0; display: block !important;
    }
    .ptl-circle {
      flex-shrink: 0; margin-bottom: 0 !important;
      width: 54px !important; height: 54px !important; font-size: 1.5rem !important;
    }
    .ptl-body    { padding-top: 0.3rem !important; }
    .ptl-title   { font-size: 0.95rem !important; margin-bottom: 0.3rem !important; }
    .ptl-desc    { font-size: 0.74rem !important; line-height: 1.65 !important; word-break: keep-all; }
    .ptl-num     { top: -3px !important; right: -3px !important; font-size: 0.6rem !important; width: 18px !important; height: 18px !important; }

    /* ─── FAQ — 터치 영역 확보 ─── */
    .faq-sec     { padding: 2.8rem 1rem !important; }
    .faq-wrap    { margin-top: 1.5rem !important; }
    .faq-item    { cursor: pointer !important; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }
    .faq-q       { font-size: 0.82rem !important; padding: 1.1rem 1.2rem !important; word-break: keep-all; min-height: 48px; align-items: center !important; }
    .faq-q-icon  { width: 24px !important; height: 24px !important; font-size: 1rem !important; flex-shrink: 0; }
    .faq-a       { font-size: 0.78rem !important; line-height: 1.75 !important; max-height: 0; overflow: hidden; padding: 0 1.2rem !important; transition: max-height 0.35s ease, padding 0.35s ease !important; word-break: keep-all; }
    .faq-item.open .faq-a { max-height: 500px !important; padding: 0.8rem 1.2rem 1.3rem !important; }

    /* ─── FLOATING BUTTONS — 스크롤 연동 (JS로 제어) ─── */
    .float-group {
      position: fixed !important;
      bottom: 1rem !important; right: 0.9rem !important;
      gap: 0.5rem !important; z-index: 1100 !important;
      flex-direction: column !important; align-items: flex-end !important;
    }
    .float-group.hidden {
      opacity: 0 !important; pointer-events: none !important; transform: translateY(10px) !important;
    }
    .float-phone { width: 44px !important; height: 44px !important; }
    .float-kakao { width: 44px !important; height: 44px !important; }
    .float-consult { padding: 0.65rem 1rem !important; font-size: 0.75rem !important; }  /* ★ 전화상담 표시 */

    /* ─── FOOTER ─── */
    footer       { padding: 2.5rem 1.2rem 5.5rem !important; }
    .ft-top      { grid-template-columns: 1fr 1fr !important; gap: 1.5rem 1rem !important; }
    .ft-logo-area { grid-column: span 2; }
    .ft-desc     { font-size: 0.71rem !important; word-break: keep-all; }
    .ft-col h5   { font-size: 0.6rem !important; }
    .ft-col a    { font-size: 0.71rem !important; word-break: keep-all; }
    .ft-bottom   { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
    .ft-copy     { font-size: 0.63rem !important; word-break: keep-all; }

    /* ─── 진단 ─── */
    .diag-top    { padding: 2.5rem 1.2rem 2rem !important; }
    .diag-steps-wrap { padding: 0 1.2rem 3rem !important; }
    .diag-steps  { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; padding: 1.5rem 1rem !important; }
    .ds-arrow    { display: none !important; }

    /* ─── CONSULT FORM ─── */
    .consult-sec  { padding: 2.8rem 1rem !important; }
    .consult-wrap { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .consult-form { padding: 1.4rem 1.1rem !important; }

    /* ─── 과목 그리드 ─── */
    .subj-grid   { grid-template-columns: repeat(4, 1fr) !important; gap: 0.5rem !important; }
    .subj-card   { padding: 0.9rem 0.4rem !important; }
    .subj-icon   { font-size: 1.35rem !important; }
    .subj-name   { font-size: 0.67rem !important; }

    /* ─── BRAND BAR 모바일 픽스 ─── */
    .brand-bar {
      height: auto !important;
      min-height: 30px !important;
      flex-wrap: wrap !important;
      padding: 0.3rem 0.9rem !important;
      gap: 0.25rem 0.4rem !important;
      align-items: center !important;
    }
    .brand-siblings {
      margin-left: 0 !important;
      width: 100% !important;
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      overflow-y: hidden !important;
      -webkit-overflow-scrolling: touch !important;
      scrollbar-width: none !important;
      padding-bottom: 0.2rem !important;
      gap: 0.3rem !important;
    }
    .brand-siblings::-webkit-scrollbar { display: none !important; }
    .brand-siblings a {
      flex-shrink: 0 !important;
      font-size: 0.6rem !important;
      padding: 0.1rem 0.45rem !important;
      white-space: nowrap !important;
    }
    header { top: 0; position: fixed !important; }
    /* cat-banner 고정 높이 52px 기준 */

  }


  /* ══════ 이미지 후기 섹션 ══════ */
  .img-review-sec { background: #f8f7f4; padding: 4rem 0; }
  .img-review-tabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
  .img-review-tab {
    background: #f0f4f8; color: var(--gray); border: none; border-radius: 50px;
    padding: 0.5rem 1.4rem; font-size: 0.82rem; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: background .2s, color .2s;
  }
  .img-review-tab.on { background: var(--primary); color: #fff; }
  .img-review-slider { position: relative; overflow: hidden; }
  .img-review-track {
    display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0.5rem 1.5rem 1rem;
  }
  .img-review-track::-webkit-scrollbar { display: none; }
  /* 카드형 */
  .ir-card-item {
    flex: 0 0 280px; scroll-snap-align: start; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform .2s;
  }
  .ir-card-item:hover { transform: translateY(-4px); }
  .ir-card-item img { width: 100%; display: block; }
  /* 카카오톡형 */
  .ir-kakao-item {
    flex: 0 0 220px; scroll-snap-align: start; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10); transition: transform .2s; background: #f9f9f9;
  }
  .ir-kakao-item:hover { transform: translateY(-4px); }
  .ir-kakao-item img { width: 100%; display: block; }
  .img-review-nav { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.2rem; }
  .img-review-nav button {
    background: #fff; border: 1.5px solid var(--border); border-radius: 50%;
    width: 36px; height: 36px; font-size: 1rem; cursor: pointer; transition: border-color .2s;
  }
  .img-review-nav button:hover { border-color: var(--primary); color: var(--primary); }
  @media(max-width:768px) {
    .ir-card-item  { flex: 0 0 75vw; }
    .ir-kakao-item { flex: 0 0 70vw; }
  }

  /* 연한 배경 카드 - 어두운 텍스트 */
  .city-card:has(.city-card-bg[data-dark="1"]) .city-card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.08) 100%);
  }
  .city-card:has(.city-card-bg[data-dark="1"]) .city-tag {
    background: rgba(0,0,0,0.15);
    color: #1e293b;
  }
  .city-card:has(.city-card-bg[data-dark="1"]) .city-name {
    color: #0f172a;
    text-shadow: none;
  }
  .city-card:has(.city-card-bg[data-dark="1"]) .city-desc {
    color: rgba(15,23,42,0.8);
  }
  .city-card:has(.city-card-bg[data-dark="1"]) .city-arrow svg {
    stroke: #1e293b;
  }
  .city-card:has(.city-card-bg[data-dark="1"]) .city-arrow {
    background: rgba(0,0,0,0.12);
  }

  .dark-text-card .city-card-overlay { background: linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.08) 100%) !important; }
  .dark-text-card .city-tag { background: rgba(0,0,0,0.12) !important; color: #0f172a !important; font-weight: 800 !important; }
  .dark-text-card .city-name { color: #0f172a !important; text-shadow: none !important; font-weight: 900 !important; }
  .dark-text-card .city-desc { color: rgba(15,23,42,0.8) !important; }
  .dark-text-card .city-arrow { background: rgba(0,0,0,0.12) !important; }
  .dark-text-card .city-arrow svg { stroke: #1e293b !important; }

/* ── 모바일 반응형 ── */
@media(max-width:768px){
  .pc-nav a:not(:last-child){ display:none; }
  .sf-grid{ grid-template-columns:1fr 1fr !important; }
  .search-box{ padding:1.2rem !important; }
  .sf-title{ font-size:0.95rem !important; }
  .sf-sel{ height:46px !important; font-size:14px !important; }
  .sf-btn{ height:50px !important; font-size:14px !important; }
  .city-grid-2col{ grid-template-columns:1fr 1fr !important; }
  .sc-card-m{ margin-bottom:8px; }
  .hero-inner{ padding:0 !important; }
  h1{ font-size:1.8rem !important; line-height:1.2 !important; }
  .hero-badge{ font-size:0.68rem !important; }
  .consult-wrap{ grid-template-columns:1fr !important; gap:1.5rem !important; }
  #vrScroll > div{ flex:0 0 140px !important; }
}
@media(max-width:480px){
  .sf-grid{ grid-template-columns:1fr !important; }
  .pc-nav{ gap:0.6rem !important; }
  .pc-nav a:not(:last-child){ display:none !important; }
}
@media(max-width:640px){
  /* 헤더 nav 작게 */
  header nav a { font-size:0.75rem !important; }
  header nav { gap:0.8rem !important; }
  /* 히어로 폰트 */
  h1 { font-size:1.9rem !important; }
  /* 검색폼 2열 */
  #sf-region, #sf-dong, #sf-subj, #sf-grade {
    height:44px !important; font-size:0.8rem !important;
  }
  /* 영상카드 */
  #vrScroll > div { flex: 0 0 160px !important; }
  #vrScroll > div > div:first-child { height:110px !important; }
  /* 지역 카드 */
  .city-panel > div { gap:0.5rem !important; }
}
@media(max-width:400px){
  header nav a:nth-child(3), header nav a:nth-child(4) { display:none; }
}
/* ── 히어로 모바일 ── */
@media (max-width: 640px) {
  .hero-mobile-fix {
    margin-top: 106px !important;
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
}
@media (max-width: 400px) {
  .hero-mobile-fix {
    margin-top: 100px !important;
    padding-top: 1.8rem !important;
  }
}
/* ── how-grid 모바일: 2열로 ── */
@media (max-width: 640px) {
  .how-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
  }
}
@media (max-width: 380px) {
  .how-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
:root{--primary:#2563eb;--navy:#0f172a;--text:#334155;--gray:#64748b;--border:#e2e8f0;}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:"Noto Sans KR",sans-serif;color:var(--text);background:#fff;overflow-x:hidden;}
a{text-decoration:none;color:inherit;}
.site-header{background:#fff;border-bottom:1px solid var(--border);padding:0 1.5rem;height:54px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;box-shadow:0 1px 6px rgba(0,0,0,0.06);}
.logo{display:flex;align-items:center;gap:0.5rem;font-size:1.05rem;font-weight:900;color:var(--navy);}
.logo-icon{width:30px;height:30px;background:var(--primary);border-radius:7px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:0.85rem;}
.nav-links{display:flex;align-items:center;gap:1rem;}
.nav-links a{font-size:0.8rem;font-weight:600;color:#475569;}
.nav-cta{background:var(--primary);color:#fff!important;padding:0.38rem 0.9rem;border-radius:50px;}
/* 히어로 */
.page-hero{background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 50%,#3b82f6 100%);padding:2.8rem 1.5rem 2.4rem;position:relative;overflow:hidden;}
.page-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 60% 70% at 70% 40%,rgba(255,255,255,0.08),transparent 70%);pointer-events:none;}
.hero-inner{max-width:680px;margin:0 auto;position:relative;z-index:1;}
.hero-kicker{font-size:0.7rem;font-weight:700;color:rgba(255,255,255,0.75);letter-spacing:0.08em;display:flex;align-items:center;gap:5px;margin-bottom:0.7rem;}
.hero-title{font-size:clamp(1.5rem,4vw,2.1rem);font-weight:900;color:#fff;line-height:1.25;margin-bottom:0.7rem;}
.hero-title em{font-style:normal;color:#bfdbfe;}
.hero-desc{font-size:0.86rem;color:rgba(255,255,255,0.8);line-height:1.7;max-width:500px;margin-bottom:1.2rem;}
.hero-cta{display:inline-block;background:rgba(255,255,255,0.15);border:1.5px solid rgba(255,255,255,0.35);color:#fff;padding:0.55rem 1.3rem;border-radius:50px;font-size:0.84rem;font-weight:700;}
/* 섹션 공통 */
.sec-kicker{font-size:0.62rem;font-weight:800;letter-spacing:0.12em;text-transform:uppercase;color:var(--primary);display:flex;align-items:center;gap:5px;margin-bottom:5px;}
.sec-kicker::before{content:"";width:12px;height:2px;background:var(--primary);border-radius:2px;}
.sec-title{font-size:clamp(1.1rem,3vw,1.5rem);font-weight:900;color:var(--navy);margin-bottom:0.35rem;line-height:1.3;}
.sec-sub{font-size:0.82rem;color:var(--gray);line-height:1.65;}
.divider{height:1px;background:var(--border);}
/* 학교 카드 */
.school-sec{padding:2rem 1.5rem 0.5rem;}
.school-inner{max-width:900px;margin:0 auto;}
.school-tabs{display:flex;gap:0.4rem;padding:0 1.5rem;max-width:900px;margin:0 auto;border-bottom:2px solid var(--border);}
.s-tab{padding:0.55rem 1.2rem;font-size:0.82rem;font-weight:700;color:var(--gray);cursor:pointer;border-bottom:2.5px solid transparent;margin-bottom:-2px;transition:all .2s;}
.s-tab.active{color:var(--primary);border-bottom-color:var(--primary);}
.school-panel{display:none;max-width:900px;margin:0 auto;padding:1.2rem 1.5rem 0.5rem;}
.school-panel.active{display:block;}
.school-cards{display:grid;grid-template-columns:1fr 1fr;gap:0.9rem;}
.sc-card{background:#fff;border:1.5px solid var(--border);border-radius:12px;padding:1rem 1.1rem;cursor:pointer;transition:all .18s;display:flex;flex-direction:column;gap:0.5rem;}
.sc-card:hover{border-color:var(--primary);box-shadow:0 3px 14px rgba(37,99,235,0.1);transform:translateY(-1px);}
.sc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:0.5rem;}
.sc-name{font-size:0.88rem;font-weight:800;color:var(--navy);line-height:1.3;}
.sc-type{font-size:0.6rem;font-weight:700;padding:0.15rem 0.55rem;border-radius:50px;white-space:nowrap;flex-shrink:0;margin-top:2px;}
.sc-loc{font-size:0.69rem;color:var(--gray);}
.sc-feat{font-size:0.72rem;color:#475569;line-height:1.55;border-top:1px solid #f1f5f9;padding-top:0.45rem;margin-top:0.1rem;}
.sc-exam{font-size:0.69rem;color:#64748b;line-height:1.5;}
.sc-exam span{font-weight:700;color:var(--primary);}
.sc-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:0.2rem;}
.sc-tag{font-size:0.62rem;font-weight:600;padding:0.12rem 0.5rem;border-radius:50px;background:#f1f5f9;color:#475569;}
/* 학교 상세 (2단계) */
.school-detail{background:#f8fbff;border:1.5px solid #bfdbfe;border-radius:14px;padding:1.4rem 1.5rem;margin:1.5rem auto;max-width:900px;}
.sd-badge{display:inline-flex;align-items:center;gap:5px;background:var(--primary);color:#fff;font-size:0.68rem;font-weight:700;padding:0.25rem 0.7rem;border-radius:50px;margin-bottom:0.8rem;}
.sd-title{font-size:1.15rem;font-weight:900;color:var(--navy);margin-bottom:0.5rem;}
.sd-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.7rem;margin-top:0.9rem;}
.sd-item{background:#fff;border:1px solid var(--border);border-radius:9px;padding:0.75rem 0.9rem;}
.sd-item .label{font-size:0.65rem;font-weight:700;color:var(--primary);margin-bottom:3px;}
.sd-item .value{font-size:0.78rem;color:var(--navy);line-height:1.5;font-weight:600;}
/* 더보기 */
.more-btn{display:flex;align-items:center;justify-content:center;gap:7px;max-width:900px;margin:1rem auto 0;padding:0.85rem 1.5rem;background:#f8fbff;border:1.5px solid #bfdbfe;border-radius:10px;font-size:0.84rem;font-weight:700;color:var(--primary);cursor:pointer;transition:all .2s;}
.more-btn:hover{background:#eff6ff;border-color:var(--primary);}
/* 학교 검색 */
.school-search{background:#f8faff;border:1.5px solid #dde8f8;border-radius:14px;padding:1.3rem 1.4rem;margin:1.2rem auto 0;max-width:900px;}
/* 상담폼 */
.consult-sec{background:linear-gradient(135deg,#f0f7ff,#fff 60%,#f8f0ff 100%);padding:2.5rem 1.5rem;}
.consult-wrap{max-width:860px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center;}
.consult-form{background:#fff;border-radius:14px;padding:1.6rem;box-shadow:0 4px 20px rgba(37,99,235,0.08);}
.cf-title{font-size:0.95rem;font-weight:800;color:var(--navy);margin-bottom:0.9rem;}
.cf-row{margin-bottom:0.6rem;}
.cf-label{font-size:0.7rem;font-weight:700;color:var(--gray);display:block;margin-bottom:3px;}
.cf-input{width:100%;height:40px;border:1.5px solid var(--border);border-radius:7px;padding:0 11px;font-size:13px;font-family:inherit;outline:none;}
.cf-input:focus{border-color:var(--primary);}
.cf-submit{width:100%;height:44px;background:var(--primary);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:800;cursor:pointer;margin-top:0.5rem;font-family:inherit;}
.mobile-bar{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);padding:0.6rem 1rem;display:flex;gap:0.45rem;z-index:200;}
.mb-btn{flex:1;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:0.78rem;font-weight:700;text-decoration:none;}
.spacer{height:58px;}
footer{background:#1b2a3b;padding:1.8rem 1.5rem;text-align:center;}
footer p{font-size:0.72rem;color:rgba(255,255,255,0.38);line-height:1.9;}
footer a{color:rgba(255,255,255,0.5);}
@media(max-width:640px){
  .nav-links{display:none;}
  .school-cards{grid-template-columns:1fr;}
  .consult-wrap{grid-template-columns:1fr;gap:1.5rem;}
  .sd-grid{grid-template-columns:1fr;}
}
/* ── tutors section override ── */
    .tutors { background: #f5f3ee; padding: 5rem 2rem; }
    .ti-layout {
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 3.5rem;
      align-items: start;
    }
    .ti-headline { font-size:1.45rem; font-weight:900; color:#0e1c2a; line-height:1.4; margin-bottom:0.6rem; }
    .ti-headline em { font-style:normal; color:var(--primary); }
    .ti-desc { font-size:0.85rem; color:#555; line-height:1.85; margin-bottom:1.6rem; }
    .ti-pills { display:flex; flex-wrap:wrap; gap:0.45rem; }
    .ti-pill {
      display:inline-flex; align-items:center; gap:0.35rem;
      background:#f2f5f8; color:var(--primary); font-size:0.75rem; font-weight:700;
      padding:0.4rem 0.9rem; border-radius:20px; border:1px solid #d4e0ea;
    }
    .ti-collage-wrap {
      border-radius:16px; overflow:hidden;
      box-shadow:0 12px 40px rgba(0,0,0,0.10);
      position:relative; background:#e8ecf7;
    }
    .ti-collage-wrap img { width:100%; display:block; }
    .ti-collage-badge {
      position:absolute; bottom:12px; left:12px;
      background:rgba(255,255,255,0.96); border-radius:9px;
      padding:0.48rem 0.9rem; font-size:0.72rem; font-weight:800; color:var(--primary);
      box-shadow:0 3px 12px rgba(0,0,0,0.12);
    }
    /* 프리미엄 슬라이더 */
    .tutor-premium-wrap {
      background: linear-gradient(160deg,#0d1c2e 0%,#132338 60%,#0d1c2e 100%);
      margin: 0 -2rem -5rem;
      padding: 2.8rem 2rem 3.5rem;
      position: relative; overflow: hidden;
    }
    @media (max-width: 768px) {
      .tutor-premium-wrap {
        margin: 0.5rem -1.2rem 0 !important;
        padding: 1rem 0 1.5rem !important;
      }
      .tp-psub { margin-bottom: 0 !important; }
    }
    .tutor-premium-wrap::before {
      content:''; position:absolute; inset:0; pointer-events:none;
      background:
        radial-gradient(ellipse at 20% 50%,rgba(37,99,176,0.08) 0%,transparent 60%),
        radial-gradient(ellipse at 80% 30%,rgba(90,96,184,0.07) 0%,transparent 50%);
    }
    .tp-head { text-align:center; margin-bottom:0.5rem; position:relative; }
    .tp-stars { color:#c9a84c; font-size:1rem; letter-spacing:0.1em; margin-bottom:0.6rem; }
    .tp-ptitle { font-size:1.35rem; font-weight:900; color:#fff; line-height:1.3; margin-bottom:0.4rem; }
    .tp-ptitle strong { color:#c9a84c; }
    .tp-psub { font-size:0.75rem; color:rgba(255,255,255,0.5); line-height:1.65; margin-bottom:0; }
    .tp-psub em { color:rgba(255,255,255,0.72); font-style:normal; }
    @media (min-width: 769px) {
      .tp-psub { margin-bottom: 1.8rem; }
    }
    @media (max-width: 768px) {
      .tp-head  { margin-bottom: 0.5rem !important; }
      .tp-psub  { margin-bottom: 0.3rem !important; line-height: 1.5 !important; }
      .tp-quote { display: none !important; }
    }
    .tp-slider-wrap { position:relative; max-width:900px; margin:0 auto; }
    .tp-overflow { overflow:hidden; }
    .tp-track { display:flex; gap:1.4rem; transition:transform 0.42s cubic-bezier(0.4,0,0.2,1); }
    .tp-card {
      flex:0 0 calc((100% - 2.8rem) / 3);
      border-radius:14px; overflow:hidden;
      border:1px solid rgba(255,255,255,0.08);
      transition:transform .22s,border-color .22s,box-shadow .22s;
      cursor:pointer; background:#1a2535;
    }
    .tp-card:hover { transform:translateY(-6px); border-color:rgba(201,168,76,0.45); box-shadow:0 20px 56px rgba(0,0,0,0.4); }
    .tp-photo { width:100%; position:relative; overflow:hidden; }
    .tp-photo img { width:100%; height:auto; display:block; transition:transform .3s; }
    .tp-card:hover .tp-photo img { transform:scale(1.02); }
    .tp-photo-tag {
      position:absolute; top:10px; left:10px;
      background:rgba(13,28,46,0.72); border:1px solid rgba(201,168,76,0.5);
      color:#c9a84c; font-size:0.6rem; font-weight:800;
      padding:0.2rem 0.55rem; border-radius:5px; letter-spacing:0.05em;
    }
    .tp-arrow {
      position:absolute; top:40%; transform:translateY(-50%);
      width:42px; height:42px; border-radius:50%;
      background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12);
      color:#fff; font-size:1.4rem; cursor:pointer;
      display:flex; align-items:center; justify-content:center;
      transition:background .18s; z-index:10;
    }
    .tp-arrow:hover { background:rgba(201,168,76,0.28); border-color:rgba(201,168,76,0.5); }
    .tp-arrow-l { left:-54px; } .tp-arrow-r { right:-54px; }
    .tp-dots { display:flex; justify-content:center; gap:0.5rem; margin-top:1.8rem; }
    .tp-dot { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,0.2); cursor:pointer; transition:background .2s,transform .2s; }
    .tp-dot.on { background:#c9a84c; transform:scale(1.35); }
    @media(max-width:960px) {
      .ti-layout { grid-template-columns:1fr; gap:2rem; }
      .tp-card { flex:0 0 calc((100% - 1.4rem) / 2); }
      .tp-arrow-l { left:-6px; } .tp-arrow-r { right:-6px; }
    }
    @media(max-width:768px) {
      .tp-arrow { position:relative !important; top:auto !important; transform:none !important; }
      .tp-arrow-l { left:auto !important; } .tp-arrow-r { right:auto !important; }
    }
    @media(max-width:600px) {
      /* 모바일 2열 유지 — 별도 override 없음 */
    }
.sj-chip { border:1.5px solid #c8c4ba; border-radius:50px; padding:5px 13px; font-size:0.78rem; font-weight:700; color:#2a2e34; display:inline-flex; align-items:center; gap:3px; }
.sj-v { color:#2563b0; }
/* ── 히어로 슬라이더 ── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-top: 114px;
}
@media (max-width: 640px) {
  .hero-slider { height: 480px; margin-top: 106px; }
}
@media (max-width: 400px) {
  .hero-slider { height: 440px; margin-top: 100px; }
}
.hs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.hs-slide.active { opacity: 1; z-index: 1; }
.hs-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,rgba(0,0,0,0.52) 0%,rgba(0,0,0,0.30) 55%,rgba(0,0,0,0.18) 100%);
}
.hs-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.8rem 1.6rem 4rem;
  max-width: 560px;
}
.hs-h1 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  word-break: keep-all;
  white-space: nowrap;
}
.hs-h1 strong { font-weight: 900; color: #ffffff; display: block; }
@media (max-width: 380px) { .hs-h1 { font-size: 1.25rem; } }
.hs-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hs-indicator {
  position: absolute;
  bottom: 1.4rem;
  left: 1.6rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hs-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}
.hs-bar-wrap { display: flex; gap: 6px; align-items: center; }
.hs-bar {
  height: 2px;
  width: 36px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.hs-bar.active { background: rgba(255,255,255,0.35); }
.hs-bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: #ffffff;
  border-radius: 2px;
  transition: none;
}
.hs-bar.active .hs-bar-fill {
  animation: hs-progress 5s linear forwards;
}
@keyframes hs-progress {
  from { width: 0%; }
  to   { width: 100%; }
}
