/*
Theme Name: Zahnteam Hoppe
Theme URI: https://zahnteamhoppe.de
Author: Zahnteam Hoppe
Description: Modernes, schnelles WordPress-Theme für die Zahnarztpraxis Zahnteam Hoppe in Memmingen. Optimiert für SEO, Mobilgeräte und einfache Inhaltspflege.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zahnteam-hoppe
Tags: dental, one-column, custom-menu, featured-images, translation-ready
*/

/* === CSS Custom Properties === */
:root {
  --color-primary: #e2a60d;
  --color-primary-dark: #b8820a;
  --color-primary-light: #fef8e7;
  --color-accent: #e2a60d;
  --color-accent-light: #fef8e7;
  --color-dark: #1a2332;
  --color-text: #2d3748;
  --color-text-light: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f6f0;
  --color-bg-warm: #fdfaf4;
  --color-border: #e8e0d0;
  --color-success: #10b981;
  --color-error: #ef4444;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --max-width: 1200px;
  --header-height: 92px;
  --sidebar-width: 320px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* === Utility === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 640px;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(226, 166, 13, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 166, 13, 0.45);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(226, 166, 13, 0.35);
}

.btn-accent:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #1a2332;
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* === Top Bar === */
.top-bar {
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
}

.top-bar a:hover {
  color: var(--color-accent);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

a.top-bar-item {
  color: inherit;
  text-decoration: none;
}

a.top-bar-item:hover {
  color: var(--color-primary);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

/* === Header === */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
}

.site-logo img {
  display: block;
  height: auto;
  max-height: 64px;
  width: auto;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
}

.site-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* === Navigation === */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav ul,
.main-nav li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  padding: 0.5rem 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
  list-style: none;
}

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

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  border-radius: 0;
}

.header-cta {
  margin-left: 0.5rem;
}

.header-cta .btn {
  color: #fff;
}

/* === Mobile Menu === */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: all var(--transition);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  left: 0;
  transition: inherit;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.menu-toggle.active span {
  background: transparent;
}

.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--color-dark);
}

.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--color-dark);
}

