/* ==========================================================================
   ESTE LUBLIN / MODERN ESTE — Luxury Aesthetic Medicine & Surgery
   Modern, Clean, Minimalist & Sophisticated Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap&subset=latin-ext');

/* --- DESIGN TOKENS --- */
:root {
  /* Brand Palette */
  --bg-primary: #fbf9f5;
  --bg-secondary: #f2ede4;
  --bg-surface: #ffffff;
  --bg-warm-light: #faf7f2;
  --bg-accent-soft: #ede6d8;
  --bg-dark: #141311;
  --bg-dark-card: #1b1a17;

  /* Gold & Warm Accents */
  --accent: #9a8056;
  --gold: #9a8056;
  --gold-light: #bca47e;
  --gold-dark: #7a633f;
  --gold-subtle: rgba(154, 128, 86, 0.08);
  --gold-border: rgba(154, 128, 86, 0.22);
  --gold-gradient: linear-gradient(135deg, #a88e63 0%, #8c7148 100%);
  --gold-gradient-hover: linear-gradient(135deg, #b59b70 0%, #7d643d 100%);

  /* Ink & Typography */
  --ink: #181715;
  --dark: #181715;
  --text: #2d2b27;
  --text-primary: #181715;
  --text-secondary: rgba(24, 23, 21, 0.72);
  --text-muted: rgba(24, 23, 21, 0.52);
  --text-inverse: #fbf9f5;
  --text-inverse-subtle: rgba(251, 249, 245, 0.75);

  /* Borders & Dividers */
  --border-light: rgba(24, 23, 21, 0.08);
  --border-gold: rgba(154, 128, 86, 0.24);
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(24, 23, 21, 0.04);
  --shadow-sm: 0 4px 12px rgba(24, 23, 21, 0.04);
  --shadow-md: 0 12px 30px -8px rgba(24, 23, 21, 0.07), 0 4px 12px rgba(24, 23, 21, 0.03);
  --shadow-lg: 0 24px 50px -12px rgba(24, 23, 21, 0.09), 0 8px 24px -6px rgba(24, 23, 21, 0.04);
  --shadow-gold: 0 12px 32px -8px rgba(154, 128, 86, 0.28);
  --shadow-gold-hover: 0 16px 40px -10px rgba(154, 128, 86, 0.4);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout — Wide, Modern & Spacious */
  --layout-max: 1460px;
  --layout-wide-max: 1540px;
  --layout-narrow-max: 1140px;
  --layout-gutter: clamp(1.25rem, 3.5vw, 2.75rem);
  --header-height: 84px;
}

/* --- RESET & GLOBAL --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg-primary);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.subhead,
.hero-subtitle,
.section-lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  background: rgba(154, 128, 86, 0.08);
  border: 1px solid var(--border-gold);
  margin-bottom: 1.25rem;
}

/* --- LAYOUT CONTAINERS --- */
.layout-shell,
.layout-wrap,
.nav-container,
.hero-grid,
.services-grid,
.benefits-grid,
.konsultacja-grid,
.instagram-section-inner,
.section-header,
.footer-content,
.page-hero-inner,
.content-wrap,
.process,
.gallery,
.assets-gallery-inner,
.me-offer-grid,
.me-offer-mobile-actions,
.copyright,
.gallery-all-grid,
.detail-article {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.section-header--spaced {
  margin-bottom: clamp(40px, 5vw, 68px);
}

.section-header h2 {
  margin-bottom: 16px;
}

/* --- BUTTONS & PILLS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  line-height: 1.3;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-hover);
}

.btn-secondary {
  background: var(--dark);
  color: #ffffff !important;
  border-color: var(--dark);
}

.btn-secondary:hover {
  background: #282622;
  border-color: #282622;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--dark) !important;
  border-color: var(--border-gold);
}

.btn-outline:hover {
  background: rgba(154, 128, 86, 0.1);
  border-color: var(--gold);
  color: var(--gold-dark) !important;
  transform: translateY(-2px);
}

.btn-hero-primary {
  background: var(--gold-gradient);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 10px 28px -6px rgba(154, 128, 86, 0.5);
}

.btn-hero-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(154, 128, 86, 0.65);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 52.44px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo:hover .logo__img {
  opacity: 0.85;
}

.menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(20px, 2.5vw, 40px);
  margin: 0;
  padding: 0;
}

.menu li a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu li a:hover,
.menu li a[aria-current="page"] {
  color: var(--gold-dark);
}

.menu li a:hover::after,
.menu li a[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
}

.nav-cta-pill:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-hover);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--dark);
  background: rgba(154, 128, 86, 0.06);
  border: 1px solid rgba(154, 128, 86, 0.12);
  transition: all 0.25s ease;
}

.nav-social-link:hover {
  color: #ffffff;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(154, 128, 86, 0.08);
  border: 1px solid rgba(154, 128, 86, 0.16);
  border-radius: var(--radius-md);
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(154, 128, 86, 0.16);
  color: var(--gold-dark);
}

/* --- HERO SECTION --- */
.section-hero {
  position: relative;
  overflow: hidden;
}

.section-hero--fullbleed {
  min-height: min(94vh, 960px);
  min-height: min(94dvh, 960px);
  display: flex;
  align-items: center;
  padding: 0;
  background: #141311;
}

.section-hero--fullbleed .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.section-hero--fullbleed .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
  transition: transform 12s cubic-bezier(0.1, 1, 0.1, 1);
}

.section-hero--fullbleed:hover .hero-bg-img {
  transform: scale(1.05);
}

.section-hero--fullbleed .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.88) 0%, rgba(18, 16, 14, 0.58) 45%, rgba(18, 16, 14, 0.22) 80%, rgba(18, 16, 14, 0.12) 100%),
    linear-gradient(180deg, rgba(18, 16, 14, 0.4) 0%, rgba(18, 16, 14, 0.05) 50%, rgba(18, 16, 14, 0.75) 100%);
}

