/* ============================================================
   메인 v3 — 제공 시안(파인사이버 법정/환급 스타일) 이식.
   전부 .fc3 스코프(전역 리셋·body·.wrap·.btn 충돌 방지).
   ============================================================ */
.fc3{
  --blue:#2f6bff; --ink:#16223f; --ink2:#3a4660; --sub:#56627d; --mut:#8b96ac;
  --line:#eef1f6; --tint:#f1f4fb; --tint2:#f7f9fd; --pill:#e7eeff; --navy:#0e1b3a;
  font-family:'Pretendard','Pretendard Variable',-apple-system,BlinkMacSystemFont,sans-serif;
  -webkit-font-smoothing:antialiased;color:var(--ink);background:#fff;line-height:1.5;
}
.fc3 *{box-sizing:border-box;margin:0;padding:0}
.fc3 img{max-width:100%;display:block}
.fc3 button,.fc3 input{font-family:inherit}
.fc3 a{color:inherit;text-decoration:none}
.fc3 .wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.fc3 .btn{cursor:pointer;border:none;border-radius:10px;font-weight:700}

/* utility bar */
.fc3 .util{background:var(--tint2);border-bottom:1px solid var(--line);font-size:12px;color:var(--mut)}
.fc3 .util .wrap{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding-top:8px;padding-bottom:8px}
.fc3 .util span{cursor:pointer}.fc3 .util .sep{opacity:.4}
.fc3 .util-search{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #e2e7f0;border-radius:8px;padding:6px 10px}
.fc3 .util-search input{border:none;outline:none;font-size:12px;width:150px;background:transparent}

/* header / nav */
.fc3 .header{position:sticky;top:0;z-index:200;background:#fff;border-bottom:1px solid #e9edf4}
.fc3 .navrow{display:flex;align-items:center;gap:18px;height:78px}
.fc3 .logo{display:flex;align-items:center;gap:11px;flex-shrink:0}
.fc3 .logo img{height:44px;width:auto}
.fc3 .menu{display:flex;flex:1;justify-content:space-around;gap:6px;list-style:none;align-items:stretch}
.fc3 .menu>li{list-style:none;position:static;display:flex}
.fc3 .menu>li>a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:78px;padding:0 10px;font-weight:600;font-size:15px;color:#2a3550;cursor:pointer;white-space:nowrap;text-align:center}
.fc3 .menu>li>a .note{display:block;font-size:11px;color:var(--blue);font-weight:600;text-align:center;line-height:1}
.fc3 .menu>li:hover>a{color:var(--blue)}
.fc3 .hamburger{display:none;background:none;border:none;cursor:pointer}

/* mega menu */
.fc3 .mega{position:absolute;left:0;right:0;top:100%;background:#f5f7fc;border-top:1px solid #e9edf4;border-bottom:1px solid #e3e8f1;box-shadow:0 14px 24px rgba(20,30,60,.08);opacity:0;visibility:hidden;transform:translateY(-6px);transition:.16s ease}
.fc3 .header:hover .mega{opacity:1;visibility:visible;transform:none}
.fc3 .mega .grid{display:grid;grid-template-columns:268px repeat(6,1fr);padding:24px 0 30px;gap:0}
.fc3 .mega .contact{padding-right:18px}
.fc3 .mega .contact .t{font-weight:700;font-size:13px;color:var(--sub)}
.fc3 .mega .contact .tel{font-weight:800;font-size:24px;color:var(--blue);margin:3px 0 8px}
.fc3 .mega .contact .h{font-size:12px;line-height:1.7;color:var(--mut)}
.fc3 .mega .col{padding:2px 6px}
.fc3 .mega .col b{display:block;font-size:13px;color:var(--ink);font-weight:800;margin-bottom:4px}
.fc3 .mega .col a{display:block;font-size:13px;color:var(--sub);padding:7px 0;cursor:pointer}
.fc3 .mega .col a:hover{color:var(--blue)}

/* hero */
.fc3 .hero{background:linear-gradient(120deg,#e9f0ff 0%,#f4f8ff 55%,#fff 100%);position:relative;overflow:hidden}
.fc3 .hero .wrap{display:flex;align-items:center;gap:44px;padding:50px 20px 52px;position:relative}
.fc3 .hero .blob{position:absolute;right:-60px;top:-60px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,#d4e2ff,transparent 70%)}
.fc3 .hero .copy{flex:1;min-width:0}
.fc3 .tags{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.fc3 .tag{font-weight:700;font-size:12px;padding:6px 12px;border-radius:20px}
.fc3 .tag.o{background:#fff;border:1px solid #cfe0ff;color:var(--blue)}
.fc3 .tag.f{background:var(--blue);color:#fff}
.fc3 .hero h1{font-weight:800;font-size:40px;line-height:1.26;letter-spacing:-.5px;color:#13203c}
.fc3 .hero h1 .c{color:var(--blue)}
.fc3 .hero p{font-size:16px;line-height:1.6;color:var(--sub);margin-top:16px;max-width:480px}
.fc3 .searchbar{margin-top:24px;display:flex;background:#fff;border:2px solid var(--blue);border-radius:14px;padding:6px;max-width:480px;box-shadow:0 10px 28px rgba(47,107,255,.14)}
.fc3 .searchbar input{flex:1;border:none;outline:none;padding:10px 14px;font-size:15px;background:transparent}
.fc3 .searchbar button{background:var(--blue);color:#fff;padding:0 24px;border-radius:9px}
.fc3 .cert{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.fc3 .cert span{font-weight:600;font-size:12px;color:var(--ink2);background:#fff;border:1px solid #dbe4f3;padding:6px 12px;border-radius:7px}
.fc3 .herocard{width:300px;flex-shrink:0;background:#fff;border-radius:22px;padding:24px;box-shadow:0 18px 44px rgba(20,40,90,.16)}
.fc3 .herocard .lab{font-weight:700;font-size:13px;color:var(--blue)}
.fc3 .herocard ul{list-style:none;margin:14px 0 0;display:flex;flex-direction:column;gap:11px}
.fc3 .herocard li{display:flex;align-items:center;gap:9px;font-weight:500;font-size:14px;color:var(--ink2)}
.fc3 .herocard li b{color:var(--blue)}
.fc3 .herocard .cta{width:100%;margin-top:18px;background:#13203c;color:#fff;padding:13px;border-radius:11px;display:block;text-align:center}

/* section helpers */
.fc3 .sec{padding:40px 0 8px}
.fc3 .seclab{font-weight:700;font-size:13px;color:var(--blue)}
.fc3 .sectitle{font-weight:800;font-size:26px;color:#13203c;margin-top:4px}
.fc3 .sechead{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:20px}
.fc3 .more{font-weight:600;font-size:13px;color:var(--mut);cursor:pointer}

/* main categories */
.fc3 .cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.fc3 .catcard{display:flex;align-items:center;gap:14px;border:1px solid #eaeef6;border-radius:16px;padding:20px;background:#fff;cursor:pointer;transition:.18s}
.fc3 .catcard:hover{border-color:#cdd9ff;box-shadow:0 10px 24px rgba(20,30,60,.08)}
.fc3 .catcard .ic{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;flex-shrink:0}
.fc3 .catcard .tt{font-weight:800;font-size:16px}
.fc3 .catcard .ds{font-size:12px;color:var(--mut);margin-top:3px}

/* courses */
.fc3 .courses{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.fc3 .course{border:1px solid #eaeef6;border-radius:16px;overflow:hidden;background:#fff;cursor:pointer;transition:.18s;display:block}
.fc3 .course:hover{box-shadow:0 16px 34px rgba(20,30,60,.14);transform:translateY(-4px);border-color:#cdd9ff}
.fc3 .thumb{position:relative;height:152px;background-size:cover;background-position:center}
.fc3 .thumb .grade{position:absolute;top:12px;left:12px;background:#fff;color:#e0457b;font-weight:800;font-size:11px;padding:4px 9px;border-radius:7px}
.fc3 .thumb .new{position:absolute;top:12px;right:12px;background:var(--blue);color:#fff;font-weight:800;font-size:11px;padding:4px 9px;border-radius:7px}
.fc3 .thumb .chips{position:absolute;bottom:10px;left:12px;display:flex;gap:5px}
.fc3 .thumb .chips span{background:rgba(14,27,58,.78);color:#fff;font-weight:700;font-size:10px;padding:3px 8px;border-radius:5px}
.fc3 .course .body{padding:16px 18px 18px}
.fc3 .cpill{display:inline-block;font-weight:700;font-size:11px;padding:4px 9px;border-radius:6px}
.fc3 .course h3{font-weight:700;font-size:16px;line-height:1.42;margin-top:10px;min-height:46px;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fc3 .course .ch{font-weight:500;font-size:12px;color:var(--mut);margin-top:4px}
.fc3 .course .foot{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid #f1f4fa;font-size:12px;background:transparent;color:var(--ink2)}
.fc3 .course .foot .r{font-weight:600;color:var(--ink2)}
.fc3 .course .foot .e{color:var(--mut)}

/* quick links */
.fc3 .quickbox{background:#eef3fe;border-radius:18px;padding:30px 28px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.fc3 .quick{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;cursor:pointer}
.fc3 .quick .ic{width:56px;height:56px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(20,40,90,.08);font-weight:800;font-size:17px;color:var(--blue)}
.fc3 .quick .ic svg,.fc3 .quick .ic .kmIco{width:24px;height:24px}
.fc3 .quick .tt{font-weight:700;font-size:14px}
.fc3 .quick .ds{font-size:11px;color:var(--mut);margin-top:2px}

/* stats */
.fc3 .statsband{background:var(--tint);margin-top:42px}
.fc3 .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:34px 0}
.fc3 .stat{text-align:center;border-right:1px solid #e1e7f2}
.fc3 .stat:last-child{border:none}
.fc3 .stat .n{font-weight:800;font-size:34px;color:var(--blue)}
.fc3 .stat .l{font-weight:500;font-size:13px;color:#6b7691;margin-top:4px}

/* notices + counsel */
.fc3 .noticegrid{display:grid;grid-template-columns:1.5fr 1fr;gap:34px;padding:50px 0}
.fc3 .tabs{display:flex;align-items:center;gap:18px;border-bottom:2px solid #e4eaf5;margin-bottom:6px}
.fc3 .tabs button{background:none;border:none;cursor:pointer}
.fc3 .tabs .on{font-weight:800;font-size:18px;color:#13203c;padding-bottom:10px;border-bottom:2px solid var(--blue);margin-bottom:-2px}
.fc3 .tabs .off{font-weight:600;font-size:16px;color:#9aa6c0;padding-bottom:10px}
.fc3 .tabs .plus{margin-left:auto;font-size:20px;color:#b0bace;cursor:pointer}
.fc3 .notice{display:flex;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid var(--line);cursor:pointer}
.fc3 .notice .b{font-weight:700;font-size:11px;color:var(--blue);background:var(--pill);padding:4px 9px;border-radius:6px;flex-shrink:0}
.fc3 .notice .t{font-weight:500;font-size:14px;color:var(--ink2);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc3 .notice .d{font-size:12px;color:#a4adbf;flex-shrink:0}
.fc3 .counsel{background:#13203c;border-radius:18px;padding:26px 28px;color:#fff}
.fc3 .counsel .lab{font-weight:700;font-size:14px;color:#9bb4ff}
.fc3 .counsel .tel{font-weight:800;font-size:30px;margin:4px 0 10px}
.fc3 .counsel .h{font-size:13px;line-height:1.7;color:#aeb9d6}
.fc3 .counsel .row{display:flex;gap:10px;margin-top:18px}
.fc3 .counsel .row .btn{flex:1;padding:12px;font-size:13px;color:#fff;text-align:center;display:block}
.fc3 .counsel .row .p{background:var(--blue)}
.fc3 .counsel .row .g{background:rgba(255,255,255,.12)}

/* reviews */
.fc3 .reviewsband{background:var(--tint2)}
.fc3 .reviews{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.fc3 .review{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}
.fc3 .review .st{font-weight:700;font-size:13px;color:#ffb020}
.fc3 .review .st b{color:var(--ink2)}
.fc3 .review p{font-size:14px;line-height:1.6;color:var(--ink2);margin-top:10px;min-height:90px}
.fc3 .review .co{font-weight:600;font-size:12px;color:var(--blue);background:#eef3ff;padding:6px 10px;border-radius:8px;display:inline-block}
.fc3 .review .who{display:flex;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #f1f4fa}
.fc3 .review .av{width:34px;height:34px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;flex-shrink:0}
.fc3 .review .nm{font-weight:700;font-size:13px}.fc3 .review .ro{font-size:11px;color:var(--mut)}

/* benefits */
.fc3 .benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.fc3 .benefit{border:1px solid var(--line);border-radius:18px;padding:24px 22px;background:#fff}
.fc3 .benefit .tg{font-weight:700;font-size:11px;padding:5px 11px;border-radius:14px}
.fc3 .benefit h3{font-weight:800;font-size:18px;margin-top:14px}
.fc3 .benefit .ds{font-size:13px;color:#7a8499;margin-top:4px}
.fc3 .benefit ul{list-style:none;margin:16px 0 0;display:flex;flex-direction:column;gap:9px}
.fc3 .benefit li{display:flex;align-items:center;gap:8px;font-weight:500;font-size:13px;color:var(--ink2)}
.fc3 .benefit .btn{width:100%;margin-top:18px;background:var(--tint);color:var(--ink);padding:11px;border-radius:10px;font-size:13px;display:block;text-align:center}

/* partners */
.fc3 .partners{background:#fafbfd;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fc3 .partners .wrap{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:26px 20px}
.fc3 .partners span{font-weight:700;font-size:14px;color:var(--mut);background:#fff;border:1px solid #e6eaf2;padding:12px 22px;border-radius:10px}

/* footer (밝은 톤) */
.fc3 .foot{background:#fff;border-top:1px solid #e6eaf2;color:var(--sub)}
.fc3 .foot .wrap{padding:32px 20px 44px}
.fc3 .flinks{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:26px}
.fc3 .flinks a{font-weight:600;font-size:14.5px;color:var(--ink2)}
.fc3 .flinks a:hover{color:var(--blue)}
.fc3 .flinks a.strong{font-weight:800;color:var(--ink)}
.fc3 .flinks span{color:#d4dae4;font-size:12px}
.fc3 .fmain{display:flex;align-items:flex-start;gap:40px}
.fc3 .flogo{flex-shrink:0}
.fc3 .flogo img{height:58px;width:auto}
.fc3 .flogo .fname{font-weight:800;font-size:20px;color:var(--ink)}
.fc3 .finfo{font-size:13.5px;line-height:1.95;color:var(--sub)}
.fc3 .finfo .copy{display:block;margin-top:10px;color:var(--mut);font-size:12.5px}
@media(max-width:600px){ .fc3 .fmain{flex-direction:column;gap:18px} .fc3 .flogo img{height:46px} .fc3 .finfo{line-height:1.8} }

/* mobile drawer */
.fc3 .drawer{display:none;position:fixed;inset:0;z-index:300}
.fc3 .drawer.open{display:block}
.fc3 .drawer .scrim{position:absolute;inset:0;background:rgba(10,18,40,.45)}
.fc3 .drawer .panel{position:absolute;top:0;right:0;width:84%;max-width:340px;height:100%;background:#fff;overflow:auto;padding:20px}
.fc3 .drawer .x{float:right;font-size:24px;background:none;border:none;cursor:pointer;color:var(--ink2)}
.fc3 .drawer details{border-bottom:1px solid var(--line)}
.fc3 .drawer summary{padding:14px 4px;font-weight:700;font-size:15px;cursor:pointer;list-style:none}
.fc3 .drawer summary::-webkit-details-marker{display:none}
.fc3 .drawer .sub a{display:block;padding:9px 12px;font-size:14px;color:var(--sub)}

/* ===== responsive ===== */
@media (max-width:1024px){
  .fc3 .menu{display:none}
  .fc3 .hamburger{display:block}
  .fc3 .navrow{height:64px}
  .fc3 .mega{display:none}
  .fc3 .hero .wrap{flex-direction:column;align-items:flex-start}
  .fc3 .herocard{width:100%}
  .fc3 .cats{grid-template-columns:repeat(2,1fr)}
  .fc3 .courses{grid-template-columns:repeat(2,1fr)}
  .fc3 .reviews{grid-template-columns:repeat(2,1fr)}
  .fc3 .benefits{grid-template-columns:repeat(2,1fr)}
  .fc3 .noticegrid{grid-template-columns:1fr}
}
@media (max-width:600px){
  .fc3 .util-search{display:none}
  .fc3 .hero h1{font-size:28px}
  .fc3 .sectitle{font-size:22px}
  .fc3 .cats{grid-template-columns:1fr}
  .fc3 .courses{grid-template-columns:1fr}
  .fc3 .reviews{grid-template-columns:1fr}
  .fc3 .benefits{grid-template-columns:1fr}
  .fc3 .quickbox{grid-template-columns:repeat(2,1fr)}
  .fc3 .stats{grid-template-columns:repeat(2,1fr);gap:24px 0}
  .fc3 .stat:nth-child(2){border:none}
  .fc3 .foot .top{flex-direction:column;gap:20px}
  .fc3 .foot .links{text-align:left}
}

/* 파트너 로고 이미지 */
.fc3 .partners .plogo{background:#fff;border:1px solid #e6eaf2;border-radius:10px;padding:9px 18px;display:inline-flex;align-items:center;height:52px}
.fc3 .partners .plogo img{height:30px;width:auto;display:block;object-fit:contain}
@media(max-width:600px){ .fc3 .partners .plogo{padding:7px 12px;height:46px} .fc3 .partners .plogo img{height:24px} }

/* 유틸바 좌측 사이트 전환 2탭 */
.fc3 .util .wrap{justify-content:space-between}
.fc3 .famtabs{display:flex;align-items:center;gap:4px}
.fc3 .famtabs a{font-size:12.5px;font-weight:700;color:var(--mut);padding:5px 12px;border-radius:6px;line-height:1.4}
.fc3 .famtabs a.on{color:var(--blue);background:#fff;border:1px solid #d7e2ef}
.fc3 .famtabs a:not(.on):hover{color:var(--ink2)}
.fc3 .utilright{display:flex;align-items:center;gap:14px}
@media(max-width:600px){ .fc3 .famtabs a{padding:5px 8px;font-size:12px} }
