/*
 * /sites 메인과 포트폴리오 1~6번 새 디자인(2026-10-15 폐하 지시, magicorb-review 시안).
 * 기본은 남색(#0D0F1F). 3·5·6번은 아이보리, 2번은 짙은 초록, 4번은 짙은 차콜을 위·아래에 써요.
 * 가운데 공통 영역(.sx-mid: Portfolio 카드 7장 + 관리자 페이지)은 남색이고, 3·5·6번만 그 페이지 아이보리 색이에요.
 * 상자 모서리 8px, 카카오톡 버튼 테두리 #D8C41B(Canva 기준).
 */
:root {
    --serif: 'Tinos', 'Times New Roman', Georgia, serif;
    --sans: 'Noto Sans KR', -apple-system, 'Apple SD Gothic Neo', sans-serif;
    --kakao: #FEE500;
    --kakao-line: #D8C41B;
    --kakao-ink: #241914;
    --r: 8px;
}
/* 남색 기본(메인·1번, 그리고 1·2·4번의 가운데 공통 영역) */
.sx, .sx-mid {
    --bg: #0D0F1F; --card: #141D35; --card2: #17223D; --line: #35435F;
    --accent: #96B0FF; --muted: #A4AFC8; --text: #F2F5FF;
    --panel: #25385E; --field: #1C2D4C; --field-line: #58709D; --field-text: #DEE6FB; --field-sub: #AAB8D4;
    --hd-text: #F2F5FF;
}
.sx-2 { --bg: #101512; --card: #1C251F; --card2: #18201B; --line: #3A443D; --accent: #D6C39A; --muted: #A9AFA4; --text: #F6F1E7; --hd-text: #F6F1E7; }
.sx-4 { --bg: #0B0D14; --card: #151B2C; --card2: #17244D; --line: #29334C; --accent: #7795FF; --muted: #929AAA; --text: #F5F7FF; --hd-text: #F5F7FF; }
.sx-3, .sx-3 .sx-mid { --bg: #F2EEE5; --card: #FBFAF6; --card2: #E9E3D8; --line: #D4CDBF; --accent: #BE4D2B; --muted: #77766D; --text: #24241E;
    --panel: #FBFAF6; --field: #EFEAE1; --field-line: #D4CDBF; --field-text: #24241E; --field-sub: #77766D; --hd-text: #24241E; }
.sx-5, .sx-5 .sx-mid { --bg: #E9E9DF; --card: #F7F7EF; --card2: #DFE3D6; --line: #C9CEBF; --accent: #3A513F; --muted: #6B7868; --text: #243629;
    --panel: #F7F7EF; --field: #ECEDE3; --field-line: #C9CEBF; --field-text: #243629; --field-sub: #6B7868; --hd-text: #243629; }
.sx-6, .sx-6 .sx-mid { --bg: #F6F1E8; --card: #FFFDF8; --card2: #EEE4D7; --line: #D8CFC1; --accent: #AD6348; --muted: #6E8481; --text: #183B42;
    --panel: #FFFDF8; --field: #F3ECE1; --field-line: #D8CFC1; --field-text: #183B42; --field-sub: #6E8481; --hd-text: #FFF9ED; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.sx { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
.sx a { color: inherit; text-decoration: none; }
.sx img, .sx video { display: block; max-width: 100%; }
.sx h1, .sx h2, .sx h3, .sx p { margin: 0; font-weight: 400; }
.sx ul, .sx ol { margin: 0; padding: 0; list-style: none; }
.sx-mid { background: var(--bg); color: var(--text); }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: .02em; margin-bottom: 22px !important; }
.h2 { font-size: 46px; line-height: 1.32; letter-spacing: -.02em; }
.h3 { font-size: 40px; line-height: 1.35; letter-spacing: -.02em; }
.lead { font-size: 21px; line-height: 1.9; color: var(--muted); }
.muted { color: var(--muted); }
.sec { padding: 130px 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -.1em; flex: none; }

/* ---- 버튼 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: var(--r); font-size: 16px; font-weight: 500; border: 1px solid currentColor; transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink) !important; border-color: var(--kakao-line); }
.btn-kakao:hover { background: #FFEB3B; }
.btn-kakao img { width: 26px; height: 26px; }
.btn-talk-line { background: transparent; color: var(--hd-text); border-color: color-mix(in srgb, var(--hd-text) 75%, transparent); }
.btn-talk-line img { width: 22px; height: 22px; }

/* ---- 머리(로고·메뉴·카카오톡 상담) ---- */
.hd { position: absolute; top: 0; left: 0; right: 0; z-index: 30; color: var(--hd-text); }
.hd-in { display: flex; align-items: center; height: 92px; border-bottom: 1px solid color-mix(in srgb, var(--hd-text) 22%, transparent); }
.hd-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.hd-brand .mark { width: 42px; height: 42px; }
.hd-brand .word { height: 22px; width: auto; }   /* 여백을 잘라낸 워드마크(2026-10-19) */
.hd-brand .word { filter: brightness(0) invert(1); }
.sx-3 .hd-brand .word, .sx-5 .hd-brand .word { filter: none; }
.hd-nav { display: flex; align-items: center; gap: 46px; font-size: 16px; }
.hd-nav a:not(.btn):hover { opacity: .75; }
.hd-nav .btn { margin-left: 4px; font-size: 14px; min-height: 46px; padding: 0 16px 0 12px; }
.hd-nav .btn .arrow { width: 13px; height: 13px; }
.hd-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; margin-right: -10px; cursor: pointer; }
.hd-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.hd-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- 첫 화면 공통 ---- */
.hero { position: relative; overflow: hidden; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: 80px; line-height: 1.12; letter-spacing: -.01em; }
.hero-sub { font-size: 25px; line-height: 1.68; margin-top: 26px !important; }
.hero-bar { display: flex; justify-content: space-between; align-items: center; font-size: 15px; letter-spacing: .02em; padding: 26px 0 32px; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.media { position: relative; overflow: hidden; background: var(--card); border-radius: 0; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle { position: absolute; right: 16px; bottom: 16px; z-index: 3; min-height: 44px; border: 1px solid #fff8; background: #11182dcc; color: #fff; border-radius: 30px; padding: 0 18px; font: 500 14px var(--sans); cursor: pointer; display: none; }
.media.needs-tap .video-toggle { display: inline-flex; align-items: center; }
.hero-main .bg .video-toggle { right: 64px; bottom: auto; top: 112px; }

/* 메인(1번) 첫 화면: 배경 영상 + 기기 목업 */
.hero-main { min-height: 970px; color: #F2F5FF; display: flex; flex-direction: column; }
.hero-main .bg { position: absolute; inset: 0; z-index: 0; }
.hero-main .bg video, .hero-main .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,15,31,.82) 0%, rgba(13,15,31,.55) 45%, rgba(13,15,31,.35) 100%), linear-gradient(0deg, rgba(13,15,31,.55), rgba(13,15,31,0) 40%); }
.hero-main .wrap { position: relative; z-index: 1; }
.hero-main .hero-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); align-items: center; gap: 40px; padding-top: 150px; padding-bottom: 60px; }
.hero-main .hero-title { white-space: nowrap; font-size: clamp(56px, 5.5vw, 80px); }
.devices { position: relative; aspect-ratio: 660 / 470; width: 100%; max-width: 660px; justify-self: end; }
.dev-pc { position: absolute; left: 0; top: 4%; width: 78%; }
.dev-pc .scr { border: 10px solid #15161c; border-bottom-width: 14px; border-radius: 10px 10px 4px 4px; background: #000; aspect-ratio: 16 / 10; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.dev-pc .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev-pc .stand { width: 26%; height: 22px; margin: 0 auto; background: linear-gradient(#2a2c34, #4a4c55); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.dev-pc .foot { width: 36%; height: 6px; margin: 0 auto; background: #5a5c66; border-radius: 4px; }
.dev-tab { position: absolute; right: 0; top: 30%; width: 40%; }
.dev-tab .scr { border: 8px solid #17181e; border-radius: 12px; aspect-ratio: 4 / 3; overflow: hidden; background: #0D0F1F; box-shadow: 0 24px 50px rgba(0,0,0,.5); display: flex; align-items: center; }
.dev-tab .scr img { width: 100%; height: auto; }
.dev-ph { position: absolute; left: 48%; top: 46%; width: 17%; }
.dev-ph .scr { border: 6px solid #111216; border-radius: 16px; aspect-ratio: 9 / 18.4; overflow: hidden; background: #F2EEE5; box-shadow: 0 20px 40px rgba(0,0,0,.55); }
.dev-ph .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* 2번(시네마틱): 사진 가득 + 왼쪽 글 */
.hero-full { min-height: 940px; display: flex; flex-direction: column; color: var(--hd-text); }
.hero-full > .bg { position: absolute; inset: 0; }
.hero-full > .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-full > .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,9,.62), rgba(8,10,9,.12) 60%), linear-gradient(0deg, rgba(8,10,9,.45), transparent 35%); }
.hero-full .wrap { position: relative; z-index: 1; }
.hero-full .hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 140px; padding-bottom: 40px; }
.sx-2 .hero-title { font-size: 92px; line-height: 1.02; }
.sx-2 .hero-sub { font-size: 23px; }
.sx-2 .hero-bar { border-top: 0; }
.sx-6 .hero-full { min-height: 1040px; }
.sx-6 .hero-full > .bg::after { background: linear-gradient(180deg, rgba(20,26,28,.55), rgba(20,26,28,0) 18%), linear-gradient(90deg, rgba(25,30,30,.5), rgba(25,30,30,.05) 65%), linear-gradient(0deg, rgba(25,30,30,.35), transparent 30%); }
.sx-6 .hero-full .hero-body { justify-content: flex-start; padding-top: 230px; }
.sx-6 .hero-title { font-size: 76px; }
.sx-6 .hero-sub { font-size: 23px; margin-top: 14px !important; }

/* 3·5번(아이보리): 왼쪽 글 + 오른쪽 그림 */
.hero-split { padding-top: 130px; }
.hero-split .hero-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: stretch; padding-bottom: 50px; }
.hero-split .hero-text { display: flex; flex-direction: column; padding-top: 60px; }
.hero-split .hero-text .tag { margin-top: auto; padding-top: 60px; font-size: 14px; color: var(--accent); }
.hero-split .media { aspect-ratio: 656 / 675; background: var(--card2); }
.sx-3 .hero-title { font-size: 92px; line-height: 1.02; }
.sx-5 .hero-split .hero-body { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.sx-5 .hero-split .media { aspect-ratio: 816 / 810; }
.sx-5 .hero-title { font-size: 92px; line-height: 1.04; }
.sx-5 .hero-split .hero-text .tag { color: var(--accent); font-weight: 500; }

/* 4번(테크): 오른쪽 그림 + 아래 3칸 띠 */
.hero-tech { min-height: 950px; display: flex; flex-direction: column; }
.hero-tech .art { position: absolute; top: 100px; right: 0; width: 65%; bottom: 0; }
.hero-tech .art img { width: 100%; height: 100%; object-fit: cover; }
.hero-tech .art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(11,13,20,0) 22%); }
.hero-tech .wrap { position: relative; z-index: 1; }
.hero-tech .hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; }
.sx-4 .hero-title { font-family: var(--sans); font-size: 88px; line-height: 1.06; letter-spacing: -.03em; }
.sx-4 .hero-sub { font-size: 23px; }
.hero-tech .hero-bar { display: grid; grid-template-columns: repeat(3, 1fr); color: var(--accent); font-size: 14px; border-top-color: var(--line); }
.hero-tech .hero-bar span:nth-child(2) { text-align: center; }
.hero-tech .hero-bar span:last-child { text-align: right; font-size: 14px; }

