/* 유어파트너스 공통 스타일 */

:root {
  --navy: #1F2966;
  --blue: #005FAD;
  --cyan: #00B9E7;
  --ink: #1B1F29;
  --body: #434856;
  --paper: #FCFCFC;
  --line: #E3E6EE;
  --tint: #EEF3FA;

  /* 곡선 단계별 색 (네이비 → 시안) */
  --step-1: #1F2966;
  --step-2: #143F87;
  --step-3: #005FAD;
  --step-4: #00A0D6;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 112px;

  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.012em;
  color: var(--body);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

h1, h2, h3 { color: var(--navy); font-weight: 600; letter-spacing: -0.028em; line-height: 1.32; text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.18; letter-spacing: -0.045em; }
h2 { font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -0.038em; line-height: 1.26; }
h3 { font-size: 21px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 30; }
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: calc(1120px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--space-6) 0; }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: var(--space-4); }
.section-head h2 { text-wrap: wrap; }
.section-head p { margin-top: var(--space-2); font-size: 18px; text-wrap: wrap; }
.section-head br { display: none; }
@media (min-width: 1180px) { .section-head br { display: inline; } }

.lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.7; max-width: 34em; color: #535A6B; }

/* 상단 메뉴: 스크롤해도 따라오는 반투명 띠 */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(252, 252, 252, .78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; min-height: 88px; gap: var(--space-3); }
.site-logo { margin-right: auto; display: block; }
.site-logo img { height: 42px; width: auto; }
.site-nav { display: flex; gap: var(--space-4); }
.site-nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; letter-spacing: -0.01em; padding: 8px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-toggle { display: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--navy); background: none; border: 1.5px solid var(--navy); border-radius: 999px; padding: 6px 16px; cursor: pointer; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--space-1) var(--gutter) var(--space-2); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav a:last-child { border-bottom: 0; }
}

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: #fff; background: var(--navy); border: 1.5px solid var(--navy); border-radius: 999px; padding: 16px 30px; text-decoration: none; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 95, 173, .6); }
.btn:active { transform: translateY(0); }
.btn.btn--ghost { color: var(--navy); background: transparent; }
.btn.btn--ghost:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.btn.btn--light { color: var(--navy); background: #fff; border-color: #fff; }
.btn.btn--light:hover { color: var(--navy); background: var(--cyan); border-color: var(--cyan); box-shadow: 0 10px 24px -10px rgba(0, 185, 231, .7); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 스크롤 등장 효과 (스크립트가 켜져 있고 움직임 줄이기가 꺼져 있을 때만) */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* 하위 페이지 머리 */
.page-head { position: relative; padding: var(--space-5) 0 var(--space-5); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.24; max-width: 15em; }
.page-head .lead { margin-top: var(--space-3); }

/* 은은하게 움직이는 배경 빛 */
.glow { position: relative; isolation: isolate; overflow: hidden; }
.glow::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 185, 231, .2), rgba(0, 95, 173, .1) 55%, transparent); filter: blur(30px); animation: glow-drift 16s ease-in-out infinite alternate; }
@keyframes glow-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-9%, 12%, 0) scale(1.15); } }

/* 홈: 차별성. 아래 PIGA 카드와 같은 계열의 카드 */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.value { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: var(--space-4) var(--space-3); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.value:nth-child(1) { --c: var(--step-1); }
.value:nth-child(2) { --c: var(--step-2); }
.value:nth-child(3) { --c: var(--step-3); }
.value:nth-child(4) { --c: var(--step-4); }
.value:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 26px 44px -28px rgba(31, 41, 102, .5); }
.value-icon { position: absolute; right: 16px; top: 16px; width: 88px; height: 88px; opacity: .09; transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.value-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: var(--c); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.value-icon svg .solid { fill: var(--c); }
.value:hover .value-icon { opacity: .2; transform: translateY(6px) scale(1.04); }
.value h3 { position: relative; font-size: 26px; padding-top: 22px; }
.value h3::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--c); }
.value h3 small { display: block; font-size: 14px; font-weight: 600; color: var(--c); letter-spacing: 0; margin-top: 2px; }
@media (max-width: 560px) { .value-icon { width: 72px; height: 72px; } }
.value p { position: relative; margin-top: 14px; font-size: 16px; line-height: 1.7; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value { padding: var(--space-3); }
}

/* 실적: 함께한 고객과 평가·강의 활동 */
.record { position: relative; isolation: isolate; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: var(--space-4); }
.record + .record { margin-top: var(--space-3); }
/* 위쪽의 가는 그라데이션 선과 모서리의 은은한 빛 */
.record::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue) 55%, var(--cyan)); }
.record::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 185, 231, .13), rgba(0, 95, 173, .05) 60%, transparent); }

