:root {
  --ink: #10221d;
  --green-950: #061914;
  --green-900: #0a261f;
  --green-800: #123c32;
  --green-700: #1c5746;
  --jade: #54b48d;
  --sea: #3aa6a1;
  --lagoon: #84d7c9;
  --sand: #e8c879;
  --gold: #d6a84f;
  --gold-light: #f0d88d;
  --ivory: #fff7df;
  --paper: #f7f0de;
  --coral: #e96f4c;
  --muted: rgba(255, 247, 223, 0.72);
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
  --soft-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 12% 8%, rgba(84, 180, 141, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(214, 168, 79, 0.16), transparent 22rem),
    linear-gradient(145deg, #071612 0%, #0c241d 48%, #102f27 100%);
  font-family: "Inter", "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 25, 20, 0.84), rgba(6, 25, 20, 0.96)),
    linear-gradient(90deg, rgba(6, 25, 20, 0.92), rgba(6, 25, 20, 0.56) 48%, rgba(6, 25, 20, 0.88)),
    url("assets/vietnam-hero-coast.jpg") center / cover no-repeat;
  opacity: 0.22;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.button:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 18px var(--gold-light);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.ambient span:nth-child(1) { left: 8%; top: 72%; animation-delay: -2s; }
.ambient span:nth-child(2) { left: 24%; top: 38%; animation-delay: -7s; }
.ambient span:nth-child(3) { left: 52%; top: 80%; animation-delay: -4s; }
.ambient span:nth-child(4) { left: 78%; top: 46%; animation-delay: -9s; }
.ambient span:nth-child(5) { left: 91%; top: 24%; animation-delay: -5s; }

.hero,
.section,
.cta {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 96vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 28px clamp(20px, 5vw, 76px) 70px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 19, 15, 0.9) 0%, rgba(5, 19, 15, 0.64) 42%, rgba(5, 19, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 19, 15, 0.92) 0%, rgba(5, 19, 15, 0.1) 52%),
    url("assets/vietnam-hero-coast.jpg") center / cover no-repeat,
    #061914;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(115deg, rgba(255, 247, 223, 0.05), transparent 34%),
    repeating-linear-gradient(110deg, rgba(240, 216, 141, 0.05) 0 1px, transparent 1px 19px),
    repeating-linear-gradient(22deg, rgba(84, 180, 141, 0.035) 0 1px, transparent 1px 26px);
  opacity: 0.55;
  transform: translate3d(var(--tilt-x, 0), var(--tilt-y, 0), 0) scale(1.03);
  will-change: transform;
}

.hero::after {
  content: none;
}

.hero__texture,
.hero__route,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__texture {
  z-index: -3;
  background:
    radial-gradient(ellipse at 76% 40%, rgba(240, 216, 141, 0.12), transparent 24rem),
    radial-gradient(ellipse at 48% 70%, rgba(233, 111, 76, 0.08), transparent 20rem),
    linear-gradient(90deg, rgba(6, 25, 20, 0.9), rgba(6, 25, 20, 0.08) 78%),
    repeating-radial-gradient(circle at 80% 42%, rgba(255, 247, 223, 0.08) 0 1px, transparent 1px 9px);
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: slow-breathe 9s ease-in-out infinite alternate;
}

