:root {
  --navy: #07172b;
  --navy-deep: #041c38;
  --navy-surface: #0b294f;
  --brand: #0284c7;
  --brand-d: #0369a1;
  --brand-deep: #072a4d;
  --brand-sapphire: #065abc;
  --cyan: #0ea5e9;
  --cyan-glow: #38bdf8;
  --cyan-light: #e0f2fe;
  --sand-warm: #fef08a;
  --gold: #f59e0b;
  --gold-glow: #fbbf24;
  --soft: #f4f9fd;
  --soft-blue: #e0f0fe;
  --ink: #07172b;
  --ink-secondary: #0f172a;
  --muted: #475d77;
  --line: #cfe2f7;
  --line-light: #e2e8f0;
  --sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navigation */
.nav {
  height: 84px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.logo svg {
  width: 28px;
  height: 28px;
}

.logo img,
.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.logo:hover img,
.logo:hover .logo-img {
  transform: scale(1.05);
}

.fg .logo img,
.fg .logo-img {
  height: 44px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 4px 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.logo b {
  color: var(--brand);
  font-weight: 800;
}

.nav nav {
  display: flex;
  gap: 34px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.nav nav a:hover,
.nav nav a[aria-current] {
  color: var(--brand);
}

.nav nav a[aria-current] {
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}

.right {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.right a:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--brand-d) 100%);
  color: #fff;
  font: 600 0.92rem var(--sans);
  padding: 13px 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
}

.btn:hover {
  background: linear-gradient(135deg, var(--brand) 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.38);
}

.right .btn {
  padding: 10px 24px;
  color: #fff;
}

/* Typography & Headings */
h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

h1 em {
  font-style: normal;
  color: var(--brand);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.lead {
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 12px;
}

.hero {
  position: relative;
  padding: 12px 0 20px;
}

.hz,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

/* ==========================================================================
   NEW HERO SECTION STYLE - VANTALYRA DISTINCTIVE PORTAL
   ========================================================================== */
/* ==========================================================================
   BEACH LOOK HERO SECTION (NO CARD - LUXURY COASTAL RESORT ATMOSPHERE)
   ========================================================================== */
main > .page-head.hero-beach-session,
main > .page-head:has(.hz) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 44px 0 100px;
  /* Luxury tropical beach & sky gradient:
     - Warm golden sun flare in upper-right
     - Sun-kissed sky transitioning to turquoise tropical lagoon waters
     - Warm sandy shoreline glow along bottom */
  background:
    radial-gradient(ellipse at 82% 16%, rgba(255, 248, 220, 0.45) 0%, rgba(254, 215, 170, 0.28) 25%, transparent 60%),
    radial-gradient(ellipse at 85% 90%, rgba(226, 194, 143, 0.45) 0%, rgba(202, 163, 108, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse at 35% 65%, rgba(14, 165, 233, 0.3) 0%, transparent 55%),
    linear-gradient(175deg, #041c38 0%, #03396c 28%, #005b96 55%, #017baf 78%, #0ea5e9 100%);
  border-bottom: none;
}

/* Background atmospheric beach water caustics / light shimmer overlay */
.hero-beach-session::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 25% 75%, rgba(56, 189, 248, 0.15) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* Warm sun rays beam */
.hero-beach-session::after {
  content: "";
  position: absolute;
  top: -150px;
  right: 5%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 237, 160, 0.35) 0%, rgba(56, 189, 248, 0.15) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

main > .page-head:has(.hz) > .wrap {
  position: relative;
  z-index: 2;
}

.hero-beach-layout,
.page-head .hz {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4.5vw, 60px);
  align-items: end;
  position: relative;
  z-index: 2;
}

/* -------------------------------------------------------------
   OPEN HERO CONTENT - NO CARD, NO ENCLOSING BOX
   ------------------------------------------------------------- */
.hero-beach-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  /* NO card background, NO card border, NO card shadow */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.hero-beach-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 20, 50, 0.2);
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px #67e8f9;
  }
}

.hero-beach-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 16px;
  text-shadow: 0 2px 20px rgba(2, 23, 49, 0.5);
}

.beach-shimmer-text {
  font-style: normal;
  background: linear-gradient(135deg, #38bdf8 0%, #67e8f9 45%, #fef08a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hero-beach-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e2f1fc;
  max-width: 34em;
  margin: 0 0 26px;
  text-shadow: 0 1px 6px rgba(0, 15, 35, 0.45);
}

/* Seamless, Floating Beach Search Controls */
.hero-beach-form {
  position: relative;
  max-width: 520px;
}

.beach-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #bae6fd;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.beach-segmented-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.beach-segmented-pills label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: 0 4px 14px rgba(0, 15, 35, 0.2);
}

.beach-segmented-pills input {
  display: none;
}

.beach-segmented-pills label:hover {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #ffffff;
}

