/* --- DESIGN THEME: PROFESSIONAL DARK --- */
/* --- CUSTOM THEMATIC VARIABLES --- */
:root {
  --artic-bg: #0a0f16;
  --artic-surface: #121a24;
  --artic-surface-soft: #1b2633;
  --artic-glow: #10b981;
  --artic-glow-hover: #34d399;
  --artic-glow-dim: rgba(16, 185, 129, 0.15);
  --artic-ink: #f3f4f6;
  --artic-ink-muted: #9ca3af;
  --artic-border: #1f2937;
  --artic-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --artic-overlay: rgba(10, 15, 22, 0.75);
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --artic-radius: 16px;
  --artic-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --artic-shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* --- RESET & BASIC SETUP --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--artic-bg);
  color: var(--artic-ink);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* --- SCROLL-DRIVEN PROGRESS BAR --- */
.joint-scroll-progress {
  height: 4px;
  background: var(--artic-gradient);
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  animation: joint-grow-bar linear;
  animation-timeline: scroll();
}

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

/* --- SCROLL REVEAL ANIMATIONS --- */
.joint-reveal-item {
  animation: joint-fade-up linear both;
  animation-timeline: view();
  animation-range: entry 5% cover 30%;
}

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

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

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

/* --- HEADER / NAVIGATION --- */
.joint-header-shell {
  position: sticky;
  top: 0;
  background-color: var(--artic-surface);
  border-bottom: 1px solid var(--artic-border);
  z-index: 1000;
  padding: 1rem 2rem;
}

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

.joint-brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.joint-brand-mark svg {
  fill: var(--artic-glow);
  width: 32px;
  height: 32px;
}

.joint-nav-toggle-input {
  display: none;
}

.joint-nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.joint-nav-toggle-label span {
  width: 28px;
  height: 3px;
  background-color: var(--artic-ink);
  transition: 0.3s;
}

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

.joint-nav-anchor {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s;
}

.joint-nav-anchor:hover,
.joint-nav-anchor.active {
  color: var(--artic-glow);
}

.joint-header-action {
  background: var(--artic-gradient);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--artic-radius);
  transition: transform 0.3s, box-shadow 0.3s;
}

.joint-header-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--artic-shadow-glow);
}

/* --- HERO SECTION --- */
.joint-hero-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.joint-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--artic-overlay);
  z-index: 1;
}

.joint-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.joint-hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--artic-ink);
}

.joint-hero-subtitle {
  font-size: 1.25rem;
  color: var(--artic-ink-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.joint-pill-action {
  display: inline-block;
  background: var(--artic-gradient);
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  box-shadow: var(--artic-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.joint-pill-action:hover {
  transform: scale(1.05);
  box-shadow: var(--artic-shadow-glow);
}

/* --- STATS STRIP --- */
.joint-stats-hub {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: -60px auto 0;
  padding: 0 1.5rem;
}

.joint-stats-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background-color: var(--artic-surface);
  border: 1px solid var(--artic-border);
  padding: 2.5rem;
  border-radius: var(--artic-radius);
  box-shadow: var(--artic-shadow);
}

.joint-stat-card {
  text-align: center;
}

.joint-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--artic-glow);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.joint-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--artic-ink-muted);
  letter-spacing: 0.1em;
}

/* --- COMMON CONTENT LAYOUTS --- */
.joint-space-section {
  padding: 10dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-section-heading {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.joint-section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--artic-gradient);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* --- ZIGZAG WRAP --- */
.joint-zigzag-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.joint-zigzag-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.joint-zigzag-row:nth-child(even) {
  flex-direction: row-reverse;
}

.joint-zigzag-media {
  flex: 1;
  border-radius: var(--artic-radius);
  overflow: hidden;
  box-shadow: var(--artic-shadow);
  height: 400px;
}

.joint-zigzag-media-left {
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.joint-zigzag-media-right {
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.joint-zigzag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.joint-zigzag-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--artic-ink);
}

.joint-zigzag-desc {
  color: var(--artic-ink-muted);
  margin-bottom: 1.5rem;
}

/* --- FEATURES GRID --- */
.joint-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.joint-feature-card {
  background-color: var(--artic-surface);
  border-left: 4px solid var(--artic-glow);
  padding: 2.5rem;
  border-radius: var(--artic-radius);
  box-shadow: var(--artic-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.joint-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--artic-shadow-glow), var(--artic-shadow);
}

.joint-feature-icon-box {
  margin-bottom: 1.5rem;
}

.joint-feature-icon-box svg {
  width: 48px;
  height: 48px;
  fill: var(--artic-glow);
}

.joint-feature-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.joint-feature-card-text {
  color: var(--artic-ink-muted);
  font-size: 0.95rem;
}

/* --- TIMELINE --- */
.joint-timeline-axis {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 3rem;
}

.joint-timeline-axis::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--artic-border);
}

.joint-timeline-step {
  position: relative;
  margin-bottom: 3rem;
}

.joint-timeline-step:last-child {
  margin-bottom: 0;
}

.joint-timeline-bubble {
  position: absolute;
  left: -43px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--artic-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--artic-shadow-glow);
}

.joint-timeline-content {
  background-color: var(--artic-surface);
  border: 1px solid var(--artic-border);
  padding: 2rem;
  border-radius: var(--artic-radius);
}

