/* -------------------------------------------------------------
 * Brand Palette Variables (Tranberg Institut AB)
 * ------------------------------------------------------------- */
:root {
  --color-primary: #26332B;            /* Primary dark forest green */
  --color-secondary-1: #6E7168;        /* Secondary gray-green */
  --color-secondary-2: #8B9886;        /* Secondary light sage */
  --color-accent: #B28C5A;             /* Warm gold accent */
  --color-background: #F5F3EE;        /* Light beige background */
  
  /* Legacy Color Fallbacks */
  --color-forest-stone: var(--color-primary);
  --color-patinated-brass: var(--color-accent);
  --color-limestone: var(--color-background);
  --color-granite-moss: var(--color-secondary-1);
  --color-soft-moss: var(--color-secondary-2);
  --color-wine-red: var(--color-accent);
  --color-dark-text: var(--color-primary);
  --color-brass-hover: #9E7A4A;
  
  --color-white: #ffffff;
  --color-text: #26332B;               /* Primary text color */
  --color-border: rgba(38, 51, 43, 0.12);
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 12px;
}

/* -------------------------------------------------------------
 * Reset & Base Styling
 * ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-background);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary-1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  font-weight: 300;
  color: rgba(44, 47, 45, 0.85);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Helper Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

.alt-bg {
  background-color: #EAE4DB;    /* Varm ton något mörkare än limestone */
}

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

.section-tagline {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--color-patinated-brass);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 4rem auto;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-granite-moss);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Grid & Flex */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

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

/* -------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(38, 51, 43, 0.04);
}

.btn-primary {
  background-color: var(--color-patinated-brass);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-brass-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 140, 90, 0.3);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-forest-stone);
  color: var(--color-forest-stone);
}

.btn-secondary:hover {
  background-color: var(--color-forest-stone);
  color: var(--color-limestone);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.05rem;
}

/* -------------------------------------------------------------
 * Header & Navigation
 * ------------------------------------------------------------- */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-primary); /* Dark forest green header */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
  display: flex;
  justify-content: center;
}

#main-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(38, 51, 43, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 1.2rem 2rem;
  gap: 2rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
.logo-area::after {
  content: none;
  display: none;
}


.logo-svg {
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.logo-area:hover .logo-svg {
  transform: rotate(15deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--color-background); /* Limestone/Light text */
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-accent); /* Gold text */
}

.nav-menu {
  flex-shrink: 0;
}

/* Navigation Links */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-background); /* Limestone link color */
  opacity: 0.85;
  position: relative;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* Ensure adequate tap target height */
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-patinated-brass);
  transition: var(--transition-smooth);
}

.nav-menu a:hover,
.nav-menu a.active-nav-item {
  opacity: 1;
  color: var(--color-patinated-brass);
}

.nav-menu a:hover::after,
.nav-menu a.active-nav-item::after {
  width: 100%;
}

/* Chevron & Dropdown Indicator styling */
.chevron-icon {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  vertical-align: middle;
}

.dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.dropdown.active .chevron-icon {
  transform: rotate(180deg);
}

/* Media query for medium desktops/tablets to prevent nav menu items from overlapping or squishing the logo */
@media (min-width: 1201px) and (max-width: 1440px) {
  #main-header {
    justify-content: flex-start;
  }
  .header-container {
    padding: 0.8rem 0.4rem;
    gap: 0.8rem;
    margin-left: 0;
    margin-right: auto;
}
}
  .logo-svg {
    width: 36px;
    height: 36px;
  }
  .logo-title {
    font-size: 1.1rem;
  }
  .logo-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }
  .nav-menu ul {
    gap: 0.7rem;
  }
  .nav-menu a {
    font-size: 0.70rem;
    letter-spacing: 0.035em;
  }
  .chevron-icon {
    margin-left: 3px;
    width: 9px;
    height: 9px;
  }
  .nav-btn-cta {
    padding: 0.4rem 0.9rem !important;
  }
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

