/* =========================================================================
   ONE피부과의원 — Stylesheet
   Design language: Wanted Montage 기반 (Pretendard / 화이트+블루 / 정제된 여백)
   ========================================================================= */

/* ---- Pretendard (CDN) ---- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* ---- Design tokens ---- */
:root {
  --blue: #1c5fe0;
  --blue-strong: #1448b0;
  --blue-deep: #0e3f9e;
  --blue-soft: #5b92f5;
  --blue-tint: #eaf1ff;
  --blue-tint-2: #f4f8ff;
  --ice: #eef4ff;
  --navy: #0a2350;

  --ink: #17181a; /* label normal  */
  --ink-2: #44474d; /* label neutral */
  --ink-3: #82868e; /* label alt     */
  --ink-4: #aab0ba; /* assistive     */

  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --line: rgba(18, 28, 54, 0.09);
  --line-2: rgba(18, 28, 54, 0.14);
  --white: #fff;

  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --sh-sm: 0 2px 10px rgba(16, 40, 90, 0.06);
  --sh: 0 14px 44px rgba(16, 40, 90, 0.1);
  --sh-blue: 0 16px 38px rgba(28, 95, 224, 0.3);

  --maxw: 1180px;
  --gut: 24px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- layout helpers ---- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section {
  padding: 104px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.s-head {
  max-width: 760px;
  margin-bottom: 52px;
}
.s-head.center {
  margin-inline: auto;
  text-align: center;
}
.s-title {
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
}
.s-title em {
  color: var(--blue);
  font-style: normal;
}
.s-desc {
  margin-top: 18px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.75;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 54px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s;
  white-space: nowrap;
}
.btn svg {
  width: 19px;
  height: 19px;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn--primary:hover {
  background: var(--blue-strong);
  transform: translateY(-2px);
}
.btn--kakao {
  background: #fee500;
  color: #1a1a1a;
}
.btn--kakao:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(254, 229, 0, 0.4);
}
.btn--ghost {
  background: #fff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--blue);
  transform: translateY(-2px);
}
.btn--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}
.btn--light:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
.btn--sm {
  height: 44px;
  padding: 0 20px;
  font-size: 14.5px;
}
.btn--block {
  width: 100%;
}

/* =======================================================================
   Header
   ======================================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(16, 40, 90, 0.05);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  position: relative;
  box-shadow: var(--sh-blue);
}
.brand .mark::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-soft);
}
.brand b {
  font-weight: 800;
}
.brand span {
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s var(--ease);
}
.nav a:hover {
  color: var(--ink);
}
.nav a:hover::after {
  width: 100%;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta {
  display: none;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =======================================================================
   Hero
   ======================================================================= */
.hero {
  position: relative;
  min-height: 83svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  background-size: cover;
  background-position: center;
}
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 15, 15, 0.45) 0%,
    rgba(25, 25, 25, 0.3) 46%,
    rgba(35, 35, 35, 0.15) 100%
  );
}
.hero__slide.active {
  opacity: 1;
}
.hero__slide .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__slide::after {
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--header-h);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero__eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fb0ff;
  box-shadow: 0 0 0 4px rgba(127, 176, 255, 0.3);
}
.hero h1 {
  font-size: clamp(32px, 5.4vw, 62px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  max-width: 18ch;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(3, 12, 32, 0.45);
}
.hero h1 em {
  font-style: normal;
  color: #cfe0ff;
  text-shadow: 0 2px 16px rgba(3, 12, 32, 0.6);
}
.hero__sub {
  margin-top: 24px;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 500;
  color: #eaf1ff;
  max-width: 46ch;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(3, 12, 32, 0.45);
}
.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__controls {
  position: absolute;
  left: var(--gut);
  right: var(--gut);
  bottom: 34px;
  z-index: 3;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__dots {
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 38px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
  position: relative;
}
.hero__dot.active {
  background: rgba(255, 255, 255, 0.4);
}
.hero__dot .fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: #fff;
  border-radius: 4px;
}
.hero__dot.active .fill {
  width: 100%;
  transition: width 4s linear;
}
.hero__dot.paused .fill {
  transition: none;
}
.hero__play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.hero__play:hover {
  background: rgba(255, 255, 255, 0.26);
}
.hero__play svg {
  width: 16px;
  height: 16px;
}
.hero__scroll {
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.hero__scroll:hover {
  color: #fff;
}
.hero__scroll-arrow {
  display: inline-block;
  animation: scrollBounce 1.8s var(--ease) infinite;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* =======================================================================
   Quick answer (AEO) strip
   ======================================================================= */
.qa {
  background: var(--blue-deep);
  color: #fff;
  padding: 0;
}
.qa__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.qa__item {
  padding: 30px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.qa__item:last-child {
  border-right: none;
}
.qa__num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.qa__num span {
  color: #9fc0ff;
  font-size: 18px;
}
.qa__lbl {
  margin-top: 6px;
  font-size: 14px;
  color: #c7d6f5;
  font-weight: 500;
}

/* =======================================================================
   Intro (병원소개)
   ======================================================================= */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro__media {
  position: relative;
  padding-bottom: 18px;
  padding-right: 18px;
}
.intro__media .big {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.intro__media .small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  border: 6px solid #fff;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.intro__points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.intro__points li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.intro__points .ck {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.intro__points .ck svg {
  width: 13px;
  height: 13px;
}
@media (max-width: 980px) {
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .intro__media {
    max-width: 460px;
  }
}

/* =======================================================================
   Advantages
   ======================================================================= */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.adv {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    border-color 0.3s;
}
.adv:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: transparent;
}
.adv__ico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--blue-tint);
  color: var(--blue);
}
.adv__ico svg {
  width: 30px;
  height: 30px;
}
.adv h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.adv p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* =======================================================================
   Services
   ======================================================================= */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
}
.svc__img {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
}
.svc__body {
  padding: 30px 30px 34px;
}
.svc__kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  text-transform: uppercase;
}
.svc__body h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 8px 0 12px;
}
.svc__body > p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.svc__tags span {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-strong);
  background: var(--blue-tint-2);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: var(--r-pill);
}

