:root {
  --bg: #f2f4f6;
  --surface: #ffffff;
  --text: #191f28;
  --text-sub: #4e5968;
  --text-mute: #6b7684;
  --line: #e5e8eb;
  --line-soft: #f2f4f6;
  --blue: #e85d88;
  --blue-deep: #c73d68;
  --blue-weak: #fde8ef;
  --disabled: #d1d6db;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --canvas: #ffffff;
  --app: 1180px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  color-scheme: light;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

body.sheet-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

:focus-visible {
  outline: 3px solid #f3a8c0;
  outline-offset: 2px;
}

::selection {
  background: #f6c6d6;
}

.app {
  position: relative;
  z-index: 1;
  width: min(100%, var(--app));
  min-height: 100dvh;
  margin: 0 auto;
  background: transparent;
}

.header {
  --header-fade: 0;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
  isolation: isolate;
}

.header::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-veil, 190px);
  background: rgba(16, 12, 20, 0.28);
  opacity: var(--header-fade);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 100%);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  padding: 0 16px 0 24px;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  transition: color 0.45s ease, background 0.45s ease, text-shadow 0.45s ease;
}

.nav a {
  padding: 8px 10px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
}


.logo {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  transition: color 0.45s ease, text-shadow 0.45s ease;
  background-image: linear-gradient(#ffe14d, #ffe14d);
  background-repeat: no-repeat;
  background-size: 100% 0.34em;
  background-position: 0 86%;
  padding: 0 3px 1px;
}

.header-action {
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  padding: 8px 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  transition: color 0.45s ease, background 0.45s ease, text-shadow 0.45s ease;
}

.intro {
  padding: 8px 20px 0;
}

.intro,
.stage,
.board {
  animation: screen-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage {
  animation-delay: 0.08s;
}

.board {
  animation-delay: 0.16s;
}

.quote.is-enter .result-label,
.quote.is-enter .result-price,
.quote.is-enter .result-meta,
.quote.is-enter #boost-fields,
.quote.is-enter .btn-primary {
  animation: screen-in 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner {
  padding: 28px 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 12, 24, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.banner-kicker {
  margin: 0 0 8px;
  color: #3182f6;
  font-size: 14px;
  font-weight: 700;
}

.banner h1 {
  margin: 0;
  color: #191f28;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.32;
}

.banner p {
  margin: 12px 0 0;
  color: #4e5968;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.banner-tags li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f6f8;
  color: #333d4b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.highlights {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(16, 12, 24, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hi-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #191f28;
  color: #ffe14d;
  font-size: 13px;
  font-weight: 800;
}

.highlights strong {
  display: block;
  color: #191f28;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.highlights li div span {
  display: block;
  margin-top: 3px;
  color: #6b7684;
  font-size: 13px;
  line-height: 1.45;
}

.service-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 14px 24px;
  background: transparent;
  scrollbar-width: none;
}

.service-grid::-webkit-scrollbar {
  display: none;
}

.service-grid button {
  flex: none;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  transition: color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease, text-shadow 0.45s ease;
}

.service-grid button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 4px;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  border-radius: 999px;
  background: #e5e8eb;
}

.flow-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2f4f6;
  color: #6b7684;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.45s ease, color 0.45s ease, transform 0.45s ease;
}

.flow li.is-on .flow-mark {
  background: #3182f6;
  color: #fff;
  transform: scale(1.08);
}

.flow-label {
  color: #6b7684;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.45s ease;
}

.flow li.is-on .flow-label {
  color: #191f28;
}

.hero {
  padding: 8px 24px 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.32;
}

.hero p:last-child {
  margin: 10px 0 0;
  color: #c5cad3;
  font-size: 16px;
}

.group {
  margin: 0 16px 22px;
  padding: 22px 20px 18px;
  border-radius: 28px;
  background: #ffffff;
  color: var(--text);
  color-scheme: light;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 36px rgba(16, 12, 24, 0.1);
}

.group h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.card-desc {
  margin: 6px 0 0;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.5;
}

.quote {
  padding-top: 20px;
}

.result {
  margin-bottom: 16px;
  padding: 16px 16px 14px;
  border: 1px solid #eef1f4;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.result-label,
.control-label {
  margin: 0;
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 700;
}

.result-price {
  margin: 4px 0 0;
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.result-price.is-message {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.result-meta {
  min-height: 21px;
  margin: 6px 0 0;
  color: var(--text-sub);
  font-size: 14px;
}

.control-label {
  margin-top: 22px;
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  padding: 4px;
  border-radius: 14px;
  background: var(--bg);
}

.segment button {
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-mute);
  font-size: 15px;
  font-weight: 700;
}

.segment button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(25, 31, 40, 0.08);
}

.field {
  margin-top: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 600;
}

select {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%236b7684' d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  font-size: 16px;
  font-weight: 600;
  appearance: none;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stepper button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.stepper button:disabled {
  color: #b0b8c1;
}

.stepper-value {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stepper-value span {
  margin-left: 2px;
  color: var(--text-mute);
  font-weight: 600;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.btn-primary:active {
  background: var(--blue-deep);
}

.btn-primary:disabled,
.btn-primary.is-disabled {
  background: var(--disabled);
}

.text-link {
  display: block;
  margin-top: 4px;
  padding: 12px 0 2px;
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.rows {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.row:first-child {
  border-top: 0;
}

.row strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.row div > span {
  display: block;
  margin-top: 3px;
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.45;
}

.check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--blue);
}

.num,
.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--blue-weak);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.icon svg {
  width: 16px;
  height: 16px;
}

.price-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rank-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 22px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #14161c;
  color: #fff;
  text-align: center;
}

.rank-icon {
  height: 78px;
  width: auto;
  max-width: 92%;
  flex: none;
  display: block;
  object-fit: contain;
  transform-origin: center bottom;
}

.rank-card.is-master .rank-icon {
  height: 64px;
  max-width: 100%;
}

.rank-en {
  margin: 4px 0 0;
  color: #e6c15a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.rank-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-top: 4px;
}

.rank-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  color: #b7beca;
  font-size: 13px;
  font-weight: 600;
}

.rank-card.is-split .rank-line {
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
}

.rank-line strong {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.faq {
  margin-top: 6px;
}

.faq-item {
  border-top: 1px solid var(--line-soft);
}

.faq-item:first-child {
  border-top: 0;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  border-radius: 1px;
  background: #8b95a1;
}

.faq-icon::before {
  top: 8px;
  left: 3px;
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  top: 3px;
  left: 8px;
  width: 2px;
  height: 12px;
  transition: transform 0.18s ease;
}

.faq-item.is-open .faq-icon::after {
  transform: scaleY(0);
}

.faq-a {
  margin: 0;
  padding: 0 28px 16px 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.55;
}

.closing {
  margin-bottom: 12px;
}

.foot {
  margin: 4px 16px 96px;
  padding: 22px 20px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(16, 12, 24, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.foot-logo {
  margin: 0;
  color: #141414;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.05em;
  background-image: linear-gradient(#ffe14d, #ffe14d);
  background-repeat: no-repeat;
  background-size: 100% 0.34em;
  background-position: 0 86%;
}

.foot p:last-child {
  margin: 8px 0 0;
  color: #6b7684;
  font-size: 14px;
}

main {
  padding-bottom: 12px;
}

#prices,
#guide,
#faq,
#quote,
#reviews {
  scroll-margin-top: 128px;
}

.review-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.review-list:empty {
  display: none;
}

.review-card {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: #f7f9fc;
}

.review-card strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.review-card span {
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 700;
}

.review-card p {
  margin: 8px 0 0;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.55;
}

.review-empty {
  margin: 14px 0 0;
  color: var(--text-mute);
  font-size: 14px;
}

.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-weight: 600;
}

.review-form input {
  height: 52px;
  padding: 0 16px;
}

.review-form textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.review-form .btn-primary {
  max-width: 220px;
}

.review-msg {
  margin: 12px 0 0;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
}

.admin-link {
  color: #8b95a1;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.catalog {
  margin-top: 4px;
}

.catalog-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.catalog-list button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 16px 16px 15px;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: left;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.catalog-list button[aria-pressed="true"] {
  border-color: #f0b3c8;
  background: #fff8fb;
  box-shadow: inset 0 0 0 1px #f6d0de;
}

.catalog-list strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.catalog-list span {
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.prep-label {
  margin: 18px 0 0;
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 700;
}

.prep {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.prep li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f4f6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.visit-card {
  position: fixed;
  z-index: 20;
  left: 18px;
  top: 42%;
  width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
  pointer-events: none;
}

.visit-card p {
  margin: 0 0 12px;
}

.visit-card span,
.visit-card strong {
  display: block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72), 0 8px 22px rgba(0, 0, 0, 0.55);
}

.visit-card span {
  color: rgba(255, 248, 236, 0.96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.visit-card strong {
  margin-top: 1px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.visit-card .visit-date {
  display: block;
  margin-top: 2px;
  color: rgba(255, 248, 236, 0.9);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72), 0 8px 22px rgba(0, 0, 0, 0.55);
}

.visit-card strong.is-sub {
  font-size: 20px;
}

@media (max-width: 899px) {
  .visit-card {
    top: auto;
    bottom: calc(18px + env(safe-area-inset-bottom));
    left: 14px;
    transform: none;
  }

  .visit-card p {
    margin-bottom: 8px;
  }

  .visit-card strong {
    font-size: 18px;
  }

  .visit-card strong.is-sub {
    font-size: 16px;
  }

  .foot {
    margin-bottom: 168px;
  }
}

.kakao-float {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fee500;
  color: #191919;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.kakao-float svg {
  width: 22px;
  height: 22px;
  fill: #191919;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 18, 24, 0.46);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.sheet {
  width: min(100%, 480px);
  max-height: min(88dvh, 680px);
  overflow: auto;
  padding: 10px 20px calc(16px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #fff;
  color: var(--text);
  color-scheme: light;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  transition: transform 0.22s ease;
}

.backdrop.is-open .sheet {
  transform: none;
}

.sheet-fields {
  display: grid;
  gap: 0 12px;
}

.sheet-fields .field {
  margin-top: 12px;
}

@media (min-width: 480px) {
  .sheet-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #e5e8eb;
}

.sheet h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.sheet-summary {
  margin: 12px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.sheet-note {
  margin: 10px 0 0;
  color: var(--text-mute);
  font-size: 13px;
  text-align: center;
}

.btn-ghost {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text-mute);
  font-size: 15px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .header-action {
    margin-left: 4px;
  }

  .stage {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 28px;
    align-items: start;
    padding: 18px 28px 8px;
  }

  .hero {
    padding: 12px 8px 12px 4px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.25;
  }

  .hero p:last-child {
    font-size: 18px;
  }

  .stage .group,
  .quote {
    margin: 0;
  }

  .banner h1 {
    font-size: 40px;
  }

  .intro {
    padding: 12px 28px 0;
  }

  .service-grid {
    padding-right: 28px;
    padding-left: 28px;
  }

  .highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot {
    margin-right: 28px;
    margin-left: 28px;
  }

  .board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 16px 28px 0;
  }

  .board .group {
    margin: 0;
  }

  #prices,
  #reviews {
    grid-column: 1 / -1;
  }

  .review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .closing {
    margin: 16px 28px 36px;
  }

  .closing .btn-primary {
    max-width: 280px;
  }

  .catalog {
    margin-right: 28px;
    margin-left: 28px;
  }

  .catalog-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .rank-icon {
    transition: transform 0.35s ease, filter 0.35s ease;
  }

  .rank-card:hover .rank-icon {
    transform: translateY(-4px);
    filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.22));
  }

  .catalog-list button:hover {
    transform: translateY(-3px);
    border-color: #d7dee7;
    box-shadow: 0 10px 24px rgba(16, 12, 24, 0.08);
  }
}

@media (hover: hover) {
  .header-action:hover,
  .text-link:hover,
  .btn-ghost:hover,
  .nav a:hover {
    background: var(--blue-weak);
  }

  .header-action:hover,
  .text-link:hover {
    color: var(--blue-deep);
  }
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0b0a10;
}

.scene-photo {
  position: absolute;
  inset: 0;
  background: url("./assets/hero-castle.jpg?v=1") center center / cover no-repeat;
  filter: saturate(1.08) contrast(1.1);
  transition: background-position 1.15s ease;
  animation: scene-drift 32s ease-in-out infinite alternate;
}

.scene-glow {
  position: absolute;
  top: 28%;
  right: 16%;
  width: min(46vw, 520px);
  height: min(52vh, 560px);
  background: radial-gradient(circle, rgba(255, 196, 110, 0.16), transparent 68%);
  filter: blur(6px);
  mix-blend-mode: screen;
  animation: scene-pulse 5.5s ease-in-out infinite;
}

.scene-sweep {
  position: absolute;
  inset: -30% -50%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 226, 170, 0.1) 50%, transparent 58%);
  mix-blend-mode: screen;
  animation: scene-sweep 11s ease-in-out infinite;
}

.embers span {
  position: absolute;
  bottom: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffe0b0;
  box-shadow: 0 0 10px #ffb15a;
  animation: ember-rise linear infinite;
  opacity: 0;
}

.embers span:nth-child(1) { left: 8%; animation-duration: 9s; }
.embers span:nth-child(2) { left: 18%; width: 2px; height: 2px; animation-duration: 12s; animation-delay: 1.4s; }
.embers span:nth-child(3) { left: 31%; animation-duration: 8s; animation-delay: 2.2s; }
.embers span:nth-child(4) { left: 46%; width: 4px; height: 4px; animation-duration: 13s; animation-delay: 0.6s; }
.embers span:nth-child(5) { left: 58%; animation-duration: 10s; animation-delay: 3s; }
.embers span:nth-child(6) { left: 71%; width: 2px; height: 2px; animation-duration: 11s; animation-delay: 1.8s; }
.embers span:nth-child(7) { left: 82%; animation-duration: 9.5s; animation-delay: 2.8s; }
.embers span:nth-child(8) { left: 92%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: 0.3s; }

.scene-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 88%, rgba(7, 6, 12, 0.08));
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scene-drift {
  from { transform: translate3d(0, 0.8%, 0); }
  to { transform: translate3d(0, -0.8%, 0); }
}

@keyframes scene-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

@keyframes scene-sweep {
  0%, 18% { transform: translateX(-18%); opacity: 0; }
  32% { opacity: 1; }
  70%, 100% { transform: translateX(22%); opacity: 0; }
}

@keyframes ember-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: 0.85; }
  100% { transform: translateY(-105vh) scale(0.45); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .backdrop,
  .sheet,
  .faq-icon::after {
    transition: none;
  }

  .scene-photo,
  .scene-glow,
  .scene-sweep,
  .embers span,
  .intro,
  .stage,
  .board,
  .quote.is-enter .result-label,
  .quote.is-enter .result-price,
  .quote.is-enter .result-meta,
  .quote.is-enter #boost-fields,
  .quote.is-enter .btn-primary {
    animation: none;
  }

  .header,
  .logo,
  .nav a,
  .header-action,
  .service-grid button,
  .scene-photo {
    transition: none;
  }

  .scene-photo {
    transform: none;
  }

  .embers {
    display: none;
  }

  .rank-icon {
    transition: none;
  }
}

