@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&family=Mulish:wght@400;600;700&display=swap');

:root {
  --joint-bg: #F9FAFB;
  --joint-surface: #FFFFFF;
  --joint-accent: #1E40AF;
  --joint-accent-hover: #1E3A8A;
  --joint-text: #111827;
  --joint-text-light: #4B5563;
  --joint-border: #E5E7EB;
  --joint-gradient: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  --font-display: 'Merriweather', serif;
  --font-body: 'Mulish', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--joint-text);
  background-color: var(--joint-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--joint-text);
}

.inner-bounds {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

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

/* Header */
.top-bar-area {
  background: var(--joint-surface);
  border-bottom: 1px solid var(--joint-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.top-bar-area:focus-within {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--joint-text);
  font-size: 1.25rem;
}

.header-links-box {
  display: flex;
  gap: 2rem;
}

.header-links-box a {
  text-decoration: none;
  color: var(--joint-text-light);
  font-weight: 600;
  transition: color 0.2s;
}

.header-links-box a:hover {
  color: var(--joint-accent);
}

.mobile-trigger-box {
  display: none;
  cursor: pointer;
}

/* Announcement Bar */
.announce-bar-strip {
  background: var(--joint-accent);
  color: var(--joint-surface);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.announce-bar-strip a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

/* Split Hero */
.split-intro-area {
  display: flex;
  min-height: 85vh;
}

.intro-text-side {
  flex: 0 0 55%;
  background: var(--joint-surface);
  padding: 16dvh 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.heading-main {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.desc-main {
  font-size: 1.25rem;
  color: var(--joint-text-light);
  margin-bottom: 2rem;
}

.action-trigger {
  display: inline-block;
  background: var(--joint-accent);
  color: var(--joint-surface);
  padding: 1rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.action-trigger:hover {
  background: var(--joint-accent-hover);
}

.intro-image-side {
  flex: 0 0 45%;
}

.intro-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Visual Break */
.visual-break-strip {
  width: 100%;
  height: 45vh;
}

.visual-break-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Magazine Columns */
.magazine-columns-area {
  display: flex;
  gap: 3rem;
  padding-top: 6dvh;
  padding-bottom: 16dvh;
}

.mag-column-item {
  flex: 1;
  border-top: 3px solid var(--joint-accent);
  padding-top: 1.5rem;
}

.mag-column-item p {
  color: var(--joint-text-light);
}

/* Masonry Layout */
.masonry-benefits-area {
  column-count: 2;
  column-gap: 2rem;
  padding-bottom: 16dvh;
}

.masonry-column-box {
  break-inside: avoid;
  background: var(--joint-surface);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--joint-border);
}

.masonry-column-box p {
  color: var(--joint-text-light);
}

/* Process Track */
.process-track-area {
  padding-bottom: 16dvh;
}

.process-track-flex {
  display: flex;
  position: relative;
  justify-content: space-between;
  gap: 2rem;
}

.process-track-flex::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  border-top: 2px dashed var(--joint-border);
  z-index: 1;
}

.process-step-item {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
}

.step-circle {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background: var(--joint-surface);
  border: 2px solid var(--joint-accent);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.active-step .step-circle {
  background: var(--joint-accent);
  color: var(--joint-surface);
}

.process-step-item p {
  color: var(--joint-text-light);
}

/* Final Action Strip */
.final-action-strip {
  background: var(--joint-accent);
  color: var(--joint-surface);
  padding: 16dvh 0;
}

.final-action-strip h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--joint-surface);
}

.action-light {
  background: var(--joint-surface);
  color: var(--joint-accent);
}

.action-light:hover {
  background: var(--joint-bg);
}

/* Expert Elements */
.expert-bio-split, .booking-split-area {
  display: flex;
  flex-wrap: wrap;
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  gap: 4rem;
}

.bio-image-side {
  flex: 1 1 45%;
}

.bio-image-side img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  min-height: 400px;
}

.bio-text-side {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-horizontal-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 10dvh;
}

.stat-item-box {
  flex: 1;
  text-align: center;
  background: var(--joint-surface);
  border: 1px solid var(--joint-border);
  border-radius: 16px;
  padding: 2rem;
  min-width: 150px;
}

.stat-num {
  display: block;
  font-size: 3rem;
  font-family: var(--font-display);
  color: var(--joint-accent);
  font-weight: bold;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--joint-text-light);
}

.accordion-methods-area, .faq-group-box {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 16dvh;
}

.accordion-method-box, .faq-item-box {
  background: var(--joint-surface);
  border: 1px solid var(--joint-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.accordion-method-box summary, .faq-item-box summary {
  font-weight: bold;
  font-family: var(--font-display);
  font-size: 1.25rem;
  cursor: pointer;
  outline: none;
}

.accordion-method-box p, .faq-item-box p {
  margin-top: 1rem;
  color: var(--joint-text-light);
}

/* Booking Forms */
.booking-info-side {
  flex: 1 1 40%;
}

.booking-form-side {
  flex: 1 1 50%;
}

.info-bullet-box {
  margin-bottom: 2rem;
  background: var(--joint-surface);
  border: 1px solid var(--joint-border);
  border-radius: 16px;
  padding: 1.5rem;
}

.info-bullet-box .icon-svg {
  width: 32px;
  height: 32px;
  color: var(--joint-accent);
  margin-bottom: 1rem;
}

.info-bullet-box ul {
  list-style: none;
  margin-top: 1rem;
}

.info-bullet-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--joint-text-light);
}

.info-bullet-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--joint-accent);
  border-radius: 50%;
}