.hero__route {
  z-index: -2;
  opacity: 0.32;
  background:
    radial-gradient(circle at 76% 28%, rgba(240, 216, 141, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 69% 42%, rgba(240, 216, 141, 0.84) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 58%, rgba(240, 216, 141, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 64% 71%, rgba(240, 216, 141, 0.7) 0 3px, transparent 4px);
}

.hero__route::before {
  content: "";
  position: absolute;
  right: clamp(18px, 7vw, 120px);
  top: 18%;
  width: min(42vw, 560px);
  aspect-ratio: 0.58;
  border: 1px solid rgba(240, 216, 141, 0.28);
  border-left-color: transparent;
  border-bottom-color: rgba(240, 216, 141, 0.14);
  border-radius: 48% 52% 42% 58% / 28% 34% 66% 72%;
  transform: rotate(13deg);
  box-shadow: inset 0 0 40px rgba(240, 216, 141, 0.04), 0 0 48px rgba(240, 216, 141, 0.08);
  animation: map-glow 5.5s ease-in-out infinite alternate;
}

.hero__route::after {
  content: "";
  position: absolute;
  right: clamp(34px, 9vw, 156px);
  top: 27%;
  width: min(34vw, 430px);
  aspect-ratio: 0.54;
  border-right: 2px solid rgba(240, 216, 141, 0.78);
  border-top: 1px solid rgba(240, 216, 141, 0.34);
  border-radius: 50% 48% 44% 58% / 28% 32% 68% 72%;
  transform: rotate(18deg);
  filter: drop-shadow(0 0 12px rgba(240, 216, 141, 0.32));
  animation: route-pulse 3.8s ease-in-out infinite;
}

.route-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 7px rgba(240, 216, 141, 0.12), 0 0 22px rgba(240, 216, 141, 0.55);
  animation: dot-ping 2.8s ease-out infinite;
}

.route-dot--one { right: 23%; top: 27%; animation-delay: 0s; }
.route-dot--two { right: 18%; top: 44%; animation-delay: 0.45s; }
.route-dot--three { right: 26%; top: 61%; animation-delay: 0.9s; }
.route-dot--four { right: 16%; top: 73%; animation-delay: 1.35s; }

.hero__image {
  display: none;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 19, 15, 0.82) 0%, rgba(5, 19, 15, 0.54) 42%, rgba(5, 19, 15, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 19, 15, 0.78) 0%, transparent 50%);
}

.nav {
  position: fixed;
  top: 24px;
  right: clamp(20px, 5vw, 76px);
  z-index: 50;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(6, 25, 20, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
  transition: transform 240ms ease, background 240ms ease;
}

.nav a {
  padding: 8px 13px;
  border-radius: 6px;
  color: rgba(255, 247, 223, 0.78);
  font-size: 14px;
  transition: color 200ms ease, background 200ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--green-950);
  background: var(--gold-light);
}

.hero__content {
  max-width: 790px;
  padding-top: 92px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.5vw, 84px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
}

.lead {
  max-width: 630px;
  color: var(--muted);
  font-size: clamp(18px, 1.65vw, 23px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 32%, rgba(255, 255, 255, 0.28) 44%, transparent 56% 100%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button--primary {
  color: #11241e;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 50px rgba(214, 168, 79, 0.28);
}

.button--ghost {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.075);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 223, 0.08);
}

.hero__panel,
.glass-card,
.metric-card,
.feature-panel,
.quote,
.price-card {
  border: 1px solid rgba(255, 247, 223, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 247, 223, 0.11), rgba(255, 247, 223, 0.045));
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hero__panel {
  display: grid;
  gap: 14px;
  padding: 0;
  align-self: center;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: panel-float 6s ease-in-out infinite;
}

.hero__panel div {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 247, 223, 0.94), rgba(239, 229, 202, 0.88));
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.hero__panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  overflow-wrap: break-word;
}

.hero__panel span {
  display: block;
  color: rgba(16, 34, 29, 0.72);
}

.section {
  padding: clamp(58px, 6.5vw, 104px) clamp(20px, 5vw, 76px);
  overflow: hidden;
  isolation: isolate;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 25, 20, 0.88), rgba(6, 25, 20, 0.94)),
    linear-gradient(90deg, rgba(6, 25, 20, 0.86), rgba(6, 25, 20, 0.44) 54%, rgba(6, 25, 20, 0.86)),
    var(--section-photo, none) var(--section-photo-position, center) / cover no-repeat;
  opacity: var(--section-photo-opacity, 0);
  transform: scale(1.02);
}

.section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 40%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(6, 25, 20, 0.88), transparent);
}

.section__copy {
  max-width: 940px;
  margin-bottom: 34px;
}

.section__copy h2 {
  color: var(--ivory);
}

.section__copy p:not(.eyebrow) {
  color: var(--muted);
}

.intro__grid,
.market__layout,
.quote-grid,
.pricing,
.business {
  display: grid;
  gap: 18px;
}

.intro__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro {
  --section-photo: url("assets/vietnam-hero-coast.jpg");
  --section-photo-position: center 44%;
  --section-photo-opacity: 0.5;
}

.glass-card,
.metric-card,
.quote,
.price-card {
  padding: 28px;
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 340ms ease, box-shadow 340ms ease;
}

