@charset "UTF-8";
/* ============================================================
   DermaElite — Klinika Kosmetologii Estetycznej i Trychologii
   Design system: burgund + krem + złoto
   ============================================================ */

/* ---------- Zmienne ---------- */
:root {
  --burgundy: #6E1F38;
  --burgundy-dark: #551428;
  --burgundy-soft: #8a3753;
  --cream: #F5ECE2;
  --cream-2: #EFE3D6;
  --cream-3: #FBF6F0;
  --gold: #C9A24B;
  --gold-soft: #d9bd7e;
  --ink: #2B2B2B;
  --ink-soft: #4a4346;
  --muted: #6B6B6B;
  --white: #ffffff;
  --line: rgba(110, 31, 56, 0.14);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Inter", system-ui, -apple-system, sans-serif;
  --script: "Great Vibes", "Dancing Script", cursive;

  --maxw: 1240px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px rgba(85, 20, 40, 0.10);
  --shadow-soft: 0 10px 30px rgba(85, 20, 40, 0.07);
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream-3);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { color: var(--ink-soft); }

.script { font-family: var(--script); color: var(--burgundy); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--cream { background: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.section--burgundy { background: var(--burgundy); color: var(--cream); }
.section--burgundy h2, .section--burgundy h3, .section--burgundy p { color: var(--cream); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 18px;
  display: inline-block;
}
.section--burgundy .eyebrow { color: var(--gold-soft); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

/* Złota linia ozdobna */
.divider {
  width: 64px; height: 2px; background: var(--gold);
  border: none; margin: 22px 0;
}
.divider--center { margin: 22px auto; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 50px; cursor: pointer; white-space: nowrap;
  border: 1.5px solid var(--burgundy); transition: var(--transition);
  background: var(--burgundy); color: var(--cream);
}
.btn:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--burgundy); }
.btn--ghost:hover { background: var(--burgundy); color: var(--cream); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--burgundy-dark); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--burgundy); }
.btn--light:hover { background: var(--white); border-color: var(--white); }

/* ---------- Gwiazdki / oceny ---------- */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.rating { display: flex; align-items: center; gap: 10px; }
.rating__score { font-weight: 700; color: var(--ink); }
.rating__label { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 236, 226, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-soft); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 78px; }
.nav__logo { flex: 0 0 auto; display: flex; align-items: center; }
/* max-width:none + flex:none — logo zawsze trzyma proporcje, nigdy się nie ściska */
.nav__logo img { height: clamp(34px, 3.4vw, 42px); width: auto; max-width: none; display: block; }
.nav__logo img.nav__logo-mark { display: none; height: 44px; }
/* Na wąskich ekranach szeroki logotyp ustępuje kompaktowemu znakowi (lotos).
   Selektor img.<klasa> bije specyficzność reguły bazowej `.nav__logo img`. */
@media (max-width: 600px) {
  .nav__logo img.nav__logo-full { display: none; }
  .nav__logo img.nav__logo-mark { display: block; }
}
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 34px); }
.nav__menu a {
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--ink); position: relative; padding: 4px 0;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width var(--transition);
}
.nav__menu a:hover::after { width: 100%; }

/* ---- Rozwijane menu (Usługi) ---- */
.nav__dropdown { position: relative; display: inline-flex; align-items: center; }
.nav__dropdown-toggle { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.nav__caret {
  width: 7px; height: 7px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform var(--transition);
}
.nav__dropdown:hover .nav__caret, .nav__dropdown:focus-within .nav__caret { transform: rotate(-135deg) translateY(-1px); }
.nav__submenu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(14px);
  min-width: 248px; padding: 8px;
  background: var(--cream-3); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease; z-index: 200;
}
.nav__submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__dropdown:hover .nav__submenu, .nav__dropdown:focus-within .nav__submenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}
.nav__submenu a {
  display: block; width: 100%; padding: 11px 14px; border-radius: 9px;
  font-size: 0.9rem; white-space: nowrap; color: var(--ink);
  transition: background var(--transition), color var(--transition);
}
.nav__submenu a::after { display: none; }
.nav__submenu a:hover { background: var(--cream); color: var(--burgundy); }
.nav__submenu a[aria-current="page"] { color: var(--burgundy); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px); flex: 0 0 auto; }
.nav__cta .btn { padding: 13px 24px; font-size: 0.84rem; }
.nav__phone { font-weight: 600; color: var(--burgundy); font-size: 0.92rem; white-space: nowrap; }
/* Telefon chowamy zanim elementy zaczną się stykać */
@media (max-width: 1160px) { .nav__phone { display: none; } }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--burgundy); transition: var(--transition); }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(120deg, var(--cream) 0%, var(--cream-2) 100%);
  padding-top: 78px; position: relative; overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  min-height: calc(100vh - 78px);
}
.hero__content { padding: clamp(40px, 6vw, 90px) clamp(24px, 4vw, 64px) clamp(40px, 6vw, 60px) clamp(64px, 14vw, 340px); display: flex; flex-direction: column; justify-content: center; }
.hero__title {
  margin-bottom: 6px;
  /* Rozmiar dobrany pomiarowo: linia „bez przerysowania." ≈ 7,27×font.
     clamp gwarantuje, że zawsze mieści się w kolumnie (także w układzie 2-kol.). */
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 1.1;
  white-space: nowrap; /* obie linie zawsze w jednej linii (łamanie przez <br>) */
}
.hero__title .accent { color: var(--burgundy); display: block; white-space: nowrap; }
.hero__desc { font-size: 1.12rem; max-width: 460px; margin: 8px 0 32px; color: var(--ink-soft); }
.hero__desc strong { color: var(--burgundy); font-weight: 600; }
.hero__actions { margin-bottom: 38px; }