.beach-segmented-pills label:has(input:checked) {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border-color: #67e8f9;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
  transform: translateY(-2px);
}

/* Floating Beach Age Slider */
.beach-slider-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 22px;
  box-shadow: 0 6px 20px rgba(0, 15, 35, 0.2);
}

.beach-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.beach-slider-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #bae6fd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.beach-age-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.beach-slider-box input[type="range"] {
  width: 100%;
  accent-color: #38bdf8;
  height: 6px;
  border-radius: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
}

/* Sun-Drenched Ocean CTA Button */
.btn-beach-cta {
  width: 100%;
  padding: 17px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-beach-cta:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 60%, #67e8f9 100%);
  color: #07172b;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(14, 165, 233, 0.6);
}

.btn-arrow {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.btn-beach-cta:hover .btn-arrow {
  transform: translateX(4px);
}

.beach-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  color: #e0f2fe;
  font-weight: 600;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-item svg,
.trust-item span.icon {
  color: #38bdf8;
}

/* -------------------------------------------------------------
   STANDALONE 3D BEACH MODEL (h1.png on the Shore)
   ------------------------------------------------------------- */
.hero-beach-stage,
.hero-3d-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  min-height: 560px;
  margin: 0 0 -100px;
  overflow: visible;
  perspective: 1200px;
  z-index: 2;
}

/* Grounding shadow disabled to eliminate dark blurry smudge */
.hero-beach-stage::after,
.hero-3d-stage::after {
  display: none !important;
}

/* Golden sun halo behind the beach model */
.hero-beach-stage::before,
.hero-3d-stage::before {
  content: "";
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.32) 0%, rgba(56, 189, 248, 0.2) 48%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.hero-beach-model,
.hero-3d-model {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  height: auto;
  max-height: 600px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  /* 3D drop-shadow extending out of the beach canvas */
  filter: drop-shadow(0 20px 36px rgba(2, 23, 49, 0.45));
  /* Feather bottom edge into the wave crest to hide any crop cut */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0, 0, 0, 0.5) 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0, 0, 0, 0.5) 95%, transparent 100%);
  transform: perspective(1000px) translateZ(20px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  cursor: pointer;
}

.hero-beach-stage:hover .hero-beach-model,
.hero-3d-stage:hover .hero-3d-model {
  transform: translateY(-8px) scale(1.02) translateZ(35px);
  filter: drop-shadow(0 36px 60px rgba(2, 23, 49, 0.65))
          drop-shadow(0 12px 28px rgba(14, 165, 233, 0.4));
}

/* -------------------------------------------------------------
   FLOWING BEACH OCEAN WAVES TRANSITION AT BOTTOM
   ------------------------------------------------------------- */
.beach-ocean-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}

.beach-ocean-waves svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.beach-ocean-waves .wave-back {
  fill: rgba(255, 255, 255, 0.35);
}

.beach-ocean-waves .wave-front {
  fill: #ffffff;
}

/* Common Section */
section {
  padding: 24px 0;
}

.tint {
  background: var(--soft);
}

.head {
  max-width: 600px;
  margin-bottom: 14px;
}

.head p {
  color: var(--muted);
  margin-top: 2px;
}

/* How It Works (Three Steps) */
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.box {
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
}

.box .n {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-weight: 700;
  margin-bottom: 10px;
}

.box p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-steps {
  background: linear-gradient(180deg, #fff 0%, #f4f9ff 50%, #fff 100%);
  padding: 48px 0 54px;
  position: relative;
  overflow: hidden;
}

.home-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* Steps Header Action Buttons (As in Reference Image) */
.steps-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 26px;
  flex-wrap: wrap;
}

.btn-community {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-d) 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-community:hover {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--brand) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.38);
}

.btn-community .btn-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-community:hover .btn-arrow {
  transform: translateX(4px);
}

.match-pill-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-match-pill {
  background: #ffffff;
  border: 1.5px solid var(--line);
  color: var(--brand);
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-match-pill:hover {
  border-color: var(--brand);
  background: var(--soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.16);
}

.floating-hearts {
  position: absolute;
  right: -24px;
  top: -12px;
  font-size: 1.15rem;
  filter: drop-shadow(0 2px 6px rgba(2, 132, 199, 0.3));
  animation: floatHearts 2.8s infinite ease-in-out;
  pointer-events: none;
}

@keyframes floatHearts {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.1);
  }
}

/* Arched 5-Card Ribbon Gallery (As in Reference Image) */
.arched-ribbon-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 46px;
  overflow: visible;
  perspective: 1200px;
}

.ribbon-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 100%;
  padding: 20px 0;
  margin: 0 auto;
}

.ribbon-card {
  position: relative;
  flex: 0 0 195px;
  width: 195px;
  height: 270px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 3px solid #ffffff;
  box-shadow: 0 16px 40px rgba(7, 23, 43, 0.11), 0 3px 8px rgba(7, 23, 43, 0.05);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  cursor: pointer;
}