.glass-card:hover,
.metric-card:hover,
.quote:hover,
.price-card:hover,
.feature-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 216, 141, 0.34);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.card-mark,
.price-card__label {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold-light);
  font-weight: 900;
}

.glass-card p,
.metric-card p,
.feature-list p,
.quote p,
.price-card p,
.cta p {
  color: var(--muted);
}

.market {
  --section-photo: url("assets/place-halong.jpg");
  --section-photo-position: center 42%;
  --section-photo-opacity: 0.72;
  padding-bottom: clamp(28px, 3.5vw, 48px);
  background:
    linear-gradient(180deg, rgba(255, 247, 223, 0.05), transparent),
    radial-gradient(circle at 86% 26%, rgba(233, 111, 76, 0.16), transparent 22rem);
}

.market__layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card--wide {
  grid-column: 1 / -1;
}

.metric-card__value {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
}

.places {
  position: relative;
  z-index: 1;
  padding: clamp(38px, 4.5vw, 62px) clamp(20px, 5vw, 76px) clamp(58px, 6.5vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 25, 20, 0.98), rgba(7, 37, 33, 0.9) 34%, rgba(6, 25, 20, 0.98)),
    linear-gradient(90deg, rgba(6, 25, 20, 0.92), rgba(6, 25, 20, 0.46) 48%, rgba(6, 25, 20, 0.92)),
    url("assets/place-islands.jpg") center 46% / cover no-repeat,
    radial-gradient(circle at 16% 24%, rgba(132, 215, 201, 0.14), transparent 18rem),
    radial-gradient(circle at 82% 62%, rgba(232, 200, 121, 0.14), transparent 20rem),
    #061914;
}

.places__intro {
  max-width: 880px;
  margin-bottom: 30px;
}

.places__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.place-card {
  position: relative;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #12362f;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.place-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.32);
}

.place-card::before,
.place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.place-card::before {
  opacity: 0.96;
  background-position: center;
  background-size: cover;
  transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 520ms ease;
}

.place-card:hover::before {
  transform: scale(1.055);
  opacity: 1;
}

.place-card::after {
  background:
    linear-gradient(0deg, rgba(4, 18, 15, 0.94) 0%, rgba(4, 18, 15, 0.58) 38%, rgba(4, 18, 15, 0.08) 78%),
    linear-gradient(90deg, rgba(4, 18, 15, 0.34), transparent 60%);
}

