:root {
  --navy: #062d4f;
  --navy-deep: #03213b;
  --blue: #0b739f;
  --cyan: #08a5b5;
  --sky: #dff3f7;
  --orange: #f26b3a;
  --yellow: #f5c84b;
  --cream: #f6f4ee;
  --white: #ffffff;
  --ink: #10283d;
  --muted: #687987;
  --line: #dfe6e9;
  --shadow: 0 20px 55px rgba(4, 39, 68, .12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 28px rgba(242, 107, 58, .25);
}

.btn-primary:hover {
  background: #dd5828;
  box-shadow: 0 15px 32px rgba(242, 107, 58, .34);
}

.btn-ghost {
  padding-left: 10px;
  color: var(--navy);
}

.btn-white {
  color: var(--navy);
  background: #fff;
}

.btn-outline {
  color: var(--navy);
  background: #fff;
  border-color: #cfdadd;
}

.btn.compact {
  min-height: 45px;
  padding: 0 18px;
}

.eyebrow,
.kicker,
.card-kicker,
.date-label,
.login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.kicker.light {
  color: #76d7df;
}

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

h1,
h2,
h3 {
  color: var(--navy);
}

h1 em,
h2 em {
  color: var(--orange);
  font-family: Georgia, serif;
  font-weight: 400;
}

.section-heading {
  margin-bottom: 54px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 90px;
}

.section-heading h2 {
  margin: 13px 0 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -2.6px;
}

.section-heading>p {
  max-width: 520px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-heading.centered {
  max-width: 700px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.centered h2 {
  color: #fff;
}

.section-heading.centered p {
  margin: 18px auto 0;
  color: #a9c3d1;
}

/* Public header and hero */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 190px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav>a {
  position: relative;
  color: #31516a;
  font-size: 13px;
  font-weight: 700;
}

.main-nav>a:not(.nav-login)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav>a:hover::after {
  transform: scaleX(1);
}

.main-nav .nav-login {
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
  border-radius: 8px;
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

.hero-section {
  position: relative;
  min-height: 760px;
  padding: 155px 0 92px;
  overflow: hidden;
  background: linear-gradient(108deg, #f6f4ee 0%, #f6f4ee 58%, #dceff2 58%, #dceff2 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 76px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin: 22px 0;
  font-size: clamp(56px, 6.4vw, 84px);
  line-height: .94;
  letter-spacing: -4px;
}

.hero-copy>p {
  max-width: 580px;
  margin-bottom: 30px;
  color: #5c7180;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.play-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: 11px;
}

.member-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: -8px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 3px solid var(--cream);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.avatar-stack span:first-child {
  margin-left: 0;
  background: var(--orange);
}

.avatar-stack span:nth-child(3) {
  background: var(--cyan);
}

.avatar-stack span:last-child {
  color: var(--navy);
  background: var(--yellow);
}

.member-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.member-proof strong {
  color: var(--navy);
}

.hero-visual {
  position: relative;
  padding: 20px 0 28px;
}

.visual-card {
  position: relative;
  padding: 24px 26px 22px;
  background: var(--navy);
  border: 10px solid #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.visual-card::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  content: "";
  border-top: 2px solid rgba(255, 255, 255, .25);
  border-right: 2px solid rgba(255, 255, 255, .25);
}

.visual-topline,
.visual-caption {
  display: flex;
  justify-content: space-between;
  color: #85afc4;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.freedive-scene {
  position: relative;
  height: 390px;
  margin: 20px 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, rgba(113, 224, 232, .4), transparent 38%), linear-gradient(180deg, #168faf 0%, #075879 40%, #032c4b 100%);
}

.freedive-scene::before {
  position: absolute;
  top: -55px;
  left: -20%;
  width: 140%;
  height: 150px;
  content: "";
  background: repeating-linear-gradient(105deg, rgba(255, 255, 255, .19) 0 2px, transparent 2px 45px);
  transform: skewY(-5deg);
  opacity: .55;
}

.freedive-scene::after {
  position: absolute;
  right: -70px;
  bottom: -105px;
  width: 420px;
  height: 190px;
  content: "";
  background: #052943;
  border-radius: 50% 50% 0 0;
  transform: rotate(-6deg);
  opacity: .86;
}

.water-surface {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 7px 0 rgba(255, 255, 255, .14), 0 15px 0 rgba(255, 255, 255, .08);
}

.dive-line {
  position: absolute;
  z-index: 3;
  top: 25px;
  bottom: 28px;
  left: 65%;
  width: 2px;
  background: rgba(255, 255, 255, .8);
}

.dive-line::before {
  position: absolute;
  top: -14px;
  left: -10px;
  width: 21px;
  height: 21px;
  content: "";
  background: var(--orange);
  border: 4px solid #fff;
  border-radius: 50%;
}

.dive-line span {
  position: absolute;
  bottom: -3px;
  left: -9px;
  width: 20px;
  height: 12px;
  background: var(--yellow);
  border-radius: 2px 2px 9px 9px;
}

.freediver {
  position: absolute;
  z-index: 5;
  top: 114px;
  left: 31%;
  color: #fff;
  font-size: 72px;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .28));
  transform: rotate(70deg);
}

.dive-bubbles {
  position: absolute;
  z-index: 4;
  top: 110px;
  left: 26%;
}

.dive-bubbles span {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
}

.dive-bubbles span:nth-child(2) {
  top: -20px;
  left: -13px;
  width: 12px;
  height: 12px;
}

.dive-bubbles span:nth-child(3) {
  top: -38px;
  left: 4px;
  width: 5px;
  height: 5px;
}

.distance-tag {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.distance-tag strong {
  font-size: 34px;
  letter-spacing: -1px;
}

.distance-tag small {
  color: #78b9ca;
  font-size: 8px;
  letter-spacing: 2px;
}

.floating-badge {
  position: absolute;
  z-index: 6;
  right: -28px;
  bottom: 4px;
  display: flex;
  min-width: 210px;
  padding: 16px;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-left: 4px solid var(--orange);
  box-shadow: 0 14px 35px rgba(5, 45, 79, .2);
  transform: rotate(-1.5deg);
}

.floating-badge>i {
  color: var(--orange);
  font-size: 30px;
}

.floating-badge span {
  display: flex;
  flex-direction: column;
}

.floating-badge strong {
  color: var(--navy);
  font-size: 13px;
}

.floating-badge small {
  color: var(--muted);
  font-size: 10px;
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(9, 114, 157, .13);
  border-radius: 50%;
}

.hero-orb-one {
  top: 80px;
  right: -90px;
  width: 280px;
  height: 280px;
}

.hero-orb-two {
  bottom: -150px;
  left: 48%;
  width: 310px;
  height: 310px;
}

.stats-strip {
  color: #fff;
  background: var(--navy);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid>div {
  display: flex;
  padding: 30px 38px;
  align-items: center;
  gap: 15px;
  border-left: 1px solid rgba(255, 255, 255, .11);
}

.stats-grid>div:last-child {
  border-right: 1px solid rgba(255, 255, 255, .11);
}

.stats-grid strong {
  color: var(--yellow);
  font-size: 32px;
}

.stats-grid span {
  max-width: 90px;
  color: #afc7d4;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* About and program */
.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.story-card {
  position: relative;
  min-height: 278px;
  padding: 36px;
  overflow: hidden;
  background: #f6f8f7;
  border: 1px solid #e8eeee;
}

.story-card.featured {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-12px);
}

.story-number {
  position: absolute;
  top: 22px;
  right: 25px;
  color: #cdd7da;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.story-card.featured .story-number {
  color: rgba(255, 255, 255, .45);
}

.story-card>i {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 44px;
  place-items: center;
  color: var(--orange);
  background: #fff;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 10px 20px rgba(5, 45, 79, .08);
}

.story-card.featured>i {
  color: var(--navy);
  background: var(--yellow);
}

.story-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

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

.story-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.story-card.featured p {
  color: #d9eef3;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  margin-top: 76px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vision-grid>div {
  padding: 0 42px;
  border-left: 1px solid var(--line);
}

.vision-grid>div:first-child {
  padding-left: 0;
  border-left: 0;
}

.vision-title span,
.mini-label {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}

.vision-title h3 {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.35;
}

.vision-content p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal-section {
  margin-top: 0;
  padding-top: 48px;
}

.legal-heading {
  display: grid;
  margin-bottom: 34px;
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  gap: 80px;
}

.legal-heading h3 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.legal-heading h3 em {
  color: var(--orange);
  font-family: Georgia, serif;
  font-weight: 400;
}

.legal-heading>p {
  max-width: 525px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.legal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  min-height: 285px;
  padding: 24px 22px 19px;
  overflow: hidden;
  background: #f7f9f8;
  border: 1px solid #e1e9ea;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.legal-card::after {
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 112px;
  height: 112px;
  content: "";
  border: 1px solid rgba(11, 115, 159, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(11, 115, 159, .035);
}

.legal-card:hover {
  z-index: 2;
  border-color: #b5d4da;
  box-shadow: 0 18px 36px rgba(5, 45, 79, .1);
  transform: translateY(-5px);
}

.legal-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-icon {
  flex-shrink: 0;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 9px 18px rgba(11, 115, 159, .2);
  font-size: 16px;
}

.legal-card:nth-child(2) .legal-icon {
  background: var(--orange);
  box-shadow: 0 9px 18px rgba(242, 107, 58, .2);
}

.legal-card:nth-child(3) .legal-icon {
  background: var(--navy);
  box-shadow: 0 9px 18px rgba(6, 45, 79, .18);
}

.legal-card:nth-child(4) .legal-icon {
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 9px 18px rgba(245, 200, 75, .22);
}

.legal-status {
  display: inline-flex;
  padding: 6px 8px;
  align-items: center;
  gap: 5px;
  color: #28764d;
  background: #e7f6ed;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .55px;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-status i {
  font-size: 10px;
}

.legal-index {
  display: block;
  margin-top: 29px;
  color: #a2b2ba;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.legal-card h4 {
  margin: 7px 0 11px;
  color: var(--navy);
  font-size: 20px;
}

.legal-card>p {
  min-height: 68px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.legal-meta {
  position: relative;
  z-index: 2;
  display: flex;
  padding-top: 14px;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  color: #738892;
  border-top: 1px solid #dfe7e8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.legal-meta i {
  color: var(--orange);
  font-size: 12px;
}

.legal-note {
  display: flex;
  margin: 20px 0 0;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: #8799a1;
  font-size: 12px;
}

.legal-note i {
  color: var(--blue);
}

.program-section {
  background: var(--navy-deep);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-card {
  position: relative;
  min-height: 475px;
  padding: 34px;
  background: #fff;
  border-top: 4px solid transparent;
}

.program-card.highlight {
  border-top-color: var(--orange);
  transform: translateY(-12px);
}

.program-index {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #cbd4d8;
  font-size: 11px;
  font-weight: 900;
}

.program-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 44px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 23px;
}

.highlight .program-icon {
  background: var(--orange);
}

.program-level {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.program-card h3 {
  margin: 10px 0 16px;
  font-size: 24px;
}

.program-card p {
  min-height: 72px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.program-card ul {
  padding: 22px 0 0;
  margin: 25px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.program-card li {
  position: relative;
  padding: 7px 0 7px 19px;
  color: #445d6d;
  font-size: 13px;
}

.program-card li::before {
  position: absolute;
  left: 0;
  content: "•";
  color: var(--orange);
  font-weight: 900;
}

.popular-label {
  position: absolute;
  top: -25px;
  left: 50%;
  padding: 7px 16px;
  color: #fff;
  background: var(--orange);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  transform: translateX(-50%);
}

.program-note {
  display: flex;
  margin-top: 34px;
  padding: 20px 25px;
  align-items: center;
  color: #c5d8e2;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
}

.program-note>i {
  margin-right: 12px;
  color: var(--yellow);
}

.program-note p {
  margin: 0;
  font-size: 13px;
}

.program-note a {
  margin-left: auto;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* Gallery, FAQ, contact, footer */
.gallery-section {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-template-rows: 285px 285px;
  gap: 15px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  background: var(--navy);
}

.tile-wide {
  grid-row: span 2;
}

.tile-family {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.gallery-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, .85);
  font-size: 80px;
  background: radial-gradient(circle at 65% 20%, rgba(255, 255, 255, .22), transparent 25%), linear-gradient(140deg, var(--blue), var(--navy));
  transition: transform .5s ease;
}

.gallery-tile:hover .gallery-art {
  transform: scale(1.04);
}

.tile-coaching .gallery-art {
  color: var(--navy);
  background: linear-gradient(145deg, #f3c552, #e79632);
}

.tile-event .gallery-art {
  background: linear-gradient(145deg, #f07943, #a9342e);
}

.tile-family .gallery-art {
  background: linear-gradient(145deg, #0aa6b6, #075c7c);
}

.gallery-art::before,
.gallery-art::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.gallery-art::before {
  width: 300px;
  height: 300px;
}

.gallery-art::after {
  width: 430px;
  height: 430px;
}

.art-bubbles {
  position: absolute;
  right: 12%;
  bottom: 22%;
  width: 74px;
  height: 74px;
  border: 3px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  box-shadow: -70px -90px 0 -15px rgba(255, 255, 255, .16), 35px -145px 0 -24px rgba(255, 255, 255, .3);
}

.art-wave {
  position: absolute;
  top: 27%;
  right: -12%;
  width: 95%;
  height: 48%;
  border: 3px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.tile-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
  color: #fff;
  background: linear-gradient(transparent, rgba(2, 26, 45, .9));
}

.tile-caption span {
  display: block;
  margin-bottom: 6px;
  color: #8fe3e8;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.tile-caption strong {
  font-size: 16px;
}

.faq-section {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 100px;
}

.faq-intro h2 {
  margin: 14px 0 24px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -2px;
}

.faq-intro p {
  color: var(--muted);
}

.faq-intro a {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: flex;
  width: 100%;
  padding: 24px 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}

.faq-item button i {
  color: var(--blue);
  transition: transform .2s ease;
}

.faq-item.active button i {
  transform: rotate(45deg);
  color: var(--orange);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 24px;
}

.contact-section {
  padding: 0 0 110px;
  background: #fff;
}

.contact-card {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 65px 72px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--blue);
}

.contact-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .12));
}

.contact-copy {
  position: relative;
  z-index: 2;
  width: 62%;
}

.contact-copy h2 {
  margin: 14px 0 18px;
  color: #fff;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -2px;
}

.contact-copy>p {
  max-width: 540px;
  color: #cce9ef;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 26px;
}

.text-link {
  font-size: 12px;
  font-weight: 800;
}

.contact-dive {
  position: absolute;
  right: 75px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, .05), 0 0 0 70px rgba(255, 255, 255, .035);
}

.contact-dive>i {
  position: absolute;
  z-index: 5;
  top: 92px;
  left: 76px;
  color: #fff;
  font-size: 88px;
  filter: drop-shadow(0 10px 12px rgba(3, 44, 75, .25));
  transform: rotate(28deg);
}

.contact-bubbles {
  position: absolute;
  top: 74px;
  left: 66px;
}

.contact-bubbles span {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
}

.contact-bubbles span:nth-child(2) {
  top: -28px;
  left: -18px;
  width: 15px;
  height: 15px;
}

.contact-bubbles span:nth-child(3) {
  top: -53px;
  left: 7px;
  width: 7px;
  height: 7px;
}

.site-footer {
  padding: 70px 0 20px;
  color: #a8bfcc;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 55px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 22px;
  filter: none;
  opacity: 1;
}

.footer-grid h3 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.75;
}

.footer-grid a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 9px;
}

.social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.footer-login {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  padding-top: 20px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 10px;
}

/* Login */
.login-page {
  min-height: 100vh;
  background: #fff;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 46% 54%;
}

.login-brand-panel {
  position: relative;
  display: flex;
  padding: 48px 70px;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 90% 18%, rgba(13, 164, 180, .35), transparent 31%), var(--navy-deep);
}

.login-brand-panel::after {
  position: absolute;
  right: -180px;
  bottom: -210px;
  width: 550px;
  height: 550px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .03), 0 0 0 110px rgba(255, 255, 255, .025);
}

.login-back {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b4cad5;
  font-size: 12px;
}

.login-brand-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: auto 0;
}

.login-brand-copy>img {
  width: 210px;
  margin-bottom: 62px;
  filter: brightness(0) invert(1);
}

.eyebrow.dark {
  color: #67d2de;
}

.login-brand-copy h1 {
  margin: 18px 0 25px;
  color: #fff;
  font-size: clamp(45px, 4.5vw, 66px);
  line-height: .99;
  letter-spacing: -3px;
}

.login-brand-copy p {
  max-width: 490px;
  color: #b2c9d5;
  font-size: 16px;
  line-height: 1.8;
}

.login-feature-list {
  display: flex;
  margin-top: 35px;
  flex-wrap: wrap;
  gap: 22px;
}

.login-feature-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d3e2e8;
  font-size: 11px;
}

.login-feature-list i {
  color: var(--yellow);
}

.login-brand-footer {
  position: relative;
  z-index: 2;
  color: #6f91a5;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.login-brand-footer span {
  margin: 0 8px;
  color: var(--orange);
}

.login-form-panel {
  display: grid;
  padding: 60px 8%;
  place-items: center;
}

.login-card {
  width: min(460px, 100%);
}

.mobile-login-logo {
  display: none;
}

.login-card h2 {
  margin: 10px 0 8px;
  font-size: 38px;
  letter-spacing: -1.5px;
}

.login-lead {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
}

.alert {
  display: flex;
  margin-bottom: 22px;
  padding: 14px 16px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.alert-error {
  color: #8f3325;
  background: #fff1ed;
  border: 1px solid #f4d1c8;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
}

.label-row {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
}

.label-row label {
  margin: 0;
}

.label-row a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.input-wrap {
  position: relative;
}

.input-wrap>i {
  position: absolute;
  top: 50%;
  left: 16px;
  color: #94a4ad;
  transform: translateY(-50%);
}

.input-wrap input {
  width: 100%;
  height: 50px;
  padding: 0 48px 0 44px;
  color: var(--navy);
  background: #f8faf9;
  border: 1px solid #dce4e6;
  border-radius: 8px;
  outline: none;
  font-size: 13px;
  transition: border-color .2s, box-shadow .2s;
}

.input-wrap input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 115, 159, .1);
}

.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 50px;
  border: 0;
  background: transparent;
  color: #7d8f99;
  cursor: pointer;
}

