@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg: #0f1218;
  --bg-2: #151a22;
  --panel: rgba(22, 27, 36, 0.85);
  --panel-2: rgba(18, 22, 30, 0.9);
  --copper: #cf9457;
  --copper-light: #e7b57e;
  --copper-dark: #8f5f24;
  --copper-glow: rgba(207, 148, 87, 0.4);
  --glass: rgba(22, 27, 36, 0.6);
  --glass-border: rgba(207, 148, 87, 0.2);
  --text: #e8e6e2;
  --text-strong: #f3f1ee;
  --muted: #a7aab1;
  --muted-2: #9b9ea6;
  --faint: #7b7f88;
  --line: rgba(207, 148, 87, 0.25);
  --line-strong: rgba(207, 148, 87, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  background-image: url('assets/pattern-dark.jpg');
  background-size: 600px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--copper);
  color: #14171d;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 2. SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper-dark), var(--copper), var(--copper-light));
  z-index: 100;
  width: 0%;
  transition: none;
}

/* 3. CURSOR GLOW */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  margin-left: -300px;
  margin-top: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--copper-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* 4. PARTICLES CANVAS */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 5. HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  transition: all 0.4s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(15, 18, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  transition: padding 0.3s ease;
}

.site-header.scrolled .bar {
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 61;
}

.brand img {
  height: 34px;
  filter: drop-shadow(0 0 10px var(--copper-glow));
  transition: filter 0.3s ease;
}

.brand:hover img {
  filter: drop-shadow(0 0 20px var(--copper));
}

.brand .name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand .t1 {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, var(--copper-light), var(--copper), var(--copper-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand .t2 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #8d919a;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav > a:not(.btn-copper) {
  color: #c9cbd0;
  position: relative;
  transition: color 0.3s;
}

.nav > a:not(.btn-copper):hover {
  color: var(--text-strong);
}

.nav > a:not(.btn-copper)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width 0.3s ease;
}

.nav > a:not(.btn-copper):hover::after {
  width: 100%;
}

