/* ============================================================================
   Lumière Dental — Merged Stylesheet (main + components)
   Combined into one file so the browser makes 1 request instead of 3.
   Fonts are loaded from the HTML <head> via <link>, not @import, so they
   don't block CSS parsing.
   ============================================================================ */

/* ==========================================================================
   LUMIÈRE DENTAL - LUXURY BOUTIQUE DESIGN SYSTEM (CSS VARIABLES & BASE)
   ========================================================================== */

:root {
  /* Permanent Luxury Dark Palette */
  --bg-main: #141311;
  --bg-surface: #1E1C19;
  --bg-secondary: #262320;
  --bg-tertiary: #302C27;
  --bg-dark-accent: #2A2723;
  
  --text-main: #F5F2EB;
  --text-muted: #A8A196;
  --text-light: #7E776D;
  --text-inverse: #FAF7F2;
  
  --gold-accent: #D4BA94;
  --gold-accent-hover: #E5CFA9;
  --gold-subtle: rgba(212, 186, 148, 0.15);
  
  --teal-accent: #58877E;
  --teal-subtle: rgba(88, 135, 126, 0.15);
  
  --border-subtle: #2D2A25;
  --border-medium: #3E3A33;
  --border-focus: #D4BA94;
  
  /* Dedicated Luxury Footer Tokens */
  --footer-bg: #0D0C0B;
  --footer-text: #F5F2EB;
  --footer-text-muted: rgba(245, 242, 235, 0.72);
  --footer-link: rgba(245, 242, 235, 0.85);
  --footer-link-hover: #D4BA94;
  --footer-border: rgba(255, 255, 255, 0.12);
  --footer-bottom-text: rgba(245, 242, 235, 0.7);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.35);

  /* Ornate & Decorative Luxury Typography Tokens */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --container-max: 1320px;
}


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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  /* The navigation is fixed so it remains visible while the page scrolls. */
  padding-top: 88px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.4rem, 2vw + 0.3rem, 1.85rem);
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.section-spacing {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (max-width: 768px) {
  body {
    padding-top: 72px;
  }

  .section-spacing {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Section Header Structure */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

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

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

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

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

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

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

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

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

/* Micro-animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Repeating reveal motion for sections and content cards while scrolling. */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.scroll-reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.scroll-reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* The announcement was intentionally removed from the site. Keep this
   safeguard for older page markup so it can never reappear in either
   language. */
.announcement-bar {
  display: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-accent);
}


/* ==========================================================================
   LUMIÈRE DENTAL - LUXURY COMPONENTS & INTERACTIVE ELEMENTS
   ========================================================================== */

/* 1. Top Announcement Bar */
.announcement-bar {
  background-color: var(--bg-dark-accent);
  color: var(--text-inverse);
  font-size: 0.86rem;
  padding: 0.65rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 50;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(191, 168, 136, 0.15);
}

.announcement-bar a {
  color: var(--gold-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.announcement-bar a:hover {
  color: var(--gold-accent-hover);
  text-decoration: none;
  transform: translateX(2px);
}

/* The announcement text + "Book an Appointment" link sit side by side with
   no wrapping — on a phone-width screen this overflowed the row badly.
   Shrink first, then drop the descriptive sentence entirely on very small
   screens and just center the booking link. */
@media (max-width: 640px) {
  .announcement-bar {
    font-size: 0.74rem;
    padding: 0.55rem 1rem;
  }
  .announcement-bar .container > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 55%;
  }
}

@media (max-width: 430px) {
  .announcement-bar .container > span:first-child {
    display: none;
  }
  .announcement-bar .container {
    justify-content: center;
  }
}

/* 2. Luxury Sticky Header */
.header-wrapper {
  position: fixed !important;
  top: 0 !important;
  z-index: 100;
  width: 100%;
  transition: all var(--transition-smooth);
  background-color: rgba(20, 19, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transform: translateZ(0);
}

.header-wrapper.scrolled {
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background-color: rgba(20, 19, 17, 0.98);
}

.header-wrapper.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 1.5rem;
  transition: height var(--transition-smooth);
}

.header-wrapper.scrolled .navbar {
  height: 72px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-main);
  text-transform: uppercase;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* Keeps the logo compact enough that, together with the drawer's
   language/theme/close buttons, the mobile drawer header never has to
   squeeze past the screen edge. */
@media (max-width: 400px) {
  .brand-name {
    font-size: 1.3rem;
    letter-spacing: 0.06em;
  }
  .brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.2em;
  }
}

/* Nav Links - Luxury Floating Capsule Layout */
.nav-links {
  display: none;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 186, 148, 0.2);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1080px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0.6rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--gold-accent);
  background-color: var(--gold-subtle);
}

