:root {
  --teal-dark: #0F4F4F;
  --teal-main: #1A6B6B;
  --teal-mid: #2E8B8B;
  --teal-light: #A8D5D5;
  --teal-pale: #E8F5F5;
  --gold: #C4952A;
  --gold-light: #F5E6C8;
  --gold-hover: #AF8321;
  --cream: #FDFAF5;
  --text-dark: #1C1C1C;
  --text-mid: #4A4A4A;
  --text-light: #7A7A7A;
  --border: #E0EDED;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: normal;
  color: var(--teal-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

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

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

/* Typography & Headers */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h1,
.section-header h2 {
  font-size: 40px;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: white;
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: white;
  transform: translateY(-1px);
}

.btn-teal {
  background: var(--teal-main);
  color: white;
}

.btn-teal:hover {
  background: var(--teal-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: white;
  color: var(--teal-dark);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal-main);
  border-color: var(--teal-main);
}

.btn-outline-teal:hover {
  background: var(--teal-main);
  color: white;
}

/* Cards & Containers */
.card {
  background: white;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Nav */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(253, 250, 245, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 24px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-main);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.btn-book {
  background: var(--teal-main);
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  font-weight: 600 !important;
}

.btn-book:hover {
  background: var(--teal-dark);
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--teal-dark);
  line-height: 1;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 80px 24px;
  background-color: var(--teal-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(15, 79, 79, 0.72), rgba(15, 79, 79, 0.85));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 840px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero h1 {
  font-size: 52px;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 24px;
  color: white;
}

.hero p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Banner */
.page-banner {
  background: var(--teal-pale);
  padding: 32px 0 28px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-banner .eyebrow {
  font-size: 11px;
  margin-bottom: 4px;
}

.page-banner h1 {
  font-size: 32px;
  font-style: italic;
  color: var(--teal-dark);
  margin-bottom: 6px;
  line-height: 1.2;
}

.page-banner p {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 80px 0;
}

/* Tighter top padding following page banners so content features prominently on the first fold */
.page-banner + .section {
  padding-top: 36px;
}

.section-alt {
  background: white;
}

/* Info Strip */
.info-strip {
  background: var(--teal-pale);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Scope Box */
.scope-box {
  border: 1px solid var(--teal-light);
  background: white;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 15px;
  color: var(--teal-dark);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 16px;
}

.scope-box-icon {
  font-size: 22px;
  color: var(--teal-main);
  flex-shrink: 0;
}

/* Review / Testimonial Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: white;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #F5A623;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 14px;
}

.review-name {
  font-weight: 700;
  color: var(--teal-dark);
}

.review-source-tag {
  font-size: 12px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Table */
.timetable-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.timetable-table th,
.timetable-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.timetable-table th {
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timetable-table tr:last-child td {
  border-bottom: none;
}

.specialist-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  font-size: 19px;
  color: var(--teal-dark);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-toggle {
  color: var(--teal-main);
  font-size: 22px;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-top: 14px;
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid picture img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid picture img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 79, 79, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.close-lightbox {
  position: absolute;
  top: 24px;
  right: 32px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}

/* Blog / Learn Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card picture img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-category-tag {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--teal-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-main);
  box-shadow: 0 0 0 3px rgba(26, 107, 107, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 3px;
}

/* Map placeholder (Click to load) */
.map-placeholder-box {
  background: var(--teal-pale);
  border: 2px dashed var(--teal-light);
  border-radius: 12px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.map-pin-icon {
  font-size: 40px;
  color: var(--teal-main);
  margin-bottom: 16px;
}

/* Draft banner for review */
.legal-draft-banner {
  background: #FFF3CD;
  color: #856404;
  padding: 14px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #FFEEBA;
}

/* Cookie consent banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px 24px;
  z-index: 999;
  display: none;
}

#cookie-consent-banner.show {
  display: block;
}

.cookie-consent-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-consent-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Footer */
footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

footer h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  color: rgba(255, 255, 255, 0.75);
}

footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-logo {
  max-height: 48px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: white;
  margin-bottom: 16px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .grid-2, .grid-3, .gallery-grid, .blog-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--teal-dark);
    flex-direction: column;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 101;
    padding: 32px;
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger {
    display: block;
    z-index: 102;
  }
  .nav-links a {
    color: white;
    font-size: 20px;
    padding: 12px 0;
  }
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent-actions {
    justify-content: flex-end;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Print Stylesheet for /strong-bones/for-professionals/ */
@media print {
  body {
    background: white !important;
    color: #111 !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }
  #navbar, footer, #cookie-consent-banner, .btn, .no-print {
    display: none !important;
  }
  .container, .container-narrow {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .card, .scope-box {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  h1 {
    font-size: 22pt !important;
    color: #0F4F4F !important;
    margin-bottom: 12pt !important;
  }
  h2 {
    font-size: 16pt !important;
    color: #0F4F4F !important;
    margin-top: 16pt !important;
    margin-bottom: 8pt !important;
  }
  a {
    color: #111 !important;
    text-decoration: underline !important;
  }
}
