/* ===== ANGEL WAY KOREA — design system =====
   Editorial / calm: deep forest green + warm ivory + blush, serif headlines.
   KakaoTalk yellow is used ONLY for the primary chat call-to-action. */
:root {
  --ink: #1F3A34;
  --ink-soft: #2E5249;
  --ink-deep: #14261F;
  --blush: #F4B8A0;
  --blush-soft: #FBE9E0;
  --kakao: #FEE500;
  --kakao-dark: #E8D200;
  --bg: #FAF7F1;
  --bg-alt: #F1EBDF;
  --surface: #FFFFFF;
  --text: #22302C;
  --muted: #667470;
  --line: #E3DCCD;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(20, 38, 31, .06), 0 8px 24px rgba(20, 38, 31, .06);
  --font-head: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --font-body: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  word-break: keep-all;          /* Korean: don't break inside words */
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.35; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.icon { flex: none; vertical-align: -.2em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

/* ----- header ----- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 241, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: var(--blush); display: grid; place-items: center; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .14em; color: var(--ink); }
.logo-text em { font-style: normal; color: #C9684A; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-dropdown > a { padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--text); border-radius: var(--radius); display: inline-flex; align-items: center; gap: 4px; }
.main-nav > a:hover, .nav-dropdown > a:hover { background: var(--bg-alt); }
.main-nav a.active, .nav-dropdown.active > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blush); border-radius: 0; }
.nav-dropdown { position: relative; }
.dropdown-panel { position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px; display: none; }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel a { display: block; padding: 10px 14px; border-radius: var(--radius); font-size: 15px; }
.dropdown-panel a:hover { background: var(--blush-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; color: var(--ink); cursor: pointer; }

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 500 15px/1 var(--font-body); border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-soft); }
.btn-kakao { background: var(--kakao); color: #191600; font-weight: 700; }
.btn-kakao:hover { background: var(--kakao-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }

/* ----- hero ----- */
.hero { padding: 72px 0 40px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #B5573A; text-transform: uppercase; padding-bottom: 6px; border-bottom: 2px solid var(--blush); margin-bottom: 22px; }
.eyebrow-light { color: var(--blush); border-color: rgba(244, 184, 160, .5); }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.22; margin-bottom: 24px; }
.text-accent { color: #C9684A; font-style: italic; }
.hero-text { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; justify-self: center; width: min(400px, 100%); }
.hero-arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--blush-soft); box-shadow: var(--shadow); border: 8px solid var(--surface); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-seal { position: absolute; left: -28px; bottom: 36px; width: 104px; height: 104px; border-radius: 50%; background: var(--ink); color: var(--blush); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; font: 700 10px/1.2 var(--font-head); letter-spacing: .2em; box-shadow: var(--shadow); }
.hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.hero-badge { display: flex; align-items: center; gap: 12px; padding: 20px 16px 4px 0; font-weight: 500; color: var(--ink); }
.hero-badge .icon { color: #C9684A; }

/* ----- page hero / breadcrumbs ----- */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(244, 184, 160, .25); box-shadow: 0 0 0 40px rgba(244, 184, 160, .05); }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); max-width: 820px; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 680px; font-size: 17px; margin: 0; }
.breadcrumbs { padding: 16px 0; font-size: 13.5px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumb-sep { margin: 0 8px; opacity: .5; }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 500; }

/* ----- sections ----- */
section { padding: 88px 0; }
.bg-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #B5573A; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ----- cards ----- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service-card:hover, .blog-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--blush-soft); color: #B5573A; display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); margin-top: 6px; }
.blog-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: #B5573A; background: var(--blush-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.advantage-card { border-top: 3px solid var(--blush); border-radius: var(--radius); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.checklist .icon { color: #3E8E6E; margin-top: 4px; }

.duo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.duo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.duo-card h3 { font-size: 22px; }
.duo-card p { color: var(--muted); margin: 0; }

.expert-card { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.expert-avatar { width: 200px; height: 240px; border-radius: 999px 999px 12px 12px; background: var(--ink); color: var(--blush); display: grid; place-items: center; }
.expert-name { font-size: 26px; margin-bottom: 4px; }
.expert-title { display: block; color: #B5573A; font-weight: 700; margin-bottom: 14px; }

/* numbered steps: vertical timeline */
.steps-list { list-style: none; margin: 0; padding: 0; max-width: 820px; counter-reset: s; }
.step-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 32px; position: relative; }
.step-item:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 4px; width: 1px; background: var(--line); }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--ink); color: var(--ink); font: 700 20px/1 var(--font-head); display: grid; place-items: center; }
.step-item h3 { font-size: 19px; margin-bottom: 4px; padding-top: 12px; }
.step-item p { color: var(--muted); margin: 0; }