/* =======================================================================
   Process
   ======================================================================= */
.proc {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.proc::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(91, 146, 245, 0.45),
    transparent 65%
  );
  transform-origin: 70% 30%;
  animation: procPulse 7s ease-in-out infinite;
}
@keyframes procPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}
.proc .s-title {
  color: #fff;
}
.proc .s-desc {
  color: #c3d2ee;
}
.proc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.step__n {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #7fb0ff;
}
.step__ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 16px 0 18px;
  background: rgba(127, 176, 255, 0.16);
  color: #bcd3ff;
}
.step__ico svg {
  width: 27px;
  height: 27px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
}
.step p {
  margin-top: 9px;
  font-size: 14px;
  color: #bcc9e6;
  line-height: 1.6;
}
.proc__note {
  margin-top: 34px;
  font-size: 14.5px;
  color: #aebbdb;
  text-align: center;
}
.proc__note b {
  color: #fff;
}

/* =======================================================================
   Trust
   ======================================================================= */
.trust__top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.trust__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh);
}
.trust__media img,
.trust__media svg {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.trust__badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--sh);
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust__badge .b {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.trust__badge small {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  display: block;
  line-height: 1.4;
}
.trust__list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}
.tr-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.tr-item .ck {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.tr-item .ck svg {
  width: 14px;
  height: 14px;
}
.tr-item h4 {
  font-size: 16.5px;
  font-weight: 700;
}
.tr-item p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 3px;
  line-height: 1.6;
}
.trust__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.stat .v {
  font-size: 38px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .v span {
  font-size: 20px;
}
.stat .l {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 600;
}

/* =======================================================================
   FAQ
   ======================================================================= */
.faq__wrap {
  max-width: 840px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 26px 4px;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq-q .qm {
  flex: none;
  color: var(--blue);
  font-weight: 800;
  margin-right: 2px;
}
.faq-q .ar {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--ink-3);
  transition: transform 0.35s var(--ease);
}
.faq-item.open .faq-q .ar {
  transform: rotate(180deg);
  color: var(--blue);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a__in {
  padding: 0 4px 26px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.78;
}
.faq-a__in b {
  color: var(--ink);
}

/* =======================================================================
   CTA band
   ======================================================================= */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: linear-gradient(
    120deg,
    var(--navy),
    var(--blue-deep) 55%,
    var(--blue)
  );
  background-size: 220% 220%;
  animation: ctaShift 18s ease-in-out infinite;
}
@keyframes ctaShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}
.cta::before {
  width: 360px;
  height: 360px;
  top: -130px;
  left: -60px;
  background: radial-gradient(
    circle,
    rgba(127, 176, 255, 0.4),
    transparent 60%
  );
  animation: ctaDrift1 16s ease-in-out infinite;
}
.cta::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -40px;
  background: radial-gradient(
    circle,
    rgba(91, 146, 245, 0.35),
    transparent 60%
  );
  animation: ctaDrift2 20s ease-in-out infinite;
}
@keyframes ctaDrift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(48px, 36px) scale(1.18);
  }
}
@keyframes ctaDrift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-44px, -30px) scale(1.12);
  }
}
.cta__in {
  position: relative;
  z-index: 2;
  padding: 96px 0;
}
.cta h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.cta p {
  margin-top: 16px;
  font-size: clamp(15px, 1.8vw, 18px);
  color: #d4e1ff;
  font-weight: 500;
}
.cta__btns {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn--primary {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}
.cta .btn--primary:hover {
  background: #eef4ff;
}

/* =======================================================================
   Footer
   ======================================================================= */
.footer {
  background: #0b1626;
  color: #aeb8c8;
  padding: 70px 0 36px;
  font-size: 14.5px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .brand {
  color: #fff;
  margin-bottom: 18px;
}
.footer .brand span {
  color: #fff;
}
.footer__desc {
  line-height: 1.75;
  max-width: 34ch;
  color: #8e99ab;
}
.footer__btns {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer__social {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}
.footer__social .soc {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #aeb8c8;
  transition:
    transform 0.2s var(--ease),
    background 0.25s,
    color 0.25s;
}
.footer__social .soc svg {
  width: 19px;
  height: 19px;
}
.footer__social .soc:hover {
  transform: translateY(-3px);
  color: #fff;
}
.footer__social .soc--fb:hover {
  background: #1877f2;
}
.footer__social .soc--ig:hover {
  background: #e1306c;
}
.footer__social .soc--yt:hover {
  background: #ff0000;
}
.footer__social .soc--nv:hover {
  background: #03c75a;
}
.foot-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.foot-col ul {
  display: grid;
  gap: 11px;
}
.foot-col a {
  color: #9aa6b8;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: #fff;
}
.footer__bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  color: #7c8699;
  font-size: 13px;
}
.footer__legal a {
  color: #aeb8c8;
  font-weight: 600;
}
.footer__legal a:hover {
  color: #fff;
}
.footer__legal span {
  margin: 0 10px;
  opacity: 0.4;
}
.footer__copy a {
  color: #9fc0ff;
  font-weight: 600;
}
.footer__copy a:hover {
  text-decoration: underline;
}
.footer__disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  color: #6b7689;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.footer__disclaimer a {
  color: #9fc0ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__disclaimer a:hover {
  color: #fff;
}

/* =======================================================================
   Floating action (mobile quick contact)
   ======================================================================= */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.fab a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--sh);
  color: #fff;
}
.fab .fab-tel {
  background: var(--blue);
}
.fab .fab-kakao {
  background: #fee500;
  color: #1a1a1a;
}
.fab a svg {
  width: 24px;
  height: 24px;
}

