/* ==========================================================================
   Dr. Zgórska Aesthetic Clinic – Lublin
   Paleta i typografia wg Brand Booka:
   Deep Burgundy #4A121A · Warm Alabaster #FAF8F5 · Champagne Gold #C5A059
   Midnight Truffle #140E10 · Soft Nude #E5D7D0
   Playfair Display (nagłówki) · Montserrat (treść)
   ========================================================================== */

:root {
  --burgundy: #4A121A;
  --burgundy-dark: #26060D;
  --burgundy-deep: #360911;
  --burgundy-light: #6B1B27;
  --alabaster: #FAF8F5;
  --alabaster-soft: #F4EFEA;
  --alabaster-border: #E8DFD7;
  --gold: #C5A059;
  --gold-light: #F3E1B0;
  --gold-bright: #D8B467;
  --gold-dark: #9E7730;
  --gold-shine: #FFF4D4;
  --truffle: #140E10;
  --nude: #E5D7D0;
  --text: #2B1E21;
  --text-muted: #6E5A5E;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(74, 18, 26, .06);
  --shadow-md: 0 14px 40px rgba(74, 18, 26, .10);
  --shadow-lg: 0 30px 70px rgba(38, 6, 13, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gold-gradient: linear-gradient(135deg, #FFF4D4 0%, #D8B467 35%, #C5A059 70%, #9E7730 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100%;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--alabaster);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100%;
  position: relative;
  color-scheme: light;
  -webkit-tap-highlight-color: rgba(197, 160, 89, 0.2);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
/* Blokada uciążliwego samoczynnego zoomu w Safari na iPhone */
input[type="search"], input[type="text"], input[type="tel"], input[type="email"] {
  font-size: 16px !important;
}
/* Bezpieczne łamanie długich słów na wąskich ekranach smartfonów */
h1, h2, h3, h4, .section-title, #hero-title, .brand-title, .subpage-hero h1, .m8-facts strong {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 900px; }
.center-text { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 3000;
  background: var(--burgundy); color: var(--alabaster); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--burgundy); line-height: 1.2; font-weight: 600; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.section-title.light { color: var(--alabaster); }
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow.dark { color: var(--gold-dark); }
.section-sub { color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.body-lg { font-size: 1.12rem; color: var(--text); }
.section p + p { margin-top: 14px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: .8rem; }
.btn-gold { border: none; background: var(--gold-gradient); color: var(--burgundy-dark); box-shadow: 0 8px 24px rgba(197, 160, 89, .35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(197, 160, 89, .5); }
.btn-ghost {
  border: 1.5px solid var(--burgundy);
  color: var(--burgundy);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--burgundy);
  color: var(--alabaster);
  border-color: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 18, 26, .18);
}
.hero .btn-ghost,
.section-burgundy .btn-ghost {
  border: 1px solid rgba(250, 248, 245, .5);
  color: var(--alabaster);
  background: transparent;
}
.hero .btn-ghost:hover,
.section-burgundy .btn-ghost:hover {
  background: var(--alabaster);
  color: var(--burgundy);
  border-color: var(--alabaster);
  box-shadow: 0 8px 24px rgba(250, 248, 245, .25);
}
.btn-ghost-light { border-color: transparent; color: var(--alabaster); }
.btn-ghost-light:hover { color: var(--gold-bright); }
.btn-ghost-phone,
.btn-phone-trigger {
  border: 1.5px solid var(--gold);
  color: #ffffff;
  background: rgba(20, 14, 16, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  font-family: inherit;
  font-size: .88rem;
  letter-spacing: .06em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .3s var(--ease);
}
.btn-ghost-phone:hover,
.btn-phone-trigger:hover,
.btn-phone-trigger:focus-visible {
  border-color: var(--gold-bright);
  color: #ffffff;
  background: rgba(197, 160, 89, .22);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4), 0 0 16px rgba(197, 160, 89, .25);
}
.btn-phone-trigger[aria-expanded="true"] {
  background: var(--gold-gradient);
  color: var(--burgundy-deep);
  border-color: var(--gold-bright);
  box-shadow: 0 10px 26px rgba(197, 160, 89, .45);
}
.btn-phone-trigger[aria-expanded="true"] .btn-phone-ico {
  color: var(--burgundy-deep);
}
.btn-phone-ico {
  width: 18px;
  height: 18px;
  color: var(--gold-bright);
  flex-shrink: 0;
  transition: transform .3s ease, color .3s ease;
}
.btn-phone-trigger:hover .btn-phone-ico,
.btn-ghost-phone:hover .btn-phone-ico {
  transform: scale(1.15) rotate(-6deg);
}
.btn-cta-ico {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  flex-shrink: 0;
}
.btn-burgundy { background: var(--burgundy); color: var(--alabaster); box-shadow: 0 8px 24px rgba(74, 18, 26, .3); }
.btn-burgundy:hover { background: var(--burgundy-light); transform: translateY(-2px); }

/* ---------- Dividery (brand book) ---------- */
.gold-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; max-width: 220px; }
.gold-divider.center { margin-left: auto; margin-right: auto; }
.gold-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-divider span:last-child { background: linear-gradient(270deg, transparent, var(--gold)); }
.gold-divider i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 248, 245, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--alabaster-border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo-img { height: 48px; width: auto; aspect-ratio: 877 / 230; display: block; object-fit: contain; }
.brand-mark { width: 30px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.brand-sub { font-size: .56rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; color: var(--burgundy-light); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); flex-shrink: 0; }
.nav a:not(.btn) {
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--burgundy); position: relative; padding: 6px 0; white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .4s var(--ease);
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav-cta { padding: 11px 22px; flex-shrink: 0; margin-left: 8px; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.8px; background: var(--burgundy); transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--alabaster); overflow: hidden;
  min-height: calc(100vh - 76px); min-height: calc(100dvh - 76px);
  display: flex; align-items: center;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(197, 160, 89, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(107, 27, 39, .55), transparent 65%),
    linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 55%, var(--burgundy-dark) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-watermark { position: absolute; right: 5%; top: 50%; width: min(520px, 45vw); max-height: 80vh; object-fit: contain; transform: translateY(-50%); opacity: .14; pointer-events: none; filter: drop-shadow(0 0 24px rgba(197, 160, 89, .15)); }
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; align-items: center; padding-top: clamp(20px, 3.5vh, 46px); padding-bottom: clamp(20px, 3.5vh, 46px); width: 100%; }
.hero h1 { color: var(--alabaster); font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 500; letter-spacing: -.01em; margin-bottom: 24px; }
.hero h1 em { font-style: italic; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold); }
.lead { font-size: 1.1rem; color: var(--nude); max-width: 560px; margin-bottom: 36px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 28px; border-top: 1px solid rgba(197, 160, 89, .3); }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-bright); line-height: 1.2; }
.hero-facts span { font-size: .74rem; letter-spacing: .05em; color: var(--nude); max-width: 150px; line-height: 1.4; }