.section-hero--fullbleed .hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
  padding-top: calc(var(--header-height) + clamp(2rem, 4vw, 3.5rem));
  padding-bottom: clamp(4rem, 8vh, 6.5rem);
}

.section-hero--fullbleed .hero-content {
  max-width: 860px;
}

.section-hero--fullbleed .hero-title {
  color: #ffffff;
  font-size: clamp(2.8rem, 5.8vw, 4.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.section-hero--fullbleed .hero-title em,
.section-hero--fullbleed .hero-title i {
  font-style: italic;
  font-weight: 400;
  color: #eedcc0;
}

.section-hero--fullbleed .hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* --- TRUST PILLARS (VALUE PROPS) --- */
.trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: clamp(24px, 3.5vw, 36px) 0;
  position: relative;
  z-index: 3;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}

@media (min-width: 992px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-warm-light);
  border: 1px solid rgba(154, 128, 86, 0.12);
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: #ffffff;
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trust-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: rgba(154, 128, 86, 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.trust-text h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* --- SERVICES SECTION --- */
.services-section {
  background: var(--bg-secondary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.5vw, 44px);
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.service-card.featured {
  border-color: rgba(154, 128, 86, 0.35);
  box-shadow: 0 14px 40px -15px rgba(154, 128, 86, 0.22);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-gold);
}

.service-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  padding: 6px 14px;
  background: var(--gold-gradient);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.service-image {
  position: relative;
  width: 100%;
  height: clamp(260px, 26vw, 380px);
  overflow: hidden;
  background: #201e1b;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-content {
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
  color: var(--gold-dark);
}

.service-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold-dark);
  transition: all 0.3s ease;
  margin-top: auto;
}

.service-card:hover .service-cta {
  color: var(--gold);
  transform: translateX(4px);
}

/* Hidden offer utility */
.offer-hidden {
  display: none !important;
}

/* --- BENEFITS SECTION --- */
.benefits-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 32px);
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-item {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 3.5vw, 44px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.benefit-item:hover::before {
  opacity: 1;
}

.benefit-text h4 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.benefit-text p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* --- INSTAGRAM SECTION --- */
.instagram-section {
  background: var(--bg-warm-light);
  border-bottom: 1px solid var(--border-light);
}

.instagram-section-inner {
  text-align: center;
  max-width: var(--layout-max);
}

.instagram-section-header {
  margin-bottom: 36px;
}

.instagram-section-header h2 {
  margin-bottom: 12px;
}

.instagram-section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.instagram-follow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.instagram-follow-link:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.instagram-embed-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.instagram-embed-iframe {
  width: 100%;
  min-height: 520px;
  border: none;
  display: block;
}

.instagram-fallback-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 18px;
}

