/* 샤론상사 리뉴얼 2026 — 남색(밤 택시) + 영업용 번호판 노랑 */
:root {
	--ink: #15233b;        /* 바탕 남색 */
	--ink-2: #1e3152;      /* 남색 한 단계 밝게 */
	--plate: #f5c518;      /* 영업용 번호판 노랑 */
	--plate-edge: #1a1a1a; /* 번호판 테두리·글자 */
	--paper: #f4f6f9;      /* 밝은 구역 바탕 */
	--text: #1f2a3c;
	--muted: #5a667a;
	--line: #d6dce6;
	--white: #ffffff;
	--radius-lg: 18px;
	--radius-sm: 10px;
	--wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: var(--text);
	background: var(--paper);
	word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.display { font-family: "Black Han Sans", "Pretendard", sans-serif; font-weight: 400; letter-spacing: -0.01em; }

/* ── 상단바 ── */
.topbar { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: "Black Han Sans", sans-serif; font-weight: 400; font-size: 26px; color: var(--white); }
.brand small { font-size: 13px; color: var(--plate); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: rgba(255,255,255,.82); font-size: 16px; padding: 8px 14px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.topbar-call { text-decoration: none; font-weight: 700; color: var(--ink); background: var(--plate); padding: 9px 16px; border-radius: 8px; font-size: 16px; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: 15px; padding: 7px 12px; border-radius: 8px; font-family: inherit; }

/* ── 히어로 ── */
.hero { position: relative; color: var(--white); background: var(--ink) url("hero.jpg") center/cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,35,59,.92) 0%, rgba(21,35,59,.7) 50%, rgba(21,35,59,.25) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { font-size: 54px; line-height: 1.22; margin: 0 0 20px; }
.hero p.lead { font-size: 20px; color: rgba(255,255,255,.86); margin: 0 0 32px; max-width: 30em; }

/* 전화 버튼 묶음: 세 번호 같은 크기, 순서만 8402가 맨 위 */
.calls { display: grid; gap: 10px; max-width: 420px; }
.call { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; padding: 14px 20px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: var(--white); font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.call:hover { background: rgba(255,255,255,.14); border-color: var(--plate); }
.call span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: 0; }
.calls-note { font-size: 15px; color: rgba(255,255,255,.65); margin: 10px 0 0; }
.calls.on-light .call { background: var(--white); color: var(--ink); border-color: var(--line); }
.calls.on-light .call:hover { border-color: var(--ink); }
.calls.on-light .call span { color: var(--muted); }

/* ── 번호판(오늘의 시세) — 이 페이지의 기억에 남는 한 곳 ── */
.plate {
	background: var(--plate);
	color: var(--plate-edge);
	border-radius: 16px;
	border: 6px solid var(--plate-edge);
	box-shadow: 0 0 0 3px var(--plate), 0 24px 60px rgba(0,0,0,.45);
	padding: 22px 28px 24px;
	position: relative;
	text-align: center;
}
.plate::before, .plate::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #8a7a2a; box-shadow: inset 0 0 0 3px #c8b046; transform: translateY(-50%); }
.plate::before { left: 12px; }
.plate::after { right: 12px; }
.plate-top { display: flex; justify-content: center; gap: 14px; font-size: 17px; font-weight: 700; }
.plate-top .tag { background: var(--plate-edge); color: var(--plate); padding: 1px 10px; border-radius: 6px; }
.plate-price { font-family: "Black Han Sans", sans-serif; font-size: 58px; line-height: 1.15; margin: 8px 0 4px; letter-spacing: .01em; white-space: nowrap; }
.plate-price small { font-size: .55em; margin-right: 4px; }
.plate-sub { font-size: 15px; font-weight: 600; opacity: .8; }
.plate-caption { color: rgba(255,255,255,.75); font-size: 15px; text-align: center; margin: 18px 0 0; }

/* ── 신뢰 줄 ── */
.facts { background: var(--ink-2); color: var(--white); }
.facts ul { list-style: none; margin: 0; padding: 26px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--wrap); margin-inline: auto; }
.facts li { border-left: 3px solid var(--plate); padding-left: 14px; }
.facts b { display: block; font-size: 20px; }
.facts span { font-size: 15px; color: rgba(255,255,255,.72); }

/* ── 본문 구역 ── */
.section { padding: 88px 0; }
.section.alt { background: var(--white); }
.section h2 { font-size: 36px; line-height: 1.3; margin: 0 0 12px; color: var(--ink); }
.section .intro { color: var(--muted); margin: 0 0 40px; max-width: 36em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.section.alt .panel { background: var(--paper); border-color: transparent; }
.panel h3 { font-size: 26px; margin: 0 0 6px; color: var(--ink); }
.panel .who { color: var(--muted); margin: 0 0 18px; }
.panel ul { margin: 0 0 22px; padding-left: 1.1em; }
.panel li { margin-bottom: 6px; }
.panel .more { font-weight: 700; color: var(--ink); text-underline-offset: 4px; }

/* 진행 순서: 실제로 순서가 있는 내용이라 번호를 붙인다 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 22px 22px 0 0; }
.steps li::before { content: counter(step); font-family: "Black Han Sans", sans-serif; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--plate); color: var(--plate-edge); font-size: 20px; margin-bottom: 12px; }
.steps b { display: block; font-size: 20px; color: var(--ink); }
.steps span { color: var(--muted); font-size: 16px; }

/* 자주 묻는 질문 */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* 서류 목록(하위 페이지) */
.doclist { counter-reset: d; list-style: none; margin: 0; padding: 0; }
.doclist li { counter-increment: d; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.doclist li::before { content: counter(d); font-weight: 800; color: var(--ink); }
.doclist small { display: block; color: var(--muted); font-size: 15px; }
.note { background: #fff8db; border-left: 4px solid var(--plate); padding: 14px 18px; border-radius: 6px; font-size: 16px; margin-top: 18px; }

/* 하위 페이지 머리 띠 */
.band { background: var(--ink) url("band.jpg") center/cover no-repeat; color: var(--white); position: relative; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(21,35,59,.72); }
.band .wrap { position: relative; padding: 64px 20px 56px; }
.band h1 { font-size: 44px; margin: 0 0 8px; }
.band p { margin: 0; color: rgba(255,255,255,.8); font-size: 19px; }

/* 상담 안내 줄(하위 페이지 하단) */
.cta { background: var(--ink); color: var(--white); }
.cta .wrap { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { color: var(--white); font-size: 32px; margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.78); }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.visit img { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.visit dl { margin: 0; }
.visit dt { font-weight: 700; color: var(--ink); margin-top: 14px; }
.visit dd { margin: 2px 0 0; color: var(--muted); }
.btn-line { display: inline-block; margin-top: 22px; text-decoration: none; font-weight: 700; color: var(--ink); border: 2px solid var(--ink); padding: 10px 18px; border-radius: 8px; }
.btn-line:hover { background: var(--ink); color: var(--white); }

/* 회사소개: 대표 사진 + 인사말 */
.greet { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.greet-photo { width: 100%; height: auto; border-radius: var(--radius-lg); }
.greet p { max-width: 34em; }
.greet-sign { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.greet-sign img { width: 150px; height: auto; mix-blend-mode: multiply; }

/* 보험사 로고 */
.insurers { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.insurers li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: grid; place-items: center; }
.insurers img { width: 100%; height: auto; }

/* 푸터 */
.footer { background: #0f1a2d; color: rgba(255,255,255,.62); font-size: 15px; padding: 40px 0; }
.footer b { color: var(--white); }
.footer p { margin: 4px 0; }

/* 모바일 하단 고정 전화 버튼 */
.dock { display: none; }

@media (max-width: 960px) {
	.hero .wrap, .cta .wrap { grid-template-columns: 1fr; gap: 36px; }
	.hero h1 { font-size: 40px; }
	.facts ul { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.visit { grid-template-columns: 1fr; }
	.greet { grid-template-columns: 220px 1fr; gap: 32px; }
	.insurers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	body { font-size: 17px; }
	.nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; padding: 8px 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
	.nav.open { display: flex; }
	.nav a { font-size: 18px; padding: 12px; }
	.menu-btn { display: block; }
	.topbar-call { display: none; }
	.hero .wrap { padding-top: 48px; padding-bottom: 56px; }
	.hero h1 { font-size: 32px; }
	.hero-price { order: -1; }
	.plate-caption { margin-top: 12px; font-size: 14px; }
	.hero p.lead { font-size: 18px; }
	.plate { padding: 18px 18px 20px; }
	.plate-price { font-size: 40px; }
	.split { grid-template-columns: 1fr; }
	.greet { grid-template-columns: 1fr; }
	.greet-photo { max-width: 240px; }
	.steps { grid-template-columns: 1fr; }
	.section { padding: 64px 0; }
	.section h2 { font-size: 28px; }
	.band h1 { font-size: 32px; }
	.footer { padding-bottom: 110px; }
	.dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; text-decoration: none; justify-content: center; align-items: center; gap: 10px; background: var(--plate); color: var(--plate-edge); font-weight: 800; font-size: 19px; padding: 15px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.doclist.plain li { grid-template-columns: 1fr; }
.doclist.plain li::before { content: none; }