.hero-logo { display: flex; justify-content: center; }
.logo-plate {
  width: min(420px, 100%); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 44px;
  border: 1px solid rgba(197, 160, 89, .4); border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(250, 248, 245, .06), rgba(20, 14, 16, .25));
  box-shadow: var(--shadow-lg), inset 0 0 0 10px rgba(197, 160, 89, .05);
  animation: float 7s ease-in-out infinite;
}
.logo-plate img { width: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sekcje ---------- */
.section { padding: 112px 0; }
.section-ivory { background: var(--alabaster-soft); }
.section-burgundy {
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--nude); position: relative;
}
.section-head { text-align: center; margin-bottom: 56px; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
/* Banerek rezerwacji telefonicznej */
.phone-booking-banner[hidden] {
  display: none !important;
}
.phone-booking-banner {
  margin-top: 28px;
  animation: bannerSlideIn .35s var(--ease) forwards;
}
@keyframes bannerSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.phone-booking-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 540px;
  margin: 0 auto;
  padding: 22px 32px;
  background: linear-gradient(135deg, rgba(35, 12, 18, 0.88), rgba(20, 8, 12, 0.94));
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.phone-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(197, 160, 89, 0.25), rgba(74, 18, 26, 0.4));
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.phone-icon-wrap .ico {
  width: 26px;
  height: 26px;
  color: var(--gold-bright);
}
.phone-booking-banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 3px;
}
.phone-doctor-label {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 600;
}
.phone-doctor-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--alabaster);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.phone-doctor-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
}
.phone-doctor-number:hover {
  color: var(--gold-bright);
}
.phone-call-badge {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--gold);
  color: var(--burgundy-deep);
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.phone-doctor-number:hover .phone-call-badge {
  background: var(--gold-bright);
  transform: translateX(3px);
}
@media (max-width: 640px) {
  .phone-booking-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 20px 20px;
  }
  .phone-booking-banner-text {
    align-items: center;
    text-align: center;
  }
  .phone-doctor-number {
    flex-direction: column;
    gap: 6px;
    font-size: 1.35rem;
  }
  .consultation-policy-card {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 16px !important;
  }
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-grid p { color: var(--text-muted); }
.about-grid .body-lg { color: var(--text); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar {
  background: #fff; border: 1px solid var(--alabaster-border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.pillar h3 { font-size: 1.12rem; margin: 16px 0 8px; }
.pillar p { font-size: .88rem; line-height: 1.6; color: var(--text-muted); }

.ico { width: 46px; height: 46px; color: var(--gold-dark); }
.ico-lg { width: 56px; height: 56px; flex-shrink: 0; color: var(--gold); }

/* ---------- Zabiegi ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab {
  background: #fff; border: 1px solid var(--alabaster-border); color: var(--burgundy);
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: all .3s var(--ease);
}
.tab:hover { border-color: var(--gold); transform: translateY(-1px); }
.tab[aria-selected="true"] { background: var(--burgundy); color: var(--alabaster); border-color: var(--burgundy); box-shadow: 0 8px 20px rgba(74, 18, 26, .25); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.card {
  position: relative; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--alabaster-border); border-radius: var(--radius); padding: 30px 28px 26px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  animation: cardIn .6s var(--ease) both; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(197, 160, 89, .6); }
.card:hover::before { transform: scaleX(1); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.card h3 { font-size: 1.22rem; }
.card p { font-size: .9rem; line-height: 1.65; color: var(--text-muted); flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--alabaster-border); }
.card-price { font-size: .8rem; color: var(--text-muted); }
.card-price strong { font-family: var(--serif); font-size: 1.15rem; color: var(--burgundy); }
.card-more { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); display: inline-flex; gap: 6px; align-items: center; }
.card-more::after { content: '→'; transition: transform .3s var(--ease); }
.card:hover .card-more::after { transform: translateX(5px); }

/* ---------- Cennik ---------- */
.search { position: relative; margin-bottom: 26px; }
.search svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--gold-dark); stroke-width: 1.8; stroke-linecap: round; }
.search input {
  width: 100%; padding: 16px 22px 16px 54px; border-radius: 999px; background: #fff;
  border: 1px solid var(--alabaster-border); font-size: .95rem; transition: border-color .3s, box-shadow .3s;
}
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197, 160, 89, .18); }

