* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

@font-face {
  font-family: 'Xtradex';
  src: url('font/Xtradex.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Aquatico-Regular';
  src: url('/font/Aquatico-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Seaside Wave - Personal Use';
  src: url('/font/Seaside\ Wave\ -\ Personal\ Use.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  background: #f4f4f4;
}

/* ===============================
   NAVBAR — floating capsule dock
================================ */

.navbar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 1.2rem);
  height: 58px;
  z-index: 9999;
  border-radius: clamp(16px, 2.5vw, 22px);

  background: rgba(10, 20, 28, 0.4);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.02)
  );
}

/* ===============================
   CONTAINER
================================ */

.nav-container {
  height: 100%;
  padding: 0 0.4rem 0 0.9rem;

  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* ===============================
   LEFT GROUP
================================ */

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* ===============================
   LOGO
================================ */

.logo img {
  height: 22px;
  max-width: 96px;
  width: 100%;
  object-fit: contain;
}

/* ===============================
   NAV LINKS — icon dock
================================ */

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

.nav-links li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;

  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;

  transition: background 0.3s ease, color 0.3s ease, transform 0.25s cubic-bezier(.22,1,.36,1);
}

.nav-links li a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* accessible name for the icon-only button — visually hidden, still
   announced by screen readers and reachable via keyboard focus */
.nav-links li a .nav-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.nav-links li a.active {
  color: #00eaff;
}

@media (max-width: 599px) {
  .navbar {
    height: 60px;
    max-width: calc(100% - 1rem);
    border-radius: 18px;
  }

  .nav-container {
    padding: 0 0.35rem 0 0.7rem;
    gap: 0.55rem;
  }

  .nav-left {
    gap: 0.55rem;
  }

  .logo img {
    height: 25px;
    max-width: 104px;
  }

  .nav-links {
    gap: 0.12rem;
  }

  .nav-links li a {
    width: 40px;
    height: 40px;
  }

  .nav-links li a svg {
    width: 19px;
    height: 19px;
  }
}

/* tooltip label on hover/focus — pops upward by default since the dock
   sits at the bottom of the screen on mobile/tablet */
.nav-links li a::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);

  background: rgba(8, 16, 22, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-links li a:hover::after,
.nav-links li a:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* tablet and up: a little more room to breathe */
@media (min-width: 600px) {
  .navbar {
    bottom: 1rem;
    max-width: calc(100% - 1.6rem);
    height: 58px;
  }

  .nav-container {
    padding: 0 0.5rem 0 1.1rem;
    gap: 1.2rem;
  }

  .nav-left {
    gap: 1.2rem;
  }

  .logo img {
    height: 25px;
    max-width: 110px;
  }

  .nav-links {
    gap: 0.2rem;
  }

  .nav-links li a {
    width: 38px;
    height: 38px;
  }

  .nav-links li a svg {
    width: 17px;
    height: 17px;
  }
}

/* desktop: the full-size dock, back up at the top */
@media (min-width: 900px) {
  .navbar {
    top: 1rem;
    bottom: auto;
    max-width: calc(100% - 2rem);
    height: 64px;
  }

  .nav-container {
    padding: 0 0.6rem 0 1.3rem;
    gap: 1.8rem;
  }

  .nav-left {
    gap: 1.8rem;
  }

  .logo img {
    height: 30px;
    max-width: 130px;
  }

  .nav-links {
    gap: 0.3rem;
  }

  .nav-links li a {
    width: 42px;
    height: 42px;
  }

  .nav-links li a svg {
    width: 19px;
    height: 19px;
  }

  /* dock is at the top here, so the tooltip should drop back down */
  .nav-links li a::after {
    top: calc(100% + 10px);
    bottom: auto;
    transform: translateX(-50%) translateY(-4px);
  }

  .nav-links li a:hover::after,
  .nav-links li a:focus-visible::after {
    transform: translateX(-50%) translateY(0);
  }
}



/* ===========================
   HERO SECTION (MOBILE FIRST)
=========================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 4.5rem 1rem 2.5rem;
}

/* ===========================
   VIDEO
=========================== */

.hero-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  z-index: 1;
}

/* ===========================
   OVERLAY
=========================== */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 2;
}

/* ===========================
   CONTENT
=========================== */

.hero-content {
  position: relative;
  z-index: 3;

  text-align: center;
  color: #fff;

  max-width: 720px;
  width: 100%;

  padding: 0 0.5rem;
}

/* ===========================
   TYPOGRAPHY
=========================== */

.hero-content h1 {
  width: 100%;
  max-width: 980px;
  margin: 0 auto .9rem;
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.06;
  text-wrap: balance;
}

.hero-content .section-eyebrow {
  margin: 0 auto .55rem;
  color: #8affef;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 1;
}

.hero-content p {
  font-size: clamp(0.8rem, 2.8vw, 1.05rem);
  opacity: 0.9;
  line-height: 1.6;
  width: min(100%, 560px);
  margin: .85rem auto 1.2rem;
  letter-spacing: 0.08em;
  text-wrap: balance;
}

