﻿/* ═══════════════════════════════════════════════════════════════
   TEMRA VITA — style.css
   Luxury Wellness Website Stylesheet
═══════════════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --teal-primary: #19d3c5;
  --teal-dark: #00af9a;
  --teal-darker: #008f7e;
  --teal-glow: rgba(25, 211, 197, 0.15);
  --teal-glow-strong: rgba(25, 211, 197, 0.35);
  --bg-dark: #06100f;
  --bg-dark-2: #0c1a18;
  --bg-dark-3: #102220;
  --bg-light: #f5f5f0;
  --bg-light-2: #eef3f2;
  --text-dark: #0f1f1d;
  --text-light: #f0f5f4;
  --text-muted-dark: rgba(240, 245, 244, 0.6);
  --text-muted-light: rgba(15, 31, 29, 0.6);
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 80px;
  --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-teal: 0 0 40px rgba(25, 211, 197, 0.2);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --section-pad: 120px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  cursor: default;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a, button, .nav-cta, .btn, .nav-link, .nav-toggle, input, textarea, select {
  cursor: pointer;
}

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

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

ul {
  list-style: none;
}

/* ─── CUSTOM CURSOR (disabled — using default browser cursor) ─── */
#cursor,
#cursor-follower {
  display: none !important;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── NAVIGATION ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

#navbar.scrolled {
  background: rgba(6, 16, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(25, 211, 197, 0.15);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  transition: opacity var(--transition-base);
  /* Original SVG colors preserved */
  filter: none;
}

.nav-logo-img:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.8;
  position: relative;
  transition: opacity var(--transition-base), color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal-primary);
  transition: width var(--transition-base);
}

.nav-link:hover {
  opacity: 1;
  color: var(--teal-primary);
}

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

.nav-link.active-link {
  opacity: 1;
  color: var(--teal-primary);
}

.nav-link.active-link::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--teal-primary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-primary);
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.nav-cta:hover {
  background: var(--teal-primary);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(25, 211, 197, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 15px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  border-radius: inherit;
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
  color: var(--bg-dark);
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(25, 211, 197, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 48px rgba(25, 211, 197, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--teal-primary);
  color: var(--teal-primary);
  box-shadow: 0 0 30px rgba(25, 211, 197, 0.2);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── SCROLL REVEAL ─── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ─── SECTION LABEL ─── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 1.5rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 1px;
  background: var(--teal-primary);
}

/* ─── SECTION HEADINGS ─── */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-heading em {
  color: var(--teal-dark);
  font-style: italic;
}

.section-heading.light { color: var(--text-light); }
.section-heading.light em { color: var(--teal-primary); }

.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted-light);
  margin-bottom: 1.2rem;
  max-width: 560px;
}

.section-body.light { color: var(--text-muted-dark); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted-light);
  max-width: 640px;
  margin: 0 auto;
}

.section-intro.light { color: var(--text-muted-dark); }

/* ─── SECTION BACKGROUNDS ─── */
.section-dark {
  background-color: var(--bg-dark-2);
  padding: var(--section-pad) 0;
}

.section-light {
  background-color: var(--bg-light);
  padding: var(--section-pad) 0;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: scale(1.08);
  transition: transform 0s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 16, 15, 0.55) 0%,
    rgba(6, 16, 15, 0.65) 40%,
    rgba(6, 16, 15, 0.82) 100%
  );
}

#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0 24px;
}

/* 3D logo container */
#logo-3d-container {
  width: 200px;
  height: 220px;
  margin-bottom: 0.5rem;
  position: relative;
  filter: drop-shadow(0 0 18px rgba(25, 211, 197, 0.55)) drop-shadow(0 0 40px rgba(25, 211, 197, 0.25));
  animation: logo3dFloat 4s ease-in-out infinite;
}

@keyframes logo3dFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.logo-fallback-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: auto;
  opacity: 1;
  transition: opacity 0.8s ease;
  z-index: 1;
  pointer-events: none;
}

#three-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
  position: relative;
  z-index: 2;
}

.hero-text { margin-top: 0.5rem; }

.hero-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-light);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-primary);
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-muted-dark);
  margin-bottom: 2rem;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
  margin: 0 auto 2rem;
}

.hero-cta { }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-primary);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(25, 211, 197, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-dot {
  width: 100%;
  height: 30%;
  background: var(--teal-primary);
  position: absolute;
  top: -30%;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -30%; }
  100% { top: 130%; }
}

