:root {
  --joint-bg-primary: #FAF8F5;
  --joint-bg-secondary: #F3EFE9;
  --joint-bg-dark: #122421;
  --joint-accent-emerald: #0F4C43;
  --joint-accent-emerald-hover: #196358;
  --joint-accent-warm: #D96B43;
  --joint-text-main: #232B2A;
  --joint-text-light: #FFFFFF;
  --joint-text-muted: #626D6C;
  --joint-gradient-flow: linear-gradient(135deg, #0F4C43 0%, #1C5D53 100%);
  --joint-gradient-warm: linear-gradient(135deg, #D96B43 0%, #E67E58 100%);
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --joint-roundness: 16px;
  --joint-shadow-raised: 0 10px 30px rgba(15, 76, 67, 0.08);
  --joint-shadow-deep: 0 20px 40px rgba(15, 76, 67, 0.15);
  
  --space-compact: 6dvh;
  --space-normal: 10dvh;
}

@keyframes progress-grow {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Scroll Progress Bar */
.joint-scroll-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10000;
  background: rgba(0,0,0,0.05);
}

.joint-scroll-indicator {
  height: 100%;
  width: 0;
  background: var(--joint-accent-warm);
  animation: progress-grow linear;
  animation-timeline: scroll();
}

/* Scroll Reveal Class */
.joint-reveal {
  animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 10% entry 40%;
}

/* Header & Navigation */
.joint-navigation-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 76, 43, 0.08);
  padding: 1rem 2rem;
}

.joint-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--joint-accent-emerald);
}

.joint-brand-identity svg {
  width: 32px;
  height: 32px;
  fill: var(--joint-accent-warm);
}

/* Hamburger menu without JS */
.joint-menu-checkbox {
  display: none;
}

.joint-menu-trigger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.joint-menu-trigger-label span {
  width: 25px;
  height: 3px;
  background-color: var(--joint-accent-emerald);
  transition: all 0.3s ease;
}

.joint-navigation-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.joint-navigation-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--joint-accent-emerald);
  transition: color 0.3s ease;
  text-transform: uppercase;
}

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

/* Call to Action Button */
.joint-action-trigger {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--joint-gradient-warm);
  color: var(--joint-text-light);
  border-radius: var(--joint-roundness);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: var(--joint-shadow-raised);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: none;
  cursor: pointer;
}

.joint-action-trigger:hover {
  transform: translateY(-2px);
  box-shadow: var(--joint-shadow-deep);
}

.joint-action-trigger-secondary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--joint-accent-emerald);
  border: 2px solid var(--joint-accent-emerald);
  border-radius: var(--joint-roundness);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.joint-action-trigger-secondary:hover {
  background: var(--joint-accent-emerald);
  color: var(--joint-text-light);
}

/* Hero Section */
.joint-hero-banner {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: var(--space-normal) 2rem;
}

.joint-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(18, 36, 33, 0.9) 0%, rgba(18, 36, 33, 0.5) 100%);
  z-index: 1;
}

.joint-hero-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.joint-hero-text-block {
  max-width: 650px;
  color: var(--joint-text-light);
}

