:root {
  --font-sans:
    "Manrope", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --ink: #05070b;
  --ink-soft: #252a33;
  --muted: #667085;
  --line: #d9dee8;
  --line-strong: #aeb7c5;
  --surface: #ffffff;
  --surface-alt: #f5f7fa;
  --navy: #071832;
  --navy-2: #102b52;
  --blue: #16508f;
  --blue-soft: #dce8f7;
  --kakao: #fee500;
  --shadow: 0 18px 50px rgba(7, 24, 50, 0.15);
  --container: min(1180px, calc(100vw - 40px));
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

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

.container,
.section-grid {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(174, 183, 197, 0.55);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(7, 24, 50, 0.08);
}

.header-inner {
  width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 56px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-text small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 24px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.kakao-btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.button .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke-width: 2;
}

.kakao-btn {
  background: var(--kakao);
  color: #1f1f1f;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition:
    transform 0.25s ease,
    top 0.25s ease;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.hero {
  position: relative;
  height: clamp(760px, 100vh, 90vh);
  min-height: 90vh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-slide,
.hero-slide img,
.cta-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img,
.cta-section > img {
  object-fit: cover;
  transform: scale(1.02);
  animation: imageBreath 14s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 9, 18, 0.62) 0%,
      rgba(7, 24, 50, 0.48) 42%,
      rgba(7, 24, 50, 0.18) 100%
    ),
    radial-gradient(
      circle at 12% 26%,
      rgba(47, 112, 184, 0.28),
      transparent 36%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  height: calc(100% - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 0;
  padding: 72px 0 72px;
}

.hero-content {
  max-width: 900px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: #89b9f4;
}

.hero-copy {
  display: none;
  min-height: 275px;
  margin-top: 10px;
}

.hero-copy.is-active {
  display: grid;
  align-content: start;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.13;
  font-weight: 700;
}

.hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.4vw, 14px);
  line-height: 1.72;
}

.hero-cta,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.button-primary:hover {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
}

.button-kakao {
  background: var(--kakao);
  color: #1f1f1f;
  border-color: var(--kakao);
}

.hero-cta .button-kakao {
  background: transparent;
  color: var(--surface-alt);
  border-color: var(--surface-alt);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
}

.slide-dot {
  width: 38px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.36);
}

.slide-dot.is-active {
  background: #fff;
}

.play-toggle {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.play-toggle:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

.play-toggle .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.hero-proof {
  align-self: stretch;
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-proof span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
}

.hero-proof::-webkit-scrollbar {
  display: none;
}

.hero-proof .icon {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  stroke-width: 1.75;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  transform: translateX(-50%);
}

.scroll-cue .mouse {
  position: relative;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.scroll-cue .mouse i {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
  animation: mouseWheel 1.6s ease-in-out infinite;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js [data-reveal].image-frame {
  transform: translate3d(0, 34px, 0) scale(0.985);
}

html.js [data-reveal].reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section {
  position: relative;
  padding: 116px 0;
  overflow: hidden;
}

.ambient-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -220px;
  top: -230px;
  background: radial-gradient(
    circle,
    rgba(22, 80, 143, 0.15),
    rgba(22, 80, 143, 0) 64%
  );
  transform: scale(1);
  animation: ambientPulse 11s ease-in-out infinite alternate;
  pointer-events: none;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
  min-width: 0;
}

.section-head.compact {
  margin-bottom: 32px;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.22;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

p {
  color: var(--ink-soft);
}

.section-head p,
.about-copy > p,
.representative-copy > p,
.process-copy > p,
.pricing-grid > div > p,
.faq-intro > p,
.cta-inner > p {
  font-size: 16px;
  color: var(--muted);
}

.hero-copy,
.about-copy,
.representative-copy,
.process-copy,
.pricing-grid > div,
.faq-intro,
.service-card,
.price-item,
.strength-card {
  min-width: 0;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.strength-card {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.strength-card.accent {
  background: var(--navy);
  color: #fff;
}

.strength-card.accent p,
.strength-card.accent .strength-index {
  color: rgba(255, 255, 255, 0.7);
}

.strength-index,
.service-tag,
.price-kicker {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.strength-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-section {
  background: #fff;
}

.about-grid,
.representative-grid,
.process-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 620px;
}

.image-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 900ms ease,
    filter 900ms ease;
}

.image-frame:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.04);
}

.image-frame.tall {
  height: 620px;
}

.overlay-frame {
  position: absolute;
  right: -28px;
  bottom: 36px;
  width: 48%;
  height: 265px;
  box-shadow: var(--shadow);
}

.answer-box {
  margin: 30px 0;
  padding: 24px;
  border-left: 4px solid var(--navy);
  background: var(--surface-alt);
}

.answer-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.answer-box p {
  margin-bottom: 0;
}

.check-list,
.service-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li,
.service-body li {
  position: relative;
  padding-left: 18px;
  margin: 12px 0;
  color: var(--ink-soft);
}

.check-list li::before,
.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 2px;
  background: var(--blue);
}

.representative-section,
.process-section,
.faq-section {
  background: var(--surface-alt);
}

.representative-grid .image-frame,
.process-grid .image-frame {
  height: 520px;
}

.fact-list {
  display: grid;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.fact-list div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.fact-list dd {
  margin: 0;
  font-weight: 700;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  background: #fff;
}

.service-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-alt);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 900ms ease,
    filter 900ms ease;
}

