:root {
  --bg: #07111d;
  --panel: #0d1b2c;
  --ink: #ffffff;
  --muted: #bed1df;
  --cyan: #1de5ef;
  --pink: #ff4d93;
  --gold: #ffd229;
  --violet: #9b6dff;
  --green: #24d18f;
  --paper: #fffaf0;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(29, 229, 239, .18), transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(255, 77, 147, .18), transparent 30%),
    linear-gradient(135deg, #050912 0%, #07111d 46%, #081826 100%);
  letter-spacing: 0;
}

@media (min-width: 881px) {
  body::before,
  body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 0;
    width: max(220px, calc((100vw - 645px) / 2 - 42px));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .9;
    pointer-events: none;
  }

  body::before {
    left: 0;
    background-image:
      linear-gradient(90deg, rgba(3, 38, 45, .42), rgba(3, 38, 45, .72)),
      url("./images/hero-bg.png");
  }

  body::after {
    right: 0;
    background-image:
      linear-gradient(270deg, rgba(42, 16, 40, .34), rgba(42, 16, 40, .78)),
      url("./images/start-card.png");
  }
}

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, .08);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--pink));
  box-shadow: 0 0 18px rgba(29, 229, 239, .75);
}

.bot-carousel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: .01;
  pointer-events: none;
}

.bot-carousel img {
  width: 160px;
  height: 160px;
  object-fit: cover;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(480px, 645px) minmax(160px, 240px);
  gap: 22px;
  align-items: start;
  justify-content: center;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 26px 18px 104px;
}

.phone-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background: rgba(7, 17, 29, .76);
  box-shadow: var(--shadow);
}

.rail {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 10px;
  min-height: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(6, 17, 29, .5);
  backdrop-filter: blur(14px);
  color: var(--muted);
  overflow: hidden;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .25);
}

.rail::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 38%);
}

.rail strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}

.rail a,
.rail-button {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.rail p {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.55;
  color: #eef8ff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

.rail-button {
  text-align: center;
  color: #08111c;
  background: var(--gold);
  font-weight: 900;
}

.rail-button.muted {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.hero {
  position: relative;
  min-height: 800px;
  padding: 26px 30px 34px;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 6, 14, .38), rgba(2, 6, 14, .95)),
    url("./images/hero-bg.png") center top / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 10, 22, .72) 0%, rgba(4, 10, 22, .56) 45%, rgba(4, 10, 22, .18) 100%),
    linear-gradient(180deg, rgba(4, 10, 22, .08), rgba(4, 10, 22, .54)),
    repeating-linear-gradient(172deg, rgba(29, 229, 239, .06) 0 1px, transparent 1px 14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.brand {
  font-weight: 950;
  font-size: 18px;
}

.mini-cta {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 12px;
  font-weight: 800;
}

.hero-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 210, 41, .96), rgba(29, 229, 239, .85));
  color: #07111d;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(29, 229, 239, .22);
}

.hero h1 {
  margin: 0;
  font-size: 84px;
  line-height: .9;
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 0 7px 0 rgba(0, 0, 0, .3);
}

.hero h1 .region-line,
.hero h1 .service-line {
  display: block;
}

.hero h1 .region-line {
  color: #fff;
}

.hero h1 .service-line {
  margin-top: 8px;
  color: var(--cyan);
  font-size: 68px;
}

.hero-copy {
  width: min(94%, 490px);
  margin: 22px 0 0;
  color: #e4f8ff;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.primary,
.secondary {
  min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 15px;
}

.primary {
  color: #08111c;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 210, 41, .56);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .09);
}

.hero-car {
  position: absolute;
  right: 22px;
  bottom: 38px;
  width: 44%;
  max-width: 300px;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  object-fit: cover;
  transform: rotate(-4deg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

.visible-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 112px;
  gap: 12px;
  padding: 14px 20px 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background:
    linear-gradient(90deg, rgba(29, 229, 239, .10), transparent 18%, transparent 82%, rgba(255, 77, 147, .12)),
    linear-gradient(180deg, rgba(3, 8, 16, .96), rgba(7, 17, 29, .98));
  border-top: 1px solid rgba(29, 229, 239, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.visible-carousel::-webkit-scrollbar {
  display: none;
}

.visible-carousel a {
  position: relative;
  min-width: 0;
  scroll-snap-align: start;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .34);
}

.visible-carousel img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 16px;
}

.visible-carousel span {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  display: block;
  padding: 5px 7px;
  overflow: hidden;
  color: #07111d;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  border-radius: 999px;
  background: rgba(255, 210, 41, .92);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .28);
}

.feature-grid,
.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: #07111d;
}

