/* ============================================================
   S-CLINIC — design tokens
   ============================================================ */
:root {
  --bg: #FBF8F4;
  --bg-alt: #F1EAE0;
  --bg-dark: #1A1713;
  --text: #23201C;
  --text-soft: #6F6459;
  --text-on-dark: #F1EAE0;
  --text-on-dark-soft: #B8AC9E;
  --accent: #A9814E;
  --accent-2: #7C5E38;
  --line: rgba(35, 32, 28, 0.1);
  --line-on-dark: rgba(241, 234, 224, 0.14);
  --shadow: 0 20px 60px rgba(35, 32, 28, 0.12);
  --radius: 2px;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(.16,.8,.24,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; color: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .01em;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 18px; }
.section-head p { color: var(--text-soft); font-size: 17px; }

section { position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost {
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-ghost.dark { color: var(--text); border-color: var(--line); }
.btn-ghost.dark:hover { background: var(--text); color: #fff; border-color: var(--text); }

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
  padding: 26px 0;
  transition: all .4s var(--ease);
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
}
.site-header .brand { grid-column: 1; justify-self: start; }
.site-header .nav-links { grid-column: 2; justify-self: center; }
.site-header .nav-cta { grid-column: 3; justify-self: end; }
.site-header .burger { grid-column: 3; justify-self: end; }
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(251, 248, 244, .85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .nav-link {
  color: #fff;
}
.site-header:not(.is-scrolled) .burger span {
  background: #fff;
}
.brand-logo { height: 34px; width: auto; }
.brand-logo-light-bg { display: none; }
.site-header.is-scrolled .brand-logo-dark-bg { display: none; }
.site-header.is-scrolled .brand-logo-light-bg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  padding: 12px 26px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 12px;
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  z-index: 600;
  position: relative;
  padding: 10px;
  margin: -10px;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.burger::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(169, 129, 78, .55);
  opacity: 0;
  pointer-events: none;
  animation: burgerAttention 2.6s ease-out infinite;
  will-change: transform, opacity;
}
.burger.is-open::before { animation: none; opacity: 0; }
@keyframes burgerAttention {
  0% { transform: scale(.72); opacity: 0; }
  15% { opacity: .6; }
  55%, 100% { transform: scale(1.25); opacity: 0; }
}
.burger span {
  width: 26px;
  height: 1px;
  background: var(--text);
  transition: all .3s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.burger.is-open span { background: var(--text) !important; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 550;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 32px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 18s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate(0,0); }
  to { transform: scale(1.16) translate(-1%, -1%); }
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,.45) 0%, rgba(20,17,14,.26) 40%, rgba(20,17,14,.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 100px;
  width: 100%;
}
.hero-brand-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2px;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  opacity: .85;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 92px);
  color: #fff;
  max-width: 900px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero p {
  max-width: 480px;
  font-size: 18px;
  color: var(--text-on-dark);
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-actions .btn {
  flex: 0 0 auto;
  min-width: 224px;
  justify-content: center;
}
.hero-side {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .3s var(--ease);
}
.hero-social a:hover { background: var(--accent); border-color: var(--accent); }
.hero-social svg { width: 14px; height: 14px; }
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll .line {
  width: 1px; height: 60px;
  background: rgba(255,255,255,.4);
  writing-mode: horizontal-tb;
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff;
  animation: scrollline 2.2s ease-in-out infinite;
}
@keyframes scrollline {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============================================================
   About / Gabinet
   ============================================================ */
.about {
  padding: 160px 0 140px;
}
.about .container {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 90px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-slider {
  position: relative;
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.about-slider img.is-active { opacity: 1; }
.about-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(20,17,14,.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity .3s var(--ease), background .3s;
}
.about-slider:hover .about-slider-arrow { opacity: 1; }
.about-slider-arrow:hover { background: var(--accent); }
.about-slider-arrow.prev { left: 14px; }
.about-slider-arrow.next { right: 14px; }
.about-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 2;
}
.about-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,.85);
  background: transparent;
  cursor: pointer;
  transition: background .3s;
}
.about-dots button.is-active { background: #fff; }
.about-media .badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--bg-dark);
  color: #fff;
  padding: 26px 30px;
  max-width: 230px;
  box-shadow: var(--shadow);
}
.about-media .badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--accent);
}
.about-media .badge span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
}
.about-body h2 { margin-bottom: 22px; }
.about-body p {
  color: var(--text-soft);
  margin-bottom: 20px;
  font-size: 16px;
}
.about-signature {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-signature strong {
  font-family: var(--font-serif);
  font-size: 24px;
  display: block;
}
.about-signature span {
  color: var(--text-soft);
  font-size: 14px;
  letter-spacing: .04em;
}

/* ============================================================
   Services
   ============================================================ */
.services { padding: 140px 0; background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg-alt);
  padding: 44px 38px;
  transition: background .4s var(--ease);
}
.service-card:hover { background: var(--bg); }
.service-icon {
  width: 46px; height: 46px;
  margin-bottom: 26px;
  color: var(--accent);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-soft);
  font-size: 15px;
}