/* ===========================
   BUTTONS
=========================== */

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 260px;

  min-height: 54px;
  padding: 0.85rem 1.4rem 0.85rem 1.6rem;
  border-radius: 999px;

  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;

  text-decoration: none;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);

  transition: transform 0.3s cubic-bezier(.22,1,.36,1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.btn span {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover span {
  transform: translate(2px, -2px);
}

/* glossy top sheen shared by both variants */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.08) 35%,
    transparent 60%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.btn.primary {
  background: linear-gradient(135deg, #63f4e5 0%, #00c6db 48%, #0097c0 100%);
  border: 1px solid rgba(169, 255, 247, 0.72);
  color: #032c38;
  box-shadow:
    0 14px 32px rgba(0, 174, 202, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn.primary span {
  background: rgba(3, 44, 56, 0.16);
}

.btn.primary:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #8affef 0%, #00d5e6 48%, #00a7c9 100%);
  box-shadow:
    0 22px 42px rgba(0, 174, 202, 0.42),
    0 0 0 5px rgba(99, 244, 229, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn.secondary {
  background: rgba(4, 27, 38, 0.28);
  border: 1px solid rgba(196, 255, 250, 0.55);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn.secondary span {
  background: rgba(255, 255, 255, 0.14);
}

.btn.secondary:hover {
  transform: translateY(-5px);
  background: rgba(99, 244, 229, 0.16);
  border-color: #8affef;
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.26),
    0 0 0 5px rgba(99, 244, 229, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ===========================
   TABLET (≥ 768px)
=========================== */

@media (min-width: 768px) {

  .hero {
    padding: 6rem 2rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
    min-width: 200px;
  }
}

/* ===========================
   DESKTOP (≥ 1024px)
=========================== */

@media (min-width: 1024px) {

  .hero {
    padding: 7rem 2rem;
  }

  .hero-content {
    max-width: 900px;
  }
}


/* ===========================
WHY CHOOSE US SECTION
=========================== */

.why-section {
  position: relative;
  isolation: isolate;
  padding: 4rem 1rem 5rem;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.why-section::before,
.why-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.why-section::before {
  top: 10%;
  left: -12rem;
  width: 25rem;
  height: 25rem;
  background: rgba(0, 204, 220, 0.1);
  filter: blur(70px);
}

.why-section::after {
  right: -14rem;
  bottom: 0;
  width: 30rem;
  height: 30rem;
  background: rgba(0, 143, 177, 0.1);
  filter: blur(80px);
}

.why-heading {
  position: relative;
  text-align: center;
}

.section-eyebrow {
  margin-bottom: 0.8rem;
  color: #008da3;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.why-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-weight: 500;
  color: #062b38;
}

.subtitle-why-choose-us {
  max-width: 700px;
  margin: 1.25rem auto 3rem;
  text-align: center;
  color: rgba(6, 43, 56, 0.66);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ===============================
   SWIPE CYLINDER CAROUSEL
================================ */

.why-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1120px;
  margin: 2.5rem auto 0;
}

.why-card {
  position: relative;
  min-height: 300px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 45px rgba(3, 38, 49, 0.2);
  background: #0a3544;
  isolation: isolate;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.45s ease;
}

.why-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(.22,1,.36,1), filter 0.45s ease;
}

.why-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.12);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(3, 38, 49, 0.25);
}

/* black-to-transparent scrim + caption */
.why-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;

  background: linear-gradient(to top, rgba(2, 19, 28, 0.92), rgba(2, 19, 28, 0.08) 78%);
  color: #fff;
}

.why-card-kicker {
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-card-overlay h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.why-card-overlay p {
  font-size: clamp(0.82rem, 1.8vw, 0.92rem);
  line-height: 1.45;
  opacity: 0.85;
}

@media (min-width: 600px) {
  .why-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .why-card {
    min-height: 280px;
  }

  .why-card img {
    min-height: 280px;
  }
}

@media (min-width: 900px) {
  .why-benefits-grid {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    grid-template-rows: repeat(2, 250px);
    gap: 1.25rem;
  }

  .why-card {
    min-height: 0;
  }

  .why-card img {
    min-height: 0;
  }

  .why-card:first-child {
    grid-row: span 2;
  }

  .why-card:first-child .why-card-overlay {
    padding: 2rem;
  }

  .why-card:first-child h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }
}

/* ===============================
   GALLERY SECTION
================================ */

.gallery-section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.gallery-section h2 {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-weight: 500;
  color: #060606;
}

.gallery-heading {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.gallery-heading h2 {
  color: var(--ocean-ink, #062b38);
  line-height: 1.08;
}

.gallery-heading > p:last-child {
  margin-top: 1.25rem;
  color: var(--ocean-muted, rgba(6, 43, 56, 0.66));
  line-height: 1.8;
}

.subtitle-gallery-section {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
  opacity: 0.6;
}

/* BENTO GALLERY GRID */

.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(150px, 1fr);
  grid-auto-flow: dense;
}

.bento-card--tall {
  grid-row: span 2;
}

.bento-card--wide,
.bento-card--feature {
  grid-column: span 2;
  grid-row: span 2;
}

@media (min-width: 600px) and (max-width: 899px) {
  .bento-grid {
    grid-auto-rows: minmax(190px, 1fr);
  }
}

@media (min-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 1.25rem;
  }
}

/* ===============================
   CARD FRAME
================================ */

.bento-card {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0.3)
  );
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  padding: clamp(6px, 1vw, 9px);
  border-radius: 16px;
  overflow: hidden;
  position: relative;

  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

/* glossy sheen over the photo */
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.06) 35%,
    transparent 60%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform 0.6s ease;
}

/* ===============================
   INTERACTION
================================ */

@media (hover: hover) {
  .bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 234, 255, 0.5);
    box-shadow:
      0 20px 40px rgba(0,0,0,0.18),
      0 0 24px rgba(0, 234, 255, 0.18);
  }

  .bento-card:hover img {
    transform: scale(1.06);
  }
}