.feature-card,
.info-card {
  min-width: 0;
  min-height: 174px;
  padding: 22px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  text-align: center;
}

.feature-card {
  border: 2px solid currentColor;
  box-shadow: inset 0 0 22px rgba(255, 255, 255, .04), 0 0 22px color-mix(in srgb, currentColor 32%, transparent);
}

.feature-card.cyan { color: var(--cyan); }
.feature-card.violet { color: var(--violet); }
.feature-card.gold { color: var(--gold); }
.feature-card.pink { color: var(--pink); }

.icon {
  display: block;
  margin-bottom: 10px;
  font-size: 40px;
  line-height: 1;
}

.feature-card h2,
.info-card h2 {
  margin: 0 0 8px;
  color: currentColor;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p,
.info-card p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.48;
}

.split-section {
  display: grid;
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(180deg, #07111d, #0b1320 70%, #07111d);
}

.paper-card,
.start-card {
  border-radius: 16px;
}

.paper-card {
  padding: 18px 16px;
  color: #151515;
  background:
    linear-gradient(90deg, transparent 0 11px, rgba(255, 77, 147, .18) 11px 13px, transparent 13px),
    var(--paper);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .26);
}

.paper-card h2,
.start-card h2 {
  margin: 0 0 12px;
  font-size: 21px;
}

.paper-card h2 {
  color: #1d1d1d;
}

.paper-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paper-card li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  line-height: 1.45;
  border-bottom: 1px dashed rgba(0, 0, 0, .16);
}

.paper-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.start-card {
  min-height: 286px;
  display: flex;
  align-items: end;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .76)),
    url("./images/start-card.png") center / cover no-repeat;
  border: 4px solid #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .32);
}

.start-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.start-card p {
  margin: 0;
  color: #eef8ff;
  font-size: 14px;
  line-height: 1.5;
}

.call-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  justify-items: center;
  padding: 22px 14px;
  background:
    linear-gradient(90deg, rgba(255, 77, 147, .14), rgba(255, 210, 41, .14)),
    #080d15;
  text-align: center;
}

.call-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.call-strip strong {
  color: var(--gold);
  font-size: 68px;
  line-height: 1;
  font-weight: 1000;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .4);
}

.call-strip a {
  padding: 11px 18px;
  border-radius: 999px;
  color: #07111d;
  background: #fff;
  font-weight: 950;
}

.icon-grid {
  background: #f8fbff;
}

.info-card {
  min-height: 142px;
  color: #0f3550;
  background: #fff;
  border: 1px solid rgba(9, 38, 58, .12);
}

.info-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-size: 30px;
}

.info-card:nth-child(2n) span {
  color: var(--violet);
}

.info-card:nth-child(3n) span {
  color: #1689d1;
}

.info-card h2 {
  color: #12344d;
}

.info-card p {
  color: #526475;
}

.accordion-section {
  padding: 22px 16px 90px;
  background: #fff;
  color: #172433;
}

.section-head span {
  color: var(--pink);
  font-size: 13px;
  font-weight: 950;
}

.section-head h2 {
  margin: 5px 0 16px;
  font-size: 24px;
  line-height: 1.25;
}

.price-chips {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.price-chips span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #153049;
  background: linear-gradient(90deg, rgba(29, 229, 239, .18), rgba(255, 210, 41, .18));
  border: 1px solid rgba(10, 28, 42, .12);
  font-size: 13px;
  font-weight: 900;
}

details {
  border: 1px solid rgba(10, 28, 42, .13);
  border-radius: 12px;
  background: #f8fbff;
  margin-bottom: 10px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 15px 15px;
  font-weight: 950;
  line-height: 1.35;
}