.ribbon-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ribbon-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 12px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 23, 43, 0.82) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.ribbon-tag {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.ribbon-heart-sticker {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 1.3rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  z-index: 3;
  animation: floatHearts 3s infinite ease-in-out;
}

.ribbon-featured-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 23, 43, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 3;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Individual Card Arcs / Tilts forming the gentle smile curve */
.card-arc-1 {
  transform: translateY(22px) rotate(-8deg);
  z-index: 1;
}

.card-arc-2 {
  transform: translateY(8px) rotate(-4deg);
  z-index: 2;
}

.card-arc-3 {
  transform: translateY(-12px) rotate(0deg) scale(1.06);
  z-index: 4;
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 26px 54px rgba(2, 132, 199, 0.25), 0 4px 14px rgba(7, 23, 43, 0.08);
}

.card-arc-4 {
  transform: translateY(8px) rotate(4deg);
  z-index: 2;
}

.card-arc-5 {
  transform: translateY(22px) rotate(8deg);
  z-index: 1;
}

/* Interactive Hover state */
.ribbon-card:hover {
  transform: translateY(-18px) rotate(0deg) scale(1.08) !important;
  z-index: 10 !important;
  box-shadow: 0 30px 65px rgba(2, 132, 199, 0.35), 0 0 0 2px var(--brand);
  border-color: #fff;
}

.ribbon-card:hover img {
  transform: scale(1.07);
}

/* Responsive adjustments for Arched Ribbon */
@media (max-width: 1100px) {
  .ribbon-track {
    gap: 14px;
  }
  .ribbon-card {
    flex: 0 0 165px;
    width: 165px;
    height: 235px;
  }
}

@media (max-width: 860px) {
  .ribbon-track {
    gap: 10px;
  }
  .ribbon-card {
    flex: 0 0 135px;
    width: 135px;
    height: 195px;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .arched-ribbon-stage {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 16px 4px 28px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .arched-ribbon-stage::-webkit-scrollbar {
    display: none;
  }
  .ribbon-track {
    gap: 12px;
    padding: 10px 16px;
    justify-content: flex-start;
  }
  .ribbon-card {
    flex: 0 0 145px;
    width: 145px;
    height: 205px;
    transform: none !important;
    scroll-snap-align: center;
  }
}


.home-steps .head,
.home-members .head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 18px;
}

.home-steps .head::before,
.home-members .head::before {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 12px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-steps .head::before {
  content: "THE VANTALYRA EXPERIENCE";
}

.home-members .head::before {
  content: "CURATED MATURE MATCHES";
}

.home-steps .three {
  gap: 16px;
}

.home-steps .box {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-color: #dbeafe;
  border-radius: 20px;
  padding: 20px 22px;
  background: linear-gradient(145deg, #fff 0%, #f0f7ff 100%);
  box-shadow: 0 14px 34px rgba(3, 73, 164, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-steps .box::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(2, 132, 199, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(2, 132, 199, 0.035), 0 0 0 30px rgba(2, 132, 199, 0.025);
}

.home-steps .box:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 18px 38px rgba(2, 132, 199, 0.14);
}

.home-steps .box .n {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border: 1px solid #bae6fd;
  background: linear-gradient(145deg, #fff, #e0f2fe);
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.1);
  font-size: 0.95rem;
}

.home-steps .box h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: var(--ink);
}

.home-steps .box p {
  max-width: 28em;
  line-height: 1.6;
}

.home-steps .step-image {
  width: 100%;
  height: 220px;
  margin-bottom: 14px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 10%;
}

/* Member Cards & 3D Tilt Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(2, 132, 199, 0.08);
}

.av {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #0369a1);
}

.av img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.pc b {
  display: block;
}

.pc span {
  font-size: 0.84rem;
  color: var(--muted);
}

.pc a:not(.pc-overlay-link) {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--soft);
  padding: 6px 14px;
  border-radius: 999px;
}

.pc a:not(.pc-overlay-link):hover {
  background: var(--line);
}

/* ==========================================================================
   MEMBERS SHOWCASE SECTION - MODERN EDITORIAL GALLERY
   ========================================================================== */
.home-members {
  position: relative;
  overflow: hidden;
  background: #fcfcfd;
  padding: 40px 0 44px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.home-members .wrap {
  position: relative;
  z-index: 1;
}

.home-members .head {
  max-width: 620px;
  margin-bottom: 28px;
}

.members-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

/* Enhanced spacing between member cards */
.home-members .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.2vw, 28px);
}

/* Card Shape: 20px rounded corners with thin neutral border, zero padding */
.home-members .pc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 4.15;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  padding: 0;
  margin: 0;
  /* Hero Session Ocean Blue & Sunlit Beach Gradient */
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255, 240, 160, 0.4) 0%, rgba(254, 215, 170, 0.22) 25%, transparent 60%),
    radial-gradient(ellipse at 85% 90%, rgba(226, 194, 143, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse at 35% 65%, rgba(14, 165, 233, 0.3) 0%, transparent 55%),
    linear-gradient(175deg, #041c38 0%, #03396c 28%, #005b96 55%, #017baf 78%, #0ea5e9 100%);
  box-shadow: 0 8px 26px rgba(4, 28, 56, 0.16);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px)) scale(var(--scale, 1));
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
  cursor: pointer;
}

