/*
Theme Name: DrFurkanAkar 3D Mobile Final
Theme URI: https://drfurkanakar.com/
Author: OpenClaw
Description: Premium 3D animated WordPress theme for Dt. Furkan Akar with mobile-optimized homepage, treatments, doctor, gallery, blog and consultation pages.
Version: 3.5.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: drfurkanakar-3d-mobile-final
WP Consent API: true
*/
:root {
  color-scheme: light;
  --ink: #111315;
  --muted: #5d646b;
  --paper: #f5f1e8;
  --cream: #fffaf1;
  --gold: #c49a4f;
  --aqua: #66c7d1;
  --mint: #99dfc5;
  --clay: #a56b52;
  --line: rgba(17, 19, 21, 0.12);
  --shadow: 0 24px 80px rgba(17, 19, 21, 0.18);
}

.page-main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 72px;
}

.page-hero {
  display: grid;
  gap: 20px;
  min-height: 420px;
  align-content: center;
  padding: clamp(36px, 7vw, 74px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.9), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 88% 18%, rgba(153, 223, 197, 0.28), transparent 24rem),
    radial-gradient(circle at 16% 90%, rgba(196, 154, 79, 0.18), transparent 20rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.split-page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
}

.split-page-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  box-shadow: 0 28px 70px rgba(17, 19, 21, 0.18);
}

.page-card-grid,
.detail-grid,
.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.page-card,
.detail-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 241, 0.68)),
    radial-gradient(circle at 100% 0, rgba(102, 199, 209, 0.16), transparent 15rem);
  box-shadow: 0 20px 55px rgba(17, 19, 21, 0.09);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.page-card:hover {
  border-color: rgba(196, 154, 79, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(17, 19, 21, 0.14);
}

.page-card span,
.detail-grid h2 {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-card h2,
.detail-grid h2 {
  margin: 0;
}

.page-card h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.page-card p,
.detail-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.treatment-card-large {
  min-height: 260px;
}

.brand-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 19, 21, 0.92), rgba(35, 42, 39, 0.9)),
    radial-gradient(circle at 95% 15%, rgba(153, 223, 197, 0.32), transparent 18rem);
  color: var(--cream);
  box-shadow: 0 28px 78px rgba(17, 19, 21, 0.18);
}

.brand-strip h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1;
}

.brand-strip .eyebrow {
  color: var(--mint);
}

.logo-placeholder-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.logo-placeholder-row span {
  display: grid;
  min-height: 96px;
  place-items: center;
  padding: 14px;
  border: 1px dashed rgba(255, 250, 241, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.case-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  box-shadow: 0 18px 50px rgba(17, 19, 21, 0.12);
}

.doctor-page-hero img {
  object-position: center top;
}

.page-reel {
  margin-top: 18px;
}

.blog-grid .page-card {
  min-height: 260px;
}

.page-consultation {
  margin-top: 0;
}

@media (max-width: 980px) {
  .page-main {
    padding-top: 112px;
  }

  .split-page-hero,
  .brand-strip {
    grid-template-columns: 1fr;
  }

  .page-card-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-main {
    width: min(100% - 24px, 1180px);
    padding-top: 96px;
  }

  .page-hero {
    min-height: auto;
    padding: 28px;
  }

  .page-card-grid,
  .detail-grid,
  .case-gallery-grid,
  .logo-placeholder-row {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(102, 199, 209, 0.22), transparent 28rem),
    linear-gradient(135deg, #f8f4ec 0%, #ffffff 48%, #ece7dc 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

#dental-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.58;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(126px, 182px) 1fr auto;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: 12px clamp(18px, 4vw, 56px);
  background: linear-gradient(90deg, rgba(255, 250, 241, 0.86), rgba(255, 255, 255, 0.72));
  border-bottom: 1px solid rgba(17, 19, 21, 0.08);
  box-shadow: 0 18px 50px rgba(17, 19, 21, 0.08);
  backdrop-filter: blur(22px);
}

.brand img {
  display: block;
  width: min(190px, 35vw);
  height: auto;
}

.site-header nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.46);
  color: rgba(17, 19, 21, 0.7);
  font-size: 0.9rem;
}

.site-header nav a {
  white-space: nowrap;
}

.nav-group {
  position: relative;
}

.nav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 13px;
  overflow: hidden;
  font-weight: 760;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-pill.has-arrow::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.68;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-group:hover .nav-pill.has-arrow::after,
.nav-group:focus-within .nav-pill.has-arrow::after,
.nav-group.is-open .nav-pill.has-arrow::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-pill::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-pill:hover,
.nav-group:hover .nav-pill {
  border-color: rgba(17, 19, 21, 0.1);
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-pill:hover::before,
.nav-group:hover .nav-pill::before {
  transform: scaleX(1);
}

.nav-flyout {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 8px;
  min-width: 330px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.97), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 95% 10%, rgba(102, 199, 209, 0.18), transparent 18rem);
  box-shadow: 0 30px 90px rgba(17, 19, 21, 0.18);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) rotateX(-8deg);
  transform-origin: top center;
  transition:
    opacity 170ms ease,
    transform 220ms ease;
}

.nav-flyout::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -15px;
  height: 15px;
}

.nav-group:hover .nav-flyout,
.nav-group:focus-within .nav-flyout,
.nav-group.is-open .nav-flyout {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) rotateX(0);
}

.nav-flyout a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  padding: 13px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.45);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nav-flyout a:hover {
  border-color: rgba(196, 154, 79, 0.28);
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(4px);
}

.nav-flyout span {
  grid-row: span 2;
  color: var(--gold);
  font-weight: 900;
}

.nav-flyout strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-flyout small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.social-flyout {
  min-width: 260px;
}

.social-flyout a {
  grid-template-columns: 1fr;
}

.mega-flyout {
  grid-template-columns: 0.9fr 1.4fr 1fr;
  align-items: stretch;
  width: min(840px, calc(100vw - 48px));
  padding: 14px;
  transform: translate(-34%, 12px) rotateX(-8deg);
}

.nav-group:hover .mega-flyout,
.nav-group:focus-within .mega-flyout,
.nav-group.is-open .mega-flyout {
  transform: translate(-34%, 0) rotateX(0);
}

