@charset "UTF-8";

/* 최기선 세무회계사무소 공통 스타일 */

:root {
  --white: #ffffff;
  --paper: #f8fbfe;
  --sky-050: #f0f7fd;
  --sky-100: #e3f0fa;
  --sky-200: #cce2f3;
  --sky-300: #9fc5e4;
  --sky-500: #4d8bc9;
  --blue-700: #235d95;
  --blue-900: #153f6c;
  --blue-950: #0e3155;
  --ink: #18232f;
  --ink-soft: #344250;
  --muted: #687583;
  --line: #dce5ec;
  --line-dark: #bdccd8;
  --max: 1320px;
  --gutter: clamp(20px, 4.2vw, 58px);
  --header-height: 82px;
  --radius: 10px;
  --radius-lg: 24px;
  --shadow: 0 28px 72px rgba(21, 63, 108, .1);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 76px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -.018em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #fff;
  background: var(--blue-700);
}

:focus-visible {
  outline: 3px solid rgba(35, 93, 149, .48);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 500;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-950);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(92px, 11vw, 164px);
}

.section-compact {
  padding-block: clamp(72px, 8vw, 112px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 740;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.section-label::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.display-title {
  max-width: 920px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 65px);
  font-weight: 650;
  line-height: 1.045;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.page-title {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 640;
  line-height: 1.09;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4.15vw, 56px);
  font-weight: 630;
  line-height: 1.16;
  letter-spacing: -.046em;
  text-wrap: balance;
}

.card-title {
  margin: 0;
  font-size: clamp(25px, 2.9vw, 38px);
  font-weight: 630;
  line-height: 1.25;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.lead {
  max-width: 730px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.82;
  text-wrap: pretty;
}

.body-copy {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.84;
  text-wrap: pretty;
}

.small-copy {
  color: var(--muted);
  font-size: 13px;
}

.number-label {
  display: inline-block;
  color: var(--sky-500);
  font-size: 13px;
  font-weight: 760;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition:
    color .25s var(--ease),
    background-color .25s var(--ease),
    border-color .25s var(--ease),
    transform .25s var(--ease);
}

.button::after {
  font-size: 16px;
  content: "↗";
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue-900);
}

.button-primary:hover {
  background: var(--blue-950);
}

.button-secondary {
  color: var(--blue-900);
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, .72);
}

.button-secondary:hover {
  border-color: var(--blue-700);
  background: var(--sky-050);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 720;
}

.text-link::after {
  transition: transform .25s var(--ease);
  content: "↗";
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

/* 헤더 */

.site-header {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 8px 30px rgba(21, 63, 108, 0.05),
    inset 0 -1px 0 rgba(159, 197, 228, 0.18);

  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  transition:
    height .25s var(--ease),
    border-color .25s ease,
    box-shadow .25s ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-bottom-color: rgba(189, 204, 216, .7);
  box-shadow: 0 10px 34px rgba(21, 63, 108, .05);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--sky-300);
  border-radius: 50%;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 760;
}

.brand-name {
  font-size: 27px;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -.028em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav > a:not(.header-contact) {
  position: relative;
  padding-block: 9px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.desktop-nav > a:not(.header-contact)::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--blue-700);
  transition: transform .25s var(--ease);
  content: "";
}

.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"] {
  color: var(--blue-900);
}

.desktop-nav > a:hover::after,
.desktop-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 17px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-900);
  font-size: 13px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.menu-open .menu-lines {
  background: transparent;
}

.menu-open .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 110;
  inset: var(--header-height) 0 0;
  display: none;
  overflow-y: auto;
  background: rgba(248, 251, 254, .99);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: grid;
  min-height: calc(100dvh - var(--header-height));
  align-content: space-between;
  padding-block: 42px 34px;
}

.mobile-menu-nav {
  display: grid;
}

.mobile-menu-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(27px, 8vw, 38px);
  font-weight: 640;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.mobile-menu-nav a::after {
  color: var(--sky-500);
  font-size: 12px;
  font-weight: 760;
  content: attr(data-index);
}

.mobile-menu-meta {
  display: grid;
  gap: 7px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
}

/* 홈 */