.hero__reviews { display: flex; gap: 26px; flex-wrap: wrap; padding: 18px 24px; background: rgba(255,255,255,0.6); border-radius: var(--radius); width: fit-content; box-shadow: var(--shadow-soft); }
.hero__review { display: flex; flex-direction: column; gap: 4px; }
.hero__review + .hero__review { padding-left: 26px; border-left: 1px solid var(--line); }
.hero__review .top { display: flex; align-items: center; gap: 8px; }
.hero__review .lbl { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.hero__review .lbl img { height: 16px; width: auto; display: inline; }

.hero__signature { margin-top: 40px; }
.hero__signature .name { font-family: var(--script); font-size: 2.2rem; color: var(--burgundy); line-height: 1; }
.hero__signature .role { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.hero__media { position: relative; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream-2) 0%, rgba(239,227,214,0) 18%);
  pointer-events: none;
}

/* ============================================================
   O NAS
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__media .badge {
  position: absolute; bottom: -24px; right: -16px; background: var(--burgundy); color: var(--cream);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center;
}
.about__media .badge .num { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold-soft); }
.about__media .badge .txt { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.about__lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--burgundy); line-height: 1.4; margin-bottom: 20px; font-style: italic; }
.about p + p { margin-top: 14px; }
.about__creds { margin-top: 26px; display: grid; gap: 12px; }
.about__creds li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.about__creds li::before { content: "✓"; color: var(--gold); font-weight: 700; font-size: 0.95rem; margin-top: 1px; }

/* ============================================================
   USŁUGI — siatka kategorii
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 30px;
  border: 1px solid var(--line); transition: var(--transition); position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--burgundy); margin-bottom: 20px; font-size: 1.4rem; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { font-size: 0.95rem; color: var(--muted); }
.svc-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--burgundy); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em; }
.svc-card__link .arrow { transition: transform var(--transition); }
.svc-card:hover .svc-card__link .arrow { transform: translateX(4px); }

/* ============================================================
   TOP ZABIEGI — karty z obrazem
   ============================================================ */
.top-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.top-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition); }
.top-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.top-card__img { aspect-ratio: 4/3; overflow: hidden; }
.top-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.top-card:hover .top-card__img img { transform: scale(1.06); }
.top-card__body { padding: 26px 26px 30px; }
.top-card__tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.top-card h3 { margin: 8px 0 10px; font-size: 1.35rem; }
.top-card p { font-size: 0.93rem; color: var(--muted); }

/* ============================================================
   TRYCHOLOGIA (sekcja burgundowa)
   ============================================================ */
.trycho__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 70px); align-items: center; }
.trycho__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 28px; }
.trycho__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.trycho__list li::before { content: "✦"; color: var(--gold-soft); margin-top: 2px; }
.trycho__media { position: relative; }
.trycho__media img, .trycho__media video { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; width: 100%; display: block; }
.video-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 18px 11px 14px; border-radius: 999px;
  background: rgba(85, 20, 40, 0.55); color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(40, 10, 20, 0.28);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