/* ===============================
   IMAGE MODAL
================================ */

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;

  z-index: 9999;
}

/* active state */
.image-modal.active {
  opacity: 1;
  visibility: visible;
}

/* modal image */
.image-modal img {
  max-width: 90vw;
  max-height: 90vh;

  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);

  animation: modalZoomIn 0.35s ease;
}

/* close button */
.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* ===============================
   ANIMATIONS
================================ */

@keyframes modalZoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===============================
   🌊 OCEAN STYLE SCROLL REVEAL
================================ */

.scroll-ocean {
  opacity: 1;
  transform: none;
  filter: none;

  transition:
    opacity 1.1s cubic-bezier(.22, 1, .36, 1),
    transform 1.1s cubic-bezier(.22, 1, .36, 1),
    filter 1.1s cubic-bezier(.22, 1, .36, 1);
}

/* Hide sections for the reveal effect only when its observer is available. */
.has-scroll-reveal .scroll-ocean {
  opacity: 0;
  transform: translateY(70px);
  filter: blur(14px);
}

/* visible */
.has-scroll-reveal .scroll-ocean.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
  .has-scroll-reveal .scroll-ocean {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ===============================
   TESTIMONIAL SECTION
================================ */

.testimonial-section {
  position: relative;
  padding: 6rem 1rem 5rem;
  margin: 4rem 0 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;

  background: linear-gradient(160deg, #0e3a4a 0%, #146275 45%, #1c7d86 100%);
}

/* soft glowing color blooms that the glass cards refract */
.testimonial-section::before,
.testimonial-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.testimonial-section::before {
  top: -10%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(120, 245, 230, 0.3), transparent 70%);
}

.testimonial-section::after {
  bottom: -15%;
  right: -6%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 234, 255, 0.22), transparent 70%);
}

.testimonial-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-weight: 500;
  color: #fff;
}

.testimonial-subtitle {
  margin: 0.8rem auto 3rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===============================
   CAROUSEL
================================ */

.testimonial-carousel {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0.5rem 0 1.5rem;
  perspective: 1400px;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
  transform-style: preserve-3d;
  align-items: stretch;
}

.testimonial-track.grabbing {
  cursor: grabbing;
}


/* ===============================
   CARD — liquid glass (light)
================================ */

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 85%;
  padding: 2.2rem 2rem;
  text-align: left;
  color: #fff;
  border-radius: 26px;
  overflow: hidden;
  backface-visibility: hidden;

  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.025) 60%,
    rgba(255, 255, 255, 0.055)
  );
  backdrop-filter: blur(13px) saturate(150%);
  -webkit-backdrop-filter: blur(13px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 16px rgba(255, 255, 255, 0.03);

  transition: transform 0.55s cubic-bezier(.22,1,.36,1),
              opacity 0.55s ease,
              filter 0.55s ease,
              box-shadow 0.45s cubic-bezier(.22,1,.36,1),
              border-color 0.45s ease;
  transform-style: preserve-3d;
}

/* glossy top-light sheen, the hallmark of a "liquid glass" surface */
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    transparent 55%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* oversized quote mark watermark */
.testimonial-card::after {
  content: "\201C";
  position: absolute;
  top: -1.2rem;
  right: 1.2rem;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(0, 234, 255, 0.4);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 22px rgba(0, 234, 255, 0.12);
}

/* tablet */
@media (min-width: 600px) {
  .testimonial-card {
    min-width: 60%;
  }
}

/* desktop */
@media (min-width: 900px) {
  .testimonial-card {
    min-width: 33%;
  }
}

/* dots */
.testimonial-dots {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.testimonial-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.35s cubic-bezier(.22,1,.36,1),
              background 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.2s ease;
}

.testimonial-dots span:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.15);
}

.testimonial-dots span.active {
  width: 28px;
  background: #00eaff;
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.7);
}

/* ===============================
   CONTENT
================================ */

.review {
  position: relative;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.92);
}

.author {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.author h4 {
  font-size: 0.95rem;
  color: #fff;
}

.author span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===============================
   LOCATION SECTION
================================ */

.location-section {
  padding: 4rem 1rem 5rem;
  max-width: 1200px;
  margin: auto;
}

.location-section h2 {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-weight: 500;
  color: #060606;
}

.map-container {
  width: 100%;
  max-width: 1100px;
  max-height: 600px;
  aspect-ratio: 4 / 3;
  margin: 3rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===============================
   ABOUT SECTION
================================ */

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: auto;
  padding: 5rem 1rem;
}

.about-intro {
  align-self: center;
}

.about-eyebrow {
  margin-bottom: 0.8rem;
  color: #008da3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-intro h2 {
  max-width: 600px;
  color: #060606;
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.05;
}

.about-intro p:not(.about-eyebrow) {
  max-width: 590px;
  margin-top: 1.25rem;
  color: rgba(6, 6, 6, 0.68);
  font-size: 0.98rem;
  line-height: 1.8;
}

.about-intro .about-lead {
  color: #183c46;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.7rem;
  color: #007f94;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.about-link span {
  font-size: 1.3rem;
  line-height: 1;
}

.about-link:hover {
  gap: 1rem;
  color: #00a8c2;
}

.about-feature {
  position: relative;
}

.about-feature-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 46, 61, 0.16);
}

