/* ==========================================================================
   Abraham Specialist Dental Care — Production Stylesheet
   Modern, Ultra-Responsive, Accessible (WCAG 2.1 AA Compliant)
   40 Harley Street, London W1G 9PP
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
  /* Brand Color Palette */
  --color-primary: #12313b;        /* Deep Harley Street Navy/Slate */
  --color-primary-light: #1b4452;  /* Medium Slate */
  --color-primary-dark: #0a1c22;   /* Dark Charcoal Slate */
  --color-accent: #b28652;         /* Warm Dental Bronze Gold */
  --color-accent-hover: #9b7241;   /* Deeper Gold */
  --color-accent-subtle: #f7f1e8;  /* Soft Warm Gold Wash */
  --color-accent-border: #dfcfbc;  /* Gold Border Tint */
  
  /* Neutral Palette */
  --color-bg: #fcfbf9;             /* Porcelain Warm White */
  --color-surface: #ffffff;        /* Pure White Card Surface */
  --color-surface-alt: #f5f2ec;    /* Soft Warm Light Cream */
  --color-surface-hover: #ede8df;  /* Hover Surface */
  --color-text: #1b2427;           /* Deep Charcoal Primary Text */
  --color-text-muted: #56646b;     /* Slate Neutral Secondary Text */
  --color-text-light: #7b8890;     /* Muted Tertiary */
  --color-border: #e3ded6;         /* Refined Border */
  --color-border-light: #ede9e3;   /* Subtle Border */
  
  /* Status Colors */
  --color-success: #1e704a;
  --color-success-bg: #eaf6ef;
  --color-info: #175d7c;
  --color-info-bg: #ebf5fa;
  
  /* Typography Scale (Fluid clamp) */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.8438rem, 0.81rem + 0.18vw, 0.9063rem);
  --text-base: clamp(0.9688rem, 0.93rem + 0.22vw, 1.0625rem);
  --text-md: clamp(1.0938rem, 1.03rem + 0.35vw, 1.2188rem);
  --text-lg: clamp(1.25rem, 1.15rem + 0.55vw, 1.4375rem);
  --text-xl: clamp(1.4375rem, 1.3rem + 0.75vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.55rem + 1.1vw, 2.1875rem);
  --text-3xl: clamp(2.125rem, 1.85rem + 1.5vw, 2.75rem);
  --text-4xl: clamp(2.5rem, 2.15rem + 2vw, 3.5rem);
  
  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  
  /* Structural Tokens */
  --container-max: 1280px;
  --container-narrow: 920px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-pill: 9999px;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 3px rgba(18, 49, 59, 0.05), 0 1px 2px rgba(18, 49, 59, 0.03);
  --shadow-md: 0 4px 12px rgba(18, 49, 59, 0.07), 0 2px 4px rgba(18, 49, 59, 0.04);
  --shadow-lg: 0 12px 28px rgba(18, 49, 59, 0.09), 0 4px 10px rgba(18, 49, 59, 0.05);
  --shadow-xl: 0 20px 40px rgba(18, 49, 59, 0.12), 0 8px 16px rgba(18, 49, 59, 0.06);
  
  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip; /* Fix for horizontal scroll without disabling sticky */
  position: relative;
}

/* --- Accessibility Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  z-index: 9999;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 72ch;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

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

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus Visible Accessible Styling */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Structural Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section {
  padding-block: var(--space-3xl);
}

.section-alt {
  background-color: var(--color-surface-alt);
}

.section-dark {
  background-color: var(--color-primary);
  color: #ffffff;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-inline: auto;
}

/* --- Direct Sticky Header (Direct Child of Body) --- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 251, 249, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(18, 49, 59, 0.04);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Header Top Notification Bar */
.header-top-bar {
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: var(--text-xs);
  padding-block: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
}

.top-bar-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
}

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

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

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* Main Navigation Bar */
.header-main-nav {
  padding-block: 0.85rem;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--color-primary);
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.brand-text-fallback {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  line-height: 1.15;
}