/* ─── INTRO STATEMENT ─── */
.intro-statement {
  background-color: var(--bg-dark);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.intro-statement::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(25, 211, 197, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.intro-deco {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.intro-deco.bottom { margin-top: 3rem; margin-bottom: 0; }

.intro-deco span {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
}

.intro-quote {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-light);
  letter-spacing: -0.01em;
  max-width: 900px;
  margin: 0 auto;
  border: none;
  font-style: normal;
}

.intro-quote em {
  font-style: italic;
  color: var(--teal-primary);
}

.intro-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted-dark);
  max-width: 680px;
  margin: 0 auto;
}

/* ─── PHILOSOPHY / SPLIT SECTIONS ─── */
.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  max-width: 1440px;
  margin: 0 auto;
}

.split-container.reversed {
  direction: rtl;
}

.split-container.reversed > * {
  direction: ltr;
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.split-image:hover img {
  transform: scale(1.04);
}

.image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25, 211, 197, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.split-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--teal-primary);
  margin-top: 2px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

/* Dark split sections */
.spa .split-content { background: var(--bg-dark-2); }
.spa .feature-item h4 { color: var(--text-light); }
.spa .feature-item p { color: var(--text-muted-dark); }

/* ─── SCIENCE PILLARS ─── */
.pillars { position: relative; overflow: hidden; }

.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(25, 211, 197, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(0, 175, 154, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(25, 211, 197, 0.08);
  border: 1px solid rgba(25, 211, 197, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar-card {
  background: var(--bg-dark-3);
  padding: 3rem 2.5rem;
  position: relative;
  transition: background var(--transition-base), transform 0.3s ease;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.pillar-card:hover {
  background: #142421;
  transform: translateY(-4px);
}

.pillar-card:hover::after { transform: scaleX(1); }

.pillar-icon {
  width: 64px;
  height: 64px;
  color: var(--teal-primary);
  margin-bottom: 1.5rem;
  opacity: 0.85;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.pillar-icon svg { width: 100%; height: 100%; }

.pillar-card:hover .pillar-icon { opacity: 1; transform: scale(1.06); }

.pillar-number {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--teal-primary);
  opacity: 0.5;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.pillar-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted-dark);
}

.pillar-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--teal-primary), transparent);
  transition: height 0.5s ease;
}

.pillar-card:hover .pillar-bar { height: 100%; }

/* ─── RENEW SECTION ─── */
.renew-section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  text-align: center;
}

.renew-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.renew-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 16, 15, 0.75) 0%,
    rgba(6, 16, 15, 0.6) 50%,
    rgba(6, 16, 15, 0.8) 100%
  );
}

.renew-content {
  position: relative;
  z-index: 2;
}

.renew-quote {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-light);
  letter-spacing: -0.01em;
  max-width: 850px;
  margin: 1.5rem auto;
  border: none;
}

.renew-quote em {
  font-style: italic;
  color: var(--teal-primary);
}

.renew-sub {
  font-size: 1rem;
  color: var(--text-muted-dark);
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}

/* ─── CLINICAL LIST (bullet points, replaces pill badges) ─── */
.clinical-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.clinical-list-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-muted-light);
  line-height: 1.5;
}

.cli-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-primary);
  opacity: 0.85;
  display: inline-block;
}


/* ─── SPA FEATURES ─── */
.spa-features {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 2rem;
}

.spa-feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.92rem;
  color: var(--text-muted-dark);
  transition: color var(--transition-base);
}

.spa-feature:hover { color: var(--teal-primary); }

.spa-feature-icon {
  color: var(--teal-primary);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ─── COMMUNITY ─── */
.community {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  text-align: center;
}

.community-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.community-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 15, 0.82);
}

.community-content { position: relative; z-index: 2; }

.community-inner {
  max-width: 800px;
  margin: 0 auto;
}

.community-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted-dark);
  margin-bottom: 1.2rem;
}

.community-quote-wrap {
  margin: 2.5rem 0;
  padding: 2rem 3rem;
  border-left: 2px solid var(--teal-primary);
  background: rgba(25, 211, 197, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
}

.community-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.5;
  border: none;
}

.community-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-top: 3rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(25, 211, 197, 0.1);
}

