:root {
  --gbf-navy: #061923;
  --gbf-deep: #03131b;
  --gbf-text: #0b1f2a;
  --gbf-muted: #4b6570;
  --gbf-soft: #f3f9fb;
  --gbf-blue: #0ba7d3;
  --gbf-blue-dark: #078db4;
  --gbf-pale: #d9f3fb;
  --gbf-white: #ffffff;
  --gbf-radius: 24px;
  --gbf-shadow: 0 20px 60px rgba(3, 25, 38, .08);
  --gbf-border: 1px solid rgba(9, 45, 62, .08);
  --gbf-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gbf-text);
  background: var(--gbf-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.gbf-site { overflow-x: hidden; }
.gbf-container { width: min(100% - 40px, var(--gbf-max)); margin: 0 auto; }
.gbf-narrow { width: min(100% - 40px, 880px); margin: 0 auto; }

.gbf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(9,45,62,.08);
}
.gbf-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.gbf-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: -.04em; }
.gbf-brand img { width: 52px; height: auto; display: block; }
.gbf-brand span { font-size: 20px; color: var(--gbf-text); white-space: nowrap; }
.gbf-nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; }
.gbf-nav a { text-decoration: none; padding: 10px 13px; border-radius: 999px; color: var(--gbf-text); font-size: 15px; font-weight: 800; display: block; }
.gbf-nav a:hover { background: var(--gbf-soft); color: var(--gbf-blue-dark); }
.gbf-nav .menu-item:last-child a { background: var(--gbf-blue); color: white; }
.gbf-nav .menu-item:last-child a:hover { background: var(--gbf-blue-dark); color: white; }
.gbf-menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.gbf-menu-button { display: none; align-items: center; gap: 10px; border: 1px solid rgba(9,45,62,.12); background: #fff; padding: 10px 14px; border-radius: 999px; font-weight: 900; cursor: pointer; box-shadow: 0 10px 30px rgba(3,25,38,.06); }
.gbf-menu-lines { display: grid; gap: 4px; }
.gbf-menu-lines span { width: 18px; height: 2px; border-radius: 999px; background: var(--gbf-text); display: block; }
.gbf-menu-text { font-size: 14px; color: var(--gbf-text); }

.gbf-section { padding: 88px 0; }
.gbf-section-soft { background: var(--gbf-soft); }
.gbf-section-dark { background: var(--gbf-navy); color: white; }
.gbf-heading { max-width: 800px; margin-bottom: 42px; }
.gbf-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.gbf-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 900; color: var(--gbf-blue); margin-bottom: 16px; }
.gbf-section-dark .gbf-kicker { color: #8fd8f2; }
.gbf-heading h1, .gbf-heading h2, .gbf-page-title h1 { margin: 0 0 16px; color: inherit; line-height: 1.05; letter-spacing: -.05em; }
.gbf-heading h1 { font-size: clamp(44px, 7vw, 84px); }
.gbf-heading h2, .gbf-page-title h1 { font-size: clamp(34px, 4.5vw, 58px); }
.gbf-heading p, .gbf-lead { font-size: clamp(18px, 2vw, 22px); color: var(--gbf-muted); margin: 0; }
.gbf-section-dark .gbf-heading p, .gbf-section-dark .gbf-lead { color: #cbe5ee; }

.gbf-hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  color: white;
  background: linear-gradient(120deg, rgba(2,18,28,.88), rgba(2,18,28,.58)), var(--hero-image, url('https://gobeyondfreedivingtt.com/wp-content/uploads/2025/08/pexels-eliannedipp-4666754.jpg')) center/cover no-repeat;
  padding: 108px 0;
}
.gbf-hero .gbf-heading { max-width: 940px; margin-bottom: 0; }
.gbf-hero h1 { color: white; }
.gbf-hero p { color: #e8f7fb; max-width: 820px; margin-bottom: 32px; }
.gbf-hero-logo { width: 200px; filter: brightness(0) invert(1); margin-bottom: 36px; display: block; }
.gbf-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.gbf-button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  line-height: 1;
  transition: .22s ease;
  border: 1px solid transparent;
}
.gbf-button-primary { background: var(--gbf-blue); color: white; }
.gbf-button-primary:hover { background: var(--gbf-blue-dark); color: white; transform: translateY(-1px); }
.gbf-button-secondary { background: transparent; border-color: rgba(255,255,255,.68); color: white; }
.gbf-button-secondary:hover { background: white; color: var(--gbf-text); }
.gbf-button-dark { background: var(--gbf-text); color: white; }
.gbf-button-dark:hover { background: var(--gbf-deep); color: white; }

.gbf-grid { display: grid; gap: 22px; }
.gbf-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.gbf-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.gbf-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.gbf-card {
  background: white;
  border: var(--gbf-border);
  border-radius: var(--gbf-radius);
  padding: 30px;
  box-shadow: var(--gbf-shadow);
}
.gbf-card h2, .gbf-card h3 { margin: 0 0 12px; line-height: 1.18; letter-spacing: -.03em; color: inherit; }
.gbf-card h3 { font-size: 24px; }
.gbf-card p { color: var(--gbf-muted); margin: 0 0 20px; }
.gbf-card p:last-child { margin-bottom: 0; }
.gbf-card-link { color: var(--gbf-blue-dark); text-decoration: none; font-weight: 900; display: inline-block; margin-top: 10px; }
.gbf-section-dark .gbf-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); box-shadow: none; }
.gbf-section-dark .gbf-card p { color: #cbe5ee; }

.gbf-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.gbf-image-box {
  min-height: 520px;
  border-radius: 34px;
  background: linear-gradient(rgba(3,32,48,.12), rgba(3,32,48,.12)), var(--image) center/cover no-repeat;
  box-shadow: var(--gbf-shadow);
}
.gbf-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.gbf-list li, .gbf-list-item { background: rgba(11,167,211,.08); border: 1px solid rgba(11,167,211,.16); border-radius: 16px; padding: 14px 18px; font-weight: 800; color: var(--gbf-text); }
.gbf-section-dark .gbf-list li { color: white; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.13); }
.gbf-role { color: var(--gbf-blue-dark); font-weight: 900; display: block; margin: 0 0 14px; }
.gbf-stat { font-size: 44px; line-height: 1; font-weight: 900; letter-spacing: -.05em; color: var(--gbf-blue-dark); margin-bottom: 8px; }
.gbf-course-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.gbf-pill { display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 999px; background: var(--gbf-soft); color: var(--gbf-text); font-weight: 800; font-size: 14px; }
.gbf-section-dark .gbf-pill { background: rgba(255,255,255,.1); color: white; }