details p {
  margin: 0;
  padding: 0 15px 16px;
  color: #455667;
  font-size: 14px;
  line-height: 1.75;
}

.long-copy {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #f3f7fb;
  border: 1px solid rgba(10, 28, 42, .1);
}

.long-copy p {
  margin: 0;
  color: #41566b;
  font-size: 14px;
  line-height: 1.75;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.related-links h2 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: #172433;
  font-size: 18px;
}

.related-links a {
  min-width: 0;
  padding: 11px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(10, 28, 42, .12);
  color: #18364f;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.policy-page {
  width: min(100% - 28px, 720px);
  margin: 40px auto;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  color: #172433;
  box-shadow: var(--shadow);
}

.policy-page h1 {
  margin: 0 0 14px;
  font-size: 30px;
}

.policy-page p {
  color: #41566b;
  line-height: 1.75;
}

.policy-page a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #08111c;
  font-weight: 950;
}

.area-tree {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.area-group,
.area-subgroup {
  margin: 0;
  border: 1px solid rgba(10, 28, 42, .12);
  border-radius: 14px;
  background: #f8fbff;
  overflow: hidden;
}

.area-group > summary,
.area-subgroup > summary {
  padding: 14px 16px;
  color: #10283d;
  font-size: 16px;
  font-weight: 950;
}

.area-subgroup {
  margin: 8px 12px;
  background: #fff;
}

.area-overview {
  margin: 0 12px 10px;
}

.area-dong-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.area-dong-grid a {
  display: block;
  min-width: 0;
  padding: 10px 9px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(10, 28, 42, .1);
  color: #18364f;
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 520px) {
  .area-dong-grid {
    grid-template-columns: 1fr;
  }
}

.floating-actions {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: min(398px, calc(100% - 24px));
  transform: translateX(-50%);
}

.floating-actions a {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 1000;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.float-kakao {
  color: #1d1600;
  background: #fee500;
}

.float-phone {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #d91062);
}

.pulse {
  animation: pulse 1.8s infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.98);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}

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

.feature-grid .reveal:nth-child(2),
.icon-grid .reveal:nth-child(2) { transition-delay: .06s; }
.feature-grid .reveal:nth-child(3),
.icon-grid .reveal:nth-child(3) { transition-delay: .12s; }
.feature-grid .reveal:nth-child(4),
.icon-grid .reveal:nth-child(4) { transition-delay: .18s; }
.icon-grid .reveal:nth-child(5) { transition-delay: .24s; }
.icon-grid .reveal:nth-child(6) { transition-delay: .30s; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 210, 41, .56); }
  70% { box-shadow: 0 0 0 14px rgba(255, 210, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 210, 41, 0); }
}

@media (max-width: 880px) {
  .site-shell {
    display: block;
    width: min(100%, 430px);
    padding: 0 0 92px;
  }

  .phone-frame {
    border: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 660px;
    padding: 18px 20px 24px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero h1 .service-line {
    font-size: 50px;
  }

  .hero-copy {
    width: min(94%, 340px);
    font-size: 17px;
  }

  .hero-car {
    right: 8px;
    bottom: 36px;
    width: 46%;
    max-width: 218px;
  }

  .feature-grid,
  .icon-grid {
    gap: 10px;
    padding: 14px;
  }

  .feature-card,
  .info-card {
    min-height: 142px;
    padding: 16px 12px;
  }

  .feature-card h2,
  .info-card h2 {
    font-size: 16px;
  }

  .feature-card p,
  .info-card p {
    font-size: 12px;
  }

  .split-section {
    padding: 14px;
  }

  .start-card {
    min-height: 210px;
  }

  .call-strip strong {
    font-size: 52px;
  }

  .info-card {
    min-height: 118px;
  }

  .rail {
    display: none;
  }
}

@media (max-width: 370px) {
  .hero {
    min-height: 610px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero h1 .service-line {
    font-size: 38px;
  }

  .hero-car {
    right: 4px;
    width: 44%;
  }
}

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

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