/*
Theme Name: Blekitny Nur 2026
Theme URI: https://www.blekitnynur.pl/
Author: Codex
Description: Lekki motyw dla Akademii Nurkowania Blekitny Nur.
Version: 1.0.5
Text Domain: blekitny-nur
*/

:root {
  --ink: #102235;
  --muted: #435467;
  --blue: #2f80ed;
  --mint: #63d7c7;
  --deep: #001b24;
  --deep-2: #132f3f;
  --aqua: #d9f3ff;
  --aqua-2: #9cc8d8;
  --card: #ffffff;
  --shadow: 0 18px 36px rgba(14, 42, 58, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 96px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16, 34, 53, .06);
}
.nav {
  width: min(1080px, calc(100% - 28px));
  height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: start;
  gap: 16px;
}
.menu {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-left { justify-content: flex-end; }
.menu-right { justify-content: flex-start; }
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #00182b;
  font-size: 16px;
  font-weight: 650;
}
.menu a:hover { color: var(--blue); }
.nav-extra {
  width: min(1080px, calc(100% - 28px));
  margin: -10px auto 8px;
  text-align: center;
}
.nav-extra a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #e8f6fb;
  color: #0b4968;
  font-size: 15px;
  font-weight: 800;
}
.nav-extra a:hover { color: var(--blue); }
.brand {
  position: relative;
  z-index: 2;
  width: 220px;
  min-height: 140px;
  display: inline-grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  justify-items: start;
  gap: 8px;
  padding-top: 0;
  text-align: left;
}
.brand img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.2));
}
.brand span {
  display: block;
  max-width: 92px;
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  color: #0b3047;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(16, 34, 53, .12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(47, 128, 237, .26);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(47, 128, 237, .33); }
.light-btn { background: #fff; color: #17324a; box-shadow: 0 14px 28px rgba(0,0,0,.18); }
.muted-btn { background: #477f9a; box-shadow: 0 14px 28px rgba(35, 82, 105, .26); }
.ghost-btn {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
}

.hero {
  position: relative;
  min-height: 704px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 10% 18%, rgba(72, 172, 205, .22), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(61, 145, 180, .22), transparent 20%),
    linear-gradient(135deg, #001018 0%, #001b24 52%, #073041 100%);
}
.sub-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 94px 0 120px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(72, 172, 205, .22), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(61, 145, 180, .22), transparent 20%),
    linear-gradient(135deg, #001018 0%, #001b24 52%, #073041 100%);
}
.course-hero,
.equipment-hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: grid;
  align-items: center;
  padding: 116px 0 132px;
  background: #00080d;
  color: #fff;
  text-align: center;
}
.course-hero .wrap, .equipment-hero .wrap { position: relative; z-index: 1; }
.equipment-hero h1,
.course-hero h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 82px);
  font-weight: 950;
}
.course-hero p:not(.eyebrow),
.equipment-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px auto 0;
  color: #c7d7ff;
  font-size: 24px;
  line-height: 1.35;
}
.course-hero .eyebrow, .equipment-hero .eyebrow { color: var(--mint); }
.about-hero { padding-bottom: 150px; }
.gallery-hero { padding-bottom: 150px; }
.events-hero { padding-bottom: 150px; }
.contact-hero { padding-bottom: 150px; }
.blog-hero { padding-bottom: 150px; }
.faq-hero { padding-bottom: 150px; }
.sub-hero .wrap { position: relative; z-index: 1; }
.sub-hero h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(46px, 6vw, 76px);
}
.sub-hero p {
  max-width: 720px;
  margin: 20px auto 0;
  color: rgba(255,255,255,.9);
  font-size: 23px;
  line-height: 1.35;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 12%, rgba(59, 113, 132, .46) 0 8%, transparent 17%),
    radial-gradient(ellipse at 28% 18%, rgba(42, 89, 108, .54) 0 7%, transparent 16%),
    radial-gradient(ellipse at 62% 72%, rgba(39, 96, 115, .42) 0 13%, transparent 24%),
    radial-gradient(ellipse at 85% 22%, rgba(52, 118, 138, .44) 0 9%, transparent 18%),
    radial-gradient(circle at 35% 20%, rgba(101, 169, 190, .20) 0 4px, transparent 5px),
    radial-gradient(circle at 72% 28%, rgba(101, 169, 190, .18) 0 5px, transparent 6px);
  background-size: auto, auto, auto, auto, 76px 76px, 96px 96px;
  opacity: .95;
}
.hero-water { position: absolute; inset: 0; overflow: hidden; opacity: .58; }
.bubble {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.55), rgba(100,220,255,.16));
}
.bubble-1{left:5%;top:10%}.bubble-2{left:9%;top:23%;width:24px;height:24px}.bubble-3{left:14%;top:68%}.bubble-4{left:19%;top:18%;width:10px;height:10px}.bubble-5{left:23%;top:42%}.bubble-6{left:28%;top:12%;width:28px;height:28px}.bubble-7{left:33%;top:73%}.bubble-8{left:38%;top:28%;width:12px;height:12px}.bubble-9{left:43%;top:58%;width:24px;height:24px}.bubble-10{left:48%;top:15%}.bubble-11{left:53%;top:36%;width:10px;height:10px}.bubble-12{left:58%;top:66%}.bubble-13{left:63%;top:21%;width:25px;height:25px}.bubble-14{left:68%;top:49%}.bubble-15{left:73%;top:14%;width:12px;height:12px}.bubble-16{left:78%;top:64%;width:26px;height:26px}.bubble-17{left:83%;top:31%}.bubble-18{left:88%;top:18%;width:22px;height:22px}.bubble-19{left:93%;top:72%}.bubble-20{left:97%;top:42%;width:11px;height:11px}.bubble-21{left:7%;top:54%}.bubble-22{left:16%;top:34%;width:13px;height:13px}.bubble-23{left:25%;top:79%}.bubble-24{left:35%;top:7%;width:18px;height:18px}.bubble-25{left:46%;top:82%}.bubble-26{left:57%;top:9%;width:12px;height:12px}.bubble-27{left:70%;top:78%}.bubble-28{left:81%;top:7%;width:18px;height:18px}.bubble-29{left:91%;top:55%}.bubble-30{left:3%;top:81%;width:20px;height:20px}.bubble-31{left:12%;top:8%}.bubble-32{left:31%;top:49%;width:13px;height:13px}.bubble-33{left:51%;top:52%}.bubble-34{left:61%;top:37%;width:16px;height:16px}.bubble-35{left:74%;top:42%}.bubble-36{left:86%;top:83%;width:15px;height:15px}.bubble-37{left:96%;top:11%}.bubble-38{left:40%;top:8%;width:10px;height:10px}.bubble-39{left:67%;top:10%}.bubble-40{left:55%;top:80%;width:11px;height:11px}.bubble-41{left:20%;top:83%}.bubble-42{left:83%;top:51%;width:10px;height:10px}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 148px;
  text-align: center;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; }