/* ---- 01 소개 줄(글 두 칸) ---- */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 60px; align-items: end; }
.intro .lead { padding-bottom: 6px; }
.sx-1 .intro-sec { padding: 110px 0 0; }
.sx-1 .intro-sec .wrap > .rule { margin-top: 110px; }

/* 2번: 01 + 큰 사진과 카드 */
.cine-row { display: grid; grid-template-columns: minmax(0, 880fr) minmax(0, 408fr); gap: 24px; margin-top: 90px; align-items: end; }
.cine-row .media { aspect-ratio: 880 / 495; border-radius: var(--r); }
.cine-card { background: var(--card); border-radius: var(--r); padding: 36px 32px; display: flex; flex-direction: column; min-height: 72%; }
.cine-card .eyebrow { margin-bottom: 26px !important; }
.cine-card h3 { font-size: 34px; line-height: 1.38; }
.cine-card p { color: var(--muted); font-size: 18px; line-height: 1.95; margin-top: 30px !important; }
.cine-card a { margin-top: auto; padding-top: 34px; font-size: 16px; display: inline-flex; gap: 8px; align-items: center; }
.cine-card a:hover { color: var(--accent); }

/* 3번: 번호 + 제목 */
.ed-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.ed-num { font-family: var(--serif); font-size: 58px; line-height: 1; color: var(--accent); padding-top: 14px; }
.ed-head .h3 { font-size: 42px; }
.ed-head p.muted { margin-top: 26px !important; font-size: 18px; }
.ed-pics { display: grid; grid-template-columns: minmax(0, 580fr) minmax(0, 686fr); gap: 46px; align-items: end; margin-top: 90px; }
.ed-pics figure { margin: 0; }
.ed-pics .media { aspect-ratio: 580 / 646; }
.ed-pics figure:last-child .media { aspect-ratio: 686 / 506; }
.ed-pics figcaption { font-size: 15px; color: var(--accent); margin-top: 30px; }

