:root {
  --joint-bg-dark: #0b0f19;
  --joint-surface-card: #151d30;
  --joint-surface-light: #1e293b;
  --joint-accent-primary: #00f2fe;
  --joint-accent-secondary: #4facfe;
  --joint-text-light: #ffffff;
  --joint-text-gray: #cbd5e1;
  --joint-text-dim: #94a3b8;
  --joint-gradient-main: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --joint-gradient-dark: linear-gradient(180deg, #151d30 0%, #0b0f19 100%);
  --joint-overlay-dark: rgba(11, 15, 25, 0.85);
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --joint-radius-soft: 16px;
  --joint-radius-pill: 999px;
  --joint-shadow-raised: 0 10px 30px rgba(0, 0, 0, 0.35);
  --joint-shadow-deep: 0 20px 40px rgba(0, 0, 0, 0.5);
  
  --joint-header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--joint-bg-dark);
  color: var(--joint-text-gray);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--joint-text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Scroll-driven progress bar */
.joint-scroll-tracker {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--joint-gradient-main);
  width: 0;
  z-index: 10000;
  animation: joint-progress-grow linear;
  animation-timeline: scroll();
}

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

/* Sticky Header (Preset A) */
.joint-masthead-outer {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--joint-header-height);
  background-color: var(--joint-surface-card);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-shadow: var(--joint-shadow-raised);
}

.joint-brand-hub {
  display: flex;
  align-items: center;
  gap: 12px;
}

.joint-brand-icon {
  width: 40px;
  height: 40px;
  fill: var(--joint-accent-primary);
}

.joint-brand-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--joint-text-light);
  letter-spacing: 1px;
}

.joint-navigation-panel {
  display: flex;
  align-items: center;
  gap: 32px;
}

.joint-navigation-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--joint-text-gray);
  padding: 8px 0;
  position: relative;
}

.joint-navigation-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--joint-gradient-main);
  transition: width 0.3s ease;
}

.joint-navigation-link:hover {
  color: var(--joint-accent-primary);
}

.joint-navigation-link:hover::after {
  width: 100%;
}

/* CSS-Only Hamburger */
.joint-menu-checkbox {
  display: none;
}

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

.joint-menu-trigger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--joint-text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section (Preset A) */
.joint-hero-showcase {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.joint-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(21, 29, 48, 0.7) 0%, rgba(11, 15, 25, 0.95) 100%);
  z-index: 1;
}

.joint-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.joint-hero-badge {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--joint-accent-primary);
  background: rgba(0, 242, 254, 0.1);
  padding: 6px 16px;
  border-radius: var(--joint-radius-pill);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.joint-hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--joint-text-light);
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.joint-hero-headline span {
  background: var(--joint-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.joint-hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--joint-text-gray);
  max-width: 700px;
  line-height: 1.8;
}

.joint-cta-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 40px;
  border-radius: var(--joint-radius-pill);
  background: var(--joint-gradient-main);
  color: var(--joint-bg-dark);
  box-shadow: 0 5px 25px rgba(0, 242, 254, 0.4);
  transform: translateY(0);
}

.joint-cta-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.6);
}

/* Floating Stat-Bar */
.joint-stat-overlay {
  position: relative;
  max-width: 1200px;
  margin: -80px auto 0;
  padding: 0 20px;
  z-index: 10;
}

