@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --navy: #0F1F3D;
  --navy-2: #0F1F3D;
  --navy-3: #0A1628;
  --gold: #D2A874;
  --gold-2: #8B5A2B;
  --cream: #F7F4EE;
  --white: #ffffff;
  --muted: #b8c0d6;
  --line: rgba(210, 168, 116, 0.28);
  --soft-line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Pretendard, "Apple SD Gothic Neo", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body::selection {
  background: var(--gold);
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.72;
}

h1 {
  font-size: 92px;
  line-height: 1.08;
  font-weight: 800;
}

h2 {
  font-size: 62px;
  line-height: 1.18;
  font-weight: 800;
}

h3 {
  font-size: 30px;
  line-height: 1.28;
  font-weight: 800;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 92px;
  display: grid;
  grid-template-columns: 270px 1fr 320px;
  align-items: center;
  gap: 28px;
  padding: 0 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 31, 61, 0.72);
  backdrop-filter: blur(18px);
  transition: background 260ms ease, height 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
  height: 78px;
  background: rgba(15, 31, 61, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.brand img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand::after {
  content: "법무법인 윤중";
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.gnb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 16px;
  font-weight: 800;
}

.gnb a {
  position: relative;
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.9);
}

.gnb a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.gnb a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.btn,
.contact-box a,
.intro-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.header-cta,
.btn.primary,
.contact-box .phone,
.intro-inner a {
  background: var(--gold);
  color: var(--navy);
}

.btn.ghost,
.contact-box .kakao {
  background: transparent;
  color: var(--gold);
}

.header-cta:hover,
.btn:hover,
.contact-box a:hover,
.intro-inner a:hover {
  transform: translateY(-3px);
}

.section,
.section-dark,
.contact-hero {
  position: relative;
  padding: 132px 72px;
  overflow: hidden;
}

.section > *,
.section-dark > *,
.contact-hero > * {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  background: #F7F4EE;
  color: var(--navy);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow.gold {
  color: var(--gold);
}

.section-head {
  margin-bottom: 58px;
}

.section-head.center {
  max-width: 980px;
  text-align: center;
}

.section-head.center p {
  margin: 22px auto 0;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 90px;
  align-items: end;
}

.section-head.split p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.section:not(.section-dark) .section-head.split p:not(.eyebrow),
.section:not(.section-dark) .section-head.center p {
  color: #4A5568;
}

.hero {
  min-height: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px 540px;
  align-items: center;
  gap: 44px;
  padding-top: 150px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.94), rgba(15, 31, 61, 0.72) 52%, rgba(15, 31, 61, 0.96)),
    url("./assets/photos/office-2.jpg") center/cover no-repeat;
  opacity: 0.92;
}

.hero-inner,
.hero-panel,
.hero-photo {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 900px;
}

.hero-lead {
  max-width: 760px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 23px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 42px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel span {
  display: block;
  padding: 24px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.hero-photo {
  align-self: end;
}

.hero-photo img {
  width: 100%;
  height: 760px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.intro-band {
  padding: 44px 72px;
  background: var(--cream);
  color: var(--navy);
}

.intro-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 40px;
}

.intro-inner p {
  color: var(--navy);
  font-size: 26px;
  font-weight: 800;
}

.yk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.practice-card {
  position: relative;
  min-height: 560px;
  display: grid;
  align-content: end;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 60px rgba(15, 31, 61, 0.14);
}

.practice-card figure {
  position: absolute;
  inset: 0;
}

.practice-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 61, 0.12), rgba(15, 31, 61, 0.92));
}

.practice-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.practice-card:hover img {
  transform: scale(1.06);
}

.practice-card div {
  position: relative;
  z-index: 1;
  padding: 42px;
  color: var(--white);
}

.practice-card small {
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
}

.practice-card h3 {
  margin: 12px 0 18px;
  font-size: 44px;
}

.practice-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.result-section {
  background:
    linear-gradient(rgba(15, 31, 61, 0.94), rgba(15, 31, 61, 0.98)),
    url("./assets/photos/office-1.jpg") center/cover fixed;
}

.case-stage {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 26px;
}

.case-track {
  min-height: 640px;
  position: relative;
}

.case-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity 360ms ease, transform 360ms ease;
}

.case-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.case-card img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
}

.case-card span,
.column-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.case-card h3 {
  font-size: 48px;
}

.case-card p {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.case-nav {
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 42px;
  cursor: pointer;
}

.lawyers-section {
  background:
    linear-gradient(180deg, #F7F4EE 0 370px, var(--navy) 370px 100%);
}

.lawyer-feature {
  display: grid;
  grid-template-columns: 520px 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 34px;
  padding: 44px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.lawyer-feature img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
}

.lawyer-feature h3 {
  font-size: 56px;
  margin-bottom: 26px;
}

.lawyer-feature li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

.lawyer-feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.lawyer-card {
  min-height: 520px;
  display: grid;
  grid-template-rows: 330px auto 1fr;
  align-content: start;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease;
}

.lawyer-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.lawyer-card img,
.empty-photo {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: top center;
  background: rgba(255, 255, 255, 0.08);
}

.empty-photo {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 900;
}

.lawyer-card div:not(.empty-photo) {
  padding: 28px;
}

.lawyer-card h3 {
  margin: 0;
  padding: 26px 30px 0;
}

.lawyer-card p {
  margin: 0;
  padding: 14px 30px 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.media-section {
  background: var(--navy-3);
}

.broadcast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tv-frame {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.tv-frame img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.tv-frame figcaption {
  padding: 18px 6px 6px;
  color: var(--gold);
  font-weight: 900;
  line-height: 1.45;
}

.columns-section {
  background: #F7F4EE;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.column-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid rgba(15, 31, 61, 0.16);
  background: #fff;
  color: var(--navy);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.column-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 46px rgba(15, 31, 61, 0.14);
}

.column-card p {
  margin-top: 16px;
  color: #4A5568;
  font-size: 18px;
}

.process-section {
  background: var(--navy-2);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article {
  min-height: 300px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.process-grid span {
  color: var(--gold);
  font-weight: 900;
}

.process-grid h3 {
  margin: 26px 0 16px;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 70px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.98), rgba(15, 31, 61, 0.86)),
    url("./assets/photos/office-2.jpg") center/cover no-repeat;
}

.contact-hero h2 {
  max-width: 880px;
}

.contact-hero p {
  max-width: 780px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-box {
  padding: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.contact-box a {
  width: 100%;
  margin-bottom: 14px;
}

.contact-box .phone {
  min-height: 76px;
  font-size: 36px;
}

.contact-box span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.floating-contact {
  position: fixed;
  right: 32px;
  bottom: 30px;
  z-index: 90;
  display: flex;
  gap: 10px;
}

.floating-contact a {
  min-width: 120px;
  padding: 16px 18px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

.media-placeholder,
.document-thumb {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  text-align: center;
  font-weight: 900;
}

.category-landing,
.detail-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 70px;
  align-items: center;
  padding-top: 170px;
  background: var(--navy);
  color: var(--white);
}

.category-landing p:not(.eyebrow),
.detail-hero p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 22px;
}

.category-landing .hero-media,
.detail-hero .hero-media {
  min-height: 480px;
  background: linear-gradient(135deg, rgba(210, 168, 116, 0.14), rgba(255, 255, 255, 0.06));
}

.detail-image {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(210, 168, 116, 0.5);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(210, 168, 116, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.detail-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--detail-image) center/cover no-repeat;
  filter: blur(18px) saturate(0.88);
  opacity: 0.2;
  transform: scale(1.08);
}

.detail-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 22%, rgba(210, 168, 116, 0.18), transparent 34%),
    linear-gradient(120deg, rgba(15, 31, 61, 0.62), rgba(15, 31, 61, 0.26) 46%, rgba(15, 31, 61, 0.72));
  pointer-events: none;
}

.detail-image img {
  position: relative;
  width: 100%;
  height: 550px;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 1px solid rgba(210, 168, 116, 0.42);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.category-visual {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(210, 168, 116, 0.5);
  background:
    linear-gradient(145deg, rgba(210, 168, 116, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.category-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--category-image) center/cover no-repeat;
  filter: blur(18px) saturate(0.88);
  opacity: 0.18;
  transform: scale(1.08);
}

.category-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 18%, rgba(210, 168, 116, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(15, 31, 61, 0.22), rgba(15, 31, 61, 0.78));
}

.category-visual img {
  position: relative;
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 1px solid rgba(210, 168, 116, 0.42);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.category-visual figcaption {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(15, 31, 61, 0.16);
  border-left: 1px solid rgba(15, 31, 61, 0.16);
}

.subcategory-grid a {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 22px;
  border-right: 1px solid rgba(15, 31, 61, 0.16);
  border-bottom: 1px solid rgba(15, 31, 61, 0.16);
  background: #fff;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  transition: background 220ms ease, color 220ms ease;
}

.subcategory-grid a:hover {
  background: var(--navy);
  color: var(--gold);
}

.detail-two-column {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 60px;
}

.large-list,
.flow-grid,
.subpage-grid {
  display: grid;
  gap: 18px;
}

.large-list {
  grid-template-columns: repeat(2, 1fr);
}

.large-list li,
.flow-grid article,
.subpage-grid article,
.contact-section .contact-card {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(15, 31, 61, 0.14);
  color: var(--navy);
}

.flow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.subpage-grid {
  grid-template-columns: repeat(4, 1fr);
}

.subpage-grid span,
.flow-grid strong {
  color: var(--gold-2);
  font-weight: 900;
}

.light-section,
.detail-template,
.proof-section {
  background: #F7F4EE;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 70px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.contact-section p,
.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card strong {
  display: block;
  color: var(--gold);
  font-size: 40px;
}

.contact-card span {
  display: block;
  margin-top: 10px;
  color: #4A5568;
}

@media (max-width: 1280px) {
  .site-header {
    position: sticky;
    grid-template-columns: 1fr;
    height: auto;
    padding: 20px 28px;
  }

  .gnb {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .gnb a {
    padding: 8px 0;
  }

  .gnb a::after {
    bottom: 0;
  }

  .header-cta {
    width: fit-content;
  }

  .section,
  .section-dark,
  .contact-hero {
    padding: 88px 28px;
  }

  .hero,
  .section-head.split,
  .intro-inner,
  .case-card,
  .lawyer-feature,
  .contact-hero,
  .category-landing,
  .detail-hero,
  .detail-two-column,
  .contact-section {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  .hero-photo img {
    height: 520px;
  }

  .yk-grid,
  .lawyer-grid,
  .broadcast-grid,
  .column-grid,
  .process-grid,
  .subcategory-grid,
  .large-list,
  .flow-grid,
  .case-grid,
  .subpage-grid {
    grid-template-columns: 1fr;
  }

  .case-stage {
    grid-template-columns: 1fr;
  }

  .case-nav {
    display: none;
  }

  .case-track {
    min-height: 860px;
  }

  .case-card {
    padding: 28px;
  }

  .floating-contact {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .floating-contact a {
    flex: 1;
  }
}

/* YK reference-inspired main page */
.yk-home {
  background: #F7F4EE;
  color: var(--navy);
}

.top-notice {
  position: relative;
  z-index: 120;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.top-notice span {
  position: absolute;
  right: 42px;
  font-size: 12px;
}

.yk-header {
  position: sticky;
  top: 0;
  z-index: 110;
  height: 64px;
  display: grid;
  grid-template-columns: 260px 1fr 132px;
  align-items: center;
  gap: 24px;
  padding: 0 42px;
  border-bottom: 1px solid rgba(15, 31, 61, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(15, 31, 61, 0.06);
}

.yk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.yk-brand img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.yk-brand span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.yk-brand strong {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.yk-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.yk-nav a {
  opacity: 0.88;
}

.yk-nav a:hover {
  color: var(--gold-2);
}

.yk-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.yk-header-actions a {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.yk-header-actions button {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
}

.yk-header-actions .sitemap-toggle,
.sub-header-actions .sitemap-toggle {
  border: 1px solid rgba(210, 168, 116, 0.42);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.sitemap-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(210, 168, 116, 0.42);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.sitemap-toggle:hover,
.sitemap-open .sitemap-toggle {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.sub-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.sitemap-panel {
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 34px 42px 46px;
  background: linear-gradient(180deg, rgba(15, 31, 61, 0.98), rgba(15, 31, 61, 0.98));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateY(-18px);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 260ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.yk-home .sitemap-panel {
  top: 118px;
}

.sitemap-panel[hidden] {
  display: none;
}

.sitemap-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sitemap-inner {
  max-width: 1600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 220ms ease 60ms, transform 260ms cubic-bezier(0.22, 1, 0.36, 1) 60ms;
}

.sitemap-panel.is-open .sitemap-inner {
  opacity: 1;
  transform: translateY(0);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr 1.15fr 1fr;
  gap: 22px;
}

.sitemap-grid section {
  min-height: 250px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.sitemap-grid h3 {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.35;
}

.sitemap-grid a {
  display: block;
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  transition: color 180ms ease, transform 180ms ease;
}

.sitemap-grid a.sitemap-parent {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.sitemap-grid a.sitemap-child {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 400;
}

.sitemap-grid a.sitemap-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 6px;
  height: 1px;
  background: rgba(210, 168, 116, 0.72);
}

.sitemap-grid a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.sitemap-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sitemap-contact span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 800;
}

.yk-hero {
  position: relative;
  height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.yk-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.74), rgba(15, 31, 61, 0.54)),
    url("./assets/photos/office-1.jpg") center 42% / cover no-repeat;
  transform: scale(1.02);
}

.yk-hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.yk-hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 36px;
  line-height: 1.25;
  font-weight: 900;
}

.yk-hero-copy h1 {
  margin-top: 4px;
  color: #fff;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 900;
}

.yk-hero-copy span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 700;
}

.yk-proof-strip {
  max-width: 1600px;
  margin: -36px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 150px) repeat(3, 1fr);
  gap: 18px;
  padding: 0 42px 46px;
}

.yk-proof-item,
.yk-mini-card {
  min-height: 122px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 31, 61, 0.1);
}

.yk-proof-item {
  padding: 22px 24px;
}

.yk-proof-item span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.yk-proof-item strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.yk-proof-item em {
  display: block;
  margin-top: 8px;
  color: #4A5568;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.yk-mini-card {
  position: relative;
  overflow: hidden;
}

.yk-mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 61, 0.12), rgba(15, 31, 61, 0.7));
}

.yk-mini-card img {
  width: 100%;
  height: 122px;
  object-fit: cover;
}

.yk-mini-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.yk-center-section,
.yk-lawyer-section,
.yk-consult-section,
.yk-help-section,
.yk-column-section,
.yk-media-section {
  padding: 78px 42px;
  background: #fff;
}

.yk-center-wrap,
.yk-lawyer-feature,
.yk-work-cards,
.yk-consult-grid,
.yk-help-grid,
.yk-case-banner,
.yk-column-grid,
.yk-media-grid {
  max-width: 1600px;
  margin: 0 auto;
}

.yk-center-wrap {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 56px;
  padding: 18px 0 50px;
}

.yk-center-card {
  min-height: 310px;
  padding: 34px;
  border-radius: 10px;
  background:
    linear-gradient(rgba(15, 31, 61, 0.58), rgba(15, 31, 61, 0.92)),
    url("./assets/revision/requested/meeting.png") center/cover no-repeat;
  color: #fff;
}

.yk-center-card p {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.yk-center-card h2 {
  margin-top: 58px;
  color: #fff;
  font-size: 34px;
}

.yk-center-card span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
}

.yk-center-card a {
  display: inline-flex;
  margin-top: 34px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.yk-field-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 46px;
}

.yk-field-list a {
  display: grid;
  grid-template-columns: 110px 1fr 20px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid #E4DFD1;
  color: var(--navy);
  font-size: 15px;
}

.yk-field-list strong {
  color: #4A5568;
  font-size: 13px;
  font-weight: 800;
}

.yk-field-list span {
  font-weight: 900;
}

.yk-field-list em {
  color: #9aa3b2;
  font-style: normal;
  text-align: right;
}

.yk-title {
  margin-bottom: 48px;
  text-align: center;
}

.yk-title h2 {
  color: var(--navy);
  font-size: 40px;
  line-height: 1.32;
}

.yk-lawyer-section {
  padding-top: 100px;
}

.yk-lawyer-feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.yk-lawyer-feature article {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  min-height: 330px;
  padding: 24px;
  border-radius: 10px;
  background: #F7F4EE;
}

.yk-lawyer-feature img {
  width: 270px;
  height: 282px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
}

.yk-lawyer-feature span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(210, 168, 116, 0.16);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.yk-lawyer-feature h3 {
  margin-top: 18px;
  color: var(--navy);
  font-size: 28px;
}

.yk-lawyer-feature p {
  margin-top: 14px;
  color: #4A5568;
  font-size: 15px;
  line-height: 1.72;
}

.yk-lawyer-feature a {
  display: inline-block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.yk-center-button {
  width: fit-content;
  min-width: 160px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 46px auto 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.yk-work-section {
  padding: 90px 42px;
  background: #F7F4EE;
}

.yk-work-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.yk-work-cards a {
  min-height: 180px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 31, 61, 0.04);
}

.yk-work-cards span {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 10px;
  border-radius: 5px;
  background: rgba(210, 168, 116, 0.16);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.yk-work-cards strong {
  display: block;
  color: var(--navy);
  font-size: 21px;
  font-weight: 900;
}

.yk-work-cards p {
  margin-top: 10px;
  color: #4A5568;
  font-size: 14px;
  line-height: 1.55;
}

.yk-consult-section {
  padding-bottom: 76px;
}

.yk-consult-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}

.yk-match,
.yk-side-boxes a {
  border-radius: 10px;
  background: #F7F4EE;
}

.yk-match {
  min-height: 230px;
  padding: 34px;
}

.yk-match h3 {
  color: var(--navy);
  font-size: 24px;
}

.yk-match p {
  max-width: 760px;
  margin-top: 16px;
  color: #4A5568;
  font-size: 15px;
}

.yk-match div {
  display: grid;
  grid-template-columns: 1fr 1fr 130px;
  gap: 12px;
  margin-top: 36px;
}

.yk-match select,
.yk-match a {
  height: 44px;
  border: 1px solid #E4DFD1;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}

.yk-match a {
  display: grid;
  place-items: center;
  background: var(--gold);
  border-color: var(--gold);
}

.yk-side-boxes {
  display: grid;
  gap: 20px;
}

.yk-side-boxes a {
  min-height: 105px;
  display: grid;
  align-content: center;
  padding: 26px;
}

.yk-side-boxes strong {
  color: var(--navy);
  font-size: 22px;
}

.yk-side-boxes span {
  margin-top: 8px;
  color: #4A5568;
  font-size: 14px;
  font-weight: 800;
}

.yk-help-section {
  padding-top: 54px;
}

.yk-help-grid {
  display: grid;
  grid-template-columns: 0.78fr 0.78fr 1.7fr;
  gap: 22px;
}

.yk-help-card,
.yk-news-card {
  min-height: 210px;
  border-radius: 10px;
}

.yk-help-card {
  display: grid;
  align-content: end;
  padding: 28px;
  color: #fff;
}

.yk-help-card.kakao {
  background:
    linear-gradient(rgba(15, 31, 61, 0.16), rgba(15, 31, 61, 0.72)),
    url("./assets/photos/office-1.jpg") center/cover no-repeat;
}

.yk-help-card.phone {
  background:
    linear-gradient(rgba(15, 31, 61, 0.22), rgba(15, 31, 61, 0.82)),
    url("./assets/photos/broadcast-sbsbiz.jpg") center/cover no-repeat;
}

.yk-help-card strong {
  font-size: 23px;
}

.yk-help-card span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.yk-news-card {
  padding: 28px;
  background: #F7F4EE;
}

.yk-news-card h3 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 24px;
}

.yk-news-card div {
  display: grid;
  grid-template-columns: 95px 1fr;
  align-items: center;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 16px;
  border-radius: 6px;
  background: #fff;
}

.yk-news-card span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.yk-news-card p {
  color: #4A5568;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.yk-case-banner {
  max-width: 1600px;
  min-height: 350px;
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  margin: 70px auto 110px;
  padding: 48px 64px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76)),
    url("./assets/photos/office-2.jpg") center/cover no-repeat;
}

.yk-case-banner h2 {
  color: var(--navy);
  font-size: 38px;
  line-height: 1.32;
}

.yk-case-banner p {
  max-width: 880px;
  margin-top: 24px;
  color: #4A5568;
  font-size: 16px;
}

.yk-case-banner a {
  display: inline-flex;
  margin-top: 26px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.yk-case-banner strong {
  color: rgba(15, 31, 61, 0.68);
  font-size: 54px;
  line-height: 1.05;
  text-align: right;
}

.yk-column-section {
  padding-top: 20px;
}

.yk-column-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.45fr;
  grid-template-rows: repeat(2, 154px);
  gap: 18px;
}

.yk-column-grid a {
  position: relative;
  padding: 24px;
  border-radius: 8px;
  background: #F7F4EE;
  color: var(--navy);
  overflow: hidden;
}

.yk-column-grid .large {
  grid-row: span 2;
  padding: 0;
}

.yk-column-grid .large img,
.yk-column-grid .dark::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yk-column-grid .large::after,
.yk-column-grid .dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 61, 0.16), rgba(15, 31, 61, 0.82));
}

.yk-column-grid .large span,
.yk-column-grid .large strong,
.yk-column-grid .dark span,
.yk-column-grid .dark strong {
  position: relative;
  z-index: 1;
  color: #fff;
}

.yk-column-grid .large span,
.yk-column-grid .large strong {
  left: 24px;
}

.yk-column-grid .large span {
  position: absolute;
  bottom: 72px;
}

.yk-column-grid .large strong {
  position: absolute;
  right: 24px;
  bottom: 26px;
}

.yk-column-grid span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.yk-column-grid strong {
  display: block;
  margin-top: 14px;
  font-size: 19px;
  line-height: 1.45;
}

.yk-column-grid .dark {
  grid-column: span 2;
  background:
    linear-gradient(rgba(15, 31, 61, 0.12), rgba(15, 31, 61, 0.76)),
    url("./assets/photos/kim-heungjun-seated.jpg") center/cover no-repeat;
}

.yk-media-section {
  padding-top: 20px;
}

.yk-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.yk-media-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.yk-footer {
  padding: 42px 42px 60px;
  background: #fff;
  border-top: 1px solid #E4DFD1;
}

.yk-footer-links,
.yk-footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
}

.yk-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-bottom: 32px;
  border-bottom: 1px solid #E4DFD1;
  color: #4A5568;
  font-size: 13px;
  font-weight: 800;
}

.yk-footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding-top: 30px;
}