/* 4번: 영상 카드 + 작은 카드 2장 */
.tech-grid { display: grid; grid-template-columns: minmax(0, 756fr) minmax(0, 526fr); gap: 30px; margin-top: 60px; }
.tech-video { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.tech-video .media { aspect-ratio: 716 / 365; border-radius: var(--r); background: #050505; }
.tech-video h3 { font-size: 30px; margin: 34px 12px 0 !important; }
.tech-video p { color: var(--muted); font-size: 17px; margin: 12px 12px 12px !important; }
.tech-side { display: grid; gap: 30px; }
.tech-card { background: var(--card); border-radius: var(--r); padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; }
.tech-card.blue { background: #17244D; }
.tech-card .eyebrow { font-size: 13px; margin-bottom: 30px !important; }
.tech-card h3 { font-size: 30px; }
.tech-card p { color: var(--muted); font-size: 18px; margin-top: 18px !important; }

/* 5번: 갤러리 */
.gal-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.gal-head .h3 { font-size: 46px; }
.gal-pics { display: grid; grid-template-columns: minmax(0, 766fr) minmax(0, 501fr); gap: 45px; align-items: end; margin-top: 70px; }
.gal-pics figure { margin: 0; }
.gal-pics .media { aspect-ratio: 766 / 580; }
.gal-pics figure:last-child .media { aspect-ratio: 501 / 435; }
.gal-pics figcaption { font-size: 15px; margin-top: 26px; color: var(--accent); }
.gal-quote { display: grid; grid-template-columns: minmax(0, 335fr) minmax(0, 977fr); gap: 0; align-items: center; margin-top: 90px; }
.gal-quote .serif { font-size: 46px; line-height: 1.3; color: var(--accent); }
.gal-quote p.muted { margin-top: 34px !important; font-size: 19px; line-height: 1.9; }
.gal-quote .media { aspect-ratio: 977 / 410; }

/* 6번: 챕터 */
.ch-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ch-head .h3 { font-size: 46px; line-height: 1.4; }
.ch-head h3.sub { font-size: 23px; line-height: 1.5; }
.ch-head p.muted { margin-top: 22px !important; font-size: 18px; line-height: 1.95; }
.ch-pic { position: relative; margin-top: 70px; padding-bottom: 70px; }
.ch-pic .media { aspect-ratio: 1312 / 580; }
.ch-pic .box { position: absolute; right: 0; bottom: 0; width: 30.2%; background: var(--accent); color: #FFF9ED; padding: 38px 34px 64px; }
.ch-pic .box h3 { font-size: 30px; line-height: 1.4; }
.ch-pic .box p { font-size: 19px; margin-top: 14px !important; opacity: .92; }

/* ---- 가운데 공통: Portfolio 카드 7장 ---- */
.pf-sec { padding: 120px 0 100px; }
.pf-head { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.pf-head h2 { font-size: 35px; font-weight: 500; line-height: 1.2; }
.pf-head .btn { font-size: 17px; min-height: 56px; padding: 0 28px; border-color: color-mix(in srgb, var(--text) 75%, transparent); color: var(--text); gap: 8px; }
.pf-sub { margin-top: 16px !important; font-size: 21px; color: var(--muted); }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.pf-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 18px; transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease, border-color 280ms; }
.pf-card .ph { aspect-ratio: 396 / 215; overflow: hidden; border-radius: 4px; background: var(--card2); }
.pf-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 450ms cubic-bezier(.2,.7,.2,1); }
.pf-card .cap { display: flex; align-items: center; gap: 22px; padding: 22px 12px 0; }
.pf-card .no { font-size: 14px; font-weight: 500; color: var(--accent); width: 24px; }
.pf-card .ti { font-size: 23px; line-height: 1.3; flex: 1; }
.pf-card .cap .arrow { width: 18px; height: 18px; color: var(--muted); }
@media (hover: hover) { .pf-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent), 0 20px 40px rgba(0,0,0,.2); border-color: var(--accent); } .pf-card:hover .ph img { transform: scale(1.03); } }
.pf-card:focus-visible { border-color: var(--accent); }

/* ---- 가운데 공통: 관리자 페이지 소개(그림처럼 보여 주는 칸, 실제 수정은 고객 전용 화면) ---- */
.ed-sec { padding: 100px 0 130px; }
.ed-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: start; }
.ed-copy .h3 { font-size: 43px; line-height: 1.42; }
.ed-copy .lead { font-size: 21px; margin-top: 34px !important; line-height: 2; }
.ed-list { margin-top: 70px !important; border-top: 1px solid var(--line); }
.ed-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 26px; padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.ed-list li:last-child { border-bottom: 0; }
.ed-list .no { font-size: 14px; color: var(--accent); font-weight: 500; padding-top: 6px; }
.ed-list:not(.numbered) li { grid-template-columns: minmax(0, 1fr); }
.ed-list:not(.numbered) .no { display: none; }
.ed-list h3 { font-size: 23px; }
.ed-list p { font-size: 16px; color: var(--muted); margin-top: 6px !important; }
.ed-panel { background: var(--panel); border: 1px solid color-mix(in srgb, var(--field-line) 70%, transparent); border-radius: 16px; padding: 28px 30px 26px; color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,.18); user-select: none; }
.ed-panel .pt { font-size: 23px; font-weight: 600; padding-bottom: 18px; border-bottom: 1px solid color-mix(in srgb, var(--field-line) 60%, transparent); }
.ed-panel .sel { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 0 20px; border: 1px solid var(--field-line); border-radius: var(--r); background: var(--field); color: var(--field-text); font-size: 19px; }
.ed-panel .sel svg { width: 16px; height: 16px; }
.ed-panel .h { font-size: 24px; font-weight: 600; margin-top: 24px; }
.ed-panel .hint { font-size: 16px; color: var(--field-sub); margin-top: 4px; }
.ed-panel .lb { font-size: 18px; font-weight: 600; color: var(--field-text); margin-top: 14px; }
.ed-panel .in { margin-top: 10px; height: 64px; display: flex; align-items: center; padding: 0 20px; border: 1px solid var(--field-line); border-radius: var(--r); background: var(--field); font-size: 22px; }
.ed-panel .row { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.ed-panel .chip { display: inline-flex; align-items: center; gap: 14px; height: 46px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: var(--r); background: var(--field); color: var(--field-text); font-size: 15px; }
.ed-panel .chip i { width: 22px; height: 22px; border-radius: 4px; background: var(--text); display: inline-block; }
.ed-panel .logo-row { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.ed-panel .logo-row b { font-size: 19px; font-weight: 600; }
.ed-panel .logo-row span { font-size: 15px; color: var(--field-sub); }
.ed-panel .pics { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.ed-panel .pics img { width: 78px; height: 78px; margin-right: 10px; }
.ed-panel .pics .chip { height: 52px; padding: 0 24px; font-size: 16px; }
.ed-panel .foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--field-line) 60%, transparent); font-size: 18px; color: var(--field-text); }