.joint-stat-flex {
  display: flex;
  gap: 20px;
  background-color: var(--joint-surface-card);
  border-radius: var(--joint-radius-soft);
  padding: 30px;
  box-shadow: var(--joint-shadow-deep);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.joint-stat-unit {
  flex: 1;
  text-align: center;
  position: relative;
}

.joint-stat-unit:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.joint-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--joint-accent-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.joint-stat-label {
  font-size: 0.9rem;
  color: var(--joint-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Zig-Zag Content Section */
.joint-zig-zag-container {
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.joint-zig-zag-row {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.joint-zig-zag-row.reverse {
  flex-direction: row-reverse;
}

.joint-zig-zag-image-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--joint-radius-soft);
  box-shadow: var(--joint-shadow-raised);
}

.joint-zig-zag-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Skew clip path variations for Preset A */
.joint-zig-zag-row:not(.reverse) .joint-zig-zag-image {
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
}

.joint-zig-zag-row.reverse .joint-zig-zag-image {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}

.joint-zig-zag-row:hover .joint-zig-zag-image {
  transform: scale(1.05);
}

.joint-zig-zag-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.joint-section-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--joint-accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.joint-section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.joint-section-text {
  color: var(--joint-text-gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Features Matrix - 2 rows (Preset A) */
.joint-feature-matrix-outer {
  background-color: var(--joint-surface-card);
  padding: 100px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.joint-block-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.joint-feature-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-feature-item {
  background-color: var(--joint-bg-dark);
  padding: 40px;
  border-radius: var(--joint-radius-soft);
  border-left: 4px solid var(--joint-accent-primary);
  box-shadow: var(--joint-shadow-raised);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.joint-feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--joint-shadow-deep);
  border-left-color: var(--joint-accent-secondary);
}

.joint-feature-icon {
  width: 48px;
  height: 48px;
  fill: var(--joint-accent-primary);
}

.joint-feature-title {
  font-size: 1.25rem;
  color: var(--joint-text-light);
}

.joint-feature-desc {
  font-size: 1rem;
  color: var(--joint-text-dim);
  line-height: 1.6;
}

/* Vertical Timeline Track */
.joint-timeline-outer {
  padding: 120px 20px;
}

.joint-timeline-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.joint-timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--joint-gradient-main);
  transform: translateX(-50%);
}

.joint-timeline-segment {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 50px;
  position: relative;
  width: 50%;
}

.joint-timeline-segment:nth-child(even) {
  align-self: flex-end;
  margin-left: 50%;
  justify-content: flex-start;
}

.joint-timeline-point {
  position: absolute;
  right: -20px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--joint-bg-dark);
  border: 4px solid var(--joint-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--joint-text-light);
  z-index: 5;
}

.joint-timeline-segment:nth-child(even) .joint-timeline-point {
  left: -20px;
  right: auto;
}

.joint-timeline-panel {
  width: 85%;
  background-color: var(--joint-surface-card);
  padding: 30px;
  border-radius: var(--joint-radius-soft);
  box-shadow: var(--joint-shadow-raised);
}

.joint-timeline-segment:nth-child(odd) .joint-timeline-panel {
  margin-right: 30px;
}

.joint-timeline-segment:nth-child(even) .joint-timeline-panel {
  margin-left: 30px;
}

.joint-timeline-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--joint-text-light);
}

/* CTA Promo Strip */
.joint-action-strip {
  position: relative;
  padding: 120px 20px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.joint-action-strip-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 15, 25, 0.85);
  z-index: 1;
}

.joint-action-strip-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Forms & Inputs (Reserve Page) */
.joint-booking-layout {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px;
}

.joint-booking-card {
  background-color: var(--joint-surface-card);
  padding: 50px 40px;
  border-radius: var(--joint-radius-soft);
  box-shadow: var(--joint-shadow-deep);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.joint-form-group {
  margin-bottom: 24px;
}

.joint-form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--joint-text-light);
  margin-bottom: 8px;
}

.joint-form-input {
  width: 100%;
  padding: 16px 20px;
  background-color: var(--joint-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--joint-text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.joint-form-input:focus {
  outline: none;
  border-color: var(--joint-accent-primary);
}

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

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

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

.joint-submit-btn {
  width: 100%;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--joint-gradient-main);
  color: var(--joint-bg-dark);
  border: none;
  border-radius: var(--joint-radius-pill);
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 242, 254, 0.3);
  transition: all 0.3s ease;
}

.joint-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.5);
}

/* FAQ Accordion (Reserve Page) */
.joint-faq-section {
  max-width: 800px;
  margin: 60px auto 120px;
  padding: 0 20px;
}

