/* S.E.D 홈페이지 공통 (멀티페이지 1차 · 2026-10-10) — 머리·바닥·문의 모달·등장/전환 애니메이션·기본 글꼴 */
:root{--green:#0e9f8a;--green-dark:#087565;--mint:#e9f8f4;--ink:#14232d;--muted:#687780;--line:#dfe9e6;--paper:#f6f9f8;--warm:#f4f1e9;--white:#fff;--shadow:0 24px 70px rgba(18,62,54,.12);--radius:26px;--wrap:1240px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}   /* 10-26 카드186: hidden → clip — hidden 이면 body 가 스크롤 상자가 돼 머리 메뉴 sticky 가 안 먹었다 (clip 은 가로 넘침만 자르고 sticky 를 안 깸) */
body{margin:0;color:var(--ink);font-family:"Noto Sans KR",sans-serif;word-break:keep-all;background:#fff;overflow-x:clip;line-height:1.6}
a{color:inherit;text-decoration:none}
img,video{max-width:100%;display:block}
main{padding-bottom:90px}
main:has(> .cta-band:last-child){padding-bottom:0}
button{font:inherit}
.wrap{width:min(var(--wrap),calc(100% - 40px));margin:0 auto}
.eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;font-size:12.5px;font-weight:800;letter-spacing:.14em;color:var(--green-dark);text-transform:uppercase}
.eyebrow::before{content:"";width:28px;height:2px;background:var(--green)}
.section-title{margin:0;font-size:clamp(30px,3.6vw,46px);line-height:1.2;letter-spacing:-.03em;font-weight:800}
.section-copy{margin:16px 0 0;max-width:620px;font-size:16px;line-height:1.8;color:var(--muted)}
.btn{display:inline-flex;align-items:center;gap:8px;height:50px;padding:0 24px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:14.5px;font-weight:700;cursor:pointer;transition:.2s}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(18,62,54,.12)}
.btn.primary{background:var(--green);border-color:var(--green);color:#fff}
.btn.primary:hover{background:var(--green-dark)}
.btn.dark{background:var(--ink);border-color:var(--ink);color:#fff}
.btn.ghost{background:transparent;border-color:rgba(255,255,255,.4);color:#fff}
.btn .arrow{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2}
/* 머리 */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:28px;height:72px}
.wordmark{display:inline-flex;align-items:baseline;gap:8px;color:var(--ink)}
.wordmark strong{font-size:27px;font-weight:900;letter-spacing:-.07em}
.wordmark strong span{color:var(--green)}
.wordmark small{font-size:10px;font-weight:700;letter-spacing:.02em;color:var(--muted)}
.wordmark--footer{color:#fff} .wordmark--footer small{color:rgba(255,255,255,.7)}
.menu{display:flex;gap:4px;margin-left:auto}
.menu a{position:relative;padding:10px 14px;border-radius:10px;font-size:14.5px;font-weight:600;color:#3b4a52;transition:.2s}
.menu a:hover{background:var(--green);color:#fff}
.menu a.is-current{color:var(--green-dark)}
.menu a.is-current::after{content:"";position:absolute;left:14px;right:14px;bottom:4px;height:2px;border-radius:2px;background:var(--green)}
.header-actions{display:flex;gap:10px}
.header-actions .btn{height:42px;padding:0 18px;font-size:13.5px}
.header-actions .btn:hover{background:var(--green);border-color:var(--green);color:#fff}
.header-actions .btn.primary:hover{background:var(--green-dark);border-color:var(--green-dark)}
.menu-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}
.menu-toggle span{display:block;width:20px;height:2px;margin:4px auto;background:var(--ink);border-radius:2px}
/* 바닥 */
.site-footer{margin-top:0;background:#0f2a2a;color:#cfe3df;padding:46px 0 34px}
.site-footer .bottom{padding-right:220px}   /* 오른쪽 아래 문의 단추 자리 — 단추는 항상 같은 높이, 바닥이 비켜 준다 */
.site-footer .top{display:block}
.site-footer .flinks{display:flex;flex-wrap:wrap;gap:6px 26px;margin:18px 0 16px;max-width:720px}
.site-footer .flinks a{font-size:13.5px;font-weight:600;color:#d7e9e5}
.site-footer .flinks a:hover{color:#fff}
.site-footer .info{font-size:12.5px;line-height:1.9;color:#b5cdc8;text-align:left}
.site-footer .info b{color:#fff}
.site-footer .nw{white-space:nowrap}
.site-footer .info a{color:#d7e9e5} .site-footer .info a:hover{color:#fff}
.site-footer .bottom .legal a{color:#d7e9e5} .site-footer .bottom .legal a:hover{color:#fff;text-decoration:underline}
.site-footer .bottom .legal a.pp{font-weight:700;color:#fff}   /* 개인정보처리방침은 굵게 (10-20 카드187) */
.ask-agree a{color:var(--green-dark);font-weight:700;text-decoration:underline}
.site-footer .bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#8fb0aa}
/* 등장·전환 애니메이션 */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.reveal.on{opacity:1;transform:none}
.page-enter{animation:pageIn .55s ease both}
@keyframes pageIn{from{opacity:0}to{opacity:1}}   /* transform 쓰면 body 가 containing block 이 돼 fixed 단추가 화면에 안 붙는다 (10-10 실측) */
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}.page-enter{animation:none}.hero-video{display:none!important}.hero-fallback{display:block!important}}
/* 우측 하단 문의하기 + 모달 (종류 토글 4) */
.ask-fab{position:fixed;right:28px;bottom:28px;z-index:100;display:inline-flex;align-items:center;gap:9px;height:58px;padding:0 24px 0 18px;border:2px solid rgba(255,255,255,.9);border-radius:999px;background:var(--green);color:#fff;font-size:15px;font-weight:800;box-shadow:0 14px 36px rgba(0,0,0,.35),0 0 0 6px rgba(14,159,138,.18);cursor:pointer;transition:transform .2s,box-shadow .2s}
.ask-fab:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(0,0,0,.4),0 0 0 8px rgba(14,159,138,.22)}
.ask-fab svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}
html.ask-lock,body.ask-lock{overflow:hidden}
.ask-wrap{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,30,28,.45);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:opacity .25s ease}
.ask-wrap.on{opacity:1;pointer-events:auto}
.ask-modal{position:relative;overscroll-behavior:contain;width:560px;max-width:100%;max-height:calc(100vh - 32px);overflow:auto;padding:24px 26px 20px;border-radius:20px;background:#fff;box-shadow:0 30px 80px rgba(9,49,42,.35);transform:translateY(24px) scale(.96);opacity:0;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .25s ease}
.ask-wrap.on .ask-modal{transform:none;opacity:1}
.ask-modal h4{margin:0 0 4px;font-size:22px;letter-spacing:-.02em}
.ask-sub{margin:0 0 14px;font-size:13px;color:#52636c;height:1.6em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ask-x{position:absolute;right:14px;top:10px;border:0;background:none;font-size:24px;color:#8a979d;cursor:pointer}
.ask-kind{display:flex;gap:6px;margin:0 0 16px;padding:4px;border-radius:12px;background:#eef3f1}
.ask-kind button{flex:1;height:36px;border:0;border-radius:9px;background:transparent;font-size:12.5px;font-weight:700;color:#52636c;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.ask-kind button i{width:8px;height:8px;border-radius:50%;background:var(--k,#0e9f8a)}
.ask-kind button.on{background:#fff;color:#15282b;box-shadow:0 2px 8px rgba(9,49,42,.12)}
.ask-steps{display:flex;gap:6px;margin:0 0 14px;font-size:11.5px;color:#8a979d;height:34px;overflow:hidden}
.ask-steps span{flex:1;padding:6px 0;border-top:3px solid #e3ebe8;font-weight:700}
.ask-steps span.on{border-top-color:var(--green);color:var(--green-dark)}
.ask-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-bottom:10px}
.ask-modal label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#3b4a50}
.ask-modal label.full{grid-column:1/-1}
.ask-modal input:not([type=checkbox]):not([type=radio]):not([type=file]),.ask-modal textarea,.ask-modal select{border:1px solid #d6dee1;border-radius:10px;padding:10px 12px;font:inherit;font-size:13.5px;font-weight:400;color:#15282b;background:#fff}
.ask-modal .bad{border-color:#d9534f!important;box-shadow:0 0 0 3px rgba(217,83,79,.15)}
.ask-modal input:focus,.ask-modal textarea:focus,.ask-modal select:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px rgba(14,159,138,.15)}
.ask-modal textarea{resize:vertical;min-height:64px}
.ask-modal .hint{font-size:11px;font-weight:400;color:#8a979d}
.ask-sec{margin:12px 0 6px;font-size:13px;font-weight:800;color:var(--green-dark)}
.ask-checks{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12.5px;font-weight:500;color:#3b4a50}
.ask-checks label{flex-direction:row;align-items:center;gap:6px;font-weight:500}
.ask-files{margin:12px 0 10px;padding:12px 14px;border:1px dashed #cfdad6;border-radius:12px;background:#f6faf8}
.ask-files b{display:block;font-size:13px;margin-bottom:4px}
.ask-files small{display:block;font-size:11.5px;color:#52636c;margin-bottom:8px}
.ask-file{flex-direction:row!important;align-items:center;gap:10px;margin-top:6px;font-size:12px}
.ask-file span{flex:0 0 90px}
.ask-agree{flex-direction:row!important;align-items:center;gap:8px;font-weight:500!important;font-size:12px!important;color:#52636c!important;margin:6px 0 0}
.ask-agree input{width:16px;height:16px;margin:0}
.ask-err{margin-top:10px;padding:9px 12px;border-radius:9px;background:#fde2e2;color:#b91c1c;font-size:12.5px}
.ask-actions{display:flex;gap:8px;margin-top:16px}
.ask-send{flex:1;height:44px;border:0;border-radius:11px;background:var(--green);color:#fff;font-size:14px;font-weight:800;cursor:pointer}
.ask-send:disabled{opacity:.6;cursor:default}
.ask-cancel{height:44px;padding:0 18px;border:1px solid #d6dee1;border-radius:11px;background:#fff;font-size:13px;color:#3b4a50;cursor:pointer}
.ask-done{text-align:center;padding:18px 0 6px}
.ask-done b{display:block;font-size:18px;margin-bottom:6px}
.ask-done p{margin:0 0 16px;font-size:13px;color:#52636c;line-height:1.6}
/* 공용 안내 창 (siteNotice · 10-17 카드121) — 문의 모달 껍데기 재사용, 확인 단추 하나 */
.note-wrap{z-index:120}
.note-modal{width:420px;padding:26px 26px 20px}
.note-body{margin:8px 0 20px;font-size:14.5px;line-height:1.75;color:#3b4a52}
.note-act{display:flex;justify-content:flex-end}
.note-act .btn{height:44px;min-width:96px;justify-content:center}
/* 반응형 */
.menu a,.header-actions .btn{white-space:nowrap}
@media (min-width:981px) and (max-width:1180px){   /* 10-20 카드187: 메뉴 8개(요금 안내 추가) — 좁은 PC 폭에서 줄바꿈 대신 간격만 좁힌다 */
  .site-header .wrap{gap:14px}
  .menu{gap:0}
  .menu a{padding:10px 8px;font-size:14px}
  .menu a.is-current::after{left:8px;right:8px}
  .header-actions{gap:6px}
  .header-actions .btn{padding:0 12px;font-size:13px}
}
@media (max-width:980px){
  .menu{display:none;position:absolute;left:0;right:0;top:72px;flex-direction:column;gap:0;padding:8px 12px 14px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 20px 40px rgba(18,62,54,.12)}
  .menu.open{display:flex}
  .menu a{padding:13px 12px;font-size:15px}
  .menu a.is-current::after{display:none}
  .menu-toggle{display:block}
  .header-actions .btn.ghost-login{display:none}
}
@media (max-width:640px){
  .wrap{width:calc(100% - 32px)}
  .ask-grid{grid-template-columns:1fr}
  .ask-modal{padding:20px 18px 16px;border-radius:18px 18px 0 0;max-height:92vh}
  .ask-wrap{align-items:flex-end;padding:0}
  .ask-fab{right:14px;bottom:14px;width:52px;padding:0;justify-content:center}
  .ask-fab span{display:none}
  .ask-kind{flex-wrap:wrap}
  .ask-kind button{flex:1 1 45%}
}