.about-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 234, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.about-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-feature-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: rgba(5, 32, 42, 0.68);
  color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  line-height: 1.5;
}

.about-feature-badge strong {
  color: #fff;
  font-size: 0.88rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.about-value {
  padding: 1.35rem;
  border: 1px solid rgba(0, 125, 148, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 24px rgba(0, 56, 72, 0.06);
}

.about-value-number {
  color: #00a0b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.about-value h3 {
  margin: 0.7rem 0 0.45rem;
  color: #123641;
  font-size: 1.1rem;
}

.about-value p {
  color: rgba(6, 6, 6, 0.62);
  font-size: 0.86rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .about-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 7rem 2rem;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
  }
}

/* ===============================
   ORGANIZATION STRUCTURE
================================ */

.org-section {
  padding: 1rem 1rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(to top, rgba(244, 244, 244, 0) 0%, rgba(244, 244, 244, 0.14) 30%, rgba(244, 244, 244, 0.7) 100%);
}

.org-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.org-header h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #0d2e3a;
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.org-subheader {
  margin: 0 0 2rem;
  text-align: center;
  color: rgba(13, 46, 58, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.org-team-grid {
  display: flex;
  gap: 5px;
  align-items: stretch;
  height: 254px;
  position: relative;
  z-index: 1;
}

.org-card {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  height: 254px;
  min-height: 0;
  background: linear-gradient(to top, rgba(244, 244, 244, 0) 0%, rgba(244, 244, 244, 0.12) 32%, rgba(244, 244, 244, 0.72) 100%);
  box-shadow: 0 18px 38px rgba(16, 35, 44, 0.07);
  transition: all 0.5s ease;
}

.org-card:hover,
.org-guide-card:hover {
  flex: 4;
  transform: none;
  box-shadow: 0 20px 42px rgba(16, 35, 44, 0.12);
}

.org-card-visual {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.org-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.02);
}

.org-card-detail {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 72px;
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.org-card:hover .org-card-detail,
.org-guide-card:hover .org-guide-detail {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.org-card-text {
  flex: 1;
}

.org-card-text h3 {
  margin: 0;
  color: #0d2e3a;
  font-size: clamp(1.1rem, 1.8vw, 1.9rem);
  line-height: 1.2;
}

.org-card-text p {
  margin: 0.28rem 0 0;
  color: rgba(13, 46, 58, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.org-verified-badge {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d9bf0, #147dcc);
  border: 2px solid rgba(255, 255, 255, 0.88);
  color: transparent;
  font-size: 0;
  box-shadow:
    0 5px 12px rgba(20, 125, 204, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.org-verified-badge::before {
  content: "✓";
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

.org-guides-header {
  margin: 2.8rem 0 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
  clear: both;
}

.org-guides-header span {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(16, 101, 119, 0.12);
  color: #0d2e3a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.org-guide-card {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  height: 254px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  background: linear-gradient(to top, rgba(244, 244, 244, 0.1) 0%, rgba(244, 244, 244, 0.25) 22%, rgba(244, 244, 244, 0.78) 100%);
  box-shadow: 0 14px 30px rgba(16, 35, 44, 0.06);
  transition: all 0.5s ease;
}

.org-guide-card--photo {
  display: block;
}

.org-guide-visual {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.org-guide-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.02);
}

.org-card:hover .org-card-visual img,
.org-guide-card:hover .org-guide-visual img {
  object-position: center center;
}

.org-guide-detail {
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 58px;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.org-guide-copy {
  flex: 1;
}

.org-guide-copy h4 {
  margin: 0;
  color: #0d2f42;
  font-size: 0.96rem;
}

.org-guide-copy span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(13, 47, 66, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.org-guide-detail .org-verified-badge {
  width: 34px;
  height: 34px;
}

.org-guide-detail .org-verified-badge::before {
  font-size: 0.72rem;
}

.org-guides-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin-top: 1rem;
  overflow: hidden;
  height: 254px;
  position: relative;
  z-index: 1;
  clear: both;
}

@media (min-width: 620px) {
  .org-team-grid {
    gap: 5px;
  }

  .org-guides-grid {
    gap: 5px;
  }
}

@media (min-width: 900px) {
  .org-section {
    padding: 2rem 2rem 6rem;
  }

  .org-guides-grid {
    gap: 5px;
  }
}

@media (max-width: 1024px) {
  .org-section {
    padding: 1rem 0.75rem 4rem;
  }

  .org-team-grid {
    gap: 5px;
  }

  .org-card,
  .org-guide-card {
    border-radius: 0;
  }

  .org-card-featured {
    height: 254px;
  }

  .org-card {
    height: 254px;
  }

  .org-card-detail {
    left: 0.45rem;
    right: 0.45rem;
    bottom: 0.45rem;
    min-height: 68px;
  }

  .org-guides-grid {
    gap: 5px;
  }
}

@media (max-width: 767px) {
  .org-section {
    padding: 0.75rem 0.75rem 3.5rem;
  }

  .org-header {
    margin-bottom: 1rem;
  }

  .org-subheader {
    margin-bottom: 1rem;
    letter-spacing: 0.12em;
  }

  .org-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    height: auto;
  }

  .org-card,
  .org-card-featured {
    height: 235px;
    min-height: 0;
    flex: none;
  }

  .org-card-visual,
  .org-card-featured .org-card-visual {
    min-height: 0;
  }

  .org-card-detail {
    min-height: 62px;
    padding: 0.6rem 0.7rem;
  }

  .org-card-text h3 {
    font-size: 1.05rem;
  }

  .org-card-text p {
    font-size: 0.68rem;
  }

  .org-card:hover,
  .org-guide-card:hover {
    flex: none;
    transform: none;
    box-shadow: 0 18px 38px rgba(16, 35, 44, 0.07);
  }

  .org-guides-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    overflow: visible;
    height: auto;
  }

  .org-guide-card {
    height: 220px;
    min-height: 220px;
    flex: none;
  }

  .org-guide-visual {
    height: 100%;
    min-height: 220px;
  }

  .org-guide-detail {
    min-height: 54px;
    padding: 0.5rem 0.6rem;
  }

  .org-guide-copy h4 {
    font-size: 0.82rem;
  }

  .org-guide-copy span {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }
}

/* ===============================
   FOOTER
================================ */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.25rem 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 234, 255, 0.16), transparent 28%),
    linear-gradient(150deg, #04101a 0%, #071c2a 52%, #0b3040 100%);
  color: rgba(255, 255, 255, 0.75);
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgba(0, 234, 255, 0.1);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.footer-top {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);

  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .footer-top {
    grid-template-columns: 1.45fr 0.7fr 1.15fr;
    gap: 3rem;
  }
}

.footer-brand .footer-logo {
  height: 44px;
  max-width: 180px;
  margin-bottom: 1.3rem;
}

.footer-brand p {
  max-width: 360px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.6rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;

  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);

  transition: transform 0.3s cubic-bezier(.22,1,.36,1),
              background 0.3s ease,
              border-color 0.3s ease;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  transform: translateY(-3px);
  color: #04101a;
  background: #00eaff;
  border-color: rgba(0, 234, 255, 0.5);
  box-shadow: 0 8px 20px rgba(0, 234, 255, 0.25);
}

.footer-links h4,
.footer-contact h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 1.35rem;
  text-transform: uppercase;
}

.footer-links h4::before,
.footer-contact h4::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #00eaff;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  transform: translateX(5px);
  color: #00eaff;
}

.footer-contact li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact li:first-child {
  max-width: 250px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #00eaff;
}

.footer-bottom {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
}

/* keep the copyright line clear of the floating dock, which sits at the
   bottom of the screen below 900px */
@media (max-width: 899px) {
  .footer-bottom {
    padding-bottom: 6rem;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 699px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===============================
   RATES PAGE
================================ */

.rates-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 210, 226, 0.08), transparent 24%),
    #f4f4f4;
}

.rates-section,
.stay-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}