.btn-copper {
  display: inline-block;
  white-space: nowrap;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: #14171d !important;
  font-weight: 600;
  font-size: 13.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px var(--copper-glow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-copper:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(207, 148, 87, 0.6);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-copper:hover .btn-shine {
  left: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(207, 148, 87, 0.5);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  z-index: 61;
  transition: background 0.3s;
}

.burger:hover {
  background: rgba(207, 148, 87, 0.1);
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--copper);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 6. MOBILE OVERLAY */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(15, 18, 24, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

.mo-link {
  display: block;
  font-family: 'Comfortaa', sans-serif;
  font-size: 28px;
  padding: 20px;
  color: var(--text-strong);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.mobile-overlay.open .mo-link {
  transform: translateY(0);
  opacity: 1;
}

.mo-link:nth-child(1) { transition-delay: 0.1s; }
.mo-link:nth-child(2) { transition-delay: 0.2s; }
.mo-link:nth-child(3) { transition-delay: 0.3s; }
.mo-link:nth-child(4) { transition-delay: 0.4s; }

.mo-cta {
  margin-top: 30px;
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: #14171d;
  font-weight: 600;
  font-size: 16px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s 0.5s ease;
  position: relative;
  overflow: hidden;
}

.mobile-overlay.open .mo-cta {
  transform: translateY(0);
  opacity: 1;
}

/* 7. HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(150deg, rgba(15, 18, 24, 0.96), rgba(15, 18, 24, 0.92) 50%, rgba(15, 18, 24, 0.88));
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/pattern-dark.jpg') repeat;
  background-size: 500px;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 150px 0 90px;
}

.kicker {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--copper);
}

.hero h1 {
  margin: 0 0 26px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 500;
  font-size: 54px;
  line-height: 1.22;
  background: linear-gradient(135deg, #fff, var(--copper-light), var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule {
  width: 96px;
  height: 2px;
  margin: 0 0 30px;
  background: linear-gradient(90deg, var(--copper), transparent);
}

.lead {
  margin: 0 0 42px;
  font-size: 16.5px;
  line-height: 1.85;
  max-width: 50ch;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-hero {
  position: relative;
  overflow: hidden;
  padding: 17px 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: #14171d !important;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 10px 36px var(--copper-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(207, 148, 87, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-hero .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-hero:hover .btn-shine {
  left: 100%;
}

.btn-outline {
  padding: 16px 36px;
  border-radius: 999px;
  border: 1px solid rgba(207, 148, 87, 0.55);
  color: var(--copper-light);
  font-size: 15.5px;
  transition: all 0.3s ease;
  display: inline-block;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--copper-light);
  box-shadow: 0 0 20px var(--copper-glow);
  background: rgba(207, 148, 87, 0.05);
}

.facts {
  margin-top: 56px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.facts .v {
  margin: 0 0 4px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 17px;
  color: var(--text-strong);
}

.facts .k {
  margin: 0;
  font-size: 12.5px;
  color: var(--faint);
}

.facts .sep {
  width: 1px;
  background: rgba(207, 148, 87, 0.3);
}

/* 8. TOOTH 3D */
.tooth3d {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.aura {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--copper-glow) 0%, transparent 60%);
  animation: auraPulse 6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-1 {
  width: 560px;
  height: 560px;
  border: 1px solid rgba(207, 148, 87, 0.15);
  animation: orbitSpin 30s linear infinite;
}

.orbit-2 {
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(207, 148, 87, 0.2);
  animation: orbitSpin 20s linear infinite reverse;
}

.orbit-3 {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(207, 148, 87, 0.1);
  animation: orbitSpin 15s linear infinite;
}

.tooth3d img {
  height: 70%;
  width: auto;
  position: relative;
  z-index: 10;
  animation: floatTooth 9s ease-in-out infinite;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(207, 148, 87, 0.5));
}

/* 9. KEYFRAMES */
@keyframes floatTooth {
  0%, 100% { transform: translateY(0) rotate3d(0, 1, 0.05, 0deg); }
  25% { transform: translateY(-18px) rotate3d(0, 1, 0.05, 12deg); }
  75% { transform: translateY(12px) rotate3d(0, 1, 0.05, -12deg); }
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pinPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* 10. REVEAL ANIMATIONS */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.inview {
  opacity: 1;
  transform: translateY(0);
}

.s1 { transition-delay: 0s; }
.s2 { transition-delay: 0.1s; }
.s3 { transition-delay: 0.2s; }
.s4 { transition-delay: 0.3s; }
.s5 { transition-delay: 0.4s; }
.s6 { transition-delay: 0.5s; }

.rule-anim {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rule-anim.inview {
  transform: scaleX(1);
}

/* 11. SECTIONS */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section h2 {
  margin: 0 0 20px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 500;
  font-size: 40px;
  color: var(--text-strong);
}

.s-uslugi {
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.3), rgba(21, 26, 34, 0.5));
}

.s-gabinet {
  background: rgba(18, 21, 27, 0.4);
  position: relative;
  overflow: hidden;
}

.s-cennik {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.4), rgba(15, 18, 24, 0.6));
  overflow: hidden;
}

.s-kontakt {
  background: rgba(18, 21, 27, 0.4);
}

.watermark {
  position: absolute;
  right: -160px;
  top: 60px;
  height: 560px;
  opacity: 0.04;
  pointer-events: none;
}

/* 12. SERVICES CAROUSEL */
.svc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.svc-arrows {
  display: flex;
  gap: 12px;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(207, 148, 87, 0.5);
  background: transparent;
  color: var(--copper-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.arrow-btn svg {
  width: 20px;
  height: 20px;
}

.arrow-btn:hover {
  background: rgba(207, 148, 87, 0.12);
  box-shadow: 0 0 18px rgba(207, 148, 87, 0.3);
}

.svc-rule {
  height: 1px;
  margin-bottom: 48px;
  background: linear-gradient(90deg, var(--copper), transparent);
}

.rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scrollbar-width: none; /* Firefox */
}

.rail::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* 13. SERVICE CARDS */
.svc-card {
  flex: 0 0 340px;
  position: relative;
  border-radius: 20px;
  padding: 38px 32px;
  background: 
    linear-gradient(160deg, rgba(22, 27, 36, 0.85), rgba(18, 22, 30, 0.9)),
    url('assets/pattern-dark.jpg') repeat;
  background-size: auto, 300px;
  border: 1px solid rgba(207, 148, 87, 0.25);
  transition: all 0.4s ease;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(207, 148, 87, 0.08), transparent 40%);
  transition: opacity 0.3s;
  pointer-events: none;
}

.svc-card:hover .card-glow {
  opacity: 1;
}

.svc-card:hover {
  border-color: rgba(231, 181, 126, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(207, 148, 87, 0.15);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(207, 148, 87, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(207, 148, 87, 0.06);
}

.icon-draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.5s ease;
}

.icon-draw.drawn {
  stroke-dashoffset: 0;
}

.num {
  margin: 0 0 14px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--copper);
}

.svc-card h3 {
  margin: 0 0 12px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  color: var(--text-strong);
}

.svc-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted-2);
}

