@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Editorial Color Palette */
  --bg-primary: #faf9f6;        /* Luxury warm linen/alabaster */
  --bg-secondary: #ffffff;      /* Pure white for containers */
  --color-dark: #111520;        /* Deep midnight slate for absolute contrast */
  --color-text: #4e5768;        /* Soft charcoal slate for text readability */
  --color-gray-100: #f5f4f0;    /* Warm beige tint */
  --color-gray-200: #ebeae4;    /* Deeper linen border */
  --color-gray-500: #7d889b;
  
  /* Brand Identity */
  --primary-color: #516393;     /* Muted slate blue */
  --primary-light: #6c7ea8;
  --primary-dark: #37476e;
  --secondary-color: #b1a6a6;   /* Warm stone taupe */
  --accent-color: #cf9e82;      /* Sophisticated Rose Gold / Blush Sand */
  --accent-light: #fbf2ed;      /* Very soft blush rose tint */
  --accent-dark: #b07c5e;       /* Deep rose gold / bronze-blush shadow */
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Glassmorphism & Shadow Accents */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(196, 177, 140, 0.2);
  --shadow-sm: 0 4px 16px rgba(17, 21, 32, 0.02);
  --shadow-md: 0 16px 40px rgba(81, 99, 147, 0.05);
  --shadow-lg: 0 30px 60px rgba(81, 99, 147, 0.09);
  
  /* Layout Settings */
  --border-radius-sm: 4px;      /* Sharp, editorial borders */
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  
  --header-height: 90px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
}

/* Ambient Blurs with floating keyframe animation */
.bg-blur {
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -2;
  opacity: 0.12;
  pointer-events: none;
  animation: float-pulse 15s infinite ease-in-out;
}

.bg-blur-1 {
  background-color: var(--primary-color);
  top: -15vw;
  right: -10vw;
  animation-delay: 0s;
}

.bg-blur-2 {
  background-color: var(--accent-color);
  bottom: -10vw;
  left: -15vw;
  animation-delay: 3s;
}

.bg-blur-3 {
  background-color: var(--secondary-color);
  top: 35%;
  left: 45%;
  width: 35vw;
  height: 35vw;
  animation-delay: 6s;
}

@keyframes float-pulse {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, -6%) scale(1.08); }
  66% { transform: translate(-3%, 4%) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-dark);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 4rem;
  font-weight: 300;
}

h1 em, h2 em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--accent-dark);
  font-weight: 300;
}

h2 {
  font-size: 2.8rem;
  font-weight: 300;
  position: relative;
  padding-bottom: 1.5rem;
}

/* Elegant luxury underline */
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 1px;
  background-color: var(--accent-color);
}

h3 {
  font-size: 2rem;
  font-weight: 400;
}

h4 {
  font-size: 1.45rem;
  font-weight: 400;
}

p {
  margin-bottom: 1.5rem;
}

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

strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* ==========================================
   BUTTONS (LUXURY BRANDING STYLE)
   ========================================== */
button, .btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1.1rem 2.25rem;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-dark);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(17, 21, 32, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(81, 99, 147, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
}

.btn-secondary:hover {
  background-color: var(--color-dark);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* ==========================================
   CONTAINERS & LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

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

.title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================
   HEADER & NAVIGATION (GLASSMORPHISM)
   ========================================== */
.wpbf-page-header {
  height: var(--header-height);
  background-color: rgba(250, 249, 246, 0.7);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.wpbf-page-header.is-sticky {
  height: 75px;
  background-color: rgba(250, 249, 246, 0.85);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-wrapper img {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

.wpbf-page-header.is-sticky .logo-wrapper img {
  height: 40px;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  color: var(--color-dark);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  padding: 0.8rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: var(--transition-fast);
}

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

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--accent-dark);
}

.dropdown-icon {
  width: 10px;
  height: 10px;
  margin-left: 0.25rem;
  display: inline-block;
  vertical-align: middle;
  transition: var(--transition-fast);
}

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

/* Dropdowns (Luxury Minimalist styling) */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  min-width: 250px;
  padding: 1rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 100;
}

.dropdown-submenu .nav-dropdown {
  left: 100%;
  top: 0;
  transform: translateY(0) translateX(10px);
}

.dropdown-submenu:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(0);
}

.nav-item:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 2rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text);
  transition: var(--transition-fast);
}