.price-list { display: flex; flex-direction: column; gap: 12px; }
.acc { background: #fff; border: 1px solid var(--alabaster-border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc.open { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left;
}
.acc-head .ico { width: 30px; height: 30px; flex-shrink: 0; }
.acc-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--burgundy); flex: 1; }
.acc-count { font-size: .7rem; color: var(--text-muted); letter-spacing: .08em; }
.acc-chev { width: 18px; height: 18px; fill: none; stroke: var(--gold-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.acc.open .acc-chev { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc.open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.rows { padding: 0 22px 12px; }
.row { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: baseline; padding: 13px 0; border-top: 1px dashed var(--alabaster-border); font-size: .92rem; }
.row-name { color: var(--text); }
.row-time { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }
.row-price { font-family: var(--serif); font-weight: 600; color: var(--burgundy); white-space: nowrap; min-width: 84px; text-align: right; }
.empty { text-align: center; color: var(--text-muted); padding: 30px 0; }

/* ---------- Kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step {
  border: 1px solid rgba(197, 160, 89, .35); border-radius: var(--radius); padding: 36px 30px;
  background: rgba(20, 14, 16, .22); transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.step:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(20, 14, 16, .32); }
.step-n { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { color: var(--alabaster); font-size: 1.28rem; margin-bottom: 10px; }
.step p { color: var(--nude); font-size: .92rem; font-weight: 300; }

/* ---------- Marka ---------- */
.brand-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.brand-grid p { color: var(--text-muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.swatches li { display: flex; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .06em; color: var(--text-muted); }
.swatches i { width: 28px; height: 28px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.brand-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--alabaster-border); }
.brand-figure img { width: 100%; transition: transform 1.2s var(--ease); }
.brand-figure:hover img { transform: scale(1.03); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--truffle); color: var(--nude); padding-top: 72px; border-top: 1px solid rgba(197, 160, 89, .35); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; padding-bottom: 40px; }
.footer-logo { width: 220px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.footer-nav a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; transition: color .3s; }
.footer-nav a:hover { color: var(--gold-bright); }
.footer-social { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: -6px; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, .45);
  color: var(--nude);
  background: rgba(255, 255, 255, .04);
  transition: all .3s var(--ease);
  text-decoration: none;
}
.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-social-link:hover {
  color: var(--burgundy-dark);
  background: var(--gold-gradient);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, .3);
}
.footer-bottom { border-top: 1px solid rgba(250, 248, 245, .08); padding-top: 22px; padding-bottom: 30px; text-align: center; font-size: .74rem; color: rgba(229, 215, 208, .6); }

/* ---------- Modal ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 14, 16, .72); backdrop-filter: blur(6px); animation: fade .3s ease both; }
.modal-panel {
  position: relative; width: min(760px, 100%); max-height: 88vh; display: flex; flex-direction: column;
  background: var(--alabaster); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--gold);
  animation: pop .45s var(--ease) both; overflow: hidden;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal-close {
  position: absolute; top: 14px; right: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(250, 248, 245, .12); border: 1px solid rgba(250, 248, 245, .35); color: var(--alabaster);
  font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .3s, transform .3s var(--ease);
}
.modal-close:hover { background: var(--gold); color: var(--burgundy-dark); transform: rotate(90deg); }
.modal-head { display: flex; gap: 20px; align-items: flex-start; padding: 32px 70px 28px 32px; background: linear-gradient(160deg, var(--burgundy), var(--burgundy-deep)); }
.modal-head h3 { color: var(--alabaster); font-size: 1.5rem; margin-bottom: 8px; }
.modal-head p { color: var(--nude); font-size: .9rem; font-weight: 300; line-height: 1.6; }
.modal-body { overflow-y: auto; padding: 10px 32px 6px; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 32px; border-top: 1px solid var(--alabaster-border); background: #fff; font-size: .78rem; color: var(--text-muted); }

/* ---------- Animacje wejścia ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsywność ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; gap: 44px; }
  .hero-logo { order: -1; }
  .logo-plate { width: min(300px, 80%); padding: 32px; }
  .about-grid, .brand-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--alabaster); padding: 12px 24px 28px; border-bottom: 1px solid var(--gold);
    box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .4s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--alabaster-border); font-size: .8rem; }
  .nav-cta { margin-top: 18px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .pillars { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr auto; row-gap: 2px; }
  .row-time { grid-column: 1; grid-row: 2; }
  .row-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .hero-facts { gap: 22px; }
  .modal-head { padding: 26px 60px 22px 22px; flex-direction: column; gap: 12px; }
  .modal-body { padding: 6px 22px; }
  .modal-foot { padding: 16px 22px; }
  .brand-sub { letter-spacing: .2em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}



/* ==========================================================================
   ROZSZERZENIE PODSTRON (O GABINECIE, ZABIEGI, CENNIK, KONTAKT)
   ========================================================================== */

.nav a.active {
  color: var(--burgundy-dark);
  font-weight: 600;
}
.nav a.active::after {
  width: 100%;
}

/* Subpage Hero */
.subpage-hero {
  position: relative;
  background:
    radial-gradient(900px 450px at 85% 20%, rgba(197, 160, 89, .18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(107, 27, 39, .5), transparent 65%),
    linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 60%, var(--burgundy-dark) 100%);
  color: var(--alabaster);
  padding: 64px 0 54px;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 89, .3);
}
.subpage-hero .hero-watermark {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: min(380px, 32vw);
  max-height: 85%;
  object-fit: contain;
  opacity: .12;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(197, 160, 89, .15));
}
.subpage-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  color: var(--alabaster);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.subpage-hero p.lead {
  color: var(--nude);
  font-size: 1.08rem;
  max-width: 650px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Doctor Profile Section */
.doctor-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.doctor-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--alabaster-border);
  aspect-ratio: 4 / 5;
}
.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s var(--ease);
}
.doctor-photo-wrap:hover img {
  transform: scale(1.03);
}
.doctor-badge-floating {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(38, 6, 13, .88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 14px 20px;
  color: #fff;
}
.doctor-badge-floating strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-bright);
}
.doctor-badge-floating span {
  font-size: .78rem;
  color: var(--nude);
  letter-spacing: .04em;
}