/* --- CONSULTATION & LOCATION (#konsultacja) --- */
.form-section {
  background: var(--bg-secondary);
}

.konsultacja-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.5vw, 48px);
}

@media (min-width: 960px) {
  .konsultacja-grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: stretch;
  }
}

.contact-form {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4.5vw, 56px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.konsultacja-intro {
  margin-bottom: 28px;
}

.konsultacja-intro h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  margin-bottom: 8px;
}

.konsultacja-sub {
  color: var(--text-secondary);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--bg-warm-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  outline: none;
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(154, 128, 86, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-submit-wide {
  width: 100%;
  padding: 17px 32px;
  font-size: 1rem;
  margin-top: 10px;
}

.konsultacja-phone-note {
  text-align: center;
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.konsultacja-phone-note a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.konsultacja-phone-note a:hover {
  color: var(--gold);
}

.map-address-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4.5vw, 48px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.map-address-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.map-address-text {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.map-address-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.map-address-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-warm-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.25s ease;
}

.map-address-meta a:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.map-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  flex-grow: 1;
  min-height: 280px;
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  display: block;
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-warm-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-align: center;
  transition: all 0.25s ease;
}

.map-directions-link:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: clamp(80px, 10vw, 120px) 0 40px;
  position: relative;
  border-top: 1px solid var(--border-dark);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
}

@media (min-width: 860px) {
  .footer-content {
    grid-template-columns: 2fr 1.1fr 1fr;
    gap: clamp(48px, 6vw, 96px);
  }
}

.footer-col h3 {
  color: #f7f3ec;
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.footer-brand-mark {
  height: 166.4px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
  filter: brightness(1.1);
}

.footer-col p {
  color: var(--text-inverse-subtle);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 340px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--text-inverse-subtle);
}

.footer-links a {
  color: var(--text-inverse-subtle);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 48px;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(251, 249, 245, 0.5);
  font-size: 0.85rem;
  line-height: 1.6;
}

.copyright a {
  color: var(--gold-light);
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ELEGANT MODERN PAGE HERO & SUBPAGE HERO
   ========================================================================== */
.page-hero,
.subpage-hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(52px, 8vw, 96px)) 0 clamp(48px, 6vw, 76px);
  background:
    radial-gradient(130% 120% at 50% -10%, rgba(188, 164, 126, 0.16) 0%, rgba(242, 237, 228, 0.5) 45%, var(--bg-primary) 100%);
  border-bottom: 1px solid rgba(154, 128, 86, 0.16);
  text-align: center;
  overflow: hidden;
}

.page-hero::before,
.subpage-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 90vw);
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(154, 128, 86, 0.14) 0%, rgba(154, 128, 86, 0.03) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.page-hero::after,
.subpage-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 60vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 128, 86, 0.35), transparent);
}

.page-hero-inner,
.subpage-hero .layout-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

.page-hero-inner > *,
.subpage-hero .layout-wrap > * {
  max-width: 980px;
  margin-inline: auto;
}

.page-hero .eyebrow-pill,
.subpage-hero .eyebrow-pill {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(154, 128, 86, 0.28);
  box-shadow: 0 2px 10px rgba(154, 128, 86, 0.08);
  margin-bottom: 1.25rem;
}

.page-hero h1,
.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 16px;
}

.page-hero p,
.subpage-hero p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto;
}

/* --- SUBPAGE CONTENT WRAPPER & PROSE --- */
.content-wrap {
  padding: clamp(64px, 8vw, 110px) 0;
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

.prose {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.prose strong {
  font-weight: 600;
  color: var(--dark);
}

.prose ul,
.prose ol {
  margin: 1.5rem 0 2rem 1.5rem;
}

.prose li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

/* --- DOCTOR PROFILE (O NAS) --- */
.profile-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 4.5vw, 60px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 880px) {
  .profile-card {
    grid-template-columns: 400px 1fr;
  }
}

.profile-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- PRICE TABLES (CENNIK) --- */
.price-table-wrap {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 44px;
  width: 100%;
}

.cennik-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-gold);
}

.cennik-section-title:first-of-type {
  margin-top: 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table caption {
  display: none;
}

.price-table thead th {
  background: var(--bg-warm-light);
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--border-light);
}