.input-form-box {
  background: var(--joint-surface);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--joint-border);
}

.form-field-group {
  margin-bottom: 1.5rem;
}

.form-field-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-field-group input[type="text"],
.form-field-group input[type="tel"],
.form-field-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--joint-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-field-group input:focus,
.form-field-group textarea:focus {
  outline: none;
  border-color: var(--joint-accent);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.checkbox-group a {
  color: var(--joint-accent);
  text-decoration: underline;
}

.contact-mail-box {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--joint-text-light);
}

.contact-mail-box a {
  color: var(--joint-accent);
  font-weight: bold;
  text-decoration: none;
}

/* Footer */
.bottom-site-area {
  background: var(--joint-surface);
  border-top: 1px solid var(--joint-border);
  padding: 4rem 0 2rem 0;
}

.bottom-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.bottom-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.25rem;
}

.bottom-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bottom-links a {
  color: var(--joint-text-light);
  text-decoration: none;
  font-weight: 600;
}

.bottom-links a:hover {
  color: var(--joint-accent);
}

.bottom-legal {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--joint-border);
  color: var(--joint-text-light);
  font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-bar-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--joint-text);
  color: var(--joint-surface);
  padding: 1.5rem 5%;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .header-links-box {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--joint-surface);
    padding: 1.5rem;
    border-bottom: 1px solid var(--joint-border);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }

  .mobile-trigger-box {
    display: block;
    width: 28px;
    height: 22px;
    position: relative;
  }

  .mobile-trigger-box i {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--joint-text);
    border-radius: 2px;
    transition: 0.3s;
  }

  .mobile-trigger-box i:nth-child(1) { top: 0; }
  .mobile-trigger-box i:nth-child(2) { top: 9px; }
  .mobile-trigger-box i:nth-child(3) { top: 18px; }

  #mobile-toggle:checked ~ .header-links-box {
    display: flex;
  }

  #mobile-toggle:checked ~ .mobile-trigger-box i:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  #mobile-toggle:checked ~ .mobile-trigger-box i:nth-child(2) {
    opacity: 0;
  }

  #mobile-toggle:checked ~ .mobile-trigger-box i:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }

  .split-intro-area {
    flex-direction: column;
  }

  .intro-text-side, .intro-image-side {
    flex: 1 1 100%;
  }

  .intro-image-side {
    min-height: 40vh;
  }

  .heading-main {
    font-size: 2.5rem;
  }

  .magazine-columns-area {
    flex-direction: column;
  }

  .masonry-benefits-area {
    column-count: 1;
  }

  .process-track-flex {
    flex-direction: column;
    gap: 3rem;
  }

  .process-track-flex::before {
    width: 2px;
    height: 100%;
    border-top: none;
    border-left: 2px dashed var(--joint-border);
    top: 0;
    left: 23px;
  }

  .process-step-item {
    text-align: left;
    padding-left: 70px;
  }

  .step-circle {
    position: absolute;
    left: 0;
    top: 0;
  }

  .expert-bio-split, .booking-split-area {
    flex-direction: column;
  }
  
  .input-form-box {
    padding: 1.5rem;
  }
  
  .bottom-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}