/* =======================================================================
   Scroll to top
   ======================================================================= */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--sh);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s,
    background 0.2s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--blue-strong);
  transform: translateY(-2px);
}
.to-top svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 760px) {
  .to-top {
    right: 18px;
    bottom: 152px;
    width: 46px;
    height: 46px;
  }
  .to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* =======================================================================
   Sub pages (privacy / terms)
   ======================================================================= */
.subhero {
  padding: calc(var(--header-h) + 70px) 0 56px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.subhero .eyebrow {
  margin-bottom: 12px;
}
.subhero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.subhero p {
  margin-top: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.legal {
  padding: 64px 0 96px;
}
.legal__wrap {
  max-width: 860px;
  margin-inline: auto;
}
.legal h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 42px 0 14px;
  padding-top: 8px;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 22px 0 8px;
}
.legal p,
.legal li {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
}
.legal ul,
.legal ol {
  margin: 10px 0 10px 20px;
  display: grid;
  gap: 7px;
}
.legal ul li {
  list-style: disc;
}
.legal ol li {
  list-style: decimal;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}
.legal th,
.legal td {
  border: 1px solid var(--line-2);
  padding: 11px 13px;
  text-align: left;
}
.legal th {
  background: var(--blue-tint-2);
  font-weight: 700;
  color: var(--ink);
}
.legal__updated {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--ink-3);
}

/* =======================================================================
   Responsive
   ======================================================================= */
@media (max-width: 980px) {
  .qa__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qa__item:nth-child(2) {
    border-right: none;
  }
  .qa__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proc__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .footer .brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .section {
    padding: 74px 0;
  }
  .nav,
  .header-cta .btn--ghost {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-cta .btn--kakao {
    display: none;
  }
  .nav.open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 8px 0;
    box-shadow: var(--sh);
    border-bottom: 1px solid var(--line);
  }
  .nav.open a {
    padding: 16px var(--gut);
    width: 100%;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav.open a::after {
    display: none;
  }
  .nav.open .nav-cta {
    display: flex;
    gap: 10px;
    padding: 16px var(--gut);
    border-bottom: none;
  }
  .nav.open .nav-cta .btn {
    flex: 1;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .fab {
    display: flex;
  }
  .hero__scroll {
    display: none;
  }
}
@media (max-width: 520px) {
  :root {
    --gut: 18px;
  }
  .adv-grid,
  .proc__grid,
  .trust__stats,
  .qa__grid {
    grid-template-columns: 1fr;
  }
  .qa__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .qa__item:last-child {
    border-bottom: none;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .hero__cta .btn {
    flex: 1;
  }
  .btn {
    height: 50px;
  }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__dot .fill {
    transition: none !important;
  }
}