.video-tag__dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--gold-soft); box-shadow: 0 0 0 0 rgba(217, 189, 126, 0.7);
  animation: video-pulse 1.8s ease-out infinite;
}
.video-tag__txt { display: flex; flex-direction: column; line-height: 1.25; font-size: 0.86rem; }
.video-tag__txt strong {
  font-family: var(--sans); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft);
}
@keyframes video-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 189, 126, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(217, 189, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 189, 126, 0); }
}
@media (prefers-reduced-motion: reduce) { .video-tag__dot { animation: none; } }

/* ============================================================
   OPINIE
   ============================================================ */
.reviews-top { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 50px; }
.review-badge { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 32px; text-align: center; box-shadow: var(--shadow-soft); min-width: 220px; }
.review-badge .score { font-family: var(--serif); font-size: 2.4rem; color: var(--burgundy); line-height: 1; }
.review-badge .src { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
.review-badge .src img { height: 18px; width: auto; display: inline; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 30px; border: 1px solid var(--line); }
.quote-card .stars { margin-bottom: 14px; }
.quote-card p { font-style: italic; color: var(--ink-soft); font-size: 0.97rem; }
.quote-card .author { margin-top: 18px; font-weight: 600; color: var(--burgundy); font-style: normal; font-size: 0.9rem; }

/* ============================================================
   FAQ — akordeon
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow var(--transition), border-color var(--transition);
}
.faq__item[open] { box-shadow: var(--shadow-soft); border-color: var(--gold-soft); }
.faq__q {
  list-style: none; cursor: pointer; padding: 20px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 600; color: var(--burgundy);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; width: 11px; height: 11px; flex: none;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-2px); transition: transform var(--transition);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translateY(-1px); }
.faq__a { padding: 0 26px 22px; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.7; }

/* ============================================================
   CENNIK — zajawka
   ============================================================ */
.price-teaser { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 50px; max-width: 880px; margin: 0 auto 44px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.price-row__name { font-size: 0.98rem; color: var(--ink); }
.price-row__dots { flex: 1; border-bottom: 1px dotted var(--line); margin: 0 4px; transform: translateY(-4px); }
.price-row__price { font-weight: 700; color: var(--burgundy); white-space: nowrap; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 60px); }
.contact__info { display: grid; gap: 22px; align-content: start; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item .ico { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--burgundy); color: var(--cream); display: grid; place-items: center; }
.contact__item .ico svg { width: 21px; height: 21px; display: block; }
.contact__item h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; font-weight: 600; }
.contact__item a, .contact__item p { color: var(--ink); font-weight: 500; }
.contact__map { margin-top: 8px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.contact__map iframe { width: 100%; height: 220px; border: 0; display: block; }

.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; letter-spacing: 0.02em; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; font-family: var(--sans); font-size: 0.95rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream-3);
  color: var(--ink); transition: var(--transition);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field.error input, .field.error textarea { border-color: #c0392b; }
.field__msg { color: #c0392b; font-size: 0.78rem; margin-top: 5px; display: none; }
.field.error .field__msg { display: block; }
.form__note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.form__success { display: none; background: rgba(110,31,56,0.08); color: var(--burgundy); padding: 16px; border-radius: 10px; font-size: 0.9rem; margin-top: 16px; text-align: center; }
.form__success.show { display: block; }
.form__error { display: none; background: rgba(192,57,43,0.08); color: #c0392b; padding: 16px; border-radius: 10px; font-size: 0.9rem; margin-top: 16px; text-align: center; }
.form__error.show { display: block; }

/* Zgoda RODO */
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.83rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; font-weight: 400; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--burgundy); cursor: pointer; }
.consent a { color: var(--burgundy); text-decoration: underline; }

/* reCAPTCHA */
.g-recaptcha { margin-top: 2px; }

/* Honeypot — ukryte przed użytkownikiem, widoczne dla botów */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Przycisk w trakcie wysyłki */
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--burgundy-dark); color: rgba(245,236,226,0.85); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__logo img { height: 44px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer p { color: rgba(245,236,226,0.7); font-size: 0.92rem; }
.footer h4 { font-family: var(--sans); color: var(--cream); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { color: rgba(245,236,226,0.72); font-size: 0.92rem; transition: var(--transition); }
.footer__links a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245,236,226,0.25); display: grid; place-items: center; transition: var(--transition); }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--burgundy-dark); }
.footer__bottom { border-top: 1px solid rgba(245,236,226,0.15); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(245,236,226,0.6); }
.footer__bottom a:hover { color: var(--gold-soft); }

/* ============================================================
   CENNIK — strona pełna
   ============================================================ */