.place-card span {
  color: var(--sand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.place-card h3 {
  max-width: 92%;
  margin: 8px 0 0;
  color: var(--ivory);
  font-size: clamp(20px, 1.6vw, 24px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.place-card--coast::before {
  background:
    linear-gradient(0deg, rgba(6, 25, 20, 0.25), rgba(6, 25, 20, 0.04)),
    url("assets/place-nhatrang.jpg") center / cover;
}

.place-card--bay::before {
  background:
    linear-gradient(0deg, rgba(6, 25, 20, 0.2), rgba(6, 25, 20, 0.02)),
    url("assets/place-halong.jpg") center / cover;
}

.place-card--lantern::before {
  background:
    linear-gradient(0deg, rgba(6, 25, 20, 0.2), rgba(6, 25, 20, 0.02)),
    url("assets/place-hoian.jpg") center / cover;
}

.place-card--island::before {
  background:
    linear-gradient(0deg, rgba(6, 25, 20, 0.24), rgba(6, 25, 20, 0.04)),
    url("assets/place-islands.jpg") center / cover;
}

.program {
  --section-photo: url("assets/place-hoian.jpg");
  --section-photo-position: center 58%;
  --section-photo-opacity: 0.62;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--gold-light), rgba(240, 216, 141, 0));
}

.timeline__item {
  position: relative;
  padding: 26px 26px 26px 64px;
  border-radius: var(--radius);
  background: rgba(255, 247, 223, 0.055);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 223, 0.055);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 34px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 8px rgba(240, 216, 141, 0.12);
}

.timeline__item span {
  display: block;
  margin-bottom: 8px;
  color: var(--jade);
  font-weight: 800;
}

.timeline__item p {
  margin-bottom: 0;
  color: var(--muted);
}

.business {
  --section-photo: url("assets/place-nhatrang.jpg");
  --section-photo-position: center 38%;
  --section-photo-opacity: 0.58;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-panel {
  padding: clamp(28px, 4vw, 44px);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.feature-panel--accent {
  background: linear-gradient(145deg, rgba(214, 168, 79, 0.2), rgba(233, 111, 76, 0.09));
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feature-list p {
  margin: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(6, 25, 20, 0.35);
}

.feature-list strong {
  color: var(--ivory);
}

.stories {
  --section-photo: url("assets/place-islands.jpg");
  --section-photo-position: center 52%;
  --section-photo-opacity: 0.56;
  background:
    linear-gradient(180deg, rgba(255, 247, 223, 0.055), rgba(255, 247, 223, 0.025));
}

.formats {
  --section-photo: url("assets/place-halong.jpg");
  --section-photo-position: center 32%;
  --section-photo-opacity: 0.54;
}

.quote-grid,
.pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote {
  margin: 0;
}

.quote p {
  font-size: 19px;
}

.quote footer {
  margin-top: 22px;
  color: var(--gold-light);
  font-weight: 800;
}

.price-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.price-card--featured {
  transform: translateY(-14px);
  background: linear-gradient(145deg, rgba(240, 216, 141, 0.25), rgba(255, 247, 223, 0.07));
  box-shadow: 0 28px 90px rgba(214, 168, 79, 0.24);
}

.price-card--featured:hover {
  transform: translateY(-20px);
  border-color: rgba(240, 216, 141, 0.45);
  box-shadow: 0 34px 100px rgba(214, 168, 79, 0.32);
}

.price-card p {
  margin-bottom: 18px;
}

.price-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: auto 0 18px;
}

.price-card__old {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-color: rgba(233, 111, 76, 0.85);
  text-decoration-thickness: 2px;
}

.price-card__price {
  display: block;
  color: var(--ivory);
  font-size: clamp(28px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.price-card__cta {
  width: 100%;
  margin-top: 0;
}

.mid-cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 76px);
}

.cta {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: clamp(70px, 9vw, 128px) clamp(20px, 5vw, 76px);
  background:
    linear-gradient(180deg, rgba(6, 25, 20, 0.86), rgba(6, 25, 20, 0.92)),
    linear-gradient(90deg, rgba(6, 25, 20, 0.88), rgba(6, 25, 20, 0.5) 50%, rgba(6, 25, 20, 0.88)),
    url("assets/place-nhatrang.jpg") center 54% / cover no-repeat,
    radial-gradient(circle at 50% 18%, rgba(240, 216, 141, 0.18), transparent 20rem),
    linear-gradient(145deg, #061914 0%, #0d3329 100%);
  overflow: hidden;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(240, 216, 141, 0.2), transparent 22rem),
    radial-gradient(circle at 12% 88%, rgba(132, 215, 201, 0.12), transparent 18rem);
}

.cta__content {
  max-width: 880px;
  text-align: center;
}

.cta__content .button {
  margin-top: 22px;
}

.cta__note {
  display: block;
  margin-top: 16px;
  color: rgba(255, 247, 223, 0.62);
}

.reveal {
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.78, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@keyframes float {
  0% { transform: translate3d(0, 28px, 0) scale(0.75); opacity: 0; }
  35% { opacity: 0.5; }
  100% { transform: translate3d(0, -130px, 0) scale(1.1); opacity: 0; }
}

@keyframes slow-breathe {
  from { transform: scale(1); opacity: 0.48; }
  to { transform: scale(1.04); opacity: 0.76; }
}

@keyframes map-glow {
  from { opacity: 0.55; filter: drop-shadow(0 0 0 rgba(240, 216, 141, 0)); }
  to { opacity: 0.95; filter: drop-shadow(0 0 18px rgba(240, 216, 141, 0.16)); }
}

@keyframes route-pulse {
  0%, 100% { opacity: 0.48; transform: rotate(18deg) translateY(0); }
  50% { opacity: 0.95; transform: rotate(18deg) translateY(-8px); }
}

@keyframes dot-ping {
  0%, 100% { transform: scale(0.9); }
  50% { transform: scale(1.28); }
}

@keyframes panel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 100vh;
  }

  .hero__panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    animation: none;
  }

  .hero__route::before {
    right: -10vw;
    width: min(54vw, 460px);
    opacity: 0.55;
  }

  .intro__grid,
  .business,
  .market__layout,
  .quote-grid,
  .pricing {
    grid-template-columns: 1fr;
  }

  .places__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 76px;
  }

  [id] {
    scroll-margin-top: 24px;
  }

  .nav {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: rgba(6, 25, 20, 0.9);
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 2px;
    text-align: center;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: 44px 16px 42px;
    background:
      linear-gradient(90deg, rgba(5, 19, 15, 0.96) 0%, rgba(5, 19, 15, 0.8) 52%, rgba(5, 19, 15, 0.34) 100%),
      linear-gradient(0deg, rgba(5, 19, 15, 0.94) 0%, rgba(5, 19, 15, 0.18) 58%),
      url("assets/vietnam-hero-coast.jpg") 94% center / auto 100% no-repeat,
      #061914;
  }

  .hero::after {
    content: none;
  }

  .hero__content {
    padding-top: 0;
    width: 100%;
    max-width: none;
  }

  h1 {
    max-width: min(100%, 374px);
    font-size: clamp(31px, 8vw, 34px);
    line-height: 1.08;
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  h2 {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.1;
    text-wrap: wrap;
  }

  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero__panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }

  .hero__panel div {
    min-width: 0;
  }

  .hero__route {
    opacity: 0.18;
  }

  .hero__texture {
    opacity: 0.24;
  }

  .route-dot {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__panel div,
  .glass-card,
  .metric-card,
  .feature-panel,
  .quote,
  .price-card {
    padding: 22px;
  }

  .hero__panel strong {
    font-size: 23px;
  }

  .section,
  .cta,
  .places {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .cta {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .places {
    padding-top: 44px;
    padding-bottom: 46px;
  }

  .mid-cta {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .place-card {
    min-height: 256px;
    padding: 22px;
  }

  .places__grid {
    grid-template-columns: 1fr;
  }

  .place-card h3 {
    max-width: 100%;
    font-size: 22px;
  }

  .place-card--coast::before {
    background:
      linear-gradient(0deg, rgba(6, 25, 20, 0.3), rgba(6, 25, 20, 0.05)),
      url("assets/place-nhatrang.jpg") 38% center / cover no-repeat;
  }

  .place-card--bay::before {
    background:
      linear-gradient(0deg, rgba(6, 25, 20, 0.26), rgba(6, 25, 20, 0.04)),
      url("assets/place-halong.jpg") 48% center / cover no-repeat;
  }

  .place-card--lantern::before {
    background:
      linear-gradient(0deg, rgba(6, 25, 20, 0.28), rgba(6, 25, 20, 0.05)),
      url("assets/place-hoian.jpg") 58% center / cover no-repeat;
  }

  .place-card--island::before {
    background:
      linear-gradient(0deg, rgba(6, 25, 20, 0.3), rgba(6, 25, 20, 0.05)),
      url("assets/place-islands.jpg") 42% center / cover no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    size: A4;
    margin: 11mm;
  }

  body {
    background: #071612;
    color: var(--ivory);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
  }

  .ambient,
  .nav,
  .hero__shade,
  .hero__texture,
  .hero__route,
  .hero__actions,
  script {
    display: none !important;
  }

  .hero::before,
  .hero__image {
    display: none !important;
  }

  .hero {
    min-height: 250mm;
    page-break-after: always;
    grid-template-columns: 1fr;
    background: #071612;
  }

  .hero::after,
  .cta::after {
    content: "";
    position: absolute;
    inset: 10mm;
    pointer-events: none;
    border: 1px solid rgba(240, 216, 141, 0.28);
    border-radius: var(--radius);
  }

  .hero__panel {
    grid-template-columns: repeat(3, 1fr);
    background: transparent;
    border: 1px solid rgba(240, 216, 141, 0.2);
    box-shadow: none;
  }

  .hero__panel div {
    background: #ece5cf;
  }

  .section,
  .cta {
    min-height: 0;
    padding: 18mm 10mm;
    page-break-inside: avoid;
    page-break-before: always;
    background: #0b2a22;
  }

  .intro__grid,
  .business,
  .market__layout,
  .quote-grid,
  .pricing {
    grid-template-columns: 1fr;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .price-card,
  .glass-card,
  .metric-card,
  .feature-panel,
  .quote {
    box-shadow: none;
    background: #142b24;
  }

  .button::after {
    display: none;
  }
}