/* ============================================================
   Pricing / Cennik — accordion
   ============================================================ */
.pricing { padding: 140px 0; }
.accordion {
  border-top: 1px solid var(--line);
}
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  background: none;
  border: none;
  text-align: left;
}
.acc-head h3 {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 600;
}
.acc-head .num {
  font-family: var(--font-serif);
  color: var(--accent);
  font-size: 16px;
  margin-right: 18px;
}
.acc-head .plus {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.acc-head .plus::before,
.acc-head .plus::after {
  content: '';
  position: absolute;
  background: var(--text);
  transition: transform .4s var(--ease);
}
.acc-head .plus::before { left: 0; top: 50%; width: 100%; height: 1px; }
.acc-head .plus::after { top: 0; left: 50%; width: 1px; height: 100%; }
.acc-item.is-open .acc-head .plus::after { transform: rotate(90deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  overflow-anchor: none;
  transition: max-height .5s var(--ease);
}
.acc-panel-inner {
  padding: 6px 4px 34px;
  max-width: 640px;
  margin: 0 auto;
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 17px;
}
.price-row:last-child { border-bottom: none; }
.price-row .name { color: var(--text); }
.price-row .name small { display: block; color: var(--text-soft); font-size: 14px; margin-top: 2px; }
.price-row .amount {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--accent-2);
  white-space: nowrap;
}
.pricing-note {
  margin-top: 40px;
  color: var(--text-soft);
  font-size: 14px;
}

/* ============================================================
   Safety strip
   ============================================================ */
.safety {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 120px 0;
}
.safety .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.safety-media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.safety-body .eyebrow { color: var(--accent); }
.safety-body h2 { color: #fff; font-size: clamp(30px,3.6vw,42px); margin-bottom: 22px; }
.safety-body > p { color: var(--text-on-dark-soft); margin-bottom: 36px; }
.safety-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.safety-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
  padding: 16px;
  border: 1px solid var(--line-on-dark);
}
.safety-list li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { padding: 140px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-grid figure {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}
.gallery-grid figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figure::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(20,17,14,0);
  transition: background .4s;
}
.gallery-grid figure:hover::after { background: rgba(20,17,14,.15); }
.gallery-grid figure.tall { grid-row: span 2; }
.gallery-grid figure.wide { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(15,13,11,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: var(--radius); touch-action: none; }
.lightbox-close {
  position: absolute; top: 30px; right: 40px;
  color: #fff; background: none; border: none; font-size: 32px; line-height: 1;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 34px; padding: 12px 18px;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ============================================================
   Trust / brands
   ============================================================ */
.trust {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.trust-label {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}
.trust-marks {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--text-soft);
  opacity: .8;
}

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: 140px 0; background: var(--bg-alt); }
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info-list { margin-top: 30px; display: flex; flex-direction: column; gap: 26px; }
.contact-info-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-info-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-list strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 4px; }
.contact-info-list a:hover { color: var(--accent); }
.social-row { display: flex; gap: 14px; margin-top: 36px; }
.social-row a {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social-row svg { width: 18px; height: 18px; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 2px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  transition: border-color .3s;
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: none; min-height: 100px; }
.contact-form .btn { margin-top: 10px; width: 100%; justify-content: center; border: none; }
.form-note { font-size: 13px; color: var(--text-soft); margin-top: 14px; }

.map-full {
  width: 100%;
  border-top: 1px solid var(--line);
}
.map-full iframe {
  width: 100%; height: 460px; border: 0; display: block;
}

@media (max-width: 720px) {
  .map-full iframe { height: 320px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-soft);
  padding: 90px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-logo { width: 84px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 320px; font-size: 15px; }
.footer-col h4 {
  color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--font-sans); margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 30px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}

.back-to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 400;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .4s var(--ease);
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 18px; height: 18px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .about .container,
  .safety .container,
  .contact .container { grid-template-columns: 1fr; }
  .about-media { width: 100%; max-width: 420px; margin: 0 auto 60px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero-inner { padding-bottom: 70px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .26em; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .about, .services, .pricing, .safety, .gallery, .contact { padding: 90px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid figure.wide { grid-column: span 2; }
  .safety-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .price-row { font-size: 15px; }
  .price-row .amount { font-size: 19px; }
  .about-media .badge { left: 0; bottom: -20px; padding: 18px 20px; }
}

/* ============================================================
   Admin panel — standalone pricing editor page (panel-cennika.html)
   ============================================================ */
.admin-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 140px;
  min-height: 100vh;
}
.admin-page-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.admin-page-header h1 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
}
.admin-back-link {
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--text-soft);
  text-decoration: underline;
  white-space: nowrap;
}
.admin-back-link:hover { color: var(--text); }

.admin-gate-wrap { display: flex; justify-content: center; padding: 40px 0 80px; }

.admin-status {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
  background: var(--bg-alt);
  border-radius: 4px;
  margin-bottom: 20px;
}
.admin-status.has-draft { color: var(--accent-2); background: rgba(169,129,78,.12); }

.admin-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.admin-toolbar .btn { padding: 10px 18px; font-size: 13px; }

.admin-empty { color: var(--text-soft); font-size: 15px; padding: 20px 0; }

.admin-category {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}
.admin-category-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.admin-category-num {
  font-family: var(--font-serif);
  color: var(--accent);
  font-size: 15px;
  flex-shrink: 0;
}
.admin-category-title { flex: 1; font-weight: 600; }

.admin-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.admin-item-row {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr .7fr auto;
  gap: 8px;
  align-items: center;
}

.admin-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 12px;
}
.admin-input:focus { outline: none; border-color: var(--accent); }