a.header-action {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav a.is-current {
  background: rgba(255, 255, 255, 0.16);
}

.notice-page {
  padding: 8px 20px 0;
}

.notice-board {
  margin-top: 12px;
  padding: 8px 8px 12px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 12, 24, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.notice-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 8px;
}

.notice-tools p {
  margin: 0;
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 700;
}

.notice-tools input {
  width: min(100%, 220px);
  margin-left: auto;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #f2f4f6;
}

.notice-head[hidden],
.notice-tools[hidden],
#notice-list[hidden],
.notice-view[hidden] {
  display: none;
}

.notice-head,
.notice-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 72px;
  gap: 8px;
  align-items: center;
}

.notice-head {
  padding: 8px 16px;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 700;
}

.notice-row {
  width: 100%;
  padding: 16px;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.notice-row strong {
  color: #191f28;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.notice-row span,
.notice-date {
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 600;
}

.notice-empty {
  margin: 8px 16px 16px;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 600;
}

.notice-view {
  padding: 8px 16px 20px;
}

.notice-back {
  border: 0;
  padding: 8px 0 16px;
  background: transparent;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.notice-view h2 {
  margin: 8px 0 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.notice-view p:last-child {
  margin: 16px 0 0;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 900px) {
  .notice-page {
    padding: 12px 28px 0;
  }

  .notice-board {
    margin-right: 0;
    margin-left: 0;
  }
}