/* === Floating Sidebar === */
.floating-sidebar {
  position: fixed;
  right: var(--scrollbar-w, 0px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  width: 48px;
  overflow: hidden;
  transition: width var(--transition), background var(--transition);
  white-space: nowrap;
  border-left: none;
}

.floating-sidebar:hover .sidebar-item {
  width: 220px;
  color: #fff;
}

.sidebar-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.sidebar-item--phone {
  background: var(--color-primary);
  border-radius: var(--radius-sm) 0 0 0;
}

.sidebar-item--phone:hover { background: var(--color-primary-dark); }

.sidebar-item--booking {
  background: var(--color-accent);
  border-radius: 0 0 0 var(--radius-sm);
}

.sidebar-item--booking:hover { background: #b8820a; }

.sidebar-item--hours {
  background: var(--color-dark);
}

.sidebar-item--hours:hover { background: #0f1722; }

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a2332 0%, #232e3f 50%, #1e2a38 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: url('img/hero-pattern.svg');
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('img/hero-placeholder.jpg') center/cover no-repeat;
  opacity: 0.2;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.hero h1 span {
  color: var(--color-accent);
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13,115,119,0.3), rgba(212,168,67,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
}

.hero-stats {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.hero-stat {
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 120px;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.2rem;
}

/* === Services Section === */
.services-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  max-width: var(--max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-primary);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition);
}

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

/* === About / Welcome Section === */
.welcome-section {
  padding: 6rem 0;
  background: var(--color-bg-warm);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.welcome-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
}

.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-image-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.welcome-image-badge .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.welcome-image-badge .label {
  font-size: 0.75rem;
  opacity: 0.9;
}

.welcome-content .section-label {
  margin-bottom: 0.75rem;
}

.welcome-content h2 {
  margin-bottom: 1.25rem;
}

.welcome-content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.welcome-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.welcome-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.welcome-feature span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* === Highlight Boxes (First Visit, Emergency, etc.) === */
.highlights-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: var(--max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.highlight-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff;
  transition: transform var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
}

.highlight-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.highlight-card:nth-child(1) .highlight-card-bg {
  background: linear-gradient(135deg, #e2a60d 0%, #c8900a 100%);
}

.highlight-card:nth-child(2) .highlight-card-bg {
  background: linear-gradient(135deg, #1a2332 0%, #2e3d52 100%);
}

.highlight-card:nth-child(3) .highlight-card-bg {
  background: linear-gradient(135deg, #b8820a 0%, #9a6d08 100%);
}

.highlight-card:nth-child(4) .highlight-card-bg {
  background: linear-gradient(135deg, #2e3d52 0%, #1a2332 100%);
}

.highlight-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.highlight-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

.highlight-card-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.highlight-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.highlight-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.highlight-card .btn {
  align-self: center;
}

/* === Reviews Section === */
.reviews-section {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.reviews-slider {
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.review-card {
  min-width: 320px;
  max-width: 380px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.review-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
}

.review-text {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.review-author-info strong {
  display: block;
  font-size: 0.9rem;
}

.review-author-info span {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.reviews-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.reviews-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.reviews-controls button:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.reviews-controls button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.google-rating img {
  height: 24px;
}

.google-rating-score {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
}

.google-rating-text {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* === Team Section === */
.team-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

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

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

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-light), #dbeafe);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.team-card .team-role {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* === Rooms Section === */
.rooms-section {
  padding: 6rem 0;
  background: var(--color-bg-warm);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.room-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.room-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.room-card-image {
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.room-card:hover .room-card-image img {
  transform: scale(1.05);
}

.room-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-alt), #e2e8f0);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.room-card-body {
  padding: 1.25rem;
}

.room-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.room-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* === Career Section === */
.career-section {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
}

.benefit-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.benefit-item p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin: 0;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.job-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
}

.job-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.job-card-badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.job-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.job-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.job-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  color: var(--color-text-light);
}

/* === Booking Section === */
.booking-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}

.booking-section h2 {
  color: #fff;
}

.booking-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.booking-form-wrapper {
  max-width: 700px;
  margin: 3rem auto 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  color: var(--color-text);
}

.booking-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
}

.booking-step.active {
  color: var(--color-primary);
}

.booking-step.completed {
  color: var(--color-success);
}

.booking-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.booking-step.active .booking-step-number {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.booking-step.completed .booking-step-number {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #fff;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: #fff;
  color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-info {
  background: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: left;
}

.form-info a {
  font-weight: 600;
}

/* Checkbox label inline with text */
.form-group-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.form-group-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success svg {
  width: 64px;
  height: 64px;
  fill: var(--color-success);
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.booking-step-content {
  display: none;
}

.booking-step-content.active {
  display: block;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* === Contact Section === */
.contact-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-primary);
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin: 0;
}

.hours-table {
  width: 100%;
  font-size: 0.88rem;
  margin-top: 1rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-border);
}

.hours-table td {
  padding: 0.5rem 0;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--color-dark);
  width: 120px;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  background: var(--color-bg-alt);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* === CTA Banner === */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-white {
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* === Footer === */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

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

.footer-brand .site-logo-text {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--color-accent);
}

.footer-hours {
  font-size: 0.85rem;
}

.footer-hours dt {
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.footer-hours dd {
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

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

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

/* === Page Header === */
.page-header {
  background: linear-gradient(135deg, #2e3d52 0%, var(--color-primary) 30%, var(--color-primary) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

.breadcrumbs {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumbs a {
  color: rgba(255,255,255,0.5);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

/* === Page Content === */
.page-content {
  padding: 4rem 0;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

/* === Service Detail Page === */
.service-detail {
  padding: 4rem 0;
}

.service-detail .container {
  max-width: 900px;
}

.service-detail-header {
  text-align: center;
  margin-bottom: 3rem;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-detail-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-primary);
}

.service-detail-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.service-detail-content p {
  margin-bottom: 1.25rem;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 3rem;
}

.service-detail-actions .btn {
  justify-content: center;
  min-width: 220px;
  text-align: center;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Elements start visible by default (no-JS fallback), JS adds .js-animated */
.js-animated .animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-animated .animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    justify-content: center;
    margin-top: 2rem;
  }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .top-bar {
    display: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: clamp(5.5rem, 11vh, 8rem) 1.5rem 2rem;
    gap: clamp(0.55rem, 1.7vh, 1.4rem);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
  }

  .menu-toggle.active {
    position: fixed;
    top: 1.25rem;
    right: max(1.25rem, env(safe-area-inset-right));
    z-index: 1001;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav a {
    justify-content: center;
    padding: clamp(0.9rem, 2vh, 1.5rem) 1rem;
    font-size: clamp(1.75rem, 7.4vw, 2.8rem);
    line-height: 1.15;
    width: 100%;
    text-align: center;
  }

  .main-nav .btn {
    margin-top: clamp(1.5rem, 3.5vh, 3rem);
    min-height: clamp(68px, 9vh, 92px);
    font-size: clamp(1.35rem, 5.8vw, 2.2rem);
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .header-cta {
    margin: 1rem 0 0;
    width: 100%;
    max-width: 560px;
  }

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

  .hero {
    min-height: 70vh;
    padding: 3rem 0;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .hero-stat {
    min-width: 200px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .welcome-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .booking-steps {
    flex-wrap: wrap;
  }

  .floating-sidebar {
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: stretch;
  }

  .sidebar-item {
    width: auto;
    flex: 1;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0;
  }

  .sidebar-item:hover {
    width: auto;
  }

  .sidebar-item span {
    display: none;
  }

  .review-card {
    min-width: 260px;
    max-width: calc(100vw - 3rem);
  }

  .service-detail-actions {
    gap: 1.4rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .booking-form-wrapper {
    padding: 1.5rem;
    margin: 2rem 1rem 0;
  }

  /* ── Mobile header: prevent logo text overflow ── */
  .site-logo-text {
    font-size: 1.05rem;
  }

  .site-logo-text small {
    display: none;
  }

  .site-logo {
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .header-inner {
    gap: 0.5rem;
  }

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

  /* ── Bottom padding so floating sidebar doesn't cover content ── */
  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  /* ── Extra small screens: shrink logo further ── */
  .site-logo-text {
    font-size: 0.95rem;
  }

  .site-logo img {
    height: 38px;
  }
}

/* === WordPress Block Overrides === */

/* Ensure wp:html blocks don't get extra margins */
.entry-content > *,
main > section,
main > .wp-block-html {
  margin-left: 0;
  margin-right: 0;
}

/* WordPress block images within our layouts */
.wp-block-image img {
  border-radius: var(--radius-md);
}

.wp-block-image figcaption {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

/* WordPress columns within team/contact sections */
.team-section .wp-block-columns,
.contact-section .wp-block-columns {
  gap: 2rem;
}

/* Ensure block content inside page-content gets proper width */
.page-content .wp-block-group,
.page-content .wp-block-columns {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Service detail content from blocks */
.service-detail-content .wp-block-heading {
  margin-top: 2rem;
}

/* Fix WordPress default block spacing */
.wp-block-list {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.wp-block-list li {
  margin-bottom: 0.4rem;
}

/* Hours table when rendered via shortcode inside blocks */
.contact-info-item .hours-table {
  margin-top: 0.5rem;
}

/* === Cookie Consent === */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 9999;
  display: flex;
  justify-content: center;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  width: min(100%, 720px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem;
}

.cookie-banner h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cookie-banner__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.cookie-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.cookie-option input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-banner__actions .btn {
  min-height: 44px;
}

@media (max-width: 640px) {
  .cookie-banner {
    inset: auto 0 0 0;
  }

  .cookie-banner__content {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}

/* === Print === */
@media print {
  .floating-sidebar,
  .top-bar,
  .site-header,
  .reviews-controls,
  .cta-banner {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
