﻿:root {
  --bg: #020812;
  --bg-2: #061827;
  --panel: rgba(8, 25, 39, 0.82);
  --panel-solid: #071827;
  --text: #edf8ff;
  --muted: #a8c2d1;
  --aqua: #29d3ff;
  --gold: #f2b84b;
  --line: rgba(141, 222, 255, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --hero-image: url("../images/bull-shark-diving-hero-playa-del-carmen.webp");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(41, 211, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 80% 20%, rgba(242, 184, 75, 0.08), transparent 22rem),
    linear-gradient(180deg, #020812 0%, #061827 48%, #020812 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.has-cursor {
  cursor: none;
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(2, 8, 18, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-logo {
  display: block;
  width: min(320px, 44vw);
  height: auto;
  filter: drop-shadow(0 0 12px rgba(41, 211, 255, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--aqua);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.page-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero.clean {
  min-height: 560px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.06), rgba(2, 8, 18, 0.92)),
    var(--page-image);
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.page-hero .panel {
  width: min(560px, 100%);
  margin-bottom: 58px;
}

.page-hero.hero-right .section-inner {
  display: flex;
  justify-content: flex-end;
}

.intro-panel {
  margin-bottom: 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.18), rgba(2, 8, 18, 0.95)),
    var(--hero-image, radial-gradient(circle at 50% 25%, rgba(41, 211, 255, 0.34), rgba(2, 8, 18, 0.12) 32rem, rgba(2, 8, 18, 0.95) 78%));
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, transparent 80%);
  z-index: -1;
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 90px 0;
}

.eyebrow {
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.92;
  margin: 0 0 22px;
  max-width: 980px;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  margin: 0 0 22px;
  max-width: 900px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0 0 22px;
}

h3 {
  font-size: 1.28rem;
  margin: 0 0 10px;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #02101a;
  background: var(--aqua);
  border-color: var(--aqua);
}

.button.gold {
  color: #160f04;
  background: var(--gold);
  border-color: var(--gold);
}

.button.ghost {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section.tight {
  padding: 64px 0;
}

.section.image-break {
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.92) 0%, rgba(2, 8, 18, 0.56) 42%, rgba(2, 8, 18, 0.16) 100%),
    var(--break-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.image-break .section-inner {
  padding: 80px 0;
}

.break-copy {
  max-width: 440px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.break-copy.compact {
  max-width: 390px;
  min-height: 360px;
}

.depth-moment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 28px;
  align-items: stretch;
}

.depth-gauge {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(41, 211, 255, 0.13), rgba(2, 8, 18, 0.85));
  overflow: hidden;
}

.depth-gauge::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--aqua), rgba(41, 211, 255, 0.05));
}

.depth-mark {
  position: absolute;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.depth-mark strong {
  color: var(--text);
}

.depth-mark.surface { top: 28px; }
.depth-mark.bottom { top: 68%; }
.depth-mark.stop { top: 36%; }

.compare-block {
  display: grid;
  gap: 26px;
}

.section-kicker {
  max-width: 720px;
}

.section-kicker h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
}

.mood-board {
  display: grid;
  grid-template-columns: 0.95fr 1.12fr 1.12fr 0.95fr;
  gap: 18px;
  align-items: center;
}

.mood-board figure {
  position: relative;
  min-height: 290px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mood-board figure:nth-child(2),
.mood-board figure:nth-child(3) {
  min-height: 355px;
}

.mood-board img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.mood-board figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(2, 8, 18, 0.68);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.mood-board figure:nth-child(1) {
  transform: rotate(-2deg);
}

.mood-board figure:nth-child(2) {
  transform: translateY(18px) rotate(1deg);
}

.mood-board figure:nth-child(3) {
  transform: translateY(-14px) rotate(-1deg);
}

.mood-board figure:nth-child(4) {
  transform: rotate(2deg);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 46px);
  border-radius: var(--radius);
}

.panel h1 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

.panel h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
}

.legal-copy {
  max-width: 920px;
}

.legal-copy h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.legal-copy p {
  max-width: 76ch;
}

.image-panel {
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.12), rgba(2, 8, 18, 0.74)),
    var(--image, radial-gradient(circle at 50% 35%, rgba(41, 211, 255, 0.3), rgba(5, 22, 36, 1) 70%));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.image-panel.fit {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: rgba(2, 8, 18, 0.7);
}

.controlled-video-section {
  align-items: stretch;
}

.video-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.055);
  box-shadow: var(--shadow);
}

.video-card video {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border-radius: calc(var(--radius) - 8px);
  background: #020812;
}

.video-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 4px 4px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
  padding: 22px;
  min-height: 180px;
  border-radius: 22px;
}

.card strong {
  display: block;
  color: var(--aqua);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.check-row span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #02101a;
  background: var(--aqua);
  font-weight: 900;
}

.map-card {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 48%, rgba(41, 211, 255, 0.22), transparent 11rem),
    linear-gradient(90deg, rgba(6, 24, 39, 0.92) 0 34%, rgba(13, 91, 111, 0.72) 34% 100%);
  box-shadow: var(--shadow);
}

.shoreline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34%;
  width: 6px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  transform: skewX(-8deg);
}

.map-label {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(2, 8, 18, 0.76);
  border: 1px solid var(--line);
  font-weight: 800;
}