.callout-box { display: flex; gap: 20px; background: var(--blush-soft); border-left: 4px solid #C9684A; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 28px 32px; max-width: 880px; margin-inline: auto; }
.callout-box .icon { color: #B5573A; margin-top: 4px; }
.callout-box h3 { font-size: 19px; }
.callout-box p { margin: 0; }

/* ----- CTA band ----- */
.cta-band { background: var(--ink); color: #fff; padding: 64px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .75); margin: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----- form & contact ----- */
.contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 21px; margin-bottom: 20px; }
#leadForm label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
.req { color: #C9684A; margin-left: 2px; }
#leadForm input, #leadForm textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: 400 16px var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
#leadForm input:focus, #leadForm textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: #fff; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.form-success { margin: 14px 0 0; padding: 12px 14px; background: #E6F3EC; color: #1F5C43; border-radius: var(--radius); font-size: 14px; }
.form-success[hidden] { display: none; }
.partner-grid { grid-template-columns: repeat(4, 1fr); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-list { display: grid; gap: 14px; margin: 24px 0; }
.contact-info-item { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 18px; }
.contact-info-item .card-icon { margin: 0; width: 42px; height: 42px; }
.contact-info-item h4 { font: 700 12px var(--font-body); color: var(--muted); letter-spacing: .08em; margin: 0 0 2px; }
.contact-info-item a, .contact-info-item .value { font-weight: 500; color: var(--ink); word-break: break-all; }
.contact-info-item a:hover { text-decoration: underline; }

/* ----- article ----- */
.article { max-width: 760px; margin: 0 auto; padding: 24px 20px 88px; }
.article .meta { color: #B5573A; font-weight: 700; font-size: 14px; }
.article h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.article h2 { font-size: 24px; margin-top: 2em; }
.article p, .article li { font-size: 17px; line-height: 1.9; }
.article .disclaimer-box { margin-top: 40px; padding: 20px 24px; background: var(--bg-alt); border-left: 4px solid var(--blush); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14.5px; color: var(--muted); }

/* ----- footer ----- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-col h4 { color: #fff; font: 700 14px var(--font-body); letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14.5px; }
.footer-col a:hover { color: var(--blush); }
.footer-brand p { font-size: 14.5px; max-width: 300px; margin-top: 16px; }
.logo-footer .logo-text { color: #fff; }
.logo-footer .logo-mark { background: var(--blush); color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; }
.footer-disclaimer { max-width: 900px; opacity: .7; }
.footer-copy { margin: 0; opacity: .6; }

/* mobile bottom action bar (hidden on desktop) */
.mobile-bar { display: none; }

.not-found { text-align: center; padding: 140px 20px; }
.not-found h1 { font-size: 96px; color: var(--blush); margin: 0; }

/* ----- responsive ----- */
@media (max-width: 980px) {
  section { padding: 64px 0; }
  .hero-grid, .contact-grid, .expert-card { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(300px, 80%); }
  .hero-seal { left: -12px; }
  .grid-3, .grid-4, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .expert-avatar { width: 120px; height: 140px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-actions .btn-kakao { display: none; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dropdown > a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.active, .nav-dropdown.active > a { box-shadow: none; color: #B5573A; }
  .dropdown-panel { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .nav-dropdown:hover .dropdown-panel { display: none; }
  .nav-dropdown.open .dropdown-panel { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 76px; }
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 40px; }
  .hero-text { font-size: 16.5px; }
  .hero-badges { grid-template-columns: 1fr; margin-top: 36px; }
  .hero-badge { padding: 14px 0 0; }
  .grid-2, .grid-3, .grid-4, .partner-grid, .duo-grid, .footer-grid { grid-template-columns: 1fr; }
  .contact-form-card, .duo-card, .expert-card { padding: 24px 20px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .step-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 17px; }
  .step-item:not(:last-child)::before { left: 21px; top: 44px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 247, 241, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar .btn-kakao { flex: 1; padding: 15px 16px; }
  .mobile-bar .btn-dark { padding: 15px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