.home-hero {
  position: relative;
  overflow: clip;
  padding-top: calc(var(--header-height) + clamp(40px, 4vw, 64px));
  padding-bottom: clamp(86px, 10vw, 134px);
}

.home-hero::before {
  position: absolute;
  z-index: -2;
  width: min(51vw, 760px);
  aspect-ratio: 1;
  right: -14vw;
  top: -2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 226, 243, .82) 0%, rgba(227, 240, 250, .46) 48%, transparent 72%);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
  grid-template-columns: minmax(0, 1.16fr) minmax(370px, .84fr);
}

.hero-description {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.82;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-note::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--sky-500);
  box-shadow: 0 0 0 5px rgba(77, 139, 201, .12);
  content: "";
}

.hero-board {
  position: relative;
  min-height: 630px;
}

.hero-board-main {
  position: absolute;
  inset: 0 0 48px 36px;
  overflow: hidden;
  border: 1px solid rgba(159, 197, 228, .75);
  border-radius: 30px 30px 10px 30px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .08)),
    linear-gradient(142deg, #f1f8fd 0 45%, #daeaf6 45% 72%, #c7deef 72%);
  box-shadow: var(--shadow);
}

.hero-board-main::before {
  position: absolute;
  inset: 9% 10% 15% 18%;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 50% 50% 12px 12px;
  background: rgba(255, 255, 255, .24);
  backdrop-filter: blur(5px);
  content: "";
}

.hero-board-main::after {
  position: absolute;
  left: -9%;
  bottom: 10%;
  width: 78%;
  height: 29%;
  transform: rotate(-8deg);
  border: 1px solid rgba(255, 255, 255, .74);
  background: rgba(21, 63, 108, .09);
  content: "";
}

.hero-board-word {
  position: absolute;
  z-index: 2;
  right: 8%;
  top: 8%;
  color: rgba(21, 63, 108, .62);
  font-size: clamp(38px, 4.8vw, 66px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.08em;
  writing-mode: vertical-rl;
}

.hero-board-caption {
  position: absolute;
  z-index: 2;
  left: 9%;
  bottom: 12%;
  max-width: 250px;
  margin: 0;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.hero-consultation {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: min(342px, 79%);
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 20px 55px rgba(21, 63, 108, .12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-consultation-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 760;
}

.hero-consultation-label::after {
  width: 34px;
  height: 1px;
  background: var(--sky-300);
  content: "";
}

.hero-phone {
  display: block;
  margin-top: 17px;
  color: var(--blue-900);
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.hero-consultation p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.focus-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.focus-item {
  position: relative;
  display: grid;
  min-height: 120px;
  align-content: center;
  gap: 8px;
  padding: 24px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.focus-item:first-child {
  padding-left: 0;
}

.focus-item:last-child {
  border-right: 0;
}

.focus-item::after {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--blue-700);
  transition: transform .3s var(--ease);
  content: "";
}

.focus-item:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.focus-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.focus-item strong {
  font-size: 19px;
  font-weight: 680;
}

.greeting-section {
  background: var(--sky-050);
}

.greeting-grid {
  display: grid;
  gap: clamp(58px, 9vw, 140px);
  grid-template-columns: .72fr 1.28fr;
}

.greeting-side {
  display: grid;
  align-content: space-between;
  gap: 60px;
}

.greeting-word {
  color: var(--sky-500);
  font-size: clamp(78px, 11vw, 146px);
  font-weight: 280;
  line-height: .82;
  letter-spacing: -.09em;
}

.greeting-lines {
  position: relative;
  width: min(100%, 350px);
  aspect-ratio: 1.05;
}

.greeting-lines span {
  position: absolute;
  border: 1px solid rgba(77, 139, 201, .34);
  background: rgba(255, 255, 255, .54);
}

.greeting-lines span:nth-child(1) { inset: 8% 23% 18% 0; }
.greeting-lines span:nth-child(2) { inset: 20% 8% 5% 17%; }
.greeting-lines span:nth-child(3) {
  inset: 0 0 29% 33%;
  background: rgba(77, 139, 201, .12);
}

.greeting-copy {
  display: grid;
  gap: 18px;
}

.greeting-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.88;
}

.service-area {
  background: var(--white);
}

.section-heading-row {
  display: grid;
  align-items: end;
  gap: 44px;
  grid-template-columns: .84fr 1.16fr;
  margin-bottom: clamp(72px, 9vw, 118px);
}

.section-heading-row .body-copy {
  max-width: 640px;
  margin-top: 0;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}

.service-card {
  display: grid;
  min-height: 340px;
  align-content: space-between;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--white);
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3) {
  grid-column: span 4;
}

.service-card:nth-child(4) {
  grid-column: span 7;
  min-height: 390px;
  background: var(--sky-050);
}

.service-card:nth-child(5),
.service-card:nth-child(6) {
  grid-column: span 5;
}

.service-card:nth-child(6) {
  background: var(--paper);
}

.service-card p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-card .text-link {
  margin-top: 30px;
}

.real-estate-section {
  color: #fff;
  background: var(--blue-900);
}

.real-estate-grid {
  display: grid;
  gap: clamp(58px, 9vw, 135px);
  grid-template-columns: 1fr 1fr;
}

.real-estate-section .section-label {
  color: var(--sky-300);
}

.real-estate-list {
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.real-estate-item {
  display: grid;
  gap: 20px;
  grid-template-columns: 46px 1fr;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.real-estate-item > span {
  color: var(--sky-300);
  font-size: 12px;
  font-weight: 760;
}

.real-estate-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 680;
}

.real-estate-item p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

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

.process-card {
  min-height: 240px;
  padding: 28px 28px 0 0;
  border-right: 1px solid var(--line);
}

.process-card:not(:first-child) {
  padding-left: 28px;
}

.process-card:last-child {
  border-right: 0;
}

.process-card > span {
  display: block;
  margin-bottom: 44px;
  color: var(--sky-500);
  font-size: 12px;
  font-weight: 760;
}

.process-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 680;
}

.process-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.profile-preview {
  background: var(--paper);
}

.profile-grid {
  display: grid;
  align-items: center;
  gap: clamp(58px, 9vw, 135px);
  grid-template-columns: .82fr 1.18fr;
}

.profile-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .28), transparent 54%),
    linear-gradient(140deg, #eaf4fb 0 48%, #d6e8f5 48% 72%, #c4dcef 72%);
}

