/* ════════════════════════════════════════════════════════
   MK 에너지솔루션 — 공통 스타일 (모든 상세 페이지 공유)
   ════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange:      #1a52c8;
  --orange-dark: #1240a0;
  --orange-pale: #eef3ff;
  --charcoal:    #2c3550;
  --charcoal2:   #1a2236;
  --mid:         #5a6380;
  --light:       #f0f2f8;
  --border:      #d8dcec;
  --white:       #ffffff;
  --mint:        #00d4ba;
}
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--charcoal); background: var(--white); overflow-x: hidden; }

/* FLOATING */
.float-wrap { position: fixed; right: 18px; bottom: 28px; z-index: 900; display: flex; flex-direction: column; gap: 8px; }
.flt { width: 52px; height: 52px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .58rem; font-weight: 700; gap: 2px; text-decoration: none; box-shadow: 0 3px 14px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s; }
.flt:hover { transform: translateY(-3px); box-shadow: 0 7px 20px rgba(0,0,0,.22); }
.flt svg { width: 20px; height: 20px; fill: currentColor; }
.flt-tel   { background: var(--orange); color: #fff; }
.flt-kakao { background: #FEE500; color: #3A1D1D; }
.flt-top   { background: var(--charcoal); color: #fff; }

/* UTIL BAR */
.util-bar { background: var(--charcoal2); height: 38px; display: flex; align-items: center; justify-content: flex-end; padding: 0 5vw; gap: 1.6rem; }
.util-bar a { font-size: .82rem; color: rgba(255,255,255,.55); text-decoration: none; display: flex; align-items: center; gap: 5px; transition: color .2s; }
.util-bar a:hover { color: var(--orange); }
.util-bar a svg { width: 13px; height: 13px; fill: currentColor; }

/* NAV */
nav { position: sticky; top: 0; z-index: 500; background: var(--white); border-bottom: 2px solid var(--orange); height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-menu { display: flex; list-style: none; gap: 0; height: 64px; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 4px; padding: 0 1.05rem; height: 64px; font-size: .95rem; font-weight: 500; color: var(--charcoal); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s; white-space: nowrap; }
.nav-item > a .arr { font-size: .6rem; opacity: .5; transition: transform .2s; }
.nav-item:hover > a { color: var(--orange); border-bottom-color: var(--orange); }
.nav-item:hover > a .arr { transform: rotate(180deg); }
.nav-item.active > a { color: var(--orange); border-bottom-color: var(--orange); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border-top: 2px solid var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,.1); min-width: 180px; z-index: 600; flex-direction: column; }
.nav-item:hover .dropdown { display: flex; }
.dropdown a { display: block; padding: .75rem 1.2rem; font-size: .92rem; font-weight: 400; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--border); transition: background .15s, color .15s; white-space: nowrap; }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--orange-pale); color: var(--orange); }
.nav-cta { background: var(--orange); color: #fff; font-size: .92rem; font-weight: 700; letter-spacing: .04em; padding: .5rem 1.3rem; border-radius: 3px; text-decoration: none; transition: background .2s, transform .15s; white-space: nowrap; }
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; }
.mob-menu { display: none; position: fixed; top: 102px; left: 0; right: 0; z-index: 499; background: var(--white); border-top: 2px solid var(--orange); flex-direction: column; box-shadow: 0 6px 20px rgba(0,0,0,.1); max-height: calc(100vh - 102px); overflow-y: auto; }
.mob-menu.open { display: flex; }
.mob-group-title { padding: .7rem 5vw .4rem; font-size: .7rem; font-weight: 700; color: var(--orange); letter-spacing: .12em; text-transform: uppercase; background: var(--light); }
.mob-menu a { padding: .8rem 5vw .8rem 7vw; font-size: .9rem; font-weight: 400; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--border); }
.mob-menu a.cta { color: var(--orange); font-weight: 700; padding-left: 5vw; }

/* PAGE HERO */
.page-hero { background: var(--charcoal2); color: #fff; padding: 5rem 5vw 4rem; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(26,82,200,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(26,82,200,.05) 1px, transparent 1px); background-size: 52px 52px; }
.page-hero-inner { position: relative; z-index: 1; }
.ph-tag { font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem; }
.ph-title { font-family: 'Oswald','Noto Sans KR',sans-serif; font-size: clamp(2rem,4vw,3.5rem); font-weight: 700; line-height: 1.1; }
.ph-title .hl { color: var(--mint); }
.ph-bread { margin-top: 1.2rem; font-size: .85rem; color: rgba(255,255,255,.45); }
.ph-bread a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.ph-bread a:hover { color: var(--orange); }

/* SECTIONS */
section { padding: 5rem 5vw; }
.container { max-width: 1100px; margin: 0 auto; }
.s-tag { font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem; }
.s-title { font-family: 'Oswald','Noto Sans KR',sans-serif; font-size: clamp(1.9rem,3.2vw,3rem); font-weight: 600; color: var(--charcoal); line-height: 1.2; margin-bottom: .9rem; }
.s-title .hl { color: var(--orange); }
.s-bar { width: 34px; height: 3px; background: var(--orange); margin: 1.2rem 0 2.6rem; }
.s-desc { font-size: 1.22rem; font-weight: 300; line-height: 1.95; color: var(--mid); }

/* CTA */
#back-cta { background: var(--orange); padding: 3.5rem 5vw; text-align: center; }
#back-cta h2 { font-family: 'Oswald','Noto Sans KR',sans-serif; font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: .6rem; }
#back-cta p { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 1.6rem; }
.cta-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-fill { background: var(--charcoal); color: #fff; font-size: 1rem; font-weight: 700; padding: 1rem 2.2rem; border-radius: 3px; text-decoration: none; transition: background .2s, transform .15s; }
.btn-cta-fill:hover { background: #1a2236; transform: translateY(-2px); }
.btn-cta-line { background: transparent; color: #fff; font-size: 1rem; font-weight: 500; padding: 1rem 2.2rem; border-radius: 3px; border: 1px solid rgba(255,255,255,.5); text-decoration: none; transition: background .2s; }
.btn-cta-line:hover { background: rgba(255,255,255,.15); }

/* FOOTER */
footer { background: #111113; padding: 2rem 5vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 3px solid var(--orange); }
.foot-logo img { height: 28px; opacity: .6; filter: brightness(0) invert(1); }
footer p { font-size: .73rem; color: rgba(255,255,255,.25); line-height: 1.85; text-align: right; }

/* REVEAL */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.on { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