/* Galeria Gabinetu */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--alabaster-border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 8, 12, 0.16);
  border-color: var(--gold);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 18px 14px;
  background: linear-gradient(0deg, rgba(20, 8, 12, 0.88) 0%, rgba(20, 8, 12, 0.45) 60%, transparent 100%);
  color: #ffffff;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Kontakt Grid & Map */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  background: #fff;
  border: 1px solid var(--alabaster-border);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-info-card .ico {
  width: 32px;
  height: 32px;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.contact-info-card p, .contact-info-card a {
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.5;
  text-decoration: none;
}
.contact-info-card a:hover {
  color: var(--burgundy);
  text-decoration: underline;
}
.contact-info-card .phone-big {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--burgundy);
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--alabaster-border);
  min-height: 420px;
  height: 100%;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 980px) {
  .doctor-profile-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .doctor-photo-wrap { width: min(340px, 88vw); max-width: 340px; margin: 0 auto 24px auto; aspect-ratio: 4 / 5; }
  .doctor-profile-grid .gold-divider { margin-left: auto; margin-right: auto; }
  .doctor-profile-grid .lead { text-align: center; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .map-card { min-height: 340px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}


/* Flagowe zabiegi na stronie głównej */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.featured-card {
  background: #fff;
  border: 1px solid var(--alabaster-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  text-align: left;
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.featured-card .ico {
  width: 44px;
  height: 44px;
  color: var(--burgundy);
  margin-bottom: 20px;
}
.featured-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--burgundy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.featured-card p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.featured-card .featured-link {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap .3s, color .3s;
}
.featured-card:hover .featured-link {
  color: var(--gold-deep);
  gap: 10px;
}

@media (max-width: 980px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* hidden zawsze ukrywa element */
[hidden] { display: none !important; }


/* ==========================================================================
   HERO – SPLIT SCREEN (1 EKRAN 100VH Z PORTRETEM DR ZGÓRSKIEJ PO PRAWEJ)
   ========================================================================== */
.hero {
  position: relative;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  min-height: calc(100vh - 76px);
  max-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vh, 24px) 0;
  background: radial-gradient(circle at 75% 50%, rgba(197, 160, 89, 0.09) 0%, transparent 60%), var(--burgundy-deep);
  overflow: hidden;
}
/* Czyste tło bez wystającego znaku wodnego za ramką zdjęcia */
.hero-split .hero-watermark {
  display: none !important;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: clamp(0.76rem, 0.95vw, 0.90rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: clamp(10px, 1.8vh, 16px);
  font-weight: 600;
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  display: none;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.6vw, 3.4rem);
  line-height: 1.14;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: clamp(14px, 2.2vh, 22px);
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.45);
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero .lead {
  font-size: clamp(1.08rem, 1.25vw, 1.22rem);
  line-height: 1.68;
  color: rgba(250, 248, 245, 0.92);
  max-width: 650px;
  margin: 0 0 clamp(24px, 3.6vh, 34px);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 0;
}
.hero-actions .btn {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  padding: 13px 26px;
}

/* PORTRET DR ZGÓRSKIEJ PO PRAWEJ STRONIE (IDEALNE KADROWANIE) */
.hero-doctor-side {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.doctor-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 390 / 505;
  height: clamp(390px, 64vh, 540px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(216, 180, 103, 0.45);
  background: var(--burgundy);
}
.doctor-portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 244, 212, 0.6), rgba(197, 160, 89, 0.2) 40%, rgba(20, 14, 16, 0.8) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
.doctor-portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 72%, rgba(18, 10, 14, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}
.doctor-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease);
}
.doctor-portrait-frame:hover .doctor-portrait-img {
  transform: scale(1.03);
}
.doctor-portrait-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(18, 10, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(216, 180, 103, 0.45);
  border-radius: 12px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 4;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}
.doc-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gold-gradient);
  display: grid;
  place-items: center;
  color: var(--burgundy-dark);
  flex-shrink: 0;
}
.doc-badge-icon svg {
  width: 18px;
  height: 18px;
}
.doc-badge-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.doc-badge-content strong {
  font-family: var(--serif);
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
}
.doc-badge-content span {
  font-size: 0.68rem;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  margin-top: 1px;
}