.brand-tagline {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 600;
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: none; /* Mobile first */
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  position: relative;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-accent);
  background-color: var(--color-surface-alt);
}

.nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-surface-alt);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Header CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  text-decoration: none;
  min-height: 48px; /* Ergonomic touch target */
  min-width: 48px;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: var(--color-surface-alt);
  color: var(--color-primary);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
  min-height: 40px;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: var(--text-base);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: var(--color-surface-alt);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer Navigation */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 2px solid var(--color-border);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.mobile-nav-drawer.is-open {
  display: block;
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-lg);
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--color-surface-alt);
  color: var(--color-accent);
  border-left-color: var(--color-accent);
}

.mobile-drawer-contact {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-drawer-contact a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  padding-block: var(--space-3xl) var(--space-4xl);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(182, 134, 82, 0.2), transparent 50%),
              linear-gradient(135deg, rgba(10, 28, 34, 0.95) 0%, rgba(18, 49, 59, 0.85) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(0.85);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-content {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-subtle);
  margin-bottom: var(--space-md);
}

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

.hero-title {
  color: #ffffff;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

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

.hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-trust-indicators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
}

.trust-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Feature Card (Right Column) */
.hero-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.doctor-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 2px solid var(--color-accent);
  flex-shrink: 0;
}

.doctor-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-title {
  font-size: var(--text-lg);
  margin-bottom: 0.2rem;
  color: var(--color-primary);
}

.hero-card-sub {
  font-size: var(--text-xs);
  color: var(--color-accent-hover);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-md);
}

.hero-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-lg);
}

.pill {
  font-size: var(--text-xs);
  background: var(--color-surface-alt);
  color: var(--color-primary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: 1px solid var(--color-border);
}

/* --- Core Treatment Cards Grid --- */
.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 600px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .treatments-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.treatment-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-border);
}

.treatment-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background-color: var(--color-surface-alt);
}

.treatment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.treatment-card:hover .treatment-media img {
  transform: scale(1.05);
}

.treatment-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(18, 49, 59, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.treatment-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.treatment-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
}

.treatment-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

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

/* --- Clinical Heritage & Philosophy Grid --- */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.philosophy-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.philosophy-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.philosophy-media-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  max-width: 280px;
}

.philosophy-media-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.philosophy-media-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.value-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-accent-border);
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-body h4 {
  font-size: var(--text-md);
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.value-body p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* --- Team Bios & Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface-alt);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-smooth);
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.03);
}

.team-badge-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(18, 49, 59, 0.9);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.team-details {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: var(--text-xl);
  margin-bottom: 0.2rem;
  color: var(--color-primary);
}