.service-card:hover img {
  transform: scale(1.045);
  filter: contrast(1.04) saturate(1.05);
}

.service-body {
  padding: 28px;
}

.service-body .service-tag {
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.service-body p {
  color: var(--muted);
}

.process-steps {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.process-steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.process-steps span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.process-steps h3,
.process-steps p {
  grid-column: 2;
}

.process-steps h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.process-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-section {
  background: #fff;
}

.pricing-head {
  max-width: 740px;
}

.pricing-block {
  margin-top: 44px;
}

.pricing-block + .pricing-block,
.consulting-price {
  margin-top: 28px;
}

.pricing-block-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.pricing-block-head span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.pricing-block-head strong {
  font-size: 20px;
  line-height: 1.25;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-item {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 24, 50, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.price-item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 45px rgba(7, 24, 50, 0.1);
}

.price-item.featured {
  background: var(--navy);
  color: #fff;
}

.price-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--blue-soft);
  color: var(--navy);
}

.price-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.7;
}

.price-item.featured .price-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.price-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.price-item.featured .price-kicker,
.price-item.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.price-item h3 {
  min-height: 44px;
  margin-bottom: 12px;
  font-size: clamp(24px, 2.2vw, 32px);
}

.price-item p {
  margin-bottom: 20px;
  color: var(--muted);
}

.price-item.featured ul li,
.price-item.featured .price-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.price-item ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.price-item.featured ul {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.price-item li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.price-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 2px;
  background: var(--blue);
}

.price-item.featured li::before {
  background: #fff;
}

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

.consulting-price article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.consulting-price .price-icon {
  margin-bottom: 0;
}

.consulting-price h3 {
  font-size: 24px;
}

.consulting-price p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-grid {
  align-items: start;
}

.faq-image {
  height: 330px;
  margin-top: 34px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

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

.faq-item button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
  font-size: 18px;
}