/* ─── LOCATION / STATS ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: rgba(25, 211, 197, 0.1);
  border: 1px solid rgba(25, 211, 197, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--bg-dark-3);
  padding: 3rem 2rem;
  text-align: center;
  transition: background var(--transition-base);
}

.stat-card:hover { background: #142421; }

.stat-number {
  display: block;
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--teal-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.stat-euro { font-size: clamp(2.5rem, 4vw, 4rem); }

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

/* Timeline */
.timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--teal-primary);
  background: transparent;
  position: relative;
  transition: all var(--transition-base);
}

.timeline-dot.active {
  background: var(--teal-primary);
  box-shadow: 0 0 0 4px rgba(25, 211, 197, 0.2);
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: transparent;
  transition: background var(--transition-base);
}

.timeline-item:hover .timeline-dot { background: var(--teal-primary); }

.timeline-line {
  flex: 1;
  min-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-primary), rgba(25, 211, 197, 0.3));
  margin-bottom: 2.5rem;
}

.timeline-content { }

.timeline-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

/* Location cards */
.location-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

.location-card {
  padding: 2rem 1.8rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Glassmorphism */
.glass {
  background: rgba(25, 211, 197, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(25, 211, 197, 0.15);
}

.glass:hover {
  background: rgba(25, 211, 197, 0.1);
  border-color: rgba(25, 211, 197, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal);
}

.location-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-primary);
  opacity: 0.9;
}

.location-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--teal-primary);
}

.location-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.location-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted-dark);
}

/* ─── CONTACT ─── */
.contact {
  padding: var(--section-pad) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.6;
  transition: color var(--transition-base);
}

a.contact-item:hover { color: var(--teal-dark); }

.contact-icon {
  font-size: 1rem;
  color: var(--teal-dark);
  margin-top: 1px;
  flex-shrink: 0;
}

/* Contact form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light-2);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(25, 211, 197, 0.12);
  background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(15, 31, 29, 0.35);
}

.form-success {
  display: none;
  margin-top: 1.2rem;
  padding: 14px 20px;
  background: rgba(25, 211, 197, 0.1);
  border: 1px solid rgba(25, 211, 197, 0.3);
  border-radius: var(--radius-sm);
  color: var(--teal-darker);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-success.shown { display: block; }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(25, 211, 197, 0.1);
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1.2rem;
  filter: none;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted-dark);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(25, 211, 197, 0.2);
  border-radius: 50%;
  color: var(--text-muted-dark);
  transition: all var(--transition-base);
}

.social-link:hover {
  border-color: var(--teal-primary);
  color: var(--teal-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(25, 211, 197, 0.2);
}

.social-link svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 1.2rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li,
.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--text-muted-dark);
  transition: color var(--transition-base);
}

.footer-col ul li a:hover { color: var(--teal-primary); }

.footer-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(240, 245, 244, 0.35);
}

.footer-copy strong { color: var(--teal-primary); font-weight: 500; }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(240, 245, 244, 0.35);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover { color: var(--teal-primary); }

/* ─── DECORATIVE BLOB ─── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ─── RESPONSIVE ─── */

/* ═══════════════════════════════════════════
   RESPONSIVE SYSTEM
   Breakpoints:
   xl  : 1200px  – wide desktop adjustments
   lg  : 1024px  – hamburger nav kicks in (logo kept full size)
   md  : 900px   – stacked layouts
   sm  : 768px   – tablet / large phone
   xs  : 480px   – small phone
   xxs : 360px   – very small phone
═══════════════════════════════════════════ */