.yk-footer-bottom strong {
  color: var(--navy);
  font-size: 18px;
}

.yk-footer-bottom p {
  margin-top: 10px;
  color: #7a8290;
  font-size: 13px;
}

.yk-footer-bottom a {
  display: grid;
  place-items: center;
  min-width: 190px;
  min-height: 54px;
  border-radius: 10px;
  background: #F7F4EE;
  color: var(--gold-2);
  font-size: 15px;
  font-weight: 900;
}

.yk-home .floating-contact {
  left: auto;
  right: 22px;
  bottom: 30px;
  flex-direction: column;
  gap: 8px;
}

.yk-home .floating-contact a {
  min-width: 74px;
  padding: 13px 12px;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 12px 28px rgba(15, 31, 61, 0.18);
}

/* Yoonjoong dark-premium adaptation: YK-like information rhythm, original visual language */
.yk-home {
  background: var(--navy);
  color: var(--white);
}

.yj-top-notice {
  height: 40px;
  background: linear-gradient(90deg, #8B5A2B, var(--gold), #8B5A2B);
  color: var(--navy);
}

.yj-header {
  height: 78px;
  grid-template-columns: 270px 1fr 132px;
  border-bottom: 1px solid var(--soft-line);
  background: rgba(15, 31, 61, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.yj-header .yk-brand {
  display: inline-grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
}

.yj-header .yk-brand::before {
  content: none;
}

.yj-header .yk-brand::after {
  content: "법무법인 윤중";
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.yj-header .yk-brand strong,
.yj-header .yk-nav,
.yj-header .yk-header-actions button {
  color: var(--white);
}

.yj-header .yk-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.yj-header .yk-nav a:hover {
  color: var(--gold);
}

.yj-header .yk-header-actions a {
  background: var(--gold);
  color: var(--navy);
}

.yj-hero {
  height: 640px;
  place-items: stretch;
  padding: 0 72px;
  background: var(--navy);
}

.yj-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 170px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 31, 61, 0), var(--navy) 82%);
}

.yj-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(0.9) contrast(1.04) brightness(0.92);
  transform: scale(1.02);
}

