* { box-sizing: border-box; }
:root {
  --bg: #0b1b24;
  --text: #d8e8ef;
  --accent: #2f93ad;
  --accent-dark: #246f88;
  --sea-soft: #2f6f86;
  --sea-deep: #9dd5de;
  --sea-foam: #203d49;
  --white: #152d38;
  --pearl-cyan: #a9dee2;
  --pearl-mint: #9ed8c4;
  --pearl-lilac: #c4b9de;
  --pearl-coral: #dba683;
  --danger: #bf2d2d;
  --muted: #a8beca;
  --bg-glass: rgba(4, 26, 30, 0.74);
  --line-soft: rgba(92, 205, 193, 0.3);
  --text-soft: #b5e7e2;
  --text-main: #ecfffd;
}
html {
  scrollbar-gutter: stable;
  background: #04181d;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(169, 222, 226, 0.24), rgba(11, 27, 36, 0)),
    radial-gradient(980px 420px at 92% 0%, rgba(196, 185, 222, 0.2), rgba(11, 27, 36, 0)),
    radial-gradient(860px 320px at 50% 100%, rgba(158, 216, 196, 0.16), rgba(11, 27, 36, 0)),
    url("/assets/media/design/index1-bg-01.png") center top / cover no-repeat,
    var(--bg);
  line-height: 1.55;
}
.no-scroll { overflow: hidden; }
.container { width: min(1100px, 92%); margin: 0 auto; }
.site-header {
  background: linear-gradient(180deg, rgba(13, 35, 46, 0.95), rgba(12, 30, 40, 0.9));
  border-bottom: 1px solid #305364;
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: visible;
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0 18px; }
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding-left: 128px;
  text-decoration: none;
  color: #d7f1f4;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
}
.logo img {
  position: absolute;
  left: 0;
  bottom: -46px;
  width: 138px;
  height: 138px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 14px 18px rgba(3, 10, 16, 0.35));
}
.logo span { position: relative; z-index: 1; }
.main-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.main-nav a { text-decoration: none; color: #bdd6de; font-weight: 500; }
.main-nav a:hover { color: #eefeff; }
.main-nav .nav-dynamic-link {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.main-nav .nav-dynamic-link.nav-dynamic-link-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  background:
    linear-gradient(125deg, rgba(14, 68, 86, 0.74), rgba(41, 116, 149, 0.45)),
    url("/assets/media/houses/house1/img_03.webp") center/cover no-repeat;
  color: #f4fbff;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-wave {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -36px;
  height: 120px;
  background:
    radial-gradient(110% 120% at 18% 0%, rgba(196, 185, 222, 0.38) 0%, rgba(255, 255, 255, 0) 66%),
    radial-gradient(120% 140% at 74% 0%, rgba(158, 216, 196, 0.36) 0%, rgba(186, 235, 255, 0) 66%),
    linear-gradient(180deg, rgba(169, 222, 226, 0.62), rgba(231, 247, 255, 0.1));
  border-radius: 55% 45% 0 0 / 100% 100% 0 0;
  filter: blur(1px);
  animation: waveShift 12s ease-in-out infinite;
}
.hero h1 { margin-top: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.hero p { max-width: 760px; }
.hero-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  letter-spacing: 0.2px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.section {
  padding: 56px 0;
  background: transparent;
}
.section:nth-of-type(odd) {
  background-image: none;
}
.accent {
  background: rgba(47, 147, 173, 0.16);
  color: #eff8ff;
}
.card, .ssi-box {
  background: linear-gradient(165deg, rgba(25, 52, 65, 0.92), rgba(20, 41, 53, 0.9));
  border: 1px solid #396271;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 14px 28px rgba(4, 15, 23, 0.35);
}
.accent .btn-light { background: #e9f7f8; color: var(--accent-dark); }
.card-stack { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.houses-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.houses-photo-scroller {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  padding: 4px 0 10px;
}
.houses-gallery-title {
  margin: 8px 0 0;
  color: #d7f8f4;
}
.houses-floor-section h3 {
  margin: 0 0 10px;
  color: #8af7e8;
}
.houses-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.houses-photo-thumb {
  display: grid;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: rgba(5, 36, 42, 0.42);
  cursor: pointer;
}
.houses-photo-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.houses-photo-caption {
  padding: 9px 10px;
  color: #d7f8f4;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: left;
}
.houses-photo-thumb:hover img {
  transform: scale(1.03);
}
.houses-intro {
  margin-bottom: 24px;
  background: var(--bg-glass-soft);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
.houses-intro h2 {
  margin: 0 0 12px;
  color: #d7f8f4;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}
.houses-intro h3 {
  margin: 20px 0 8px;
  color: #8af7e8;
  font-size: 1.1rem;
}
.houses-intro p {
  color: var(--text-soft);
  font-family: "Segoe UI", Arial, sans-serif;
}
.houses-intro ul {
  margin: 0 0 12px;
  padding: 12px 14px 12px 30px;
  background: rgba(5, 36, 42, 0.48);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.houses-intro li { margin-bottom: 6px; }
.houses-intro-highlight { font-weight: 700; color: #7cefe4; }
.houses-intro-sep {
  border: 0;
  height: 1px;
  background: rgba(146, 214, 222, 0.25);
  margin: 18px 0;
}
.documents-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.documents-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(5, 36, 42, 0.48);
  color: #d7f8f4;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.documents-link:hover {
  background: rgba(12, 64, 73, 0.62);
  border-color: rgba(124, 239, 228, 0.5);
  color: #ecfffd;
}
.route-map-figure {
  margin: 14px 0 0;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 36, 42, 0.45);
}
.route-map-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.houses-intro-cta {
  margin-top: 4px;
  color: #043137;
  background: linear-gradient(135deg, #7cefe4, #16c9c6 55%, #0fc6ab);
  box-shadow: 0 8px 18px rgba(15, 198, 171, 0.32);
}
.houses-intro-cta:hover {
  background: linear-gradient(135deg, #8cf6ec, #25d6d1 55%, #21d3b8);
}
.booking-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.house-features { margin: 10px 0 12px; padding-left: 18px; color: #314652; }
.house-card h2 { margin-bottom: 4px; }
.house-subtitle { margin-top: 0; color: #8fd5df; font-weight: 600; }
.house-meta {
  margin: 10px 0 12px;
  padding-left: 18px;
}
.house-meta li { margin-bottom: 4px; }
.house-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.gallery-thumb {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d8e2ea;
  padding: 0;
  background: #fff;
  cursor: pointer;
}
.house-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.amenity-grid {
  list-style: none;
  padding: 0;
  margin: 10px 0 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.amenity-grid li {
  background: #173141;
  border: 1px solid #32556a;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.95rem;
}
.house-note {
  margin: 0 0 14px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #2b3522;
  border: 1px solid #54653d;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 24, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-figure {
  margin: 0;
  width: min(1200px, 94vw);
  max-height: 92vh;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.lightbox-figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.lightbox-figure figcaption {
  color: #e9f4ff;
  font-size: 0.95rem;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}
.lightbox-close {
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  border-radius: 8px;
  font-size: 34px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.btn {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #eefbff;
  text-decoration: none;
  font-weight: 600;
  padding: 11px 16px;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled {
  background: #8ba2b1;
  cursor: not-allowed;
}
.btn-secondary { background: #516774; }
.btn-danger { background: var(--danger); }
.link-btn {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #8ccad5;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.link-btn:hover { color: #b6e4ec; }
label { display: block; margin-bottom: 12px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  margin-top: 4px;
  border: 1px solid #bfcfdb;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
  background: #fff;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: 3px; }
.hp { position: absolute; left: -9999px; }
.result { color: var(--accent-dark); min-height: 24px; }
.calendar-note-recommend {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(124, 239, 228, 0.45);
  background: rgba(20, 76, 86, 0.52);
  color: #d7fffb;
}
.calendar-note-success {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(92, 205, 130, 0.45);
  background: rgba(16, 72, 48, 0.48);
  color: #d9ffe8;
}
.tip { color: var(--muted); font-size: 0.95rem; }
.booking-special-rate {
  margin: 8px 0 14px;
  padding: 10px 12px;
  border-left: 4px solid #c46b2a;
  border-radius: 8px;
  background: #fff1e5;
  color: #7a3a10;
}
.calendar {
  margin-top: 12px;
  border: 1px solid #d8e2ea;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 6px;
  overflow-x: auto;
}
.calendar-row {
  display: grid;
  grid-template-columns: minmax(190px, max-content) 1fr;
  gap: 10px;
  align-items: center;
}
.calendar-row > div:first-child {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.dot.free { background: #259d3f; }
.dot.busy { background: #ca2f2f; }
.dot.closed { background: #8a97a3; }

.flatpickr-day.day-free {
  background: #e6f8eb;
  border-color: #9fd9ad;
  color: #155b26;
}
.flatpickr-day.day-busy,
.flatpickr-day.day-busy.flatpickr-disabled {
  background: #f8d7d7;
  border-color: #e08a8a;
  color: #8d1f1f;
  opacity: 1;
}
.flatpickr-day.day-closed,
.flatpickr-day.day-closed.flatpickr-disabled {
  background: #ffffff;
  border-color: #e1e7ec;
  color: #9aa7b2;
  opacity: 1;
}
.flatpickr-day.day-minstay,
.flatpickr-day.day-minstay.flatpickr-disabled {
  background: #fff4c7;
  border-color: #e7d487;
  color: #8a6d00;
  opacity: 1;
}
.flatpickr-day.day-free.selected,
.flatpickr-day.day-free.startRange,
.flatpickr-day.day-free.endRange,
.flatpickr-day.day-free.inRange {
  background: #2c9b47;
  border-color: #2c9b47;
  color: #fff;
}
.flatpickr-weekdays .flatpickr-weekday:nth-child(6),
.flatpickr-weekdays .flatpickr-weekday:nth-child(7) {
  color: #c63a3a;
  font-weight: 700;
}
.admin-list { margin-top: 14px; display: grid; gap: 10px; }
.booking-item { border: 1px solid #d5e1ea; border-radius: 8px; padding: 10px; background: #f9fcff; }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}
.admin-tab {
  text-decoration: none;
  color: #1f3e53;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #c7d8e4;
  background: #f4f9fd;
  font-weight: 600;
}
.admin-tab.active {
  color: #fff;
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}
.faq-box {
  margin: 10px 0;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #d8e2ea;
  background: #f2f5f8;
}
.faq-box p:last-child {
  margin-bottom: 0;
}
.site-footer {
  border-top: 0;
  margin-top: 0;
  background: rgba(15, 31, 44, 0.55);
  padding: 30px 0 30px;
  color: #9fb7c7;
}

.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-on-scroll.reveal-init.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scenic-section {
  position: relative;
  overflow: hidden;
}
.scenic-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -160px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(169, 222, 226, 0.34) 0%, rgba(196, 185, 222, 0.2) 38%, rgba(157, 217, 245, 0) 72%);
  pointer-events: none;
}
.scenic-head h2 {
  margin: 0 0 8px;
  color: var(--sea-deep);
}
.scenic-head p {
  margin: 0 0 16px;
  color: #b9cfd9;
}
.scenic-gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.scenic-card {
  border: 1px solid #5c7e8d;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(31, 56, 69, 0.95), rgba(21, 42, 54, 0.92));
  box-shadow: 0 10px 22px rgba(8, 52, 80, 0.12);
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.scenic-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.scenic-card-caption {
  display: block;
  padding: 8px 10px 10px;
  color: #d7f8f4;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.3;
  text-align: left;
  border-top: 1px solid rgba(92, 205, 193, 0.25);
  background: rgba(5, 36, 42, 0.45);
}
.scenic-card:hover img { transform: scale(1.04); }

.scenic-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(6, 14, 24, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.scenic-lightbox[hidden] { display: none; }
.scenic-lightbox-inner {
  width: min(1200px, 96vw);
  max-height: 92vh;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.scenic-lightbox-inner img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
}
.scenic-lightbox-caption {
  color: #d6ebf8;
}
.scenic-lightbox-close,
.scenic-lightbox-nav {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}
.scenic-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 28px;
}
.scenic-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  border-radius: 10px;
  font-size: 36px;
}
.scenic-lightbox-prev { left: 16px; }
.scenic-lightbox-next { right: 16px; }

@keyframes waveShift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(2%) translateY(-6px); }
}
.policy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1200;
}
.policy-modal[hidden] { display: none; }
.policy-modal-box {
  width: min(640px, 96vw);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d8e2ea;
  padding: 18px;
  position: relative;
}
.policy-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e8eef4;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 860px) {
  .section {
    padding: 48px 0;
  }
  .grid-2, .booking-layout { grid-template-columns: 1fr; }
  .house-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .houses-photo-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .amenity-grid { grid-template-columns: 1fr; }
  .header-wrap { padding-bottom: 14px; }
  .logo { font-size: 1.08rem; min-height: 56px; padding-left: 92px; }
  .logo img {
    width: 96px;
    height: 96px;
    bottom: -30px;
  }
  .lightbox { padding: 12px; }
  .lightbox-nav {
    width: 38px;
    height: 56px;
    font-size: 30px;
  }
  .scenic-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenic-card:nth-child(1),
  .scenic-card:nth-child(2),
  .scenic-card:nth-child(3),
  .scenic-card:nth-child(4),
  .scenic-card:nth-child(5),
  .scenic-card:nth-child(6) {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* Unified ocean theme for all pages (index2 style) */
body {
  background:
    linear-gradient(180deg, rgba(2, 16, 20, 0.34) 0%, rgba(3, 18, 24, 0.38) 40%, rgba(2, 14, 20, 0.48) 100%),
    radial-gradient(980px 420px at 88% 12%, rgba(22, 201, 198, 0.26), rgba(0, 0, 0, 0)),
    radial-gradient(840px 340px at 10% 84%, rgba(29, 138, 114, 0.24), rgba(0, 0, 0, 0)),
    #04181d;
}

.site-header {
  position: relative;
  top: auto;
  z-index: 20;
  overflow: visible;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.topline {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(3, 25, 30, 0.7);
  backdrop-filter: blur(2px);
}

.topline-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  min-height: 38px;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b5e7e2;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
}

.topline-inner span {
  line-height: normal;
}

.secret-admin-link {
  color: inherit;
  text-decoration: none;
  cursor: text;
}

.secret-admin-link:visited,
.secret-admin-link:hover,
.secret-admin-link:active {
  color: inherit;
  text-decoration: none;
}

.secret-admin-link:focus { outline: none; }

.site-header .main-nav {
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-glass);
  backdrop-filter: blur(4px);
  display: block;
}

.main-nav-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.nav-side {
  display: flex;
  gap: 22px;
}

.nav-side.right { justify-content: flex-end; }

.nav-side a {
  color: var(--text-soft);
  text-decoration: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-side a:hover { color: #d5fffb; }

.brand-center {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
}

.brand-center img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

.brand-title {
  margin-top: 4px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: normal;
  letter-spacing: 0.5px;
}

.main-nav .nav-dynamic-link {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.main-nav .nav-dynamic-link.nav-dynamic-link-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.section { padding: 56px 0; background: transparent; }
.card, .ssi-box {
  background: linear-gradient(165deg, rgba(25, 52, 65, 0.92), rgba(20, 41, 53, 0.9));
  border: 1px solid rgba(92, 205, 193, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(92, 205, 193, 0.2);
  background: rgba(4, 26, 30, 0.7);
}

@media (max-width: 960px) {
  .main-nav-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0;
    gap: 10px;
  }
  .nav-side {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .nav-side.right { justify-content: center; }
}

@media (max-width: 620px) {
  .topline-inner {
    width: min(1180px, 94%);
    min-height: auto;
    padding: 6px 0;
    display: grid;
    gap: 4px;
    justify-items: start;
    font-size: 0.76rem;
    line-height: 1.25;
  }
}

/* Global dynamic background for all non-landing pages */
.global-bg-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.global-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1800ms ease;
  transform: scale(1.02);
}

.global-bg-layer.layer-a { opacity: 1; }
.global-bg-layer.layer-b { opacity: 0; }

.global-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 16, 20, 0.34) 0%, rgba(3, 19, 23, 0.4) 40%, rgba(3, 17, 21, 0.52) 100%),
    radial-gradient(1100px 440px at 85% 18%, rgba(25, 197, 183, 0.3), rgba(0, 0, 0, 0)),
    radial-gradient(900px 380px at 12% 78%, rgba(29, 138, 114, 0.24), rgba(0, 0, 0, 0));
}

body > :not(.global-bg-container):not(.flatpickr-calendar):not(.lightbox):not(.scenic-lightbox):not(.mini-lightbox):not(.policy-modal) {
  position: relative;
  z-index: 1;
}

/* Main landing layout (migrated from index2) */
.landing {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #04181d;
}

.landing-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1800ms ease;
  transform: scale(1.02);
}

.landing-bg.layer-a { opacity: 1; }
.landing-bg.layer-b { opacity: 0; }

.landing-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 16, 20, 0.56) 0%, rgba(3, 19, 23, 0.62) 40%, rgba(3, 17, 21, 0.76) 100%),
    radial-gradient(1100px 440px at 85% 18%, rgba(25, 197, 183, 0.26), rgba(0, 0, 0, 0)),
    radial-gradient(900px 380px at 12% 78%, rgba(29, 138, 114, 0.2), rgba(0, 0, 0, 0));
}

.landing .topline,
.landing .main-nav,
.landing .hero {
  position: relative;
  z-index: 2;
}

.landing .hero {
  width: min(1080px, 92%);
  margin: 0 auto;
  min-height: calc(100vh - 126px);
  display: grid;
  align-content: center;
  gap: 20px;
  text-align: center;
  padding: 70px 0 40px;
  background: transparent;
}

.hero-kicker {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7cefe4;
  font-size: 0.75rem;
}

.hero-subtitle {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #b5e7e2;
}

.landing .hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-primary {
  color: #043137;
  background: linear-gradient(135deg, #7cefe4, #16c9c6 55%, #0fc6ab);
  box-shadow: 0 8px 18px rgba(15, 198, 171, 0.32);
}

.btn-ghost {
  color: #ecfffd;
  border: 1px solid rgba(124, 239, 228, 0.55);
  background: rgba(4, 39, 44, 0.48);
}

.feature-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: rgba(5, 36, 42, 0.56);
  border: 1px solid rgba(92, 205, 193, 0.3);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: left;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  font-weight: 400;
  color: #8af7e8;
}

.feature-card p {
  margin: 0;
  color: #b5e7e2;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
}

.mini-gallery-section {
  position: relative;
  z-index: 2;
  padding: 12px 0 56px;
}

.mini-gallery-wrap {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.mini-gallery-wrap h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
}

.mini-gallery-wrap p {
  margin: 0 0 16px;
  color: #b5e7e2;
  font-family: "Segoe UI", Arial, sans-serif;
}

.tape-viewport {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(92, 205, 193, 0.3);
  border-radius: 14px;
  background: rgba(3, 30, 36, 0.42);
}

.tape-track {
  display: inline-flex;
  width: max-content;
  gap: 0;
  padding: 12px 0;
}

.tape-set {
  position: relative;
  display: inline-flex;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(24, 30, 38, 0.96), rgba(18, 24, 31, 0.95));
  border-top: 1px solid rgba(155, 170, 180, 0.36);
  border-bottom: 1px solid rgba(155, 170, 180, 0.36);
}

.tape-set::before,
.tape-set::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(9, 13, 17, 0.98) 0 11px,
    rgba(212, 221, 228, 0.9) 11px 17px
  );
}

.tape-set::before { top: 3px; }
.tape-set::after { bottom: 3px; }

.tape-card {
  display: block;
  width: clamp(220px, 24vw, 330px);
  padding: 0;
  border: 2px solid rgba(175, 188, 197, 0.45);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(7, 16, 24, 0.82);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.tape-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.tape-card:hover img { transform: scale(1.04); }

.tape-note {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.84;
}

/* Landing lock: keeps index design stable with single style.css */
body.landing-page {
  font-family: "Georgia", "Times New Roman", serif;
  color: #ecfffd;
  background: #04181d;
}

body.landing-page .site-header {
  position: relative;
  top: auto;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

body.landing-page .topline {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(3, 25, 30, 0.7);
  backdrop-filter: blur(2px);
}

body.landing-page .topline-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  height: 38px;
  min-height: 38px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b5e7e2;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
}

body.landing-page .site-header .main-nav {
  display: block;
  border-bottom: 1px solid rgba(92, 205, 193, 0.3);
  background: rgba(4, 26, 30, 0.74);
  backdrop-filter: blur(4px);
}

body.landing-page .main-nav-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  height: 88px;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

body.landing-page .nav-side {
  display: flex;
  gap: 22px;
}

body.landing-page .nav-side.right { justify-content: flex-end; }

body.landing-page .nav-side a {
  color: #b5e7e2;
  text-decoration: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
}

body.landing-page .brand-center {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
}

body.landing-page .brand-center img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

body.landing-page .brand-title {
  margin-top: 4px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.5px;
}

body.landing-page .btn {
  display: inline-block;
  text-decoration: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
}

@media (max-width: 960px) {
  body.landing-page .main-nav-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0;
    gap: 10px;
  }

  body.landing-page .nav-side {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  body.landing-page .nav-side.right { justify-content: center; }
}

@media (max-width: 620px) {
  body.landing-page .topline { display: none; }
}