.rates-heading {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.rates-heading h2,
.stay-content h2 {
  color: var(--ocean-ink, #062b38);
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.rates-heading > p:last-child {
  margin-top: 1.25rem;
  color: var(--ocean-muted, rgba(6, 43, 56, 0.66));
  line-height: 1.8;
}

.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 1.6rem;
  border: 1px solid rgba(0, 126, 151, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 36px rgba(3, 38, 49, 0.08);
  transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.35s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(3, 38, 49, 0.15);
}

.package-card--featured {
  color: #fff;
  border-color: rgba(0, 234, 255, 0.35);
  background:
    linear-gradient(150deg, rgba(0, 178, 198, 0.92), rgba(4, 55, 70, 0.98)),
    #073847;
  box-shadow: 0 20px 44px rgba(0, 100, 120, 0.22);
}

.package-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.package-number {
  color: #00a0b8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.package-card--featured .package-number {
  color: #8affef;
}

.package-tag {
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(0, 126, 151, 0.18);
  border-radius: 999px;
  color: #007f94;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card--featured .package-tag {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.package-card h3 {
  margin: 2.2rem 0 0.7rem;
  color: #123641;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.package-card--featured h3 {
  color: #fff;
}

.package-description {
  color: rgba(6, 43, 56, 0.67);
  font-size: 0.9rem;
  line-height: 1.7;
}

.package-card--featured .package-description {
  color: rgba(255, 255, 255, 0.78);
}

.package-features {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(0, 126, 151, 0.14);
  border-bottom: 1px solid rgba(0, 126, 151, 0.14);
  list-style: none;
}

.package-card--featured .package-features {
  border-color: rgba(255, 255, 255, 0.2);
}

.package-features li {
  color: rgba(6, 43, 56, 0.7);
  font-size: 0.82rem;
}

.package-features li::before {
  content: "✓";
  margin-right: 0.55rem;
  color: #00a0b8;
  font-weight: 800;
}

.package-card--featured .package-features li {
  color: rgba(255, 255, 255, 0.78);
}

.package-card--featured .package-features li::before {
  color: #8affef;
}

.package-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  color: #007f94;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.25s ease;
}

.package-link:hover {
  gap: 0.95rem;
}

.package-card--featured .package-link {
  color: #8affef;
}

.stay-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid rgba(0, 126, 151, 0.12);
}

.stay-image-grid {
  display: flex;
  gap: 0.8rem;
  width: 100%;
  max-width: 560px;
  min-height: 260px;
  margin: 0 auto;
  padding: 0.25rem 0.25rem 0.9rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 126, 151, 0.55) rgba(0, 126, 151, 0.1);
}

