/* 스테이집사 소개 사이트 공통 스타일 — 색은 앱(web/src/index.css)의 제주 감귤 브랜드 색과 같은 값 */
:root {
  --brand-50: #fff7ed;
  --brand-100: #ffedd5;
  --brand-200: #fed7aa;
  --brand-500: #f97316;
  --brand-600: #ea580c;
  --brand-700: #c2410c;
  --brand-900: #7c2d12;
  --cream: #faf7f2;
  --sand: #ede4d8;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --sea: #0f766e;
  --radius: 16px;
  --wrap: 1120px;
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.7; font-size: 16px; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
code { font-size: 0.9em; background: var(--brand-50); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; }
.brand-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-500); display: grid; place-items: center; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--brand-50); }
.nav .btn { margin-left: 4px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; font-weight: 700; border-radius: 12px; padding: 12px 20px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--brand-600); color: #fff !important; }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand-200); }
.nav .btn { padding: 8px 14px; font-size: 14px; }

/* 히어로 */
.hero { padding-block: 72px 56px; background: linear-gradient(180deg, var(--brand-50) 0%, var(--cream) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand-700); background: #fff; border: 1px solid var(--brand-200); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand-600); }
.hero .lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 34em; }
.hero .actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(124, 45, 18, .35); aspect-ratio: 5 / 4; background: var(--brand-100); }
.hero-art svg { width: 100%; height: 100%; }

/* 섹션 */
section { padding-block: 72px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .kicker { font-size: 14px; font-weight: 700; color: var(--brand-700); margin-bottom: 8px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.alt { background: #fff; border-block: 1px solid var(--line); }

.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.alt .card { background: var(--cream); }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { margin-top: 10px; color: var(--muted); }
.card ul { margin: 14px 0 0; padding-left: 0; list-style: none; }
.card li { position: relative; padding-left: 22px; margin-top: 8px; color: var(--ink); }
.card li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); display: grid; place-items: center; margin-bottom: 18px; color: var(--brand-600); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--sea); background: #ecfdf5; border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }

/* 흐름 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-600); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.steps strong { display: block; font-size: 17px; }
.steps span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* 표 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--brand-50); font-size: 14px; color: var(--brand-900); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-600); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* CTA */
.cta { background: var(--brand-600); color: #fff; border-radius: 24px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.cta p { margin-top: 8px; color: rgba(255,255,255,.88); }
.cta .btn-ghost { border-color: transparent; }
.contact-list { margin: 14px 0 0; padding: 0; list-style: none; color: #fff; }
.contact-list li { margin-top: 4px; }

/* 페이지 머리말(안내 페이지) */
.page-hero { padding-block: 56px 40px; background: linear-gradient(180deg, var(--brand-50) 0%, var(--cream) 100%); }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 40em; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.toc a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.toc a:hover { border-color: var(--brand-200); }
.note { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* 푸터 */
.site-footer { padding-block: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding-block: 52px; }
  .hero { padding-block: 44px 36px; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .nav a:not(.btn) { padding: 6px 8px; font-size: 14px; }
  .cta { padding: 32px 24px; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