.yj-hero .yk-hero-bg {
  background:
    radial-gradient(circle at 70% 42%, rgba(210, 168, 116, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(15, 31, 61, 0.78), rgba(15, 31, 61, 0.48) 48%, rgba(15, 31, 61, 0.7));
  transform: none;
}

.yj-hero .yk-hero-copy {
  width: min(1600px, 100%);
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: start;
  text-align: left;
  position: relative;
  z-index: 2;
}

.yj-hero .yk-hero-copy::before {
  content: "";
  width: 84px;
  height: 4px;
  margin-bottom: 34px;
  background: var(--gold);
}

.yj-hero .yk-hero-copy p {
  color: var(--gold);
  font-size: 22px;
}

.yj-hero .yk-hero-copy h1 {
  margin-top: 18px;
  font-size: 64px;
  line-height: 1.28;
}

.yj-hero .yk-hero-copy span {
  max-width: 720px;
  margin-top: 28px;
  color: var(--gold);
  font-size: 21px;
  line-height: 1.72;
}

.yj-proof-strip {
  grid-template-columns: repeat(3, minmax(120px, 1fr)) repeat(3, 170px);
  gap: 16px;
  margin-top: -18px;
  padding-bottom: 78px;
}

.yj-proof-strip .yk-proof-item,
.yj-proof-strip .yk-mini-card {
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.yj-proof-strip .yk-proof-item {
  padding: 28px;
}

.yj-proof-strip .yk-proof-item strong {
  color: var(--white);
  font-size: 23px;
}

.yj-proof-strip .yk-proof-item em {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.yj-proof-strip .yk-mini-card img {
  height: 160px;
}

.yj-proof-strip .yj-mini-text {
  position: relative;
  display: grid;
  align-content: end;
  padding: 24px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.yj-proof-strip .yj-mini-text::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(135deg, rgba(210, 168, 116, 0.18) 0 1px, transparent 1px 14px);
  opacity: 0.82;
}

.yj-proof-strip .yj-mini-text::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(210, 168, 116, 0.5);
  transform: rotate(45deg);
}

.yj-proof-strip .yj-mini-text span {
  position: relative;
  color: var(--white);
}

.yj-proof-strip .yj-mini-text em {
  position: relative;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-style: normal;
}

.yj-center-section,
.yj-lawyer-section,
.yj-work-section,
.yj-consult-section,
.yj-help-section,
.yj-column-section,
.yj-media-section {
  background: var(--navy);
  color: var(--white);
}

.yj-center-section {
  padding-top: 76px;
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}

.yj-center-section .yk-center-wrap {
  grid-template-columns: 390px 1fr;
  gap: 70px;
  padding: 26px 0 78px;
}

.yj-practice-trio {
  max-width: 1600px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.yj-practice-trio a {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.yj-practice-trio span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.yj-practice-trio strong {
  display: block;
  margin-top: 28px;
  color: var(--white);
  font-size: 34px;
  line-height: 1.2;
}

.yj-practice-trio p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
}

.yj-center-section .yk-center-card {
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 0;
}

.yj-center-section .yk-center-card h2 {
  font-size: 46px;
}

.yj-center-section .yk-field-list {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(8, 64px);
  grid-auto-flow: column;
  gap: 0 60px;
}

.yj-center-section .yk-field-list a {
  min-height: 64px;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.yj-center-section .yk-field-list strong {
  color: var(--gold);
}

.yj-center-section .yk-field-list em {
  color: rgba(255, 255, 255, 0.42);
}

.yj-lawyer-section {
  padding-top: 108px;
  background: var(--navy-3);
}

.yk-title h2,
.yj-lawyer-section .yk-title h2,
.yj-work-section .yk-title h2,
.yj-consult-section .yk-title h2,
.yj-help-section .yk-title h2,
.yj-column-section .yk-title h2,
.yj-media-section .yk-title h2 {
  color: var(--white);
}

.yj-section-lead {
  max-width: 980px;
  margin: -24px auto 54px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.yj-lawyer-feature article {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.yj-lawyer-feature h3 {
  color: var(--white);
}

.yj-lawyer-feature p {
  color: rgba(255, 255, 255, 0.68);
}

.yj-lawyer-feature a {
  color: var(--gold);
}

.yj-team-grid {
  max-width: 1600px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.yj-team-grid article {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.yj-team-grid img {
  display: block;
  width: 100%;
  height: 280px;
  margin: 0 0 26px;
  object-fit: cover;
  object-position: center 20%;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(210, 168, 116, 0.22);
}

.yj-team-grid article:nth-child(1) img,
.yj-team-grid article:nth-child(2) img {
  object-position: center 24%;
}

.yj-team-grid article:nth-child(3) img {
  object-position: center 28%;
}

.yj-team-grid article:nth-child(4) img {
  object-position: center 20%;
}

.yj-team-grid strong {
  display: block;
  padding: 0 22px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.35;
}

.yj-team-grid span,
.yj-team-grid em {
  margin-top: 8px;
  padding: 0 22px 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.yj-team-grid .pending {
  justify-content: start;
  background: linear-gradient(135deg, rgba(210, 168, 116, 0.1), rgba(255, 255, 255, 0.04));
}

.yj-team-grid .pending em {
  width: fit-content;
  margin-bottom: 70px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-weight: 900;
}

.yj-media-section {
  padding-top: 104px;
  background: var(--navy);
}

.yj-media-section .yk-media-grid img {
  border: 1px solid var(--line);
  border-radius: 0;
  height: 240px;
}

.yj-sequence-section {
  padding: 108px 42px;
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.92), rgba(15, 31, 61, 0.94)),
    url("./assets/photos/office-1.jpg") center/cover fixed;
}

.yj-sequence-wrap {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.yj-sequence-wrap article {
  min-height: 360px;
  display: grid;
  align-content: start;
  padding: 38px;
  border: 1px solid var(--line);
  background: rgba(15, 31, 61, 0.72);
}

.yj-sequence-wrap span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.yj-sequence-wrap h2 {
  margin-top: 34px;
  color: var(--white);
  font-size: 34px;
  line-height: 1.32;
}

.yj-sequence-wrap p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

.yj-docs-section {
  padding: 104px 42px 112px;
  background:
    linear-gradient(180deg, var(--navy-2), var(--navy-3));
  color: var(--white);
}

.yj-docs-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.yj-docs-grid figure {
  position: relative;
  min-height: 520px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease;
}

.yj-docs-grid figure:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.yj-docs-grid img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.yj-docs-grid figcaption {
  padding-top: 22px;
}

.yj-docs-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.yj-docs-grid strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  line-height: 1.42;
}

.yj-work-section {
  background: var(--navy-2);
}

.yj-work-section .yk-work-cards a {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.yj-work-section .yk-work-cards strong {
  color: var(--white);
}

.yj-work-section .yk-work-cards p {
  color: rgba(255, 255, 255, 0.62);
}

.yj-consult-section {
  background: var(--navy);
}

.yj-consult-section .yk-match,
.yj-consult-section .yk-side-boxes a {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.yj-consult-section .yk-match h3,
.yj-consult-section .yk-side-boxes strong {
  color: var(--white);
}

.yj-consult-section .yk-match p,
.yj-consult-section .yk-side-boxes span {
  color: rgba(255, 255, 255, 0.62);
}

.yj-help-section {
  background: var(--navy-3);
}

.yj-help-section .compact-help {
  max-width: 1740px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.85fr);
  gap: 30px;
}

.yj-help-section .compact-help .yk-help-card,
.yj-help-section .compact-help .yk-news-card {
  min-height: 340px;
}

.yj-help-section .compact-help .yk-help-card {
  padding: 40px;
}

.yj-help-section .compact-help .yk-help-card strong {
  font-size: 36px;
}

.yj-help-section .compact-help .yk-help-card span {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.55;
}

.yj-help-section .yk-news-card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.yj-help-section .yk-news-card h3 {
  color: var(--white);
}

.yj-help-section .yk-news-card div {
  grid-template-columns: 150px 1fr;
  min-height: 70px;
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.08);
}

.yj-help-section .yk-news-card span {
  font-size: 18px;
}

.yj-help-section .yk-news-card p {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.7);
}

.yj-case-banner {
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.94), rgba(15, 31, 61, 0.72)),
    url("./assets/photos/office-2.jpg") center/cover no-repeat;
}

.yj-case-banner h2,
.yj-case-banner strong {
  color: var(--white);
}

.yj-case-banner p {
  color: rgba(255, 255, 255, 0.68);
}

.yj-case-banner a {
  background: var(--gold);
  color: var(--navy);
}

.yj-column-section {
  background: var(--navy);
}

.yj-column-section .yk-column-grid a {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.yj-footer,
.yk-footer {
  background: #0A1628;
  border-top: 1px solid var(--soft-line);
}

.yk-footer-links {
  border-color: var(--soft-line);
}

.yk-footer-links,
.yk-footer-bottom p {
  color: rgba(255, 255, 255, 0.56);
}

.yk-footer-bottom strong {
  color: var(--white);
}

.yj-final-section {
  padding: 128px 42px;
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.96), rgba(15, 31, 61, 0.8)),
    url("./assets/photos/office-2.jpg") center/cover no-repeat;
  color: var(--white);
}

.yj-final-section > div {
  max-width: 1600px;
  margin: 0 auto;
}

.yj-final-section p {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.yj-final-section h2 {
  max-width: 920px;
  margin-top: 18px;
  color: var(--white);
  font-size: 62px;
  line-height: 1.22;
}

.yj-final-section span {
  display: block;
  max-width: 780px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 21px;
  line-height: 1.65;
}

.yj-final-section div div {
  display: flex;
  gap: 14px;
  margin-top: 42px;
}

.yj-final-section a {
  min-width: 210px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
}

.yj-final-section a:first-child {
  background: var(--gold);
  color: var(--navy);
}

.yk-home h1,
.yk-home h2,
.yk-home h3,
.yk-home .yk-hero-copy p,
.yk-home .yk-proof-item strong,
.yk-home .yk-mini-card span,
.yk-home .yk-center-card h2,
.yk-home .yk-field-list span,
.yk-home .yk-lawyer-feature h3,
.yk-home .yk-work-cards strong,
.yk-home .yk-side-boxes strong,
.yk-home .yk-news-card h3,
.yk-home .yk-column-grid strong,
.yk-home .yk-case-banner strong,
.yk-home .yj-practice-trio strong,
.yk-home .yj-team-grid strong,
.yk-home .yj-sequence-wrap h2,
.yk-home .yj-docs-grid strong,
.yk-home .yj-final-section h2 {
  font-weight: 800;
}

body:not(.yk-home) h1,
body:not(.yk-home) h2,
body:not(.yk-home) h3,
body:not(.yk-home) .subcategory-grid a,
body:not(.yk-home) .large-list li,
body:not(.yk-home) .flow-grid span,
body:not(.yk-home) .subpage-grid article,
body:not(.yk-home) .contact-card strong,
body:not(.yk-home) .category-visual figcaption {
  font-weight: 800;
}

body:not(.yk-home) .site-header {
  height: 78px;
  padding: 0 42px;
  grid-template-columns: 270px 1fr 320px;
  background: rgba(15, 31, 61, 0.94);
}

body:not(.yk-home) .gnb {
  gap: 26px;
  font-size: 14px;
  font-weight: 800;
}

body:not(.yk-home) .header-cta {
  min-height: 48px;
  padding: 0 20px;
}

body:not(.yk-home) .category-landing,
body:not(.yk-home) .detail-hero {
  min-height: 650px;
  grid-template-columns: minmax(0, 1fr) 620px;
  gap: 64px;
  padding: 154px 72px 104px;
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.98), rgba(15, 31, 61, 0.9)),
    url("./assets/photos/office-2.jpg") center/cover no-repeat;
}

body:not(.yk-home) .category-landing h1,
body:not(.yk-home) .detail-hero h1 {
  max-width: 900px;
  font-size: 60px;
  line-height: 1.24;
}

body:not(.yk-home) .category-landing p:not(.eyebrow),
body:not(.yk-home) .detail-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.7;
}

body:not(.yk-home) .section {
  padding: 124px 72px;
  background: var(--navy);
  color: var(--white);
}

body:not(.yk-home) .section h2 {
  font-size: 48px;
  line-height: 1.28;
}

body:not(.yk-home) .section h3 {
  font-size: 28px;
  line-height: 1.3;
}

body:not(.yk-home) .section-head {
  min-width: 0;
  position: relative;
  z-index: 2;
}

body:not(.yk-home) .section-head.split {
  grid-template-columns: minmax(0, 620px) minmax(0, 520px);
  gap: 72px;
  align-items: start;
}

body:not(.yk-home) .section-head {
  margin-bottom: 74px;
}

body:not(.yk-home) .section-head.center {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
  text-align: center;
}

body:not(.yk-home) .section-head.split > *,
body:not(.yk-home) .detail-two-column > *,
body:not(.yk-home) .case-grid > * {
  min-width: 0;
}

body:not(.yk-home) .section-head h2 {
  max-width: 620px;
}

body:not(.yk-home) .section-head.center h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body:not(.yk-home) .section-head.center p:not(.eyebrow) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body:not(.yk-home) .section-head.split p:not(.eyebrow),
body:not(.yk-home) .section-head.center p,
body:not(.yk-home) .section p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

body:not(.yk-home) .category-visual {
  min-height: 500px;
  border-color: var(--line);
}

body:not(.yk-home) .category-visual img {
  height: 500px;
}

body:not(.yk-home) .subcategory-grid {
  border-color: var(--line);
}

body:not(.yk-home) .subcategory-grid a {
  min-height: 148px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 22px;
  line-height: 1.35;
}

body:not(.yk-home) .subcategory-grid a:hover {
  background: rgba(210, 168, 116, 0.16);
  color: var(--gold);
}

body:not(.yk-home) .contact-section {
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.96), rgba(15, 31, 61, 0.82)),
    url("./assets/photos/office-1.jpg") center/cover no-repeat;
}

body:not(.yk-home) .contact-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

body:not(.yk-home) .contact-card strong {
  color: var(--gold);
  font-size: 36px;
}

body:not(.yk-home) .detail-two-column,
body:not(.yk-home) .proof-section,
body:not(.yk-home) .light-section,
body:not(.yk-home) .lawyers-section {
  background: var(--navy-2);
}

body:not(.yk-home) .proof-section .case-grid {
  position: relative;
  z-index: 1;
  gap: 28px;
}

