:root {
  --ink: #102427;
  --deep: #083f4a;
  --blue: #0e6e85;
  --reef: #2f8f7f;
  --coral: #d26f56;
  --sun: #f2c46d;
  --mist: #e9f1f0;
  --paper: #f7f8f4;
  --white: #ffffff;
  --line: rgba(16, 36, 39, 0.14);
  --muted: #667777;
  --shadow: 0 18px 50px rgba(7, 35, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

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

body.lang-en .zh,
body.lang-zh .en {
  display: none !important;
}

body.lang-zh .zh {
  display: inline;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 173px 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 0 34px;
  color: var(--white);
  background: rgba(6, 33, 38, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(6, 33, 38, 0.92);
}

.brand img {
  width: 140px;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
}

nav a {
  color: rgba(255, 255, 255, 0.86);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.language-switch button,
.language-switch a {
  min-width: 42px;
  border: 0;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  cursor: pointer;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.language-switch button.is-active,
.language-switch a.is-active {
  color: var(--ink);
  background: var(--white);
}

.nav-action,
.button,
.contact-methods a {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  padding: 10px 15px;
  color: var(--white);
  font-size: 14px;
}

.nav-action:hover {
  color: var(--ink);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero video {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 26, 31, 0.88), rgba(3, 26, 31, 0.52) 48%, rgba(3, 26, 31, 0.16)),
    linear-gradient(to top, rgba(3, 26, 31, 0.84), rgba(3, 26, 31, 0.08) 66%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 56px));
  padding: 150px 0 168px 64px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker,
.sites .kicker,
.contact .kicker {
  color: rgba(255, 255, 255, 0.76);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 68px;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: 44px;
  font-weight: 650;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 650;
}

.hero-content p:not(.kicker) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  font-weight: 700;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button.primary:hover {
  color: var(--white);
  background: transparent;
}

.button.secondary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero-facts {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(720px, calc(100% - 68px));
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(4, 43, 49, 0.5);
  backdrop-filter: blur(14px);
}

.hero-facts div {
  min-height: 108px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  margin-bottom: 8px;
  color: var(--sun);
  font-size: 22px;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 88px;
  display: grid;
  align-items: center;
  padding: 18px 28px;
  border-right: 1px solid var(--line);
  color: var(--deep);
  font-weight: 750;
}

.proof-strip div:last-child {
  border-right: 0;
}

.intro,
.section,
.sites,
.stay,
.contact {
  padding: 92px 64px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  gap: 58px;
  align-items: end;
  background: var(--mist);
}

.intro p:not(.kicker) {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.36;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(460px, 1.24fr);
  gap: 54px;
  margin-bottom: 38px;
  align-items: end;
}

.section-title .kicker {
  margin-bottom: 0;
}

.trip-section,
.media-section {
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.88fr 0.88fr;
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 270px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card.featured {
  grid-template-rows: 360px 1fr;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card.featured img {
  object-position: 42% center;
}

.product-card > div {
  padding: 24px;
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--deep);
  background: rgba(47, 143, 127, 0.13);
  border: 1px solid rgba(47, 143, 127, 0.28);
  font-size: 12px;
  font-weight: 750;
}

.product-card p,
.stay-content p,
.stay-content li,
.sites-copy p,
.course-section p,
.tour-grid p {
  color: var(--muted);
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-size: 14px;
}

.course-section {
  color: var(--white);
  background:
    linear-gradient(rgba(8, 63, 74, 0.88), rgba(8, 63, 74, 0.88)),
    url("../images/course-bg-img-5252-copy.jpg") center / cover;
}

.course-section .kicker,
.course-section p {
  color: rgba(255, 255, 255, 0.74);
}

.split {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(460px, 1.14fr);
  gap: 58px;
  align-items: start;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, minmax(120px, auto));
  grid-auto-flow: column;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.course-list article {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.course-list span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.stay {
  display: grid;
  grid-template-columns: minmax(460px, 1.12fr) minmax(360px, 0.88fr);
  gap: 48px;
  align-items: center;
  background: var(--white);
}

.stay-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stay-photo {
  margin: 0;
  overflow: hidden;
}

.stay-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.stay-gallery img:hover {
  transform: scale(1.035);
}

.stay-photo.wide {
  grid-column: 1 / -1;
}

.stay-photo.wide img {
  height: 360px;
}

ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 18px;
}

.sites {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(500px, 1.22fr);
  gap: 58px;
  color: var(--white);
  background: var(--ink);
}

.site-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.site-cards article {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-cards article:nth-child(2) img {
  object-position: center 62%;
}

.site-cards div {
  padding: 20px;
}

.site-cards p,
.sites-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  grid-auto-rows: 150px;
  gap: 12px;
  overflow: visible;
}

.media-section .section-title {
  display: block;
  margin-bottom: 28px;
}

.media-item {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: visible;
}

.media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  cursor: zoom-in;
  transition: transform 220ms ease;
}

.media-item:hover,
.media-item:focus-within {
  z-index: 80;
}

.media-item:hover img,
.media-item:focus-within img {
  position: fixed;
  left: 50vw;
  top: 50vh;
  width: auto;
  height: auto;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 120px);
  box-sizing: border-box;
  object-fit: contain;
  transform: translate(-50%, -50%);
  border: 6px solid var(--white);
  border-radius: 12px;
  outline: 0;
}

.media-item:hover img.is-landscape,
.media-item:focus-within img.is-landscape {
  max-width: calc(75vw - 36px);
  max-height: calc(75vh - 90px);
}

.media-item:nth-child(1),
.media-item:nth-child(7) {
  grid-column: span 2;
  grid-row: span 2;
}

.media-item:nth-child(2),
.media-item:nth-child(5),
.media-item:nth-child(10),
.media-item:nth-child(11),
.media-item:nth-child(12),
.media-item:nth-child(14) {
  grid-column: span 2;
}

.media-item:nth-child(3),
.media-item:nth-child(4),
.media-item:nth-child(6),
.media-item:nth-child(13) {
  grid-row: span 2;
}

.safety {
  background: var(--white);
}

.safety .section-title {
  display: block;
  margin-bottom: 28px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.safety-grid div {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.safety-grid strong {
  color: var(--deep);
  font-size: 24px;
}

.safety-grid span {
  color: var(--muted);
  font-size: 14px;
}

.safety-note {
  display: grid;
  gap: 12px;
  align-items: start;
}

.padi-profile-button {
  display: inline-flex;
  width: 86px;
  line-height: 0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.padi-profile-button:hover,
.padi-profile-button:focus-visible {
  opacity: 0.88;
  transform: scale(1.04);
  outline: 0;
}

.padi-profile-button img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tour-section {
  background: var(--mist);
}

.tour-grid {
  display: grid;
  gap: 14px;
}

.tour-grid article {
  display: grid;
  grid-template-columns: 48px minmax(160px, 0.34fr) 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.tour-grid article > span {
  color: var(--coral);
  font-weight: 800;
}

.google-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(460px, 1.18fr);
  gap: 42px;
  align-items: stretch;
  padding: 92px 64px;
  color: var(--white);
  background: var(--blue);
}

.google-copy {
  display: grid;
  align-content: center;
}

.google-section .kicker {
  color: rgba(255, 255, 255, 0.74);
}

.google-section h2 {
  max-width: 640px;
}

.google-section p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.google-rating {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.google-rating strong {
  color: var(--sun);
  font-size: 54px;
  line-height: 1;
}

.google-rating span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.map-frame {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(460px, 1fr);
  gap: 64px;
  color: var(--white);
  background: #071719;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-methods {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.contact-methods div {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-methods strong {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-methods a,
.contact-methods span {
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.contact-methods a:hover {
  color: var(--ink);
  background: var(--white);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 12px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

textarea {
  resize: vertical;
}

select option {
  color: var(--ink);
}

form button {
  min-height: 52px;
  border: 1px solid var(--white);
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

footer {
  display: grid;
  gap: 22px;
  padding: 14px 64px 30px;
  color: rgba(255, 255, 255, 0.72);
  background: #030d0f;
  font-size: 13px;
}

.footer-info {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 28px;
}

footer div:not(.footer-info) {
  display: grid;
  gap: 4px;
}

.footer-padi {
  width: min(1080px, 100%);
  max-height: 150px;
  object-fit: contain;
  justify-self: center;
}

footer strong {
  color: var(--white);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 160px auto 1fr;
    padding: 0 22px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px 22px 24px;
    background: rgba(6, 33, 38, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  body.nav-open nav {
    display: grid;
  }

  nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 16px;
  }

  .header-actions {
    justify-self: end;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-content {
    padding-left: 32px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .section-title,
  .split,
  .stay,
  .sites,
  .contact,
  .google-section {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card.featured {
    grid-template-rows: 320px 1fr;
  }

  .site-cards {
    grid-template-columns: 1fr 1fr;
  }

  .media-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 112px auto 1fr;
    min-height: 72px;
    gap: 10px;
    padding: 0 16px;
  }

  nav {
    inset: 72px 0 auto;
  }

  .brand img {
    width: 113px;
  }

  .language-switch button,
.language-switch a {
    min-width: 36px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    display: block;
    min-height: 100vh;
  }

  .hero-content {
    width: auto;
    padding: 128px 22px 32px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-content p:not(.kicker),
  .intro p:not(.kicker) {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-facts {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr 1fr;
    width: auto;
    margin: 0 22px 24px;
  }

  .hero-facts div {
    min-height: 96px;
  }

  .hero-facts div:nth-child(2) {
    border-right: 0;
  }

  .hero-facts div:nth-child(1),
  .hero-facts div:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .proof-strip,
  .course-list,
  .site-cards,
  .safety-grid,
  .media-grid,
  dl {
    grid-template-columns: 1fr;
  }

  .course-list {
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .intro,
  .section,
  .sites,
  .stay,
  .contact,
  .google-section {
    padding: 58px 22px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .section-title {
    gap: 16px;
    margin-bottom: 28px;
  }

  .product-card,
  .product-card.featured {
    grid-template-rows: 260px 1fr;
  }

  .stay-gallery,
  .tour-grid article {
    grid-template-columns: 1fr;
  }

  .stay-gallery .wide,
  .stay-gallery img,
  .site-cards article {
    height: auto;
  }

  .stay-gallery img,
  .stay-gallery .wide {
    min-height: 230px;
  }

  .stay-photo.wide img {
    height: auto;
    min-height: 230px;
  }

  .media-grid {
    grid-auto-rows: 230px;
  }

  .media-item:nth-child(1),
  .media-item:nth-child(2),
  .media-item:nth-child(3),
  .media-item:nth-child(4),
  .media-item:nth-child(5),
  .media-item:nth-child(6),
  .media-item:nth-child(7),
  .media-item:nth-child(10),
  .media-item:nth-child(11),
  .media-item:nth-child(12),
  .media-item:nth-child(13),
  .media-item:nth-child(14) {
    grid-column: auto;
    grid-row: auto;
  }

  footer {
    padding: 24px 22px;
  }

  .footer-info {
    display: grid;
  }

  .footer-padi {
    width: 100%;
    max-height: 120px;
  }
}


.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
