/* ==========================================================================
   DR. FELIPE QUEIROZ - ODONTOLOGIA ESTÉTICA & REABILITAÇÃO ORAL
   DESIGN SYSTEM & LUXURY AESTHETIC STYLESHEET (AWWWARDS / BEHANCE GRADE)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #0B0F17;
  --bg-dark-card: #121824;
  --bg-dark-elevated: #1A2234;
  --bg-light: #FBFBFD;
  --bg-white: #FFFFFF;
  
  --gold-primary: #C5A059;
  --gold-light: #DFC48A;
  --gold-dark: #9D7B38;
  --gold-gradient: linear-gradient(135deg, #E5C378 0%, #C5A059 50%, #9D7B38 100%);
  --gold-soft-glow: rgba(197, 160, 89, 0.2);

  --emerald-whatsapp: #25D366;
  --emerald-hover: #1EBE5D;
  --emerald-glow: rgba(37, 211, 102, 0.28);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-light: #F8FAFC;
  --text-gold: #C5A059;

  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold-subtle: rgba(197, 160, 89, 0.35);

  --glass-dark: rgba(18, 24, 36, 0.75);
  --glass-light: rgba(255, 255, 255, 0.85);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 15, 23, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 15, 23, 0.12);
  --shadow-gold: 0 8px 30px rgba(197, 160, 89, 0.25);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.18);

  /* Layout */
  --container-max: 1200px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* Base Reset & Global Styles */
*, *::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 !important;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-smooth);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center {
  text-align: center;
}

.d-none {
  display: none !important;
}

.w-full {
  width: 100%;
}

/* Glassmorphism Classes */
.glass-card {
  background: var(--glass-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0B0F17;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(197, 160, 89, 0.4);
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--gold-primary);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
}

.btn-outline:hover {
  background: var(--gold-primary);
  color: #0B0F17;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--emerald-whatsapp);
  color: #FFFFFF;
  box-shadow: 0 8px 25px var(--emerald-glow);
}

.btn-whatsapp:hover {
  background: var(--emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 18px 36px;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-link {
  background: transparent;
  color: var(--gold-primary);
  font-weight: 600;
  text-decoration: underline;
  padding: 8px;
}

.btn-link:hover {
  color: var(--gold-dark);
}

/* Badges & Section Pills */
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-dark);
  border: 1px solid var(--border-gold-subtle);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background-color: var(--bg-dark);
  color: #CBD5E1;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-content i {
  color: var(--gold-primary);
  margin-right: 6px;
}

.cro-badge {
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 251, 253, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  padding-top: 4px;
  padding-bottom: 4px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--bg-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(11, 15, 23, 0.15);
}

.tooth-icon {
  width: 26px;
  height: 26px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--gold-dark);
}

.main-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transition: var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.close-drawer {
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-secondary);
}

.drawer-links {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #FBFBFD 0%, #F1F4F9 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  top: -100px;
  right: -100px;
  background: rgba(197, 160, 89, 0.15);
}

.hero-glow-2 {
  bottom: -150px;
  left: -150px;
  background: rgba(15, 23, 42, 0.05);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--border-gold-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0F172A;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

.highlight-serif,
.highlight-modern {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  flex-wrap: wrap;
}

.google-rating-card .rating-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stars {
  color: #F59E0B;
  display: flex;
  gap: 2px;
  font-size: 0.9rem;
}

.rating-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
  font-weight: 600;
}

.hero-stat-divider {
  width: 1px;
  height: 38px;
  background: #CBD5E1;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1.1;
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Doctor Visual Card */
.doctor-card-wrapper {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.image-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.16);
  border: 4px solid #FFFFFF;
}

.hero-doctor-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.image-frame:hover .hero-doctor-img {
  transform: scale(1.02);
}

.image-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(11, 15, 23, 0.6) 0%, transparent 100%);
  pointer-events: none;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.badge-top-left {
  top: 30px;
  left: -28px;
}