.mega-intro,
.mega-side {
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 6px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(17, 19, 21, 0.92), rgba(32, 54, 57, 0.88)),
    radial-gradient(circle at 80% 18%, rgba(153, 223, 197, 0.2), transparent 15rem);
  color: white;
}

.mega-intro span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mega-intro strong {
  display: block;
  max-width: 12ch;
  color: white;
  font-size: 1.55rem;
  line-height: 1;
}

.mega-intro small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mega-links a {
  min-height: 116px;
}

.mega-side {
  display: grid;
  gap: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 241, 0.56)),
    radial-gradient(circle at 15% 100%, rgba(196, 154, 79, 0.18), transparent 15rem);
  color: var(--ink);
}

.mega-side a {
  display: block;
  padding: 13px;
  border-color: rgba(17, 19, 21, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.mega-side a:hover {
  transform: translateY(-2px);
}

.mega-side strong,
.mega-side small {
  display: block;
}

.mega-side small {
  margin-top: 5px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.header-cta,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  background: var(--ink);
  color: white;
  padding: 0 18px;
}

.ghost-button {
  border: 1px solid var(--line);
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.45);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition:
    transform 220ms ease,
    opacity 180ms ease,
    top 220ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.menu-open .menu-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(42deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-42deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 104px clamp(18px, 5vw, 64px) 36px;
  background:
    radial-gradient(circle at 78% 18%, rgba(102, 199, 209, 0.24), transparent 26rem),
    linear-gradient(120deg, rgb(17, 19, 21), rgb(22, 40, 42));
  color: white;
  pointer-events: none;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 520ms cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 520ms;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 88px 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  transform: skewY(-3deg);
  pointer-events: none;
}

.menu-open .mobile-menu {
  pointer-events: auto;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 520ms cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s;
}

.mobile-menu-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(10px, 2.5vw, 22px);
}

.mobile-menu-kicker {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 300ms ease,
    transform 360ms ease;
}

.mobile-menu-kicker span {
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-menu-kicker strong {
  color: white;
  font-size: clamp(1.1rem, 5vw, 1.55rem);
  line-height: 1.05;
}

.menu-open .mobile-menu-kicker {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 80ms;
}

.mobile-menu-panel a {
  display: block;
  width: fit-content;
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 0.88;
  transform: translateY(42px) rotateX(44deg);
  transform-origin: left bottom;
  opacity: 0;
  transition:
    transform 420ms cubic-bezier(0.2, 0.86, 0.25, 1),
    opacity 300ms ease;
}

.menu-open .mobile-menu-panel a {
  transform: translateY(0) rotateX(0);
  opacity: 1;
}

.menu-open .mobile-menu-panel a:nth-child(1) {
  transition-delay: 120ms;
}

.menu-open .mobile-menu-panel a:nth-child(2) {
  transition-delay: 170ms;
}

.menu-open .mobile-menu-panel a:nth-child(3) {
  transition-delay: 220ms;
}

.menu-open .mobile-menu-panel a:nth-child(4) {
  transition-delay: 270ms;
}

.menu-open .mobile-menu-panel a:nth-child(5) {
  transition-delay: 320ms;
}

.mobile-treatment-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 320ms ease,
    transform 420ms ease;
}

.menu-open .mobile-treatment-links {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 360ms;
}

.mobile-treatment-links a {
  min-height: 74px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 850;
}

.mobile-menu-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 300ms ease,
    transform 360ms ease;
}

.menu-open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 420ms;
}

.mobile-menu-footer a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 12px 16px;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  padding: 110px clamp(18px, 5vw, 72px) 48px;
}

.hero-copy {
  max-width: 590px;
  padding-top: 6vh;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 24px;
  font-size: clamp(4rem, 7.9vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-text {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stage {
  position: relative;
  min-height: min(76vh, 780px);
  perspective: 1400px;
  transform-style: preserve-3d;
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(17, 19, 21, 0.1);
  transform-style: preserve-3d;
  pointer-events: none;
}

.hero-stage::before {
  width: 74%;
  aspect-ratio: 1.4;
  right: 3%;
  bottom: 6%;
  transform: rotateX(68deg) rotateZ(-17deg) translateZ(-40px);
  background:
    linear-gradient(rgba(17, 19, 21, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.56;
}

.hero-stage::after {
  width: 32%;
  aspect-ratio: 1;
  left: 4%;
  bottom: 5%;
  border-color: rgba(153, 223, 197, 0.5);
  border-radius: 50%;
  transform: rotateX(74deg) rotateZ(32deg) translateZ(120px);
  animation: pulseRing 4.8s ease-in-out infinite;
}

.portrait-shell {
  position: absolute;
  inset: 7% 5% 0 13%;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f3f3;
  box-shadow: var(--shadow);
  transform: rotateY(-11deg) rotateX(4deg) translateZ(60px);
  transform-origin: center;
}

.portrait-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.38), transparent 30%),
    linear-gradient(180deg, transparent 48%, rgba(17, 19, 21, 0.16));
  pointer-events: none;
}

.portrait-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 47% 40%;
  filter: contrast(1.04) saturate(0.92);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(196, 154, 79, 0.44);
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: spin 12s linear infinite;
}

.orbit-one {
  width: 78%;
  aspect-ratio: 1;
  left: 7%;
  top: 5%;
  transform: rotateX(72deg) rotateZ(12deg);
}

.orbit-two {
  width: 52%;
  aspect-ratio: 1;
  right: 2%;
  top: 18%;
  border-color: rgba(102, 199, 209, 0.52);
  animation-duration: 17s;
  animation-direction: reverse;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 5px;
  min-width: 154px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 50px rgba(17, 19, 21, 0.14);
  backdrop-filter: blur(16px);
}

.floating-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.floating-card strong {
  font-size: 0.96rem;
}

.card-implant {
  top: 20%;
  left: 1%;
}

.card-smile {
  right: 0;
  bottom: 20%;
}

.tooth-model {
  position: absolute;
  z-index: 5;
  right: 4%;
  top: 10%;
  width: clamp(96px, 13vw, 160px);
  aspect-ratio: 0.72;
  transform-style: preserve-3d;
  animation: floatTooth 4.6s ease-in-out infinite;
}

.tooth-model::before,
.tooth-model::after {
  content: "";
  position: absolute;
  inset: 11% -28%;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  transform: rotateX(72deg);
}

.tooth-model::after {
  inset: 24% -20%;
  border-color: rgba(196, 154, 79, 0.46);
  transform: rotateX(64deg) rotateZ(32deg);
}

.tooth-crown,
.tooth-root,
.tooth-shine {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.tooth-crown {
  top: 0;
  width: 100%;
  height: 62%;
  border-radius: 44% 44% 34% 34%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.96), transparent 28%),
    linear-gradient(145deg, #ffffff, #d9f1f3 58%, #b9cfd2);
  box-shadow:
    inset -18px -24px 42px rgba(40, 72, 76, 0.16),
    0 18px 46px rgba(28, 75, 82, 0.2);
}

.tooth-root {
  bottom: 1%;
  width: 54%;
  height: 52%;
  border-radius: 24% 24% 48% 48%;
  background: linear-gradient(145deg, #eefcff, #cadde0);
  clip-path: polygon(8% 0, 92% 0, 72% 100%, 52% 70%, 30% 100%);
}

.tooth-shine {
  top: 18%;
  width: 16%;
  height: 34%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  filter: blur(1px);
}

.treatment-strip,
.trust-grid,
.consultation,
.result-gallery,
.doctor-showcase,
.social-hub {
  margin-inline: clamp(18px, 5vw, 72px);
  scroll-margin-top: 105px;
}

.treatment-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.treatment {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 20px;
  border: 0;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.treatment span {
  font-size: 1.05rem;
  font-weight: 850;
}

.treatment small {
  color: var(--muted);
  font-size: 0.88rem;
}

.treatment.is-active {
  background: var(--ink);
  color: #fff;
}

.treatment.is-active small {
  color: rgba(255, 255, 255, 0.68);
}

.result-gallery {
  position: relative;
  padding-block: clamp(46px, 7vw, 96px);
  perspective: 1500px;
}

.result-gallery::before {
  content: "";
  position: absolute;
  inset: 9% -5% 2%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 24%, rgba(153, 223, 197, 0.24), transparent 24rem),
    radial-gradient(circle at 78% 58%, rgba(196, 154, 79, 0.18), transparent 26rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 1fr);
  align-items: end;
  gap: clamp(18px, 5vw, 72px);
  margin-bottom: clamp(22px, 4vw, 46px);
}

.section-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.gallery-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(18px, 4vw, 58px);
  align-items: center;
  transform-style: preserve-3d;
}

.gallery-feature,
.result-card {
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 70px rgba(17, 19, 21, 0.16);
}

.gallery-feature {
  position: relative;
  min-height: 470px;
  transform: rotateY(11deg) rotateX(2deg) translateZ(70px);
}

.gallery-feature img,
.result-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-feature img {
  position: absolute;
  inset: 0;
}

.gallery-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(17, 19, 21, 0.72));
}