h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 950;
  text-shadow: 0 4px 14px rgba(0,0,0,.24);
}
.lead {
  max-width: 620px;
  margin: 26px auto 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  text-shadow: 0 3px 12px rgba(0,0,0,.3);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}
.wave, .wave-top, .wave-bottom {
  position: absolute;
  left: -5%;
  right: -5%;
  height: 96px;
  pointer-events: none;
}
.wave { bottom: -1px; border-radius: 50% 50% 0 0 / 45% 45% 0 0; }
.wave-one { bottom: 36px; background: rgba(70,135,157,.35); transform: rotate(-1deg); }
.wave-two { background: var(--aqua); transform: rotate(1deg); }

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.band { padding: 76px 0; position: relative; }
.intro-band { background: var(--aqua); padding-top: 68px; }
.seo-band {
  padding: 54px 0;
  background: #fff;
}
.seo-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
}
.seo-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 950;
}
.seo-grid p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}
.seo-grid a {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 42px; }
.section-head.centered { display: block; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .why-events > .wrap > h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 950;
}
.section-head p {
  max-width: 700px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}
.section-head.light h2, .section-head.light p { color: #fff; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.service-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.image-wrap { display: block; overflow: hidden; aspect-ratio: 1.18 / .66; }
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.74);
  transition: transform .5s ease;
}
.service-card:hover img { transform: scale(1.05); }
.service-body {
  display: block;
  min-height: 214px;
  padding: 26px 28px 30px;
  text-align: center;
}
.service-body h3 { margin: 0 0 14px; font-size: 25px; font-weight: 950; }
.service-body p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.service-body strong { display: inline-block; margin-top: 22px; color: #2c6ca3; font-size: 16px; }

.service-feature {
  position: relative;
  overflow: hidden;
  background: var(--aqua-2);
  padding: 132px 0 150px;
}
.service-feature .wave-top {
  top: -48px;
  background: var(--aqua);
  border-radius: 0 0 50% 50% / 0 0 45% 45%;
  transform: rotate(1.5deg);
}
.service-feature .wave-bottom {
  bottom: -44px;
  background: #4f87a0;
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  transform: rotate(-1deg);
}
.feature-row {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 62px;
  align-items: center;
}
.feature-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 950;
}
.feature-copy p:not(.eyebrow) {
  max-width: 500px;
  margin: 0 0 30px;
  color: #1f394b;
  font-size: 20px;
}
.feature-photo {
  position: relative;
  overflow: hidden;
  border: 10px solid rgba(255,255,255,.42);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.feature-photo img { width: 100%; aspect-ratio: 1.65 / 1; object-fit: cover; }
.feature-photo span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 18px;
  border-radius: 8px;
  background: rgba(18, 34, 46, .78);
  color: #fff;
  font-weight: 800;
}