.joint-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.joint-faq-card {
  background-color: var(--joint-surface-card);
  border-radius: var(--joint-radius-soft);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.joint-faq-question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--joint-text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.joint-faq-question::before {
  content: '?';
  background: var(--joint-gradient-main);
  color: var(--joint-bg-dark);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.joint-faq-answer {
  color: var(--joint-text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Info Cards Block - Reserve Page */
.joint-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.joint-info-block {
  background-color: var(--joint-surface-card);
  padding: 30px;
  border-radius: var(--joint-radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.joint-info-icon-wrapper {
  margin-bottom: 20px;
}

.joint-info-headline {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.joint-info-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.joint-info-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
}

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

/* Legal & Minimal Pages */
.joint-boilerplate-frame {
  max-width: 900px;
  margin: 60px auto 120px;
  padding: 0 20px;
}

.joint-boilerplate-card {
  background-color: var(--joint-surface-card);
  padding: 50px;
  border-radius: var(--joint-radius-soft);
  box-shadow: var(--joint-shadow-raised);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.joint-boilerplate-card h1 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.joint-boilerplate-card h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.joint-boilerplate-card p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Footer (Common) */
.joint-footer-outer {
  background-color: #070a12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 20px 40px;
}

.joint-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.joint-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.joint-footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.joint-footer-link {
  font-size: 0.9rem;
  color: var(--joint-text-dim);
}

.joint-footer-link:hover {
  color: var(--joint-accent-primary);
}

.joint-footer-disclaimer {
  font-size: 0.85rem;
  color: var(--joint-text-dim);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.joint-footer-copyright {
  font-size: 0.8rem;
  color: var(--joint-text-dim);
  text-align: center;
  margin-top: 20px;
}

/* Cookie Alert Banner */
.joint-cookie-alert-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--joint-surface-card);
  border-top: 2px solid var(--joint-accent-primary);
  padding: 20px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.joint-cookie-alert-fixed.active {
  transform: translateY(0);
}

.joint-cookie-text {
  font-size: 0.95rem;
  color: var(--joint-text-gray);
  max-width: 800px;
}

.joint-cookie-actions {
  display: flex;
  gap: 12px;
}

.joint-cookie-yes {
  background: var(--joint-gradient-main);
  color: var(--joint-bg-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--joint-radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.joint-cookie-no {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--joint-text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--joint-radius-pill);
  border: none;
  cursor: pointer;
}

.joint-cookie-no:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Scroll-driven reveal effects */
.joint-reveal-on-scroll {
  animation: joint-fade-up-reveal linear both;
  animation-timeline: view();
  animation-range: entry 5% entry 35%;
}

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

/* Media Queries (Responsive Grid / Header) */
@media (max-width: 992px) {
  .joint-zig-zag-row {
    flex-direction: column !important;
    gap: 40px;
  }
  
  .joint-zig-zag-image {
    height: 350px;
    clip-path: none !important;
  }
  
  .joint-feature-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .joint-info-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .joint-menu-trigger {
    display: flex;
  }
  
  .joint-navigation-panel {
    position: fixed;
    top: var(--joint-header-height);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--joint-header-height));
    background-color: var(--joint-surface-card);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: left 0.4s ease;
  }
  
  .joint-menu-checkbox:checked ~ .joint-navigation-panel {
    left: 0;
  }
  
  .joint-menu-checkbox:checked ~ .joint-menu-trigger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .joint-menu-checkbox:checked ~ .joint-menu-trigger span:nth-child(2) {
    opacity: 0;
  }
  
  .joint-menu-checkbox:checked ~ .joint-menu-trigger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .joint-stat-flex {
    flex-direction: column;
    gap: 30px;
  }
  
  .joint-stat-unit:not(:last-child)::after {
    display: none;
  }
  
  .joint-feature-matrix {
    grid-template-columns: 1fr;
  }
  
  .joint-timeline-track::before {
    left: 20px;
  }
  
  .joint-timeline-segment {
    width: 100%;
    justify-content: flex-start;
    padding-left: 50px;
    padding-bottom: 40px;
  }
  
  .joint-timeline-segment:nth-child(even) {
    margin-left: 0;
  }
  
  .joint-timeline-point {
    left: 0 !important;
    right: auto !important;
  }
  
  .joint-timeline-panel {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}