.gallery-feature div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: white;
}

.gallery-feature span {
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gallery-feature strong {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 0.96;
}

.gallery-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(180px, 1fr));
  gap: 16px;
  min-height: 430px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 44px 8px 58px;
  transform-style: preserve-3d;
  scrollbar-width: thin;
}

.result-card {
  position: relative;
  min-width: 220px;
  height: 330px;
  margin: 0;
  transform: rotateY(-18deg) rotateX(4deg) translateZ(0);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.result-card:nth-child(even) {
  transform: rotateY(-10deg) rotateX(-3deg) translateY(28px) translateZ(28px);
}

.result-card:nth-child(3n) {
  transform: rotateY(-24deg) rotateX(7deg) translateY(-16px) translateZ(48px);
}

.result-card.is-front,
.result-card:hover {
  transform: rotateY(-4deg) rotateX(1deg) translateY(-22px) translateZ(88px);
  box-shadow: 0 32px 90px rgba(17, 19, 21, 0.24);
}

.result-card::before {
  content: "Before / After";
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(17, 19, 21, 0.72);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}

.result-card img {
  filter: saturate(0.96) contrast(1.02);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-block: clamp(48px, 9vw, 116px);
}

.trust-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.trust-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.trust-grid p {
  color: var(--muted);
  line-height: 1.6;
}











.doctor-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(52px, 7vw, 92px) clamp(32px, 5vw, 64px);
  perspective: 1500px;
}

.doctor-copy {
  max-width: 620px;
}

.doctor-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.8vw, 6.2rem);
  line-height: 0.9;
}

.doctor-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-buttons a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.54);
  font-weight: 800;
}

.social-buttons.light a {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.doctor-reel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(118px, 12vw);
  gap: 14px;
  transform-style: preserve-3d;
}

.doctor-photo {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #e9e2d7;
  box-shadow: 0 22px 70px rgba(17, 19, 21, 0.15);
  transform: rotateY(-10deg) rotateX(4deg) translateZ(20px);
}

.doctor-photo.tall {
  grid-row: span 3;
  transform: rotateY(8deg) rotateX(3deg) translateZ(58px);
}

.doctor-photo.lift {
  transform: rotateY(-16deg) rotateX(-2deg) translateY(-28px) translateZ(86px);
}

.doctor-photo.wide {
  grid-column: span 4;
  transform: rotateY(-6deg) rotateX(2deg) translateZ(44px);
}

.doctor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(0.95) contrast(1.02);
}

.social-hub {
  position: relative;
  padding-block: clamp(34px, 5vw, 72px) clamp(46px, 7vw, 96px);
}

.social-hub::before {
  content: "";
  position: absolute;
  inset: 4% -5%;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(17, 19, 21, 0.04), transparent 42%),
    radial-gradient(circle at 82% 30%, rgba(102, 199, 209, 0.2), transparent 26rem);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  perspective: 1200px;
}

.social-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.34)),
    var(--tone, rgba(255, 255, 255, 0.65));
  box-shadow: 0 18px 50px rgba(17, 19, 21, 0.1);
  transform: rotateX(0) rotateY(0) translateZ(0);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.social-card::before {
  content: "";
  position: absolute;
  width: 140px;
  aspect-ratio: 1;
  right: -48px;
  top: -42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  transition:
    transform 300ms ease,
    opacity 300ms ease;
}

.social-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(17, 19, 21, 0.6), transparent);
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 260ms ease;
}

.social-card:hover {
  border-color: rgba(17, 19, 21, 0.18);
  box-shadow: 0 28px 76px rgba(17, 19, 21, 0.17);
  transform: rotateX(3deg) rotateY(-5deg) translateY(-8px) translateZ(34px);
}