.home-members .pc:hover {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 20px 48px rgba(4, 28, 56, 0.32), 0 0 24px rgba(14, 165, 233, 0.25);
  z-index: 10;
}

@media (hover: hover) and (pointer: fine) {
  .home-members .pc:hover {
    --lift: -8px;
    --scale: 1.025;
  }
}

/* Full-height portrait image with subtle hover zoom & zero padding */
.home-members .av {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  /* Matching Hero Session Ocean Beach Background */
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255, 240, 160, 0.4) 0%, rgba(254, 215, 170, 0.22) 25%, transparent 60%),
    radial-gradient(ellipse at 85% 90%, rgba(226, 194, 143, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse at 35% 65%, rgba(14, 165, 233, 0.3) 0%, transparent 55%),
    linear-gradient(175deg, #041c38 0%, #03396c 28%, #005b96 55%, #017baf 78%, #0ea5e9 100%);
  overflow: hidden;
  display: block;
}

.home-members .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: inherit;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-members .pc:hover .av img {
  transform: scale(1.055);
}

/* Top Status Chip */
.pc-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(10, 22, 38, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  display: inline-block;
}

/* Floating Translucent Dark Panel at the Bottom */
.home-members .pc-float-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  background: rgba(10, 22, 38, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateZ(26px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.home-members .pc:hover .pc-float-panel {
  background: rgba(7, 18, 32, 0.9);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

/* Typography: Smaller location text & modern styling */
.home-members .pc-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-members .pc-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.home-members .pc-meta {
  display: block;
  font-size: 0.73rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* Interaction: On hover, reveal short description and action icons */
.home-members .pc-hover-details {
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.home-members .pc:hover .pc-hover-details {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-members .pc-bio {
  font-size: 0.77rem;
  line-height: 1.45;
  color: #cbd5e1;
  margin: 0 0 10px;
  text-align: left;
}

.home-members .pc-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 16px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.home-members .pc-profile-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.5);
  color: #041c38 !important;
}

.home-members .sample {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
}

/* Filter controls on Members page */
.filter {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 20px;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 12px 34px rgba(2, 132, 199, 0.08);
}

.filter .age {
  margin: 0;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter .age input {
  accent-color: var(--brand);
}

.filter .age output {
  font-weight: 700;
  color: var(--brand);
}

.sample {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Shared Interior Page Header (Logo & Hero Session Theme) */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 44px 0 38px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(254, 240, 138, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 80%, rgba(56, 189, 248, 0.22) 0%, transparent 50%),
    linear-gradient(170deg, #041c38 0%, #03396c 35%, #005b96 68%, #0284c7 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-head h1 {
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(4, 28, 56, 0.45);
}

.page-head h1 em {
  color: #fef08a;
  font-style: normal;
}

.page-head .lead {
  color: #e0f2fe;
  max-width: 38em;
  font-size: 1.02rem;
}

.page-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e0f2fe;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-head .list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-head .list b {
  color: #ffffff;
}

.page-head .list span {
  color: #cbd5e1;
}

.page-head .list span a {
  color: #38bdf8;
}

/* ==========================================================================
   SAFETY & DISCRETION SECTION (LOGO & HERO COLOR THEME CARDS)
   ========================================================================== */
.home-safety {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 50%, #ffffff 100%);
  padding: 42px 0 46px;
  overflow: hidden;
}

.home-safety::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

/* Master Security Vault Card (Left - Logo & Hero Theme) */
.safety-vault-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 26px;
  padding: clamp(32px, 4vw, 42px) clamp(24px, 3.5vw, 34px);
  background: linear-gradient(150deg, #041c38 0%, #072a4d 50%, #0284c7 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 60px rgba(7, 23, 43, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.safety-vault-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 70px rgba(7, 23, 43, 0.35), 0 0 30px rgba(14, 165, 233, 0.25);
  border-color: rgba(56, 189, 248, 0.6);
}

.vault-inner-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.vault-top-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e0f2fe;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.vault-top-chip svg {
  color: #38bdf8;
}

.vault-insignia-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.vault-age-circle {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(56, 189, 248, 0.22) 100%);
  border: 2px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 10px 24px rgba(2, 23, 49, 0.4), 0 0 20px rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-age-text {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(2, 23, 49, 0.6);
}

.vault-brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #38bdf8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.vault-headline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
}

.vault-description {
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 20px;
}

.vault-perks-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
}

.vault-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
}

.vault-perk-icon {
  color: #fef08a;
  font-size: 0.8rem;
  filter: drop-shadow(0 0 6px rgba(254, 240, 138, 0.6));
}

.vault-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(4, 28, 56, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  font-size: 0.78rem;
  color: #7dd3fc;
  font-weight: 600;
}

.vault-live-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Right Content Side */
.safety-content-side {
  position: relative;
}

.safety-header {
  margin-bottom: 24px;
}

.safety-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.safety-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 6px #0284c7;
}

.safety-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #07172b;
  margin: 0 0 10px;
}

.safety-intro {
  color: #475d77;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
  max-width: 580px;
}

/* Feature Cards Stack */
.safety-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safety-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.safety-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12), 0 0 0 1px #38bdf8;
}