.nav-link.active {
  color: var(--gold-accent);
  font-weight: 700;
}

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

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* The quick booking action only appears once there's room for it alongside
   the full nav menu. On phones and tablets the header stays clean with just
   the logo and menu button. */
.header-controls-desktop {
  display: none;
  align-items: center;
  gap: 0.85rem;
}

@media (min-width: 1080px) {
  .header-controls-desktop {
    display: flex;
  }
}

.control-btn {
  background: rgba(191, 168, 136, 0.08);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 42px;
  transition: all var(--transition-fast);
}

.control-btn:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background-color: var(--gold-subtle);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(191, 168, 136, 0.18);
}

/* Header CTA Luxury Button */
.header-actions .btn {
  height: 42px;
  padding: 0 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C5B091 0%, #A8906F 100%);
  color: #141311 !important;
  border: none;
  box-shadow: 0 4px 16px rgba(191, 168, 136, 0.28);
}

.header-actions .btn:hover {
  background: linear-gradient(135deg, #D4BA94 0%, #BFA888 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 168, 136, 0.4);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(191, 168, 136, 0.08);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  cursor: pointer;
  padding: 10px;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--gold-accent);
  background-color: var(--gold-subtle);
}

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

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  height: 100vh;
  background-color: var(--bg-main);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-header .brand-logo {
  min-width: 0;
  overflow: hidden;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 2.5vh, 1.25rem);
  margin: 0 0 2rem;
  padding: 0;
  width: 100%;
  min-width: 0;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 4.8vw, 1.5rem);
  line-height: 1.25;
  display: block;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 100%;
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast);
}

@media (max-width: 767px) {
  .mobile-drawer {
    padding-inline: 1rem;
  }

  .mobile-drawer-header {
    margin-bottom: 1.25rem;
    flex-shrink: 0;
  }

  .mobile-nav-list {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .mobile-nav-link {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
    line-height: 1.35;
  }

  .mobile-drawer > div:last-child {
    flex-shrink: 0;
  }

  /* The footer is rendered with an inline desktop grid declaration.
     Collapse it on phones so Arabic labels never get squeezed or clipped. */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem !important;
  }
}

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

/* 3. Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  max-width: 100%;
}

/* Buttons with long dynamic text (phone numbers, translated labels) were
   overflowing their box on narrow phones instead of wrapping — since they
   sit at the far right/left edge, that pushed the whole page wider than
   the screen and forced the pinch-zoom/drag-to-scroll behavior. Letting
   them wrap to two lines on small screens keeps everything inside the
   viewport. */
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1rem;
}

.btn-luxury-dark {
  background-color: var(--bg-dark-accent);
  color: var(--text-inverse);
  border-color: var(--bg-dark-accent);
}

.btn-luxury-dark:hover {
  background-color: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #1C1A18;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-luxury-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-medium);
}