.page-hero { background: linear-gradient(120deg, var(--cream) 0%, var(--cream-2) 100%); padding: calc(78px + 70px) 0 70px; text-align: center; }
.page-hero .eyebrow { display: block; }
.cennik-section { padding: clamp(50px, 7vw, 90px) 0; }
.cennik-cat { margin-bottom: 46px; }
.cennik-cat h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--burgundy); margin-bottom: 6px; }
.cennik-cat .cat-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.cennik-cat__list { display: grid; gap: 2px; }
.cennik-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 18px; border-radius: 10px; transition: background var(--transition); }
.cennik-row:nth-child(odd) { background: var(--cream-3); }
.cennik-row:hover { background: var(--cream-2); }
.cennik-row__name { color: var(--ink); font-size: 0.97rem; }
.cennik-row__meta { color: var(--muted); font-size: 0.82rem; }
.cennik-row__dots { flex: 1; border-bottom: 1px dotted var(--line); margin: 0 6px; transform: translateY(-4px); min-width: 20px; }
.cennik-row__price { font-weight: 700; color: var(--burgundy); white-space: nowrap; }

/* ============================================================
   RWD
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid, .top-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 60vh; order: -1; }
  .hero__media::after { background: linear-gradient(0deg, var(--cream-2) 0%, rgba(239,227,214,0) 25%); }
  .hero__content { padding: 48px 24px 60px; text-align: center; align-items: center; }
  .hero__content .hero__desc { margin-left: auto; margin-right: auto; }
}

/* Nawigacja przełącza się na hamburger już przy 900px — 6 pozycji menu
   + logo + przycisk nie mieszczą się komfortowo w poziomie poniżej tej szerokości. */
@media (max-width: 900px) {
  .nav__menu {
    position: fixed; top: 78px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 0 24px; max-height: 0; overflow: hidden;
    box-shadow: var(--shadow-soft); transition: max-height 0.35s ease;
  }
  /* Menu otwarte na pełną wysokość ekranu pod headerem; scroll strony blokuje body.nav-open */
  .nav__menu.open { max-height: calc(100dvh - 78px); overflow-y: auto; padding: 14px 24px 24px; }
  body.nav-open { overflow: hidden; }
  .nav__menu a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__dropdown { display: block; width: 100%; }
  .nav__dropdown-toggle { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav__caret { display: none; }
  .nav__submenu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 0 0 0 16px; background: transparent; border: none;
    box-shadow: none; border-radius: 0; gap: 0;
  }
  .nav__submenu::before { display: none; }
  /* Na dotyku :hover/:focus-within nie mogą przesuwać statycznego podmenu
     (desktopowy translateX(-50%) wygrywał specyficznością i wypychał je poza ekran) */
  .nav__dropdown:hover .nav__submenu,
  .nav__dropdown:focus-within .nav__submenu { transform: none; }
  .nav__submenu a { padding: 12px 0; border-radius: 0; font-size: 0.86rem; }
  .nav__toggle { display: flex; }
  .nav__cta .btn { padding: 12px 20px; font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .about__grid, .trycho__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin: 0 auto; }
  .about__media .badge { right: 0; }
  .services-grid, .top-grid, .reviews-grid, .price-teaser, .trycho__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__reviews { flex-direction: column; gap: 14px; width: 100%; align-items: center; }
  .hero__review { align-items: center; }
  .hero__review .top, .hero__review .lbl { justify-content: center; }
  .hero__review + .hero__review { padding-left: 0; border-left: none; padding-top: 14px; border-top: 1px solid var(--line); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero__signature .name { font-size: 1.9rem; }
}

/* ============================================================
   PODSTRONY USŁUG (zabiegi)
   ============================================================ */
/* Szybkie linki / spis zabiegów */
.svc-toc { background: var(--cream); border-bottom: 1px solid var(--line); }
.svc-toc__inner { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0; justify-content: center; }
.svc-toc a {
  font-size: 0.82rem; font-weight: 500; color: var(--burgundy);
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); transition: background var(--transition), color var(--transition);
}
.svc-toc a:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }

/* Sekcja zabiegu */
.svc-section { padding: clamp(56px, 8vw, 110px) 0; scroll-margin-top: 90px; }
.svc-section__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.svc-section__head .eyebrow { display: inline-block; }
/* Wstęp sekcji = 2-kolumnowy grid: zdjęcie (lewa) + lead (prawa).
   Zdjęcie dopasowuje wysokość do leadu (object-fit: cover), więc treść szczegółowa
   zaczyna się czysto PEŁNĄ SZEROKOŚCIĄ pod spodem — bez „przeskakiwania" tekstu
   wokół dolnej krawędzi floatu (listy nie strddują już obrazu). */