.price-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s ease;
}

.price-table tbody tr:last-child {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: rgba(154, 128, 86, 0.04);
}

.price-table tbody th[scope="row"] {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark);
  padding: 20px 28px;
}

.price-table tbody td {
  padding: 20px 28px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.price-table .price-cell {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 1.05rem;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .price-table thead {
    display: none;
  }

  .price-table tbody tr {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 6px;
  }

  .price-table tbody th[scope="row"],
  .price-table tbody td {
    padding: 0;
  }

  .price-table .price-cell {
    text-align: left;
    margin-top: 6px;
  }
}

/* --- NEWS (AKTUALNOŚCI) --- */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
}

.news-item {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.news-item h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
  color: var(--dark);
}

.news-item p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.news-item__actions {
  margin-top: 24px;
}

/* --- OFFER / SUBPAGES GRID (MEDYCYNA ESTETYCZNA) --- */
.me-offer-section {
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--bg-primary);
}

.me-offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.5vw, 40px);
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

@media (min-width: 768px) {
  .me-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.me-offer-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.me-offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-gold);
}

.me-offer-card img {
  width: 100%;
  height: clamp(240px, 22vw, 320px);
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.me-offer-card:hover img {
  transform: scale(1.05);
}

.me-offer-body {
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.me-offer-body h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  margin-bottom: 12px;
  color: var(--dark);
}

.me-offer-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.me-offer-cta {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.me-offer-card:hover .me-offer-cta {
  color: var(--gold);
  transform: translateX(4px);
}

.me-offer-mobile-actions {
  margin-top: 48px;
  text-align: center;
}

/* --- DETAIL ARTICLES (TIXEL, BOTOX, PRP, ETC.) --- */
.detail-article {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) var(--layout-gutter);
}

.detail-hero-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 44px;
  border: 1px solid var(--border-light);
}

.news-article .detail-hero-img,
.detail-hero-img--top {
  object-position: top center;
}

.detail-hero-img--faces {
  aspect-ratio: 16 / 10;
  max-height: none;
  object-fit: cover;
  object-position: center 22%;
}

.detail-prose {
  max-width: 1080px;
  margin: 0 auto;
}

.detail-prose h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 44px 0 18px;
  color: var(--dark);
}

.detail-prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.detail-prose ul {
  margin: 1.5rem 0 2.5rem 1.5rem;
}

.detail-prose li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

/* --- FAQ ACCORDION --- */
.news-faq,
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: var(--border-gold);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  list-style: none;
  user-select: none;
  gap: 16px;
  transition: color 0.25s ease;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::marker {
  display: none;
}

.faq-summary .faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-summary .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: #ffffff;
}

.faq-item:hover .faq-summary {
  color: var(--gold-dark);
}

.faq-answer {
  padding: 0 22px 20px 22px;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.75;
  border-top: 1px solid rgba(24, 23, 21, 0.06);
  padding-top: 14px;
}

.faq-answer p {
  margin: 0;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

/* --- GALLERY (GALERIA ZDJĘĆ) --- */
.gallery-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 60px var(--layout-gutter);
}

.gallery-all-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  aspect-ratio: 4/3;
  transition: all 0.4s ease;
}

.gallery-all-item:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-all-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-all-item:hover img {
  transform: scale(1.06);
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 14, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.modal-overlay[aria-hidden="false"] {
  display: flex;
}

.modal {
  width: min(680px, 100%);
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-warm-light);
  color: var(--dark);
}

.modal-body {
  padding: 32px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

/* --- BACK TO TOP --- */
.mobile-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold-hover);
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- MOBILE DRAWER NAVIGATION --- */
@media (max-width: 1040px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: rgba(251, 249, 245, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px var(--layout-gutter) 48px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 999;
  }

  nav.nav-open .menu {
    transform: translateX(0);
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .menu li a {
    display: block;
    padding: 18px 0;
    font-size: 1.25rem;
    font-weight: 500;
  }

  .menu li a::after {
    display: none;
  }

  .menu-item--mobile-extras {
    border-bottom: none !important;
    padding-top: 24px;
    width: 100%;
  }

  .menu-item--mobile-social .nav-social {
    display: flex;
    gap: 12px;
  }
}