/* -------------------------------------------------------------
 * Hero Section
 * ------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('assets/hero_forest.jpg');
  background-size: cover;
  background-position: center 30%;
  color: var(--color-forest-stone);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Ljust, varmt overlay – låter bilden andas men säkerställer läsbarhet */
  background: linear-gradient(
    160deg,
    rgba(242, 237, 230, 0.82) 0%,
    rgba(242, 237, 230, 0.60) 45%,
    rgba(31, 45, 38, 0.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 4rem;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(200, 154, 91, 0.15);
  border: 1px solid rgba(200, 154, 91, 0.45);
  color: var(--color-patinated-brass);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}

.hero-title {
  color: var(--color-forest-stone);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(242, 237, 230, 0.5);
}

.hero-lead {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  color: rgba(31, 45, 38, 0.82);
  margin-bottom: 3rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-actions .btn-secondary {
  border-color: var(--color-forest-stone);
  color: var(--color-forest-stone);
}

.hero-actions .btn-secondary:hover {
  background-color: var(--color-forest-stone);
  color: var(--color-limestone);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-granite-moss);
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--color-granite-moss);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-icon .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-granite-moss);
  border-radius: 2px;
  animation: scroll-wheel 1.6s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  80% { transform: translateY(8px); opacity: 0; }
  100% { opacity: 0; }
}

/* -------------------------------------------------------------
 * Philosophy Section & Core Values
 * ------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.value-card {
  background-color: var(--color-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(38, 51, 43, 0.02);
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(38, 51, 43, 0.06);
  border-color: rgba(178, 140, 90, 0.3);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.price-card {
  background-color: var(--color-white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(38, 51, 43, 0.02);
  transition: var(--transition-smooth);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(38, 51, 43, 0.06);
  border-color: rgba(178, 140, 90, 0.2);
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.price-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.price-card .price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-patinated-brass);
  margin-top: 0.5rem;
}

.value-icon {
  color: var(--color-accent);
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* -------------------------------------------------------------
 * Treatments Section
 * ------------------------------------------------------------- */
.treatment-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
}

.treatment-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
  box-shadow: 0 10px 40px rgba(38, 51, 43, 0.08);
  object-fit: cover;
  aspect-ratio: 4/3;
  position: relative;
  z-index: 2;
}

.image-accent-border {
  position: absolute;
  top: 20px;
  left: -20px;
  right: 20px;
  bottom: -20px;
  border: 1.5px solid var(--color-patinated-brass);
  border-radius: var(--border-radius);
  z-index: 1;
}

.treatment-list {
  margin: 2.5rem 0 3.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.treatment-item {
  border-left: 2px solid var(--color-soft-moss);
  padding-left: 1.5rem;
}

.treatment-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.treatment-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* -------------------------------------------------------------
 * Booking Portal
 * ------------------------------------------------------------- */
.glassmorphism {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(38, 51, 43, 0.05);
}

.booking-container {
  border-radius: 20px;
  padding: 3.5rem;
  margin-top: 2rem;
}

.booking-header-selection {
  margin-bottom: 2.5rem;
}

.selection-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

@media (max-width: 720px) {
  .selection-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  transition: var(--transition-smooth);
}

.booking-grid.disabled {
  opacity: 0.15;
  pointer-events: none;
  filter: blur(1px);
}

.booking-step-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-forest-stone);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.8rem;
}

/* Datepicker & Calendar styles */
.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-forest-stone);
}

.calendar-nav-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-patinated-brass);
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
  transition: var(--transition-smooth);
}

.calendar-nav-btn:hover {
  color: var(--color-forest-stone);
  transform: scale(1.15);
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-granite-moss);
  margin-bottom: 1rem;
}

.calendar-grid-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
}

.calendar-day-btn {
  aspect-ratio: 1.2;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
  position: relative;
}

.calendar-day-btn:hover:not(:disabled) {
  background-color: var(--color-white);
  border-color: var(--color-patinated-brass);
  box-shadow: 0 4px 10px rgba(38, 51, 43, 0.05);
}

.calendar-day-btn.selected {
  background-color: var(--color-forest-stone);
  border-color: var(--color-forest-stone);
  color: var(--color-white);
}

.calendar-day-btn.selected .day-status-dot {
  background-color: var(--color-patinated-brass);
}

.calendar-day-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background-color: transparent;
}

.day-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 4px;
}

.day-status-dot.available {
  background-color: #4A7C59;
}

.day-status-dot.unavailable {
  background-color: #B85A5A;
}