.team-role {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-gdc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.team-gdc a {
  color: inherit;
  text-decoration: underline;
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.team-specialties {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
}

.team-specialties li {
  font-size: var(--text-xs);
  background: var(--color-surface-alt);
  color: var(--color-primary);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* --- Founders Feature Section --- */
.founder-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 992px) {
  .founder-profile {
    grid-template-columns: 320px 1fr;
  }
}

.founder-img-col {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.founder-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- GBT Protocol 5-Step Grid --- */
.gbt-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

@media (min-width: 640px) {
  .gbt-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gbt-steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gbt-step-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.gbt-step-num {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.gbt-step-title {
  font-size: var(--text-md);
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.gbt-step-card p {
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* --- Patient Reviews / Testimonials --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-stars {
  color: var(--color-accent);
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-sm);
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-quote {
  font-size: var(--text-base);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
}

.review-avatar-initial {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
}

.review-meta strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-primary);
}

.review-meta span {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* --- Smile Gallery Portfolio Grid & Lightbox --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 540px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-border);
}

.gallery-thumb-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background-color: var(--color-surface-alt);
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-thumb-wrap img {
  transform: scale(1.06);
}

.gallery-overlay-icon {
  position: absolute;
  inset: 0;
  background: rgba(18, 49, 59, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #ffffff;
}

.gallery-overlay-icon svg {
  width: 32px;
  height: 32px;
}

.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
}

.gallery-caption {
  padding: var(--space-md);
  background: var(--color-surface);
}

.gallery-case-num {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.gallery-case-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.35;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 28, 34, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox-modal.is-open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.lightbox-title {
  font-size: var(--text-md);
  color: var(--color-primary);
  margin-bottom: 0;
}

.lightbox-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  background: var(--color-surface-alt);
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--color-border);
  color: var(--color-accent);
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.lightbox-img-wrap img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-footer {
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface-alt);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --- Fee Transparency Table --- */
.fees-container {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-2xl);
}

.fees-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
}

.fees-table th,
.fees-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.fees-table th {
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-xs);
}

.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table tr:hover td {
  background-color: var(--color-surface-alt);
}

.fee-procedure {
  font-weight: 600;
  color: var(--color-primary);
}

.fee-price {
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.fee-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.fees-disclaimer {
  padding: var(--space-md) var(--space-lg);
  background: var(--color-accent-subtle);
  border-top: 1px solid var(--color-accent-border);
  font-size: var(--text-xs);
  color: var(--color-primary);
  line-height: 1.5;
}

/* --- FAQ Accordion --- */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 840px;
  margin-inline: auto;
}

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

.faq-item.is-open {
  border-color: var(--color-accent-border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  gap: var(--space-md);
}

.faq-trigger:hover {
  background-color: var(--color-surface-alt);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
  color: var(--color-accent);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 1.35rem 1.35rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.faq-item.is-open .faq-content {
  display: block;
}

/* --- Contact & Location Layout --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 500px) {
  .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.contact-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.contact-tile-icon svg {
  width: 20px;
  height: 20px;
}

.contact-tile h4 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.contact-tile p,
.contact-tile a {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 0;
}

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

/* Accessible Interactive Booking & Contact Form */
.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: var(--text-2xl);
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.form-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-label span.req {
  color: #c93b2b;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(182, 134, 82, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Honeypot field - anti-spam */
.visually-hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Form Submission Feedback Banner */
.form-feedback {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.form-feedback.is-visible {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.form-feedback.is-success {
  background-color: var(--color-success-bg);
  border: 1px solid rgba(30, 112, 74, 0.3);
  color: var(--color-success);
}

.form-feedback.is-error {
  background-color: #fdf2f2;
  border: 1px solid rgba(201, 59, 43, 0.3);
  color: #c93b2b;
}

/* Map / Harley Street Location Visual */
.location-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-surface-alt);
  position: relative;
}

.map-embed {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.location-transit-guide {
  padding: var(--space-lg);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.transit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  list-style: none;
  margin-top: var(--space-sm);
}

@media (min-width: 600px) {
  .transit-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.transit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.transit-bullet {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

/* --- Referral Notice Box --- */
.referral-box {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-block: var(--space-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 840px) {
  .referral-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.referral-content h3 {
  color: #ffffff;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xs);
}

.referral-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-base);
  margin-bottom: 0;
  max-width: 64ch;
}

/* --- Interactive Booking Modal Dialog --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(10, 28, 34, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  overflow-y: auto;
}

.modal-overlay.is-open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.modal-header h3 {
  color: #ffffff;
  font-size: var(--text-xl);
  margin-bottom: 0;
}

.modal-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: var(--space-xl);
  overflow-y: auto;
}

/* --- Comprehensive Multi-Column Footer --- */
footer.site-footer {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 600px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: var(--text-sm);
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
}

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

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
}

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

.footer-gdc-notice {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-md);
  line-height: 1.5;
}

/* --- Back To Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  min-width: 48px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth), background-color var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-accent);
  color: #ffffff;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Print Styles --- */
@media print {
  header.site-header,
  .back-to-top,
  .mobile-menu-toggle,
  .modal-overlay,
  .btn {
    display: none !important;
  }
  
  body {
    background: #ffffff;
    color: #000000;
  }
}