@media (max-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero {
    height: auto;
    min-height: calc(100vh - 76px);
    max-height: none;
    overflow: visible;
    padding: 40px 0;
  }
  .hero-doctor-side {
    order: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 24px auto;
  }
  .doctor-portrait-frame {
    width: min(320px, 86vw);
    aspect-ratio: 390 / 505;
    height: auto;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-copy .eyebrow,
  .hero-copy h1,
  #hero-title,
  .hero .lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .doctor-portrait-frame {
    width: min(290px, 84vw);
    aspect-ratio: 390 / 505;
    height: auto;
    max-width: 290px;
    margin: 0 auto;
  }
  .doctor-portrait-badge {
    padding: 8px 12px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
}

/* ==========================================================================
   SEKCJA: FILARY ZAUFANIA I STANDARDY MEDYCZNE
   ========================================================================== */
.section-pillars {
  background: var(--alabaster);
  padding: 90px 0;
  position: relative;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 20px;
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--alabaster-border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 0 0 4px 4px;
  opacity: 0.85;
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.5);
}
.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(74, 18, 26, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.35);
  display: grid;
  place-items: center;
  color: var(--burgundy);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}
.pillar-card:hover .pillar-icon {
  background: var(--burgundy);
  color: var(--gold-bright);
}
.pillar-icon svg {
  width: 26px;
  height: 26px;
}
.pillar-badge {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  background: rgba(197, 160, 89, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.25);
}
.pillar-card h3 {
  font-family: var(--serif);
  color: var(--burgundy);
  font-size: 1.32rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
.pillar-lead {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pillar-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

@media (max-width: 1080px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 680px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .section-pillars { padding: 60px 0; }
  .pillar-card { padding: 26px 22px; }
}

/* ==========================================================================
   PODSTRONA ZABIEGU – MORPHEUS8
   ========================================================================== */
.crumb { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.m8-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.m8-badges li { font-size: .74rem; letter-spacing: .06em; padding: 8px 16px; border: 1px solid rgba(197,160,89,.5); border-radius: 999px; color: var(--gold-bright); background: rgba(20,14,16,.25); }
.m8-facts { background: var(--alabaster-soft); border-bottom: 1px solid var(--alabaster-border); }
.m8-facts-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.m8-facts-grid > div { padding: 26px 20px; text-align: center; border-right: 1px solid var(--alabaster-border); display: flex; flex-direction: column; gap: 4px; }
.m8-facts-grid > div:last-child { border-right: 0; }
.m8-facts-grid strong { font-family: var(--serif); font-size: 1.45rem; color: var(--burgundy); }
.m8-facts-grid span { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.m8-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.m8-two p { color: var(--text-muted); margin-bottom: 14px; }
.m8-two .body-lg { color: var(--text); }
.m8-card-note { background: var(--burgundy); color: var(--alabaster); border: 1px solid var(--gold); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-md); }
.m8-card-note h3 { color: var(--gold-bright); font-size: 1.3rem; margin-bottom: 12px; }
.m8-card-note p { color: var(--nude) !important; margin-bottom: 20px; }
.m8-steps3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: none; }
.m8-steps3 li { background: #fff; border: 1px solid var(--alabaster-border); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.m8-steps3 li > span { display: block; font-family: var(--serif); font-size: 2.4rem; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 14px; }
.m8-steps3 h3 { color: var(--burgundy); font-size: 1.2rem; margin-bottom: 8px; }
.m8-steps3 p { color: var(--text-muted); font-size: .92rem; }
.m8-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.m8-card { background: #fff; border: 1px solid var(--alabaster-border); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 28px 28px; box-shadow: var(--shadow-sm); }
.m8-card h3 { color: var(--burgundy); font-size: 1.2rem; margin-bottom: 8px; }
.m8-card p { color: var(--text-muted); font-size: .93rem; }
.m8-checks { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 40px; }
.m8-checks li, .m8-list li, .m8-contra li { position: relative; padding-left: 30px; color: var(--text); font-size: .96rem; line-height: 1.5; }
.m8-checks li::before, .m8-list li::before { content: ''; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border-left: 2px solid var(--gold-deep, var(--gold)); border-bottom: 2px solid var(--gold-deep, var(--gold)); transform: rotate(-45deg); }
.m8-list { display: grid; gap: 12px; }
.m8-contra { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 40px; background: #fff; border: 1px solid var(--alabaster-border); border-left: 4px solid var(--burgundy); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm); }
.m8-contra li::before { content: '!'; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; background: var(--burgundy); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.m8-timeline { counter-reset: t; display: grid; gap: 16px; }
.m8-timeline li { counter-increment: t; position: relative; padding-left: 48px; color: var(--text-muted); font-size: .95rem; }
.m8-timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--burgundy); color: var(--gold-bright); font-family: var(--serif); display: grid; place-items: center; }
.m8-timeline strong { color: var(--burgundy); }
@media (max-width: 980px) {
  .m8-two, .m8-steps3, .m8-cards, .m8-checks, .m8-contra { grid-template-columns: 1fr; }
  .m8-two { gap: 32px; }
  .m8-facts-grid { grid-template-columns: repeat(2,1fr); }
  .m8-facts-grid > div:nth-child(2) { border-right: 0; }
  .m8-facts-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--alabaster-border); }
}

/* ==========================================================================
   PODSTRONA ZABIEGU – KROPLÓWKI
   ========================================================================== */
.drip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.drip-card { background: #fff; border: 1px solid var(--alabaster-border); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 30px 30px 26px; box-shadow: var(--shadow-sm); }
.drip-card h3 { color: var(--burgundy); font-size: 1.35rem; margin-bottom: 8px; }
.drip-card h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep, var(--gold)); margin: 20px 0 10px; font-family: var(--sans, inherit); font-weight: 600; }
.drip-card .drip-lead { color: var(--text-muted); font-size: .94rem; }
.drip-card .m8-list { gap: 8px; }
.drip-card .m8-list li { font-size: .9rem; }
.drip-comp-inline { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.drip-comp { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 4px; }
.drip-comp th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); padding: 8px 0; border-bottom: 2px solid var(--gold); }
.drip-comp th:last-child, .drip-comp td:last-child { text-align: right; white-space: nowrap; }
.drip-comp td { padding: 7px 0; border-bottom: 1px solid var(--alabaster-border); color: var(--text); }
@media (max-width: 980px) { .drip-grid { grid-template-columns: 1fr; } }