.profile-visual::before {
  position: absolute;
  left: 15%;
  top: 10%;
  width: 70%;
  height: 79%;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50% 50% 10px 10px;
  background: rgba(255, 255, 255, .23);
  content: "";
}

.profile-visual::after {
  position: absolute;
  right: -16%;
  bottom: 10%;
  width: 72%;
  height: 28%;
  transform: rotate(-10deg);
  border: 1px solid rgba(21, 63, 108, .13);
  background: rgba(21, 63, 108, .08);
  content: "";
}

.profile-visual-caption {
  position: absolute;
  z-index: 2;
  left: 8%;
  bottom: 8%;
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 720;
}

.profile-table {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--ink);
}

.profile-row {
  display: grid;
  gap: 24px;
  grid-template-columns: 120px 1fr;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.profile-row dt {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
}

.profile-row dd {
  margin: 0;
  font-size: 15px;
}

.contact-cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(77, 139, 201, .21), transparent 28%),
    linear-gradient(135deg, rgba(240, 247, 253, .98), rgba(227, 240, 250, .82));
}

.contact-panel {
  display: grid;
  align-items: end;
  gap: 52px;
  grid-template-columns: 1.18fr .82fr;
  padding: clamp(42px, 7vw, 88px);
  border: 1px solid rgba(159, 197, 228, .72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-panel-info {
  justify-self: end;
  width: min(100%, 400px);
  padding-left: 30px;
  border-left: 1px solid var(--sky-300);
}

.contact-phone {
  display: block;
  color: var(--blue-900);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 660;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.contact-panel-info p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* 서브페이지 */

.page-hero {
  position: relative;
  overflow: clip;
  padding-top: calc(var(--header-height) + clamp(44px, 5vw, 70px));
  padding-bottom: clamp(72px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  right: -5%;
  bottom: -78%;
  width: min(47vw, 670px);
  aspect-ratio: 1;
  border: 1px solid rgba(77, 139, 201, .13);
  border-radius: 50%;
  content: "";
}

.page-hero-grid {
  display: grid;
  align-items: end;
  gap: 50px;
  grid-template-columns: 1.14fr .86fr;
}

.page-hero-description {
  max-width: 630px;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.84;
}

.anchor-nav {
  position: sticky;
  z-index: 40;
  top: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.anchor-list {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  scrollbar-width: none;
}

.anchor-list::-webkit-scrollbar {
  display: none;
}

.anchor-list a {
  position: relative;
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.anchor-list a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  background: var(--blue-700);
  transition: transform .25s var(--ease);
  content: "";
}

.anchor-list a:hover,
.anchor-list a.is-active {
  color: var(--blue-900);
}

.anchor-list a:hover::after,
.anchor-list a.is-active::after {
  transform: scaleX(1);
}

.detail-section {
  border-bottom: 1px solid var(--line);
}

.detail-grid {
  display: grid;
  gap: clamp(56px, 9vw, 138px);
  grid-template-columns: .76fr 1.24fr;
}

.detail-heading {
  position: sticky;
  top: 154px;
  align-self: start;
}

.detail-heading .number-label {
  margin-bottom: 18px;
}

.detail-copy > .lead {
  margin-top: 0;
}

.detail-list {
  display: grid;
  margin-top: 46px;
  border-top: 1px solid var(--ink);
}

.detail-item {
  display: grid;
  gap: 18px;
  grid-template-columns: 46px 1fr;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.detail-item span {
  color: var(--sky-500);
  font-size: 12px;
  font-weight: 760;
}

.detail-item strong {
  font-size: 17px;
  font-weight: 650;
}

.note-panel {
  margin-top: 48px;
  padding: clamp(30px, 5vw, 50px);
  border: 1px solid var(--sky-200);
  background: var(--sky-050);
}

.note-panel h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 680;
}

.note-panel ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.note-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

.note-panel li::before {
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sky-500);
  content: "";
}

.business-service {
  background: var(--paper);
}

.business-grid {
  display: grid;
  gap: clamp(55px, 8vw, 118px);
  grid-template-columns: 1fr 1fr;
}

.ledger {
  border-top: 1px solid var(--ink);
}

.ledger-row {
  display: grid;
  gap: 22px;
  grid-template-columns: 50px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-row span {
  color: var(--sky-500);
  font-size: 12px;
  font-weight: 760;
}

.ledger-row strong {
  font-size: 18px;
  font-weight: 640;
}

.tax-return-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 46px;
}

.tax-return-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.tax-return-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 680;
}

.tax-return-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.appeal-section {
  position: relative;
  overflow: hidden;
}

.appeal-number {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 4%;
  color: rgba(77, 139, 201, .07);
  font-size: clamp(220px, 32vw, 520px);
  font-weight: 280;
  line-height: 1;
  letter-spacing: -.1em;
}

.appeal-grid {
  display: grid;
  gap: clamp(58px, 9vw, 148px);
  grid-template-columns: 1.15fr .85fr;
}

.appeal-list {
  border-top: 1px solid var(--ink);
}

.appeal-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.appeal-list strong {
  font-size: 16px;
  font-weight: 640;
}

.appeal-list span {
  color: var(--sky-500);
  font-size: 12px;
  font-weight: 760;
}

/* 소개·상담 페이지 */

.about-profile-grid {
  display: grid;
  align-items: center;
  gap: clamp(58px, 9vw, 138px);
  grid-template-columns: .82fr 1.18fr;
}

.about-profile-visual {
  min-height: 700px;
}

.about-name {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.052em;
}

.about-role {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 720;
}

.credentials-section {
  background: var(--paper);
}

.credentials-grid {
  display: grid;
  gap: clamp(56px, 9vw, 138px);
  grid-template-columns: .72fr 1.28fr;
}

.credentials-table {
  border-top: 1px solid var(--ink);
}

.credentials-row {
  display: grid;
  gap: 32px;
  grid-template-columns: 150px 1fr;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.credentials-row dt {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 720;
}

.credentials-row dd {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 17px;
}

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

.consult-grid {
  display: grid;
  gap: clamp(56px, 8vw, 118px);
  grid-template-columns: .86fr 1.14fr;
}

.consult-table {
  border-top: 1px solid var(--blue-900);
}

.consult-row {
  display: grid;
  gap: 28px;
  grid-template-columns: 135px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid rgba(35, 93, 149, .2);
}

.consult-row dt {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
}

.consult-row dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.consult-row a {
  color: var(--blue-900);
  font-weight: 680;
}

.faq-list {
  margin-top: 54px;
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 660;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: 5px;
  font-size: 21px;
  font-weight: 300;
  content: "+";
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 840px;
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.location-section {
  background: var(--paper);
}

.location-grid {
  display: grid;
  gap: clamp(48px, 7vw, 100px);
  grid-template-columns: .72fr 1.28fr;
}

.location-copy {
  align-self: center;
}

.map-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: #edf4f9;
  background-image:
    linear-gradient(rgba(35, 93, 149, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 93, 149, .08) 1px, transparent 1px);
  background-size: 54px 54px;
}

.map-visual::before,
.map-visual::after {
  position: absolute;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 30px rgba(21, 63, 108, .07);
  content: "";
}

.map-visual::before {
  left: -5%;
  top: 21%;
  width: 110%;
  height: 62px;
  transform: rotate(-8deg);
}

.map-visual::after {
  left: 33%;
  top: -8%;
  width: 68px;
  height: 120%;
  transform: rotate(14deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  left: 57%;
  top: 48%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 50% 50% 50% 4px;
  background: var(--blue-900);
  box-shadow: 0 0 0 11px rgba(21, 63, 108, .12);
}

.map-card {
  position: absolute;
  z-index: 3;
  left: calc(57% + 26px);
  top: calc(48% - 34px);
  width: min(260px, 56%);
  padding: 16px 18px;
  border: 1px solid rgba(159, 197, 228, .76);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 40px rgba(21, 63, 108, .09);
  font-size: 13px;
  line-height: 1.58;
}

.map-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-900);
  font-size: 14px;
}

/* 푸터 */

.site-footer {
  padding: 68px 0 118px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-top {
  display: grid;
  gap: 52px;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 46px;
}

.footer-brand .brand {
  margin-bottom: 22px;
}

.footer-description {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-info {
  display: grid;
  gap: 10px;
  justify-self: end;
  min-width: min(100%, 490px);
  color: var(--muted);
  font-size: 14px;
}

.footer-info a:hover {
  color: var(--blue-900);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}
.mobile-dock {
  position: fixed;
  z-index: 100;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: none;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;

  background: rgba(240, 247, 253, 0.62);

  box-shadow:
    0 14px 38px rgba(21, 63, 108, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);

  transition:
    opacity 0.25s ease,
    transform 0.25s var(--ease);
}

.mobile-dock.is-hidden,
.menu-open .mobile-dock {
  opacity: 0;
  transform: translateY(130%);
  pointer-events: none;
}

.mobile-dock a {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 720;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.mobile-dock a:first-child {
  flex: 1;
  color: var(--blue-900);

  border-right: 1px solid rgba(159, 197, 228, 0.42);
  background: rgba(255, 255, 255, 0.48);
}

.mobile-dock a:last-child {
  flex: 1;
  color: #fff;

  background: linear-gradient(
    135deg,
    rgba(21, 63, 108, 0.97),
    rgba(35, 93, 149, 0.92)
  );
}

.mobile-dock a:first-child:active {
  background: rgba(255, 255, 255, 0.76);
}

.mobile-dock a:last-child:active {
  background: rgba(14, 49, 85, 0.98);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}

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

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }



/* =========================================================
   소프트 글라스 보완
   정보 영역은 선명하게 유지하고 핵심 인터페이스에만 적용
   ========================================================= */

:root {
  --glass-white: rgba(255, 255, 255, .72);
  --glass-soft: rgba(240, 247, 253, .62);
  --glass-line: rgba(255, 255, 255, .76);
  --glass-blue-line: rgba(159, 197, 228, .48);
  --glass-shadow: 0 20px 52px rgba(21, 63, 108, .085);
  --glass-shadow-hover: 0 25px 60px rgba(21, 63, 108, .12);
}

/* 전체 배경은 깨끗하게 두고 아주 약한 깊이감만 추가 */
body {
  background:
    radial-gradient(circle at 94% 5%, rgba(204, 226, 243, .24), transparent 29rem),
    var(--white);
}

/* 로고와 메뉴 비율 정돈 */
.brand-symbol {
  width: 38px;
  height: 38px;
  border-color: rgba(159, 197, 228, .76);
  background: rgba(255, 255, 255, .48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.brand-name {
  font-size: 20px;
}

.desktop-nav > a:not(.header-contact) {
  font-size: 15px;
}

/* 헤더는 가장 얇은 글라스 */
.site-header {
  border-bottom-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .72);
  box-shadow:
    0 8px 28px rgba(21, 63, 108, .045),
    inset 0 -1px 0 rgba(159, 197, 228, .16);
  backdrop-filter: blur(20px) saturate(132%);
  -webkit-backdrop-filter: blur(20px) saturate(132%);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(189, 204, 216, .54);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 34px rgba(21, 63, 108, .065);
}

/* 버튼은 선명하되 표면감만 부드럽게 */
.button,
.header-contact {
  border-radius: 10px;
}

.button-primary,
.header-contact {
  background:
    linear-gradient(135deg, rgba(21, 63, 108, .98), rgba(35, 93, 149, .94));
  box-shadow:
    0 12px 28px rgba(21, 63, 108, .14),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

.button-primary:hover,
.header-contact:hover {
  background:
    linear-gradient(135deg, rgba(14, 49, 85, 1), rgba(31, 83, 132, .98));
  box-shadow:
    0 16px 34px rgba(21, 63, 108, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

.button-secondary {
  border-color: var(--glass-blue-line);
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 히어로에만 글라스를 조금 더 분명하게 */
.hero-board-main {
  border-color: var(--glass-line);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .67), rgba(227, 240, 250, .28)),
    linear-gradient(142deg, #f2f8fd 0 45%, #dcebf6 45% 72%, #cbdfee 72%);
  box-shadow:
    0 28px 68px rgba(21, 63, 108, .11),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.hero-consultation {
  border-color: var(--glass-line);
  background: rgba(255, 255, 255, .66);
  box-shadow:
    0 18px 46px rgba(21, 63, 108, .115),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(20px) saturate(136%);
  -webkit-backdrop-filter: blur(20px) saturate(136%);
}

/* 연한 배경 섹션은 평면 그라데이션으로만 깊이 추가 */
.greeting-section,
.profile-preview,
.credentials-section,
.business-service,
.location-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(204, 226, 243, .28), transparent 28rem),
    linear-gradient(145deg, var(--paper), var(--sky-050));
}

.service-area {
  background:
    radial-gradient(circle at 8% 12%, rgba(227, 240, 250, .48), transparent 28rem),
    var(--white);
}

/* 서비스 카드만 얇은 글라스. 본문 표와 목록은 평면 유지 */
.service-card {
  border-color: rgba(159, 197, 228, .38);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow:
    0 16px 40px rgba(21, 63, 108, .055),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform .3s var(--ease),
    border-color .3s ease,
    box-shadow .3s ease,
    background-color .3s ease;
}

.service-card:nth-child(4),
.service-card:nth-child(6) {
  background: rgba(240, 247, 253, .72);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 139, 201, .46);
  background: rgba(255, 255, 255, .84);
  box-shadow:
    var(--glass-shadow-hover),
    inset 0 1px 0 rgba(255, 255, 255, .96);
}

/* 세부 설명 박스는 글라스보다 읽기 쉬운 반투명 면 */
.note-panel,
.tax-return-card {
  border-color: rgba(159, 197, 228, .42);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  box-shadow:
    0 14px 34px rgba(21, 63, 108, .05),
    inset 0 1px 0 rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 프로필 비주얼은 유리 프레임처럼 */
.profile-visual {
  border-color: rgba(255, 255, 255, .76);
  border-radius: 18px;
  box-shadow:
    0 24px 60px rgba(21, 63, 108, .095),
    inset 0 1px 0 rgba(255, 255, 255, .86);
}

/* 상담 유도 영역은 두 번째로 강한 글라스 */
.contact-panel {
  border-color: var(--glass-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(240, 247, 253, .48));
  box-shadow:
    0 24px 62px rgba(21, 63, 108, .1),
    inset 0 1px 0 rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

/* 상단 보조 메뉴와 모바일 메뉴 */
.anchor-nav {
  border-bottom-color: rgba(189, 204, 216, .56);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 24px rgba(21, 63, 108, .035);
  backdrop-filter: blur(18px) saturate(128%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
}

.mobile-menu {
  background: rgba(248, 251, 254, .9);
  backdrop-filter: blur(22px) saturate(128%);
  -webkit-backdrop-filter: blur(22px) saturate(128%);
}

/* 지도 정보 카드 */
.map-card {
  border-color: rgba(255, 255, 255, .8);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  box-shadow:
    0 16px 40px rgba(21, 63, 108, .09),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* 오시는 길 전용 정보 */
.location-info-list {
  display: grid;
  margin: 34px 0 0;
  border-top: 1px solid var(--ink);
}

.location-info-list > div {
  display: grid;
  gap: 22px;
  grid-template-columns: 110px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.location-info-list dt {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
}

.location-info-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.location-info-list a {
  color: var(--blue-900);
  font-weight: 700;
}

/* 모바일 상담 바는 그림자를 살짝 줄임 */
.mobile-dock {
  border-color: rgba(255, 255, 255, .76);
  background: rgba(240, 247, 253, .64);
  box-shadow:
    0 13px 34px rgba(21, 63, 108, .14),
    inset 0 1px 0 rgba(255, 255, 255, .86);
  backdrop-filter: blur(19px) saturate(136%);
  -webkit-backdrop-filter: blur(19px) saturate(136%);
}

.mobile-dock a:last-child {
  background:
    linear-gradient(135deg, rgba(21, 63, 108, .97), rgba(35, 93, 149, .92));
}

@media (max-width: 680px) {
  .brand {
    gap: 11px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 18px;
    letter-spacing: -.035em;
  }

  .service-card {
    border-radius: 12px;
    box-shadow:
      0 13px 32px rgba(21, 63, 108, .055),
      inset 0 1px 0 rgba(255, 255, 255, .88);
  }

  .hero-board-main {
    border-radius: 22px 22px 10px 22px;
  }

  .profile-visual {
    border-radius: 14px;
  }

  .location-info-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 1100px) {
  :root { --header-height: 76px; }

  .desktop-nav { gap: 20px; }

  .hero-grid {
    grid-template-columns: 1fr .88fr;
    gap: 48px;
  }

  .hero-board { min-height: 560px; }

  .page-hero-grid,
  .detail-grid,
  .credentials-grid,
  .consult-grid {
    gap: 72px;
  }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-menu { display: block; }

  .hero-grid,
  .greeting-grid,
  .section-heading-row,
  .real-estate-grid,
  .profile-grid,
  .contact-panel,
  .page-hero-grid,
  .detail-grid,
  .business-grid,
  .appeal-grid,
  .about-profile-grid,
  .credentials-grid,
  .business-card-grid,
  .consult-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero-board { min-height: 610px; }

  .greeting-side {
    grid-template-columns: .58fr 1fr;
    align-items: start;
  }

  .service-card:nth-child(n) {
    grid-column: span 6;
  }

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

  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(3),
  .process-card:nth-child(4) { border-top: 1px solid var(--line); }

  .detail-heading {
    position: static;
    max-width: 660px;
  }

  .profile-visual,
  .about-profile-visual {
    min-height: 560px;
  }

  .page-hero-description {
    max-width: 720px;
    justify-self: start;
  }

  .footer-top { grid-template-columns: 1fr; }
  .footer-info { justify-self: start; }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
    --header-height: 70px;
  }

  body { font-size: 15px; }

  .section { padding-block: 88px; }
  .section-compact { padding-block: 70px; }

  .brand-symbol {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .brand-name { font-size: 19px; }

  .section-label {
    margin-bottom: 19px;
    font-size: 12px;
  }

  .display-title {
    font-size: clamp(40px, 12.2vw, 52px);
    line-height: 1.08;
  }

  .page-title { font-size: clamp(38px, 11vw, 48px); }
  .section-title { font-size: clamp(31px, 9vw, 40px); }
  .card-title { font-size: clamp(25px, 7.3vw, 32px); }

  .lead,
  .body-copy,
  .hero-description,
  .greeting-copy p {
    font-size: 16px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .button { min-height: 54px; }

  .home-hero {
    padding-top: calc(var(--header-height) + 26px);
    padding-bottom: 76px;
  }

  .home-hero::before {
    width: 92vw;
    right: -42vw;
  }

  .hero-board { min-height: 480px; }

  .hero-board-main {
    inset: 0;
    border-radius: 22px 22px 8px 22px;
  }

  .hero-board-word {
    right: 7%;
    top: 7%;
    font-size: 38px;
  }

  .hero-board-caption {
    left: 8%;
    bottom: 26%;
    max-width: 190px;
    font-size: 12px;
  }

  .hero-consultation {
    left: 14px;
    right: 14px;
    bottom: -30px;
    width: auto;
    padding: 20px;
  }

  .hero-phone { font-size: 25px; }

  .focus-strip { margin-top: 30px; }

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

  .focus-item {
    min-height: 96px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-item:last-child { border-bottom: 0; }

  .greeting-side {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .greeting-word { font-size: 88px; }

  .greeting-lines {
    width: 100%;
    max-width: 310px;
  }

  .service-card:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 310px;
    padding: 34px 22px;
  }

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

  .process-card,
  .process-card:not(:first-child) {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-card:nth-child(3),
  .process-card:nth-child(4) {
    border-top: 0;
  }

  .process-card > span { margin-bottom: 18px; }

  .profile-visual,
  .about-profile-visual {
    min-height: 470px;
  }

  .profile-row,
  .credentials-row,
  .consult-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .contact-panel {
    gap: 36px;
    padding: 34px 22px;
    border-radius: 16px;
  }

  .contact-panel-info {
    justify-self: start;
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--sky-300);
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 64px;
  }

  .page-hero-grid { gap: 28px; }

  .anchor-nav { top: 69px; }
  .anchor-list { gap: 24px; }

  .anchor-list a {
    min-height: 56px;
    font-size: 12px;
  }

  .detail-item {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .tax-return-grid { grid-template-columns: 1fr; }

  .ledger-row {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .business-card-frame {
    min-height: 290px;
    padding: 22px;
  }

  .faq-item summary {
    padding-right: 40px;
    font-size: 16px;
  }

  .map-visual { min-height: 410px; }

  .map-card {
    left: 12%;
    right: 12%;
    top: 61%;
    width: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-dock { display: flex; }

  .site-footer { padding-bottom: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* 전체 제목 크기 축소 */
.display-title {
  font-size: clamp(42px, 5vw, 58px);
}

.page-title {
  font-size: clamp(38px, 4.6vw, 60px);
}

.section-title {
  font-size: clamp(30px, 3.5vw, 48px);
}

.card-title {
  font-size: clamp(22px, 2.4vw, 32px);
}

.about-name {
  font-size: clamp(36px, 4.2vw, 54px);
}

/* 모바일 제목 크기 */
@media (max-width: 680px) {
  .display-title {
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 1.12;
  }

  .page-title {
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1.14;
  }

  .section-title {
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.2;
  }

  .card-title {
    font-size: clamp(22px, 6.3vw, 28px);
    line-height: 1.3;
  }

  .about-name {
    font-size: clamp(34px, 9vw, 42px);
  }
}

/* 설명글 크기 조정 */
.lead {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.82;
}

.body-copy {
  font-size: 16px;
  line-height: 1.84;
}

.hero-description {
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.8;
}

.page-hero-description {
  font-size: 17px;
  line-height: 1.82;
}

.greeting-copy p {
  font-size: 16px;
  line-height: 1.86;
}

.service-card p {
  font-size: 15px;
  line-height: 1.78;
}

.real-estate-item p,
.process-card p,
.tax-return-card p {
  font-size: 15px;
  line-height: 1.75;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.8;
}

.pc-only { display: block; } @media (max-width: 768px) { .pc-only { display: none; } }