.btn-luxury-outline:hover {
  border-color: var(--text-main);
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-luxury-gold {
  background-color: var(--gold-accent);
  color: #1C1A18;
  border-color: var(--gold-accent);
  font-weight: 600;
}

.btn-luxury-gold:hover {
  background-color: var(--gold-accent-hover);
  border-color: var(--gold-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 4. Luxury Hero Section (Inspired by Lucent / Zen References) */
.hero-section {
  position: relative;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-video-section {
  min-height: 700px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background-color: #0d0c0b;
  background-position: center;
  background-size: cover;
}

.hero-video-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, rgba(255,252,246,.48));
  z-index: -1;
}

.hero-background-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Full-bleed background: every source ratio fills the hero viewport,
     exactly like the original design, without leaving letterbox gaps. */
  object-fit: cover;
  object-position: center center;
  background-color: #0d0c0b;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-background-media.is-ready {
  opacity: 1;
}

.hero-video-section .hero-text-col {
  max-width: 820px;
  padding: 4rem 0;
}

.hero-video-section .hero-title,
.hero-video-section .hero-desc,
.hero-video-section .hero-text-col > div:last-child {
  text-shadow: 0 2px 16px rgba(0,0,0,.85);
}

.hero-video-section::after {
  background: rgba(20, 19, 17, .64);
}

.home-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}

.home-contact-card h2 { margin-bottom: .8rem; }
.home-contact-card p { margin: 0; max-width: 600px; }
.home-contact-address {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: .92rem;
}
.home-contact-address strong { color: var(--text-main); }
.home-contact-address a { color: var(--gold-accent); font-weight: 600; margin-top: .35rem; }
.home-contact-actions { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

@media (max-width: 700px) {
  .hero-video-section { min-height: 680px; }
  .home-contact-card { flex-direction: column; align-items: flex-start; padding: 2rem 1.25rem; }
  .home-contact-actions, .home-contact-actions .btn { width: 100%; }
}

/* The legacy concierge form is not part of the external Calendly flow. */
.appointment-concierge-legacy { display: none !important; }

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--gold-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
}

/* The hero tagline must stay black in every language and theme. */
.hero-tagline-badge [data-i18n="heroTag"] {
  color: #000000 !important;
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-slow);
}

@media (max-width: 640px) {
  .hero-main-img {
    height: 340px;
  }
  .hero-floating-card {
    max-width: 220px;
    padding: 1rem 1.15rem;
    bottom: 1rem;
    right: 1rem;
  }
  .hero-floating-card .floating-text {
    font-size: 0.95rem;
  }
}

.hero-visual-card:hover .hero-main-img {
  transform: scale(1.02);
}

/* Floating Glass Overlay Card */
.hero-floating-card {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(30, 28, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  max-width: 280px;
}

.hero-floating-card .floating-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.hero-floating-card .floating-actions {
  display: flex;
  gap: 0.5rem;
}

/* 5. Trust & Stats Bar */
.trust-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  background-color: var(--bg-surface);
}

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

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

.stat-item {
  text-align: center;
  position: relative;
}

@media (min-width: 768px) {
  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 1px;
    background-color: var(--border-subtle);
  }
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 6. Service Cards (Boutique Architectural Style) */
.service-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-card);
}

.service-card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(20, 19, 17, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--text-main);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.service-card-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.service-price-from {
  font-weight: 600;
  color: var(--gold-accent);
}

.service-link-arrow {
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-link-arrow {
  gap: 0.6rem;
  color: var(--gold-accent);
}

/* 7. Why Us Section & Philosophy */
.why-us-box {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .why-us-box {
    padding: 5rem 4rem;
  }
}

.feature-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-accent);
  font-weight: 600;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 8. Doctor Profile Cards */
.doctor-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.doctor-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-card);
}