.svc-intro {
  display: grid;
  grid-template-columns: clamp(260px, 32%, 360px) 1fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}
.svc-intro__media { position: relative; align-self: stretch; min-height: 300px; max-height: 560px; }
.svc-intro__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block;
}
.svc-intro__lead { font-size: 1.05rem; color: var(--ink-soft); align-self: center; }
.svc-intro__lead p + p { margin-top: 14px; }
.svc-intro__lead .svc-note, .svc-content .svc-note { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--burgundy); line-height: 1.4; margin: 6px 0 18px; }

/* Treść szczegółowa — pełna szerokość pod wstępem */
.svc-content { margin: clamp(8px, 2vw, 18px) 0 0; }
.svc-content h3 {
  font-size: clamp(1.32rem, 2.2vw, 1.45rem); color: var(--burgundy);
  margin: 28px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.svc-content h3:first-child { margin-top: 0; }
.svc-content p { color: var(--ink-soft); }
.svc-content p + p { margin-top: 12px; }
.svc-content ul { margin: 6px 0 4px; }
.svc-content ul li { margin-bottom: 10px; color: var(--ink-soft); font-size: 0.97rem; }
.svc-content ul li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 10px; }

/* Wyczyść float na końcu każdej sekcji */
.svc-section .container::after { content: ""; display: block; clear: both; }

/* Sekcja bez zdjęcia — wyśrodkowana, czytelna kolumna */
.svc-section--text .svc-content { max-width: 860px; margin-left: auto; margin-right: auto; }
.svc-content .svc-lead { font-size: 1.08rem; color: var(--ink-soft); }

/* Konsultacja trychologiczna — tekst + wideo */
.trycho-consult { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.trycho-consult .svc-content { margin-top: 0; }

/* Odtwarzacz wideo z przyciskiem play */
.svc-video {
  position: relative; width: 100%; aspect-ratio: 3/4; max-height: 560px;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #2b2226;
}
.svc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-video__overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(43,34,38,0.15), rgba(43,34,38,0.45));
  cursor: pointer; border: none; padding: 0; width: 100%;
  transition: opacity 0.3s ease;
}
.svc-video.playing .svc-video__overlay { opacity: 0; pointer-events: none; }
.svc-video__play {
  width: 86px; height: 86px; border-radius: 50%; flex: none;
  background: rgba(110, 31, 56, 0.92); color: var(--cream);
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(110, 31, 56, 0.55);
  animation: svc-video-pulse 2s ease-out infinite;
}
.svc-video__play svg { width: 30px; height: 30px; margin-left: 5px; display: block; }
.svc-video__label {
  position: absolute; bottom: 18px; left: 0; right: 0; text-align: center;
  color: var(--cream); font-size: 0.84rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
@keyframes svc-video-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(110, 31, 56, 0.5); }
  70%  { box-shadow: 0 0 0 22px rgba(110, 31, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 31, 56, 0); }
}
@media (prefers-reduced-motion: reduce) { .svc-video__play { animation: none; } }

@media (max-width: 860px) {
  .trycho-consult { grid-template-columns: 1fr; gap: 32px; }
  .trycho-consult__media { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* Pełnoszerokościowy obraz np. efektu zabiegu */
.svc-figure { clear: both; margin: 40px 0 0; text-align: center; }
.svc-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; }
.svc-figure figcaption { margin-top: 12px; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  /* Stos pionowy: obraz wraca do normalnego flow (nie absolutny) — aspect-ratio liczy
     wysokość z szerokości <img>, dzięki czemu media nie kolapsuje do 0. */
  .svc-intro { grid-template-columns: 1fr; gap: 22px; }
  .svc-intro__media { position: static; align-self: auto; max-width: 460px; margin: 0 auto; min-height: 0; max-height: none; }
  .svc-intro__media img { position: static; width: 100%; height: auto; aspect-ratio: 4/3; }
  .svc-content { margin-top: 22px; }
}

/* ============================================================
   PRZYCISK „NA GÓRĘ"
   ============================================================ */
.to-top {
  position: fixed; right: clamp(18px, 3vw, 30px); bottom: clamp(18px, 3vw, 30px);
  width: 50px; height: 50px; border-radius: 50%; z-index: 90;
  background: var(--burgundy); color: var(--cream); border: 1px solid var(--gold);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), visibility var(--transition);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--burgundy-dark); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; display: block; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity 0.2s ease; } }

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