.badge-bottom-right {
  top: 170px;
  bottom: auto;
  right: -28px;
  animation-delay: 2s;
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.gold-bg {
  background: var(--gold-gradient);
  color: #0B0F17;
}

.emerald-bg {
  background: #E8FBF2;
  color: #00A86B;
}

.badge-title {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.badge-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.doctor-badge-bottom {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.doc-info strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.doc-info span {
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.verified-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #00A86B;
  display: flex;
  align-items: center;
  gap: 4px;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   Highlights Bar
   ========================================================================== */
.highlights-bar {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.highlight-icon {
  width: 48px;
  height: 48px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.highlight-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.highlight-info p {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* ==========================================================================
   Interactive Before / After Section
   ========================================================================== */
.before-after-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.comparison-showcase {
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  background: #FFFFFF;
}

/* Slider Component */
.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  background: #000000;
}

.image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-image {
  width: 50%;
  z-index: 2;
  border-right: 2px solid #FFFFFF;
}

.after-image {
  z-index: 1;
}

.label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 4;
}

.label-before {
  left: 16px;
  background: rgba(11, 15, 23, 0.75);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.label-after {
  right: 16px;
  background: var(--gold-gradient);
  color: #0B0F17;
}

.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #FFFFFF;
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.handle-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0B0F17;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  font-size: 0.8rem;
  border: 2px solid var(--gold-primary);
}

.handle-line {
  flex: 1;
  width: 2px;
  background: #FFFFFF;
}

.comparison-details {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.comparison-details h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.comparison-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tag {
  background: #F1F5F9;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Treatments Grid Section
   ========================================================================== */
.treatments-section {
  padding: 100px 0;
  background-color: #F8FAFC;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.treatment-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.treatment-card:hover .card-image-wrap img {
  transform: scale(1.08);
}

.card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 15, 23, 0.75);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-icon {
  width: 42px;
  height: 42px;
  background: rgba(197, 160, 89, 0.12);
  border-radius: 10px;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  flex-shrink: 0;
}

.card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.card-perks {
  list-style: none;
  margin-top: auto;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-perks li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-perks li i {
  color: #00A86B;
  font-size: 0.8rem;
}

.btn-card-details {
  background: transparent;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: left;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-card-details:hover {
  color: var(--gold-primary);
  gap: 10px;
}

/* ==========================================================================
   Technology & Experience Section
   ========================================================================== */
.tech-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.tech-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.tech-visual {
  position: relative;
}

.tech-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.tech-floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 18px 22px;
  background: rgba(18, 24, 36, 0.85);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  gap: 16px;
}

.tech-icon {
  font-size: 1.8rem;
  color: var(--gold-light);
}

.tech-floating-card strong {
  display: block;
  font-size: 1rem;
  color: #FFFFFF;
}

.tech-floating-card span {
  font-size: 0.82rem;
  color: #94A3B8;
}

.tech-content .section-title {
  color: #FFFFFF;
}

.tech-content .section-subtitle {
  color: #94A3B8;
  margin-left: 0;
}

.tech-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.tech-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.tech-feat-icon {
  width: 48px;
  height: 48px;
  background: rgba(197, 160, 89, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tech-feat-text h4 {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.tech-feat-text p {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.55;
}

/* ==========================================================================
   Smile Assessment Quiz Section
   ========================================================================== */
.quiz-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #F1F4F9 0%, #FFFFFF 100%);
}

.quiz-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px;
  background: #FFFFFF;
  border-radius: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  margin-top: 32px;
  margin-bottom: 14px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.step-indicator {
  text-align: right;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.step-question {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.quiz-option {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.quiz-option:hover {
  background: #FFFFFF;
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.quiz-option.selected {
  background: #FDFBF7;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px var(--gold-soft-glow);
}

.option-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--gold-primary);
}

.quiz-option strong {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.quiz-option small {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.quiz-nav {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.quiz-result {
  text-align: center;
  padding: 20px 0;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8FBF2;
  color: #00A86B;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.quiz-result h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.quiz-result p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.result-action-box {
  background: #F8FAFC;
  border-radius: 20px;
  padding: 32px;
  max-width: 580px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
}

.result-action-box p {
  font-size: 0.92rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   About Doctor Section
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.about-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.about-image-wrapper {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.about-img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 20px 24px;
  background: #0B0F17;
  color: #FFFFFF;
  border: 2px solid var(--gold-primary);
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-years {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-light);
  display: block;
}

.exp-label {
  font-size: 0.72rem;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
  max-width: 140px;
}

.about-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 40px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.credential-item i {
  width: 40px;
  height: 40px;
  background: rgba(197, 160, 89, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.credential-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.credential-item span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.about-action {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background-color: #F8FAFC;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.testimonial-card {
  padding: 32px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.source-tag {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0B0F17;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.verified-google-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.google-icon {
  font-size: 1.8rem;
  color: #4285F4;
}

.verified-google-box strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.verified-google-box span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Location & Map Section
   ========================================================================== */
.location-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.location-info .section-subtitle {
  margin-left: 0;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(197, 160, 89, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-item a {
  color: var(--gold-dark);
  font-weight: 700;
}

.location-action-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.map-frame {
  padding: 24px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.map-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.map-pin-pulse {
  width: 36px;
  height: 36px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0B0F17;
  font-size: 1rem;
}

.map-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.map-header span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.embed-map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.map-footer-action {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Clinic Facade Preview in Location Card */
.clinic-facade-preview {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.clinic-facade-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.clinic-facade-preview:hover img {
  transform: scale(1.03);
}

.facade-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.facade-badge i {
  color: var(--gold-light);
}



/* ==========================================================================
   Booking Form Section
   ========================================================================== */
.booking-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #0B0F17 100%);
  position: relative;
}

.booking-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px;
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.quick-booking-form {
  margin-top: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--gold-soft-glow);
}

.form-guarantee {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0B0F17;
  color: #94A3B8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo .brand-name {
  color: #FFFFFF;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 18px 0 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--gold-primary);
  color: #0B0F17;
  transform: translateY(-3px);
}

.footer-links-col h4,
.footer-contact-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-links-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact-col p {
  font-size: 0.88rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact-col p i {
  color: var(--gold-primary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.compliance-text {
  color: #64748B;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
}

.whatsapp-bubble {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.3s ease;
}

.whatsapp-bubble:hover {
  transform: scale(1.08);
}

.whatsapp-badge-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseRadar 2s infinite;
}

@keyframes pulseRadar {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  background: #0B0F17;
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  position: relative;
  pointer-events: none;
  animation: fadeInRight 0.5s ease;
}

.online-dot {
  width: 7px;
  height: 7px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 23, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 620px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-glass);
  animation: modalScale 0.3s ease;
}

@keyframes modalScale {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.modal-close:hover {
  background: #E2E8F0;
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-social-proof {
    justify-content: center;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison-card {
    grid-template-columns: 1fr;
  }
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-container {
    grid-template-columns: 1fr;
  }
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-credentials-grid {
    text-align: left;
  }
  .about-action {
    justify-content: center;
  }
  .location-container {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav, .header-action .btn-header {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  /* Top Announcement Bar: Mobile shows only CRO registration */
  .announcement-location,
  .announcement-content > span:first-child:not(.cro-badge) {
    display: none !important;
  }
  .announcement-content {
    justify-content: center;
    text-align: center;
  }
  .cro-badge {
    text-align: center;
    font-size: 0.8rem;
    margin: 0 auto;
  }

  /* Centered Footer on Mobile */
  .footer {
    text-align: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-desc {
    margin: 0 auto 20px auto;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-links-col,
  .footer-contact-col {
    text-align: center;
  }
  .footer-links-col h4,
  .footer-contact-col h4 {
    text-align: center;
  }
  .footer-links-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .footer-contact-col p {
    justify-content: center;
    text-align: center;
  }
  .footer-contact-col .btn {
    margin: 12px auto 0 auto;
    display: inline-flex;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .floating-badge {
    display: none !important;
  }
  .about-experience-badge {
    right: 0 !important;
    bottom: -15px !important;
    padding: 12px 18px !important;
  }
  .whatsapp-tooltip {
    display: none !important;
  }
}

/* Extra Compact Screens (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-social-proof {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .hero-stat-divider {
    display: none;
  }
  .doctor-badge-bottom {
    left: 10px;
    right: 10px;
    padding: 10px 14px;
  }
  .doc-info strong {
    font-size: 0.9rem;
  }
  .doc-info span {
    font-size: 0.7rem;
  }
  .btn-lg {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  .container {
    padding: 0 16px;
  }
  .highlight-item {
    padding: 16px;
  }
  .booking-card {
    padding: 28px 18px;
  }
}