.joint-hero-text-block h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.joint-hero-text-block p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Bento Grid Features */
.joint-bento-section {
  padding: var(--space-normal) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-section-intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.joint-section-intro h2 {
  font-size: 2.2rem;
  color: var(--joint-accent-emerald);
  margin-bottom: 1rem;
}

.joint-bento-mesh {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.joint-bento-tile {
  background-color: var(--joint-bg-secondary);
  border-radius: var(--joint-roundness);
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--joint-shadow-raised);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.joint-bento-tile:hover {
  transform: scale(1.02);
  box-shadow: var(--joint-shadow-deep);
}

.joint-bento-tile-lg {
  grid-column: span 4;
  background: var(--joint-gradient-flow);
  color: var(--joint-text-light);
}

.joint-bento-tile-sm {
  grid-column: span 2;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--joint-accent-warm);
  color: var(--joint-text-light);
}

.joint-bento-tile-md {
  grid-column: span 3;
}

.joint-bento-tile-full {
  grid-column: span 6;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.joint-bento-icon-box {
  width: 64px;
  height: 64px;
  background-color: rgba(217, 107, 67, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.joint-bento-tile-lg .joint-bento-icon-box {
  background-color: rgba(255,255,255,0.15);
}

.joint-bento-icon-box svg {
  width: 32px;
  height: 32px;
  fill: var(--joint-accent-warm);
}

.joint-bento-tile-lg .joint-bento-icon-box svg {
  fill: var(--joint-text-light);
}

.joint-big-number {
  font-size: 4.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.joint-bento-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.joint-bento-tile-lg h3 {
  font-size: 1.8rem;
}

/* How It Works Section */
.joint-workflow-section {
  padding: var(--space-normal) 2rem;
  background-color: var(--joint-bg-secondary);
}

.joint-workflow-container {
  max-width: 1200px;
  margin: 0 auto;
}

.joint-workflow-steps {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 3rem;
}

.joint-workflow-step {
  flex: 1;
  position: relative;
  background: var(--joint-bg-primary);
  padding: 3rem 2rem;
  border-radius: var(--joint-roundness);
  box-shadow: var(--joint-shadow-raised);
  overflow: hidden;
}

.joint-workflow-number-bg {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--joint-accent-emerald);
  opacity: 0.07;
  pointer-events: none;
}

.joint-workflow-step h3 {
  font-size: 1.3rem;
  color: var(--joint-accent-emerald);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.joint-workflow-step p {
  position: relative;
  z-index: 2;
  color: var(--joint-text-muted);
}

/* Background Section with Overlay */
.joint-scenic-break {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 12dvh 2rem;
  text-align: center;
  color: var(--joint-text-light);
}

.joint-scenic-break::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 36, 33, 0.85);
  z-index: 1;
}

.joint-scenic-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.joint-scenic-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.joint-scenic-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* CTA Strip Banner */
.joint-cta-strip {
  background: var(--joint-gradient-flow);
  color: var(--joint-text-light);
  padding: 5rem 2rem;
}

.joint-cta-strip-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.joint-cta-strip-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.joint-cta-strip-text p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Expert bio specific styles */
.joint-bio-split {
  display: flex;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-normal) 2rem;
}

.joint-bio-image-wrapper {
  flex: 1;
  border-radius: var(--joint-roundness);
  overflow: hidden;
  box-shadow: var(--joint-shadow-deep);
  height: 500px;
}

.joint-bio-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.joint-bio-text {
  flex: 1;
}

.joint-bio-subtitle {
  color: var(--joint-accent-warm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.joint-bio-text h2 {
  font-size: 2.5rem;
  color: var(--joint-accent-emerald);
  margin-bottom: 1.5rem;
}

.joint-bio-text p {
  color: var(--joint-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Custom Mini Bento Grid in Expert */
.joint-bento-mini {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-compact) 2rem;
}

.joint-bento-mini-tile {
  grid-column: span 3;
  background-color: var(--joint-bg-secondary);
  padding: 2.5rem;
  border-radius: var(--joint-roundness);
  box-shadow: var(--joint-shadow-raised);
}

.joint-bento-mini-tile h4 {
  color: var(--joint-accent-emerald);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Form Booking Page */
.joint-booking-layout {
  display: flex;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-normal) 2rem;
}

.joint-booking-info {
  flex: 1;
}

.joint-booking-info h2 {
  font-size: 2.2rem;
  color: var(--joint-accent-emerald);
  margin-bottom: 2rem;
}

.joint-info-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.joint-info-card {
  background: var(--joint-bg-secondary);
  padding: 2rem;
  border-radius: var(--joint-roundness);
  box-shadow: var(--joint-shadow-raised);
}

.joint-info-card h3 {
  font-size: 1.15rem;
  color: var(--joint-accent-emerald);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.joint-info-card p {
  font-size: 0.95rem;
  color: var(--joint-text-muted);
  margin-bottom: 1rem;
}

.joint-info-list {
  list-style: none;
}

.joint-info-list li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.joint-color-dot {
  width: 10px;
  height: 10px;
  background-color: var(--joint-accent-warm);
  border-radius: 50%;
  display: inline-block;
}

.joint-form-box {
  flex: 1;
  background: var(--joint-text-light);
  padding: 3.5rem;
  border-radius: var(--joint-roundness);
  box-shadow: var(--joint-shadow-deep);
  border: 1px solid rgba(15, 76, 43, 0.05);
}

.joint-form-box h3 {
  font-size: 1.8rem;
  color: var(--joint-accent-emerald);
  margin-bottom: 2rem;
}

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

.joint-form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--joint-accent-emerald);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.joint-form-group input,
.joint-form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: var(--joint-roundness);
  border: 1px solid rgba(15, 76, 43, 0.15);
  background: var(--joint-bg-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

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

.joint-policy-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--joint-text-muted);
  cursor: pointer;
}

.joint-policy-checkbox-label input {
  margin-top: 0.2rem;
}

.joint-mail-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--joint-accent-warm);
}

/* FAQ Accordion bottom */
.joint-faq-section {
  padding: var(--space-normal) 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.joint-faq-title {
  text-align: center;
  margin-bottom: 3rem;
}

.joint-faq-title h2 {
  font-size: 2rem;
  color: var(--joint-accent-emerald);
}

.joint-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.joint-faq-card {
  background: var(--joint-text-light);
  border-radius: var(--joint-roundness);
  padding: 2rem;
  box-shadow: var(--joint-shadow-raised);
}

.joint-faq-card h3 {
  font-size: 1.15rem;
  color: var(--joint-accent-emerald);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.joint-faq-card p {
  color: var(--joint-text-muted);
  font-size: 0.95rem;
}

/* Standalone Pages & Policy Blocks */
.joint-standalone-box {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-normal) 2rem;
  min-height: 80dvh;
}

.joint-standalone-box h1 {
  color: var(--joint-accent-emerald);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.joint-standalone-box h2 {
  color: var(--joint-accent-emerald);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.joint-standalone-box p {
  color: var(--joint-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Thank you page styles */
.joint-acknowledgement-cover {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.joint-acknowledgement-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 36, 33, 0.9);
  z-index: 1;
}

.joint-acknowledgement-box {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: var(--joint-text-light);
  background: rgba(15, 76, 67, 0.3);
  backdrop-filter: blur(15px);
  padding: 4rem;
  border-radius: var(--joint-roundness);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--joint-shadow-deep);
}

.joint-acknowledgement-box h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.joint-acknowledgement-box p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Cookie Banner */
.joint-cookie-alert {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--joint-bg-dark);
  color: var(--joint-text-light);
  padding: 1.5rem 2rem;
  z-index: 9999;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  display: none;
}

.joint-cookie-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.joint-cookie-text {
  font-size: 0.95rem;
  opacity: 0.9;
}

.joint-cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.joint-cookie-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--joint-roundness);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.joint-cookie-btn-accept {
  background-color: var(--joint-accent-warm);
  color: var(--joint-text-light);
}

.joint-cookie-btn-accept:hover {
  background-color: #e67e58;
}

.joint-cookie-btn-decline {
  background-color: transparent;
  color: var(--joint-text-light);
  border: 1px solid rgba(255,255,255,0.3);
}

.joint-cookie-btn-decline:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Footer style */
.joint-footer-dock {
  background-color: var(--joint-bg-dark);
  color: var(--joint-text-light);
  padding: 5rem 2rem 2rem;
  border-top: 5px solid var(--joint-accent-emerald);
}

.joint-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.joint-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}

.joint-footer-about {
  max-width: 350px;
}

.joint-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.joint-footer-brand svg {
  width: 32px;
  height: 32px;
  fill: var(--joint-accent-warm);
}

.joint-footer-about p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.joint-footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.joint-footer-links-group h4 {
  font-size: 1rem;
  font-family: var(--font-display);
  margin-bottom: 0.5;
}

.joint-footer-links-group a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.joint-footer-links-group a:hover {
  color: var(--joint-accent-warm);
}

.joint-disclaimer-panel {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.joint-disclaimer-panel p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  text-align: center;
}

.joint-copyright-line {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* Responsive CSS */
@media (max-width: 1024px) {
  .joint-bento-mesh {
    grid-template-columns: repeat(2, 1fr);
  }
  .joint-bento-tile {
    grid-column: span 2 !important;
  }
  .joint-bento-tile-full {
    flex-direction: column;
    align-items: flex-start;
  }
  .joint-cta-strip-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .joint-booking-layout {
    flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .joint-menu-trigger-label {
    display: flex;
  }
  .joint-navigation-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--joint-text-light);
    flex-direction: column;
    padding: 3rem 2rem;
    transition: left 0.3s ease;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .joint-menu-checkbox:checked ~ .joint-navigation-links {
    left: 0;
  }
  .joint-menu-checkbox:checked ~ .joint-menu-trigger-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .joint-menu-checkbox:checked ~ .joint-menu-trigger-label span:nth-child(2) {
    opacity: 0;
  }
  .joint-menu-checkbox:checked ~ .joint-menu-trigger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  .joint-workflow-steps {
    flex-direction: column;
    gap: 1.5rem;
  }
  .joint-bio-split {
    flex-direction: column;
    gap: 3rem;
  }
  .joint-bio-image-wrapper {
    height: 350px;
    width: 100%;
  }
  .joint-footer-row {
    flex-direction: column;
    gap: 2rem;
  }
  .joint-bento-mini-tile {
    grid-column: span 6;
  }
}