.social-card:hover::before {
  opacity: 0.72;
  transform: scale(1.18) translate(-12px, 10px);
}

.social-card:hover::after {
  transform: scaleX(1);
}

.social-card span {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  color: rgba(17, 19, 21, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-card strong {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  font-size: clamp(1.28rem, 2vw, 2rem);
  line-height: 0.95;
}

.social-card small {
  position: relative;
  z-index: 1;
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.social-card.website,
.social-card.instagram {
  grid-column: span 2;
}

.social-card.website {
  --tone: rgba(153, 223, 197, 0.24);
}

.social-card.instagram {
  --tone: rgba(196, 154, 79, 0.2);
}

.social-card.x {
  --tone: rgba(17, 19, 21, 0.08);
}

.social-card.youtube {
  --tone: rgba(165, 107, 82, 0.18);
}

.social-card.medium {
  --tone: rgba(102, 199, 209, 0.19);
}

.social-card.about {
  --tone: rgba(245, 241, 232, 0.76);
}

.social-card.reddit {
  --tone: rgba(196, 154, 79, 0.14);
}

.social-card.facebook {
  --tone: rgba(102, 199, 209, 0.16);
}

.consultation {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 0.62fr);
  align-items: start;
  gap: 24px;
  margin-bottom: 44px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 6px;
  background: var(--ink);
  color: white;
}

.consultation h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.consultation-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.consultation .eyebrow {
  color: var(--aqua);
}

.primary-button.dark {
  background: white;
  color: var(--ink);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.lead-form textarea {
  resize: vertical;
}

@keyframes spin {
  to {
    rotate: 1turn;
  }
}

@keyframes floatTooth {
  0%,
  100% {
    transform: translate3d(0, 0, 120px) rotateY(-16deg) rotateZ(3deg);
  }
  50% {
    transform: translate3d(-10px, 18px, 150px) rotateY(16deg) rotateZ(-4deg);
  }
}

@keyframes pulseRing {
  0%,
  100% {
    scale: 1;
    opacity: 0.72;
  }
  50% {
    scale: 1.12;
    opacity: 0.32;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 92px;
  }

  .hero-copy {
    padding-top: 2vh;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.3rem, 14.2vw, 6.4rem);
  }

  .hero-stage {
    min-height: 62vh;
  }

  .portrait-shell {
    inset: 0 0 0 7%;
  }

  .treatment-strip,
  .trust-grid,
  .doctor-showcase,
  .consultation,
  .section-heading,
  .gallery-stage {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading,
  .gallery-stage,
  .doctor-showcase,
  .consultation {
    grid-template-columns: 1fr;
  }

  .gallery-feature {
    min-height: 360px;
    transform: rotateY(4deg) translateZ(40px);
  }

  .doctor-reel {
    grid-auto-rows: minmax(132px, 24vw);
  }

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

  .social-card.website,
  .social-card.instagram {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand img {
    width: 138px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .mobile-menu {
    padding-top: 92px;
  }

  .mobile-treatment-links {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    gap: 22px;
    padding-inline: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stage {
    min-height: 520px;
  }

  h1 {
    max-width: 8.5ch;
    font-size: clamp(3.15rem, 13.4vw, 4.5rem);
  }

  .portrait-shell {
    inset: 2% 0 0 0;
    transform: rotateY(-5deg) rotateX(2deg) translateZ(30px);
  }

  .floating-card {
    display: none;
  }

  .treatment-strip,
  .trust-grid,
  .result-gallery,
  .doctor-showcase,
  .social-hub {
    grid-template-columns: 1fr;
    margin-inline: 16px;
  }

  .section-heading h2 {
    font-size: clamp(2.6rem, 15vw, 4.7rem);
  }

  .gallery-feature {
    min-height: 310px;
  }

  .gallery-stack {
    grid-template-columns: repeat(7, minmax(230px, 1fr));
    min-height: 330px;
    padding-block: 26px 38px;
  }

  .doctor-copy h2 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  .doctor-reel {
    display: flex;
    overflow-x: auto;
    padding: 24px 4px 34px;
    scrollbar-width: thin;
  }

  .doctor-photo,
  .doctor-photo.tall,
  .doctor-photo.lift,
  .doctor-photo.wide {
    flex: 0 0 72vw;
    height: 430px;
    transform: rotateY(-9deg) rotateX(3deg) translateZ(30px);
  }

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

  .social-card {
    min-height: 190px;
  }

  .result-card {
    height: 260px;
  }

  .consultation {
    align-items: stretch;
    flex-direction: column;
    margin-inline: 16px;
  }
}

/* Kinetic dental direction */
:root {
  color-scheme: light;
  --ink: #2c2d2f;
  --muted: #66706b;
  --paper: #f7faf8;
  --cream: #fffaf0;
  --gold: #f8b72b;
  --aqua: #009f3f;
  --mint: #eef7f1;
  --clay: #007238;
  --line: rgba(0, 86, 44, 0.14);
  --shadow: 0 34px 110px rgba(0, 86, 44, 0.16);
}

body {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 114, 56, 0.12), transparent 25rem),
    radial-gradient(circle at 18% 72%, rgba(248, 183, 43, 0.16), transparent 28rem),
    linear-gradient(145deg, #f7faf8 0%, #fffaf0 46%, #eef7f1 100%);
  color: var(--ink);
}

body::before {
  content: "IMPLANTS  HOLLYWOOD SMILE  ISTANBUL  SMILE DESIGN";
  position: fixed;
  left: -8vw;
  right: -8vw;
  bottom: 5vh;
  z-index: 0;
  color: rgba(244, 247, 242, 0.035);
  font-size: clamp(4rem, 13vw, 15rem);
  font-weight: 950;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
  transform: rotate(-6deg);
}

#dental-field {
  opacity: 0.38;
  mix-blend-mode: screen;
}

.site-header {
  background: rgba(7, 9, 9, 0.78);
  border-bottom-color: rgba(244, 247, 242, 0.1);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 7px 10px;
  background: rgba(244, 247, 242, 0.96);
}

.site-header nav,
.ghost-button,
.social-buttons a {
  background: rgba(244, 247, 242, 0.06);
  border-color: rgba(244, 247, 242, 0.12);
  color: rgba(244, 247, 242, 0.76);
}

.nav-pill:hover,
.nav-group:hover .nav-pill,
.header-cta,
.primary-button {
  background: var(--gold);
  color: #2c2d2f;
}

.nav-flyout {
  background:
    linear-gradient(135deg, rgba(9, 11, 12, 0.97), rgba(19, 26, 25, 0.94)),
    radial-gradient(circle at 95% 10%, rgba(57, 214, 230, 0.22), transparent 18rem);
  border-color: rgba(244, 247, 242, 0.13);
}

.nav-flyout a,
.mega-side a {
  background: rgba(244, 247, 242, 0.06);
}

.nav-flyout strong,
.mega-side {
  color: var(--ink);
}

.nav-flyout small,
.hero-text,
.doctor-copy p:not(.eyebrow),
.trust-grid p,
.social-card small {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 88px clamp(18px, 5vw, 72px) 18px;
  z-index: -1;
  border: 1px solid rgba(244, 247, 242, 0.11);
  background:
    linear-gradient(rgba(244, 247, 242, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 242, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 5% 100%);
}

.eyebrow {
  color: var(--gold);
}

h1,
.section-heading h2,
.doctor-copy h2,
.consultation h2,
.lab-copy h2 {
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 6.4vw, 6.25rem);
  text-shadow: 0 20px 80px rgba(0, 0, 0, 0.36);
}

.portrait-shell,
.gallery-feature,
.result-card,
.doctor-photo,
.social-card,
.consultation,
.lead-form {
  border-radius: 3px;
}

.portrait-shell {
  background: #111;
  box-shadow: 0 46px 130px rgba(0, 0, 0, 0.58);
}

.portrait-shell img {
  filter: contrast(1.12) saturate(0.86);
}

.tooth-model {
  right: -1%;
  top: 6%;
  filter: drop-shadow(0 34px 38px rgba(0, 0, 0, 0.38));
}

.treatment-strip {
  border-color: rgba(0, 86, 44, 0.14);
  background: rgba(0, 86, 44, 0.14);
}

.treatment {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.treatment.is-active {
  background: var(--gold);
  color: #2c2d2f;
}

.treatment small {
  color: var(--muted);
}

.treatment.is-active small {
  color: rgba(7, 9, 9, 0.65);
}

.dental-lab {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  min-height: 680px;
  margin: clamp(26px, 5vw, 72px) clamp(18px, 5vw, 72px);
  padding: clamp(28px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid rgba(244, 247, 242, 0.12);
  background:
    radial-gradient(circle at 72% 28%, rgba(57, 214, 230, 0.18), transparent 25rem),
    linear-gradient(135deg, rgba(244, 247, 242, 0.075), rgba(244, 247, 242, 0.025));
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 96%);
  scroll-margin-top: 105px;
}

.dental-lab::before {
  content: "3D DENTAL LAB";
  position: absolute;
  left: -3vw;
  top: 2vw;
  color: rgba(244, 247, 242, 0.045);
  font-size: clamp(4rem, 11vw, 12rem);
  font-weight: 950;
  line-height: 0.8;
  white-space: nowrap;
}

.lab-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.lab-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6.4vw, 7.2rem);
  line-height: 0.86;
}

.lab-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.lab-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: rgba(244, 247, 242, 0.14);
}

.lab-stats span {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 16px;
  background: rgba(7, 9, 9, 0.72);
  color: rgba(244, 247, 242, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.lab-stats strong {
  color: var(--gold);
  font-size: clamp(1.45rem, 2.3vw, 2.4rem);
  line-height: 0.92;
}

.lab-stage {
  position: relative;
  min-height: min(70vh, 720px);
  perspective: 1500px;
  transform-style: preserve-3d;
}

.lab-grid-floor {
  position: absolute;
  left: 6%;
  right: 2%;
  bottom: 4%;
  height: 58%;
  border: 1px solid rgba(216, 255, 50, 0.22);
  background:
    linear-gradient(rgba(216, 255, 50, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 255, 50, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: rotateX(72deg) rotateZ(-12deg);
  transform-origin: center bottom;
}

.implant-3d {
  position: absolute;
  left: 18%;
  top: 3%;
  width: clamp(118px, 16vw, 210px);
  height: clamp(320px, 42vw, 520px);
  transform-style: preserve-3d;
  animation: implantFloat 5.8s ease-in-out infinite;
}

.implant-crown,
.implant-abutment,
.implant-thread,
.implant-pin {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.implant-crown {
  top: 0;
  width: 88%;
  height: 24%;
  border-radius: 44% 44% 30% 30%;
  background:
    radial-gradient(circle at 36% 20%, white, transparent 28%),
    linear-gradient(145deg, #ffffff, #c7f3f6 54%, #8bb8bf);
  box-shadow:
    inset -18px -22px 35px rgba(0, 0, 0, 0.18),
    0 28px 70px rgba(57, 214, 230, 0.24);
}

.implant-abutment {
  top: 22%;
  width: 38%;
  height: 14%;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, #d8d8d8, #ffffff 48%, #8e9698);
}

.implant-thread {
  top: 34%;
  width: 48%;
  height: 44%;
  border-radius: 18px;
  background:
    repeating-linear-gradient(168deg, rgba(255, 255, 255, 0.95) 0 9px, rgba(102, 112, 116, 0.95) 10px 18px),
    linear-gradient(90deg, #777, #fafafa 44%, #5b6265);
  box-shadow:
    inset -18px 0 26px rgba(0, 0, 0, 0.28),
    0 24px 80px rgba(0, 0, 0, 0.42);
}

.implant-pin {
  top: 75%;
  width: 24%;
  height: 18%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(90deg, #686f72, #f7f7f7, #545b5e);
}

.smile-arch {
  position: absolute;
  right: -2%;
  top: 26%;
  width: min(58vw, 560px);
  height: min(28vw, 260px);
  transform: rotateY(-20deg) rotateX(8deg) translateZ(80px);
  transform-style: preserve-3d;
  animation: smileSweep 6s ease-in-out infinite;
}

.smile-arch span {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 8.6%;
  height: 62%;
  border-radius: 44% 44% 22% 22%;
  background:
    radial-gradient(circle at 36% 20%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(145deg, #ffffff, #dff8f8 60%, #a6cbd0);
  box-shadow:
    inset -10px -14px 26px rgba(31, 63, 66, 0.16),
    0 16px 42px rgba(57, 214, 230, 0.12);
  transform-origin: 50% 135%;
}

.smile-arch span:nth-child(1) { transform: translateX(-610%) rotate(-35deg); height: 40%; }
.smile-arch span:nth-child(2) { transform: translateX(-500%) rotate(-28deg); height: 48%; }
.smile-arch span:nth-child(3) { transform: translateX(-385%) rotate(-21deg); height: 58%; }
.smile-arch span:nth-child(4) { transform: translateX(-270%) rotate(-13deg); height: 69%; }
.smile-arch span:nth-child(5) { transform: translateX(-155%) rotate(-6deg); height: 78%; }
.smile-arch span:nth-child(6) { transform: translateX(-48%) rotate(-1deg); height: 82%; }
.smile-arch span:nth-child(7) { transform: translateX(58%) rotate(1deg); height: 82%; }
.smile-arch span:nth-child(8) { transform: translateX(165%) rotate(6deg); height: 78%; }
.smile-arch span:nth-child(9) { transform: translateX(280%) rotate(13deg); height: 69%; }
.smile-arch span:nth-child(10) { transform: translateX(395%) rotate(21deg); height: 58%; }
.smile-arch span:nth-child(11) { transform: translateX(510%) rotate(28deg); height: 48%; }
.smile-arch span:nth-child(12) { transform: translateX(620%) rotate(35deg); height: 40%; }

.lab-panel {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 6px;
  min-width: 190px;
  padding: 16px;
  border: 1px solid rgba(244, 247, 242, 0.16);
  background: rgba(7, 9, 9, 0.68);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.lab-panel span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lab-panel strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.lab-panel-top {
  right: 6%;
  top: 9%;
}

.lab-panel-bottom {
  left: 5%;
  bottom: 12%;
}

.result-gallery::before,
.social-hub::before {
  opacity: 0.72;
}

.gallery-feature,
.result-card,
.doctor-photo,
.social-card {
  background: rgba(244, 247, 242, 0.06);
  border: 1px solid rgba(244, 247, 242, 0.1);
}

.social-card {
  background:
    linear-gradient(145deg, rgba(244, 247, 242, 0.11), rgba(244, 247, 242, 0.035)),
    var(--tone, rgba(244, 247, 242, 0.05));
}

.social-card span {
  color: var(--gold);
}

.social-card::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.consultation {
  background:
    radial-gradient(circle at 82% 18%, rgba(248, 183, 43, 0.18), transparent 24rem),
    linear-gradient(135deg, #f8b72b, #fffaf0);
  color: #2c2d2f;
}

.consultation .eyebrow,
.consultation-copy p:not(.eyebrow) {
  color: rgba(44, 45, 47, 0.68);
}

.social-buttons.light a {
  border-color: rgba(0, 86, 44, 0.16);
  background: rgba(0, 86, 44, 0.07);
  color: #2c2d2f;
}

.lead-form {
  background: rgba(0, 86, 44, 0.84);
}

@keyframes implantFloat {
  0%, 100% {
    transform: rotateY(-22deg) rotateX(8deg) rotateZ(-4deg) translate3d(0, 0, 110px);
  }
  50% {
    transform: rotateY(16deg) rotateX(3deg) rotateZ(5deg) translate3d(18px, 22px, 155px);
  }
}

@keyframes smileSweep {
  0%, 100% {
    transform: rotateY(-20deg) rotateX(8deg) translateZ(80px) translateY(0);
  }
  50% {
    transform: rotateY(-8deg) rotateX(3deg) translateZ(128px) translateY(-14px);
  }
}

@media (max-width: 920px) {
  .dental-lab {
    grid-template-columns: 1fr;
  }

  .lab-stage {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  body::before {
    display: none;
  }

  .hero::before {
    inset-inline: 16px;
  }

  .dental-lab {
    margin-inline: 16px;
    padding: 24px 16px 30px;
    clip-path: none;
  }

  .lab-copy h2 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  .lab-stats {
    grid-template-columns: 1fr;
  }

  .lab-stage {
    min-height: 500px;
  }

  .implant-3d {
    left: 4%;
    top: 5%;
  }

  .smile-arch {
    right: -18%;
    top: 36%;
    width: 520px;
    height: 230px;
  }

  .lab-panel {
    min-width: 150px;
    padding: 12px;
  }
}

/* Brand-color and mobile polish layer */
:root {
  color-scheme: light;
  --ink: #2c2d2f;
  --muted: #66706b;
  --paper: #f7faf8;
  --cream: #fffaf0;
  --gold: #f8b72b;
  --aqua: #009f3f;
  --mint: #eef7f1;
  --clay: #007238;
  --brand-green: #007238;
  --brand-green-dark: #00562c;
  --brand-green-bright: #009f3f;
  --line: rgba(0, 86, 44, 0.14);
  --shadow: 0 30px 90px rgba(0, 86, 44, 0.16);
}

body {
  background:
    radial-gradient(circle at 76% 16%, rgba(0, 114, 56, 0.12), transparent 27rem),
    radial-gradient(circle at 16% 76%, rgba(248, 183, 43, 0.16), transparent 28rem),
    linear-gradient(145deg, #f7faf8 0%, #fffaf0 48%, #eef7f1 100%);
  color: var(--ink);
}

body::before {
  color: rgba(0, 86, 44, 0.055);
}

#dental-field {
  opacity: 0.34;
  mix-blend-mode: multiply;
}

.site-header {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(0, 86, 44, 0.12);
  box-shadow: 0 18px 56px rgba(0, 86, 44, 0.08);
}

.brand {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(0, 86, 44, 0.08);
}

.site-header nav,
.ghost-button,
.social-buttons a {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 86, 44, 0.14);
  color: rgba(44, 45, 47, 0.78);
}

.nav-pill:hover,
.nav-group:hover .nav-pill,
.header-cta,
.primary-button {
  background: var(--brand-green);
  color: #fff;
}

.nav-pill::before {
  background: linear-gradient(90deg, var(--brand-green), var(--gold));
}

.nav-flyout {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 241, 0.94)),
    radial-gradient(circle at 95% 10%, rgba(248, 183, 43, 0.2), transparent 18rem);
  border-color: rgba(0, 86, 44, 0.14);
}

.nav-flyout a,
.mega-side a {
  background: rgba(255, 255, 255, 0.72);
}

.nav-flyout strong,
.mega-side,
.lab-panel strong {
  color: var(--ink);
}

.nav-flyout small,
.hero-text,
.doctor-copy p:not(.eyebrow),
.trust-grid p,
.social-card small,
.lab-copy p:not(.eyebrow) {
  color: var(--muted);
}

.mega-intro {
  background:
    linear-gradient(160deg, var(--brand-green-dark), var(--brand-green)),
    radial-gradient(circle at 78% 12%, rgba(248, 183, 43, 0.24), transparent 14rem);
  color: #fff;
}

.mega-intro span {
  color: var(--gold);
}

.mega-side {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(238, 247, 241, 0.86)),
    radial-gradient(circle at 15% 100%, rgba(248, 183, 43, 0.18), transparent 15rem);
}

.hero::before {
  border-color: rgba(0, 86, 44, 0.12);
  background:
    linear-gradient(rgba(0, 114, 56, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 114, 56, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
}

.eyebrow,
.social-card span,
.lab-panel span {
  color: var(--brand-green);
}

h1 {
  text-shadow: 0 20px 70px rgba(0, 86, 44, 0.14);
}

.portrait-shell {
  background: #eef7f1;
  box-shadow: 0 42px 110px rgba(0, 86, 44, 0.18);
}

.portrait-shell img,
.doctor-photo img,
.result-card img {
  filter: contrast(1.05) saturate(0.98);
}

.tooth-model {
  filter: drop-shadow(0 28px 36px rgba(0, 86, 44, 0.2));
}

.tooth-crown,
.implant-crown,
.smile-arch span {
  background:
    radial-gradient(circle at 36% 20%, rgba(255, 255, 255, 0.98), transparent 27%),
    linear-gradient(145deg, #ffffff, #f5fff9 56%, #cfe6d8);
}

.treatment-strip {
  border-color: rgba(0, 86, 44, 0.14);
  background: rgba(0, 86, 44, 0.14);
}

.treatment {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.treatment.is-active {
  background: var(--brand-green);
  color: #fff;
}

.treatment small {
  color: var(--muted);
}

.treatment.is-active small {
  color: rgba(255, 255, 255, 0.74);
}

.dental-lab {
  border-color: rgba(0, 86, 44, 0.14);
  background:
    radial-gradient(circle at 75% 28%, rgba(248, 183, 43, 0.2), transparent 25rem),
    radial-gradient(circle at 20% 72%, rgba(0, 114, 56, 0.12), transparent 25rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 247, 241, 0.74));
  box-shadow: 0 28px 90px rgba(0, 86, 44, 0.1);
}

.dental-lab::before {
  color: rgba(0, 86, 44, 0.06);
}

.lab-stats {
  background: rgba(0, 86, 44, 0.14);
}

.lab-stats span {
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
}

.lab-stats strong {
  color: var(--brand-green);
}

.lab-grid-floor {
  border-color: rgba(0, 114, 56, 0.28);
  background:
    linear-gradient(rgba(0, 114, 56, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 114, 56, 0.14) 1px, transparent 1px);
  background-size: 38px 38px;
}

.implant-thread {
  background:
    repeating-linear-gradient(168deg, rgba(255, 255, 255, 0.96) 0 9px, rgba(0, 114, 56, 0.54) 10px 18px),
    linear-gradient(90deg, #dbe5df, #ffffff 44%, #9bb0a4);
  box-shadow:
    inset -18px 0 26px rgba(0, 86, 44, 0.16),
    0 24px 80px rgba(0, 86, 44, 0.22);
}

.implant-abutment,
.implant-pin {
  background: linear-gradient(90deg, #d4ddd8, #ffffff 48%, #8ea098);
}

.lab-panel {
  border-color: rgba(0, 86, 44, 0.14);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(0, 86, 44, 0.14);
}

.gallery-feature,
.result-card,
.doctor-photo,
.social-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 86, 44, 0.12);
}

.social-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(238, 247, 241, 0.72)),
    var(--tone, rgba(255, 255, 255, 0.65));
}

.social-card::after {
  background: linear-gradient(90deg, var(--brand-green), var(--gold), transparent);
}

.social-card.website,
.social-card.medium,
.social-card.facebook {
  --tone: rgba(0, 114, 56, 0.1);
}

.social-card.instagram,
.social-card.reddit {
  --tone: rgba(248, 183, 43, 0.2);
}

.social-card.youtube {
  --tone: rgba(0, 159, 63, 0.11);
}

.consultation {
  background:
    radial-gradient(circle at 82% 18%, rgba(248, 183, 43, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
  color: #fff;
}

.consultation .eyebrow {
  color: var(--gold);
}

.consultation-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.primary-button.dark {
  background: var(--gold);
  color: #2c2d2f;
}

.social-buttons.light a {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lead-form {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-menu {
  background:
    radial-gradient(circle at 78% 18%, rgba(248, 183, 43, 0.18), transparent 24rem),
    linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
}

.mobile-menu-kicker span {
  color: var(--gold);
}

.mobile-treatment-links a,
.mobile-menu-footer a {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(0, 86, 44, 0.18);
}

.menu-toggle span {
  background: var(--brand-green-dark);
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 32px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-stage {
    min-height: 56vh;
    max-height: 620px;
  }

  .dental-lab {
    min-height: auto;
  }

  .section-heading h2,
  .doctor-copy h2,
  .consultation h2,
  .lab-copy h2 {
    line-height: 0.96;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .brand {
    padding: 5px 7px;
  }

  .brand img {
    width: min(132px, 42vw);
  }

  .header-actions {
    gap: 7px;
  }

  .header-cta {
    min-height: 40px;
    max-width: 112px;
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .menu-toggle {
    width: 44px;
    height: 40px;
  }

  .mobile-menu {
    overflow-y: auto;
    padding: 82px 16px 22px;
  }

  .mobile-menu::before {
    inset: 72px 12px 16px;
  }

  .mobile-menu-panel {
    gap: 9px;
  }

  .mobile-menu-panel a {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
    line-height: 0.96;
  }

  .mobile-treatment-links a {
    min-height: 58px;
    padding: 10px;
    font-size: 0.9rem;
  }

  .mobile-menu-footer {
    gap: 8px;
  }

  .mobile-menu-footer a {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .hero {
    gap: 18px;
    padding: 86px 14px 26px;
  }

  h1 {
    max-width: 10ch;
    margin-bottom: 18px;
    font-size: clamp(2.72rem, 12vw, 3.85rem);
    line-height: 0.96;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 22px;
  }

  .hero-actions a {
    min-height: 46px;
    width: 100%;
  }

  .hero-stage {
    min-height: 390px;
  }

  .portrait-shell {
    inset: 0 0 5% 0;
  }

  .tooth-model {
    width: 92px;
    right: 1%;
    top: 3%;
  }

  .treatment-strip {
    display: grid;
    gap: 1px;
  }

  .treatment {
    min-height: 86px;
    padding: 14px;
  }

  .section-heading {
    margin-inline: 16px;
  }

  .section-heading h2 {
    font-size: clamp(2.05rem, 10vw, 3.25rem);
  }

  .dental-lab {
    gap: 20px;
    margin: 22px 14px;
    padding: 22px 14px 24px;
  }

  .dental-lab::before {
    top: 12px;
    font-size: clamp(3rem, 18vw, 5.5rem);
  }

  .lab-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(2.12rem, 10.8vw, 3.35rem);
    line-height: 0.98;
  }

  .lab-copy p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .lab-stats {
    margin-top: 20px;
  }

  .lab-stats span {
    min-height: 70px;
    padding: 12px;
  }

  .lab-stage {
    min-height: 360px;
    overflow: hidden;
  }

  .lab-grid-floor {
    left: -8%;
    right: -6%;
    bottom: -4%;
    height: 52%;
    background-size: 30px 30px;
  }

  .implant-3d {
    left: 6%;
    top: 2%;
    width: 96px;
    height: 290px;
  }

  .smile-arch {
    right: -38%;
    top: 38%;
    width: 390px;
    height: 178px;
  }

  .lab-panel {
    min-width: 126px;
    padding: 10px;
  }

  .lab-panel strong {
    font-size: 0.9rem;
  }

  .lab-panel-bottom {
    left: 3%;
    bottom: 8%;
  }

  .lab-panel-top {
    right: 3%;
    top: 5%;
  }

  .gallery-feature {
    min-height: 270px;
  }

  .doctor-showcase,
  .social-hub,
  .result-gallery,
  .trust-grid {
    margin-inline: 14px;
  }

  .doctor-copy h2 {
    font-size: clamp(2.1rem, 10.8vw, 3.4rem);
  }

  .doctor-photo,
  .doctor-photo.tall,
  .doctor-photo.lift,
  .doctor-photo.wide {
    flex-basis: 78vw;
    height: 340px;
  }

  .social-card {
    min-height: 158px;
    padding: 16px;
  }

  .social-card span {
    margin-bottom: 18px;
  }

  .consultation {
    margin-inline: 14px;
    padding: 22px 14px;
  }

  .consultation h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .lead-form {
    padding: 14px;
  }
}

/* Final mobile optimization layer */
@media (max-width: 760px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 12px; gap: 8px; }
  .brand img { width: min(136px, 42vw); height: auto; }
  .desktop-nav { display: none !important; }
  .header-actions { gap: 7px; }
  .header-cta { min-height: 40px; max-width: 116px; padding-inline: 10px; font-size: .8rem; }
  .menu-toggle { width: 44px; height: 40px; }
  .mobile-menu { overflow-y: auto; padding: 82px 16px 22px; }
  .mobile-menu-panel a { font-size: clamp(2.15rem, 10.8vw, 3.7rem); line-height: .96; }
  .mobile-treatment-links { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 18px; padding: 86px 14px 28px; }
  .hero-stage { order: -1; min-height: 350px; max-height: none; width: 100%; overflow: hidden; }
  .portrait-shell { inset: 0 5% 4%; }
  .portrait-shell img { object-position: center top; }
  h1 { max-width: 11ch; margin-bottom: 18px; font-size: clamp(2.42rem, 11.8vw, 3.55rem); line-height: .96; }
  .hero-text { font-size: .98rem; line-height: 1.5; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 22px; }
  .hero-actions a, .primary-button, .ghost-button, .social-buttons a { width: 100%; justify-content: center; text-align: center; }
  .floating-card { scale: .82; }
  .card-implant { left: 2%; bottom: 16%; }
  .card-smile { right: 2%; top: 16%; }
  .tooth-model { width: 78px; right: 1%; top: 3%; }
  .doctor-showcase, .social-hub, .result-gallery, .trust-grid, .consultation, .dental-lab { margin-inline: 12px; }
  .doctor-showcase, .consultation, .gallery-stage, .section-heading, .dental-lab { grid-template-columns: 1fr; }
  .doctor-reel { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
  .doctor-photo, .doctor-photo.tall, .doctor-photo.lift, .doctor-photo.wide { width: 100%; flex-basis: auto; height: auto; min-height: 0; }
  .doctor-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
  .social-grid, .trust-grid, .detail-grid, .page-card-grid, .case-gallery-grid { grid-template-columns: 1fr; }
  .treatment-strip { display: grid; grid-template-columns: 1fr; gap: 1px; }
  .dental-lab { gap: 20px; padding: 22px 14px 24px; clip-path: none; }
  .lab-stage { min-height: 335px; overflow: hidden; }
  .implant-3d { left: 5%; top: 2%; width: 82px; height: 250px; }
  .smile-arch { right: -48%; top: 39%; width: 330px; height: 150px; }
  .lab-panel { max-width: 142px; min-width: 118px; padding: 10px; }
  .gallery-feature { min-height: 270px; transform: none; }
  .gallery-stack { grid-template-columns: repeat(7, minmax(220px, 76vw)); min-height: 350px; padding: 28px 6px 38px; overflow-x: auto; }
  .result-card { min-width: 220px; height: 300px; transform: none !important; }
  .consultation { padding: 22px 14px; }
  .lead-form { padding: 14px; }
  .page-main { width: min(100% - 24px, 1180px); padding-top: 96px; }
  .page-hero { min-height: auto; padding: 28px; }
  .split-page-hero { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .hero-stage { min-height: 318px; }
  .mobile-treatment-links { grid-template-columns: 1fr; }
  .section-heading h2, .doctor-copy h2, .consultation h2, .lab-copy h2 { font-size: clamp(2rem, 10vw, 3.1rem); }
}