.joint-timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.joint-timeline-text {
  color: var(--artic-ink-muted);
}

/* --- CTA STRIP --- */
.joint-cta-strip-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 8dvh 2rem;
  text-align: center;
}

.joint-cta-strip-bg .joint-hero-overlay {
  background-color: rgba(10, 15, 22, 0.85);
}

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

.joint-cta-headline {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.joint-cta-lead {
  color: var(--artic-ink-muted);
  margin-bottom: 2rem;
}

/* --- FORMS & BOOKING --- */
.joint-form-holder {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--artic-surface);
  border: 1px solid var(--artic-border);
  padding: 3rem;
  border-radius: var(--artic-radius);
  box-shadow: var(--artic-shadow);
}

.joint-form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.joint-form-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--artic-ink-muted);
}

.joint-form-input, .joint-form-textarea {
  background-color: var(--artic-bg);
  border: 1px solid var(--artic-border);
  padding: 1rem;
  border-radius: 8px;
  color: var(--artic-ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.joint-form-input:focus, .joint-form-textarea:focus {
  border-color: var(--artic-glow);
  box-shadow: 0 0 0 3px var(--artic-glow-dim);
  outline: none;
}

.joint-form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

.joint-form-checkbox-wrap input {
  margin-top: 0.25rem;
}

.joint-form-checkbox-text {
  font-size: 0.85rem;
  color: var(--artic-ink-muted);
}

.joint-form-checkbox-text a {
  color: var(--artic-glow);
  text-decoration: underline;
}

.joint-form-submit {
  width: 100%;
  background: var(--artic-gradient);
  color: #000;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.joint-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--artic-shadow-glow);
}

/* --- FAQ ACCORDION --- */
.joint-faq-stack {
  max-width: 800px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.joint-faq-item {
  background-color: var(--artic-surface);
  border: 1px solid var(--artic-border);
  border-radius: var(--artic-radius);
  overflow: hidden;
}

.joint-faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-display);
}

.joint-faq-summary::-webkit-details-marker {
  display: none;
}

.joint-faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--artic-glow);
  transition: transform 0.3s;
}

details[open] .joint-faq-summary::after {
  transform: rotate(45deg);
}

.joint-faq-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--artic-ink-muted);
}

/* --- INFO BULLET CARDS (RESERVE) --- */
.joint-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.joint-info-item {
  background-color: var(--artic-surface);
  border: 1px solid var(--artic-border);
  padding: 2rem;
  border-radius: var(--artic-radius);
}

.joint-info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.joint-info-item h3 svg {
  fill: var(--artic-glow);
  width: 24px;
  height: 24px;
}

.joint-bullet-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.joint-bullet-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--artic-ink-muted);
}

.joint-bullet-dot {
  width: 8px;
  height: 8px;
  background-color: var(--artic-glow);
  border-radius: 50%;
}

/* --- LEGAL PAGES LAYOUT --- */
.joint-legal-frame {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.joint-legal-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--artic-border);
  padding-bottom: 1rem;
}

.joint-legal-section {
  margin-bottom: 2.5rem;
}

.joint-legal-subtitle {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.joint-legal-text {
  color: var(--artic-ink-muted);
  margin-bottom: 1rem;
}

/* --- FOOTER --- */
.joint-footer-shield {
  background-color: #05070a;
  border-top: 1px solid var(--artic-border);
  padding: 4rem 2rem 2rem;
}

.joint-footer-inside {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.joint-footer-menu {
  display: flex;
  gap: 1.5rem;
}

.joint-footer-link {
  font-size: 0.85rem;
  color: var(--artic-ink-muted);
  transition: color 0.3s;
}

.joint-footer-link:hover {
  color: var(--artic-glow);
}

.joint-footer-disclaimer {
  font-size: 0.75rem;
  color: #4b5563;
  max-width: 800px;
  line-height: 1.5;
}

.joint-footer-copyright {
  font-size: 0.8rem;
  color: #4b5563;
}

/* --- COOKIE BANNER --- */
.joint-cookie-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--artic-surface);
  border-top: 1px solid var(--artic-border);
  padding: 1.5rem 2rem;
  z-index: 9999;
  display: none;
}

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

.joint-cookie-text {
  font-size: 0.9rem;
  color: var(--artic-ink-muted);
}

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

.joint-cookie-btn-ok {
  background: var(--artic-gradient);
  color: #000;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.joint-cookie-btn-no {
  background-color: transparent;
  color: var(--artic-ink-muted);
  border: 1px solid var(--artic-border);
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
}

.joint-cookie-btn-no:hover {
  color: var(--artic-ink);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 968px) {
  .joint-hero-title {
    font-size: 2.25rem;
  }
  
  .joint-stats-board {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: -30px;
  }
  
  .joint-zigzag-row, .joint-zigzag-row:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
  }
  
  .joint-zigzag-media {
    height: 300px;
    width: 100%;
    clip-path: none;
  }
  
  .joint-features-grid {
    grid-template-columns: 1fr;
  }
  
  .joint-info-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .joint-nav-toggle-label {
    display: flex;
  }
  
  .joint-navigation-links {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: var(--artic-surface);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: left 0.3s;
    z-index: 999;
  }
  
  .joint-nav-toggle-input:checked ~ .joint-navigation-links {
    left: 0;
  }
  
  .joint-cookie-inside {
    flex-direction: column;
    text-align: center;
  }
}