.dropdown-item a:hover {
  background-color: var(--color-gray-100);
  color: var(--color-dark);
  padding-left: 2.25rem;
}

/* Dynamic header border overlay */
.nav-cta-btn {
  background-color: var(--color-dark);
  color: var(--bg-primary) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
}

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

.nav-cta-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: var(--color-dark);
  transition: var(--transition-fast);
}

/* Mobile Fullscreen Menu with Editorial Gold Numbers */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-nav-menu.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-list {
  list-style: none;
  text-align: left;
  width: 80%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem 0;
  counter-reset: menu-counter;
}

.mobile-menu-item {
  margin: 1.5rem 0;
  border-bottom: 1px solid var(--color-gray-200);
  padding-bottom: 0.5rem;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-dark);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.mobile-menu-link::before {
  counter-increment: menu-counter;
  content: "0" counter(menu-counter) ".";
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--accent-color);
  margin-right: 1.5rem;
  letter-spacing: 1px;
}

.mobile-menu-link:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.mobile-nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   HERO BANNER (LUXURY EDITORIAL)
   ========================================== */
.hero-section {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  max-height: 800px;
  background-color: var(--color-dark);
  margin-top: var(--header-height);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(81, 99, 147, 0.4) 0%, rgba(17, 21, 32, 0.98) 100%);
}

.hero-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 25%, rgba(196, 177, 140, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  color: var(--bg-primary);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--bg-primary);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s;
  animation-fill-mode: both;
}

.hero-description {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 3rem;
  line-height: 1.9;
  color: rgba(250, 249, 246, 0.8);
  animation: fadeInUp 0.8s ease 0.4s;
  animation-fill-mode: both;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease 0.6s;
  animation-fill-mode: both;
  display: flex;
  gap: 1.25rem;
}

.hero-buttons .btn-secondary {
  color: var(--bg-primary);
  border-color: rgba(250, 249, 246, 0.4);
}

.hero-buttons .btn-secondary:hover {
  background-color: var(--bg-primary);
  color: var(--color-dark);
}

/* ==========================================
   LOCATION SECTION
   ========================================== */
.location-section {
  background-color: transparent;
  padding-bottom: 7rem;
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}

.location-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 177, 140, 0.4);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-gray-200);
  padding-bottom: 1.25rem;
}

.location-icon-wrapper {
  color: var(--accent-dark);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.location-title {
  margin-bottom: 0;
  font-size: 2.2rem;
  font-weight: 300;
}

.location-details {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.detail-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
  margin-top: 3px;
}

.location-action-btn {
  width: 100%;
  text-align: center;
}

/* ==========================================
   ABOUT US SECTION (UNSER INSTITUT)
   ========================================== */
.about-section {
  background-color: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.about-content {
  padding-right: 1.5rem;
}

.about-p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-p-highlight {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--color-dark);
  font-family: var(--font-serif);
  line-height: 1.6;
}

.about-contact-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 400;
  margin-top: 3rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-placeholder {
  width: 100%;
  height: 520px;
  background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--secondary-color) 100%);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-color);
  border-radius: var(--border-radius-sm);
  z-index: -1;
  pointer-events: none;
}

/* ==========================================
   TREATMENTS SECTION
   ========================================== */
.treatments-section {
  background-color: transparent;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 5rem;
}

.treatment-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 177, 140, 0.4);
}

