:root {
  --bg: #edf6f2;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #10231d;
  --muted: #51635c;
  --line: rgba(16, 35, 29, 0.1);
  --accent: #078564;
  --accent-strong: #035f47;
  --warm: #ef9b4d;
  --shadow: 0 30px 70px rgba(6, 39, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SUIT", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef9f5 0%, #f8fbf8 100%);
}

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

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

button {
  border: 0;
}

.scene-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #d9f0e8;
}

.scene-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.82);
}

.scene-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.36), transparent 24%),
    linear-gradient(180deg, rgba(237, 246, 242, 0.52) 0%, rgba(237, 246, 242, 0.9) 68%, rgba(248, 251, 248, 0.98) 100%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.hero,
.page,
.modal-dialog {
  animation: rise-up 0.7s ease both;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  position: sticky;
  top: 12px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--warm), var(--accent));
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small,
.hero-text,
.section-copy,
.brief-list,
.recommendation-meta,
.card-note,
.timeline-entry p,
.quote-line small,
.form-note,
.selection-status p,
.quote-message-box p:last-child,
.modal-list p {
  color: var(--muted);
}

.step-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.step-chip {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.step-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 24px;
  padding: 64px 0 36px;
  align-items: stretch;
}

.hero-copy,
.planner-form,
.side-card,
.recommendation-card,
.timeline-panel,
.quote-panel,
.photo-card,
.selection-status,
.modal-dialog {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy,
.planner-form,
.side-card,
.timeline-panel,
.quote-panel,
.selection-status,
.modal-dialog {
  border-radius: 32px;
}

.hero-copy {
  padding: 40px;
}

.eyebrow,
.card-label,
.recommendation-badge,
.day-badge,
.tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.panel-heading h3,
.photo-card strong,
.modal-dialog h3 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  margin-top: 18px;
}

.hero-text,
.section-copy,
.photo-card,
.timeline-entry p,
.modal-list p {
  line-height: 1.7;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 640px;
}

.hero-actions,
.form-actions,
.recommendation-actions,
.page-actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button,
.quick-link,
.operation-link {
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 22px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.quick-link:hover,
.operation-link:hover {
  transform: translateY(-2px);
}

.button.primary,
.primary-link {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.button.secondary,
.quick-link,
.operation-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.button.is-selected {
  color: #fff;
  background: linear-gradient(135deg, var(--warm), #cf6f1a);
}

.hero-metrics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 30px 0 0;
}

.hero-metrics li {
  min-width: 120px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.photo-stack {
  display: grid;
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 20, 0.08), rgba(7, 24, 20, 0.68));
}

.photo-card span,
.photo-card strong {
  position: relative;
  z-index: 1;
}

.photo-card span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.photo-card strong {
  margin-top: 8px;
  font-size: 1.45rem;
}

.photo-card.tall {
  min-height: 460px;
}

.photo-danang {
  background-image: url("https://images.unsplash.com/photo-1528127269322-539801943592?auto=format&fit=crop&w=1200&q=80");
}

.photo-hanoi {
  background-image: url("https://images.unsplash.com/photo-1504457047772-27faf1c00561?auto=format&fit=crop&w=1200&q=80");
}

.photo-phuquoc {
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1200&q=80");
}

.page {
  display: none;
  padding-top: 28px;
}

.page.is-active {
  display: block;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-heading-split {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.planner-layout,
.quote-layout {
  display: grid;
  gap: 22px;
}

.planner-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  align-items: start;
}

.planner-form,
.timeline-panel,
.quote-panel {
  padding: 28px;
}

.planner-side {
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 24px;
}

.spotlight-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(229, 247, 240, 0.86));
}

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

.field-grid label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.field-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.field-span {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 20px;
}

.brief-list {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  margin: 18px 0 0;
}

.quick-links {
  margin-top: 14px;
}

.selection-overview {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(7, 133, 100, 0.1);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.9rem;
}

.selection-status {
  min-width: 240px;
  padding: 18px 20px;
}

.selection-status strong,
.quote-total strong {
  display: block;
}

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

.recommendation-card {
  padding: 24px;
  border-radius: 28px;
  display: grid;
  gap: 18px;
}

.recommendation-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.recommendation-top h3,
.panel-heading p,
.quote-total span,
.timeline-day header p,
.selection-status p,
.modal-dialog p {
  margin: 0;
}

.recommendation-top h3 {
  font-size: 1.35rem;
}

.recommendation-price {
  text-align: right;
  min-width: 110px;
}

.recommendation-price strong {
  display: block;
  font-size: 1.2rem;
}

.recommendation-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 0.92rem;
}

.recommendation-meta span,
.card-note,
.quote-line,
.timeline-day,
.modal-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 35, 29, 0.06);
}

.card-note,
.modal-item {
  line-height: 1.65;
}

.quote-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.78fr);
  align-items: start;
}

.panel-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.timeline-list,
.quote-breakdown,
.operations-panel,
.modal-list {
  display: grid;
  gap: 14px;
}

.timeline-day header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.timeline-entry {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.timeline-entry:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.timeline-entry time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.quote-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.quote-line p {
  padding: 0;
  background: transparent;
  border: 0;
}

.quote-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote-total strong {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.quote-message-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(7, 133, 100, 0.08);
}

.operations-panel {
  margin-top: 18px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 20, 0.52);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 24px));
  margin: 8vh auto 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.modal-close {
  margin-left: auto;
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(7, 133, 100, 0.08);
  color: var(--accent);
}

.modal-dialog h3 {
  margin-top: 8px;
  margin-bottom: 16px;
}

.modal-item strong {
  display: block;
  margin-top: 8px;
}

@keyframes rise-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero,
  .planner-layout,
  .quote-layout,
  .recommendation-grid,
  .hero-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 12px;
  }

  .site-header,
  .section-heading-split,
  .selection-overview,
  .recommendation-top,
  .timeline-day header,
  .quote-line,
  .quote-total {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy,
  .planner-form,
  .side-card,
  .recommendation-card,
  .timeline-panel,
  .quote-panel,
  .photo-card,
  .modal-dialog {
    padding: 20px;
  }

  .field-grid,
  .recommendation-meta {
    grid-template-columns: 1fr;
  }

  .photo-card.tall {
    min-height: 260px;
  }

  .recommendation-price {
    text-align: left;
  }
}
