:root {
  --ink: #07100e;
  --charcoal: #0d1513;
  --jungle: #102a22;
  --jungle-2: #173d31;
  --blue: #19a7b8;
  --blue-soft: #8ce6ee;
  --cloud: #eef7f4;
  --mist: rgba(238, 247, 244, 0.72);
  --gold: #d9b04c;
  --line: rgba(238, 247, 244, 0.14);
  --panel: rgba(13, 25, 22, 0.82);
  --panel-strong: rgba(19, 44, 36, 0.86);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cloud);
  background:
    radial-gradient(circle at 14% 0%, rgba(25, 167, 184, 0.16), transparent 28rem),
    radial-gradient(circle at 85% 20%, rgba(217, 176, 76, 0.08), transparent 22rem),
    linear-gradient(180deg, #07100e 0%, #0d1714 42%, #07100e 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

.dive-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 2.2rem;
  height: 2.2rem;
  pointer-events: none;
  border: 1px solid rgba(140, 230, 238, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(238, 247, 244, 0.42) 0 0.18rem, rgba(140, 230, 238, 0.18) 0.22rem 0.55rem, transparent 0.9rem);
  box-shadow: 0 0 24px rgba(25, 167, 184, 0.32);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 160ms ease, width 160ms ease, height 160ms ease, border-color 160ms ease;
  mix-blend-mode: screen;
}

.dive-cursor.is-visible {
  opacity: 1;
}

.dive-cursor.is-active {
  width: 3rem;
  height: 3rem;
  border-color: rgba(217, 176, 76, 0.72);
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 14, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(140, 230, 238, 0.34);
  border-radius: 50%;
  background-image: url("../../images/cenote-angelita-favicon.webp");
  background-position: center;
  background-size: 135%;
  box-shadow: 0 0 0 5px rgba(25, 167, 184, 0.08), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-copy strong {
  display: block;
  color: var(--cloud);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
}

.brand-copy small {
  color: var(--blue-soft);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.nav a,
.mini-nav a {
  color: rgba(238, 247, 244, 0.78);
  border-radius: 999px;
  padding: 0.55rem 0.72rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a[aria-current="page"],
.mini-nav a:hover {
  color: var(--cloud);
  background: rgba(238, 247, 244, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-toggle {
  display: none;
  min-width: 3.6rem;
  height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 247, 244, 0.06);
  color: var(--cloud);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.74rem 1rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.button.primary {
  color: #07100e;
  background: linear-gradient(135deg, var(--blue-soft), var(--gold));
  box-shadow: 0 12px 28px rgba(25, 167, 184, 0.18);
}

.button.secondary {
  color: var(--cloud);
  border-color: var(--line);
  background: rgba(238, 247, 244, 0.07);
}

.button:hover {
  transform: translateY(-1px);
}

.top-photo-banner {
  width: min(var(--max), calc(100% - 2rem));
  height: clamp(220px, 32vw, 440px);
  margin: 1rem auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07100e;
  box-shadow: var(--shadow);
}

.top-photo-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(13, 29, 25, 0.62), rgba(7, 16, 14, 0.92)),
    linear-gradient(135deg, #102a22, #07100e 58%, #06181c 100%);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero-inner {
  padding: 2.4rem 0 3rem;
}

.eyebrow {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0.45rem 0 0.9rem;
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  max-width: 790px;
  color: rgba(238, 247, 244, 0.84);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.trust-line {
  max-width: 740px;
  margin: 1.1rem 0 1.4rem;
  color: var(--blue-soft);
  font-weight: 800;
}

.hero-ctas,
.section-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.mini-nav-wrap {
  border-block: 1px solid var(--line);
  background: rgba(10, 23, 20, 0.72);
}

.mini-nav {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.65rem 0;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section.alt {
  background: rgba(238, 247, 244, 0.035);
}

.section-header {
  max-width: 790px;
  margin-bottom: 1.8rem;
}

.subsection-header {
  margin-top: 2.2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card,
.profile-card,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.17);
}

.card {
  padding: 1.15rem;
}

.card .kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card p,
.profile-card p,
li {
  color: rgba(238, 247, 244, 0.78);
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.placeholder-img {
  min-height: 330px;
  display: grid;
  place-items: center;
  color: rgba(238, 247, 244, 0.72);
  border: 1px solid rgba(238, 247, 244, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 247, 244, 0.16), transparent 28%),
    radial-gradient(circle at 50% 58%, rgba(238, 247, 244, 0.26), transparent 7rem),
    linear-gradient(150deg, #14392f, #06242a);
  box-shadow: var(--shadow);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  text-align: center;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(238, 247, 244, 0.18);
  border-radius: 8px;
  background: rgba(7, 16, 14, 0.72);
  box-shadow: var(--shadow);
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.image-frame.contain img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.image-frame.compact img {
  min-height: 220px;
}

.image-frame figcaption {
  padding: 0.75rem 0.9rem;
  color: rgba(238, 247, 244, 0.72);
  font-size: 0.95rem;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) 1fr;
  gap: 1.2rem;
  padding: 1rem;
}

.profile-card .placeholder-img {
  min-height: 320px;
}

.plain-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
}

.plain-list.card {
  padding-left: 2rem;
}

.specialty-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.specialty-panel .plain-list {
  padding-left: 1.2rem;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 1.55rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(25, 167, 184, 0.12);
}

.depth-layout {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.depth-profile {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(238, 247, 244, 0.14) 0 10%, rgba(25, 167, 184, 0.16) 10% 45%, rgba(238, 247, 244, 0.26) 45% 55%, rgba(0, 0, 0, 0.42) 55% 100%),
    linear-gradient(180deg, #174234, #05252b 48%, #050b0c);
}

.depth-profile::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 2px;
  background: rgba(238, 247, 244, 0.34);
}

.depth-mark {
  position: absolute;
  left: 1rem;
  right: 1rem;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.7rem;
  align-items: center;
  color: var(--cloud);
  font-weight: 800;
}

.depth-mark span {
  color: var(--gold);
}

.depth-mark::after {
  content: "";
  height: 1px;
  background: rgba(238, 247, 244, 0.28);
}

.map-caption,
.note {
  color: rgba(238, 247, 244, 0.72);
  font-size: 0.95rem;
}

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

.form-panel {
  padding: 1.2rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: rgba(238, 247, 244, 0.84);
  font-weight: 800;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(238, 247, 244, 0.18);
  border-radius: 8px;
  padding: 0.8rem 0.85rem;
  color: var(--cloud);
  background: rgba(7, 16, 14, 0.8);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

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

.faq-list {
  display: grid;
  gap: 0.85rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1rem;
}

summary {
  cursor: pointer;
  color: var(--cloud);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
}

details p {
  margin-top: 0.8rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #060d0c;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 2.4rem 0;
}

.footer-branding {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.footer-branding img {
  display: block;
  width: min(132px, 38vw);
  aspect-ratio: 1;
  border: 1px solid rgba(140, 230, 238, 0.24);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 0 8px rgba(25, 167, 184, 0.06), 0 22px 45px rgba(0, 0, 0, 0.28);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
}

.footer-links a {
  color: rgba(238, 247, 244, 0.76);
  font-weight: 800;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: 4.4rem 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 16, 14, 0.98);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    border-radius: 8px;
    padding: 0.9rem;
  }

  .grid.five,
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story,
  .profile-card,
  .depth-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 2rem;
  }

  .grid.two,
  .grid.three,
  .grid.five,
  .next-steps,
  .specialty-panel,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .depth-mark {
    grid-template-columns: 3.8rem 1fr;
    font-size: 0.9rem;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .dive-cursor {
    display: none;
  }
}