.treatment-icon-box {
  width: 72px;
  height: 72px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-gray-200);
  color: var(--accent-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.treatment-card:hover .treatment-icon-box {
  background-color: var(--color-dark);
  color: var(--bg-primary);
  border-color: var(--color-dark);
  transform: scale(1.05);
}

.treatment-title {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.treatment-desc {
  font-size: 0.92rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  flex-grow: 1;
}

.treatment-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.treatment-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark);
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.treatment-link:hover {
  background-color: var(--color-dark);
  color: var(--bg-primary);
  border-color: var(--color-dark);
}

/* Callout CTA Banner */
.treatments-cta {
  margin-top: 7rem;
  background: linear-gradient(135deg, var(--color-dark) 0%, rgba(30, 36, 51, 0.98) 100%);
  border-radius: var(--border-radius-sm);
  padding: 5rem;
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.treatments-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 10%, rgba(196, 177, 140, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.treatments-cta-content {
  max-width: 650px;
}

.treatments-cta h3 {
  color: var(--bg-primary);
  margin-bottom: 0.85rem;
  font-size: 2.5rem;
  font-weight: 300;
}

.treatments-cta p {
  color: rgba(250, 249, 246, 0.8);
  font-size: 1.15rem;
  font-weight: 300;
}

.treatments-cta-btn {
  background-color: var(--bg-primary);
  color: var(--color-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.treatments-cta-btn:hover {
  background-color: var(--accent-color);
  color: var(--color-dark);
  transform: translateY(-2px);
}

/* ==========================================
   NEWS SECTION (NEUESTE BEITRÄGE)
   ========================================== */
.news-section {
  background-color: transparent;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4.5rem;
}

.news-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 177, 140, 0.4);
}

.news-img-placeholder {
  height: 240px;
  background: linear-gradient(135deg, rgba(81, 99, 147, 0.05) 0%, rgba(196, 177, 140, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  position: relative;
}

.news-img-placeholder svg {
  width: 44px;
  height: 44px;
  opacity: 0.3;
  stroke-width: 1;
}

.news-body {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-dark);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.news-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1.75rem;
  line-height: 1.4;
  flex-grow: 1;
}

.news-title a:hover {
  color: var(--accent-dark);
}

.news-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.news-link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-fast);
}

.news-card:hover .news-link svg {
  transform: translateX(4px);
}

/* ==========================================
   SUBPAGE LAYOUT STYLING (MINIMALIST EDITORIAL)
   ========================================== */
.subpage-banner {
  background-color: var(--color-dark);
  padding: 10rem 0 6rem;
  color: var(--bg-primary);
  text-align: center;
  position: relative;
}

.subpage-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(81, 99, 147, 0.3) 0%, rgba(17, 21, 32, 0.98) 100%);
}

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

.subpage-banner-content h1 {
  color: var(--bg-primary);
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

/* Minimalist Accordion FAQ Layout */
.faq-accordion {
  max-width: 800px;
  margin: 4rem auto 0;
}

.faq-group {
  margin-bottom: 4rem;
}

.faq-group-title {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-gray-200);
  padding-bottom: 0.75rem;
}

.faq-item {
  background-color: transparent;
  border-bottom: 1px solid var(--color-gray-200);
  margin-bottom: 0;
  transition: var(--transition-smooth);
}

.faq-header {
  padding: 1.75rem 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--color-dark);
  transition: var(--transition-fast);
}

.faq-header:hover {
  color: var(--accent-dark);
}

.faq-chevron {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-dark);
}

.faq-content {
  padding: 0 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.8;
}

.faq-item.active .faq-content {
  padding: 0.5rem 0.5rem 2rem;
  max-height: 600px;
}

/* Custom Image handling in subpages */
.subpage-content img, .container img.about-image-placeholder {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin: 3rem 0;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   MINIMALIST PRICE TABLES
   ========================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 3rem 0;
}

th, td {
  padding: 1.4rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200);
}

th {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-dark);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--accent-color);
}

td {
  font-size: 0.98rem;
  color: var(--color-text);
}

tr:hover td {
  background-color: rgba(196, 177, 140, 0.05);
}

table a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 2px;
}

table a:hover {
  color: var(--color-dark);
  border-color: var(--color-dark);
}

td:last-child, th:last-child {
  text-align: right;
}

/* Generic List Styles in Scraped content */
.container ul, .container ol {
  margin: 2rem 0;
  padding-left: 2.25rem;
}

.container li {
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.8;
  position: relative;
  list-style: none;
}