.calendar-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-granite-moss);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.available { background-color: #4A7C59; }
.dot.unavailable { background-color: #B85A5A; }

/* Timeslots Grid */
.selected-date-display {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-granite-moss);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.timeslots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.timeslots-grid.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
}

.helper-text {
  font-size: 0.9rem;
  color: var(--color-granite-moss);
  text-align: center;
}

.timeslot-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.timeslot-btn:hover:not(:disabled) {
  background-color: var(--color-white);
  border-color: var(--color-patinated-brass);
}

.timeslot-btn.selected {
  background-color: var(--color-patinated-brass);
  color: var(--color-white);
  border-color: var(--color-patinated-brass);
}

.timeslot-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: rgba(110, 113, 104, 0.05);
}

.slot-status {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeslot-btn.selected .slot-status {
  color: var(--color-limestone);
}

/* Booking Form */
.booking-form-wrapper {
  transition: var(--transition-smooth);
  position: relative;
}

.booking-form-wrapper.disabled {
  opacity: 0.15;
  pointer-events: none;
  filter: blur(1px);
}

.form-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 3.5rem 0;
}

.form-helper {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--color-granite-moss);
}

.form-helper strong {
  color: var(--color-patinated-brass);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-forest-stone);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark-text);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-patinated-brass);
  box-shadow: 0 0 0 4px rgba(178, 140, 90, 0.1);
}

.form-checkbox-group {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.form-checkbox-group input {
  margin-top: 0.3rem;
  cursor: pointer;
  accent-color: var(--color-patinated-brass);
}

.form-checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-granite-moss);
  cursor: pointer;
}

/* Submission Status Overlay */
.status-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(4px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
}

.status-box {
  text-align: center;
  padding: 2.5rem;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(38, 51, 43, 0.08);
  max-width: 380px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(178, 140, 90, 0.2);
  border-top-color: var(--color-patinated-brass);
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#status-title {
  margin-bottom: 0.5rem;
}

#status-desc {
  font-size: 0.85rem;
  color: var(--color-granite-moss);
  margin-bottom: 0;
}

/* Success Card */
.booking-success {
  text-align: center;
  padding: 2rem 0;
  animation: fade-in-scale 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.booking-success h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.success-details {
  background-color: rgba(110, 113, 104, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.8rem;
  max-width: 450px;
  margin: 2rem auto;
  text-align: left;
}

.success-details p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.success-details p:last-child {
  margin-bottom: 0;
}

.encryption-notice {
  font-size: 0.85rem;
  color: var(--color-granite-moss);
  background-color: rgba(74, 124, 89, 0.08);
  border: 1.5px solid rgba(74, 124, 89, 0.25);
  color: #3b5f45;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  max-width: 500px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.5;
}

/* Hidden elements helper */
.hidden {
  display: none !important;
}

/* -------------------------------------------------------------
 * Footer & Contacts
 * ------------------------------------------------------------- */
.contact-footer {
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr;
  gap: 5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-logo svg {
  color: var(--color-primary);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-patinated-brass);
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 380px;
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-forest-stone);
  margin-bottom: 2rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--color-dark-text);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-patinated-brass);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.footer-contact a:hover {
  color: var(--color-patinated-brass);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  font-size: 0.82rem;
  color: var(--color-granite-moss);
}

.footer-bottom a:hover {
  color: var(--color-patinated-brass);
}

/* -------------------------------------------------------------
 * GDPR Modal Dialog
 * ------------------------------------------------------------- */
.gdpr-dialog-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: var(--border-radius);
  max-width: 580px;
  width: calc(100% - 2rem);
  padding: 3rem;
  background-color: var(--color-limestone);
  box-shadow: 0 20px 60px rgba(38, 51, 43, 0.2);
  outline: none;
  z-index: 1100;
}

.gdpr-dialog-box::backdrop {
  background-color: rgba(38, 51, 43, 0.6);
  backdrop-filter: blur(4px);
}

.dialog-content h3 {
  margin-bottom: 1.5rem;
}

.dialog-content h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  margin: 1.5rem 0 0.8rem 0;
  color: var(--color-forest-stone);
}

.dialog-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dialog-content li {
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.dialog-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-patinated-brass);
  font-weight: bold;
}