.map-label.town { left: 7%; top: 42%; }
.map-label.site { right: 10%; top: 38%; }
.map-label.ride { left: 45%; bottom: 18%; color: var(--aqua); }

.route-line {
  position: absolute;
  left: 39%;
  right: 22%;
  top: 51%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--aqua) 0 12px, transparent 12px 22px);
  transform: rotate(-8deg);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 900;
}

.faq-list details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-photo-answer {
  padding: 0 20px 20px;
}

.faq-photo-answer img {
  display: block;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.faq-photo-answer img {
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 14px;
}

.faq-list details .faq-photo-answer p {
  padding: 0;
}

.safety-callout-section {
  padding: 28px 0;
}

.safety-photo-callout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
}

.safety-warning-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: url("../images/bull-shark-do-not-touch-safety.webp") center / contain no-repeat;
  overflow: hidden;
}

.safety-photo-callout div {
  padding: 10px 10px 10px 0;
}

.safety-photo-callout h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 12px;
}

.safety-photo-callout p:last-child {
  margin-bottom: 0;
}

.safety-slate {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
}

.safety-slate div {
  padding: 22px;
  background: rgba(2, 8, 18, 0.86);
}

.safety-slate strong {
  display: block;
  color: var(--aqua);
  margin-bottom: 8px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.step.with-image {
  grid-template-columns: 70px minmax(0, 1fr) 220px;
}

.step img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.step-number {
  color: var(--aqua);
  font-weight: 900;
  font-size: 1.7rem;
}

.dive-profile {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.big-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.big-cta img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.big-cta .panel {
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.profile-item {
  background: var(--panel-solid);
  padding: 22px;
}

.quick-facts div {
  background: var(--panel-solid);
  padding: 20px;
}

.profile-item span,
.quick-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.profile-item strong,
.quick-facts strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
}

.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fact {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  border-radius: 22px;
}

.fact .label {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -40px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  border: 1px solid rgba(180, 238, 255, 0.34);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.38), rgba(41, 211, 255, 0.08) 46%, transparent 72%);
  box-shadow: inset 0 0 10px rgba(180, 238, 255, 0.18);
  filter: blur(0.25px);
  opacity: 0.34;
  animation: rise var(--speed) linear infinite;
  left: var(--left);
}

@keyframes rise {
  from {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.45;
  }
  to {
    transform: translateY(-110vh) translateX(38px);
    opacity: 0;
  }
}

.cursor-light {
  position: fixed;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(41, 211, 255, 0.65);
  box-shadow: 0 0 28px rgba(41, 211, 255, 0.22);
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  display: none;
}

body.has-cursor .cursor-light {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .bubbles,
  .cursor-light {
    display: none !important;
  }
}

.mini-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.inquiry-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(2, 8, 18, 0.58);
  padding: 12px 14px;
  font: inherit;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(41, 211, 255, 0.38);
  border-color: var(--aqua);
}

.form-field input[disabled] {
  color: rgba(237, 248, 255, 0.58);
  cursor: not-allowed;
}

.turnstile-wrap {
  display: flex;
  margin-top: 4px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .brand-logo {
    width: min(280px, 78vw);
  }

  .nav-links {
    gap: 12px;
  }

  .split,
  .split.reverse,
  .controlled-video-section,
  .cards,
  .dive-profile,
  .quick-facts,
  .safety-slate,
  .safety-photo-callout,
  .myth-grid,
  .depth-moment,
  .mood-board,
  .big-cta,
  .step.with-image,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .image-panel {
    min-height: 320px;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before,
  .page-hero.clean::before {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #03111d;
    background-position: center;
  }

  .page-hero.clean {
    min-height: 460px;
    align-items: end;
  }

  .section {
    padding: 68px 0;
  }

  .section.tight {
    padding: 42px 0;
  }

  .panel {
    padding: 24px;
  }

  .cards,
  .myth-grid,
  .timeline,
  .form-grid {
    gap: 14px;
  }

  .card,
  .fact,
  .step,
  .form-field input,
  .form-field select,
  .form-field textarea {
    border-radius: 18px;
  }

  .quick-facts {
    border-radius: 22px;
  }

  .quick-facts div,
  .profile-item {
    padding: 18px;
  }

  .section.image-break.mobile-readable-break {
    min-height: auto;
    align-items: stretch;
    padding: 0;
    background-image: none;
  }

  .section.image-break.mobile-readable-break::before {
    content: "";
    display: block;
    width: min(1180px, calc(100% - 32px));
    min-height: 330px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
      linear-gradient(180deg, rgba(2, 8, 18, 0.02), rgba(2, 8, 18, 0.18)),
      var(--break-image) center / cover no-repeat;
    box-shadow: var(--shadow);
  }

  .section.image-break.mobile-readable-break .section-inner {
    padding: 22px 0 0;
  }

  .section.image-break.mobile-readable-break .break-copy {
    max-width: none;
    min-height: auto;
  }

  .mood-board figure,
  .mood-board figure:nth-child(1),
  .mood-board figure:nth-child(2),
  .mood-board figure:nth-child(3),
  .mood-board figure:nth-child(4) {
    min-height: 260px;
    transform: none;
  }

  .step img {
    height: 210px;
  }
}