/* Banerek opisu zabiegu na grnym bordowym polu */
.subpage-hero .m8-facts {
  margin-top: 36px;
  background: rgba(20, 14, 16, .55);
  border: 1px solid rgba(197, 160, 89, .35);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  overflow: hidden;
}
.subpage-hero .m8-facts-grid > div {
  padding: 20px 16px;
  border-right: 1px solid rgba(197, 160, 89, .25);
}
.subpage-hero .m8-facts-grid > div:last-child {
  border-right: 0;
}
.subpage-hero .m8-facts-grid strong {
  color: var(--gold-bright);
}
.subpage-hero .m8-facts-grid span {
  color: var(--nude);
}

@media (max-width: 980px) {
  .subpage-hero .m8-facts-grid > div:nth-child(2) {
    border-right: 0;
  }
  .subpage-hero .m8-facts-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(197, 160, 89, .25);
  }
}

/* Przycisk PEŁNY OPIS ZABIEGU na bordowej części modala */
.modal-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 9px 26px;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--burgundy-dark);
  border: 1px solid rgba(255, 244, 212, .6);
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(197, 160, 89, .35);
  transition: all .25s ease;
  cursor: pointer;
}
.modal-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(197, 160, 89, .5);
  filter: brightness(1.05);
}
/* ---------- KOD QR – BEZPROWIZYJNA REZERWACJA BOOKSY ---------- */
.qr-booking-card {
  margin-top: 36px;
  background: rgba(20, 14, 16, .35);
  border: 1px solid rgba(197, 160, 89, .45);
  border-radius: var(--radius);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 680px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 16px 40px rgba(20, 14, 16, .35);
  transition: transform .35s var(--ease), border-color .3s;
}
.qr-booking-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.qr-booking-media {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.qr-booking-media img {
  display: block;
  width: 108px;
  height: 108px;
  object-fit: contain;
}
.qr-booking-content {
  flex: 1;
  text-align: left;
}
.qr-booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.qr-booking-title {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--alabaster);
  margin-bottom: 6px;
}
.qr-booking-desc {
  font-size: .88rem;
  color: var(--nude);
  line-height: 1.5;
  font-weight: 300;
}
.qr-booking-link {
  display: inline-block;
  margin-top: 8px;
  font-size: .82rem;
  color: var(--gold-bright);
  text-decoration: underline;
  transition: color .2s;
}
.qr-booking-link:hover {
  color: var(--gold-shine);
}

