:root {
  --sea: #0b5f63;
  --sea-deep: #073f43;
  --foam: #e8f3f1;
  --sand: #f7f1e8;
  --ink: #14201f;
  --muted: #4d5f5c;
  --sunrise: #d97757;
  --sunrise-soft: #f3d3c4;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(20, 32, 31, 0.1);
  --shadow: 0 24px 60px rgba(7, 63, 67, 0.12);
  --radius: 28px;
  --font: "Be Vietnam Pro", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(217, 119, 87, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(11, 95, 99, 0.16), transparent 50%),
    linear-gradient(180deg, #f4f8f6 0%, var(--sand) 42%, #eef6f4 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font: inherit; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(244, 248, 246, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 10px 24px rgba(11, 95, 99, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  color: var(--sea-deep);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.sound-btn:hover { border-color: rgba(11, 95, 99, 0.35); }
.sound-btn.is-on {
  background: var(--sea);
  border-color: var(--sea);
  color: #fff;
}

.sound-ico { font-size: 0.95rem; opacity: 0.9; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover { color: var(--sea); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--sea);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 95, 99, 0.28);
}

.btn-primary:hover { background: var(--sea-deep); }

.btn-ghost {
  background: rgba(255,255,255,0.7);
  border-color: var(--line);
  color: var(--ink);
}

.btn-sunrise {
  background: var(--sunrise);
  color: #fff;
  box-shadow: 0 12px 28px rgba(217, 119, 87, 0.28);
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 40, 42, 0.18) 0%, rgba(7, 40, 42, 0.55) 55%, rgba(7, 40, 42, 0.78) 100%),
    url("./img/maps/photo_1.jpg") center/cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #f7fbfa;
  padding: 4.5rem 0 3.5rem;
  max-width: 720px;
  animation: heroIn .9s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: #f6d7c8;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: #f6d7c8;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(247, 251, 250, 0.9);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.92rem;
  color: rgba(247, 251, 250, 0.86);
}

.hero-meta strong { color: #fff; font-weight: 700; }

.stars {
  color: #f5c451;
  letter-spacing: 0.05em;
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.story-card, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.story-card {
  padding: 1.8rem 1.9rem;
}

.story-card p + p { margin-top: 1rem; }
.story-card p { color: var(--muted); font-size: 1.02rem; }

.story-visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: url("./img/maps/photo_3.jpg") center/cover no-repeat;
  position: relative;
  box-shadow: var(--shadow);
}

.story-visual::after {
  content: "Cách biển ~250m · Quảng Thái / Eo Gió Bãi Ngang";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(244, 248, 246, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sea-deep);
}

.amenity-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.amenity-list li {
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.amenity-list strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--sea-deep);
}

.amenity-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.nearby-card {
  padding: 1.45rem 1.4rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--line);
}

.nearby-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  color: var(--sea-deep);
}

.nearby-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  padding: 1.55rem 1.45rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-card.featured {
  background: linear-gradient(160deg, rgba(11,95,99,0.08), rgba(217,119,87,0.12));
  border-color: rgba(11, 95, 99, 0.22);
}

.price-card.soft .btn {
  margin-top: 0.85rem;
  align-self: flex-start;
}

.price-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--muted);
}

.price-days {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
}

.price-value {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sea-deep);
  margin-top: 0.35rem;
}

.price-value span {
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 0.25rem;
  color: var(--muted);
}

.price-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  line-height: 1.55;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.4rem 1.35rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
}

.feature h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0.55rem 0 0.4rem;
}

.feature p { color: var(--muted); font-size: 0.95rem; }

.photo-strip {
  padding: 2.2rem 0 1rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.photo-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1rem;
}

.photo-strip-head h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.photo-strip-head p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36rem;
}

.photo-strip-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 28vw);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.photo-strip-track::-webkit-scrollbar { height: 6px; }
.photo-strip-track::-webkit-scrollbar-thumb {
  background: rgba(11, 95, 99, 0.28);
  border-radius: 999px;
}

.strip-shot {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  scroll-snap-align: start;
  background: #d9e7e4;
  box-shadow: var(--shadow);
}

.strip-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.strip-shot:hover img { transform: scale(1.04); }

.gallery-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.section-cta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-fb {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.28) !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-grid a, .gallery-grid .shot {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #d9e7e4;
  display: block;
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-grid a:hover img { transform: scale(1.04); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review {
  padding: 1.35rem 1.3rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review .text {
  color: var(--ink);
  font-size: 0.98rem;
  flex: 1;
}

.review .meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.review .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--foam);
}

.review .avatar-letter {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--sea-deep);
  background: linear-gradient(145deg, var(--foam), #fff);
  border: 1px solid var(--line);
}

.review .who { font-weight: 700; font-size: 0.92rem; }
.review .when { color: var(--muted); font-size: 0.78rem; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 360px;
  background: #d9e7e4;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.contact-main {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--sea-deep), var(--sea));
  color: #f4fbfa;
  box-shadow: var(--shadow);
}

.contact-main h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.contact-main p {
  color: rgba(244, 251, 250, 0.88);
  margin-bottom: 1.3rem;
  max-width: 34rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-side {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-row {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
}

.contact-row span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-row a, .contact-row strong {
  font-weight: 700;
  color: var(--sea-deep);
  word-break: break-word;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.empty-soft {
  padding: 1.4rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.55);
  border: 1px dashed rgba(11, 95, 99, 0.25);
  color: var(--muted);
}

.mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .sound-btn .sound-label { display: none; }
  .story-grid, .features, .reviews-grid, .contact-band, .gallery-grid,
  .amenity-list, .nearby-grid, .price-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip-track { grid-auto-columns: minmax(160px, 62vw); }
  .hero { min-height: 78vh; }
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(244, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { flex: 1; }
  body { padding-bottom: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media, .hero-content { animation: none; }
}