/* -------------------------------------------------------------
 * Responsive Layouts & Animations
 * ------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1200px) {
  .section-padding {
    padding: 5rem 0;
  }
  
  .header-container {
    padding: 1rem 2rem;
  }

  /* Logo adjustment on mobile */
  .logo-title {
    font-size: 1.15rem;
  }
  .logo-subtitle {
    font-size: 0.6rem;
  }
  .logo-svg {
    width: 40px;
    height: 40px;
  }
  
  /* Mobile Menu */
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-background); /* Light beige line */
    position: relative;
    transition: background-color 0.3s;
  }
  
  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-background); /* Light beige lines */
    transition: transform 0.3s, background-color 0.3s;
  }
  
  .hamburger::before { top: -8px; }
  .hamburger::after { top: 8px; }
  
  .mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
  }
  
  .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translateY(6px) translateX(6px);
    background-color: var(--color-limestone);
  }
  
  .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translateY(-6px) translateX(6px);
    background-color: var(--color-limestone);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-forest-stone);
    box-shadow: -10px 0 40px rgba(38, 51, 43, 0.25);
    padding: 8rem 2.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-limestone);
    opacity: 0.9;
    border-bottom: 1px solid rgba(245, 243, 238, 0.08);
    padding-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: none;
    letter-spacing: 0.02em;
  }

  .nav-menu a::after {
    display: none !important;
  }

  .nav-menu a:hover,
  .nav-menu a.active-nav-item {
    color: var(--color-patinated-brass) !important;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  /* Hero adjustment */
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .booking-container {
    padding: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .flex-space-between {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .image-accent-border {
    display: none;
  }
}

/* -------------------------------------------------------------
 * Dropdown Navigation (Academy Subpages)
 * ------------------------------------------------------------- */
.nav-menu li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.96);
  background-color: rgba(245, 243, 238, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(110, 113, 104, 0.12);
  box-shadow: 0 15px 35px rgba(38, 51, 43, 0.08);
  border-radius: 10px;
  min-width: 240px;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 100;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.8rem;
  font-size: 0.875rem;
  color: var(--color-primary);
  opacity: 0.85;
  width: 100%;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, background-color 0.3s ease;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background-color: rgba(110, 113, 104, 0.06);
  color: var(--color-wine-red);
  opacity: 1;
  padding-left: 2.1rem;
}

/* Hover triggering on desktop */
@media (min-width: 1201px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Active Navigation Item highlights */
.active-nav-item {
  color: var(--color-wine-red) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* Header Booking CTA Button style */
.nav-btn-cta {
  background-color: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  opacity: 1 !important;
  box-shadow: 0 4px 10px rgba(178, 140, 90, 0.15);
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem !important;
  transition: var(--transition-smooth);
}

.nav-btn-cta:hover {
  background-color: #9E7A4A !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(178, 140, 90, 0.35);
}

.nav-btn-cta::after {
  display: none !important;
}

/* Mobile dropdown handling overrides */
@media (max-width: 1200px) {
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background-color: transparent;
    padding: 0.5rem 0 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 350px;
    opacity: 1;
    pointer-events: auto;
    gap: 0.6rem !important;
  }
  
  .dropdown-menu a {
    padding: 0.5rem 0;
    color: rgba(245, 243, 238, 0.75);
    font-size: 1rem;
    border-bottom: none;
  }

  .dropdown-menu a:hover {
    color: var(--color-patinated-brass) !important;
    padding-left: 0;
  }

  .nav-menu .nav-btn-cta {
    background-color: var(--color-accent) !important;
    color: var(--color-white) !important;
    padding: 0.8rem 2rem !important;
    margin-top: 1.5rem;
    text-align: center;
    border-radius: 50px;
    font-size: 1.1rem !important;
    text-transform: none;
    letter-spacing: normal;
    display: block;
    box-shadow: 0 4px 12px rgba(178, 140, 90, 0.2);
  }
}

/* -------------------------------------------------------------
 * Subpage Base Layouts (Academy & Treatments)
 * ------------------------------------------------------------- */
.subpage-hero {
  background-color: var(--color-forest-stone);
  color: var(--color-limestone);
  padding: 11rem 0 7rem 0;
  position: relative;
  overflow: hidden;
}

.subpage-hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.subpage-hero-lead {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-soft-moss);
  max-width: 720px;
  line-height: 1.5;
}

.content-grid {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr;
  gap: 5rem;
}

.rich-text {
  font-size: 1.05rem;
  line-height: 1.75;
}

.rich-text p {
  margin-bottom: 1.8rem;
}

.rich-text h3 {
  font-size: 1.6rem;
  margin: 3rem 0 1.2rem 0;
}

.rich-text h4 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-forest-stone);
  margin: 2rem 0 0.8rem 0;
}