/* Wariant do karty w kontakt.html */
.qr-booking-pill {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--alabaster);
  border: 1px solid var(--alabaster-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color .3s, transform .25s;
}
.qr-booking-pill:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.qr-booking-pill-media {
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.qr-booking-pill-media img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.qr-booking-pill-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.qr-booking-pill-content strong {
  font-family: var(--serif);
  font-size: .98rem;
  color: var(--burgundy);
}
.qr-booking-pill-content span {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .qr-booking-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 16px;
    width: 100%;
  }
  .qr-booking-content {
    text-align: center;
    width: 100%;
  }
  .qr-booking-pill {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    width: 100%;
    padding: 16px 14px;
  }
  .qr-booking-pill-content {
    text-align: center;
    width: 100%;
    align-items: center;
  }
}

/* ---------- STOPKA – SEKCJA PRAWNA I COOKIES ---------- */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: .74rem;
}
.footer-legal-link {
  color: rgba(229, 215, 208, .8);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.footer-legal-link:hover {
  color: var(--gold-bright);
}
.footer-legal-sep {
  color: rgba(197, 160, 89, .45);
}
.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: rgba(229, 215, 208, .8);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .2s;
}
.footer-cookie-btn:hover {
  color: var(--gold-bright);
}

/* ---------- BANER COOKIES (RODO / GDPR) ---------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  width: min(720px, calc(100% - 32px));
  background: rgba(20, 14, 16, .96);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(197, 160, 89, .2);
  padding: 22px 26px;
  z-index: 9999;
  color: var(--nude);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-banner-ico {
  width: 22px;
  height: 22px;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.cookie-banner-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--alabaster);
  margin: 0;
}
.cookie-banner-text {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--nude);
  margin-bottom: 16px;
}
.cookie-banner-text a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.cookie-banner-text a:hover {
  color: var(--gold-shine);
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner-actions .btn-cookie-accept {
  padding: 9px 22px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cookie-banner-actions .btn-cookie-essential {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(197, 160, 89, .5);
  color: var(--alabaster);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.cookie-banner-actions .btn-cookie-essential:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 89, .15);
  color: var(--gold-bright);
}
.cookie-banner-actions .cookie-info-link {
  font-size: .82rem;
  color: rgba(229, 215, 208, .75);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: auto;
  transition: color .2s;
}
.cookie-banner-actions .cookie-info-link:hover {
  color: var(--gold-bright);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    padding: 18px 16px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cookie-banner-actions .btn-cookie-accept,
  .cookie-banner-actions .btn-cookie-essential {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .cookie-banner-actions .cookie-info-link {
    margin-left: 0;
    text-align: center;
    margin-top: 6px;
  }
}

/* ---------- STRONA POLITYKA PRYWATNOŚCI ---------- */
.legal-container {
  max-width: 880px;
  margin: 0 auto;
}
.legal-pref-card {
  background: var(--alabaster-soft);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.legal-pref-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-pref-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--burgundy);
}
.legal-pref-status {
  font-size: .86rem;
  color: var(--text-muted);
}
.legal-pref-status strong {
  color: var(--burgundy-deep);
}
.legal-toc {
  background: #ffffff;
  border: 1px solid var(--alabaster-border);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.legal-toc-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--burgundy);
  margin-bottom: 14px;
}
.legal-toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-toc li a {
  color: var(--text-muted);
  font-size: .92rem;
  text-decoration: none;
  transition: color .2s;
}
.legal-toc li a:hover {
  color: var(--burgundy);
  text-decoration: underline;
}
.legal-section {
  background: #ffffff;
  border: 1px solid var(--alabaster-border);
  border-radius: var(--radius);
  padding: 34px 38px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.legal-section h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--burgundy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--alabaster-border);
}
.legal-section h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--burgundy-deep);
  margin-top: 22px;
  margin-bottom: 10px;
}
.legal-section p, .legal-section li {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}
.legal-section ul, .legal-section ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.legal-section li {
  margin-bottom: 8px;
}
.legal-section a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-section a:hover {
  color: var(--gold-dark);
}
.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(197, 160, 89, .15);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.cookie-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  text-align: left;
}
.cookie-table th {
  background: var(--alabaster-soft);
  color: var(--burgundy);
  padding: 12px 14px;
  border: 1px solid var(--alabaster-border);
  font-family: var(--serif);
  font-weight: 600;
}
.cookie-table td {
  padding: 12px 14px;
  border: 1px solid var(--alabaster-border);
  color: var(--text);
}
.cookie-table tr:nth-child(even) td {
  background: rgba(250, 248, 245, .5);
}
@media (max-width: 768px) {
  .legal-section {
    padding: 24px 20px;
  }
  .legal-toc {
    padding: 20px 18px;
  }
}

/* ==========================================================================
   DODATKOWA OPTYMALIZACJA MOBILE I TOUCH UX (SMARTFONY 360px - 600px)
   ========================================================================== */

