:root {
  --blue: #1e5bb8;
  --blue-deep: #123f86;
  --blue-soft: #dfeeff;
  --pink: #e75480;
  --pink-soft: #ffe6ef;
  --yellow: #f4c430;
  --cream: #fff8f0;
  --cream-deep: #f6eadb;
  --navy: #102a43;
  --charcoal: #1f2937;
  --white: #ffffff;
  --mist: #edf7ff;
  --aqua: #bfe8ee;
  --line: rgba(16, 42, 67, .13);
  --line-strong: rgba(16, 42, 67, .22);
  --shadow: 0 24px 70px rgba(16, 42, 67, .13);
  --shadow-soft: 0 14px 36px rgba(16, 42, 67, .09);
  font-family: Lato, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 240, .94), rgba(255, 248, 240, 1) 320px),
    radial-gradient(circle at top right, rgba(231, 84, 128, .12), transparent 420px);
  color: var(--charcoal);
  font-family: Lato, Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 20;
}

.skip:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 240, .82);
  border-bottom: 1px solid rgba(16, 42, 67, .1);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav-wrap {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--navy);
  font-family: Poppins, Arial, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
  filter: drop-shadow(0 8px 14px rgba(16, 42, 67, .13));
}

.brand-name {
  display: inline-block;
  max-width: 210px;
  line-height: 1.05;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: url("tadpole2.png") center / contain no-repeat, rgba(255, 255, 255, .68);
  box-shadow: 0 10px 22px rgba(16, 42, 67, .12);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .95rem;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  padding: 9px 10px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(30, 91, 184, .08);
  color: var(--blue);
}

.nav-links a.button,
.nav-links a.button:visited,
.nav-links a.button:hover,
.nav-links a.button:focus {
  color: var(--white);
}

.nav-links a.button:hover,
.nav-links a.button:focus-visible,
.nav-links a.button:active {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 18px 42px rgba(231, 84, 128, .22);
}

.nav-links a.button:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
  border-radius: 6px;
  padding: 9px 10px;
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--navy);
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(30, 91, 184, .24);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: var(--white);
  box-shadow: 0 18px 42px rgba(231, 84, 128, .22);
}

.button.secondary {
  background: rgba(255, 255, 255, .9);
  color: var(--blue);
  border: 1px solid rgba(30, 91, 184, .22);
  box-shadow: 0 12px 28px rgba(16, 42, 67, .08);
}

.button.secondary:hover {
  background: var(--pink-soft);
  color: var(--navy);
}

.button.danger {
  background: #fff5f6;
  color: #b4233a;
  border: 1px solid rgba(180, 35, 58, .28);
  box-shadow: 0 12px 28px rgba(180, 35, 58, .08);
}

.button.danger:hover {
  background: #b4233a;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(180, 35, 58, .2);
}

.button.small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: .9rem;
}

main {
  overflow: hidden;
}

.section {
  position: relative;
  padding: 86px 22px;
}

.section:first-child:not(.hero) {
  padding-top: 96px;
  background:
    linear-gradient(135deg, rgba(255, 248, 240, .96), rgba(237, 247, 255, .92)),
    radial-gradient(circle at 86% 12%, rgba(231, 84, 128, .13), transparent 260px);
}

.section:first-child:not(.hero)::after {
  content: "";
  position: absolute;
  top: 54px;
  right: max(24px, calc((100vw - 1120px) / 2));
  width: 112px;
  height: 92px;
  background: url("tadpole2.png") center / contain no-repeat;
  opacity: .26;
  pointer-events: none;
}

.section.tight {
  padding-top: 46px;
  padding-bottom: 46px;
}

.section.blue {
  background:
    linear-gradient(135deg, var(--blue-deep), var(--blue) 58%, #2a98c8);
  color: var(--white);
}

.section.white {
  background: rgba(255, 255, 255, .82);
}

.section.mist {
  background: linear-gradient(180deg, var(--mist), var(--cream));
}

.section.programs-intro {
  padding-bottom: 40;
}

.section.programs-content {
  padding-top: 40px;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 79px);
  padding: 78px 22px 56px;
  display: grid;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(255, 248, 240, .98), rgba(255, 248, 240, .9) 45%, rgba(255, 248, 240, .28)),
    url("Pictures/float.jpg") center right / cover no-repeat;
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.hero-copy {
  max-width: 680px;
}

.hero-brand-card {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-logo {
  width: min(260px, 100%);
  filter: drop-shadow(0 16px 24px rgba(16, 42, 67, .12));
}

.hero-secondary {
  width: 86px;
  opacity: .86;
}

.hero-stat {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  background: rgba(30, 91, 184, .08);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pink);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 23px;
  background: url("tadpole2.png") center / contain no-repeat;
  opacity: .9;
  flex: 0 0 auto;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.00rem, 4.8vw, 2.35rem);
  max-width: 860px;
}