.container ul li::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

/* ==========================================
   CONTACT DETAILS GRID
   ========================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-bottom: 5rem;
}

.contact-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius-sm);
  padding: 4rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-gray-200);
  padding-bottom: 1rem;
}

.contact-list {
  list-style: none;
}

.contact-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-list-item svg {
  color: var(--accent-dark);
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-hours {
  margin-top: 2rem;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.wpbf-page-footer {
  background-color: var(--color-dark);
  color: rgba(250, 249, 246, 0.7);
  padding: 7rem 0 4rem;
  border-top: 1px solid rgba(250, 249, 246, 0.08);
  font-size: 0.95rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-col-title {
  color: var(--bg-primary);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 1px;
  background-color: var(--accent-color);
}

.footer-about p {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
}

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

.footer-links-list li {
  margin-bottom: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--bg-primary);
  padding-left: 0.35rem;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact-info svg {
  color: var(--accent-color);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 1.5;
  margin-top: 3px;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(250, 249, 246, 0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

/* Keyword SEO tag cloud in footer */
.footer-tags {
  margin-top: 5rem;
  border-top: 1px solid rgba(250, 249, 246, 0.05);
  padding-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-tag-item {
  font-size: 0.78rem;
  background-color: rgba(250, 249, 246, 0.03);
  color: rgba(250, 249, 246, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(250, 249, 246, 0.03);
}

.footer-tag-item:hover {
  background-color: rgba(250, 249, 246, 0.08);
  color: var(--bg-primary);
  border-color: rgba(250, 249, 246, 0.08);
}

/* ==========================================
   COOKIE CONSENT BANNER (GLASSMORPHISM)
   ========================================== */
#cookie-law-info-bar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 440px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  z-index: 9999;
  display: none;
  animation: slideInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-content {
  margin-bottom: 1.75rem;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text);
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.cookie-btn {
  flex: 1;
  font-size: 0.78rem;
  padding: 0.85rem;
}

.cookie-btn-settings {
  background-color: var(--color-gray-100);
  color: var(--color-dark);
  border: 1px solid var(--color-gray-200);
}

.cookie-btn-settings:hover {
  background-color: var(--color-gray-200);
}

/* GDPR Settings Modal */
.cli-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 21, 32, 0.4);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.cli-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.cli-modal-dialog {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-sm);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  animation: scaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cli-modal-header {
  padding: 2rem;
  border-bottom: 1px solid var(--color-gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cli-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-gray-500);
}

.cli-modal-body {
  padding: 2rem;
}

.cli-tab-section {
  border-bottom: 1px solid var(--color-gray-100);
  padding: 1.5rem 0;
}

.cli-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.cli-tab-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-dark);
}

.cli-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.cli-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cli-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-gray-300);
  transition: .4s;
  border-radius: 24px;
}

.cli-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--bg-secondary);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cli-slider {
  background-color: var(--color-success);
}

input:checked + .cli-slider:before {
  transform: translateX(24px);
}

.cli-necessary-caption {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-success);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.wt-cli-cookie-description {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
}

.cli-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--color-gray-200);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================== */
@media (max-width: 1100px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.3rem; }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }
  
  .section-padding {
    padding: 5.5rem 0;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero-section {
    height: 540px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .location-section {
    margin-top: -80px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-image-wrapper {
    order: -1;
  }
  
  .about-image-placeholder {
    height: 380px;
  }
  
  .treatments-cta {
    flex-direction: column;
    text-align: center;
    padding: 3.5rem 2rem;
    gap: 2.5rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  #cookie-law-info-bar {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-card {
    padding: 2rem;
  }
  
  th, td {
    padding: 1rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* Footer List Overrides (Removes bullet offsets and gold dots) */
#footer .container ul, #footer .container ol {
  margin: 0 !important;
  padding-left: 0 !important;
}

#footer .container li {
  margin-bottom: 0.75rem !important;
  font-size: 0.95rem !important;
  list-style: none !important;
  padding-left: 0 !important;
}

#footer .container li::before {
  display: none !important;
}