body:not(.yk-home) .proof-section .case-card {
  position: relative;
  inset: auto;
  min-height: 300px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 36px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body:not(.yk-home) .proof-section .document-thumb {
  grid-row: 1 / 4;
  min-height: 220px;
}

body:not(.yk-home) .proof-section .case-card span,
body:not(.yk-home) .proof-section .case-card h3,
body:not(.yk-home) .proof-section .case-card p {
  grid-column: 2;
}

body:not(.yk-home) .large-list li,
body:not(.yk-home) .flow-grid article,
body:not(.yk-home) .subpage-grid article,
body:not(.yk-home) .case-card,
body:not(.yk-home) .lawyer-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

body:not(.yk-home) .large-list {
  gap: 24px;
}

body:not(.yk-home) .large-list li,
body:not(.yk-home) .flow-grid article,
body:not(.yk-home) .subpage-grid article {
  padding: 34px;
}

body:not(.yk-home) .flow-grid {
  gap: 24px;
}

body:not(.yk-home) .large-list li,
body:not(.yk-home) .flow-grid span {
  font-size: 22px;
  line-height: 1.45;
}

body:not(.yk-home) .flow-grid p,
body:not(.yk-home) .subpage-grid p,
body:not(.yk-home) .lawyer-card p,
body:not(.yk-home) .case-card p {
  font-size: 17px;
  line-height: 1.7;
}

body:not(.yk-home) .lawyer-card h3 {
  font-size: 26px;
}

body:not(.yk-home) .lawyer-grid {
  align-items: stretch;
  gap: 30px;
}

body:not(.yk-home) .lawyer-card {
  min-height: 560px;
  grid-template-rows: 360px auto 1fr;
}

body:not(.yk-home) .lawyer-card img {
  height: 360px;
}

body:not(.yk-home) .lawyer-card h3 {
  padding: 28px 34px 0;
}

body:not(.yk-home) .lawyer-card p {
  padding: 16px 34px 36px;
}

@media (max-width: 900px) {
  .top-notice span {
    display: none;
  }

  .yk-header,
  .yk-proof-strip,
  .yk-center-wrap,
  .yk-lawyer-feature,
  .yk-work-cards,
  .yk-consult-grid,
  .yk-help-grid,
  .yk-case-banner,
  .yk-column-grid,
  .yk-media-grid,
  .yk-footer-bottom {
    grid-template-columns: 1fr;
  }

  .yk-header {
    height: auto;
    padding: 18px 22px;
  }

  .sitemap-panel,
  .yk-home .sitemap-panel {
    top: 0;
    max-height: 100vh;
    overflow: auto;
    padding: 24px 20px 34px;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-grid section {
    min-height: auto;
  }

  .yk-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .yk-hero-copy h1 {
    font-size: 42px;
  }

  .yk-hero-copy p,
  .yk-title h2 {
    font-size: 30px;
  }

  .yk-proof-strip {
    margin-top: 0;
  }

  .yk-field-list,
  .yk-lawyer-feature article,
  .yk-match div {
    grid-template-columns: 1fr;
  }

  .yk-column-grid {
    grid-template-rows: auto;
  }

  .yk-column-grid a,
  .yk-column-grid .large,
  .yk-column-grid .dark {
    grid-column: auto;
    grid-row: auto;
    min-height: 170px;
  }
}

/* Responsive overrides follow the desktop theme to preserve cascade order. */
@media (max-width: 1400px) {
  .yk-header.yj-header { grid-template-columns: 1fr auto; height: 76px; padding: 10px 24px; gap: 16px; }
  .yj-header .yk-nav { display: none; }
  .top-notice span { display: none; }
  .yj-proof-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
  .yj-center-section .yk-center-wrap { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 30px; }
  .yj-center-section .yk-field-list { gap: 0 18px; }
  .yk-lawyer-feature { grid-template-columns: 1fr; }
  .yj-team-grid, .yj-docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:not(.yk-home) .category-landing, body:not(.yk-home) .detail-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .sitemap-panel, .yk-home .sitemap-panel { top: var(--sitemap-top, 76px); max-height: calc(100dvh - var(--sitemap-top, 76px)); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 88px; }
  .yk-home main > section:not(.yk-hero):not(.yk-proof-strip),
  body:not(.yk-home) .section { padding: 64px 24px; }
  .yk-header.yj-header { grid-template-columns: minmax(0, 1fr) auto; }
  .yj-header .yk-brand { grid-template-columns: 44px 1fr; gap: 8px; }
  .yk-brand img { width: 44px; height: 44px; object-fit: contain; }
  .yj-header .yk-brand::after { font-size: 20px; }
  .yk-header-actions { gap: 8px; }
  .yk-header-actions .sitemap-toggle { width: 44px; height: 44px; }
  .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .sitemap-panel, .yk-home .sitemap-panel { background: var(--navy); }
  .sitemap-grid a { min-height: 44px; display: flex; align-items: center; }
  .yj-hero { height: auto; min-height: 540px; padding: 64px 24px 80px; }
  .yj-hero .yk-hero-copy h1 { font-size: clamp(32px, 5.5vw, 48px); }
  .yj-hero .yk-hero-copy p { font-size: 17px; }
  .yj-hero .yk-hero-copy span { font-size: 17px; }
  .yj-proof-strip { width: auto; margin: 0 24px; padding: 0 0 48px; gap: 12px; }
  .yj-proof-strip .yk-proof-item, .yj-proof-strip .yj-mini-text { padding: 20px; }
  .yj-proof-strip .yk-proof-item strong { font-size: 20px; }
  .yj-center-section .yk-center-wrap, .yk-consult-grid,
  .yj-help-section .compact-help { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .yj-center-section .yk-center-wrap { padding-bottom: 0; }
  .yj-center-section .yk-center-card { min-height: auto; padding: 32px; }
  .yj-practice-trio { grid-template-columns: 1fr; }
  .yj-practice-trio a { min-height: auto; padding: 24px; }
  .yj-practice-trio strong { margin-top: 16px; font-size: 28px; }
  .yk-home .yk-title h2 { font-size: 32px; }
  .yj-section-lead { font-size: 17px; }
  .yk-title { margin-bottom: 28px; }
  .yj-sequence-wrap, .yk-work-cards { grid-template-columns: 1fr; gap: 16px; }
  .yj-sequence-wrap article { min-height: auto; padding: 28px; }
  .yj-sequence-wrap h2 { font-size: 28px; }
  .yk-media-grid, .yk-column-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yk-lawyer-feature article { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 24px; }
  .yk-lawyer-feature img { width: 100%; height: auto; max-height: 360px; object-fit: contain; }
  .yj-docs-grid figure { min-height: auto; padding: 16px; }
  .yj-docs-grid img { height: auto; width: 100%; object-fit: contain; }
  .yj-help-section .compact-help .yk-help-card { min-height: 260px; padding: 28px; }
  .yj-help-section .yk-news-card { padding: 28px; }
  .yj-help-section .yk-news-card div { grid-template-columns: 90px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .yj-help-section .yk-news-card p { font-size: 17px; }
  .yj-final-section h2 { font-size: 38px; }
  .yj-final-section span { font-size: 18px; }
  .yj-final-section div div { flex-wrap: wrap; }
  .yj-final-section a { flex: 1 1 210px; }
  .yk-footer { padding: 40px 24px 110px; }
  .yk-footer-links { flex-wrap: wrap; gap: 18px; }
  .floating-contact, .yk-home .floating-contact { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); flex-direction: row; gap: 8px; }
  .floating-contact a, .yk-home .floating-contact a { flex: 1; min-width: 0; padding: 14px 8px; border-radius: 8px; font-size: 14px; }
  body:not(.yk-home) .category-landing, body:not(.yk-home) .detail-hero,
  body:not(.yk-home) .detail-two-column, body:not(.yk-home) .contact-section { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 32px; }
  body:not(.yk-home) .section > * { min-width: 0; width: 100%; }
  body:not(.yk-home) .category-landing h1, body:not(.yk-home) .detail-hero h1 { font-size: 38px; }
  body:not(.yk-home) .section h2 { font-size: 32px; }
  body:not(.yk-home) .section h3 { font-size: 24px; }
  body:not(.yk-home) .category-visual, .detail-hero .hero-media, .category-landing .hero-media { min-height: 0; }
  body:not(.yk-home) .category-visual img { height: auto; width: 100%; object-fit: contain; }
  .detail-image.hero-media { height: auto; aspect-ratio: 1; background-size: contain; }
  .detail-image img { height: auto; }
  body:not(.yk-home) .large-list li, body:not(.yk-home) .flow-grid article { padding: 24px; }
  body:not(.yk-home) .contact-card strong { font-size: 28px; }
  body:not(.yk-home) footer { padding-bottom: 110px; }
}
@media (max-width: 600px) {
  .top-notice { height: auto; min-height: 34px; padding: 8px 16px; font-size: 11px; text-align: center; }
  .yk-header.yj-header { padding: 8px 16px; height: 68px; gap: 8px; }
  .yj-header .yk-brand::after { font-size: 17px; }
  .yj-header .yk-brand { grid-template-columns: 36px 1fr; }
  .yk-brand img { width: 36px; height: 36px; }
  .yk-header-actions a { display: none; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .yk-home main > section:not(.yk-hero):not(.yk-proof-strip), body:not(.yk-home) .section { padding: 48px 20px; }
  .yj-hero { min-height: 520px; padding: 48px 20px 64px; }
  .yj-hero .yk-hero-copy::before { margin-bottom: 24px; width: 48px; }
  .yj-hero .yk-hero-copy h1 { font-size: clamp(29px, 7.7vw, 42px); line-height: 1.35; letter-spacing: -.04em; }
  .yj-hero .yk-hero-copy p { font-size: 14px; }
  .yj-hero .yk-hero-copy span { font-size: 15px; margin-top: 24px; }
  .yj-proof-strip { margin: 0 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .yj-proof-strip .yk-proof-item, .yj-proof-strip .yj-mini-text { padding: 16px; min-height: 150px; }
  .yj-proof-strip .yk-proof-item strong { font-size: 18px; }
  .yj-proof-strip .yj-mini-text::after { width: 24px; height: 24px; right: 16px; top: 16px; }
  .yk-home .yk-title h2 { font-size: 27px; line-height: 1.4; }
  .yj-section-lead br { display: none; }
  .yj-center-section .yk-field-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .yk-field-list a { grid-template-columns: 85px minmax(0, 1fr) 16px; gap: 8px; }
  .yk-field-list strong, .yk-field-list span { font-size: 14px; }
  .yj-center-section .yk-center-card h2 { font-size: 34px; }
  .yk-lawyer-feature article { grid-template-columns: 1fr; padding: 20px; }
  .yk-lawyer-feature img { max-height: 340px; }
  .yj-team-grid, .yj-docs-grid, .yk-media-grid, .yk-column-grid { grid-template-columns: minmax(0, 1fr); }
  .yj-team-grid img { height: auto; max-height: 400px; object-fit: contain; }
  .yj-team-grid article { min-height: 0; padding-bottom: 24px; }
  .yk-match { padding: 24px; }
  .yk-match div { grid-template-columns: 1fr; }
  .yk-match select { min-width: 0; width: 100%; font-size: 16px; }
  .yj-help-section .compact-help .yk-help-card span { font-size: 20px; }
  .yj-help-section .yk-news-card { padding: 20px; }
  .yj-help-section .yk-news-card div { grid-template-columns: 1fr; gap: 6px; }
  .yj-help-section .yk-news-card span { font-size: 14px; }
  .yj-final-section h2 { font-size: 32px; }
  body:not(.yk-home) .category-landing h1, body:not(.yk-home) .detail-hero h1 { font-size: 32px; }
  body:not(.yk-home) .section h2 { font-size: 28px; }
  body:not(.yk-home) .section p { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .hero-actions a { flex: 1 1 140px; min-width: 0; padding: 16px; text-align: center; }
  body:not(.yk-home) .contact-card { padding: 24px; }
  body:not(.yk-home) .contact-card strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .sitemap-panel, .sitemap-inner { transition: none; transform: none; }
}

/* =====================================================================
   윤중 본 사이트 색상 시스템 적용 (yoonjoong/index.html 팔레트)
   밝은 종이색 배경 + 흰 카드 + 네이비 구역(상단 띠·히어로·문의·푸터)
   ===================================================================== */
:root {
  --o-pine: #0F1F3D;
  --o-deep: #0A1628;
  --o-paper: #F7F4EE;
  --o-card: #FFFFFF;
  --o-line: #E4DFD1;
  --o-border: #DAD2BC;
  --o-gold: #8B5A2B;
  --o-gold-soft: #D2A874;
  --o-gold-cta: #A8702E;
  --o-ink: #0A1628;
  --o-ink-soft: #4A5568;
  --o-shadow: 8px 10px 24px rgba(10, 22, 40, 0.14);
}

body { background: var(--o-paper); color: var(--o-ink); }
.yk-home { background: var(--o-paper); color: var(--o-ink); }
.yk-home h1, .yk-home h2, .yk-home h3 { color: var(--o-deep); }

/* 상단 띠 */
.yj-top-notice, .top-notice { background: var(--o-deep); color: var(--o-gold-soft); }

/* 헤더: 종이색 + 네이비 글자 */
.yj-header, body:not(.yk-home) .site-header {
  background: rgba(247, 244, 238, 0.96);
  border-bottom: 1px solid var(--o-line);
  box-shadow: none;
}
.site-header.is-scrolled { background: rgba(247, 244, 238, 0.98); box-shadow: 0 6px 20px rgba(10, 22, 40, 0.08); }
.yj-header .yk-brand::after, .brand::after, .yj-header .yk-brand strong,
.yj-header .yk-header-actions button { color: var(--o-deep); }
.yj-header .yk-nav, .yj-header .yk-nav a, .gnb a { color: var(--o-ink-soft); }
.yj-header .yk-nav a:hover, .gnb a:hover { color: var(--o-deep); }
.gnb a::after { background: var(--o-gold); }
.yj-header .yk-header-actions a, .header-cta {
  background: var(--o-gold-cta); color: var(--o-deep); border: 1px solid #6B4720; font-weight: 800;
}

/* 버튼 */
.btn.primary, .contact-box .phone, .intro-inner a {
  background: var(--o-gold-cta); color: var(--o-deep); border-color: #6B4720;
}
.btn.ghost, .contact-box .kakao { color: var(--o-gold-soft); border-color: var(--o-gold-soft); }

/* 히어로(네이비 구역) */
.yj-hero { background: var(--o-deep); }
.yj-hero::after { background: linear-gradient(180deg, rgba(247, 244, 238, 0), var(--o-paper) 90%); }
.yj-hero .yk-hero-bg {
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.82), rgba(10, 22, 40, 0.52) 48%, rgba(10, 22, 40, 0.74));
}
.yj-hero .yk-hero-copy::before { background: var(--o-gold-soft); }
.yj-hero .yk-hero-copy p, .yj-hero .yk-hero-copy span { color: var(--o-gold-soft); }
.yj-hero .yk-hero-copy h1, .yk-home .yj-hero .yk-hero-copy h1 { color: #fff; }

/* 밝은 구역 공통 */
.yj-center-section, .yj-lawyer-section, .yj-work-section, .yj-consult-section,
.yj-help-section, .yj-column-section, .yj-media-section {
  background: var(--o-paper); color: var(--o-ink);
}
.yj-center-section { background: var(--o-paper); }
.yj-lawyer-section, .yj-help-section, .yj-media-section { background: var(--o-paper); }
.yk-title h2, .yj-lawyer-section .yk-title h2, .yj-work-section .yk-title h2,
.yj-consult-section .yk-title h2, .yj-help-section .yk-title h2,
.yj-column-section .yk-title h2, .yj-media-section .yk-title h2 { color: var(--o-deep); }
.yj-section-lead { color: var(--o-ink-soft); }

/* 흰 카드 */
.yj-proof-strip .yk-proof-item, .yj-proof-strip .yk-mini-card, .yj-practice-trio a,
.yj-lawyer-feature article, .yj-team-grid article, .yj-docs-grid figure,
.yj-work-section .yk-work-cards a, .yj-consult-section .yk-match,
.yj-consult-section .yk-side-boxes a, .yj-help-section .yk-news-card,
.yj-column-section .yk-column-grid a {
  background: var(--o-card); border: 1px solid var(--o-border); box-shadow: var(--o-shadow);
  backdrop-filter: none; color: var(--o-ink);
}
.yj-proof-strip .yk-proof-item strong, .yj-practice-trio strong, .yj-lawyer-feature h3,
.yj-team-grid strong, .yj-docs-grid strong, .yj-work-section .yk-work-cards strong,
.yj-consult-section .yk-match h3, .yj-consult-section .yk-side-boxes strong,
.yj-help-section .yk-news-card h3, .yk-home .yj-practice-trio strong,
.yk-home .yj-team-grid strong, .yk-home .yj-docs-grid strong { color: var(--o-deep); }
.yj-proof-strip .yk-proof-item em, .yj-practice-trio p, .yj-lawyer-feature p,
.yj-team-grid span, .yj-team-grid em, .yj-work-section .yk-work-cards p,
.yj-consult-section .yk-match p, .yj-consult-section .yk-side-boxes span,
.yj-help-section .yk-news-card p { color: var(--o-ink-soft); }
.yj-practice-trio span, .yj-lawyer-feature a, .yj-team-grid .pending em,
.yj-docs-grid span { color: var(--o-gold); border-color: var(--o-gold); }
.yj-docs-grid figure:hover, .lawyer-card:hover { border-color: var(--o-gold-soft); }
.yj-team-grid img { border-bottom: 1px solid var(--o-line); background: var(--o-line); }
.yj-team-grid .pending { background: var(--o-card); }
.yj-docs-grid img { box-shadow: none; border: 1px solid var(--o-line); }
.yj-proof-strip .yj-mini-text { background: var(--o-pine); color: #fff; }
.yj-proof-strip .yj-mini-text span { color: #fff; }
.yj-proof-strip .yj-mini-text em { color: rgba(255, 255, 255, 0.7); }
.yj-help-section .yk-news-card div { background: var(--o-paper); }
.yj-help-section .yk-news-card span { color: var(--o-gold); }

/* 업무분야 목록(센터 카드는 네이비 구역 유지) */
.yj-center-section .yk-center-card { background: var(--o-pine); border: 0; color: #fff; }
.yj-center-section .yk-center-card h2 { color: #fff; }
.yj-center-section .yk-center-card p, .yj-center-section .yk-center-card a { color: var(--o-gold-soft); }
.yj-center-section .yk-field-list a { border-color: var(--o-line); color: var(--o-deep); }
.yj-center-section .yk-field-list strong { color: var(--o-gold); }
.yj-center-section .yk-field-list em { color: var(--o-ink-soft); }

/* 절차(순서) 구역 */
.yj-sequence-section { background: var(--o-paper); }
.yj-sequence-wrap article { background: var(--o-card); border: 1px solid var(--o-border); box-shadow: var(--o-shadow); }
.yj-sequence-wrap span { color: var(--o-gold); }
.yj-sequence-wrap h2, .yk-home .yj-sequence-wrap h2 { color: var(--o-deep); }
.yj-sequence-wrap p { color: var(--o-ink-soft); }
.yj-docs-section { background: var(--o-paper); color: var(--o-ink); }
.yj-docs-grid figure { box-shadow: var(--o-shadow); }

/* 상담/도움 카드 */
.yj-consult-section .yk-match a, .yk-match a { background: var(--o-gold-cta); border-color: #6B4720; color: var(--o-deep); }

/* 사례 배너·마지막 문의·푸터 = 네이비 구역 */
.yj-case-banner {
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.94), rgba(10, 22, 40, 0.74)),
    url("/assets/photos/office-2.jpg") center/cover no-repeat;
  border-color: transparent;
}
.yj-case-banner h2, .yj-case-banner strong, .yk-home .yj-case-banner strong { color: #fff; }
.yj-case-banner p { color: #C7D0DE; }
.yj-case-banner a { background: var(--o-gold-cta); color: var(--o-deep); }
.yj-final-section {
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.82)),
    url("/assets/photos/office-2.jpg") center/cover no-repeat;
}
.yj-final-section p { color: var(--o-gold-soft); }
.yj-final-section span { color: #C7D0DE; }
.yj-final-section a { border-color: var(--o-gold-soft); color: var(--o-gold-soft); }
.yj-final-section a:first-child { background: var(--o-gold-cta); border-color: #6B4720; color: var(--o-deep); }
.yj-footer, .yk-footer { background: var(--o-deep); border-top: 0; }
.yk-footer-links, .yk-footer-bottom p { color: #C7D0DE; border-color: rgba(255, 255, 255, 0.14); }
.yk-footer-bottom strong { color: #fff; }
.yk-footer-bottom a { background: rgba(255, 255, 255, 0.08); color: var(--o-gold-soft); }
.yk-home .floating-contact a { background: var(--o-gold-cta); color: var(--o-deep); }

/* ---------- 하위(분야/상세) 페이지 ---------- */
body:not(.yk-home) .category-landing, body:not(.yk-home) .detail-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.97), rgba(10, 22, 40, 0.88)),
    url("/assets/photos/office-2.jpg") center/cover no-repeat;
  color: #fff;
}
body:not(.yk-home) .category-landing h1, body:not(.yk-home) .detail-hero h1 { color: #fff; }
body:not(.yk-home) .category-landing p:not(.eyebrow),
body:not(.yk-home) .detail-hero p:not(.eyebrow) { color: #C7D0DE; }
.category-landing .eyebrow, .detail-hero .eyebrow, .category-visual figcaption { color: var(--o-gold-soft); }
.section { background: var(--o-paper); color: var(--o-ink); }
body:not(.yk-home) .section { background: var(--o-paper); color: var(--o-ink); }
body:not(.yk-home) .section h2, body:not(.yk-home) .section h3 { color: var(--o-deep); }
body:not(.yk-home) .section-head.split p:not(.eyebrow),
body:not(.yk-home) .section-head.center p,
body:not(.yk-home) .section p { color: var(--o-ink-soft); }
.eyebrow { color: var(--o-gold); }
.eyebrow.gold { color: var(--o-gold); }
body:not(.yk-home) .detail-two-column, body:not(.yk-home) .proof-section,
body:not(.yk-home) .light-section, body:not(.yk-home) .lawyers-section,
.detail-template { background: var(--o-paper); }
body:not(.yk-home) .subcategory-grid { border-color: var(--o-line); }
body:not(.yk-home) .subcategory-grid a {
  background: var(--o-card); border-color: var(--o-line); color: var(--o-deep);
}
body:not(.yk-home) .subcategory-grid a:hover { background: var(--o-pine); color: var(--o-gold-soft); }
body:not(.yk-home) .large-list li, body:not(.yk-home) .flow-grid article,
body:not(.yk-home) .subpage-grid article, body:not(.yk-home) .case-card,
body:not(.yk-home) .lawyer-card {
  background: var(--o-card); border: 1px solid var(--o-border); color: var(--o-ink); box-shadow: var(--o-shadow);
}
body:not(.yk-home) .flow-grid p, body:not(.yk-home) .subpage-grid p,
body:not(.yk-home) .lawyer-card p, body:not(.yk-home) .case-card p { color: var(--o-ink-soft); }
.subpage-grid span, .flow-grid strong, .case-card span, .column-card span,
.lawyer-card .empty-photo, .empty-photo { color: var(--o-gold); }
.case-card span, .column-card span { border-color: var(--o-gold); }
.case-nav { color: var(--o-gold); border-color: var(--o-gold); }
.lawyer-card img, .empty-photo { background: var(--o-line); }
.document-thumb, .media-placeholder { background: var(--o-paper); border-color: var(--o-border); color: var(--o-gold); }
body:not(.yk-home) .contact-section {
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.97), rgba(10, 22, 40, 0.86)),
    url("/assets/photos/office-1.jpg") center/cover no-repeat;
  color: #fff;
}
body:not(.yk-home) .contact-section h2 { color: #fff; }
body:not(.yk-home) .contact-section p { color: #C7D0DE; }
.contact-section .eyebrow { color: var(--o-gold-soft); }
body:not(.yk-home) .contact-card { background: var(--o-card); border-color: var(--o-border); color: var(--o-ink); }
body:not(.yk-home) .contact-card strong { color: var(--o-gold); }
.contact-card span { color: var(--o-ink-soft); }

/* ---------- 칼럼·성공사례 상세 ---------- */
.post-detail-page { background: var(--o-paper); color: var(--o-ink); }
.post-detail-header { border-bottom-color: var(--o-line); background: var(--o-card); }
.post-detail-header a { color: var(--o-deep); }
.post-detail h1 { color: var(--o-deep); }
.post-summary { color: var(--o-ink-soft); }
.post-cover { border-color: var(--o-border); }
.post-meta { color: var(--o-ink-soft); border-color: var(--o-line); }
.post-meta strong { color: var(--o-gold); }
.post-body { color: var(--o-ink); }
.case-detail-flow > div { background: var(--o-card); border-color: var(--o-border); box-shadow: var(--o-shadow); }
.case-detail-flow span { color: var(--o-gold); }
.case-detail-flow strong { color: var(--o-deep); }
.case-detail-flow p { color: var(--o-ink-soft); }
.post-contact { border-top-color: var(--o-line); }
.post-contact h2 { color: var(--o-deep); }
.post-contact a { background: var(--o-gold-cta); color: var(--o-deep); }
.next-document-card { background: var(--o-card); border-color: var(--o-border); color: var(--o-ink); box-shadow: var(--o-shadow); }
.next-document-card span { color: var(--o-gold); }

/* 하위 페이지 히어로는 네이비 구역 유지 (.section 보다 우선) */
body:not(.yk-home) .section.category-landing,
body:not(.yk-home) .section.detail-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.97), rgba(10, 22, 40, 0.88)),
    url("/assets/photos/office-2.jpg") center/cover no-repeat;
  color: #fff;
}
body:not(.yk-home) .section.category-landing h1,
body:not(.yk-home) .section.detail-hero h1 { color: #fff; }
body:not(.yk-home) .section.category-landing p:not(.eyebrow),
body:not(.yk-home) .section.detail-hero p:not(.eyebrow) { color: #C7D0DE; }
body:not(.yk-home) .section.category-landing .eyebrow,
body:not(.yk-home) .section.detail-hero .eyebrow { color: var(--o-gold-soft); }

/* ---------- 하단 고정 상담 바 (윤중 본 사이트와 동일) ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -8px 24px rgba(10, 22, 40, 0.12);
  backdrop-filter: blur(10px);
}
.sticky-bar-inner {
  max-width: 1600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 94px; padding: 10px 32px;
}
.sb-info { display: flex; align-items: center; gap: 11px; }
.sb-logo { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; }
.sb-info-text strong { display: block; font-size: 18.5px; color: var(--o-deep, #0A1628); }
.sb-info-text span { font-size: 16.5px; color: var(--o-ink-soft, #4A5568); }
.sb-actions { display: flex; gap: 10px; }
.sb-btn {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 20px; border: 2px solid #0A1628; border-radius: 6px;
  font-size: 18px; font-weight: 700; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.sb-btn-line { color: #0A1628; background: #fff; }
.sb-btn-line:hover { background: #F7F4EE; }
.sb-btn-gold { color: #F7F4EE; background: #0A1628; }
.sb-btn-gold:hover { background: #0F1F3D; }
body { padding-bottom: 94px; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .sticky-bar-inner { min-height: 68px; padding: 8px 16px; gap: 10px; }
  .sb-info { display: none; }
  .sb-actions { width: 100%; }
  .sb-btn { flex: 1; min-width: 0; min-height: 50px; padding: 8px 12px; font-size: 16px; }
}
.admin-page ~ .sticky-bar { display: none; }

/* 로고: 윤중 본 사이트 로고 적용 */
.yk-brand img, .brand img { width: 60px; height: 60px; object-fit: contain; }
.post-logo img { width: 64px; height: 64px; object-fit: contain; }

/* =====================================================================
   디자인 인수인계 적용: 헤더(로고·텍스트 위치) + 폰트 (Pretendard)
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 21px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; }

/* 상단 공지 바 */
.yj-top-notice, .top-notice { height: auto; padding: 9px 0; font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }

/* 헤더: 높이 98px · 로고(80px)+텍스트 왼쪽 · 메뉴 가운데 · CTA 오른쪽 */
.yj-header {
  position: sticky; top: 0; z-index: 110;
  height: 98px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 max(32px, calc((100% - 1200px) / 2 + 32px));
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--o-line, #E4DFD1);
  box-shadow: none;
  transition: height 0.2s ease;
}
.yj-header .yk-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.yj-header .yk-brand img { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
.yj-header .yk-brand::after {
  content: "법무법인 윤중";
  font-size: 22.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--o-deep, #0A1628);
}
.yj-header .yk-nav {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 26px;
  font-size: 16px; font-weight: 500; white-space: nowrap; color: var(--o-ink-soft, #4A5568);
}
.yj-header .yk-nav a { padding: 0; font-weight: 500; }
.yj-header .yk-header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.yj-header .yk-header-actions a {
  padding: 11px 20px; border-radius: 9999px; font-size: 16px; font-weight: 600; white-space: nowrap;
}
.yj-header .yk-header-actions .sitemap-toggle {
  width: 46px; height: 46px; border-radius: 50%; font-size: 20px; padding: 0;
  border: 1px solid rgba(10, 22, 40, 0.28); background: #fff; color: var(--o-deep, #0A1628);
}
.sitemap-panel { top: 98px; }
.yk-home .sitemap-panel { top: 138px; }

/* 메뉴가 8개라 좁은 PC 폭에서는 간격·글자를 줄이고, 그보다 좁으면 ☰ 메뉴로 */
@media (min-width: 1281px) and (max-width: 1480px) {
  .yj-header .yk-nav { gap: 16px; font-size: 15px; }
  .yj-header .yk-brand::after { font-size: 21px; }
}
@media (max-width: 1280px) {
  .yj-header .yk-nav { display: none; }
  .yj-header .yk-header-actions { margin-left: auto; }
}
@media (max-width: 880px) {
  .yj-header { height: 78px; padding: 0 20px; gap: 10px; }
  .yj-header .yk-brand img { width: 56px; height: 56px; }
  .yj-header .yk-brand::after { font-size: 20px; }
  .yj-header .yk-header-actions a { padding: 9px 14px; font-size: 15px; }
  .yj-header .yk-header-actions .sitemap-toggle { width: 40px; height: 40px; }
  .sitemap-panel { top: 78px; }
  .yk-home .sitemap-panel { top: 118px; }
}
@media (max-width: 480px) {
  .yj-header { padding: 0 16px; gap: 6px; }
  .yj-header .yk-brand img { width: 48px; height: 48px; }
  .yj-header .yk-brand::after { font-size: 18px; }
  .yj-header .yk-header-actions a { padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 640px) {
  .yj-top-notice, .top-notice { font-size: 16px; }
  .top-notice span { display: none; }
}

/* 글자 굵기: 800/900 → 700 이하 (제목 700 · 카드 제목 600) */
.yk-home h1, .yk-home h2, .yk-home h3, h1, h2, h3,
body:not(.yk-home) h1, body:not(.yk-home) h2, body:not(.yk-home) h3 { font-weight: 700; }
p { font-size: inherit; line-height: 1.6; }
.yk-title h2, body:not(.yk-home) .section h2, .section-head h2 {
  font-size: 44px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em;
}
.yj-practice-trio strong, .yk-home .yj-practice-trio strong,
.yj-work-section .yk-work-cards strong, .yj-help-section .yk-news-card h3,
.yj-lawyer-feature h3, .yj-sequence-wrap h2, .yk-home .yj-sequence-wrap h2,
body:not(.yk-home) .section h3, body:not(.yk-home) .lawyer-card h3 {
  font-size: 27px; font-weight: 600; line-height: 1.4;
}
.yk-home .yj-team-grid strong, .yk-home .yj-docs-grid strong,
.yk-home .yk-proof-item strong, .yk-home .yk-column-grid strong { font-weight: 600; }
.yj-hero .yk-hero-copy h1 { font-size: 56px; font-weight: 700; line-height: 1.3; }
.yj-hero .yk-hero-copy p { font-size: 22px; font-weight: 600; }
.yj-hero .yk-hero-copy span { font-size: 21px; font-weight: 500; line-height: 1.7; }
.yj-final-section h2 { font-size: 44px; font-weight: 700; }
.yj-section-lead, .yk-title p { font-size: 19px; font-weight: 500; line-height: 1.7; }
.sb-btn, .btn, .yj-case-banner a, .yj-final-section a, .yk-match a { font-weight: 600; }
.eyebrow, .yj-practice-trio span, .yj-sequence-wrap span { font-weight: 700; letter-spacing: 0.04em; }
.yk-footer-links a, .yk-footer-bottom p { font-weight: 500; }

@media (max-width: 880px) {
  .yk-title h2, body:not(.yk-home) .section h2, .section-head h2, .yj-final-section h2 { font-size: 36px; }
  .yj-hero .yk-hero-copy h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .yk-title h2, body:not(.yk-home) .section h2, .section-head h2, .yj-final-section h2 { font-size: 24px; line-height: 1.4; }
  .yj-hero .yk-hero-copy h1 { font-size: 28px; line-height: 1.4; }
  .yj-hero .yk-hero-copy p { font-size: 17px; }
  .yj-hero .yk-hero-copy span { font-size: 16px; }
  .yj-practice-trio strong, .yj-work-section .yk-work-cards strong, .yj-sequence-wrap h2 { font-size: 22px; }
}

/* 상단 메뉴 상담전화 버튼 색상: 네이비 */
.yj-header .yk-header-actions a {
  background: #0A1628; color: #F7F4EE; border: 2px solid #0A1628;
}
.yj-header .yk-header-actions a:hover { background: #0F1F3D; border-color: #0F1F3D; }

/* 변호사 매칭 '바로 상담' 버튼 색상: 네이비 */
.yj-consult-section .yk-match a, .yk-match a {
  background: #0A1628; border: 2px solid #0A1628; color: #F7F4EE; font-weight: 600;
}
.yj-consult-section .yk-match a:hover, .yk-match a:hover { background: #0F1F3D; border-color: #0F1F3D; }

/* ☰ 사이트맵 패널: 불투명 네이비 + 글자 대비 강화 */
.sitemap-panel {
  background: #0A1628;
  border-bottom: 1px solid rgba(210, 168, 116, 0.4);
}
.sitemap-panel .sitemap-grid section {
  background: #0F1F3D;
  border: 1px solid rgba(210, 168, 116, 0.35);
}
.sitemap-panel .sitemap-grid h3 {
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(210, 168, 116, 0.35);
  color: #D2A874; font-size: 21px; font-weight: 700; letter-spacing: -0.01em;
}
.sitemap-panel .sitemap-grid a {
  color: #E9EDF5; font-size: 17px; font-weight: 500; padding: 10px 0;
}
.sitemap-panel .sitemap-grid a.sitemap-parent {
  color: #FFFFFF; font-size: 19px; font-weight: 700;
}
.sitemap-panel .sitemap-grid a.sitemap-child {
  color: #DDE3EE; font-size: 17px; font-weight: 500; padding-left: 20px;
}
.sitemap-panel .sitemap-grid a.sitemap-child::before {
  width: 8px; height: 2px; background: #D2A874;
}
.sitemap-panel .sitemap-grid a:hover,
.sitemap-panel .sitemap-grid a.sitemap-parent:hover,
.sitemap-panel .sitemap-grid a.sitemap-child:hover { color: #D2A874; }
.sitemap-panel .sitemap-contact { border-top-color: rgba(210, 168, 116, 0.35); }
.sitemap-panel .sitemap-contact span { color: #D2A874; font-size: 15px; font-weight: 700; }

/* =====================================================================
   배경: 윤중 본 사이트와 동일 (고정 배경 + 섹션별 background_1/2 번갈아)
   ===================================================================== */
body { background-color: var(--o-paper, #F7F4EE); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%;
  background: url("/assets/brand/background.jpg") center / cover no-repeat;
  pointer-events: none;
}
.yj-center-section, .yj-lawyer-section, .yj-work-section, .yj-consult-section,
.yj-help-section, .yj-column-section, .yj-media-section, .yj-sequence-section,
.yj-docs-section,
body:not(.yk-home) .section:not(.category-landing):not(.detail-hero):not(.contact-section),
body:not(.yk-home) .detail-template {
  --bg-wash: rgba(250, 247, 241, 0.62);
  background-color: var(--o-paper, #F7F4EE);
  background-image:
    linear-gradient(to bottom, #F7F4EE 0, rgba(247, 244, 238, 0) 140px, rgba(247, 244, 238, 0) calc(100% - 140px), #F7F4EE 100%),
    linear-gradient(var(--bg-wash), var(--bg-wash)),
    url("/assets/brand/background_1.jpg");
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 한 섹션씩 번갈아 background_2 (조금 더 회색 톤) */
main > section:is(.yj-center-section, .yj-lawyer-section, .yj-work-section, .yj-consult-section,
  .yj-help-section, .yj-column-section, .yj-media-section, .yj-sequence-section, .yj-docs-section):nth-of-type(even),
body:not(.yk-home) main > .section:not(.category-landing):not(.detail-hero):not(.contact-section):nth-of-type(even) {
  --bg-wash: rgba(241, 244, 246, 0.72);
  background-image:
    linear-gradient(to bottom, #F7F4EE 0, rgba(247, 244, 238, 0) 140px, rgba(247, 244, 238, 0) calc(100% - 140px), #F7F4EE 100%),
    linear-gradient(var(--bg-wash), var(--bg-wash)),
    url("/assets/brand/background_2.jpg");
}

/* 앵커 이동 시 고정 헤더에 가리지 않도록 + 부드러운 스크롤 */
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
@media (max-width: 880px) { html { scroll-padding-top: 78px; } }

/* 맨 아래 CONTACT 구역(네이비): 제목·본문 글자를 밝게 */
.yk-home .yj-final-section h2 { color: #FFFFFF; }
.yk-home .yj-final-section p { color: #D2A874; font-size: 16px; font-weight: 700; letter-spacing: 0.08em; }
.yk-home .yj-final-section span { color: #E9EDF5; font-size: 21px; font-weight: 500; }
.yk-home .yj-final-section a { border-color: #D2A874; color: #D2A874; }
.yk-home .yj-final-section a:first-child { background: #A8702E; border-color: #6B4720; color: #0A1628; }

/* 메뉴로 이동한 분야 카드를 잠깐 강조 */
.yj-practice-trio a.yj-field-card { transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.yj-practice-trio a.yj-field-card.is-picked {
  border-color: #8B5A2B; box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.35), 8px 10px 24px rgba(10, 22, 40, 0.18); transform: translateY(-4px);
}

/* 섹션 제목 + 설명(좌우 2단): 설명 문구를 제목 하단 높이에 맞추고 줄바꿈 균형 */
body:not(.yk-home) .section-head.split { align-items: end; }
body:not(.yk-home) .section-head.split > p:not(.eyebrow) {
  max-width: 480px; margin: 0; padding-bottom: 8px;
  text-wrap: balance; word-break: keep-all; line-height: 1.7;
}
@media (max-width: 1280px) {
  body:not(.yk-home) .section-head.split { align-items: start; gap: 20px; }
  body:not(.yk-home) .section-head.split > p:not(.eyebrow) { max-width: 640px; padding-bottom: 0; }
}
@media (max-width: 900px) {
  body:not(.yk-home) .section-head.split { grid-template-columns: 1fr; gap: 14px; }
  body:not(.yk-home) .section-head.split > p:not(.eyebrow) { max-width: 560px; }
}

/* 섹션 제목 아래에 설명 문구 배치 (모든 폭 공통, 세로 한 줄 구성) */
body:not(.yk-home) .section-head.split {
  display: block;
  max-width: none;
}
body:not(.yk-home) .section-head.split > p:not(.eyebrow) {
  max-width: 720px; margin: 18px 0 0; padding-bottom: 0;
  text-wrap: balance; font-size: 19px; line-height: 1.7;
}
body:not(.yk-home) .section-head.split h2 { max-width: none; }

/* 하단 문의 카드(전화상담): 라벨 → 번호 목록(누르면 전화) */
body:not(.yk-home) .contact-section .contact-card {
  padding: 34px 36px 30px; min-width: 420px;
  background: #FFFFFF; border: 1px solid #DAD2BC; border-radius: 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  color: #0A1628;
}
.contact-card-label {
  margin: 0 0 8px; color: #8B5A2B; font-size: 16px; font-weight: 700; letter-spacing: 0.06em;
}
.contact-card-list { margin: 0; padding: 0; list-style: none; }
.contact-card-list li + li { border-top: 1px solid #E4DFD1; }
.contact-card-list a {
  display: flex; align-items: center; gap: 16px; padding: 16px 0;
  color: #0A1628; text-decoration: none; transition: color 0.15s ease;
}
.contact-card-list em {
  flex: 0 0 auto; width: 30px; height: 30px; display: inline-grid; place-items: center;
  border-radius: 50%; background: #0A1628; color: #F7F4EE;
  font-size: 15px; font-weight: 700; font-style: normal; line-height: 1;
}
.contact-card-list b { font-size: 30px; font-weight: 700; letter-spacing: 0.01em; }
.contact-card-list a:hover { color: #8B5A2B; }
.contact-card-list a:hover em { background: #8B5A2B; }
.contact-card .contact-card-note { margin: 10px 0 0; color: #4A5568; font-size: 15px; font-weight: 500; }
@media (max-width: 900px) {
  body:not(.yk-home) .contact-section .contact-card { min-width: 0; width: 100%; padding: 26px 22px 22px; }
  .contact-card-list b { font-size: 26px; }
}
body:not(.yk-home) .contact-section .contact-card .contact-card-label { color: #8B5A2B; font-size: 16px; font-weight: 700; }
body:not(.yk-home) .contact-section .contact-card .contact-card-note { color: #4A5568; font-size: 15px; }

/* 변호사 매칭 선택창: 글자가 왼쪽 테두리에 붙지 않도록 안쪽 여백 */
.yk-match select, .yj-consult-section .yk-match select {
  padding-left: 16px; padding-right: 36px;
  font-size: 16px; font-weight: 500; color: #0A1628;
}

/* 업무 분야 카드 3개: 눌러서 이동할 수 있다는 것이 보이도록 (안내 문구 + 호버) */
.yj-practice-trio a.yj-field-card {
  position: relative; display: flex; flex-direction: column; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.yj-practice-trio a.yj-field-card::after {
  content: "자세히 보기  →";
  margin-top: auto; padding-top: 22px;
  color: #8B5A2B; font-size: 17px; font-weight: 700; letter-spacing: 0.01em;
  transition: color .2s ease, transform .2s ease;
}
.yj-practice-trio a.yj-field-card p { margin-bottom: 0; }
.yj-practice-trio a.yj-field-card:hover,
.yj-practice-trio a.yj-field-card:focus-visible {
  background: #0F1F3D; border-color: #0F1F3D; transform: translateY(-6px);
  box-shadow: 8px 14px 30px rgba(10, 22, 40, 0.28); outline: none;
}
.yj-practice-trio a.yj-field-card:hover span,
.yj-practice-trio a.yj-field-card:focus-visible span { color: #D2A874; }
.yj-practice-trio a.yj-field-card:hover strong,
.yj-practice-trio a.yj-field-card:focus-visible strong { color: #FFFFFF; }
.yj-practice-trio a.yj-field-card:hover p,
.yj-practice-trio a.yj-field-card:focus-visible p { color: #DDE3EE; }
.yj-practice-trio a.yj-field-card:hover::after,
.yj-practice-trio a.yj-field-card:focus-visible::after { color: #D2A874; transform: translateX(6px); }
@media (hover: none) {
  .yj-practice-trio a.yj-field-card:active { background: #0F1F3D; }
  .yj-practice-trio a.yj-field-card:active strong { color: #FFFFFF; }
}

/* 상단 메뉴가 5개로 줄어 폭이 넉넉하므로, ☰ 전환 기준을 낮추고 간격을 넓힌다 */
.yj-header .yk-nav { gap: 36px; font-size: 17px; }
@media (min-width: 981px) {
  .yj-header .yk-nav { display: flex; }
}
@media (min-width: 981px) and (max-width: 1280px) {
  .yj-header .yk-nav { gap: 24px; font-size: 16px; }
  .yj-header .yk-header-actions { margin-left: 0; }
}
@media (max-width: 980px) {
  .yj-header .yk-nav { display: none; }
  .yj-header .yk-header-actions { margin-left: auto; }
}

/* 맨 아래 CONTACT 문구 아래에 배치한 변호사 매칭 / Q&A 라운지 / 성공사례 후기 */
.yk-home .yj-final-section > div { display: block; }
.yk-home .yj-final-section .yj-final-consult {
  display: block; margin: 52px 0 0; padding: 0; max-width: none; background: none; border: 0; counter-reset: none;
}
.yk-home .yj-final-section .yj-final-consult .yk-consult-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; margin: 0; max-width: none;
}
.yk-home .yj-final-section .yj-final-consult .yk-match,
.yk-home .yj-final-section .yj-final-consult .yk-side-boxes a {
  background: #FFFFFF; border: 1px solid #DAD2BC; border-radius: 0; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.yk-home .yj-final-section .yj-final-consult .yk-match { min-height: 0; padding: 34px; }
.yk-home .yj-final-section .yj-final-consult .yk-match h3 { margin: 0; color: #0A1628; font-size: 26px; font-weight: 700; }
.yk-home .yj-final-section .yj-final-consult .yk-match p {
  max-width: 760px; margin: 14px 0 0; color: #4A5568; font-size: 17px; font-weight: 500; letter-spacing: 0;
}
.yk-home .yj-final-section .yj-final-consult .yk-match > div {
  display: grid; grid-template-columns: 1fr 1fr 130px; gap: 12px; margin: 30px 0 0;
}
.yk-home .yj-final-section .yj-final-consult .yk-match select {
  height: 48px; padding-left: 16px; padding-right: 36px; background: #fff; border: 1px solid #DAD2BC; border-radius: 6px;
  color: #0A1628; font-size: 16px; font-weight: 500;
}
.yk-home .yj-final-section .yj-final-consult .yk-match a {
  display: grid; place-items: center; min-width: 0; min-height: 48px; height: 48px; padding: 0 12px;
  background: #0A1628; border: 2px solid #0A1628; border-radius: 6px; color: #F7F4EE; font-size: 17px; font-weight: 600;
}
.yk-home .yj-final-section .yj-final-consult .yk-match a:hover { background: #0F1F3D; border-color: #0F1F3D; }
.yk-home .yj-final-section .yj-final-consult .yk-side-boxes { display: grid; gap: 22px; margin: 0; }
.yk-home .yj-final-section .yj-final-consult .yk-side-boxes a {
  display: grid; align-content: center; min-width: 0; min-height: 105px; padding: 26px 30px; color: #0A1628;
  font-weight: 400; transition: transform .2s ease, border-color .2s ease;
}
.yk-home .yj-final-section .yj-final-consult .yk-side-boxes a:hover { transform: translateY(-4px); border-color: #8B5A2B; }
.yk-home .yj-final-section .yj-final-consult .yk-side-boxes strong { color: #0A1628; font-size: 22px; font-weight: 700; }
.yk-home .yj-final-section .yj-final-consult .yk-side-boxes span {
  display: block; max-width: none; margin: 8px 0 0; color: #4A5568; font-size: 15px; font-weight: 500;
}
@media (max-width: 1000px) {
  .yk-home .yj-final-section .yj-final-consult .yk-consult-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .yk-home .yj-final-section .yj-final-consult { margin-top: 36px; }
  .yk-home .yj-final-section .yj-final-consult .yk-match { padding: 26px 22px; }
  .yk-home .yj-final-section .yj-final-consult .yk-match > div { grid-template-columns: 1fr; }
}
.yk-home .yj-final-section .yj-final-consult .yk-side-boxes a {
  justify-content: start; justify-items: start; align-items: center; text-align: left; width: auto;
}

.yk-home .yj-final-section > div > span { max-width: none; }

/* =====================================================================
   푸터: 윤중 본 사이트와 동일한 구조·스타일 (로고 + 상호 / 가운데 정렬 정보)
   ===================================================================== */
footer.yk-footer {
  display: block; margin: 0; padding: 56px 0 32px;
  background: #0A1628; border-top: 0; color: #C7D0DE; font-size: 19.5px;
}
footer.yk-footer .footer-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
footer.yk-footer .footer-top {
  display: flex; justify-content: space-between; padding-bottom: 32px; margin-bottom: 24px;
  border-bottom: 2px solid #1C3050;
}
footer.yk-footer .footer-logo {
  display: flex; align-items: center; gap: 10px; color: #FFFFFF; font-size: 21px; font-weight: 700;
}
footer.yk-footer .footer-logo img {
  width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; filter: brightness(0) invert(1);
}
footer.yk-footer .footer-bottom {
  display: block; padding: 0; background: none; border: 0; border-radius: 0;
  line-height: 1.9; color: #A9B4C4; text-align: center;
}
footer.yk-footer .footer-bottom p { margin: 0 0 6px; color: #A9B4C4; font-size: inherit; line-height: inherit; }
footer.yk-footer .footer-bottom p:last-child { margin-bottom: 0; }
footer.yk-footer .footer-info span:not(:last-child)::after { content: "|"; margin: 0 8px; color: #5C6B85; }
footer.yk-footer .footer-emergency {
  display: inline; padding: 0; background: none; border: 0; color: #A9B4C4; font-size: inherit; font-weight: 400;
}
footer.yk-footer .footer-emergency:hover { color: #D2A874; }
@media (max-width: 880px) {
  footer.yk-footer { padding: 24px 0 16px; font-size: 14.5px; }
  footer.yk-footer .footer-wrap { padding: 0 16px; }
  footer.yk-footer .footer-logo { font-size: 19px; }
  footer.yk-footer .footer-logo img { width: 44px; height: 44px; }
  footer.yk-footer .footer-top { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 16px; margin-bottom: 16px; }
  footer.yk-footer .footer-bottom { line-height: 1.7; font-size: 12px; }
  footer.yk-footer .footer-bottom p { margin: 0 0 4px; }
}

/* 푸터 링크·사업자 정보 줄바꿈 + 개인정보처리방침/면책공고 팝업 (윤중 본 사이트와 동일) */
footer.yk-footer .footer-links { display: flex; gap: 24px; }
footer.yk-footer .footer-links a { color: #C7D0DE; font-size: inherit; font-weight: 400; transition: color .15s ease; }
footer.yk-footer .footer-links a:hover { color: #FFFFFF; }
footer.yk-footer .mob-break { display: none; }
@media (max-width: 880px) {
  footer.yk-footer .footer-links { gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
  footer.yk-footer .footer-info { margin-bottom: 10px; line-height: 1.7; font-size: 12px; }
  footer.yk-footer .footer-info span { white-space: nowrap; }
  footer.yk-footer .footer-info span:not(:last-child)::after { margin: 0 6px; }
  footer.yk-footer .footer-info .row-end::after { display: none; }
  footer.yk-footer .mob-break { display: inline; }
}
.qc-overlay {
  display: flex; position: fixed; inset: 0; z-index: 300; align-items: center; justify-content: center; padding: 24px;
  background: rgba(8, 12, 20, 0.6); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.qc-overlay.show { opacity: 1; visibility: visible; }
.qc-modal {
  position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; padding: 32px;
  background: #FFFFFF; border-radius: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(12px) scale(0.98); transition: transform .2s ease; color: #0A1628;
}
.qc-overlay.show .qc-modal { transform: translateY(0) scale(1); }
.qc-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; background: transparent; color: #4A5568; font-size: 24px; cursor: pointer;
}
.qc-close:hover { background: #E4DFD1; }
.qc-modal h3 { margin: 0 0 6px; color: #0A1628; font-size: 25px; font-weight: 700; text-align: center; }
.legal-modal { max-width: 640px; }
.legal-body { margin-top: 18px; max-height: 60vh; overflow-y: auto; text-align: left; font-size: 16px; line-height: 1.75; color: #4A5568; }
.legal-body h4 { margin: 18px 0 6px; color: #0A1628; font-size: 17px; font-weight: 700; }
.legal-body h4:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 10px; color: #4A5568; font-size: 16px; line-height: 1.75; }
footer.yk-footer .footer-info span { white-space: nowrap; }
footer.yk-footer .footer-emergency { white-space: nowrap; }
@media (max-width: 880px) { footer.yk-footer .footer-emergency { white-space: normal; } }
footer.yk-footer .footer-emergency-row, footer.yk-footer .footer-bottom > p:first-child { margin-bottom: 14px; }
footer.yk-footer .footer-bottom > p:first-child .footer-emergency { color: #FFFFFF; font-weight: 600; }

/* =====================================================================
   헤더 ↔ 푸터 통일: 로고 위치 · 로고/글자 크기 · 가로선(내용 폭) 같은 값을 공유
   ===================================================================== */
:root {
  --edge-x: max(32px, calc((100% - 1200px) / 2 + 32px));
  --brand-img: 80px;
  --brand-text: 22.5px;
}
@media (min-width: 1281px) and (max-width: 1480px) { :root { --brand-text: 21px; } }
@media (max-width: 880px) { :root { --edge-x: 20px; --brand-img: 56px; --brand-text: 20px; } }
@media (max-width: 480px) { :root { --edge-x: 16px; --brand-img: 48px; --brand-text: 18px; } }

/* 헤더 */
.yk-header.yj-header { padding-left: var(--edge-x); padding-right: var(--edge-x); }
.yk-header.yj-header .yk-brand img { width: var(--brand-img); height: var(--brand-img); }
.yk-header.yj-header .yk-brand::after { font-size: var(--brand-text); font-weight: 700; letter-spacing: -0.01em; }

/* 푸터: 같은 좌우 여백 → 로고 시작 위치와 가로선 길이가 헤더 내용 폭과 일치 */
footer.yk-footer .footer-wrap { max-width: none; padding-left: var(--edge-x); padding-right: var(--edge-x); }
footer.yk-footer .footer-logo { gap: 10px; font-size: var(--brand-text); font-weight: 700; letter-spacing: -0.01em; }
footer.yk-footer .footer-logo img { width: var(--brand-img); height: var(--brand-img); }

/* 상단 메뉴 글자 크기 키움 */
.yk-header.yj-header .yk-nav { gap: 40px; font-size: 19px; font-weight: 500; }
.yk-header.yj-header .yk-nav a { font-size: inherit; }
@media (min-width: 981px) and (max-width: 1280px) {
  .yk-header.yj-header .yk-nav { gap: 22px; font-size: 17px; }
}

/* 히어로 아래 바로가기 카드(성공사례 후기 · 방송자료 · 변호사소개): 3등분, 아래 섹션 내용 폭과 정렬 */
.yk-proof-strip.yj-proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; margin-top: -40px; padding: 0 42px 72px;
}
.yk-proof-strip.yj-proof-strip .yk-mini-card { min-height: 150px; height: auto; }
.yk-proof-strip.yj-proof-strip .yj-mini-text { padding: 28px 30px; }
.yk-proof-strip.yj-proof-strip .yj-mini-text span { font-size: 24px; font-weight: 700; color: #FFFFFF; }
.yk-proof-strip.yj-proof-strip .yj-mini-text em { margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, 0.78); }
.yk-proof-strip.yj-proof-strip .yj-mini-text:hover { transform: translateY(-4px); }
@media (max-width: 880px) {
  .yk-proof-strip.yj-proof-strip { grid-template-columns: 1fr; gap: 12px; margin-top: -24px; padding: 0 20px 48px; }
  .yk-proof-strip.yj-proof-strip .yk-mini-card { min-height: 100px; }
}
.yk-proof-strip.yj-proof-strip .yj-mini-text { align-content: end; justify-items: start; text-align: left; }
.yk-proof-strip.yj-proof-strip .yj-mini-text span {
  width: auto; height: auto; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; display: block; text-align: left;
}
.yk-proof-strip.yj-proof-strip .yj-mini-text em { margin: 8px 0 0; padding: 0; text-align: left; font-style: normal; }
.yk-proof-strip.yj-proof-strip .yj-mini-text::after { left: auto; right: 24px; top: 24px; bottom: auto; }
.yk-proof-strip.yj-proof-strip .yj-mini-text span { position: relative; left: auto; bottom: auto; }
.yk-proof-strip.yj-proof-strip .yj-mini-text em { position: relative; }


/* 성공사례 후기 · 방송자료 · 변호사소개 카드: 히어로 우측 하단에 배치 (데스크톱) */
@media (min-width: 881px) {
  .yj-hero { height: 760px; }
  .yj-hero .yk-hero-copy { align-content: start; padding-top: 110px; }
  .yk-proof-strip.yj-proof-strip {
    grid-template-columns: repeat(3, 270px); justify-content: end; gap: 18px;
    margin-top: -210px; padding: 0 42px 90px;
  }
  .yk-proof-strip.yj-proof-strip .yk-mini-card { min-height: 120px; }
  .yk-proof-strip.yj-proof-strip .yj-mini-text { padding: 22px 24px; }
  .yk-proof-strip.yj-proof-strip .yj-mini-text span { font-size: 22px; }
  .yk-proof-strip.yj-proof-strip .yj-mini-text em { font-size: 15px; }
  .yk-proof-strip.yj-proof-strip .yj-mini-text::after { width: 34px; height: 34px; right: 20px; top: 20px; }
}

/* 히어로 우측 하단 바로가기 버튼 3개: 더 우측으로 + 버튼 디자인 */
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
  min-height: 96px; padding: 18px 64px 18px 24px;
  background: rgba(10, 22, 40, 0.62);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(210, 168, 116, 0.6); border-radius: 0; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  color: #FFFFFF; overflow: hidden;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text::before { content: none; }
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text::after {
  content: "→"; position: absolute; inset: auto; right: 22px; top: 50%; transform: translateY(-50%);
  width: auto; height: auto; border: 0; background: none;
  color: #D2A874; font-size: 28px; font-weight: 400; line-height: 1; transition: transform .2s ease, color .2s ease;
}
.yk-proof-strip.yj-proof-strip .yj-mini-text span { font-size: 21px; font-weight: 700; line-height: 1.25; color: #FFFFFF; }
.yk-proof-strip.yj-proof-strip .yj-mini-text em { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.3; color: rgba(255, 255, 255, 0.78); }
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:hover,
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:focus-visible {
  background: #D2A874; border-color: #D2A874; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); outline: none;
}
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:hover span,
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:focus-visible span { color: #0A1628; }
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:hover em,
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:focus-visible em { color: #3B4558; }
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:hover::after,
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:focus-visible::after { color: #0A1628; transform: translate(6px, -50%); }

@media (min-width: 881px) {
  .yk-proof-strip.yj-proof-strip {
    grid-template-columns: repeat(3, 280px); gap: 14px; margin-top: -186px; padding: 0 20px 90px;
  }
  .yk-proof-strip.yj-proof-strip .yk-mini-card { min-height: 96px; }
}
@media (max-width: 880px) {
  .yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text { min-height: 84px; }
}
@media (max-width: 880px) {
  .yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text { background: #0F1F3D; backdrop-filter: none; }
}

/* 히어로 우측 하단 바로가기 버튼: 흰색 네모 버튼 + 더 우측 */
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text {
  background: #FFFFFF; backdrop-filter: none;
  border: 1px solid #DAD2BC; border-left: 4px solid #8B5A2B; border-radius: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  padding: 18px 60px 18px 22px;
}
.yk-proof-strip.yj-proof-strip .yj-mini-text span { color: #0A1628; font-size: 21px; font-weight: 700; }
.yk-proof-strip.yj-proof-strip .yj-mini-text em { color: #4A5568; font-size: 15px; font-weight: 500; }
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text::after { color: #8B5A2B; }
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:hover,
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:focus-visible {
  background: #0A1628; border-color: #0A1628; border-left-color: #D2A874; transform: translateY(-4px);
}
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:hover span,
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:focus-visible span { color: #FFFFFF; }
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:hover em,
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:focus-visible em { color: #C7D0DE; }
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:hover::after,
.yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text:focus-visible::after { color: #D2A874; }
@media (min-width: 881px) {
  .yk-proof-strip.yj-proof-strip { padding-right: 6px; }
}
@media (max-width: 880px) {
  .yk-proof-strip.yj-proof-strip .yk-mini-card.yj-mini-text { background: #FFFFFF; }
}

/* 바로가기 버튼 삭제 후 히어로 높이·문구 위치를 원래대로 */
@media (min-width: 881px) {
  .yj-hero { height: 640px; }
  .yj-hero .yk-hero-copy { align-content: center; padding-top: 0; }
}

/* =====================================================================
   페이지 이동 링크에는 '자세히 보기 →' 표시 (사용자가 눌러서 이동할 수 있다는 것이 보이도록)
   ===================================================================== */
/* 1) 윤중 센터 업무분야 목록 */
.yj-center-section .yk-field-list a { grid-template-columns: 110px 1fr auto; transition: background .15s ease; }
.yj-center-section .yk-field-list em {
  color: #8B5A2B; font-size: 14px; font-weight: 700; white-space: nowrap; text-align: right;
}
.yj-center-section .yk-field-list a:hover { background: rgba(139, 90, 43, 0.07); }
.yj-center-section .yk-field-list a:hover em { color: #0A1628; }

/* 2) 업무사례 카드 */
.yj-work-section .yk-work-cards a {
  position: relative; padding-bottom: 60px; cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.yj-work-section .yk-work-cards a::after {
  content: "자세히 보기  →"; position: absolute; left: 22px; bottom: 20px;
  color: #8B5A2B; font-size: 16px; font-weight: 700; transition: color .2s ease, transform .2s ease;
}
.yj-work-section .yk-work-cards a:hover,
.yj-work-section .yk-work-cards a:focus-visible {
  transform: translateY(-6px); border-color: #8B5A2B; box-shadow: 8px 14px 30px rgba(10, 22, 40, 0.2); outline: none;
}
.yj-work-section .yk-work-cards a:hover::after { transform: translateX(6px); }

/* 3) 칼럼 카드 (제목 뒤에 안내 문구 — 큰 이미지 카드의 ::before/::after 장식과 겹치지 않게) */
.yk-column-grid { grid-template-rows: repeat(2, 178px); }
.yj-column-section .yk-column-grid a {
  cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.yj-column-section .yk-column-grid a strong::after {
  content: "자세히 보기  →"; display: block; margin-top: 12px;
  color: #8B5A2B; font-size: 16px; font-weight: 700; transition: transform .2s ease;
}
.yj-column-section .yk-column-grid a.large strong::after,
.yj-column-section .yk-column-grid a.dark strong::after { color: #D2A874; }
.yj-column-section .yk-column-grid a:hover,
.yj-column-section .yk-column-grid a:focus-visible {
  transform: translateY(-5px); box-shadow: 8px 14px 30px rgba(10, 22, 40, 0.22); outline: none;
}
.yj-column-section .yk-column-grid a:hover strong::after { transform: translateX(6px); }

/* 4) 분야 페이지의 주요 업무 박스(→ 상세 페이지) */
body:not(.yk-home) .subcategory-grid a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
body:not(.yk-home) .subcategory-grid a::after {
  content: "자세히 보기  →"; color: #8B5A2B; font-size: 15px; font-weight: 700; transition: color .2s ease, transform .2s ease;
}
body:not(.yk-home) .subcategory-grid a:hover::after { color: #D2A874; transform: translateX(4px); }

/* 칼럼 큰 이미지 카드: 라벨·제목·안내 문구가 겹치지 않도록 아래에서 위로 쌓기 */
.yj-column-section .yk-column-grid a.large { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.yj-column-section .yk-column-grid a.large span,
.yj-column-section .yk-column-grid a.large strong { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
.yj-column-section .yk-column-grid a.large span { margin-bottom: 8px; }
.yj-column-section .yk-column-grid a.large strong { margin: 0; }

/* 윤중 센터 업무분야: 분야별 3묶음 (항목은 글자 링크, '자세히 보기'는 분야당 1개) */
.yj-center-section .yk-field-list.yj-field-groups {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row;
  gap: 0 40px; align-content: start;
}
.yj-field-group { display: flex; flex-direction: column; padding: 4px 0; }
.yj-field-group h3 {
  margin: 0 0 14px; padding-bottom: 14px; border-bottom: 2px solid #0A1628;
  color: #0A1628; font-size: 22px; font-weight: 700; line-height: 1.3;
}
.yj-field-group ul { margin: 0; padding: 0; list-style: none; flex: 1; }
.yj-field-group li a {
  display: block; padding: 8px 0 8px 16px; position: relative;
  color: #4A5568; font-size: 17px; font-weight: 500; line-height: 1.4; transition: color .15s ease, transform .15s ease;
}
.yj-field-group li a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 2px; background: #8B5A2B;
}
.yj-field-group li a:hover { color: #0A1628; transform: translateX(4px); }
.yj-field-group .yj-field-more {
  align-self: flex-start; margin-top: 16px; padding: 10px 18px;
  border: 1.5px solid #8B5A2B; color: #8B5A2B; font-size: 15px; font-weight: 700; transition: background .15s ease, color .15s ease;
}
.yj-field-group .yj-field-more:hover { background: #8B5A2B; color: #FFFFFF; }
@media (max-width: 1100px) {
  .yj-center-section .yk-field-list.yj-field-groups { grid-template-columns: 1fr; gap: 28px; }
}
.yj-center-section .yk-field-list.yj-field-groups li { border: 0; }
.yj-center-section .yk-field-list.yj-field-groups li a,
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a {
  display: block; min-height: 0; height: auto; grid-template-columns: none; border: 0; padding: 7px 0 7px 16px;
}
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a::before { top: 50%; transform: translateY(-50%); }
.yj-center-section .yk-field-list.yj-field-groups .yj-field-more {
  display: inline-block; min-height: 0; height: auto; grid-template-columns: none; border: 1.5px solid #8B5A2B; padding: 10px 18px;
}
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group ul { flex: 0 0 auto; }
.yj-center-section .yk-field-list.yj-field-groups .yj-field-more { margin-top: 18px; }
.yj-center-section .yj-field-groups { align-items: start; }

/* 윤중 센터 항목: 글자 링크 → 눌러볼 수 있는 버튼 모양(테두리 + 화살표 + 호버 채움) */
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group ul { display: grid; gap: 8px; }
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px; background: #FFFFFF; border: 1px solid #DAD2BC; border-radius: 0;
  color: #0A1628; font-size: 17px; font-weight: 600; line-height: 1.35;
  box-shadow: 0 2px 6px rgba(10, 22, 40, 0.06);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a::before { content: none; }
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a::after {
  content: "→"; flex: 0 0 auto; color: #8B5A2B; font-size: 18px; font-weight: 400; transition: transform .15s ease, color .15s ease;
}
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a:hover,
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a:focus-visible {
  background: #0A1628; border-color: #0A1628; color: #FFFFFF; transform: translateX(4px);
  box-shadow: 0 8px 18px rgba(10, 22, 40, 0.22); outline: none;
}
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a:hover::after,
.yj-center-section .yk-field-list.yj-field-groups .yj-field-group li a:focus-visible::after { color: #D2A874; transform: translateX(4px); }

/* 01·02·03 설명 카드 글자: 번호 → 제목 → 설명의 위계를 또렷하게 */
.yj-sequence-wrap article { padding: 40px 38px 44px; }
.yj-sequence-wrap span {
  font-size: 18px; font-weight: 700; letter-spacing: 0.06em; color: #8B5A2B;
}
.yj-sequence-wrap h2, .yk-home .yj-sequence-wrap h2 {
  margin-top: 22px; font-size: 27px; font-weight: 600; line-height: 1.45; letter-spacing: -0.02em; color: #0A1628;
  word-break: keep-all; text-wrap: balance;
}
.yj-sequence-wrap p {
  margin-top: 18px; font-size: 18px; font-weight: 500; line-height: 1.75; letter-spacing: -0.005em; color: #2F3A4D;
  word-break: keep-all;
}
@media (max-width: 880px) {
  .yj-sequence-wrap article { padding: 30px 26px 34px; }
  .yj-sequence-wrap h2, .yk-home .yj-sequence-wrap h2 { font-size: 22px; }
  .yj-sequence-wrap p { font-size: 16px; }
}

/* =====================================================================
   맨 아래 CONTACT: 윤중 본 사이트 '법률상담' 구역 구성 (네이비 박스 + 왼쪽 문구 / 오른쪽 흰 카드)
   ===================================================================== */
.yk-home .yj-final-section.yj-final-section {
  padding: 96px 42px; color: #0A1628;
  background-color: #F7F4EE;
  background-image:
    linear-gradient(to bottom, #F7F4EE 0, rgba(247, 244, 238, 0) 120px, rgba(247, 244, 238, 0) calc(100% - 120px), #F7F4EE 100%),
    linear-gradient(rgba(250, 247, 241, 0.62), rgba(250, 247, 241, 0.62)),
    url("/assets/brand/background_1.jpg");
  background-size: 100% 100%, 100% 100%, cover; background-position: center; background-repeat: no-repeat;
}
.yk-home .yj-final-section .yj-inq-wrap { display: block; max-width: 1240px; margin: 0 auto; padding: 0; }
.yk-home .yj-final-section .yj-inq {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin: 0; padding: 80px; background: #0A1628; color: #F7F4EE; border: 0; border-radius: 0;
}
.yk-home .yj-final-section .yj-inq-copy { display: block; margin: 0; padding: 0; text-align: center; }
.yk-home .yj-final-section .yj-inq-eyebrow { margin: 0 0 14px; color: #D2A874; font-size: 19px; font-weight: 700; letter-spacing: 0.06em; }
.yk-home .yj-final-section .yj-inq-copy h2 {
  max-width: none; margin: 0 0 30px; color: #FFFFFF; font-size: 42px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
}
.yk-home .yj-final-section .yj-inq-lead {
  display: block; max-width: none; margin: 0; padding-left: 12px; color: #C7D0DE; font-size: 20px; font-weight: 500; line-height: 1.65; text-align: left;
}
.yk-home .yj-final-section .yj-inq-form {
  display: block; margin: 0; padding: 44px; background: #FFFFFF; color: #0A1628; border: 0; border-radius: 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.yk-home .yj-final-section .yj-inq-form h3 { margin: 0 0 8px; color: #0A1628; font-size: 25px; font-weight: 700; text-align: center; }
.yk-home .yj-final-section .yj-inq-desc { margin: 0 0 24px; color: #4A5568; font-size: 17px; font-weight: 500; line-height: 1.6; text-align: center; }
.yk-home .yj-final-section .yj-inq-field { display: block; margin: 0 0 16px; }
.yk-home .yj-final-section .yj-inq-field b { display: block; margin: 0 0 6px; color: #4A5568; font-size: 18.5px; font-weight: 600; }
.yk-home .yj-final-section .yj-inq-field select {
  width: 100%; height: 52px; padding: 14px 16px; background: #FFFFFF; color: #0A1628;
  border: 1px solid #DAD2BC; border-radius: 12px; font: inherit; font-size: 18.5px;
}
.yk-home .yj-final-section .yj-inq-field select:focus { outline: none; border-color: #8B5A2B; box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.25); }
.yk-home .yj-final-section .yj-inq-submit {
  display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 0; margin: 8px 0 0; padding: 18px;
  background: #0A1628; border: 2px solid #0A1628; border-radius: 12px; color: #FFFFFF; font-size: 20.5px; font-weight: 600;
  transition: background .15s ease;
}
.yk-home .yj-final-section .yj-inq-submit:hover { background: #0F1F3D; }
@media (max-width: 880px) {
  .yk-home .yj-final-section.yj-final-section { padding: 56px 16px; }
  .yk-home .yj-final-section .yj-inq { grid-template-columns: 1fr; gap: 32px; padding: 32px 22px; }
  .yk-home .yj-final-section .yj-inq-copy h2 { font-size: 30px; margin-bottom: 14px; }
  .yk-home .yj-final-section .yj-inq-lead { font-size: 16px; padding-left: 0; text-align: center; }
  .yk-home .yj-final-section .yj-inq-form { padding: 24px 20px; }
  .yk-home .yj-final-section .yj-inq-eyebrow { font-size: 18px; }
}
.yk-home .yj-final-section .yj-inq-lead { padding-left: 0; text-align: center; font-size: 19px; word-break: keep-all; }
.yk-home .yj-final-section .yj-inq-lead br { display: block; }
@media (min-width: 881px) and (max-width: 1280px) { .yk-home .yj-final-section .yj-inq-lead br { display: none; } }
@media (max-width: 880px) { .yk-home .yj-final-section .yj-inq-lead { font-size: 15.5px; } .yk-home .yj-final-section .yj-inq-lead br { display: none; } }
.yk-home .yj-final-section .yj-inq-field select { border-color: #DAD2BC; }

/* 하단 고정 바: 버튼 1개(상담 신청하기) */
.sticky-bar .sb-actions { gap: 0; }
.sticky-bar .sb-btn-gold { min-width: 220px; font-size: 19px; font-weight: 700; padding: 10px 32px; }
@media (max-width: 760px) { .sticky-bar .sb-btn-gold { min-width: 0; width: 100%; } }

/* 하단 고정 바: 문구와 버튼 사이 간격을 좁혀 가운데로 모음 */
.sticky-bar-inner { justify-content: center; gap: 56px; max-width: 1200px; }
@media (max-width: 760px) { .sticky-bar-inner { gap: 10px; justify-content: space-between; } }
.sticky-bar-inner { gap: 150px; }
@media (max-width: 1100px) { .sticky-bar-inner { gap: 60px; } }
@media (max-width: 760px) { .sticky-bar-inner { gap: 10px; } }
.sticky-bar-inner { gap: 220px; }
@media (max-width: 1100px) { .sticky-bar-inner { gap: 80px; } }
@media (max-width: 760px) { .sticky-bar-inner { gap: 10px; } }
.sticky-bar-inner { gap: 290px; }
@media (max-width: 1100px) { .sticky-bar-inner { gap: 100px; } }
@media (max-width: 760px) { .sticky-bar-inner { gap: 10px; } }

/* 하단 고정 바: 윤중 본 사이트와 동일한 폭(.wrap 1120px, 좌우 32px) 안에서 좌우 정렬 */
.sticky-bar .sticky-bar-inner {
  max-width: 1120px; margin: 0 auto; padding: 10px 32px; gap: 24px;
  justify-content: space-between;
}
@media (max-width: 760px) { .sticky-bar .sticky-bar-inner { padding: 8px 16px; gap: 10px; } }

/* 변호사 카드 사진: 새 프로필 사진(813×1200 세로형)에서 얼굴이 잘리지 않도록 위쪽 기준 */
.yj-lawyer-feature article img { object-fit: cover; object-position: center top; background: #E9EDF5; }

/* 변호사 매칭: 이름 입력창 (선택창과 동일한 모양) */
.yk-home .yj-final-section .yj-inq-field input {
  width: 100%; height: 52px; padding: 14px 16px; background: #FFFFFF; color: #0A1628;
  border: 1px solid #DAD2BC; border-radius: 12px; font: inherit; font-size: 18.5px; box-sizing: border-box;
}
.yk-home .yj-final-section .yj-inq-field input:focus { outline: none; border-color: #8B5A2B; box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.25); }
.yk-home .yj-final-section .yj-inq-field select:disabled { background: #F3EFE4; color: #8A8F98; }

/* 이름·지역 / 분야·세부 분야 한 줄 배치 */
.yk-home .yj-final-section .yj-inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yk-home .yj-final-section .yj-inq-row .yj-inq-field { min-width: 0; }
@media (max-width: 480px) { .yk-home .yj-final-section .yj-inq-row { gap: 8px; } .yk-home .yj-final-section .yj-inq-row .yj-inq-field b { font-size: 16px; } .yk-home .yj-final-section .yj-inq-row input, .yk-home .yj-final-section .yj-inq-row select { font-size: 16px; padding-left: 12px; padding-right: 8px; } }

/* 전화번호 3칸 (000 - 0000 - 0000) */
.yk-home .yj-final-section .yj-tel-row { display: flex; align-items: center; gap: 8px; }
.yk-home .yj-final-section .yj-tel-row input { flex: 4 1 0%; min-width: 0; text-align: center; padding-left: 8px; padding-right: 8px; }
.yk-home .yj-final-section .yj-tel-row input:first-child { flex: 3 1 0%; }
.yk-home .yj-final-section .yj-tel-dash { color: #4A5568; }
/* 이름·지역 줄과 분야·세부 분야 줄 사이 간격 축소 */
.yk-home .yj-final-section .yj-inq-row:has(#matchName) .yj-inq-field { margin-bottom: 6px; }

/* 상담 신청 모달 폼 (상담신청 디자인 참고). 틀(.qc-overlay/.qc-modal/.qc-close)은 위에 이미 있음 */
#qcOverlay .qc-modal { font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.5; }
#qcOverlay .qc-sub { margin: 0 0 22px; color: #4A5568; font-size: 20px; font-weight: 500; line-height: 1.6; text-align: center; }
#qcOverlay .qc-field { margin-bottom: 20px; }
#qcOverlay .qc-field label { display: block; margin-bottom: 6px; color: #4A5568; font-size: 19px; font-weight: 600; }
#qcOverlay .qc-input, #qcOverlay .qc-select {
  width: 100%; box-sizing: border-box; padding: 11px 13px; background: #FFFFFF; color: #0A1628;
  border: 1px solid #0A1628; border-radius: 12px; font: inherit; font-size: 20px;
}
#qcOverlay .qc-input:focus, #qcOverlay .qc-select:focus { outline: none; border-color: #8B5A2B; box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.25); }
#qcOverlay .qc-input::placeholder { color: #757575; opacity: 1; }
#qcOverlay .qc-select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 38px; line-height: 1.3; text-overflow: ellipsis; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
#qcOverlay .qc-select:invalid { color: #757575; }
#qcOverlay .qc-select option { color: #0A1628; }
#qcOverlay .qc-select:disabled { background-color: #F3EFE4; cursor: default; }
#qcOverlay .qc-row { display: flex; gap: 10px; }
#qcOverlay .qc-row .qc-field { flex: 1; min-width: 0; }
#qcOverlay .qc-tel-row { display: flex; align-items: center; gap: 8px; }
#qcOverlay .qc-tel-row .qc-input { flex: 4 1 0%; min-width: 0; text-align: center; }
#qcOverlay .qc-tel-row .qc-input:first-child { flex: 3 1 0%; }
#qcOverlay .qc-tel-dash { color: #4A5568; }
#qcOverlay .qc-agree { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #4A5568; font-size: 19.5px; }
#qcOverlay .qc-error { display: none; margin: -8px 0 16px; color: #b3423d; font-size: 19px; }
#qcOverlay .qc-error.show { display: block; }
#qcOverlay .qc-submit {
  width: 100%; padding: 14px; background: #0A1628; color: #FFFFFF; border: 2px solid #0A1628; border-radius: 12px;
  font: inherit; font-size: 21px; font-weight: 700; cursor: pointer;
}
#qcOverlay .qc-submit:hover { background: #0F1F3D; }
#qcOverlay .qc-submit:disabled { opacity: .6; cursor: default; }
#qcOverlay .qc-form.hide { display: none; }
#qcOverlay .qc-success { display: none; padding: 20px 0; text-align: center; }
#qcOverlay .qc-success.show { display: block; }
#qcOverlay .qc-success .mark { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: #0A1628; color: #D2A874; font-size: 26px; }
#qcOverlay .qc-success h3 { margin-bottom: 8px; }
#qcOverlay .qc-success p { margin: 0; color: #4A5568; font-size: 20px; }
@media (max-width: 640px) {
  #qcOverlay .qc-modal { padding: 28px 20px; }
  #qcOverlay h3 { font-size: 21px; }
  #qcOverlay .qc-sub { font-size: 14px; }
  #qcOverlay .qc-field label { font-size: 14px; }
  #qcOverlay .qc-input, #qcOverlay .qc-select { font-size: 16px; }
  #qcOverlay .qc-input::placeholder, #qcOverlay .qc-select:invalid { font-size: 14px; }
  #qcOverlay .qc-agree { font-size: 13.5px; }
  #qcOverlay .qc-error { font-size: 14px; }
  #qcOverlay .qc-submit { font-size: 16px; }
  #qcOverlay .qc-success p { font-size: 14px; }
}

/* 변호사 매칭 안내문 제거 후 제목 아래 간격 */
.yk-home .yj-final-section .yj-inq-form h3 { margin-bottom: 24px; }

/* 이름·지역 줄과 분야·세부 분야 줄 사이 간격 더 축소 */
.yk-home .yj-final-section .yj-inq-row.yj-inq-row-tight .yj-inq-field { margin-bottom: 0; }
.yk-home .yj-final-section .yj-inq-row.yj-inq-row-tight { margin-bottom: 6px; }

/* .yj-final-section div div 의 margin-top: 42px 가 새 줄에 번져 간격이 벌어지던 것을 해제 */
.yk-home .yj-final-section .yj-inq-row, .yk-home .yj-final-section .yj-tel-row { margin-top: 0; }
.yk-home .yj-final-section .yj-inq-row.yj-inq-row-tight { margin-bottom: 10px; }

/* CONTACT 남색 박스 가로 너비 축소 (1240px -> 1100px) */
.yk-home .yj-final-section .yj-inq-wrap { max-width: 1100px; }

/* 드롭다운(선택창) 글자·항목 가운데 정렬. 화살표 폭만큼 좌우 여백을 같게 둠 */
.yk-home .yj-final-section .yj-inq-field select, #qcOverlay .qc-select {
  text-align: center; text-align-last: center; padding-left: 36px; padding-right: 36px;
}
.yk-home .yj-final-section .yj-inq-field select option, #qcOverlay .qc-select option { text-align: center; }

.yk-home .yj-final-section .yj-inq-field select { padding-left: 24px; padding-right: 24px; }

.yk-home .yj-final-section .yj-inq-field select { padding-left: 20px; padding-right: 20px; font-size: 17px; }

/* 선택 전 안내 글자("지역 선택" 등)를 이름 입력 placeholder와 같은 색으로 */
.yk-home .yj-final-section .yj-inq-field input::placeholder { color: #757575; opacity: 1; }
.yk-home .yj-final-section .yj-inq-field select:has(option:checked[value=""]),
.yk-home .yj-final-section .yj-inq-field select:disabled { color: #757575; }
.yk-home .yj-final-section .yj-inq-field select option { color: #0A1628; }

/* 상담 신청 모달 선택창: 글자 왼쪽 정렬로 되돌림 */
#qcOverlay .qc-select { text-align: left; text-align-last: left; padding-left: 13px; padding-right: 38px; }
#qcOverlay .qc-select option { text-align: left; }

/* 페이지 아래쪽 폼 선택창: 글자 왼쪽 정렬 */
.yk-home .yj-final-section .yj-inq-field select { text-align: left; text-align-last: left; padding-left: 16px; padding-right: 36px; }
.yk-home .yj-final-section .yj-inq-field select option { text-align: left; }

/* 변호사 매칭 폼: 개인정보처리방침 동의 체크박스 */
.yk-home .yj-final-section .yj-inq-agree { display: flex; align-items: center; gap: 8px; margin: 4px 0 4px; color: #4A5568; font-size: 17px; font-weight: 500; cursor: pointer; }
.yk-home .yj-final-section .yj-inq-agree input { width: 18px; height: 18px; margin: 0; accent-color: #0A1628; cursor: pointer; }

/* 동의 문구: .yj-final-section span 의 밝은 글자색·margin-top 상속을 해제 */
.yk-home .yj-final-section .yj-inq-agree span { display: inline; max-width: none; margin: 0; color: #4A5568; font-size: 17px; font-weight: 500; line-height: 1.4; }

.yk-home .yj-final-section .yj-inq-agree { margin: 12px 0 8px; }

/* 상담전화 버튼 제거 후: 메뉴를 오른쪽으로 붙이고 ☰ 버튼과 적당한 간격(32px) 유지 */
@media (min-width: 981px) {
  .yk-header.yj-header .yk-nav { justify-content: flex-end; padding-right: 32px; }
}

/* CONTACT 문구: "…함께 / 확인한 뒤 필요한 대응 방향을 안내합니다." 두 줄 고정 (881px 이상) */
@media (min-width: 881px) { .yk-home .yj-final-section .yj-inq-lead br { display: block; } }
.yk-home .yj-final-section .yj-inq-lead { white-space: normal; }

/* 중간 폭(881~1280px): 문구가 두 줄에 들어가고 선택창 글자가 잘리지 않도록 글자 크기 축소 */
@media (min-width: 881px) and (max-width: 1280px) {
  .yk-home .yj-final-section .yj-inq-lead { font-size: 16.5px; }
  .yk-home .yj-final-section .yj-inq-field select { font-size: 15.5px; padding-left: 14px; padding-right: 28px; }
}

/* 전화번호 하이픈: .yj-final-section span 의 margin-top: 24px 상속 해제 */
.yk-home .yj-final-section .yj-tel-dash { display: block; max-width: none; margin: 0; font-size: 18px; line-height: 1; }

/* 변호사 매칭 폼: 접수 결과/오류 문구, 접수 중 버튼 */
.yk-home .yj-final-section .yj-inq-msg { display: none; max-width: none; margin: 8px 0 0; color: #b3423d; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: center; }
.yk-home .yj-final-section .yj-inq-msg.show { display: block; }
.yk-home .yj-final-section .yj-inq-msg.ok { color: #1F6B45; }
.yk-home .yj-final-section .yj-inq-submit[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* 하단 고정 바 '상담 신청하기' 버튼: 색 반전 깜빡임 */
@keyframes ctaInvert{
  0%,100%{ background:#0A1628; color:#FFD84A; border-color:#0A1628; }
  50%{ background:#FFD84A; color:#0A1628; border-color:#FFD84A; }
}
.sticky-bar .sb-btn-gold{ border:2px solid #0A1628; animation:ctaInvert 1.6s ease-in-out infinite; }
.sticky-bar .sb-btn-gold:hover, .sticky-bar .sb-btn-gold:disabled{ animation:none; background:#0A1628; color:#FFD84A; border-color:#0A1628; }
@media (prefers-reduced-motion: reduce){ .sticky-bar .sb-btn-gold{ animation:none; } }