.stay-image {
  position: relative;
  flex: 0 0 min(78vw, 300px);
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(3, 38, 49, 0.15);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.stay-image--feature {
  flex-basis: min(82vw, 330px);
}

.stay-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.22, 1, .36, 1);
}

.stay-image:hover img {
  transform: scale(1.06);
}

.stay-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 234, 255, 0.12), transparent 55%);
}

.stay-image-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(4, 32, 42, 0.68);
  color: #fff;
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
}

.stay-image-grid::-webkit-scrollbar {
  height: 7px;
}

.stay-image-grid::-webkit-scrollbar-track {
  border-radius: 99px;
  background: rgba(0, 126, 151, 0.1);
}

.stay-image-grid::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(0, 126, 151, 0.55);
}

.stay-content {
  padding: 0.5rem;
}

.stay-content > p:not(.section-eyebrow) {
  max-width: 590px;
  margin-top: 1.2rem;
  color: rgba(6, 43, 56, 0.67);
  line-height: 1.8;
}

.stay-content .stay-lead {
  color: #183c46;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
}

.stay-details {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0;
}

.stay-details span {
  color: rgba(6, 43, 56, 0.68);
  font-size: 0.83rem;
}

.stay-details strong {
  margin-right: 0.3rem;
  color: #007f94;
}

.stay-button {
  display: inline-flex;
  width: auto;
  max-width: none;
  color: #06323e;
}

@media (min-width: 700px) {
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .stay-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .stay-image-grid {
    justify-self: center;
    max-width: 560px;
  }
}

@media (max-width: 699px) {
  .stay-image-grid {
    min-height: 230px;
    gap: 0.65rem;
  }

  .stay-image {
    flex-basis: 78vw;
    min-height: 230px;
  }
}

/* ===============================
   CONTACT PAGE
================================ */

.contact-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(0, 210, 226, 0.1), transparent 25%),
    #f4f4f4;
}

.contact-hero {
  display: grid;
  min-height: 55svh;
  place-items: center;
  padding: 7rem 1rem 5rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(3, 25, 36, 0.88), rgba(4, 101, 116, 0.55)),
    url("../assets/gallery-img/15.JPG") center / cover;
}

.contact-hero-content {
  max-width: 720px;
  color: #fff;
}

.contact-hero-content .section-eyebrow {
  margin-bottom: .55rem;
  color: #8affef;
}

.contact-hero h1 {
  width: 100%;
  max-width: 800px;
  margin: .35rem auto .9rem;
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.06;
  text-wrap: balance;
}

.contact-hero-content > p:last-child {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  text-wrap: balance;
}

.contact-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 1rem;
}

.contact-heading {
  max-width: 650px;
  margin: 0 auto 3rem;
  text-align: center;
}