/* Zapobieganie poziomemu przewijaniu na urządzeniach mobilnych */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Wygodne cele dotykowe (min. 44px wg standardów Google Mobile) */
.btn, .nav a, .menu-toggle, .footer-social-link {
  touch-action: manipulation;
}

@media (max-width: 860px) {
  .nav {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav a:not(.btn) {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 560px) {
  /* Płynne skalowanie nagłówków na małych ekranach */
  .hero-title, #hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    line-height: 1.25;
  }
  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    line-height: 1.3;
  }

  /* Karty zabiegów i filary */
  .pillar-card, .featured-card {
    padding: 24px 18px;
  }

  /* Pełna szerokość przycisków w stopce okna modalnego na telefonie */
  .modal {
    padding: 10px;
  }
  .modal-panel {
    max-height: 94vh;
    border-radius: 16px;
  }
  .modal-head {
    padding: 22px 50px 18px 18px;
  }
  .modal-body {
    padding: 6px 18px;
  }
  .modal-foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 14px 18px;
    gap: 12px;
  }
  .modal-foot .btn {
    width: 100%;
    justify-content: center;
  }

  /* Tabele składników z płynnym zawijaniem */
  .drip-comp th:last-child, .drip-comp td:last-child {
    white-space: normal;
  }

  /* Zmniejszenie portretu w sekcji Hero na bardzo wąskich telefonach */
  .doctor-portrait-frame {
    width: min(280px, 84vw);
    aspect-ratio: 390 / 505;
    height: auto;
    max-width: 280px;
    margin: 0 auto;
  }
  .doctor-portrait-badge {
    padding: 8px 10px;
    font-size: .78rem;
  }

  /* Drobne poprawki kafelków podsumowania faktów zabiegu */
  .subpage-hero .m8-facts-grid > div {
    padding: 14px 10px;
  }
  .subpage-hero .m8-facts-grid strong {
    font-size: 1.25rem;
  }
  .subpage-hero .m8-facts-grid span {
    font-size: .68rem;
  }
}

/* ---------- SEKCJA CERTYFIKATÓW I KWALIFIKACJI (v62) ---------- */
.certs-intro-box {
  background: linear-gradient(135deg, rgba(74, 18, 26, .05) 0%, rgba(197, 160, 89, .08) 100%);
  border: 1px solid var(--alabaster-border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.certs-intro-box h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.certs-intro-box p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.cert-card {
  background: #ffffff;
  border: 1px solid var(--alabaster-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(74, 18, 26, .12);
  border-color: var(--gold);
}
.cert-thumb-wrap {
  position: relative;
  background: #f8f6f4;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1600 / 1121;
  overflow: hidden;
}
.cert-thumb-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: transform .4s var(--ease);
}
.cert-card:hover .cert-thumb-wrap img {
  transform: scale(1.03);
}
.cert-overlay-zoom {
  position: absolute;
  inset: 0;
  background: rgba(74, 18, 26, .55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cert-card:hover .cert-overlay-zoom {
  opacity: 1;
}
.cert-overlay-zoom svg {
  width: 28px;
  height: 28px;
  color: var(--gold-shine);
}
.cert-card-info {
  padding: 14px 16px;
  border-top: 1px solid var(--alabaster-border);
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cert-card-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.cert-card-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.35;
}

/* KAFELKI ZAUFANIA (TRUST PILLARS) */
.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.trust-pillar-card {
  background: #ffffff;
  border: 1px solid var(--alabaster-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
}
.trust-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--burgundy));
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity .3s;
}
.trust-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, .4);
  box-shadow: var(--shadow-md);
}
.trust-pillar-card:hover::before {
  opacity: 1;
}
.trust-pillar-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(74, 18, 26, .06);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(197, 160, 89, .25);
}
.trust-pillar-ico svg {
  width: 24px;
  height: 24px;
}
.trust-pillar-title {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.trust-pillar-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* MODAL LIGHTBOX DLA CERTYFIKATÓW */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 8, 10, .88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cert-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.cert-lightbox-dialog {
  position: relative;
  max-width: 1100px;
  width: 95vw;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold);
}
.cert-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--burgundy);
  color: #ffffff;
}
.cert-lightbox-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-bright);
}
.cert-lightbox-close {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.cert-lightbox-close:hover {
  background: rgba(255, 255, 255, .15);
  color: var(--gold-shine);
}
.cert-lightbox-body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(90vh - 70px);
  overflow: auto;
  background: #140e10;
}
.cert-lightbox-body img {
  max-width: 100%;
  max-height: calc(90vh - 100px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
}
.cert-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(74, 18, 26, .75);
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  z-index: 10;
}
.cert-lightbox-nav:hover {
  background: var(--burgundy);
  transform: translateY(-50%) scale(1.08);
}
.cert-lightbox-prev { left: 16px; }
.cert-lightbox-next { right: 16px; }

@media (max-width: 768px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .cert-lightbox-dialog {
    max-height: 95vh;
  }
}
@media (max-width: 480px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
}