/* ---- 서비스 카드 3장(메인 04) ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.svc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px 56px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; align-content: start; }   /* 번호는 제목 왼쪽 같은 줄(2026-10-20 폐하 지시) */
.svc-card .no { font-size: 15px; color: var(--accent); font-weight: 500; }
.svc-card h3 { font-size: 27px; margin-top: 0 !important; }
.svc-card p { grid-column: 1 / -1; font-size: 17px; color: var(--muted); margin-top: 12px !important; }

/* ---- 진행 단계(4칸·3칸) ---- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; margin-top: 50px; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 1px solid var(--line); padding-top: 26px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; align-content: start; }   /* 번호는 제목 왼쪽 같은 줄(2026-10-20 폐하 지시) */
.steps .no { font-size: 15px; color: var(--accent); font-weight: 500; }
.steps h3 { font-size: 25px; margin-top: 0 !important; }
.steps p { grid-column: 1 / -1; font-size: 17px; color: var(--muted); margin-top: 12px !important; }

/* ---- 3번 세부 줄 ---- */
.rows { margin-top: 30px; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 30px; padding: 26px 0 30px; border-top: 1px solid var(--line); align-items: baseline; }
.rows h3 { font-size: 23px; }
.rows p { font-size: 17px; color: var(--muted); }

/* ---- 요금제(세 개 똑같이) ---- */
.price-head .h3 { font-size: 41px; }
.price-head p { font-size: 18px; color: var(--muted); margin-top: 18px !important; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.plan { border: 1px solid color-mix(in srgb, var(--text) 55%, transparent); border-radius: var(--r); padding: 28px 28px 34px; }
.plan h3 { font-size: 25px; }
.plan .ds { font-size: 16px; color: var(--muted); margin-top: 12px !important; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan .lb { font-size: 15px; color: var(--muted); margin-top: 26px !important; }
.plan .pr { font-size: 35px; line-height: 1.3; margin-top: 4px !important; }
.plan .mo { font-size: 19px; margin-top: 16px !important; }
.plan-rows { margin-top: 40px; border-top: 1px solid var(--line); }
.plan-rows li { display: grid; grid-template-columns: minmax(0, 335fr) minmax(0, 605fr) minmax(0, 372fr); padding: 26px 6px 34px; border-bottom: 1px solid var(--line); align-items: start; }
.plan-rows li:last-child { border-bottom: 0; }
.plan-rows h3 { font-size: 27px; }
.plan-rows .ds { font-size: 18px; color: var(--muted); padding-top: 6px; }
.plan-rows .pr { font-size: 27px; }
.plan-rows .mo { font-size: 16px; color: var(--muted); margin-top: 10px !important; }

/* ---- 자주 묻는 질문 ---- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 40px; }
.faq h2 { font-size: 32px; }
.faq-list { margin-top: 84px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding: 8px 6px; font-size: 19px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { font-size: 24px; line-height: 1; transition: transform .25s; flex: none; }
.faq-list details[open] summary .pm { transform: rotate(45deg); }
.faq-list details p { padding: 0 6px 22px; font-size: 17px; color: var(--muted); line-height: 1.8; }

/* ---- 아래 상담 띠 ---- */
.cta { border-radius: var(--r); padding: 44px 40px 52px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta .serif { font-size: 66px; line-height: 1.15; }
.cta p { font-size: 23px; }
.cta .btn { min-height: 58px; padding: 0 26px 0 16px; font-size: 18px; flex: none; }
.cta-navy { background: #172544; color: #F2F5FF; }
.cta-navy p { margin-top: 18px !important; color: #DEE6FB; }
.cta-plain { padding: 0; }
.cta-plain .serif { font-size: 68px; color: var(--text); }
.cta-plain .btn { background: transparent; border: 1px solid var(--text); color: var(--text) !important; }
.cta-ed { background: #BE4D2B; color: #F2EEE5; border-radius: 0; flex-direction: row; }
.cta-ed .txt p { font-size: 33px; }
.cta-ed .serif { margin-top: 22px; font-size: 66px; }
.cta-ed .btn { background: #F2EEE5; border-color: #F2EEE5; color: #24241E !important; }
.cta-char { background: #151B24; color: #F5F7FF; }
.cta-char .serif { font-family: var(--sans); font-size: 56px; letter-spacing: -.03em; }
.cta-story { background: #153E43; color: #F6F1E8; border-radius: 0; padding: 0; }
.cta-story .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: 70px; padding-bottom: 80px; }
.cta-story p { font-size: 35px; }
.cta-story .serif { font-size: 76px; margin-top: 28px; }
.cta-story .btn { background: #F6F1E8; border-color: #F6F1E8; color: #153E43 !important; }

/* ---- 바닥(회사 정보, 메인·1~6번·목록 모두 같은 틀) ---- */
.ft { background: var(--bg); color: var(--muted); }
.ft-in { border-top: 1px solid var(--line); padding: 50px 0 0; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.ft-grid ul li { font-size: 16px; line-height: 1; padding: 10px 0; }
.ft-grid ul li + li { margin-top: 8px; }
.ft-bottom a:hover { color: var(--text); }
.ft-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 56px; padding: 34px 0 60px; font-size: 15px; }
.ft-legal a + a::before, .ft-legal a + span::before { content: '·'; margin: 0 8px; }
.ft-info a:hover { color: var(--text); }
.sx-6 .ft-in, .sx-3 .ft-in { border-top-color: var(--line); }

/* 휴대폰 아래 떠 있는 카카오톡 상담(2026-10-14 폐하 지시, 휴대폰에서만) */

/* ---- 스크롤 등장(20px + 투명도, 600ms, 한 번만) ---- */
.motion-ready [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.sx a:focus-visible, .sx button:focus-visible, .sx summary:focus-visible { outline: 3px solid #9EB5FF; outline-offset: 4px; }

/* ================= 태블릿 ================= */
@media (max-width: 1180px) {
    .wrap { padding: 0 40px; }
    .hd-nav { gap: 28px; }
    .hero-main { min-height: 0; }
    .hero-main .hero-body { grid-template-columns: 1fr; padding-top: 150px; gap: 50px; }
    .devices { justify-self: center; max-width: 620px; }
    .h2 { font-size: 40px; }
    .intro, .gal-head, .ch-head { grid-template-columns: 1fr; gap: 26px; align-items: start; }
    .pf-grid, .svc-grid, .plans { gap: 20px; }
    .pf-card .ti { font-size: 20px; }
    .ed-grid { grid-template-columns: 1fr; gap: 50px; }
    .ed-panel { max-width: 640px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .hero-split .hero-body { gap: 36px; }
    .sx-3 .hero-title, .sx-5 .hero-title, .sx-2 .hero-title { font-size: 72px; }
    .sx-4 .hero-title { font-size: 72px; }
    .hero-tech .art { width: 70%; opacity: .75; }
    .tech-grid { grid-template-columns: 1fr; }
    .tech-side { grid-template-columns: 1fr 1fr; }
    .cine-row { grid-template-columns: 1fr; }
    .cine-card { min-height: 0; }
    .faq { grid-template-columns: 1fr; gap: 0; }
    .faq-list { margin-top: 30px; }
    .gal-quote { grid-template-columns: 1fr; gap: 30px; }
    .ch-pic .box { width: 46%; }
}

/* ================= 휴대폰(시안 720 = 실제 360 기준) ================= */
@media (max-width: 767px) {
    body.sx { font-size: 15px; }
    .wrap { padding: 0 20px; }
    .sec { padding: 80px 0; }
    .eyebrow { font-size: 12px; margin-bottom: 14px !important; }
    .h2, .h3, .ed-copy .h3, .ch-head .h3, .gal-head .h3, .price-head .h3, .ed-head .h3 { font-size: 24px; line-height: 1.5; }
    .lead, .ed-copy .lead { font-size: 15px; line-height: 1.85; }
    .hd-in { height: 64px; }
    .hd-brand .mark { width: 32px; height: 32px; }
    .hd-brand .word { height: 17px; }
    .hd-toggle { display: block; }
    .hd-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
    .hd-nav.is-open { display: flex; }
    .hd-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
    .hd-nav .btn { margin: 16px 0 0; min-height: 48px; justify-content: center; }
    .hd-nav .btn-talk-line { color: var(--text); border-color: var(--line); }
    .hero-title { font-size: 44px !important; }
    .hero-sub { font-size: 17px !important; margin-top: 18px !important; }
    .hero-bar { font-size: 11px; padding: 18px 0 22px; }
    /* 메인: 제목 → 설명 → 기기 → 카카오톡 버튼(겹치지 않게 세로로) */
    .hero-main .hero-body { padding-top: 96px; gap: 0; padding-bottom: 40px; display: flex; flex-direction: column; align-items: stretch; }
    .hero-main .hero-title { font-size: clamp(30px, 9.2vw, 44px) !important; white-space: nowrap; }
    .hero-main .hero-text { display: contents; }
    .hero-main .hero-text h1 { order: 1; }
    .hero-main .hero-text .hero-sub { order: 2; }
    .hero-main .devices { order: 3; margin: 34px 0 10px; max-width: none; }
    .hero-main .hero-bar { display: none; }
    .hero-main .bg .video-toggle { top: auto; bottom: 16px; right: 16px; }
    .hero-full { min-height: 0; }
    .hero-full .hero-body { padding-top: 140px; padding-bottom: 60px; min-height: 560px; }
    .sx-6 .hero-full { min-height: 0; }
    .sx-6 .hero-full .hero-body { padding-top: 130px; }
    .hero-split { padding-top: 84px; }
    .hero-split .hero-body, .sx-5 .hero-split .hero-body { grid-template-columns: 1fr; gap: 30px; }
    .hero-split .hero-text { padding-top: 20px; }
    .hero-split .hero-text .tag { padding-top: 26px; font-size: 12px; }
    .hero-tech { min-height: 0; }
    .hero-tech .art { position: relative; top: 0; width: 100%; height: 300px; order: 2; opacity: 1; }
    .hero-tech .art::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(11,13,20,0) 30%); }
    .hero-tech .hero-body { padding-top: 110px; padding-bottom: 30px; order: 1; }
    .hero-tech > .wrap:last-child { order: 3; }
    .hero-tech .hero-bar { grid-template-columns: 1fr; gap: 6px; }
    .hero-tech .hero-bar span { text-align: left !important; }
    .sx-1 .intro-sec { padding-top: 70px; }
    .sx-1 .intro-sec .wrap > .rule { margin-top: 70px; }
    .cine-row, .ed-pics, .gal-pics { grid-template-columns: 1fr; gap: 30px; margin-top: 44px; }
    .cine-card { padding: 28px 22px; }
    .cine-card h3 { font-size: 24px; }
    .cine-card p { font-size: 15px; margin-top: 18px !important; }
    .ed-head { grid-template-columns: 64px minmax(0, 1fr); }
    .ed-num { font-size: 36px; padding-top: 4px; }
    .ed-head p.muted { font-size: 15px; margin-top: 14px !important; }
    .ed-pics figcaption, .gal-pics figcaption { margin-top: 14px; font-size: 13px; }
    .tech-side { grid-template-columns: 1fr; gap: 16px; }
    .tech-video { padding: 12px; }
    .tech-video h3, .tech-card h3 { font-size: 21px; }
    .tech-video p, .tech-card p { font-size: 15px; }
    .tech-card { padding: 26px 22px; }
    .gal-quote { margin-top: 50px; }
    .gal-quote .serif { font-size: 32px; }
    .gal-quote p.muted { font-size: 15px; margin-top: 16px !important; }
    .ch-head h3.sub { font-size: 18px; }
    .ch-head p.muted { font-size: 15px; }
    .ch-pic { margin-top: 40px; padding-bottom: 0; }
    .ch-pic .media { aspect-ratio: 4 / 3; }
    .ch-pic .box { position: relative; width: 100%; padding: 24px 22px 30px; }
    .ch-pic .box h3 { font-size: 21px; }
    .ch-pic .box p { font-size: 15px; }
    /* 카드: 2열, 7번(매직오브비디오)은 오른쪽 열 4·6번 아래 */
    .pf-sec { padding: 80px 0 60px; }
    .pf-head { gap: 22px; }
    .pf-head h2 { font-size: 22px; }
    .pf-head .btn { min-height: 44px; font-size: 14px; padding: 0 18px; }
    .pf-sub { font-size: 14px; margin-top: 12px !important; }
    .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
    .pf-card { padding: 4px 4px 12px; }
    .pf-card .cap { gap: 10px; padding: 12px 6px 0; }
    .pf-card .no { font-size: 11px; width: auto; }
    .pf-card .ti { font-size: 15px; }
    .pf-card .cap .arrow { display: none; }
    .ed-sec { padding: 60px 0 80px; }
    .ed-grid { gap: 36px; }
    .ed-list { margin-top: 36px !important; }
    .ed-list li { padding: 16px 0 18px; column-gap: 16px; }
    .ed-list h3 { font-size: 17px; }
    .ed-list p { font-size: 14px; }
    .ed-panel { padding: 20px 18px; border-radius: 12px; }
    .ed-panel .pt { font-size: 17px; padding-bottom: 14px; }
    .ed-panel .sel { height: 44px; font-size: 15px; margin-top: 16px; padding: 0 14px; }
    .ed-panel .h { font-size: 17px; margin-top: 16px; }
    .ed-panel .hint { font-size: 13px; }
    .ed-panel .lb { font-size: 14px; }
    .ed-panel .in { height: 48px; font-size: 16px; padding: 0 14px; }
    .ed-panel .row { gap: 10px; margin-top: 16px; }
    .ed-panel .chip { height: 38px; font-size: 13px; gap: 10px; padding: 0 10px; }
    .ed-panel .chip i { width: 18px; height: 18px; }
    .ed-panel .logo-row { margin-top: 16px; gap: 12px; }
    .ed-panel .logo-row b { font-size: 15px; }
    .ed-panel .logo-row span { font-size: 12px; }
    .ed-panel .pics img { width: 52px; height: 52px; margin-right: 4px; }
    .ed-panel .pics .chip { height: 40px; padding: 0 14px; font-size: 13px; }
    .ed-panel .foot { font-size: 14px; margin-top: 18px; padding-top: 14px; }
    .svc-grid, .plans { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
    .svc-card { padding: 22px 20px 28px; }
    .svc-card h3 { font-size: 19px; margin-top: 10px !important; }
    .svc-card p { font-size: 14px; }
    .steps, .steps.three { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
    .steps li { padding: 18px 0 22px; column-gap: 10px; }
    .steps .no { font-size: 13px; }
    .steps h3 { font-size: 18px; margin-top: 0 !important; }
    .steps p { font-size: 14px; margin-top: 4px !important; }
    .rows li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0 20px; }
    .rows h3 { font-size: 18px; }
    .rows p { font-size: 14px; }
    .price-head p { font-size: 14px; margin-top: 12px !important; }
    .plan { padding: 22px 20px 24px; }
    .plan h3 { font-size: 19px; }
    .plan .ds { font-size: 13px; padding-bottom: 16px; }
    .plan .lb { font-size: 13px; margin-top: 16px !important; }
    .plan .pr { font-size: 26px; }
    .plan .mo { font-size: 15px; margin-top: 8px !important; }
    .plan-rows li { grid-template-columns: 1fr; gap: 6px; padding: 20px 2px 22px; }
    .plan-rows h3, .plan-rows .pr { font-size: 20px; }
    .plan-rows .ds { font-size: 14px; padding-top: 0; }
    .plan-rows .mo { font-size: 13px; margin-top: 2px !important; }
    .faq h2 { font-size: 20px; }
    .faq-list summary { font-size: 15px; min-height: 52px; }
    .faq-list details p { font-size: 14px; }
    .cta { padding: 30px 22px 32px; flex-direction: column; align-items: flex-start; gap: 22px; }
    .cta .serif, .cta-plain .serif, .cta-ed .serif, .cta-char .serif { font-size: 34px; }
    .cta p, .cta-ed .txt p { font-size: 16px; }
    .cta-ed .serif { margin-top: 12px; }
    .cta .btn { min-height: 50px; font-size: 16px; }
    .cta-plain { padding: 0; }
    .cta-story { padding: 0; }
    .cta-story .wrap { flex-direction: column; align-items: flex-start; padding-top: 48px; padding-bottom: 54px; gap: 24px; }
    .cta-story p { font-size: 20px; }
    .cta-story .serif { font-size: 38px; margin-top: 14px; }
    /* 바닥: 회사 정보 21px·연락처 22px(시안 720 기준) = 실제 10.5·11px → 읽기 쉽게 13·14px */
    .ft-in { padding-top: 34px; }
    .ft-grid { grid-template-columns: 1fr; gap: 10px; }
    .ft-grid ul li { font-size: 13px; padding: 6px 0; line-height: 1.5; }
    .ft-grid ul li + li { margin-top: 0; }
    .ft-bottom { margin-top: 28px; padding: 22px 0 110px; font-size: 12px; }
}
@media (max-width: 380px) {
    .pf-card .ti { font-size: 14px; }
    .hero-title { font-size: 38px !important; }
}

/* 움직임 줄이기를 고른 분: 등장·확대 효과 없이 바로 보여요(영상은 재생 버튼으로) */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sx *, .sx *::before, .sx *::after { animation: none !important; transition: none !important; }
    .sx [data-reveal] { opacity: 1 !important; transform: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 회원관리 소개(2026-10-19 GPT 시안 main_sites_v5, 메인·1~6번 공통 — 각 페이지 색을 따라가요) */
.mb-sec { padding: 0 0 130px; }
.mb-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.mb-chips span { font-size: 14px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); color: var(--muted); }
.mb-sec .lead { margin-top: 22px !important; }
.mb-screen { margin: 40px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mb-screen img { display: block; width: 100%; height: auto; }
.mb-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.mb-benefits article { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.mb-benefits h3 { font-size: 20px; margin-bottom: 8px; }
.mb-benefits p { font-size: 15px; color: var(--muted); line-height: 1.8; }
@media (max-width: 700px) {
  .mb-sec { padding-bottom: 80px; }
  .mb-chips { gap: 6px; }
  .mb-chips span { font-size: 12px; }
  .mb-benefits { grid-template-columns: 1fr; gap: 12px; }
  .mb-benefits article { padding: 19px; }
}

/* AI상담원 소개(2026-10-20 GPT 시안 magicorb_sites_ai_v6, 메인·1~6번 공통 — 각 페이지 색을 따라가요) */
.moai { padding: 0 0 120px; }
.moai .moai-intro { margin-top: 22px !important; }
.moai-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 24px; align-items: start; margin-top: 40px; }
.moai-panel { margin: 0; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.moai-panel h3 { font-size: 19px; padding: 22px 22px 15px; }
.moai-panel h3 span { color: var(--accent); font-size: 14px; margin-right: 10px; }
.moai-panel picture, .moai-panel img { display: block; width: 100%; height: auto; }
.moai-note { font-size: 13px; color: var(--muted); margin: 16px 0 28px !important; }
.moai-points { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding: 24px 0; font-size: 17px; }
.moai-points span { color: var(--accent); margin-right: 10px; font-size: 14px; }
@media (max-width: 1000px) {
  .moai-grid { grid-template-columns: 1fr 1.4fr; }
  .moai-panel h3 { font-size: 17px; padding: 20px 16px; }
  .moai-points { font-size: 15px; }
}
@media (max-width: 700px) {
  .moai { padding-bottom: 80px; }
  .moai-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .moai-panel h3 { font-size: 18px; padding: 18px; }
  .moai-points { display: grid; gap: 14px; font-size: 16px; }
  .moai-note { line-height: 1.7; }
}