.record-head { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4) var(--space-5); align-items: end; padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.record-intro h3 { font-size: 28px; letter-spacing: -0.035em; }
.record-intro p { margin-top: 10px; font-size: 16.5px; line-height: 1.75; max-width: 34em; }

.record-stats { display: flex; gap: var(--space-5); }
.record-stat { display: flex; flex-direction: column-reverse; gap: 6px; }
.record-stat + .record-stat { padding-left: var(--space-5); border-left: 1px solid var(--line); }
.record-stat dt { font-size: 14px; font-weight: 600; color: #6A7183; }
.record-stat dd { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.record-stat dd span { font-size: 64px; font-weight: 700; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, var(--navy), var(--blue) 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.record-stat dd small { font-size: 16px; font-weight: 600; color: var(--navy); white-space: nowrap; }

.record-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.record-list li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; line-height: 1.4; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.record-list li:hover { border-color: var(--blue); box-shadow: 0 10px 20px -14px rgba(31, 41, 102, .5); transform: translateY(-2px); }
.record-list span { color: var(--ink); font-weight: 500; }
.record-list small { padding: 4px 10px; border-radius: 999px; background: var(--tint); font-size: 12.5px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.record-list--main li { padding: 12px 20px 12px 16px; font-size: 17px; }
.record-list--main li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--cyan); }
.record-list--main li:nth-child(3n+1)::before { border-color: var(--navy); }
.record-list--main li:nth-child(3n+2)::before { border-color: var(--blue); }
.record-list--main span { font-weight: 600; color: var(--navy); }
.record-note { margin-top: var(--space-3); font-size: 13px; color: #7A8296; }

@media (max-width: 960px) {
  .record { padding: var(--space-3); border-radius: 22px; }
  .record-head { grid-template-columns: 1fr; align-items: start; padding-bottom: var(--space-3); margin-bottom: var(--space-3); }
  .record-intro h3 { font-size: 24px; }
  .record-stats { gap: var(--space-4); }
  .record-stat + .record-stat { padding-left: var(--space-4); }
  .record-stat dd span { font-size: 52px; }
}
@media (max-width: 560px) {
  .record-stats { gap: var(--space-3); }
  .record-stat + .record-stat { padding-left: var(--space-3); }
  .record-stat dd { flex-wrap: wrap; }
  .record-stat dd span { font-size: 44px; }
  .record-stat dd small { font-size: 14px; }
  .record-list { gap: 8px; }
  .record-list li { padding: 6px 6px 6px 13px; font-size: 14px; }
  .record-list small { padding: 3px 8px; font-size: 12px; white-space: normal; }
  .record-list--main li { padding: 9px 15px 9px 13px; font-size: 15px; }
}

/* 대표 인사 */
.greeting { display: grid; grid-template-columns: 340px 1fr; gap: var(--space-5); align-items: center; }
.greeting-photo { width: 100%; background: linear-gradient(160deg, var(--tint), #DCE8F7); border-radius: 28px; }
.greeting-text { margin-top: var(--space-3); font-size: 19px; max-width: 32em; }
.greeting-sign { margin-top: var(--space-3); display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; color: var(--ink); font-weight: 600; }
.greeting-sign img { height: 24px; width: auto; }
.text-link { display: inline-block; margin-top: var(--space-3); font-weight: 600; color: var(--blue); text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .3s var(--ease); }
.text-link:hover { background-size: 0 1.5px; background-position: right bottom; }
@media (max-width: 860px) {
  .greeting { grid-template-columns: 1fr; gap: var(--space-4); }
  .greeting-photo { max-width: 260px; }
  .greeting-text { font-size: 17px; }
}

/* 하단 정보 */
.site-footer { background: #161D4D; color: #C9D2F2; padding: var(--space-5) 0 var(--space-4); font-size: 15px; }
.site-footer .container { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4); }
.site-footer strong { display: block; color: #fff; font-size: 18px; font-weight: 600; margin-bottom: var(--space-1); }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer address { font-style: normal; }
.footer-contact { display: grid; grid-template-columns: auto auto; column-gap: var(--space-3); row-gap: 4px; align-content: start; }
.footer-contact { align-items: center; }
.footer-contact dt { display: flex; align-items: center; gap: 8px; color: #9AA6D6; }
.footer-contact dt svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact dd { color: #fff; }
.footer-keywords { grid-column: 1 / -1; font-size: 13.5px; color: #9AA6D6; }
.footer-keywords + .copyright { margin-top: calc(var(--space-3) * -1); }
.site-footer .copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: var(--space-3); font-size: 13.5px; }
@media (max-width: 720px) {
  .site-footer .container { grid-template-columns: 1fr; gap: var(--space-3); }
  .footer-contact { justify-content: start; }
}

/* 회사 소개: 이력 현황 (기존 4단 양식 유지) */
.history { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4) var(--space-3); border-top: 1px solid var(--line); padding-top: var(--space-4); }
.history > div { min-width: 0; }
.history h3 { font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.history ul { list-style: disc; padding-left: 20px; font-size: 14px; line-height: 1.75; }
.history li { margin-bottom: 4px; }
@media (max-width: 1023px) { .history { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .history { grid-template-columns: 1fr; gap: var(--space-3); } }

/* 회사 소개: 저서 */
.book { display: grid; grid-template-columns: 190px 1fr; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.book-cover { display: grid; place-items: center; align-self: stretch; padding: 6px 18px; background: linear-gradient(160deg, var(--tint), #DCE8F7); }
.book-cover img { width: 100%; max-width: 132px; filter: drop-shadow(0 12px 14px rgba(31, 41, 102, .28)); transition: transform .5s var(--ease); }
.book:hover .book-cover img { transform: translateY(-4px) rotate(-1.5deg); }
.book-body { padding: 20px var(--space-4); }
.book h3 { font-size: 23px; letter-spacing: -0.035em; line-height: 1.3; }
.book-sub { margin-top: 2px; font-size: 15px; font-weight: 500; color: #7A8296; }
.book-quote { margin-top: 12px; padding-left: 12px; border-left: 3px solid var(--cyan); font-size: 15.5px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; }
.book-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin-top: 14px; }
.book-meta { font-size: 14px; color: #6A7183; }
.book-meta span { margin: 0 8px; color: #C8CEDD; }
.book .btn { font-size: 13.5px; padding: 9px 18px; }
@media (max-width: 560px) {
  .book { grid-template-columns: 110px 1fr; }
  .book-cover { padding: 12px; }
  .book-body { padding: 16px; }
  .book h3 { font-size: 19px; }
  .book-quote { display: none; }
}

/* 회사 소개: CI */
.ci { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.ci figure { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: var(--space-4); display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); min-height: 240px; }
.ci figure img { width: 100%; max-width: 380px; margin: auto; }
.ci .ci-value { grid-row: span 2; }
.ci .ci-value img { max-width: none; }
.ci-curve { display: block; width: 100%; height: auto; margin: auto; overflow: hidden; }
.ci figcaption { font-size: 14px; font-weight: 600; color: var(--ink); text-align: center; }
@media (max-width: 720px) {
  .ci { grid-template-columns: 1fr; }
  .ci .ci-value { grid-row: auto; }
  .ci figure { padding: var(--space-3); min-height: 0; }
}

/* 서비스: PIGA 카드 */
.piga { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.piga-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: var(--space-4); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.piga-card:nth-child(1) { --c: var(--step-1); }
.piga-card:nth-child(2) { --c: var(--step-2); }
.piga-card:nth-child(3) { --c: var(--step-3); }
.piga-card:nth-child(4) { --c: var(--step-4); }
.piga-card:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 26px 44px -28px rgba(31, 41, 102, .5); }
.piga-letter { position: absolute; right: 22px; top: -6px; font-size: 150px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--c); opacity: .1; transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.piga-card:hover .piga-letter { opacity: .22; transform: translateY(6px) scale(1.04); }
.piga-card h3 { font-size: 30px; display: flex; align-items: baseline; gap: 12px; }
.piga-card h3 small { font-size: 15px; font-weight: 600; color: var(--c); letter-spacing: 0; }
.piga-card ul { list-style: none; margin-top: var(--space-3); display: grid; gap: 9px; position: relative; }
.piga-card ul li { position: relative; padding-left: 20px; }
.piga-card ul li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--c); }
@media (max-width: 760px) {
  .piga { grid-template-columns: 1fr; }
  .piga-card { padding: var(--space-3); }
  .piga-letter { font-size: 110px; }
}

/* 한 페이지 구성: 메뉴로 이동했을 때 상단 메뉴에 가리지 않게 한다 */
main section[id] { scroll-margin-top: 96px; }
.site-nav a.is-active { color: var(--navy); font-weight: 600; }
.site-nav a.is-active::after { transform: scaleX(1); }

/* 홈: 첫 화면. CI 가이드 Type A 구도의 포물선 아래에 제목을 둔다 */
.hero { padding: var(--space-3) 0 var(--space-5); }
.hero-stage { position: relative; container-type: inline-size; }
.hero-text > * { animation: rise .9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .12s; }
.hero-text > :nth-child(3) { animation-delay: .24s; }
.hero .lead { margin-top: var(--space-3); }
.hero .btn-row { margin-top: var(--space-4); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.curve { display: block; width: 100%; height: auto; overflow: hidden; margin-top: var(--space-4); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 93%, transparent); }
.curve-lines path { stroke-width: .7px; vector-effect: non-scaling-stroke; }
.ci-curve .curve-lines { opacity: .42; }
.ci-curve .curve-lines path { stroke-width: .4px; }
.curve-mask { stroke-dasharray: 1; animation: curve-draw 2.4s cubic-bezier(.55, 0, .25, 1) .2s both; }
.curve-ball { animation: fade-in .5s ease 2.6s both; }
@keyframes curve-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }

@media (min-width: 960px) {
  .hero-stage { aspect-ratio: 880.4 / 534.7; }
  .curve { position: absolute; inset: 0; height: 100%; margin: 0; }
  .hero-text { position: absolute; z-index: 1; left: 40%; right: 1%; top: 50%; text-align: right; }
  .hero h1 { font-size: 3.5cqw; line-height: 1.3; letter-spacing: -0.04em; }
  .hero .lead { font-size: max(15px, 1.42cqw); line-height: 1.75; margin: 1.8cqw 0 0 auto; max-width: 27em; }
  .hero .btn-row { margin-top: 2.6cqw; justify-content: flex-end; gap: 10px; }
  .hero .btn { font-size: 14.5px; padding: 12px 22px; }
}
@media (max-width: 959px) {
  .hero { padding-top: var(--space-4); }
  .curve-lines path { stroke-width: .5px; }
}

/* Contact Us */
.contact { display: grid; grid-template-columns: 380px 1fr; gap: var(--space-3); align-items: stretch; }
.contact-panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: var(--space-4); }
.contact-list { display: grid; gap: var(--space-4); }
.contact-list dt { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.contact-list dt svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--tint); fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list dd { margin: 10px 0 0 52px; font-size: 16px; line-height: 1.7; color: var(--body); }
.contact-list a { color: var(--blue); text-underline-offset: 3px; }
.contact-list .nowrap { white-space: nowrap; }
@media (max-width: 400px) { .contact-list .nowrap { white-space: normal; } }
.contact-list .phone-list { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; font-variant-numeric: tabular-nums; }
.sns { display: flex; gap: 10px; }
.sns a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #C8CEDD; color: var(--navy); transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.sns a:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-3px); }
.sns svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.sns svg .solid { fill: currentColor; stroke: none; }

.form { display: grid; gap: var(--space-3); background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { font: inherit; color: var(--ink); background: #F7F9FC; border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { border-color: #C8CEDD; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 95, 173, .14); }
.field-hint { font-size: 14px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { background: var(--tint); border-radius: 14px; padding: var(--space-2) 20px; font-size: 14.5px; }
.consent label { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 4px 0 0; flex: none; accent-color: var(--navy); }
.form .btn { justify-self: start; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--blue); }
.form-status.is-error { color: #B3261E; }
.sent-note { display: none; margin-top: var(--space-2); padding: 14px 18px; border-radius: 12px; background: var(--tint); color: var(--navy); font-weight: 600; max-width: 34em; }
.section-head .sent-note { font-size: 16px; }
.sent-note:target { display: block; }

.directions { display: grid; grid-template-columns: 380px 1fr; gap: var(--space-3); margin-top: var(--space-3); align-items: stretch; }
.directions > div { border: 1px solid var(--line); border-radius: 28px; padding: var(--space-4); background: #fff; }
.directions h3 { font-size: 20px; margin-bottom: var(--space-2); }
.directions-address { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 8px; }
.map { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 28px; background: var(--tint); }
@media (max-width: 960px) {
  .contact, .directions { grid-template-columns: 1fr; }
  .contact-panel, .form, .directions > div { padding: var(--space-3); border-radius: 22px; }
  .map { border-radius: 22px; }
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  :root { --space-6: 76px; --space-5: 48px; --gutter: 20px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.26; }
  .hero h1 { font-size: min(6vw, 40px); }
  .section-head p { font-size: 17px; }
}

/* 움직임 줄이기 설정을 켠 경우 모든 자동 움직임을 끈다 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .curve-ball { display: none; }
  .curve-lines { mask: none; }
}

/* 404 페이지 */
.site-nav--plain { display: flex; }
.not-found { padding: var(--space-6) 0; min-height: 60vh; }
.not-found-code { font-size: clamp(72px, 14vw, 140px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--tint); -webkit-text-stroke: 2px var(--blue); margin-bottom: var(--space-3); }
.not-found .lead { margin-top: var(--space-2); }
.not-found .btn-row { margin-top: var(--space-4); }
@media (max-width: 720px) { .site-nav--plain { display: none; } }