.doctor-img-wrapper {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.doctor-image-socials {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 2.5rem 0.85rem 0.85rem;
  background: linear-gradient(to top, rgba(20, 19, 17, 0.78), transparent);
  pointer-events: none;
}

.doctor-image-socials .social-link {
  pointer-events: auto;
}

.social-link-doctor-image {
  width: 32px;
  height: 32px;
  justify-content: center;
  border-radius: 8px;
  background: rgba(250, 247, 242, 0.94);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.social-link-doctor-image:hover {
  transform: translateY(-2px) scale(1.04);
}

.social-link-doctor-image .social-link-icon {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
  border-radius: 6px;
  background: transparent;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-img {
  transform: scale(1.04);
}

.doctor-card-body {
  padding: 1.75rem;
}

.doctor-name {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.doctor-role {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-link:hover {
  color: var(--gold-accent);
  transform: translateY(-2px);
}

.social-link-footer {
  width: 36px;
  height: 36px;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--footer-text);
}

.social-link-footer:hover {
  background: rgba(191, 168, 136, 0.2);
}

.social-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--gold-subtle);
  color: var(--gold-accent);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.social-link-footer .social-link-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-radius: 6px;
  background: transparent;
}

.social-link-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.doctors-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.doctor-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 9. Interactive Before / After Comparison Slider */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  background-color: var(--bg-secondary);
}

.before-after-slider-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 640px) {
  .before-after-slider-wrap {
    height: 340px;
  }
}

.before-after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-img-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.after-img-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Compact variant used for grids of before/after cards (e.g. the Results
   archive) so many sliders can sit side by side. */
.ba-compact .before-after-slider-wrap {
  height: 220px;
  border-radius: var(--radius-lg);
}

/* Friendly fallback when an image path in a data file is missing or wrong,
   instead of showing a blank box. Just drop a real photo at the same file
   path shown here and it appears automatically — no code changes needed. */
.before-img-layer.img-missing,
.after-img-layer.img-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
}
.before-img-layer.img-missing::after,
.after-img-layer.img-missing::after {
  content: "Image not found — replace the file in assets/images/";
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 1rem;
}
.before-img-layer.img-missing img,
.after-img-layer.img-missing img {
  display: none;
}

.ba-badge {
  position: absolute;
  top: 1.25rem;
  background: rgba(28, 26, 24, 0.75);
  backdrop-filter: blur(8px);
  color: #FAF7F2;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  z-index: 10;
}

.ba-badge-before {
  left: 1.25rem;
}

.ba-badge-after {
  right: 1.25rem;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #FFFFFF;
  z-index: 15;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  touch-action: none;
  will-change: left;
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: #FFFFFF;
  color: #1C1A18;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
  font-weight: 700;
  font-size: 0.85rem;
}

.ba-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.ba-preset-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ba-preset-btn.active,
.ba-preset-btn:hover {
  border-color: var(--gold-accent);
  background-color: var(--gold-subtle);
  color: var(--gold-accent);
}

/* 10. Treatment Timeline Steps */
.timeline-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.timeline-step {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.timeline-step:hover {
  transform: translateY(-4px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-md);
}

.timeline-step-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

.timeline-step-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 11. Testimonials & Google Reviews */
.review-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.review-card:hover {
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #D4AF37;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 2px;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.review-author-proc {
  font-size: 0.8rem;
  color: var(--gold-accent);
}

/* Google Reviews Badge */
.google-badge-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* 12. FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}

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

.faq-item.active {
  border-color: var(--gold-accent);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

/* 13. Consultation Booking Engine */
.booking-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .booking-card {
    padding: 1.5rem;
  }
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-accent);
  background-color: var(--bg-surface);
}

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

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

/* 14. Luxury Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 17, 16, 0.94);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.lightbox-caption {
  color: #FAF7F2;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-top: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

/* 15. Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

.toast {
  background-color: var(--bg-dark-accent);
  color: var(--text-inverse);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  border: 1px solid var(--gold-accent);
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 16. Luxury Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--footer-border);
}

.footer p {
  color: var(--footer-text-muted);
}

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

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

.footer-title {
  color: var(--footer-text);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  color: var(--footer-link);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--footer-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--footer-bottom-text);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* 17. Calendly Embed Styling & Booking Switcher */
.calendly-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.calendly-wrapper iframe {
  width: 100% !important;
  border: none !important;
}

.booking-tabs {
  display: flex;
  gap: 0.5rem;
  background-color: var(--bg-secondary);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.booking-tab-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.booking-tab-btn.active {
  background-color: var(--bg-surface);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.calendly-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background-color: var(--gold-subtle);
  color: var(--gold-accent);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}