.remember {
  display: flex !important;
  margin: 19px 0 23px;
  align-items: center;
  gap: 9px;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.remember input {
  accent-color: var(--blue);
}

.login-submit {
  width: 100%;
  border: 0;
}

.demo-account {
  display: flex;
  margin-top: 25px;
  padding: 15px;
  align-items: center;
  gap: 13px;
  background: #eff8f9;
  border: 1px dashed #9ccbd3;
  border-radius: 9px;
}

.demo-icon {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  color: var(--blue);
  background: #fff;
  border-radius: 50%;
}

.demo-account span {
  color: var(--blue);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}

.demo-account p {
  margin: 4px 0 0;
  color: #58717f;
  font-size: 11px;
}

.demo-account button {
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.login-help {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

.login-help a {
  color: var(--blue);
  font-weight: 750;
}

/* Member layout */
.member-page {
  background: #f2f5f5;
}

.member-shell {
  display: flex;
  min-height: 100vh;
}

.member-sidebar {
  position: fixed;
  z-index: 40;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 250px;
  padding: 24px 18px 18px;
  flex-direction: column;
  color: #b8cad4;
  background: var(--navy-deep);
}

.sidebar-brand {
  display: flex;
  min-height: 54px;
  padding: 0 10px 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

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

.sidebar-close {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
}

.member-mini-profile {
  display: flex;
  padding: 24px 8px;
  align-items: center;
  gap: 11px;
}

.member-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.member-mini-profile>div:last-child {
  min-width: 0;
}

.member-mini-profile strong,
.member-mini-profile span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-mini-profile strong {
  color: #fff;
  font-size: 12px;
}

.member-mini-profile span {
  margin-top: 4px;
  color: #7596a9;
  font-size: 9px;
}

.member-nav {
  display: flex;
  flex-direction: column;
}

.nav-section-label {
  padding: 12px 12px 8px;
  color: #5f8195;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.nav-section-label.second {
  margin-top: 17px;
}

.member-nav a {
  display: flex;
  min-height: 46px;
  padding: 0 13px;
  align-items: center;
  gap: 13px;
  border-radius: 8px;
  color: #a8bdc9;
  font-size: 12px;
  font-weight: 650;
}

.member-nav a i {
  width: 18px;
  text-align: center;
}

.member-nav a:hover,
.member-nav a.active {
  color: #fff;
  background: rgba(11, 115, 159, .45);
}

.member-nav a.active {
  box-shadow: inset 3px 0 var(--orange);
}

.member-nav a b {
  display: grid;
  width: 20px;
  height: 20px;
  margin-left: auto;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 8px;
}

.member-nav a b.orange {
  background: var(--orange);
}

.sidebar-help {
  display: flex;
  margin-top: auto;
  padding: 15px 12px;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .05);
  border-radius: 8px;
}

.sidebar-help>i {
  color: var(--yellow);
}

.sidebar-help strong,
.sidebar-help span {
  display: block;
}

.sidebar-help strong {
  color: #fff;
  font-size: 10px;
}

.sidebar-help span {
  margin-top: 3px;
  color: #7696a8;
  font-size: 8px;
}

.sidebar-logout {
  display: flex;
  padding: 17px 12px 0;
  align-items: center;
  gap: 12px;
  color: #8eabb9;
  font-size: 11px;
}

.sidebar-overlay {
  display: none;
}

.member-main {
  display: flex;
  width: calc(100% - 250px);
  min-height: 100vh;
  margin-left: 250px;
  flex-direction: column;
}

.member-topbar {
  position: sticky;
  z-index: 25;
  top: 0;
  display: flex;
  height: 74px;
  padding: 0 34px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e2e8e9;
}

.member-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: #f0f4f5;
  border-radius: 8px;
}

.topbar-title {
  display: flex;
  flex-direction: column;
}

.topbar-title span {
  color: var(--blue);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.topbar-title strong {
  margin-top: 3px;
  color: var(--navy);
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-actions>a,
.notification-button {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #5e7482;
  background: #f3f6f6;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.notification-button {
  position: relative;
}

.notification-button span {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border: 1px solid #fff;
  border-radius: 50%;
}

.topbar-user {
  display: flex;
  padding-left: 18px;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--line);
}

.member-avatar.small {
  width: 35px;
  height: 35px;
  font-size: 9px;
}

.topbar-user strong,
.topbar-user span {
  display: block;
}

.topbar-user strong {
  color: var(--navy);
  font-size: 11px;
}

.topbar-user span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.topbar-user>i {
  margin-left: 7px;
  color: #8aa0ac;
  font-size: 8px;
}

.member-content {
  width: 100%;
  max-width: 1500px;
  padding: 34px;
  margin: 0 auto;
}

.member-footer {
  display: flex;
  padding: 20px 34px;
  margin-top: auto;
  justify-content: space-between;
  color: #94a2aa;
  font-size: 9px;
}

.member-alert {
  display: flex;
  margin-bottom: 22px;
  padding: 13px 16px;
  align-items: center;
  gap: 10px;
  color: #27663e;
  background: #e8f7ed;
  border: 1px solid #cae9d4;
  border-radius: 8px;
  font-size: 11px;
}

.member-alert button {
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dashboard-welcome,
.history-heading {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-end;
  justify-content: space-between;
}

.dashboard-welcome h1,
.history-heading h1 {
  margin: 8px 0 7px;
  font-size: 31px;
  letter-spacing: -1.2px;
}

.dashboard-welcome h1 span {
  font-size: 26px;
}

.dashboard-welcome p,
.history-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-stats {
  display: grid;
  margin-bottom: 22px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dashboard-stat {
  display: flex;
  min-height: 112px;
  padding: 20px;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e1e8e9;
  border-radius: 10px;
}

.stat-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
}

.stat-icon.blue {
  color: var(--blue);
  background: #e8f3f6;
}

.stat-icon.orange {
  color: var(--orange);
  background: #fff0eb;
}

.stat-icon.cyan {
  color: #119a9a;
  background: #e8f7f5;
}

.stat-icon.yellow {
  color: #b48a0c;
  background: #fff7d9;
}

.dashboard-stat>div:last-child>span,
.dashboard-stat strong,
.dashboard-stat small {
  display: block;
}

.dashboard-stat>div:last-child>span {
  color: #748892;
  font-size: 9px;
}

.dashboard-stat strong {
  margin: 3px 0;
  color: var(--navy);
  font-size: 21px;
}

.dashboard-stat strong small {
  display: inline;
  font-size: 10px;
}

.dashboard-stat small {
  color: #8a9ba4;
  font-size: 8px;
}

.dashboard-stat small i {
  color: #39a767;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .75fr);
  gap: 22px;
}

.dashboard-primary,
.dashboard-secondary {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.dashboard-card,
.profile-card {
  background: #fff;
  border: 1px solid #e0e7e8;
  border-radius: 10px;
}

.dashboard-card {
  padding: 24px;
}

.card-heading {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.card-heading h2 {
  margin: 5px 0 0;
  font-size: 18px;
}

.card-heading>a {
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
}

.training-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.training-item {
  display: grid;
  min-height: 92px;
  padding: 14px;
  grid-template-columns: 55px minmax(0, 1fr) 90px 80px;
  align-items: center;
  gap: 14px;
  background: #f7f9f8;
  border: 1px solid #e7eded;
  border-radius: 8px;
}

.training-item.next {
  background: #f4fafb;
  border-left: 3px solid var(--blue);
}

.training-date {
  display: flex;
  height: 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  border-radius: 7px;
}

.training-date strong {
  font-size: 21px;
  line-height: 1;
}

.training-date span {
  margin-top: 4px;
  color: #97b5c4;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1px;
}

.next-label {
  color: var(--orange);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1px;
}

.training-info h3 {
  margin: 4px 0 7px;
  font-size: 13px;
}

.training-info p {
  margin: 0;
  color: #7d909a;
  font-size: 8px;
}

.training-info p i {
  margin-right: 3px;
  color: var(--blue);
}

.training-info p i:nth-child(2) {
  margin-left: 10px;
}

.coach-pill span,
.coach-pill strong {
  display: block;
}

.coach-pill span {
  color: #8ba0aa;
  font-size: 7px;
  letter-spacing: 1px;
}

.coach-pill strong {
  margin-top: 4px;
  color: var(--navy);
  font-size: 9px;
}

.attendance-btn {
  min-height: 32px;
  padding: 0 10px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #b9d5dc;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.attendance-btn.confirmed {
  color: #29744b;
  background: #e9f7ee;
  border-color: #bfe2cc;
}

.announcement-list {
  display: flex;
  flex-direction: column;
}

.announcement-item {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 38px 1fr 15px;
  gap: 13px;
  border-top: 1px solid #edf0f0;
}

.announcement-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.announcement-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--orange);
  background: #fff1ec;
  border-radius: 50%;
}

.announcement-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-meta span {
  padding: 3px 7px;
  color: var(--blue);
  background: #e7f3f6;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 800;
}

.announcement-meta time {
  color: #96a6ae;
  font-size: 8px;
}

.announcement-item h3 {
  margin: 7px 0 4px;
  font-size: 12px;
}

.announcement-item p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.announcement-item>i {
  align-self: center;
  color: #aab7bd;
  font-size: 8px;
}

.profile-card {
  overflow: hidden;
}

.profile-cover {
  position: relative;
  height: 78px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

.profile-bubbles {
  position: absolute;
  top: -50px;
  right: -28px;
  width: 150px;
  height: 150px;
  border: 22px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: -105px 55px 0 -60px rgba(255, 255, 255, .13), 0 0 0 25px rgba(255, 255, 255, .045);
}

.profile-bubbles span {
  position: absolute;
  bottom: -18px;
  left: -38px;
  width: 20px;
  height: 20px;
  border: 4px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.profile-content {
  position: relative;
  padding: 0 22px 22px;
  text-align: center;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  margin: -32px auto 12px;
  border: 4px solid #fff;
  font-size: 16px;
}

.member-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #31915a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .8px;
}

.member-status i {
  font-size: 5px;
}

.profile-content h2 {
  margin: 7px 0 3px;
  font-size: 17px;
}

.profile-content>p {
  color: #8899a2;
  font-size: 8px;
}

.profile-details {
  display: grid;
  margin: 18px 0;
  padding: 14px 0;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.profile-details>div+div {
  padding-left: 15px;
  border-left: 1px solid var(--line);
}

.profile-details span,
.profile-details strong {
  display: block;
}

.profile-details span {
  color: #8ca0aa;
  font-size: 7px;
}

.profile-details strong {
  margin-top: 4px;
  color: var(--navy);
  font-size: 9px;
}

.profile-button {
  width: 100%;
  height: 36px;
  color: var(--navy);
  background: #f4f7f7;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.progress-count {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--blue);
  background: #e7f4f6;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.progress-ring-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.progress-ring {
  display: grid;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  place-items: center;
  background: conic-gradient(var(--orange) 0 75%, #e7eded 75%);
  border-radius: 50%;
}

.progress-ring::before {
  position: absolute;
  width: 54px;
  height: 54px;
  content: "";
  background: #fff;
  border-radius: 50%;
}

.progress-ring span {
  position: relative;
  z-index: 2;
  color: var(--navy);
  font-size: 16px;
  font-weight: 850;
}

.progress-ring small {
  font-size: 8px;
}

.progress-ring-wrap strong {
  color: var(--navy);
  font-size: 11px;
}

.progress-ring-wrap p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.progress-bar {
  height: 4px;
  margin-top: 18px;
  overflow: hidden;
  background: #e9eeee;
  border-radius: 4px;
}

.progress-bar span {
  display: block;
  width: 75%;
  height: 100%;
  background: var(--orange);
}

.quote-card {
  position: relative;
  min-height: 145px;
  padding: 25px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  border-radius: 10px;
}

.quote-card>i {
  color: var(--yellow);
  font-size: 18px;
}

.quote-card blockquote {
  width: 70%;
  margin: 12px 0 8px;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.35;
}

.quote-card>span {
  color: #87a9ba;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1px;
}

.quote-wave {
  position: absolute;
  right: -12px;
  bottom: -20px;
  color: rgba(255, 255, 255, .08);
  font-size: 105px;
  transform: rotate(-8deg);
}

/* History */
.history-summary {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid #e0e7e8;
  border-radius: 10px;
}

.history-summary>div {
  padding: 21px 24px;
  border-left: 1px solid var(--line);
}

.history-summary>div:first-child {
  border-left: 0;
}

.history-summary span,
.history-summary strong,
.history-summary small {
  display: block;
}

.history-summary span {
  color: #7e929c;
  font-size: 9px;
}

.history-summary strong {
  margin: 4px 0;
  color: var(--navy);
  font-size: 25px;
}

.history-summary small {
  color: #91a1a9;
  font-size: 8px;
}

.history-summary small.positive {
  color: #38905b;
}

.score-chart-card {
  margin-bottom: 20px;
}

.card-heading select,
.history-filters select {
  height: 35px;
  padding: 0 30px 0 12px;
  color: #617683;
  background: #fff;
  border: 1px solid #dce4e5;
  border-radius: 6px;
  font-size: 9px;
  outline: none;
}

.score-chart {
  display: flex;
  height: 225px;
  padding: 5px 8px 25px 0;
}

.chart-axis {
  display: flex;
  width: 38px;
  padding: 0 5px 14px 0;
  flex-direction: column;
  justify-content: space-between;
  color: #9aa8af;
  text-align: right;
  font-size: 8px;
}

.chart-area {
  position: relative;
  flex: 1;
  border-bottom: 1px solid #e2e8e9;
}

.chart-gridline {
  position: absolute;
  right: 0;
  left: 0;
  border-top: 1px dashed #e6ebec;
}

.chart-gridline.l1 {
  top: 25%;
}

.chart-gridline.l2 {
  top: 50%;
}

.chart-gridline.l3 {
  top: 75%;
}

.chart-area svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-area svg .area {
  fill: url(#scoreFill);
}

.chart-area svg polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.chart-area svg circle {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.chart-labels {
  position: absolute;
  right: 0;
  bottom: -23px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: #8fa0a8;
  font-size: 8px;
}

.history-table-card {
  padding: 0;
  overflow: hidden;
}

.history-table-heading {
  padding: 22px 24px;
  margin: 0;
}

.history-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-search {
  position: relative;
}

.history-search i {
  position: absolute;
  top: 50%;
  left: 11px;
  color: #92a3ab;
  font-size: 9px;
  transform: translateY(-50%);
}

.history-search input {
  width: 190px;
  height: 35px;
  padding: 0 10px 0 30px;
  border: 1px solid #dce4e5;
  border-radius: 6px;
  outline: none;
  font-size: 9px;
}

.history-table-wrap {
  overflow-x: auto;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th {
  padding: 11px 15px;
  color: #768a95;
  background: #f4f7f7;
  border-top: 1px solid #e4e9ea;
  border-bottom: 1px solid #e4e9ea;
  text-align: left;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-table td {
  padding: 14px 15px;
  border-bottom: 1px solid #edf0f1;
  color: #687b86;
  font-size: 9px;
  vertical-align: middle;
}

.history-table td strong {
  color: var(--navy);
  font-size: 9px;
  white-space: nowrap;
}

.history-table td small {
  display: block;
  margin-top: 3px;
  color: #93a2aa;
  font-size: 7px;
}

.history-table td p {
  width: 190px;
  margin: 0;
  font-size: 8px;
  line-height: 1.45;
}

.type-badge,
.status-badge {
  display: inline-flex;
  padding: 5px 8px;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.type-badge.pool {
  color: #0d748f;
  background: #e5f4f6;
}

.type-badge.depth {
  color: #16528d;
  background: #e7eef8;
}

.type-badge.dry-training {
  color: #925c12;
  background: #fff4d9;
}

.status-badge.hadir {
  color: #27754b;
  background: #e7f6ed;
}

.status-badge.izin {
  color: #9a7115;
  background: #fff5d8;
}

.status-badge i {
  font-size: 4px;
}

.score-value {
  font-size: 13px !important;
}

.history-empty {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #8ea0a8;
}

.history-empty[hidden] {
  display: none;
}

.history-empty i {
  margin-bottom: 10px;
  font-size: 22px;
}

.history-empty strong {
  color: var(--navy);
  font-size: 12px;
}

.history-empty span {
  margin-top: 5px;
  font-size: 9px;
}

.table-footer {
  display: flex;
  padding: 14px 24px;
  align-items: center;
  justify-content: space-between;
  color: #8698a1;
  font-size: 8px;
}

.pagination {
  display: flex;
  gap: 4px;
}

.pagination button {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #748892;
  background: #fff;
  border: 1px solid #dce4e5;
  border-radius: 5px;
  font-size: 8px;
}

.pagination button.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 20px;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero-copy h1 {
    font-size: 65px;
  }

  .freediver {
    left: 27%;
  }

  .stats-grid>div {
    padding: 27px 20px;
  }

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

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

  .dashboard-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .quote-card {
    min-height: 100%;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 36px, 720px);
  }

  .section {
    padding: 85px 0;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 92px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 22px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

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

  .main-nav>a {
    padding: 12px;
  }

  .main-nav .nav-login {
    margin-top: 10px;
    justify-content: center;
  }

  .hero-section {
    padding-top: 130px;
    background: linear-gradient(150deg, #f6f4ee 0%, #f6f4ee 64%, #dceff2 64%);
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy>p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .member-proof {
    justify-content: center;
  }

  .hero-visual {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .story-card.featured,
  .program-card.highlight {
    transform: none;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vision-grid>div {
    padding: 0;
    border-left: 0;
  }

  .legal-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 340px 280px;
  }

  .tile-wide {
    grid-row: auto;
  }

  .tile-family {
    grid-column: auto;
    grid-row: auto;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-copy {
    width: 75%;
  }

  .contact-dive {
    right: -60px;
    opacity: .55;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    display: none;
  }

  .mobile-login-logo {
    display: block;
    margin-bottom: 40px;
  }

  .mobile-login-logo img {
    width: 190px;
    margin: 0 auto;
  }

  .member-sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
  }

  .member-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close {
    display: block;
  }

  .sidebar-overlay {
    position: fixed;
    z-index: 35;
    inset: 0;
    background: rgba(1, 20, 35, .55);
  }

  .sidebar-overlay.show {
    display: block;
  }

  .member-main {
    width: 100%;
    margin-left: 0;
  }

  .member-menu-toggle {
    display: block;
  }

  .topbar-title {
    margin-right: auto;
    margin-left: 14px;
  }

  .dashboard-secondary {
    grid-template-columns: 1fr 1fr;
  }

  .quote-card {
    display: none;
  }

  .history-summary {
    grid-template-columns: 1fr 1fr;
  }

  .history-summary>div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .history-summary>div:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 68px 0;
  }

  .brand img {
    width: 150px;
    height: 58px;
  }

  .site-header {
    padding-top: 14px;
  }

  .hero-section {
    min-height: auto;
    padding: 110px 0 65px;
  }

  .hero-copy h1 {
    font-size: 47px;
    letter-spacing: -2.5px;
  }

  .hero-copy>p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .member-proof {
    margin-top: 28px;
  }

  .visual-card {
    padding: 16px;
    border-width: 7px;
  }

  .freedive-scene {
    height: 300px;
  }

  .freediver {
    top: 84px;
    left: 24%;
    font-size: 58px;
  }

  .dive-bubbles {
    top: 83px;
    left: 20%;
  }

  .floating-badge {
    right: -4px;
    min-width: 175px;
  }

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

  .stats-grid>div {
    padding: 22px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .section-heading h2,
  .faq-intro h2 {
    font-size: 40px;
    letter-spacing: -1.8px;
  }

  .story-card {
    min-height: 240px;
  }

  .vision-grid {
    margin-top: 42px;
  }

  .legal-section {
    padding-top: 36px;
  }

  .legal-heading h3 {
    font-size: 30px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .legal-card {
    min-height: 0;
    padding: 22px;
  }

  .legal-card>p {
    min-height: 0;
  }

  .legal-note {
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 1.55;
  }

  .program-card {
    min-height: 440px;
  }

  .program-note {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .program-note a {
    width: 100%;
    margin-left: 28px;
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
  }

  .gallery-tile {
    min-height: 310px;
  }

  .contact-section {
    padding-bottom: 68px;
  }

  .contact-card {
    padding: 45px 26px;
  }

  .contact-copy {
    width: 100%;
  }

  .contact-copy h2 {
    font-size: 38px;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-dive {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .login-form-panel {
    padding: 35px 22px;
  }

  .login-card h2 {
    font-size: 32px;
  }

  .mobile-login-logo {
    margin-bottom: 28px;
  }

  .member-topbar {
    padding: 0 16px;
  }

  .topbar-actions>a,
  .topbar-user>div:not(.member-avatar),
  .topbar-user>i {
    display: none;
  }

  .topbar-user {
    padding-left: 10px;
    gap: 0;
  }

  .member-content {
    padding: 24px 15px;
  }

  .dashboard-welcome,
  .history-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .dashboard-welcome .btn,
  .history-heading .btn {
    width: 100%;
  }

  .dashboard-welcome h1,
  .history-heading h1 {
    font-size: 27px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .dashboard-stat {
    min-height: 132px;
    padding: 15px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .dashboard-card {
    padding: 18px;
  }

  .training-item {
    grid-template-columns: 48px 1fr;
  }

  .coach-pill {
    display: none;
  }

  .attendance-btn {
    grid-column: 2;
    width: fit-content;
  }

  .dashboard-secondary {
    display: flex;
  }

  .quote-card {
    display: block;
    min-height: 145px;
  }

  .history-summary {
    grid-template-columns: 1fr 1fr;
  }

  .history-summary>div {
    padding: 17px;
  }

  .history-summary strong {
    font-size: 21px;
  }

  .history-table-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .history-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .history-search input,
  .history-filters select {
    width: 100%;
  }

  .score-chart {
    height: 190px;
  }

  .member-footer {
    padding: 18px 15px;
    flex-direction: column;
    gap: 5px;
  }
}

@media print {

  .member-sidebar,
  .member-topbar,
  .member-footer,
  .history-heading .btn,
  .history-filters,
  .pagination {
    display: none !important;
  }

  .member-main {
    width: 100%;
    margin: 0;
  }

  .member-content {
    max-width: none;
    padding: 0;
  }

  .dashboard-card,
  .history-summary {
    break-inside: avoid;
  }
}