.contact-heading h2 {
  color: var(--ocean-ink, #062b38);
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.contact-heading > p:last-child {
  margin-top: 1.2rem;
  color: var(--ocean-muted, rgba(6, 43, 56, 0.66));
  line-height: 1.8;
}

.contact-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 100px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(0, 126, 151, 0.16);
  border-radius: 20px;
  color: #062b38;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(3, 38, 49, 0.07);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-option:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 174, 202, 0.48);
  box-shadow: 0 22px 42px rgba(3, 38, 49, 0.14);
}

.contact-option-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-option-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.contact-option--email .contact-option-icon {
  background: linear-gradient(145deg, #1688a0, #075267);
}

.contact-option--messenger .contact-option-icon {
  background: linear-gradient(145deg, #7b68ee, #4267b2);
}

.contact-option--whatsapp .contact-option-icon {
  background: linear-gradient(145deg, #35c875, #078b4b);
}

.contact-option-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.contact-option-copy strong {
  font-size: 0.95rem;
}

.contact-option-copy small {
  overflow: hidden;
  color: rgba(6, 43, 56, 0.6);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-option-arrow {
  margin-left: auto;
  color: #008da3;
  font-size: 1.4rem;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 680px;
  margin: 2rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0, 126, 151, 0.12);
  border-radius: 16px;
  background: rgba(0, 174, 202, 0.06);
}

.contact-note > span {
  color: #00a0b8;
}

.contact-note p {
  color: rgba(6, 43, 56, 0.65);
  font-size: 0.82rem;
  line-height: 1.65;
}

@media (min-width: 700px) {
  .contact-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-option {
    align-items: flex-start;
    flex-direction: column;
    min-height: 220px;
    padding: 1.5rem;
  }

  .contact-option-arrow {
    margin-top: auto;
    margin-left: 0;
  }
}

/* ===============================
   MODERN HOMEPAGE REFINEMENTS
================================ */

:root {
  --ocean-ink: #062b38;
  --ocean-muted: rgba(6, 43, 56, 0.66);
  --ocean-cyan: #00aeca;
  --ocean-line: rgba(0, 126, 151, 0.14);
}

.hero {
  min-height: 100svh;
}

.hero-overlay {
  background:
    linear-gradient(120deg, rgba(2, 18, 28, 0.78), rgba(2, 18, 28, 0.22) 65%),
    linear-gradient(to top, rgba(2, 18, 28, 0.62), transparent 55%);
}

.hero-content {
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.hero-content p {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0.8rem;
}

.btn {
  box-shadow: 0 14px 30px rgba(0, 20, 30, 0.2);
}

.why-section,
.gallery-section,
.location-section {
  position: relative;
  max-width: 1280px;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}

.why-section::before,
.gallery-section::before,
.location-section::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 50%;
  width: min(92%, 1120px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--ocean-line), transparent);
}

.why-section h2,
.gallery-section h2,
.location-section h2 {
  color: var(--ocean-ink);
  letter-spacing: -0.02em;
}

.why-section h2::after,
.gallery-section h2::after,
.location-section h2::after,
.testimonial-section h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ocean-cyan), #72f3e3);
}

.subtitle-why-choose-us,
.subtitle-gallery-section,
.location-subtitle {
  max-width: 680px;
  margin: 1.25rem auto 3rem;
  color: var(--ocean-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 1;
}

.why-cylinder-stage {
  margin-top: 2.5rem;
}

.why-card {
  border-color: rgba(255, 255, 255, 0.55);
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(3, 38, 49, 0.18);
}

.why-card-overlay {
  padding: 1.6rem;
  background: linear-gradient(to top, rgba(2, 19, 28, 0.88), rgba(2, 19, 28, 0.08) 75%);
}

.why-card-overlay h3 {
  letter-spacing: -0.02em;
}

.gallery-section {
  max-width: 1280px;
}

.bento-grid {
  gap: 1rem;
}

.bento-card {
  border-color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(3, 38, 49, 0.1);
}

.bento-card:hover {
  box-shadow: 0 22px 44px rgba(0, 126, 151, 0.2);
}

.testimonial-section {
  margin-top: 1rem;
  padding: clamp(5rem, 9vw, 8rem) 1rem;
  background:
    radial-gradient(circle at 12% 15%, rgba(114, 243, 227, 0.2), transparent 25%),
    linear-gradient(145deg, #072d3b, #0d6574 58%, #15969b);
}

.testimonial-subtitle {
  max-width: 650px;
  margin: 1.25rem auto 3rem;
  line-height: 1.8;
}

.testimonial-card {
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 40px rgba(1, 31, 42, 0.22);
}

.location-section {
  text-align: center;
}

.location-subtitle {
  margin-bottom: 2.2rem;
}

.map-container {
  max-width: 1120px;
  aspect-ratio: 16 / 8;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(3, 38, 49, 0.16);
}

@media (max-width: 599px) {
  .subtitle-why-choose-us br {
    display: none;
  }

  .map-container {
    aspect-ratio: 4 / 3;
  }
}

/* ===============================
   LOCATION — destination card
================================ */

.location-section {
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(circle at 7% 72%, rgba(0, 174, 202, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(231, 248, 247, 0.4));
}

.location-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.85fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 1120px;
  margin: 0 auto 2.75rem;
}

.location-heading h2 {
  margin-top: 0.65rem;
  text-align: left;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.location-heading h2::after {
  margin: 1.2rem 0 0;
}

.location-heading .location-subtitle {
  max-width: 430px;
  margin: 2.35rem 0 0;
  font-size: 0.94rem;
  line-height: 1.8;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.85fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.location-details {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 360px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  overflow: hidden;
  border: 1px solid rgba(0, 126, 151, 0.16);
  border-radius: 24px;
  background: linear-gradient(145deg, #062b38, #075e6b);
  color: #fff;
  box-shadow: 0 22px 46px rgba(3, 38, 49, 0.18);
}

.location-details::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -82px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(137, 255, 239, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(137, 255, 239, 0.04), 0 0 0 50px rgba(137, 255, 239, 0.03);
  pointer-events: none;
}

.location-pin {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(137, 255, 239, 0.35);
  border-radius: 14px;
  background: rgba(137, 255, 239, 0.14);
  color: #8affef;
}

.location-pin svg {
  width: 23px;
  height: 23px;
}

.location-details-label {
  margin-top: 2.2rem;
  color: #8affef;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location-details h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600;
}

.location-details > p:not(.location-details-label):not(.location-note) {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.7;
}

.location-detail-line {
  width: 100%;
  height: 1px;
  margin: 1.35rem 0;
  background: rgba(255, 255, 255, 0.16);
}

.location-note {
  max-width: 250px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.65;
}

.location-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: #8affef;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.location-directions:hover,
.location-directions:focus-visible {
  gap: 0.8rem;
  color: #fff;
}

.map-container {
  position: relative;
  max-width: none;
  aspect-ratio: auto;
  min-height: 390px;
  margin: 0;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: #c9e9e6;
  box-shadow: 0 22px 46px rgba(3, 38, 49, 0.14);
}

.map-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(6, 43, 56, 0.12);
  border-radius: 16px;
  pointer-events: none;
}

.map-container iframe {
  min-height: 390px;
  filter: saturate(0.82) contrast(0.96);
}

.map-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(6, 43, 56, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(3, 38, 49, 0.18);
  backdrop-filter: blur(10px);
}

.map-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8affef;
  box-shadow: 0 0 0 4px rgba(138, 255, 239, 0.18);
}

@media (max-width: 749px) {
  .location-heading {
    display: block;
  }

  .location-heading .location-subtitle {
    margin-top: 1.25rem;
  }

  .location-layout {
    grid-template-columns: 1fr;
  }

  .location-details {
    min-height: 320px;
  }

  .map-container,
  .map-container iframe {
    min-height: 340px;
  }
}
/* ===============================
   VIDEO LIBRARY
================================ */

.videos-page {
  --video-ink: #102d3b;
  --video-muted: #6d838d;
  --video-teal: #0b9b9b;
  background: #f5f8f7;
  color: var(--video-ink);
}

.video-library .section-eyebrow {
  margin-bottom: .9rem;
  color: var(--video-teal);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.video-library {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}

.video-library-heading {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.video-library .section-eyebrow { margin-bottom: .55rem; color: var(--video-teal); }
.video-library-heading h2 {
  color: var(--ocean-ink, #062b38);
  font-family: 'Seaside Wave - Personal Use', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
}
.video-library-heading > p { max-width: 650px; margin: 1.25rem auto 0; color: var(--ocean-muted, rgba(6, 43, 56, .66)); font-size: 1rem; line-height: 1.8; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.35rem;
}

.video-card { min-width: 0; }
.video-card-play {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: #c7e4e5;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 24px rgba(19, 55, 64, .1);
}

.video-card-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}

.video-card-play:hover .video-card-image,
.video-card-play:focus-visible .video-card-image { transform: scale(1.055); filter: saturate(1.08); }
.video-card-play:focus-visible { outline: 3px solid #0ba6a4; outline-offset: 4px; }

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding-left: 3px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  transition: background .25s ease, scale .25s ease;
}

.video-card-play:hover .play-icon { background: rgba(7, 148, 150, .86); scale: 1.08; }
.video-card-number, .video-card-duration { position: absolute; bottom: 14px; color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .12em; }
.video-card-number { left: 16px; }
.video-card-duration { right: 14px; padding: .35rem .5rem; border-radius: 5px; background: rgba(5, 22, 31, .52); letter-spacing: .04em; }
.video-card-copy { padding: 1rem .12rem 0; }
.video-card-category { margin-bottom: .48rem; color: var(--video-teal); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.video-card-category span { padding: 0 .2rem; color: #a4b7bb; }
.video-card-copy h3 { margin-bottom: .35rem; font-size: 1.04rem; font-weight: 700; letter-spacing: -.025em; }
.video-card-copy > p:last-child { color: var(--video-muted); font-size: .8rem; line-height: 1.6; }
.video-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 3.5rem auto 0; }
.video-pagination[hidden] { display: none; }
.video-pagination button { min-width: 40px; min-height: 40px; padding: .55rem .8rem; border: 1px solid #d6e3e3; border-radius: 999px; background: #fff; color: var(--video-ink); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.video-pagination button:hover:not(:disabled) { border-color: var(--video-teal); color: var(--video-teal); transform: translateY(-1px); }
.video-pagination button:focus-visible { outline: 3px solid rgba(11, 155, 155, .3); outline-offset: 2px; }
.video-pagination button:disabled { cursor: default; opacity: .45; }
.video-page-buttons { display: flex; gap: .4rem; }
.video-pagination .video-page-number[aria-current="page"] { border-color: var(--video-teal); background: var(--video-teal); color: #fff; }
.video-pagination .video-page-arrow { padding-inline: 1rem; }
.video-page-count { flex-basis: 100%; margin: .45rem 0 0; color: var(--video-muted); font-size: .72rem; font-weight: 500; text-align: center; }

.video-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 5vw; background: rgba(3, 15, 22, .92); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal-frame {
  width: min(1100px, 100%);
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  box-shadow:
    0 24px 90px rgba(0, 0, 0, .4),
    0 0 34px rgba(144, 235, 239, .12),
    inset 0 1px 0 rgba(255, 255, 255, .34);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.video-modal-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.video-player-message[hidden] { display: none; }
.video-modal-frame.has-message iframe { display: none; }
.video-player-message { display: grid; min-height: 220px; aspect-ratio: 16 / 9; place-items: center; margin: 0; padding: 2rem; color: #fff; font-size: .95rem; line-height: 1.6; text-align: center; }
.video-modal-close { position: absolute; top: 18px; right: 22px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: white; font-size: 1.8rem; cursor: pointer; }
.video-modal-close:hover { background: rgba(255,255,255,.18); }
.video-modal-open { overflow: hidden; }

@media (max-width: 800px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1rem; }
}

@media (max-width: 540px) {
  .video-library { width: min(100%, 1280px); padding: 5rem 1rem; }
  .video-library-heading { margin-bottom: 2.5rem; }
  .video-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .video-pagination { gap: .35rem; margin-top: 2.5rem; }
  .video-pagination button { min-width: 36px; min-height: 36px; padding: .45rem .65rem; }
  .video-pagination .video-page-arrow { padding-inline: .75rem; }
  .video-card-play { aspect-ratio: 16 / 9; border-radius: 12px; }
  .video-card-copy { padding-top: .8rem; }
  .video-modal { padding: 1rem; }
  .video-modal-close { top: 10px; right: 10px; }
}