.safety-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.safety-card:hover .safety-card-icon {
  background: linear-gradient(135deg, #072a4d 0%, #0284c7 100%);
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
}

.safety-card-body {
  flex: 1;
}

.safety-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.safety-card-heading {
  font-size: 1.08rem;
  font-weight: 700;
  color: #07172b;
  margin: 0;
  line-height: 1.3;
}

.safety-card-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.safety-card-text {
  color: #475d77;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Fallback/Legacy Compatibility */
.home-safety .badge {
  max-width: 440px;
  border-radius: 24px;
}

.list {
  list-style: none;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.list li:first-child {
  padding-top: 0;
}

.list b {
  display: block;
}

.list span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ========================================================
   FAQS SECTION (Image 1 Reference Style - Vantalyra Blue/Cyan)
   ======================================================== */
.home-faq {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
  padding: 40px 0 44px;
  overflow: hidden;
}

.home-faq::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.faq-top-heading {
  margin-bottom: 34px;
}

.faq-serif-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: #07172b;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.faq-serif-subtitle {
  color: #334e68;
  font-size: 1.02rem;
  max-width: 600px;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.faq-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

/* Numbered FAQ Accordion (Image 1 Style) */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item-row {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(7, 23, 43, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item-row:hover {
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
}

.faq-item-header {
  display: flex;
  align-items: stretch;
  cursor: pointer;
  list-style: none;
  background: var(--navy);
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-item-header:hover {
  background: #082240;
}

.faq-item-header:hover .faq-question {
  color: #38bdf8;
}

.faq-item-header::-webkit-details-marker {
  display: none;
}

.faq-item-row[open] .faq-item-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: #061e38;
}

.faq-item-row[open] .faq-question {
  color: #38bdf8;
}

.faq-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--cyan) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.faq-question {
  flex: 1;
  padding: 13px 18px;
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.45;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: 300;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-toggle-btn::after {
  content: "+";
}

.faq-item-row[open] .faq-toggle-btn::after {
  content: "\2212";
  color: var(--cyan);
}

.faq-item-body {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-left: 4px solid var(--brand);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 16px 20px 16px 48px;
  box-shadow: inset 0 2px 6px rgba(2, 132, 199, 0.04);
}

.faq-item-body p {
  margin: 0;
  color: #0f172a;
  font-size: 0.93rem;
  font-weight: 450;
  line-height: 1.7;
}

/* Diamond Mosaic Column - Single Image Cut by Diamond Design (Image 1 Style) */
.faq-mosaic-wrap {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 580px;
  padding: 10px 0;
}

.faq-single-image-cut-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 100%;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-diamond-mask-svg {
  width: 100%;
  height: auto;
  max-height: 640px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 20px 42px rgba(7, 23, 43, 0.16));
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1), filter 0.35s ease;
}

.faq-diamond-mask-svg:hover {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 24px 50px rgba(2, 132, 199, 0.28));
}

.diamond-cut-frames rect {
  transition: stroke 0.25s ease, stroke-width 0.25s ease;
}

.diamond-cut-frames rect:hover {
  stroke: var(--cyan);
  stroke-width: 5px;
}

.mosaic-floating-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.14);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 15px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.75; }
}

/* ========================================================
   EVENT LOCATIONS / CURATED HUBS (Full Section Background with Transparency)
   ======================================================== */
.home-locations {
  position: relative;
  padding: 64px 0 72px;
  background: 
    linear-gradient(135deg, rgba(4, 28, 56, 0.88) 0%, rgba(7, 23, 43, 0.84) 50%, rgba(2, 60, 97, 0.80) 100%),
    url("assets/bg.jpg") center center / cover no-repeat;
  border-top: 1px solid rgba(56, 189, 248, 0.22);
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  overflow: hidden;
}