.faq-item button span {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.faq-item button span::after {
  transform: rotate(90deg);
}

.faq-item.is-open button span::after {
  transform: rotate(0);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-panel > p {
  overflow: hidden;
  margin-bottom: 0;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  padding-bottom: 24px;
}

.cta-section {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 10, 20, 0.92),
      rgba(7, 24, 50, 0.76) 54%,
      rgba(7, 24, 50, 0.24)
    ),
    radial-gradient(circle at 18% 60%, rgba(22, 80, 143, 0.32), transparent 34%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-inner h2 {
  color: #fff;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.floating-contact {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 80;
  display: block;
}

.floating-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-width: 112px;
  min-height: 44px;
  padding: 0 16px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 24, 50, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.floating-contact a:not(.floating-top) {
  display: none;
}

.floating-contact .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.floating-contact .floating-kakao {
  background: var(--kakao);
  color: #1f1f1f;
}

.floating-contact .floating-top {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(4, 12, 25, 0.96), rgba(16, 43, 82, 0.94));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 38px rgba(5, 7, 11, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.floating-contact .floating-top:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 22px 46px rgba(5, 7, 11, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-contact .floating-top .icon {
  width: 18px;
  height: 18px;
}

.site-footer {
  background: #05070b;
  color: #fff;
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 58px;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.footer-brand .brand-text small,
.footer-desc,
.footer-links a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.62);
}

.footer-desc {
  max-width: 390px;
  margin: 24px 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.social-links .icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.policy-main {
  padding-top: var(--header-h);
}

.policy-hero {
  padding: 96px 0 54px;
  background: var(--navy);
  color: #fff;
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.1;
}

.policy-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.75);
}

.policy-content {
  padding: 72px 0 108px;
}

.policy-content article {
  max-width: 860px;
}

.policy-content h2 {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 28px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content ul {
  padding-left: 20px;
  color: var(--ink-soft);
}

.policy-content li {
  margin: 8px 0;
}

@keyframes imageBreath {
  from {
    transform: scale(1.02);
    filter: saturate(0.96) contrast(1);
  }
  to {
    transform: scale(1.075);
    filter: saturate(1.08) contrast(1.05);
  }
}

@keyframes ambientPulse {
  from {
    opacity: 0.55;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes mouseWheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

@media (max-width: 1024px) {
  :root {
    --container: min(calc(100vw - 32px), 900px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 46px;
    background: var(--navy);
    border-color: var(--navy);
  }

  .menu-toggle span {
    background: #fff;
  }

  .site-header.is-open .mobile-nav {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 28px;
  }

  .hero-proof {
    max-width: none;
  }

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

  .consulting-price {
    grid-template-columns: 1fr;
  }

  .strength-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .representative-grid,
  .process-grid,
  .pricing-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .representative-grid .image-frame {
    order: -1;
  }

  .image-stack {
    min-height: auto;
  }

  .image-frame.tall {
    height: 500px;
  }

  .overlay-frame {
    position: relative;
    right: auto;
    bottom: auto;
    width: 72%;
    height: 230px;
    margin: -96px 0 0 auto;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(calc(100vw - 30px), 620px);
    --header-h: 58px;
  }

  body {
    line-height: 1.6;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .header-inner {
    gap: 12px;
  }

  .brand-mark {
    width: 42px;
    height: 32px;
    font-size: 9px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    display: none;
  }

  .kakao-btn {
    display: none;
  }

  /* ---------- Hero (compact) ---------- */
  .hero {
    height: 600px;
    min-height: 600px;
  }

  .hero-inner {
    height: calc(600px - var(--header-h));
    padding: 40px 0 44px;
  }

  .eyebrow {
    margin-bottom: 9px;
  }

  .hero-copy {
    min-height: 200px;
    margin-top: 4px;
  }

  .hero h1 {
    font-size: clamp(23px, 7vw, 32px);
    line-height: 1.22;
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  .hero p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  .hero-cta,
  .cta-actions {
    margin-top: 20px;
    gap: 8px;
  }

  .hero-controls {
    margin-top: 16px;
  }

  h2,
  h3,
  p,
  .faq-item button {
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  h2 {
    margin-bottom: 11px;
    font-size: clamp(21px, 6vw, 26px);
    line-height: 1.28;
  }

  h3 {
    font-size: 16px;
  }

  .hero-proof,
  .scroll-cue {
    display: none;
  }

  .button {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }

  /* ---------- Section rhythm ---------- */
  .section {
    padding: 44px 0;
  }

  .section-head,
  .section-head.compact {
    margin-bottom: 20px;
  }

  .section-head p,
  .about-copy > p,
  .representative-copy > p,
  .process-copy > p,
  .faq-intro > p,
  .cta-inner > p {
    font-size: 13.5px;
  }

  .strength-index,
  .service-tag,
  .price-kicker {
    margin-bottom: 11px;
    font-size: 11px;
  }

  /* ---------- Strength cards ---------- */
  .strength-card {
    min-height: auto;
    padding: 20px;
  }

  .strength-card h3 {
    font-size: 16px;
  }

  .strength-card p,
  .service-body p,
  .price-item p,
  .process-steps p,
  .consulting-price p,
  .answer-box p {
    font-size: 13px;
  }

  /* ---------- About ---------- */
  .about-grid {
    gap: 22px;
  }

  .image-frame.tall,
  .representative-grid .image-frame,
  .process-grid .image-frame {
    height: 290px;
  }

  .overlay-frame {
    width: 84%;
    height: 165px;
  }

  .answer-box {
    margin: 18px 0;
    padding: 18px;
  }

  .answer-box strong {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .check-list li,
  .service-body li,
  .price-item li {
    margin: 9px 0;
    font-size: 13px;
  }

  /* ---------- Services ---------- */
  .service-card figure {
    aspect-ratio: 16 / 10;
  }

  .service-body {
    padding: 20px;
  }

  .service-body h3 {
    font-size: 17px;
  }

  .service-body .service-tag {
    margin-bottom: 13px;
  }

  /* ---------- Representative ---------- */
  .fact-list {
    margin-top: 22px;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 14px 0;
  }

  .fact-list dd {
    font-size: 14px;
  }

  /* ---------- Process ---------- */
  .process-steps {
    margin-top: 22px;
  }

  .process-steps article {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .process-steps h3,
  .process-steps p {
    grid-column: auto;
  }

  .process-steps h3 {
    font-size: 16px;
  }

  /* ---------- Pricing ---------- */
  .pricing-block {
    margin-top: 26px;
  }

  .pricing-block-head {
    display: grid;
    align-items: start;
    gap: 4px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .pricing-block-head span {
    font-size: 14px;
  }

  .pricing-block-head strong {
    font-size: 16px;
  }

  .price-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .price-item {
    min-height: auto;
    padding: 22px;
  }

  .price-item h3 {
    min-height: auto;
    margin-bottom: 10px;
    font-size: 22px;
  }

  .price-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }

  .price-icon .icon {
    width: 24px;
    height: 24px;
  }

  .price-item ul {
    padding-top: 14px;
  }

  .consulting-price {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .consulting-price article {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    min-height: auto;
    padding: 20px;
  }

  .consulting-price h3 {
    font-size: 18px;
  }

  .pricing-note {
    font-size: 13px;
  }

  /* ---------- FAQ ---------- */
  .faq-image {
    height: 210px;
    margin-top: 22px;
  }

  .faq-item button {
    padding: 17px 0;
    font-size: 15px;
  }

  .faq-panel > p {
    font-size: 13.5px;
  }

  /* ---------- CTA ---------- */
  .cta-section {
    min-height: 460px;
  }

  /* ---------- Floating contact bar ---------- */
  .floating-contact {
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(7, 24, 50, 0.12);
    box-shadow: 0 -14px 36px rgba(7, 24, 50, 0.14);
    backdrop-filter: blur(14px);
  }

  .floating-contact a,
  .floating-contact a:not(.floating-top) {
    display: inline-flex;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13.5px;
    box-shadow: none;
  }

  .floating-contact .floating-top {
    display: none;
  }

  .floating-contact .icon {
    width: 17px;
    height: 17px;
  }

  /* ---------- Footer ---------- */
  .site-footer {
    padding: 46px 0 22px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 34px;
  }
}

/* ===================================================================
   Mobile card slider (dots + arrows + autoplay + infinite loop)
   Built by app.js only at <= 720px; hidden/removed on desktop.
   =================================================================== */
@media (max-width: 720px) {
  .m-slider {
    position: relative;
  }

  .m-slider-viewport {
    overflow: hidden;
  }

  .m-slider-track {
    display: flex;
    will-change: transform;
    touch-action: pan-y;
  }

  .m-slider-track > * {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .m-slider-track > .strength-card,
  .m-slider-track > .service-card,
  .m-slider-track > .price-item {
    height: auto;
    border: 1px solid var(--line);
    background: #fff;
  }

  .m-slider-track > .strength-card.accent,
  .m-slider-track > .price-item.featured {
    border-color: transparent;
    background: var(--navy);
  }

  .m-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
  }

  .m-arrow {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(7, 24, 50, 0.1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .m-arrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }

  .m-prev::before {
    transform: rotate(135deg);
    margin-left: 3px;
  }

  .m-next::before {
    transform: rotate(-45deg);
    margin-right: 3px;
  }

  .m-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
  }

  .m-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 24, 50, 0.22);
    transition:
      width 0.25s ease,
      background 0.25s ease;
  }

  .m-dot.is-active {
    width: 20px;
    border-radius: 4px;
    background: var(--navy);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Mobile hero focus, hide hero buttons, footer trim ===== */
@media (max-width: 720px) {
  /* hero: hide CTA buttons (floating bar covers this) */
  .hero-cta {
    display: none;
  }

  /* hero: keep people in frame + readable bottom gradient */
  .hero-slide img {
    object-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(3, 9, 18, 0.88) 0%,
      rgba(6, 18, 40, 0.55) 34%,
      rgba(7, 24, 50, 0.14) 66%,
      rgba(7, 24, 50, 0.04) 100%
    );
  }

  .hero-copy {
    min-height: 170px;
  }

  /* footer: hide sitemap + policy columns on mobile */
  .footer-links {
    display: none;
  }
}