.why-events {
  position: relative;
  overflow: hidden;
  background: #326d87;
  padding: 96px 0 110px;
  color: #fff;
}
.why-events::before, .why-events::after, .faq::before, .cta-band::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  height: 90px;
  background: rgba(8, 45, 62, .42);
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  pointer-events: none;
}
.why-events::before { top: -45px; transform: rotate(1.2deg); }
.why-events::after { bottom: -48px; transform: rotate(-1.2deg); background: #142f3f; }
.why-events h2 {
  color: #fff;
  text-align: center;
}
.why-events > .wrap > h2,
.why-events .section-head h2,
.why-events .section-head p {
  color: #fff;
}
.why-events .section-head p {
  opacity: .82;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 46px;
}
.reason-grid article {
  min-height: 206px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.1);
}
.reason-grid p { margin: 0 0 24px; color: rgba(255,255,255,.88); font-size: 18px; font-style: italic; }
.reason-grid h3 { margin: 0 0 4px; color: #fff; font-size: 20px; }
.reason-grid span { color: #89b7ff; }
.events-head { margin-top: 92px; }
.events-page {
  background: var(--aqua);
  color: var(--ink);
}
.events-page::before,
.events-page::after { display: none; }
.events-page .events-page-head {
  display: block;
  margin-bottom: 42px;
}
.events-page .events-page-head h2 {
  color: var(--ink);
  text-align: left;
}
.events-page .events-page-head p {
  margin: 10px 0 0;
  color: var(--muted);
  opacity: 1;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #000d19;
  box-shadow: 0 20px 38px rgba(0,0,0,.2);
}
.event-card img { width: 100%; aspect-ratio: 1.42 / .7; object-fit: cover; filter: brightness(.72); }
.event-status {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.event-status.future { background: var(--mint); color: #0d3940; }
.event-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
}
.event-body time {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 10px;
  background: var(--mint);
  color: #fff;
  text-transform: uppercase;
}
.event-body time strong { display: block; font-size: 26px; line-height: 1; }
.event-body time span { display: block; font-size: 12px; font-weight: 900; }
.event-body small { color: #9ed0dc; }
.event-body h3 { margin: 8px 0 10px; color: #fff; font-size: 20px; }
.event-body p { margin: 0 0 16px; color: #a9c3d2; font-size: 16px; }
.event-body a { color: var(--mint); font-weight: 900; }
.event-card { cursor: pointer; }
.event-more-text {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #d5eaf0;
}
.event-card.is-open .event-more-text { display: block; }
.event-card-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 2px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--mint);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}
.event-card-toggle:hover { background: rgba(255,255,255,.12); }
.events-link { margin: 34px 0 0; text-align: center; }
.events-link a,
.events-more-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}
.events-more-button:hover { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(255,255,255,.12); }
.is-extra-event { display: none; }
.is-extra-event.is-visible { display: block; }

.blog-band {
  position: relative;
  background: #18384a;
  padding: 88px 0 96px;
  color: #fff;
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.post-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 13px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 18px 34px rgba(0,0,0,.16);
}
.post-card time { color: #9ed0dc; font-size: 14px; font-weight: 800; }
.post-card h3 { margin: 12px 0; color: #fff; font-size: 23px; font-weight: 950; }
.post-card p { margin: 0; color: rgba(255,255,255,.76); font-size: 17px; }

.faq {
  position: relative;
  overflow: hidden;
  background: #142f3f;
  padding: 116px 0 120px;
  color: #fff;
}
.faq .wave-top {
  top: -48px;
  background: #326d87;
  border-radius: 0 0 50% 50% / 0 0 45% 45%;
  transform: rotate(1deg);
}
.faq .wave-bottom {
  bottom: -48px;
  background: #061a25;
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  transform: rotate(-1deg);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
}
.faq details + details { margin-top: 14px; }
.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: #b8d0dc;
  font-size: 17px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,16,24,.88), rgba(0,16,24,.94)),
    url("https://blekitnynur.s3.eu-central-1.amazonaws.com/uploads/efd25edb-a605-43f5-80b3-b939642f1cb6.png") center/cover;
  padding: 92px 0 70px;
  color: #fff;
}
.cta-band::before { top: -48px; background: #142f3f; transform: rotate(1deg); }
.cta { text-align: center; }
.cta h2 {
  max-width: 920px;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 950;
}
.cta p { margin: 0 auto 30px; max-width: 760px; color: #9bbcff; font-size: 20px; }

.site-footer {
  background:
    linear-gradient(rgba(0,13,20,.86), rgba(0,13,20,.9)),
    url("https://blekitnynur.s3.eu-central-1.amazonaws.com/uploads/efd25edb-a605-43f5-80b3-b939642f1cb6.png") center/cover;
  color: #dbeaf1;
  padding: 54px 0 62px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}
.footer-grid nav, .footer-contact {
  display: grid;
  gap: 8px;
}
.footer-contact { text-align: right; justify-items: end; }
.footer-label {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer a { color: #fff; }
.footer-brand { text-align: center; }
.footer-brand img { width: 120px; height: 120px; margin: 0 auto 12px; object-fit: contain; }
.footer-brand h2 { margin: 0 0 6px; color: #fff; font-size: 22px; }
.footer-brand p { margin: 0 0 14px; color: var(--mint); }
.footer-brand span, .footer-contact span { color: #9bbcff; }
.mobile-call-cta {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 42, 76, .28);
}
.mobile-call-cta span { font-weight: 750; }
.mobile-call-cta strong { font-size: 18px; }

.content {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}
.content h1 { color: var(--ink); font-size: clamp(36px, 5vw, 58px); }
.content a { color: var(--blue); text-decoration: underline; }
.page-hero { background: var(--aqua); padding: 90px 0 46px; text-align: center; }
.page-hero h1 { max-width: 860px; margin: 0 auto; color: var(--ink); font-size: clamp(42px, 6vw, 68px); }
.page-hero p { max-width: 680px; margin: 18px auto 0; color: var(--muted); font-size: 20px; }
.page-faq { padding-top: 36px; }

.course-list {
  display: grid;
  gap: 28px;
}
.course-catalog { padding-top: 78px; }
.course-intro { max-width: 920px; margin-bottom: 38px; }
.course-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 950;
}
.course-intro p {
  max-width: 880px;
  margin: 0;
  color: #294154;
  font-size: 20px;
}
.course-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.course-card {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #000d19;
  box-shadow: 0 22px 42px rgba(14, 42, 58, .2);
  cursor: pointer;
}
.course-card img {
  width: 100%;
  aspect-ratio: 1.45 / .75;
  object-fit: cover;
  filter: brightness(.72);
}
.course-card .course-level {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: #113241;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.course-card div { padding: 24px; }
.course-card small { display: block; color: var(--mint); font-size: 14px; }
.course-card h3 { margin: 8px 0 12px; color: #fff; font-size: 25px; font-weight: 950; }
.course-card p { margin: 0; color: #b5c6d4; font-size: 17px; }
.course-card a { display: inline-block; margin-top: 22px; color: var(--mint); font-weight: 900; }
.course-more-text {
  display: none;
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #d7e6ee !important;
}
.course-card.is-open .course-more-text { display: block; }
.course-card-toggle,
.instructor-card-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid rgba(99, 215, 199, .55);
  border-radius: 999px;
  background: transparent;
  color: var(--mint);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.course-details { padding-top: 0; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.detail-grid article {
  padding: 30px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.detail-grid h2 { margin: 0 0 14px; font-size: 28px; font-weight: 950; }
.detail-grid h3 { margin: 24px 0 10px; font-size: 19px; }
.detail-grid p, .detail-grid li { color: var(--muted); font-size: 17px; }
.detail-grid ul { margin: 0; padding-left: 20px; }
.equipment-intro {
  padding: 78px 0 86px;
  background: var(--aqua);
}
.equipment-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}
.equipment-head h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 950;
}
.equipment-head p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}
.equipment-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.equipment-card {
  min-height: 270px;
  padding: 34px 30px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.equipment-card span {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #d8f8f2;
  color: #1a6c75;
  font-weight: 950;
}
.equipment-card h3 { margin: 0 0 14px; font-size: 25px; font-weight: 950; }
.equipment-card p { margin: 0; color: var(--muted); font-size: 17px; }
.equipment-section {
  padding: 88px 0;
  background: #fff;
}
.equipment-section.light { background: #f4fbff; }
.equipment-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: center;
}
.equipment-split.reverse { grid-template-columns: 1.05fr .95fr; }
.equipment-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 950;
}
.equipment-copy p:not(.eyebrow) {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 20px;
}
.equipment-photo {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.equipment-photo img {
  width: 100%;
  aspect-ratio: 1.45 / .9;
  object-fit: cover;
}
.course-list article {
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.course-list img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: brightness(.86);
}
.course-list article div { padding: 32px; }
.course-list h2 { margin: 0 0 12px; font-size: 34px; font-weight: 950; }
.course-list p { margin: 0 0 18px; color: var(--muted); font-size: 19px; }
.course-list strong { color: var(--blue); font-size: 24px; font-weight: 950; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.info-grid article {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}
.info-grid h2 { margin: 0 0 14px; color: #fff; font-size: 26px; }
.info-grid p { margin: 0; color: rgba(255,255,255,.8); font-size: 18px; }
.simple-dark { padding-top: 92px; padding-bottom: 92px; }
.sub-feature { padding-top: 86px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.about-intro {
  position: relative;
  padding: 88px 0 100px;
  background: var(--aqua);
}
.about-intro .feature-copy h2 {
  font-size: clamp(32px, 4vw, 46px);
}
.about-intro .feature-copy p {
  max-width: 560px;
  margin-bottom: 18px;
  color: #294154;
  font-size: 18px;
}
.about-intro .feature-photo img { aspect-ratio: 1.35 / 1; object-fit: cover; }
.about-story {
  padding: 86px 0;
  background: #fff;
  text-align: center;
}
.about-story .wrap { max-width: 880px; }
.about-story h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 950;
}
.about-story p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}
.instructor-grid article {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 18px 34px rgba(0,0,0,.16);
  cursor: pointer;
}
.instructor-grid img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  filter: brightness(.86);
}
.instructor-grid h3 { margin: 24px 24px 8px; color: #fff; font-size: 30px; }
.instructor-grid p { margin: 0 24px 26px; color: rgba(255,255,255,.8); font-size: 18px; }
.instructor-more-text {
  display: none;
  margin-top: -8px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.instructor-grid article.is-open .instructor-more-text { display: block; }
.instructor-card-toggle { margin: 0 24px 26px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.gallery-page { padding-top: 72px; }
.gallery-grid a {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #fff;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); }

.contact-page { padding-top: 78px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}
.contact-grid h2 { margin: 0 0 24px; font-size: 30px; font-weight: 950; }
.contact-box,
.contact-form-card {
  padding: 28px;
  border: 1px solid rgba(16, 34, 53, .08);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.contact-box + .contact-box,
.contact-map { margin-top: 20px; }
.contact-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}
.contact-box p {
  margin: 0 0 12px;
  color: #22394a;
  font-size: 18px;
}
.contact-box p:last-child { margin-bottom: 0; }
.contact-box a { color: #17324a; font-weight: 750; }
.address-box p { padding-left: 28px; }
.contact-map {
  min-height: 220px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #d5e7ee;
}
.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 0;
}
.contact-form-card form { display: grid; gap: 18px; }
.contact-form-card label {
  display: grid;
  gap: 8px;
  color: #294154;
  font-weight: 850;
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 34, 53, .14);
  border-radius: 10px;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  font: inherit;
}
.contact-form-card textarea {
  min-height: 132px;
  resize: vertical;
}
.contact-form-card .btn { width: 100%; }
.sub-events { padding-top: 90px; }
.page-blog { padding-top: 86px; }

@media (max-width: 980px) {
  .site-header { height: auto; }
  .nav {
    height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 10px 0 14px;
  }
  .brand {
    order: -1;
    width: 340px;
    min-height: 96px;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    text-align: left;
  }
  .brand img { width: 96px; height: 96px; }
  .brand span { max-width: 220px; font-size: 12px; }
  .menu {
    width: 100%;
    justify-content: center;
    min-height: 30px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .menu a {
    min-height: 28px;
    font-size: 15px;
  }
  .nav-extra {
    width: min(360px, calc(100% - 28px));
    margin: -4px auto 12px;
    display: flex;
    justify-content: center;
    text-align: center;
  }
  .nav-extra a {
    width: 100%;
    min-height: 36px;
    padding: 7px 16px;
    font-size: 15px;
    font-weight: 850;
  }
  .hero { min-height: 620px; }
  .hero-inner { padding-top: 70px; }
  .section-head, .feature-row, .footer-grid, .equipment-split, .equipment-split.reverse { display: block; }
  .service-grid, .posts, .reason-grid, .events-grid, .info-grid, .instructor-grid, .gallery-grid, .contact-grid, .course-card-grid, .detail-grid, .equipment-card-grid { grid-template-columns: 1fr; }
  .seo-grid { grid-template-columns: 1fr; gap: 22px; }
  .course-list article { grid-template-columns: 1fr; }
  .feature-photo, .equipment-photo { margin-top: 32px; }
  .footer-contact, .footer-grid nav { margin-top: 32px; text-align: center; justify-items: center; }
}

@media (max-width: 640px) {
  .menu a { font-size: 15px; }
  .hero { min-height: 560px; }
  .hero-actions { display: grid; }
  h1 { font-size: 42px; }
  .lead { font-size: 20px; }
  .intro-band, .service-feature, .why-events, .blog-band, .faq, .cta-band, .equipment-intro, .equipment-section, .about-intro, .about-story { padding-top: 62px; padding-bottom: 70px; }
  .seo-band { padding: 42px 0; }
  .mobile-call-cta { display: flex; }
  body { padding-bottom: 78px; }
}