/* ─── XL: ≤1200px ─── */
@media (max-width: 1200px) {
  .contact-inner { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ─── LG: ≤1100px ─── */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ─── NAV HAMBURGER: ≤1024px ─── */
/*
   Logo is NEVER scaled down. As soon as nav links
   would need to shrink the logo, we collapse to hamburger.
*/
@media (max-width: 1024px) {
  .nav-inner { padding: 0 20px; }

  /* Hide full link list – show as slide-down panel when open */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(6, 16, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.75rem 2rem;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity   0.35s ease;
    z-index: 999;
    border-bottom: 1px solid rgba(25, 211, 197, 0.12);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* Individual link items – full-width rows */
  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links li:last-child { border-bottom: none; }

  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 0.85rem;
    opacity: 1;
  }

  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    padding: 14px 24px;
    border-radius: 100px;
  }

  /* Show hamburger */
  .nav-toggle { display: flex; }
}

/* ─── MD: ≤900px ─── */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }

  /* Split layouts → single column */
  .split-container {
    grid-template-columns: 1fr;
  }
  .split-container.reversed { direction: ltr; }
  .split-image { min-height: 300px; }
  .split-content {
    padding: 56px 32px;
    max-width: 100%;
  }
  .section-body { max-width: 100%; }

  /* Contact stacked */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Location cards → single column, centered */
  .location-info {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .location-card {
    max-width: 420px;
    width: 100%;
  }

  /* Timeline → vertical */
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .timeline-item { flex-direction: row; align-items: flex-start; gap: 1.2rem; }
  .timeline-line {
    width: 1px;
    min-width: 0;
    height: 50px;
    background: linear-gradient(to bottom, var(--teal-primary), rgba(25, 211, 197, 0.2));
    margin: 0 0 0 7px;
  }

  /* Community image */
  .community-img { margin-top: 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── SM: ≤768px ─── */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --nav-height: 70px;
  }

  .container { padding: 0 20px; }

  /* ── Hero ── */
  .hero { min-height: 100svh; }
  #logo-3d-container { width: 160px; height: 175px; }
  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .hero-eyebrow { font-size: 0.65rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .btn { padding: 13px 28px; font-size: 0.78rem; }

  /* ── Intro ── */
  .intro-quote {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
    padding: 0 8px;
  }
  .intro-sub { font-size: 0.95rem; padding: 0 4px; }

  /* ── Headings ── */
  .section-heading { font-size: clamp(1.7rem, 5.5vw, 2.4rem); }
  .section-label   { font-size: 0.65rem; }
  .section-intro   { font-size: 0.95rem; }

  /* ── Split content ── */
  .split-content { padding: 44px 20px; }
  .split-image   { min-height: 260px; }

  /* ── Pillars ── */
  .pillars-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pillar-card  { padding: 2rem 1.5rem; }
  .section-header { margin-bottom: 2.5rem; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card  { padding: 1.75rem 1rem; }
  .stat-number { font-size: clamp(2.4rem, 8vw, 3.5rem); }

  /* ── Location cards ── */
  .location-info { gap: 1rem; }
  .location-card { padding: 1.75rem 1.5rem; }

  /* ── Renew section ── */
  .renew-quote { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .renew-sub   { font-size: 0.85rem; }

  /* ── Community ── */
  .community-quote-wrap { padding: 1.5rem; margin: 1.5rem 0; }

  /* ── Contact ── */
  .contact-form { padding: 2rem 1.5rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }

  /* Badges */
  .clinical-badges { grid-template-columns: 1fr 1fr; }

  /* Spa features */
  .spa-features { grid-template-columns: 1fr; }
}

/* ─── XS: ≤480px ─── */
@media (max-width: 480px) {
  :root { --section-pad: 52px; }

  .container { padding: 0 16px; }

  /* Hero – very small */
  #logo-3d-container { width: 130px; height: 145px; }
  .hero-title { font-size: 1.95rem; }
  .hero-subtitle { font-size: 0.85rem; }
  .scroll-indicator { display: none; }

  /* Stats – 1 col on very small */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-number { font-size: 2.4rem; }
  .stat-euro   { font-size: 2rem; }

  /* Intro */
  .intro-quote { font-size: 1.65rem; }

  /* Renew */
  .renew-quote { font-size: 1.75rem; }

  /* Pillars – compact */
  .pillar-card { padding: 1.75rem 1.25rem; }
  .pillar-icon { width: 52px; height: 52px; margin-bottom: 1rem; }

  /* Headings */
  .section-heading { font-size: 1.7rem; }

  /* Contact form */
  .contact-form { padding: 1.5rem 1.1rem; }
  .form-group input, .form-group textarea { padding: 11px 14px; }

  /* Location 1-col always, centered */
  .location-info { grid-template-columns: 1fr; justify-items: center; }
  .location-card { max-width: 380px; }

  /* Badges 1-col */
  .clinical-badges { grid-template-columns: 1fr; }

  /* Footer */
  .footer-logo { height: 40px; }
}

/* ─── XXS: ≤360px ─── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.75rem; }
  .stat-number { font-size: 2rem; }
  .section-heading { font-size: 1.55rem; }
  .nav-inner { padding: 0 14px; }
  #logo-3d-container { width: 110px; height: 120px; }
}

/* ─── LOADING STATE ─── */
.page-loaded .reveal-up,
.page-loaded .reveal-left,
.page-loaded .reveal-right {
  transition-duration: 0.9s;
}

/* ─── SMOOTH SECTION TRANSITIONS ─── */
section { position: relative; }

/* ─── FOCUS STATES (ACCESSIBILITY) ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal-primary);
  outline-offset: 3px;
}