.gbf-price-tag { display: inline-flex; align-items: center; margin: 2px 0 12px; padding: 8px 12px; border-radius: 999px; background: rgba(11,167,211,.1); color: var(--gbf-blue-dark); font-size: 14px; font-weight: 900; }
.gbf-price-card span { display: block; font-weight: 900; color: var(--gbf-text); margin-bottom: 8px; }
.gbf-price-card strong { display: block; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.05em; color: var(--gbf-blue-dark); margin-bottom: 14px; }
.gbf-price-card p { margin-bottom: 0; }
.gbf-main-price { align-self: stretch; }
.gbf-small-note { margin-top: 20px; color: var(--gbf-muted); font-size: 15px; }
.gbf-highlight-card { background: var(--gbf-soft); }
.gbf-course-top { margin: 28px 0; }

.gbf-camp-section { background: linear-gradient(180deg, #ffffff 0%, #f3f9fb 100%); }
.gbf-event-date { display: inline-flex; align-items: center; padding: 10px 15px; border-radius: 999px; background: var(--gbf-blue); color: white; font-weight: 900; margin-bottom: 22px; }
.gbf-event-mini { margin-top: 10px; }
.gbf-event-mini .gbf-card { padding: 22px; }
.gbf-event-mini h3 { color: var(--gbf-blue-dark); }
.gbf-camp-poster-wrap { border-radius: 30px; overflow: hidden; box-shadow: var(--gbf-shadow); background: #fff; border: var(--gbf-border); }
.gbf-camp-poster { display: block; width: 100%; height: auto; }
.gbf-article-poster { margin: 24px 0 32px; }

.gbf-page-title { padding: 70px 0 36px; }
.gbf-page-title p { color: var(--gbf-muted); max-width: 760px; font-size: 20px; margin: 0; }
.gbf-content { padding-bottom: 80px; }
.gbf-content > *:first-child { margin-top: 0; }
.gbf-content h2 { margin-top: 36px; line-height: 1.1; letter-spacing: -.04em; }
.gbf-content p { color: var(--gbf-muted); }
.gbf-article { max-width: 980px; margin: 0 auto; }
.gbf-article .gbf-grid { margin: 28px 0; }
.gbf-cta {
  text-align: center;
  color: white;
  background: linear-gradient(120deg, rgba(2,18,28,.86), rgba(2,18,28,.70)), var(--cta-image, url('https://gobeyondfreedivingtt.com/wp-content/uploads/2025/08/castara-bay-from-castara.jpg')) center/cover no-repeat;
}
.gbf-cta h2 { font-size: clamp(36px,5vw,64px); margin: 0 0 16px; color: white; line-height: 1.06; letter-spacing: -.05em; }
.gbf-cta p { max-width: 720px; margin: 0 auto 30px; color: #e8f7fb; font-size: 19px; }

.gbf-faq { display: grid; gap: 14px; }
.gbf-faq details { background: white; border: var(--gbf-border); border-radius: 18px; padding: 22px 24px; box-shadow: 0 10px 40px rgba(3,25,38,.04); }
.gbf-faq summary { cursor: pointer; font-weight: 900; font-size: 20px; color: var(--gbf-text); }
.gbf-faq p { color: var(--gbf-muted); margin: 12px 0 0; }

.gbf-footer { background: var(--gbf-deep); color: white; padding: 54px 0; }
.gbf-footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 36px; }
.gbf-footer h3 { color: white; margin: 0 0 12px; }
.gbf-footer p, .gbf-footer a { color: #cbe5ee; text-decoration: none; display: block; margin: 0 0 8px; }
.gbf-footer a:hover { color: white; }
.gbf-footer-logo { width: 92px; filter: brightness(0) invert(1); margin-bottom: 18px; }

@media (max-width: 1080px) {
  .gbf-nav a { padding: 9px 10px; font-size: 14px; }
  .gbf-brand span { font-size: 18px; }
}

@media (max-width: 980px) {
  .gbf-header-inner { min-height: 72px; padding: 12px 0; gap: 12px; }
  .gbf-brand img { width: 46px; }
  .gbf-brand span { font-size: 18px; }
  .gbf-menu-button { display: inline-flex; }
  .gbf-nav { display: none; width: 100%; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid rgba(9,45,62,.08); border-radius: 22px; box-shadow: 0 20px 60px rgba(3,25,38,.12); padding: 12px; }
  .gbf-menu-toggle:checked ~ .gbf-nav { display: block; }
  .gbf-nav ul { display: grid; grid-template-columns: 1fr; gap: 6px; }
  .gbf-nav a { font-size: 16px; padding: 14px 16px; border-radius: 14px; }
  .gbf-nav .menu-item:last-child a { text-align: center; border-radius: 16px; margin-top: 4px; }
  .gbf-grid-2, .gbf-grid-3, .gbf-grid-4, .gbf-split, .gbf-footer-grid { grid-template-columns: 1fr; }
  .gbf-split-reverse-mobile .gbf-camp-poster-wrap { order: -1; }
  .gbf-hero { min-height: auto; padding: 76px 0; }
  .gbf-section { padding: 62px 0; }
  .gbf-image-box { min-height: 360px; }
}

@media (max-width: 560px) {
  .gbf-container, .gbf-narrow { width: min(100% - 28px, var(--gbf-max)); }
  .gbf-brand span { font-size: 17px; }
  .gbf-card { padding: 24px; }
  .gbf-hero-logo { width: 150px; }
  .gbf-hero { padding: 64px 0; }
  .gbf-heading h1 { font-size: clamp(40px, 12vw, 58px); }
  .gbf-heading h2, .gbf-page-title h1 { font-size: clamp(32px, 10vw, 46px); }
  .gbf-buttons { width: 100%; }
  .gbf-buttons .gbf-button { width: 100%; }
  .gbf-price-card strong { font-size: 38px; }
}

/* V1.2 cleanup updates */
.gbf-nav a.gbf-nav-cta { background: var(--gbf-blue); color: #fff; }
.gbf-nav a.gbf-nav-cta:hover { background: var(--gbf-blue-dark); color: #fff; }
.gbf-price-tag + .gbf-card-link { display: block; margin-top: 8px; }
.gbf-pricing-strip {
  margin-top: 32px;
  padding: 26px;
  border-radius: 26px;
  background: var(--gbf-white);
  border: var(--gbf-border);
  box-shadow: var(--gbf-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gbf-pricing-strip span { display: block; color: var(--gbf-blue-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin-bottom: 6px; }
.gbf-pricing-strip strong { display: block; font-size: clamp(24px, 3vw, 36px); line-height: 1.08; letter-spacing: -.04em; color: var(--gbf-text); }
.gbf-pricing-strip p { margin: 8px 0 0; color: var(--gbf-muted); }
.gbf-association-section { background: #fff; }
.gbf-ttfa-logo-wrap {
  background: var(--gbf-soft);
  border: var(--gbf-border);
  border-radius: 34px;
  box-shadow: var(--gbf-shadow);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
}
.gbf-ttfa-logo-wrap img { max-width: 320px; width: 100%; height: auto; display: block; }
.gbf-review-card span { display: inline-flex; color: var(--gbf-blue-dark); font-weight: 900; margin-bottom: 10px; }
.gbf-review-card h3 { margin-bottom: 12px; }
.gbf-event-card .gbf-event-date { margin-bottom: 16px; }

@media (max-width: 980px) {
  .gbf-nav a.gbf-nav-cta { text-align: center; border-radius: 16px; margin-top: 4px; }
  .gbf-pricing-strip { align-items: stretch; flex-direction: column; }
  .gbf-pricing-strip .gbf-button { width: 100%; }
  .gbf-ttfa-logo-wrap { min-height: 260px; padding: 32px; }
  .gbf-ttfa-logo-wrap img { max-width: 240px; }
}

/* V1.3 updates */
.gbf-camp-price-summary {
  margin: 12px 0 22px;
  background: #ffffff;
}
.gbf-camp-price-summary p strong {
  color: var(--gbf-text);
}
.gbf-stars {
  display: inline-flex;
  color: #f8b400;
  letter-spacing: 2px;
  font-size: 20px;
  margin-bottom: 12px;
}
.gbf-booking-options {
  margin-top: 22px;
}
.gbf-booking-option {
  display: block;
  text-decoration: none;
  color: var(--gbf-text);
  transition: .22s ease;
}
.gbf-booking-option:hover {
  transform: translateY(-2px);
  border-color: rgba(11,167,211,.28);
}
.gbf-booking-option span {
  color: var(--gbf-blue-dark);
  font-weight: 900;
}
.gbf-success-message {
  border-color: rgba(11,167,211,.25);
  background: #f3f9fb;
}
.gbf-form {
  margin-top: 28px;
  background: #ffffff;
  border: var(--gbf-border);
  border-radius: var(--gbf-radius);
  box-shadow: var(--gbf-shadow);
  padding: 30px;
}
.gbf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gbf-form label {
  display: grid;
  gap: 8px;
  color: var(--gbf-text);
  font-weight: 850;
  margin-bottom: 18px;
}
.gbf-form input,
.gbf-form select,
.gbf-form textarea {
  width: 100%;
  border: 1px solid rgba(9,45,62,.16);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: var(--gbf-text);
  background: #fff;
  outline: none;
}
.gbf-form input:focus,
.gbf-form select:focus,
.gbf-form textarea:focus {
  border-color: var(--gbf-blue);
  box-shadow: 0 0 0 4px rgba(11,167,211,.12);
}
.gbf-form button {
  cursor: pointer;
  border: 0;
}

@media (min-width: 981px) {
  .gbf-team-grid .gbf-card {
    display: flex;
    flex-direction: column;
  }
  .gbf-team-grid .gbf-role {
    min-height: 136px;
  }
}

@media (max-width: 980px) {
  .gbf-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
