/* ==========================================================================
   Medio Dental Clinic - Design System & Styling Architecture
   ========================================================================== */

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

:root {
  color-scheme: light;
  
  /* Color Palette Tokens */
  --bg: #fef9ef;
  --paper: #ffffff;
  --ink: #232427;
  --muted: #5e6065;
  --soft: #f4efe6;
  --line: rgba(35, 36, 39, 0.1);
  --accent: #c2714d;
  --accent-hover: #aa5d3b;
  --accent-light: rgba(194, 113, 77, 0.12);
  --banner: #ebd1ff;
  --dark: #1b1c1e;
  --card-dark: #27282c;
  
  /* Typography */
  --font-heading: 'Outfit', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Elevation & Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 24px rgba(194, 113, 77, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. GLOBAL RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: #e8ded2;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

/* Accessibility Focus States */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 20px;
}

/* 3. LAYOUT CONTAINER */
.site {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.section,
.hero,
.footer {
  padding-left: 72px;
  padding-right: 72px;
}

/* 4. NAVBAR & HEADER (PINNED FIXED GLASS NAVBAR) */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 72px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  z-index: 1000;
  background: rgba(249, 246, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.brand,
.footer-brand {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  font-weight: 500;
}

.navlinks a {
  position: relative;
  color: var(--muted);
  padding: 6px 0;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--ink);
}

.navlinks a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border-radius: 50%;
  background: var(--soft);
  border: 1px solid var(--line);
  z-index: 101;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

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

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

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

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 5. BUTTONS & UI CONTROLS */
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pill-button.dark {
  background: var(--ink);
  color: #fff;
}

.pill-button.dark:hover {
  background: #36383e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pill-button.light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.pill-button.light:hover {
  background: #fdfdfd;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pill-button.full-width {
  width: 100%;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-fast);
}

.icon-wrap.accent {
  background: var(--accent);
}

.pill-button:hover .icon-wrap {
  transform: translateX(3px);
}

.icon-wrap img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.secondary-link .arrow {
  transition: transform var(--transition-fast);
}

.secondary-link:hover .arrow {
  transform: translateX(4px);
}

/* 6. HERO SECTION */
.hero {
  padding-top: 130px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 40px 0 40px;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f4efe6;
}

::-webkit-scrollbar-thumb {
  background: #d4a58e;
  border-radius: 999px;
  border: 2px solid #f4efe6;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* 19. BI-DIRECTIONAL SCROLL MOTION ANIMATIONS (ULTRA SMOOTH LUXURY FLUIDITY) */
.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-reveal.reveal-left {
  transform: translateX(-36px);
}

.js-reveal.reveal-right {
  transform: translateX(36px);
}

.js-reveal.reveal-scale {
  transform: scale(0.96) translateY(24px);
}

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

/* FAQ Accordion Section */
.faq {
  padding-top: 100px;
  padding-bottom: 100px;
}

.faq-accordion {
  max-width: 840px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.35s ease;
}

.faq-item[open] {
  border-color: rgba(194, 113, 77, 0.4);
  box-shadow: 0 12px 35px rgba(194, 113, 77, 0.1);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.35s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 32px 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-copy em,
.section-heading span {
  color: var(--accent);
  font-style: italic;
}

.hero-copy p {
  max-width: 520px;
  margin: 24px 0 36px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

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

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

.hero-floating-card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
}

.rating-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 4px;
}

.hero-floating-card strong {
  display: block;
  font-size: 18px;
  color: var(--ink);
}

.hero-floating-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* CONTINUOUS MARQUEE TICKER */
.ticker {
  margin: 40px -72px 0;
  overflow: hidden;
  background: var(--banner);
  white-space: nowrap;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 500;
}

.sep {
  opacity: 0.4;
  font-weight: 300;
}

.social-set {
  display: inline-flex;
  gap: 8px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.social-pill:hover {
  transform: translateY(-2px);
}

.social-pill img {
  width: 16px;
  height: 16px;
}

/* 7. SECTION HEADINGS & COMMON SECTION STYLES */
.section {
  padding-top: 120px;
  padding-bottom: 40px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow.light {
  color: var(--banner);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-heading.centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-heading.centered h2 {
  font-size: 32px;
  line-height: 1.3;
}

.section-heading.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-subtext {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.centered-button {
  display: flex;
  margin: 36px auto 0;
}

/* 8. ABOUT COLLAGE & STATS GRID (1-TO-1 REFERENCE MATCH) */
.intro .section-heading.centered {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.intro .eyebrow {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
}

.about-quote {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  line-height: 1.32 !important;
  color: #3c3d42 !important;
  letter-spacing: -0.01em;
}

.about-quote span {
  color: var(--accent) !important;
  font-style: normal;
}

.centered-button {
  display: flex !important;
  width: fit-content !important;
  margin: 32px auto 0 !important;
  padding: 7px 7px 7px 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

.about-collage {
  position: relative;
  height: 360px;
  max-width: 958px;
  margin: 50px auto 0;
}

.about-collage .tile {
  position: absolute;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.about-collage .small.left {
  object-position: center 15%;
}

.about-collage .medium.left-mid {
  object-position: center 10%;
}

.about-collage .large.center {
  object-position: center 15%;
}

.about-collage .medium.right-mid {
  object-position: center 10%;
}

.about-collage .small.right {
  object-position: center 15%;
}

.about-collage .small {
  width: 204px;
  height: 199px;
  top: 80px;
}

.about-collage .medium {
  width: 254px;
  height: 247px;
  top: 56px;
}

.about-collage .large {
  width: 370px;
  height: 359px;
  top: 0;
  border-radius: 20px;
}

.about-collage .left {
  left: 0;
  z-index: 1;
}

.about-collage .left-mid {
  left: 132px;
  z-index: 3;
}

.about-collage .center {
  left: 294px;
  z-index: 5;
}

.about-collage .right-mid {
  right: 132px;
  z-index: 3;
}

.about-collage .right {
  right: 0;
  z-index: 1;
}

/* Dynamic Left-Right Deviated Fan-Out Hover Animation */
.about-collage:hover .left {
  transform: translateX(-24px) rotate(-4deg) translateY(4px);
}

.about-collage:hover .left-mid {
  transform: translateX(-14px) rotate(-2deg) translateY(-4px);
}

.about-collage:hover .center {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.about-collage:hover .right-mid {
  transform: translateX(14px) rotate(2deg) translateY(-4px);
}

.about-collage:hover .right {
  transform: translateX(24px) rotate(4deg) translateY(4px);
}

.about-collage .tile:hover {
  z-index: 10 !important;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.22);
}

.about-collage .left:hover {
  transform: translateX(-32px) rotate(-6deg) translateY(-6px) scale(1.05) !important;
}

.about-collage .left-mid:hover {
  transform: translateX(-20px) rotate(-3deg) translateY(-8px) scale(1.05) !important;
}

.about-collage .center:hover {
  transform: translateY(-14px) scale(1.06) !important;
}

.about-collage .right-mid:hover {
  transform: translateX(20px) rotate(3deg) translateY(-8px) scale(1.05) !important;
}

.about-collage .right:hover {
  transform: translateX(32px) rotate(6deg) translateY(-6px) scale(1.05) !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.stat-card {
  padding: 38px 24px 50px;
  border-radius: 12px;
  background: var(--paper);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  text-align: center;
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.stat-card p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}

.stat-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.centered-button-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 32px !important;
}

.centered-button {
  display: inline-flex !important;
  width: fit-content !important;
  margin: 0 auto !important;
  padding: 7px 7px 7px 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

/* 9. BENEFITS SECTION (CRYSTAL CLEAR BG + DARKER BLUR FROSTED CARD & SHARP BUTTONS) */
.benefits {
  position: relative;
  margin-top: 120px;
  height: 720px;
  border-radius: 24px;
  overflow: hidden;
}

.benefits-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  filter: none !important;
  transform: scale(1.02);
}

.benefits::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.benefits-panel {
  position: absolute;
  bottom: 44px;
  left: 44px;
  right: 44px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 52px;
  border-radius: 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(18, 24, 32, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.benefits-panel h2 {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 600;
  margin: 0;
  max-width: 480px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.benefits-panel h2 em {
  font-style: italic;
  font-weight: 400;
}

.benefit-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  max-width: 520px;
}

.benefit-tags span {
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-tags span:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.36);
}

/* 10. SERVICES SECTION (1-TO-1 STAIRCASE STEPPED WIDTH REDUCTION) */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 50px;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.service-name {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 226px;
  height: 226px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #ece7df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-normal);
}

.service-row:hover .service-name {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.service-row img {
  height: 226px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
}

.service-row:hover img {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Staircase Step-by-step Width Reduction */
.service-row:nth-child(1) img {
  width: 550px;
  object-position: center 20%;
}

.service-row:nth-child(2) img {
  width: 440px;
  object-position: center 50%;
}

.service-row:nth-child(3) img {
  width: 340px;
  object-position: center 15%;
}

.service-row:nth-child(4) img {
  width: 226px;
  object-position: center 12%;
}

/* 11. PROCESS SECTION */
.process {
  margin-top: 100px;
  padding: 100px 72px;
  background: var(--dark);
  color: #fff;
}

.dark-copy h2 {
  color: #fff;
}

.process-stack {
  display: grid;
  gap: 28px;
  max-width: 860px;
  margin: 56px auto 0;
}

.process-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}

.process-card img {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.process-copy {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding-top: 24px;
  align-items: start;
}

.process-copy h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  color: #fff;
}

.process-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

/* 12. TEAM DENTISTS SECTION (1-TO-1 CREATIVE CENTERED HEADING GRID MATCH) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 40px;
}

.team-card {
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.team-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.team-socials {
  display: flex;
  gap: 8px;
}

.team-socials span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e3e4;
  background: #ffffff;
  transition: background var(--transition-fast);
}

.team-socials span.active-social {
  background: var(--accent);
  border-color: var(--accent);
}

.team-socials span.active-social img {
  filter: brightness(0) invert(1);
}

.team-socials img {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  object-fit: contain;
}

.doctor-photo {
  width: 165px !important;
  height: 110px !important;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 20%;
}

.team-card h3 {
  margin: 28px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.role-accent {
  color: var(--accent);
  font-weight: 500;
}

/* Center Creative Heading Cell */
.team-center-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
}

.team-center-heading .eyebrow {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
}

.team-center-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.15;
  color: #232427;
  letter-spacing: -0.02em;
}

.team-center-heading h2 em {
  color: var(--accent);
  font-style: italic;
}

/* 13. TESTIMONIALS SECTION */
.testimonials {
  padding-top: 120px;
  padding-bottom: 60px;
}

.testimonial-board {
  max-width: 1000px;
  margin: 56px auto 0;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.testimonial-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.testimonial-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.testimonial-list strong {
  font-size: 18px;
  font-family: var(--font-heading);
}

.testimonial-list button,
.testimonial-meta button {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.testimonial-list button:hover,
.testimonial-meta button:hover {
  background: var(--accent-hover);
}

.testimonial-feature {
  margin-top: 36px;
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--dark);
  color: #fff;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.location-badge {
  display: inline-block;
  font-size: 13px;
  color: var(--banner);
  margin-bottom: 4px;
}

.testimonial-feature strong {
  display: block;
  font-size: 22px;
  font-family: var(--font-heading);
}

.testimonial-highlight {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}

.testimonial-highlight img {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.testimonial-highlight time {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.testimonial-highlight p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
}

/* 14. BLOG SECTION */
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.text-link .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform var(--transition-normal);
}

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

.blog-card img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.blog-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.blog-card h3 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.3;
}

/* 15. CTA SECTION */
.cta {
  position: relative;
  margin-top: 100px;
  padding: 120px 72px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0 auto;
}

.cta-copy h2 {
  font-size: 48px;
  color: #fff;
  margin: 0 0 16px;
}

.cta-subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin-bottom: 36px;
}

.cta-art .float {
  position: absolute;
  border-radius: var(--radius-md);
  object-fit: cover;
  opacity: 0.35;
}

.cta-art .one { top: 40px; left: 40px; width: 180px; height: 180px; }
.cta-art .two { top: 60px; right: 40px; width: 180px; height: 180px; }
.cta-art .three { bottom: 40px; left: 180px; width: 140px; height: 140px; }
.cta-art .four { bottom: 40px; right: 180px; width: 140px; height: 140px; }

/* 16. FOOTER */
.footer {
  padding-top: 100px;
  padding-bottom: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-label {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-top a,
.footer-top p {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
}

.footer-brand {
  margin-top: 80px;
  font-size: clamp(80px, 16vw, 280px);
  line-height: 0.85;
  text-align: center;
  color: rgba(35, 36, 39, 0.06);
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* 17. INTERACTIVE DIALOG MODALS */
.modal-dialog {
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: transparent;
  max-width: 600px;
  width: 90vw;
  box-shadow: var(--shadow-lg);
}

.modal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.modal-dialog[open] {
  animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-content {
  padding: 40px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.modal-header h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 28px;
}

.modal-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  font-size: 18px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.booking-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--soft);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--transition-fast);
}

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

.booking-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.booking-success h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin: 0 0 12px;
}

.booking-success p {
  color: var(--muted);
  margin-bottom: 28px;
}

.duration-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  margin: 16px 0;
}

.service-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.service-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.check-icon {
  color: var(--accent);
  font-weight: bold;
}

/* Anti-Theft Content & Image Protection */
body {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

input,
textarea,
select {
  user-select: text !important;
  -webkit-user-select: text !important;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.modal-dialog img,
.team-card img,
.service-row img,
.blog-card img,
.about-collage img,
.hero-visual img,
.benefits-bg {
  pointer-events: auto !important;
}

/* 18. PERFECT 100% FULL RESPONSIVE BREAKPOINTS */
@media (max-width: 1280px) {
  .section, .hero, .footer, .process, .cta, .navbar {
    padding-left: 48px;
    padding-right: 48px;
  }
  
  .ticker {
    margin-left: -48px;
    margin-right: -48px;
  }

  .about-collage {
    transform: scale(0.82);
    transform-origin: top center;
    margin-bottom: -50px;
  }
}

@media (max-width: 1024px) {
  .section, .hero, .footer, .process, .cta, .navbar {
    padding-left: 32px;
    padding-right: 32px;
  }

  .ticker {
    margin-left: -32px;
    margin-right: -32px;
  }

  .navlinks {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: right var(--transition-normal);
  }

  .navlinks.mobile-open {
    right: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-visual {
    height: 480px;
  }

  .about-collage {
    transform: scale(0.68);
    transform-origin: top center;
    margin-bottom: -100px;
  }

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

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

  .team-center-heading {
    grid-column: span 2;
  }

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 110px;
  }

  .hero-copy h1,
  .section-heading h2,
  .benefits-panel h2,
  .cta-copy h2,
  .team-center-heading h2 {
    font-size: 34px;
  }

  .about-quote {
    font-size: 26px;
  }

  .about-collage {
    transform: scale(0.52);
    transform-origin: top center;
    margin-bottom: -140px;
  }

  .stat-card strong {
    font-size: 54px;
  }

  .stats-grid,
  .team-grid,
  .blog-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .team-center-heading {
    grid-column: span 1;
    padding: 20px 0;
  }

  .benefits {
    height: auto;
    min-height: 520px;
  }

  .benefits-panel {
    position: relative;
    inset: auto;
    margin: 20px;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }

  .benefit-tags {
    justify-content: flex-start;
  }

  .benefit-tags span {
    font-size: 18px;
    padding: 10px 20px;
  }

  .service-row {
    flex-direction: column;
    align-items: stretch;
  }

  .service-name {
    height: auto;
    min-height: 80px;
    padding: 20px;
    font-size: 24px;
  }

  .service-row img,
  .service-row:nth-child(1) img,
  .service-row:nth-child(2) img,
  .service-row:nth-child(3) img,
  .service-row:nth-child(4) img {
    width: 100% !important;
    height: 220px;
  }

  .process-copy {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .modal-dialog {
    width: 94vw;
    padding: 24px;
    max-height: 90vh;
  }
}

@media (max-width: 480px) {
  .section, .hero, .footer, .process, .cta, .navbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ticker {
    margin-left: -20px;
    margin-right: -20px;
  }

  .about-collage {
    transform: scale(0.42);
    transform-origin: top center;
    margin-bottom: -180px;
  }

  .hero-badge {
    font-size: 12px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .pill-button {
    font-size: 14px;
    padding: 6px 6px 6px 18px;
  }

  .team-card {
    padding: 24px;
  }

  .team-card-top img {
    width: 130px !important;
    height: 95px !important;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* 19. BI-DIRECTIONAL SCROLL MOTION ANIMATIONS (TOP-TO-BOTTOM & BOTTOM-TO-TOP) */
.js-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-reveal.reveal-left {
  transform: translateX(-54px);
}

.js-reveal.reveal-right {
  transform: translateX(54px);
}

.js-reveal.reveal-scale {
  transform: scale(0.93) translateY(32px);
}

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

/* 20. PREMIUM HOVER BORDER GLOW & ELEVATION SHADOW EFFECTS */
.pill-button {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pill-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(194, 113, 77, 0.32);
}

.pill-button.dark:hover {
  box-shadow: 0 10px 25px rgba(35, 36, 39, 0.4);
}

.stat-card {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover {
  border: 1px solid rgba(194, 113, 77, 0.35) !important;
  box-shadow: 0 16px 45px rgba(194, 113, 77, 0.12), 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  transform: translateY(-6px);
}

.team-card {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover {
  border-color: rgba(194, 113, 77, 0.3) !important;
  box-shadow: 0 18px 45px rgba(194, 113, 77, 0.1), 0 8px 24px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-6px);
}

.blog-card {
  transition: all 0.4s ease;
}

.blog-card:hover {
  border-color: rgba(194, 113, 77, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.blog-card img {
  transition: transform 0.5s ease;
}

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

.process-card {
  transition: all 0.4s ease;
}

.process-card:hover {
  border-color: rgba(194, 113, 77, 0.4) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 14px 35px rgba(194, 113, 77, 0.15) !important;
  transform: translateY(-5px);
}

.footer-email-link,
.footer-partner-link {
  transition: color 0.3s ease;
}

.footer-email-link:hover,
.footer-partner-link:hover {
  color: var(--accent) !important;
}

/* 21. FLOATING BACK TO TOP BUTTON & CLICK HINT BADGES */
.click-hint {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-left: 12px;
}

.service-row:hover .click-hint {
  opacity: 1;
  transform: translateX(3px);
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  border: none;
  box-shadow: 0 8px 24px rgba(194, 113, 77, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.back-to-top:hover {
  background: var(--ink);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