.home-locations::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.locations-card {
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.locations-header {
  position: relative;
  z-index: 1;
}

.locations-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.locations-serif-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.locations-header p {
  color: #e0f2fe;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
  max-width: 440px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* 2-Card Layout on the right - Enlarged Editorial Showcase */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.loc-item {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.loc-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(14, 165, 233, 0.45);
  border-color: #38bdf8;
}

.loc-thumb {
  height: clamp(300px, 30vw, 360px);
  min-height: 300px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.loc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loc-item:hover .loc-thumb img {
  transform: scale(1.06);
}

.loc-badge-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 23, 43, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #38bdf8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.loc-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
}

.loc-info b {
  font-size: 1.12rem;
  font-weight: 700;
  color: #07172b;
  line-height: 1.25;
}

.loc-info span {
  font-size: 0.84rem;
  color: #0369a1;
  font-weight: 600;
  line-height: 1.35;
}

/* ========================================================
   BOTTOM CTA SECTION (Image 2 Bottom Reference)
   ======================================================== */
.home-cta {
  padding: 16px 0 34px;
}

.cta-banner-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: linear-gradient(135deg, #041c38 0%, #07172b 45%, #072a4d 75%, #0284c7 100%);
  border-radius: 32px;
  padding: clamp(36px, 5vw, 54px) clamp(28px, 4vw, 48px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(4, 28, 56, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-banner-wrapper::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner-wrapper::after {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-left-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.cta-left-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 14px;
}

.cta-left-content p {
  color: #e0f2fe;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 440px;
}

.btn-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  text-decoration: none;
}

.btn-cta-pill:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(14, 165, 233, 0.45);
}

/* 4-Member Portrait Cluster on the right */
.cta-members-cluster {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 420px;
  margin: 0 auto;
}

.cta-cluster-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 3.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 32px rgba(7, 23, 43, 0.35);
  background: var(--navy);
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-cluster-card:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.35);
}

.cta-cluster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Heart Badges around cluster */
.floating-heart {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #ef4444;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 3;
  animation: floatHeart 3s ease-in-out infinite alternate;
  pointer-events: none;
}

.fh-1 {
  top: -12px;
  left: 45%;
  animation-delay: 0s;
}

.fh-2 {
  bottom: -10px;
  left: 20%;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  animation-delay: 1.2s;
}

.fh-3 {
  top: 40%;
  right: -14px;
  animation-delay: 2.1s;
}

@keyframes floatHeart {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(6deg); }
}

@media (max-width: 991px) {
  .faq-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-mosaic-wrap {
    position: static;
    margin-top: 20px;
  }
  .locations-card {
    grid-template-columns: 1fr;
  }
  .cta-banner-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-left-content {
    text-align: center;
  }
  .cta-left-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .faq-single-image-cut-stage {
    min-height: auto;
    max-width: 360px;
    margin: 0 auto;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .cta-members-cluster {
    max-width: 280px;
  }
}

/* Fallback / Multi-page Support for Classic CTA Layout (.cta-inner) */
.home-cta:has(.cta-inner) .wrap {
  position: relative;
  background: linear-gradient(135deg, #041c38 0%, #07172b 45%, #072a4d 75%, #0284c7 100%);
  border-radius: 32px;
  padding: clamp(32px, 4vw, 44px) clamp(24px, 3.5vw, 40px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(4, 28, 56, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.home-cta:has(.cta-inner) .cta-content h2 {
  color: #ffffff;
}

.home-cta:has(.cta-inner) .cta-content p {
  color: #e0f2fe;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cta-side-img {
  flex: 0 0 clamp(180px, 20vw, 250px);
  width: clamp(180px, 20vw, 250px);
  height: clamp(230px, 26vw, 300px);
  overflow: visible;
  transition: transform 0.3s ease;
}

.cta-side-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

.cta-left {
  transform: rotate(-3deg);
}

.cta-right {
  transform: rotate(3deg);
}

.cta-content {
  flex: 1;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

/* Contact Form */
.cform {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(2, 132, 199, 0.1);
}

.cform label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.cform input,
.cform textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: 400 0.92rem var(--sans);
  margin-bottom: 14px;
}

.cform input:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.cform .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 38px 0 22px;
  font-size: 0.88rem;
  color: #fff;
  background-color: #041c38;
  background-image: linear-gradient(rgba(4, 28, 56, 0.95), rgba(7, 23, 43, 0.98)), url("assets/bg.jpg");
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

body:has(.home-cta) footer {
  margin-top: 0;
}

.fg {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 34px;
}

.fg h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan-glow);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.fg ul {
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
}

.fg li {
  margin-bottom: 8px;
}

.fg a:hover {
  color: #fff;
}

.fg p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 22em;
  margin-top: 12px;
  line-height: 1.65;
}

.lg {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Auth & Forms */
.auth-box {
  max-width: 440px;
  margin: 28px auto;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: 0 18px 48px rgba(2, 132, 199, 0.1);
}

.auth-box-wide {
  max-width: 520px;
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 4px;
  color: var(--ink);
}

.auth-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.auth-box input,
.auth-box select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: 400 0.92rem var(--sans);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s;
}

.auth-box input:focus,
.auth-box select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.join-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.join-form-grid .f-full {
  grid-column: 1 / -1;
}

.f-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 4px 0 6px;
}

.terms-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.terms-check a {
  color: var(--brand);
  text-decoration: underline;
}

.auth-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--muted);
}