.rich-text blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-granite-moss);
}

/* Premium Lists */
.rich-text ul, .rich-text ol {
  margin: 1.5rem 0 2rem 1.5rem;
}

.rich-text li {
  margin-bottom: 0.8rem;
  font-weight: 300;
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px rgba(38, 51, 43, 0.01);
}

.sidebar-widget h4 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 0.8rem;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 1rem;
}

.sidebar-links a {
  display: block;
  font-size: 0.95rem;
  color: var(--color-dark-text);
  opacity: 0.85;
}

.sidebar-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

/* -------------------------------------------------------------
 * Article Cards & Kunskapsbank Grid
 * ------------------------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
}

.article-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(38, 51, 43, 0.01);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(38, 51, 43, 0.05);
  border-color: rgba(178, 140, 90, 0.3);
}

.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

.article-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.article-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: rgba(44, 47, 45, 0.8);
}

.article-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-forest-stone);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-link:hover {
  color: var(--color-accent);
}

/* -------------------------------------------------------------
 * Education Details Layout
 * ------------------------------------------------------------- */
.education-details {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 4px 20px rgba(38, 51, 43, 0.01);
}

.education-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.education-meta-table td {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.education-meta-table td:first-child {
  font-weight: 500;
  color: var(--color-forest-stone);
  width: 30%;
}

.education-meta-table td:last-child {
  color: var(--color-dark-text);
  font-weight: 300;
}

/* Responsive fixes for subpages */
@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* -------------------------------------------------------------
 * 11. Homepage Redesign & Mobile First Layouts (Brand Book 1.0)
 * ------------------------------------------------------------- */

/* Split-Hero Layout (Mobile First) */
.hero-split-section {
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  min-height: 100vh;
  padding-top: 5rem; /* Header clearance */
}

.hero-split-text-panel {
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  background-color: var(--color-background);
  flex: 1;
}

.hero-text-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero-split-image-panel {
  flex: 1;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.hero-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop adaptation for Split-Hero */
@media (min-width: 992px) {
  .hero-split-section {
    flex-direction: row;
    padding-top: 0;
    height: 100vh;
  }
  
  .hero-split-text-panel {
    flex: 1.1;
    padding: 8rem 4rem 4rem 6rem;
  }
  
  .hero-split-image-panel {
    flex: 0.9;
    height: 100vh;
  }
  
  .hero-split-img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* Introduction Section Style */
.serif-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 2rem;
  font-weight: 400;
}

.lead-paragraph {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--color-primary);
}

.text-link-gold {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.text-link-gold:hover {
  color: var(--color-primary);
}

/* Clean Values Grid (Replacement for value cards with heavy shadows) */
.values-clean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3.5rem;
  margin-top: 4rem;
}

.value-item {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  transition: var(--transition-smooth);
}

.value-item:hover {
  border-top-color: var(--color-accent);
  transform: translateY(-2px);
}

.value-item-icon {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.value-item h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.value-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(38, 51, 43, 0.8);
}

/* Minimalist Treatments Grid */
.treatments-minimal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.treatment-card-link {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.treatment-card-link:hover {
  background-color: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(38, 51, 43, 0.03);
}

.treatment-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.treatment-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--color-primary);
}

.treatment-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
  color: rgba(38, 51, 43, 0.8);
}

.card-action-arrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.treatment-card-link:hover .card-action-arrow {
  color: var(--color-primary);
  padding-left: 4px;
}

/* About Christer Section */
.christer-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 15px 45px rgba(38, 51, 43, 0.08);
  position: relative;
  z-index: 2;
}

.christer-lead {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--color-accent);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.signature-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-top: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  display: inline-block;
}

/* Testimonial Quote styling */
.testimonial-blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-primary);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  font-weight: 400;
}

.testimonial-blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-top: 2rem;
}

/* General Layout adjustments */
.button-spacer {
  margin-top: 2rem;
}

.wellness-img, .education-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(38, 51, 43, 0.05);
}

.wellness-image-wrapper, .education-image-wrapper {
  position: relative;
}

