:root {
  --bg: #14171d;
  --bg-2: #181c23;
  --panel: rgba(28, 32, 40, 0.85);
  --panel-2: rgba(20, 24, 30, 0.9);
  --copper: #cf9457;
  --copper-light: #e7b57e;
  --copper-dark: #8f5f24;
  --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);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg) url('assets/pattern-copper.png') fixed;
  background-size: 680px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}
a { color: var(--copper); text-decoration: none; transition: color .25s, background .25s, border-color .25s, transform .25s, box-shadow .25s; }
a:hover { color: var(--copper-light); }
img { max-width: 100%; }
::selection { background: rgba(207, 148, 87, 0.35); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(16, 19, 24, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 13px; padding-bottom: 13px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-strong); }
.brand img { height: 34px; width: auto; display: block; filter: drop-shadow(0 0 8px rgba(207, 148, 87, 0.5)); }
.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(100deg, #a06c2c, #e7b57e 45%, #b07c3f); -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 { color: #c9cbd0; }
.nav > a:hover { color: var(--copper-light); }
.btn-copper { white-space: nowrap; padding: 11px 24px; border-radius: 999px; background: linear-gradient(115deg, #8f5f24, #cf9457 45%, #e7b57e 55%, #a97a3d); color: #14171d !important; font-weight: 600; font-size: 13.5px; box-shadow: 0 4px 18px rgba(207, 148, 87, 0.35); }
.btn-copper:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(207, 148, 87, 0.5); }
.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; }
.burger span { display: block; height: 2px; background: var(--copper); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; border-top: 1px solid rgba(207, 148, 87, 0.2); background: rgba(16, 19, 24, 0.97); padding: 8px 20px 16px; }
.mobile-menu a { padding: 14px 8px; color: #c9cbd0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu.open { display: flex; }

/* Hero */
.hero { position: relative; min-height: 96vh; display: flex; align-items: center; background: radial-gradient(1100px 700px at 72% 40%, rgba(207, 148, 87, 0.12), transparent 60%), linear-gradient(150deg, rgba(20, 23, 29, 0.6), rgba(23, 27, 34, 0.85)); overflow: hidden; }
.hero .inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; width: 100%; padding-top: 150px; padding-bottom: 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(105deg, #f3e2c8 10%, #e7b57e 40%, #cf9457 70%, #f0d3ab); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rule { width: 96px; height: 2px; margin: 0 0 30px; background: linear-gradient(90deg, var(--copper-dark), var(--copper-light)); }
.hero .lead { margin: 0 0 42px; font-size: 16.5px; line-height: 1.85; max-width: 50ch; color: var(--muted); text-wrap: pretty; }
.cta-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.btn-hero { padding: 17px 40px; border-radius: 999px; background: linear-gradient(115deg, #8f5f24, #cf9457 45%, #e7b57e 55%, #a97a3d); color: #14171d !important; font-weight: 600; font-size: 16px; letter-spacing: 0.02em; box-shadow: 0 10px 36px rgba(207, 148, 87, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(207, 148, 87, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.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; }
.btn-outline:hover { border-color: var(--copper-light); color: #f3d9b8; box-shadow: 0 0 24px rgba(207, 148, 87, 0.25); }
.hero .facts { margin-top: 56px; display: flex; gap: 44px; flex-wrap: wrap; }
.hero .facts .v { margin: 0 0 4px; font-family: 'Comfortaa', sans-serif; font-size: 17px; color: var(--text-strong); font-feature-settings: 'tnum'; }
.hero .facts .k { margin: 0; font-size: 12.5px; color: var(--faint); }
.hero .facts .sep { width: 1px; background: rgba(207, 148, 87, 0.3); }
.tooth3d { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.tooth3d .aura { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(207, 148, 87, 0.22) 0%, rgba(207, 148, 87, 0.06) 45%, transparent 70%); animation: auraPulse 6s ease-in-out infinite; }
.tooth3d .orbit-1 { position: absolute; width: 560px; height: 560px; max-width: 100%; border-radius: 50%; border: 1px solid rgba(207, 148, 87, 0.18); }
.tooth3d .orbit-2 { position: absolute; width: 420px; height: 420px; max-width: 80%; border-radius: 50%; border: 1px dashed rgba(207, 148, 87, 0.25); }
.tooth3d img { height: 72%; width: auto; animation: floatTooth 9s ease-in-out infinite; filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 34px rgba(207, 148, 87, 0.45)); }
@keyframes floatTooth { 0%, 100% { transform: translateY(0) rotate3d(0, 1, 0.05, 0deg); } 25% { transform: translateY(-16px) rotate3d(0, 1, 0.05, 10deg); } 75% { transform: translateY(10px) rotate3d(0, 1, 0.05, -10deg); } }
@keyframes auraPulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.08); } }

/* Sections */
.section { padding-top: 100px; padding-bottom: 100px; }
.section h2 { margin: 0 0 20px; font-family: 'Comfortaa', sans-serif; font-weight: 500; font-size: 36px; color: var(--text-strong); }
.s-uslugi { background: linear-gradient(180deg, rgba(20, 23, 29, 0.92), rgba(24, 28, 35, 0.95)); }
.s-gabinet { background: rgba(18, 21, 27, 0.94); }
.s-cennik { position: relative; background: linear-gradient(180deg, rgba(20, 23, 29, 0.95), rgba(16, 19, 24, 0.97)); overflow: hidden; }
.s-kontakt { background: rgba(18, 21, 27, 0.95); }
.watermark { position: absolute; right: -160px; top: 60px; height: 560px; opacity: 0.05; pointer-events: none; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.inview { opacity: 1; transform: none; }
.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); }

/* Services carousel */
.svc-head { display: flex; align-items: 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); font-size: 18px; cursor: pointer; transition: all .25s; }
.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: 44px; background: linear-gradient(90deg, rgba(207, 148, 87, 0.6), rgba(207, 148, 87, 0.05)); }
.rail { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 24px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.svc-card { flex: 0 0 340px; position: relative; border-radius: 18px; padding: 36px 30px; background: linear-gradient(160deg, var(--panel), var(--panel-2)); border: 1px solid rgba(207, 148, 87, 0.35); transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(231, 181, 126, 0.8); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(207, 148, 87, 0.18); }
.svc-card .icon { width: 62px; height: 62px; border-radius: 16px; border: 1px solid rgba(207, 148, 87, 0.5); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; background: rgba(207, 148, 87, 0.07); }
.svc-card .num { margin: 0 0 14px; font-family: 'Comfortaa', sans-serif; font-size: 13px; letter-spacing: 0.22em; color: var(--copper); font-feature-settings: 'tnum'; }
.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); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.frame { position: relative; }
.frame::after { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--line-strong); border-radius: 16px; pointer-events: none; }
.frame .ph { border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.frame .ph img { width: 100%; height: 380px; object-fit: cover; display: block; transition: transform .6s; }
.frame .ph img:hover { transform: scale(1.05); }

/* Pricing */
.s-cennik .inner { max-width: 1000px; margin: 0 auto; position: relative; }
.s-cennik .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; }
.search-box input:focus { border-color: var(--copper); outline: none; background: rgba(207, 148, 87, 0.07); }
.search-box svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; }
.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.25); border-radius: 16px; background: linear-gradient(160deg, var(--panel), var(--panel-2)); overflow: hidden; transition: border-color .3s; }
.acc:hover, .acc.open { border-color: rgba(231, 181, 126, 0.6); }
.acc-head { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: transparent; border: 0; cursor: pointer; text-align: left; font-family: 'Poppins', sans-serif; }
.acc-head .n { font-family: 'Comfortaa', sans-serif; font-size: 13px; color: var(--copper); font-feature-settings: 'tnum'; min-width: 26px; }
.acc-head .t { flex: 1; font-family: 'Comfortaa', sans-serif; font-weight: 600; font-size: 16.5px; 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); font-feature-settings: 'tnum'; }
.acc-head svg { width: 18px; height: 18px; transition: transform .35s; flex: 0 0 auto; }
.acc.open .acc-head svg { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 26px 24px 70px; }
.acc.open .acc-body { display: block; }
.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.14); }
.acc-body td { padding: 13px 16px 13px 0; font-size: 14px; line-height: 1.55; color: #d5d3cf; }
.acc-body td.price { padding-right: 0; text-align: right; max-width: 190px; font-feature-settings: 'tnum'; color: var(--copper-light); }
tr.hide, .acc.hide { display: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: stretch; }
.contact-card { border: 1px solid rgba(207, 148, 87, 0.35); border-radius: 18px; padding: 40px; background: linear-gradient(160deg, var(--panel), var(--panel-2)); display: flex; flex-direction: column; gap: 22px; }
.contact-card .row { display: flex; gap: 40px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid rgba(207, 148, 87, 0.2); }
.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); font-feature-settings: 'tnum'; }
.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); }
.contact-card .btn-hero { margin-top: auto; text-align: center; font-size: 15px; padding: 16px 32px; }
.map-frame { position: relative; }
.map-frame::after { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--line-strong); border-radius: 16px; pointer-events: none; z-index: 1; }
.map-box { border-radius: 16px; overflow: hidden; height: 100%; min-height: 460px; position: relative; border: 1px solid rgba(207, 148, 87, 0.25); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.85) brightness(0.85) 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; }
.map-pin .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); }
.map-pin .badge img { height: 34px; width: auto; }
.map-pin .stem { width: 2px; height: 16px; background: var(--copper); }
.map-pin .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper-light); box-shadow: 0 0 12px rgba(231, 181, 126, 0.8); }

/* Footer */
.site-footer { background: #101318; border-top: 1px solid var(--line); }
.site-footer .bar { padding-top: 46px; padding-bottom: 46px; 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); font-feature-settings: 'tnum'; }
.site-footer .site strong { font-weight: 600; color: var(--copper-light); }

@media (max-width: 960px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero .inner, .gallery, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .tooth3d { height: 300px; }
  .nav > a:not(.btn-copper) { display: none; }
  .burger { display: flex; }
}