/* 14. GALLERY — compact, less prominent */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gi-wide {
  grid-row: auto;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.85);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* Tooth pattern overlay on all gallery images */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/overlay.png') repeat;
  background-size: 300px;
  opacity: 0.25;
  z-index: 2;
  pointer-events: none;
}

/* Dark tint overlay on gallery images */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.15) 0%, rgba(15, 18, 24, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 0.5;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 18, 24, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.gallery-overlay svg {
  width: 32px;
  height: 32px;
  color: var(--text-strong);
}

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

/* 15. PRICING */
.s-cennik .inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.desc {
  margin: 0 0 40px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.search-box {
  position: relative;
  max-width: 460px;
  margin-bottom: 36px;
}

.search-box input {
  width: 100%;
  padding: 15px 20px 15px 48px;
  border-radius: 999px;
  border: 1px solid rgba(207, 148, 87, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-strong);
  font-size: 14.5px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.search-box input::placeholder {
  color: var(--faint);
}

.search-box input:focus {
  border-color: var(--copper);
  outline: none;
  background: rgba(207, 148, 87, 0.07);
  box-shadow: 0 0 20px rgba(207, 148, 87, 0.15);
}

.search-box svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--faint);
}

.no-results {
  margin: 0 0 40px;
  font-size: 15px;
  color: var(--faint);
  font-style: italic;
  display: none;
}

.acc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc {
  border: 1px solid rgba(207, 148, 87, 0.2);
  border-radius: 18px;
  background: 
    linear-gradient(160deg, rgba(22, 27, 36, 0.85), rgba(18, 22, 30, 0.9)),
    url('assets/pattern-dark.jpg') repeat;
  background-size: auto, 300px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.acc:hover, .acc.open {
  border-color: rgba(231, 181, 126, 0.5);
  box-shadow: 0 4px 20px rgba(207, 148, 87, 0.08);
}

.acc.open {
  background: 
    linear-gradient(160deg, rgba(22, 27, 36, 0.95), rgba(18, 22, 30, 0.98)),
    url('assets/pattern-dark.jpg') repeat;
  background-size: auto, 300px;
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  transition: padding 0.3s ease;
}

.acc-head .n {
  font-family: 'Comfortaa', sans-serif;
  font-size: 13px;
  color: var(--copper);
  min-width: 26px;
}

.acc-head .t {
  flex: 1;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #e7b57e, #cf9457);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.acc-head .c {
  font-size: 12px;
  color: var(--faint);
}

.acc-head svg {
  width: 18px;
  height: 18px;
  color: var(--copper);
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.acc.open .acc-head svg {
  transform: rotate(180deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.5s ease;
  padding: 0 28px 0 72px;
}

.acc.open .acc-body {
  max-height: 600px;
  padding: 0 28px 24px 72px;
}

.acc-body .note {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--faint);
  line-height: 1.6;
}

.acc-body table {
  width: 100%;
  border-collapse: collapse;
}

.acc-body tr {
  border-bottom: 1px solid rgba(207, 148, 87, 0.12);
}

.acc-body td {
  padding: 14px 16px 14px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #d5d3cf;
}

.acc-body td.price {
  padding-right: 0;
  text-align: right;
  max-width: 200px;
  color: var(--copper-light);
  font-weight: 500;
}

tr.hide, .acc.hide {
  display: none !important;
}

/* 16. CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: stretch;
}

.glass-card {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: 
    linear-gradient(rgba(22, 27, 36, 0.7), rgba(22, 27, 36, 0.7)),
    url('assets/pattern-dark.jpg') repeat !important;
  background-size: auto, 300px !important;
  border: 1px solid var(--glass-border) !important;
}

.contact-card {
  border-radius: 20px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card .row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(207, 148, 87, 0.15);
}

.contact-card .row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-card .lbl {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
}

.contact-card .big {
  margin: 0;
  font-family: 'Comfortaa', sans-serif;
  font-size: 18px;
  color: var(--text-strong);
  display: block;
}

.phone-glow {
  color: var(--copper-light) !important;
  text-shadow: 0 0 20px rgba(207, 148, 87, 0.3);
  transition: text-shadow 0.3s ease;
}

.phone-glow:hover {
  text-shadow: 0 0 30px rgba(207, 148, 87, 0.6);
}

.contact-card .sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted-2);
}

.contact-card .site {
  margin: 0;
  font-size: 15px;
  color: #d5d3cf;
}

.contact-card .site strong {
  font-weight: 600;
  color: var(--copper-light);
}

.cta-contact {
  margin-top: auto;
  text-align: center;
  font-size: 15px;
  padding: 16px 32px;
}

.map-frame {
  position: relative;
}

.map-box {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 460px;
  position: relative;
  border: 1px solid rgba(207, 148, 87, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.map-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) brightness(0.8) contrast(1.05);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-pulse {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(207, 148, 87, 0.3);
  animation: pinPulse 2s ease-out infinite;
}

.badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(16, 19, 24, 0.92);
  border: 2px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(207, 148, 87, 0.4);
  position: relative;
  z-index: 2;
}

.badge img {
  height: 34px;
  width: auto;
}

.stem {
  width: 2px;
  height: 16px;
  background: var(--copper);
  position: relative;
  z-index: 1;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper-light);
  box-shadow: 0 0 12px rgba(231, 181, 126, 0.8);
  position: relative;
  z-index: 2;
}

/* 17. FOOTER */
.site-footer {
  background: #0a0d12;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.site-footer .bar {
  padding: 46px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .brand img {
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(207, 148, 87, 0.4));
}

.site-footer .t1 {
  font-size: 15px;
}

.site-footer .t2 {
  font-size: 12px;
  color: var(--faint);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--muted-2);
}

.site-footer .site strong {
  font-weight: 600;
  color: var(--copper-light);
}

/* 18. LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  transform: scale(0.9);
  transition: transform 0.4s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.lightbox-caption {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* 19. RESPONSIVE MEDIA QUERIES */
@media (max-width: 960px) {
  .wrap {
    padding: 0 28px;
  }
  .hero-inner, .gallery-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 36px;
  }
  .tooth3d {
    height: 300px;
  }
  .nav > a:not(.btn-copper) {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav {
    gap: 12px;
  }
  .btn-copper {
    padding: 9px 16px;
    font-size: 12.5px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gi-wide {
    grid-row: auto;
  }
  .gallery-item img {
    height: 180px;
  }
  .acc-body, .acc.open .acc-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .contact-card {
    padding: 28px 24px;
  }
  .map-box {
    min-height: 320px;
  }
  .site-footer .bar {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .cursor-glow {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .section h2 {
    font-size: 30px;
  }
  .hero-inner {
    padding: 120px 0 60px;
    gap: 40px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .tooth3d {
    position: absolute;
    right: -20px;
    bottom: 20px;
    height: 180px;
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
  }
  .tooth3d .aura, .tooth3d .orbit {
    display: none;
  }
  .tooth3d img {
    animation: none;
    filter: none;
    height: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item img {
    height: 160px;
  }
  .gi-wide img {
    height: 160px;
  }
  .svc-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 480px) {
  .site-header .bar {
    gap: 10px;
  }
  .brand img {
    height: 26px;
  }
  .brand .t1 {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .brand .t2 {
    font-size: 8.5px;
  }
  .btn-copper {
    padding: 8px 12px;
    font-size: 11px;
  }
  .burger {
    width: 38px;
    height: 38px;
    padding: 8px;
    gap: 4px;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding: 100px 0 50px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero .lead {
    font-size: 14px;
  }
  .kicker {
    font-size: 10.5px;
  }
  .cta-row {
    flex-direction: column;
  }
  .btn-hero, .btn-outline {
    width: 100%;
    text-align: center;
  }
  .facts {
    flex-wrap: nowrap;
    gap: 16px;
    margin-top: 40px;
  }
  .facts .v {
    font-size: 13.5px;
  }
  .facts .k {
    font-size: 10px;
  }
  .section {
    padding: 60px 0;
  }
  .section h2 {
    font-size: 24px;
  }
  .svc-card {
    flex: 0 0 260px;
    padding: 28px 22px;
  }
  .acc-head {
    padding: 16px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .acc-head .t {
    font-size: 12.5px;
  }
  .acc-body td {
    font-size: 13px;
  }
  .acc-body tr {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
  }
  .acc-body td {
    padding: 2px 0;
  }
  .acc-body td.price {
    text-align: left;
    padding-top: 4px;
    max-width: none;
  }
  .contact-card {
    padding: 22px 16px;
  }
  .contact-card .row {
    gap: 20px;
  }
  .contact-card .big {
    font-size: 15px;
  }
  .map-box {
    min-height: 240px;
  }
  .mo-link {
    font-size: 22px;
    padding: 16px;
  }
  .mo-cta {
    font-size: 14px;
    padding: 14px 28px;
  }
}