h2 {
  font-size: clamp(1.60rem, 3.6vw, 2.25rem);
}

h3 {
  font-size: 1.00rem;
}

.lead {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  max-width: 780px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.program-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.program-videos video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(16, 42, 67, .1);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--pink), var(--yellow));
  opacity: 0;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card:hover::before,
.card.accent::before {
  opacity: 1;
}

.card.accent {
  border-top: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244, 196, 48, .3), rgba(231, 84, 128, .12));
  color: var(--navy);
  font-weight: 900;
  font-size: .84rem;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.program-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.split {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 52px;
  align-items: center;
}

.feature-list {
  padding-left: 1.2rem;
}

.feature-list li {
  margin: 8px 0;
}

.answer-box {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(30, 91, 184, .16);
  border-left: 5px solid var(--blue);
  padding: 20px 22px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.answer-box::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 58px;
  height: 48px;
  background: url("tadpole2.png") center / contain no-repeat;
  opacity: .15;
}

.form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  color: var(--navy);
}

label:has(input[type="checkbox"]) {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 14px;
  border-radius: 8px;
  background: rgba(30, 91, 184, .06);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16, 42, 67, .2);
  border-radius: 6px;
  padding: 11px 13px;
  font: inherit;
  background: rgba(255, 255, 255, .94);
  color: var(--charcoal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(231, 84, 128, .18);
  border-color: var(--pink);
}

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

.note {
  font-size: .95rem;
  color: #566579;
}

.faq details {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

.faq details+details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--navy);
}

.site-footer {
  position: relative;
  background:
    linear-gradient(135deg, #0b2238, var(--navy) 62%, #143f6f);
  color: var(--white);
  padding: 58px 22px 46px;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: 6vw;
  bottom: 22px;
  width: 160px;
  height: 130px;
  background: url("tadpole2.png") center / contain no-repeat;
  opacity: .12;
}

.site-footer a {
  color: var(--white);
}

.site-footer .brand {
  color: var(--white);
  align-items: flex-start;
}

.site-footer .brand-logo {
  background: rgba(255, 255, 255, .9);
}

.footer-grid {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links strong {
  color: var(--yellow);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .9rem;
  color: rgba(255, 255, 255, .78);
}

.admin-shell {
  display: grid;
  grid-template-columns: 175px 1fr;
  min-height: calc(100vh - 79px);
}

.admin-side {
  background: var(--navy);
  color: var(--white);
  padding: 28px 20px;
}

.admin-side a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
}

.admin-side .bookings-link,
.admin-side .bookings-link:visited,
.admin-side .bookings-link:hover,
.admin-side .bookings-link:focus {
  color: var(--white);
}

.admin-main {
  padding: 30px;
}

.admin-controls {
  margin-bottom: 28px;
}

.admin-actions {
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 30px;
}

.admin-actions.compact {
  align-items: center;
  flex-wrap: wrap;
  padding-top: 0;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.admin-header-row.tight {
  align-items: center;
  margin: 22px 0 12px;
}

.admin-data-section+.admin-data-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.admin-data-section h3 {
  margin: 0 0 6px;
}

[hidden] {
  display: none !important;
}

a[aria-disabled="true"] {
  opacity: .48;
  pointer-events: none;
}

button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: .5;
  transform: none;
  box-shadow: none;
}

.table-wrap span {
  color: #667085;
  font-size: .9rem;
}

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

table {
  border-collapse: collapse;
  width: 100%;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--mist);
  color: var(--navy);
}

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

  .hero-brand-card {
    max-width: 390px;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 82px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, .96);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: auto;
    padding-top: 48px;
    background-position: 58% center;
  }

  .grid.two,
  .grid.three,
  .program-videos,
  .split,
  .footer-grid,
  .admin-shell {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 62px 18px;
  }

  .section:first-child:not(.hero)::after {
    width: 76px;
    height: 62px;
    top: 24px;
    right: 20px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    padding: 8px 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .admin-header-row,
  .admin-actions {
    display: grid;
    align-items: stretch;
  }

  .brand-name {
    max-width: 135px;
    font-size: .78rem;
  }

  h1 {
    font-size: 2.32rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .card {
    padding: 20px;
  }

  .hero {
    padding: 34px 14px 34px;
  }

  .hero-brand-card {
    padding: 18px;
  }

  .hero-logo {
    width: 205px;
  }

  .hero-secondary {
    width: 68px;
  }

  .actions .button {
    width: 100%;
  }

  .site-footer::after {
    width: 110px;
    height: 90px;
  }
}