.admin-icon-btn {
  background: none; border: none; color: var(--text-soft);
  font-size: 20px; line-height: 1; padding: 4px 8px; flex-shrink: 0;
  border-radius: 4px;
}
.admin-icon-btn:hover { color: #B0413E; background: rgba(176,65,62,.1); }
.admin-icon-btn:disabled { opacity: .25; cursor: default; }
.admin-icon-btn:disabled:hover { color: var(--text-soft); background: none; }

.admin-reorder { display: flex; gap: 2px; flex-shrink: 0; }
.admin-move-up, .admin-move-down { font-size: 16px; }
.admin-move-up:hover:not(:disabled), .admin-move-down:hover:not(:disabled) { color: var(--accent); background: rgba(169,129,78,.1); }

.admin-add-item {
  background: none; border: 1px dashed var(--line);
  border-radius: 4px;
  color: var(--text-soft);
  font-size: 13px;
  padding: 8px 14px;
  width: 100%;
  transition: all .2s;
}
.admin-add-item:hover { border-color: var(--accent); color: var(--accent); }

.admin-preview-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.admin-preview-section h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 10px;
}
.admin-preview-note { font-size: 13px; color: var(--text-soft); margin-bottom: 28px; }

/* Password gate */
.admin-gate-card {
  background: var(--bg);
  color: var(--text);
  width: 100%; max-width: 380px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 32px;
}
.admin-gate-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 14px;
}
.admin-gate-note { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin-bottom: 18px; }
.admin-gate-card .admin-input { margin-bottom: 10px; }
.admin-gate-error { color: #B0413E; font-size: 13px; min-height: 18px; margin-bottom: 6px; }
.admin-gate-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.admin-gate-actions .btn { padding: 10px 20px; font-size: 13px; }
.admin-gate-forgot {
  display: block; margin: 18px auto 0; background: none; border: none;
  color: var(--text-soft); font-size: 12px; text-decoration: underline;
}
.admin-gate-forgot:hover { color: var(--text); }

@media (max-width: 640px) {
  .admin-item-row { grid-template-columns: 1fr 1fr; grid-template-areas: "name name" "sub price" "del del"; }
  .admin-item-row .admin-item-name { grid-area: name; }
  .admin-item-row .admin-item-subtitle { grid-area: sub; }
  .admin-item-row .admin-item-price { grid-area: price; }
  .admin-item-row .admin-icon-btn { grid-area: del; justify-self: end; }
  .admin-page { padding: 44px 20px 100px; }
  .admin-page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}