.auth-switch a {
  color: var(--brand);
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Legal Content */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 32px 30px;
  box-shadow: 0 12px 36px rgba(2, 132, 199, 0.06);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--ink);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--brand);
  text-decoration: underline;
}

.kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Safety Tips Layout */
.safety-tips-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  margin-top: 18px;
}

.safety-logo-card {
  background: linear-gradient(150deg, #041c38 0%, #072a4d 50%, #0284c7 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 26px;
  padding: 32px 28px;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 45px rgba(4, 28, 56, 0.32);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.safety-logo-card img {
  width: min(100%, 280px);
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 16px 32px rgba(2, 23, 49, 0.55));
  display: block;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP, LAPTOP, TABLET, MOBILE)
   ========================================================================== */

/* LAPTOP & INTERMEDIATE DESKTOP (<= 1100px) */
@media (max-width: 1100px) {
  .wrap {
    padding-right: 24px;
    padding-left: 24px;
  }
  .page-head .hz {
    gap: 32px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-3d-stage {
    min-height: 480px;
    margin: 0;
  }
  .hero-3d-model {
    width: min(100%, 390px);
    height: 470px;
  }
  /* 3 columns on Laptop: 12 member cards cleanly divide into 4 full rows of 3 */
  .grid,
  .home-members .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .three,
  .home-steps .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-steps .box:last-child {
    grid-column: 1 / -1;
  }
  .home-safety .split {
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
  }
  .cta-side-img {
    flex: 0 0 170px;
    width: 170px;
    height: 230px;
  }
}

/* TABLET LANDSCAPE & MEDIUM VIEWPORTS (<= 991px) */
@media (max-width: 991px) {
  .faq-two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .faq-mosaic-wrap {
    position: static;
    margin-top: 16px;
    min-height: auto;
  }
  .locations-card {
    grid-template-columns: 1fr;
  }
  .cta-banner-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding: clamp(32px, 5vw, 44px) clamp(22px, 4vw, 36px);
  }
  .cta-left-content {
    text-align: center;
  }
  .cta-left-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* TABLET PORTRAIT & NARROW VIEWPORTS (<= 860px) */
@media (max-width: 860px) {
  .nav {
    height: auto;
    min-height: 64px;
  }
  .nav .wrap {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .nav nav {
    order: 3;
    display: flex;
    flex: 1 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding-top: 2px;
  }
  .right {
    margin-left: auto;
    gap: 12px;
  }
  .hz,
  .split,
  .hero-beach-layout,
  .page-head .hz {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-beach-content {
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-beach-title {
    font-size: clamp(2.1rem, 5.5vw, 2.9rem);
  }
  .hero-beach-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-beach-form {
    margin: 0 auto;
  }
  .beach-trust-row {
    justify-content: center;
    gap: 8px 16px;
  }
  .hero-beach-stage,
  .hero-3d-stage {
    min-height: 420px;
    margin: 10px auto -55px;
  }
  .hero-beach-model,
  .hero-3d-model {
    width: min(100%, 350px);
    height: 420px;
  }
  /* 2 columns on Tablet: 12 member cards cleanly divide into 6 rows of 2 */
  .grid,
  .home-members .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .safety-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .safety-vault-card {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .safety-header {
    text-align: center;
  }
  .safety-intro {
    margin-left: auto;
    margin-right: auto;
  }
  .home-safety .split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-safety .badge {
    padding: 24px;
  }
  .fg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .cta-side-img {
    flex: 0 0 135px;
    width: 135px;
    height: 185px;
  }
  .safety-tips-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .safety-logo-card {
    max-width: 300px;
    margin: 12px auto 0;
    padding: 24px 20px;
  }
  .logo img,
  .logo-img {
    height: 36px;
  }
  .fg .logo img,
  .fg .logo-img {
    height: 40px;
  }
}

/* MOBILE PHONES & PHABLETS (<= 640px) */
@media (max-width: 640px) {
  .wrap {
    padding-right: 16px;
    padding-left: 16px;
  }
  section {
    padding: 16px 0;
  }
  .page-head {
    padding: 16px 0 24px;
  }
  .page-head.hero-beach-session {
    padding: 20px 0 55px;
  }
  .beach-ocean-waves svg {
    height: 52px;
  }
  .logo {
    font-size: 1.15rem;
  }
  .nav nav {
    gap: 6px 12px;
    font-size: 0.8rem;
  }
  .right {
    gap: 10px;
    font-size: 0.82rem;
  }
  .right a:first-child {
    display: none;
  }
  .btn {
    padding: 9px 18px;
    font-size: 0.86rem;
  }
  .hero-beach-title,
  .hero-glass-card h1 {
    font-size: clamp(1.85rem, 7.8vw, 2.45rem);
    line-height: 1.12;
  }
  .hero-beach-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .beach-segmented-pills,
  .segmented-pills {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .beach-trust-row {
    font-size: 0.74rem;
    gap: 6px 12px;
  }
  .hero-beach-stage,
  .hero-3d-stage {
    min-height: 340px;
    margin: 0 auto -42px;
  }
  .hero-beach-model,
  .hero-3d-model {
    width: min(100%, 290px);
    height: 340px;
  }
  .three,
  .home-steps .three,
  .home-safety .split {
    grid-template-columns: 1fr;
  }
  .home-steps .box:last-child {
    grid-column: auto;
  }
  .head,
  .home-steps .head,
  .home-members .head {
    margin-bottom: 14px;
  }
  .home-steps .box {
    padding: 18px;
  }
  /* Modern Dating App 2-Column Mobile Feed */
  .grid,
  .home-members .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .home-members .pc,
  .pc {
    border-radius: 16px;
  }
  .home-members .pc-float-panel,
  .pc-float-panel {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px;
    border-radius: 12px;
  }
  .home-members .pc-name,
  .pc-name {
    font-size: 0.92rem;
  }
  .home-members .pc-meta,
  .pc-meta {
    font-size: 0.68rem;
  }
  .pc-bio {
    font-size: 0.74rem;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  .pc-profile-btn {
    padding: 7px 12px;
    font-size: 0.78rem;
    border-radius: 8px;
  }
  .safety-vault-card {
    padding: 22px 16px;
    border-radius: 20px;
  }
  .vault-insignia-stage {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .safety-card {
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }
  .safety-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .home-safety .badge {
    min-height: 0;
    padding: 20px;
  }
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .loc-thumb {
    height: clamp(240px, 46vw, 300px);
    min-height: 220px;
  }
  /* FAQ Accordion Mobile Spacing Fix */
  .faq-single-image-cut-stage {
    min-height: auto;
    max-width: 320px;
    margin: 0 auto;
  }
  .faq-badge {
    width: 40px;
    min-width: 40px;
    font-size: 0.95rem;
  }
  .faq-toggle-btn {
    width: 38px;
    min-width: 38px;
  }
  .faq-question {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
  .faq-item-body {
    padding: 14px 16px;
  }
  .faq-item-body p {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  /* CTA Banner Mobile */
  .cta-banner-wrapper {
    padding: 26px 18px;
    border-radius: 22px;
  }
  .cta-left-content h2 {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
  }
  .cta-left-content p {
    font-size: 0.94rem;
    margin-bottom: 20px;
  }
  .cta-members-cluster {
    max-width: 260px;
    gap: 12px;
  }
  .cta-cluster-card {
    border-radius: 16px;
    border-width: 2.5px;
  }
  .home-cta {
    padding: 14px 0 20px;
  }
  .home-cta .wrap {
    padding: 22px 16px;
    border-radius: 20px;
  }
  .cta-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .cta-content {
    order: 2;
    width: 100%;
  }
  .cta-side-img {
    order: 1;
    flex: 0 0 96px;
    width: 96px;
    height: 130px;
    transform: none;
  }
  .fg {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  footer {
    padding: 34px 0 20px;
  }
  .lg {
    padding-top: 14px;
  }
  .cform {
    padding: 18px;
  }
  .cform .two {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq-image-slot {
    min-height: 240px;
  }
  .faq-heading {
    margin-bottom: 14px;
  }
}

/* COMPACT PHONES & NARROW DEVICES (<= 480px) */
@media (max-width: 480px) {
  .join-form-grid {
    grid-template-columns: 1fr;
  }
  .auth-box {
    padding: 22px 16px;
    margin: 16px auto;
    border-radius: 20px;
  }
  .cform {
    padding: 16px;
    border-radius: 16px;
  }
  /* Prevent iOS zoom on form inputs */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ULTRA-COMPACT MOBILE SCREENS (<= 360px) */
@media (max-width: 360px) {
  .wrap {
    padding-right: 12px;
    padding-left: 12px;
  }
  .grid,
  .home-members .grid {
    gap: 8px;
  }
  .home-members .pc,
  .pc {
    border-radius: 14px;
  }
  .home-members .pc-float-panel,
  .pc-float-panel {
    left: 6px;
    right: 6px;
    bottom: 6px;
    padding: 8px;
    border-radius: 10px;
  }
  .home-members .pc-name,
  .pc-name {
    font-size: 0.86rem;
  }
  .home-members .pc-meta,
  .pc-meta {
    font-size: 0.62rem;
  }
  .pc-profile-btn {
    padding: 6px 10px;
    font-size: 0.74rem;
  }
  .cta-members-cluster {
    max-width: 220px;
    gap: 8px;
  }
  .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}
