@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito:wght@300;400;600&family=Dancing+Script:wght@500;600;700&display=swap');

:root {
  --cream: #FAF7F2;
  --blush: #E8C4C4;
  --blush-dark: #D4A0A0;
  --sage: #7A9E7E;
  --sage-dark: #5C7D60;
  --gold: #C9A96E;
  --gold-dark: #A8863D;
  --dark: #1C1C1C;
  --text: #3D3D3D;
  --text-light: #7A7A7A;
  --border: #E8E0D8;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.3;
}

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 0 2rem;
}
header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* ===== LOGO ===== */
.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo span { color: var(--sage); }

/* ===== NAV ===== */
nav { display: flex; align-items: center; gap: 0.15rem; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 0.5rem 0.75rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--sage); background: rgba(122,158,126,0.1); }

/* ===== DROPDOWN ===== */
.dropdown { position: relative; }
.dropdown > .nav-link::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 270px; padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition);
  z-index: 200;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.6rem 1rem;
  font-size: 0.875rem; border-radius: 8px;
  transition: var(--transition);
  color: var(--text);
}
.dropdown-menu a:hover { background: var(--cream); color: var(--sage); }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE NAV — drawer wjeżdżający z prawej ===== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100vh;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0,0,0,.25);
  padding: 5rem 1.5rem 2rem;
  z-index: 1500;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: block;
  visibility: hidden;
}
.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
}
/* Backdrop overlay */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1499;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}
/* Close button inside drawer */
.mobile-nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease;
}
.mobile-nav__close:hover { background: var(--cream); }
body.mobile-nav-open { overflow: hidden; }
.mobile-nav a,
.mobile-nav .mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.mobile-nav a:hover,
.mobile-nav .mobile-sub-toggle:hover {
  background: var(--cream);
  color: var(--sage);
}
.mobile-nav .mobile-sub {
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  margin: 0.25rem 0 0.25rem 1rem;
}
.mobile-nav .mobile-sub a {
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.6rem 1rem;
}
.mobile-sub-toggle .arrow {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--sage);
  transition: transform .25s ease;
}
.mobile-sub-toggle.expanded .arrow { transform: rotate(180deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, #f0e8e0 50%, #e8d5c8 100%);
  text-align: center; padding: 100px 2rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(250,247,242,0.2) 0%, rgba(28,28,28,0.5) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700;
  color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}
.hero-content .hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem; letter-spacing: 0.05em;
}
.hero-btn {
  display: inline-block;
  background: var(--white); color: var(--sage-dark);
  padding: 0.9rem 2.5rem; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-btn:hover {
  background: var(--cream); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.hero-no-img h1 { color: var(--dark); text-shadow: none; }
.hero-no-img .hero-sub { color: var(--text-light); }
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.06;
  background-image:
    radial-gradient(circle at 25% 25%, var(--sage) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--blush-dark) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== SEKCJE ===== */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.section-alt { background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  text-align: center; margin-bottom: 0.75rem; color: var(--dark);
}
.section-subtitle {
  text-align: center; color: var(--text-light); font-size: 1.05rem;
  margin-bottom: 3.5rem; max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.section-subtitle::before {
  content: ''; display: block; width: 50px; height: 2px;
  background: var(--gold); margin: 0 auto 1rem;
}

/* ===== GRID USŁUG (HOME) ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 1rem;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  text-align: center; transition: var(--transition);
  position: relative; overflow: hidden;
  text-decoration: none;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
  color: var(--white);
  position: relative; z-index: 1;
}
.service-icon {
  font-size: 2.5rem; margin-bottom: 1rem; display: block;
  position: relative; z-index: 1;
}
.service-card h3 {
  font-size: 1.05rem; margin-bottom: 0.5rem;
  position: relative; z-index: 1;
  transition: var(--transition);
}
.service-card p {
  font-size: 0.875rem; color: var(--text-light);
  position: relative; z-index: 1; transition: var(--transition);
}

/* ===== ABOUT HOME ===== */
.about-home {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-home .photo-wrapper img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%;
}
.about-home-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.about-home-text p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.8; }
.badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.8rem; font-weight: 600; color: var(--sage-dark);
}
.btn-primary {
  display: inline-block; margin-top: 1.5rem;
  background: var(--sage); color: var(--white);
  padding: 0.8rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== O MNIE PAGE ===== */
.about-page {
  display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: start;
}
.about-photo img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%;
}
.about-text h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; color: var(--text); line-height: 1.85; }
.about-badges { margin-top: 2rem; }
.about-badges .badges { gap: 0.75rem; }

/* ===== GALERIA MASONRY ===== */
.gallery-section { padding: 4rem 2rem; }
.gallery-masonry { columns: 3; column-gap: 1rem; }
.gallery-item {
  break-inside: avoid; margin-bottom: 1rem;
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; position: relative;
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(122,158,126,0);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.gallery-overlay svg {
  width: 40px; height: 40px;
  fill: white; opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(92,125,96,0.35); }
.gallery-item:hover .gallery-overlay svg { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: 4px;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.5rem;
  color: white; font-size: 2rem; cursor: pointer;
  background: none; border: none; line-height: 1; opacity: 0.8;
  transition: var(--transition);
}
.lightbox-close:hover { opacity: 1; transform: scale(1.1); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: white; font-size: 2rem; cursor: pointer;
  background: rgba(255,255,255,0.12); border: none; border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); opacity: 0.8;
}
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.25); opacity: 1;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.875rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../img/slide-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white); text-align: center;
  padding: 6rem 2rem;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem; color: var(--white);
}
.cta-section p { opacity: 0.9; margin-bottom: 2rem; font-size: 1.05rem; }
.btn-cta {
  display: inline-block;
  background: var(--white); color: var(--sage-dark);
  padding: 0.9rem 2.5rem; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  transition: var(--transition); margin-right: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-cta:hover {
  background: var(--cream); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.cta-phone { opacity: 0.9; font-size: 0.95rem; }
.cta-phone a { color: var(--white); font-weight: 700; }

/* ===== TREŚĆ USŁUGI ===== */
.page-content { max-width: 820px; margin: 0 auto; }
.page-content p { margin-bottom: 1.25rem; color: var(--text); line-height: 1.85; }
.page-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1.25rem; }
.page-content li { margin-bottom: 0.5rem; color: var(--text); }
.page-content strong { color: var(--dark); }
.page-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }

/* ===== KONTAKT ===== */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start;
}
.contact-info h3 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.contact-info p { color: var(--text-light); margin-bottom: 2rem; line-height: 1.8; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.25rem;
}
.contact-detail-icon {
  font-size: 1.3rem; margin-top: 2px;
  width: 32px; flex-shrink: 0; text-align: center;
}
.contact-detail a:hover { color: var(--sage); }
.contact-social { display: flex; gap: 0.75rem; margin-top: 2rem; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--border);
  transition: var(--transition); color: var(--text);
}
.social-link:hover { background: var(--sage); color: var(--white); border-color: var(--sage); }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }

/* ===== FORMULARZ ===== */
.contact-form {
  background: var(--white); padding: 2.5rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-weight: 600;
  font-size: 0.875rem; margin-bottom: 0.45rem; color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--cream); color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--sage); background: var(--white);
  box-shadow: 0 0 0 3px rgba(122,158,126,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.honeypot { display: none !important; visibility: hidden; }
.btn-submit {
  width: 100%; padding: 0.9rem; border: none; border-radius: 50px;
  background: var(--sage); color: var(--white);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); margin-top: 0.5rem;
  font-family: var(--font-body);
}
.btn-submit:hover {
  background: var(--sage-dark); transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.alert {
  padding: 1rem 1.5rem; border-radius: var(--radius);
  margin-bottom: 1.5rem; font-weight: 600; font-size: 0.95rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark); color: rgba(255,255,255,0.75);
  padding: 3.5rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: var(--font-heading); font-size: 1.3rem;
  color: var(--white); margin-bottom: 0.75rem; display: block;
}
.footer-logo span { color: var(--sage); }
.footer-desc { font-size: 0.875rem; line-height: 1.8; max-width: 300px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--sage); color: var(--white); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col h4 {
  color: var(--white); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem;
  font-family: var(--font-body);
}
.footer-col a {
  display: block; font-size: 0.875rem; padding: 0.3rem 0;
  transition: var(--transition); color: rgba(255,255,255,0.65);
}
.footer-col a:hover { color: var(--sage); }
.footer-col p { font-size: 0.875rem; line-height: 1.8; color: rgba(255,255,255,0.65); }
.footer-bottom {
  max-width: 1200px; margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}

/* ===== ANIMACJE ===== */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== DIVIDER ===== */
.divider { text-align: center; padding: 2rem 0; }
.divider::before {
  content: '✿  ✿  ✿';
  font-size: 0.85rem; color: var(--blush-dark); letter-spacing: 0.4em;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8rem; color: var(--text-light);
}
.breadcrumb a { color: var(--sage); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }

/* ===== PAGE HEADER (z tłem zdjęciowym) ===== */
.page-header {
  position: relative;
  min-height: 400px;
  max-height: 400px;
  height: 400px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #2a1f1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.page-header > .container { position: relative; z-index: 2; }
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0;
  color: #fff !important;
  line-height: 1.15;
}
.page-header p {
  color: rgba(255,255,255,.95);
  font-size: 1.1rem;
  margin-top: .75rem;
}
.page-header__sub {
  display: inline-block;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blush, #E8C4C4) !important;
  margin: 0 0 .8rem;
}
@media (max-width: 768px) {
  .page-header { min-height: 320px; max-height: 320px; height: 320px; }
}

/* ===== ADMIN STYLES ===== */
.admin-body {
  font-family: var(--font-body);
  background: #f0f2f5; min-height: 100vh;
  color: var(--text);
}
.admin-header {
  background: var(--dark); color: var(--white);
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-header .logo { color: var(--white); font-size: 1.2rem; }
.admin-header .logo span { color: var(--sage); }
.admin-nav a {
  color: rgba(255,255,255,0.75); padding: 0.4rem 0.9rem;
  border-radius: 6px; font-size: 0.875rem; font-weight: 600;
  transition: var(--transition);
}
.admin-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.admin-main { max-width: 1100px; margin: 2rem auto; padding: 0 2rem; }
.admin-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.admin-card h2 { font-size: 1.3rem; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.admin-page-card {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; transition: var(--transition);
}
.admin-page-card:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.admin-page-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.admin-page-card p { font-size: 0.8rem; color: var(--text-light); margin-bottom: 1rem; }
.btn-admin {
  display: inline-block; padding: 0.45rem 1rem;
  background: var(--sage); color: var(--white);
  border-radius: 8px; font-size: 0.8rem; font-weight: 700;
  transition: var(--transition); border: none; cursor: pointer;
  font-family: var(--font-body);
}
.btn-admin:hover { background: var(--sage-dark); }
.btn-admin-sm {
  padding: 0.3rem 0.8rem; font-size: 0.75rem;
  background: var(--cream); color: var(--sage-dark);
  border: 1px solid var(--border); border-radius: 6px;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font-body);
}
.btn-admin-sm:hover { background: var(--sage); color: var(--white); border-color: var(--sage); }
.btn-danger { background: #e74c3c; color: var(--white); }
.btn-danger:hover { background: #c0392b; }
.admin-form .form-group { margin-bottom: 1.25rem; }
.admin-form label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.4rem; }
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="url"],
.admin-form textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem;
  background: #fafafa; transition: var(--transition);
}
.admin-form input:focus,
.admin-form textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,126,0.1);
}
.admin-form textarea { min-height: 180px; resize: vertical; }
.gallery-manager { margin-top: 1rem; }
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem; margin-bottom: 1rem;
}
.gallery-thumb-item { position: relative; }
.gallery-thumb-item img {
  width: 100%; height: 80px; object-fit: cover;
  border-radius: 8px; border: 2px solid var(--border);
}
.gallery-thumb-item label {
  position: absolute; top: 4px; right: 4px;
  background: rgba(231,76,60,0.85); color: white;
  border-radius: 50%; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; cursor: pointer; font-weight: 700;
}
.gallery-thumb-item input { position: absolute; opacity: 0; }
.upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 2rem; text-align: center; color: var(--text-light);
  cursor: pointer; transition: var(--transition);
}
.upload-area:hover { border-color: var(--sage); color: var(--sage); }
.login-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; background: linear-gradient(135deg, #f4ede6, #e8ddd5);
  padding: 2rem;
}
.login-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 3rem 2.5rem; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.login-box h1 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.login-box p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }
.login-box .form-group { margin-bottom: 1.25rem; text-align: left; }
.login-box input {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--transition);
}
.login-box input:focus { outline: none; border-color: var(--sage); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .about-home { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-page { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .hero { min-height: 75vh; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .btn-cta { display: block; margin: 0 auto 1.25rem; max-width: 220px; }
  .cta-phone { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
  .admin-main { padding: 0 1rem; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  header { padding: 0 1rem; }
  .section { padding: 3rem 1rem; }
  .hero { padding: 90px 1rem 3rem; }
  .logo { font-size: 1.15rem; }
}

/* ===== PS Slider ===== */
.ps-slider{position:relative;width:100%;min-height:650px;overflow:hidden;background:#000}
.ps-slider .ps-slides{list-style:none;margin:0;padding:0;position:relative;width:100%;min-height:650px}
.ps-slider .ps-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-start;opacity:0;visibility:hidden;transition:opacity 1s ease}
.ps-slider .ps-slide.is-active{opacity:1;visibility:visible;z-index:1}
.ps-slider .ps-slide-img{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat;transform:scale(1.05);transition:transform 10s ease}
.ps-slider .ps-slide.is-active .ps-slide-img{transform:scale(1)}
.ps-slider .ps-slide-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.25) 60%,rgba(0,0,0,.15) 100%)}
.ps-slider .ps-slide-content{position:relative;z-index:2;max-width:680px;padding:0 6vw;color:#fff;opacity:0;transform:translateX(-30px);transition:opacity .9s ease .25s,transform .9s ease .25s}
.ps-slider .ps-slide.is-active .ps-slide-content{opacity:1;transform:translateX(0)}
.ps-slider .ps-sub{font-family:'Nunito',sans-serif;font-size:.95rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;margin:0 0 1rem;color:#fff;opacity:.92}
.ps-slider .ps-title{font-family:'Dancing Script',cursive;font-size:clamp(3rem,7vw,6rem);font-weight:700;line-height:1.15;margin:0 0 1.5rem;color:#fff}
.ps-slider .ps-excerpt{font-family:'Nunito',sans-serif;font-size:1.05rem;line-height:1.7;margin:0 0 2rem;color:#fff;opacity:.95;max-width:560px}
.ps-slider .ps-btn{display:inline-flex;align-items:center;gap:.6rem;padding:.95rem 1.8rem;background:#fff;color:#222;font-family:'Nunito',sans-serif;font-weight:600;font-size:.95rem;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;border-radius:50px;transition:transform .3s ease,box-shadow .3s ease,background .3s ease}
.ps-slider .ps-btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,0,0,.25);background:var(--blush,#E8C4C4)}
.ps-slider .ps-btn svg{display:block}
.ps-slider .ps-nav{position:absolute;bottom:1.5rem;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.9);color:#222;border:none;border-radius:50%;cursor:pointer;z-index:3;transition:background .3s ease,transform .3s ease}
.ps-slider .ps-nav:hover{background:#fff;transform:scale(1.05)}
.ps-slider .ps-prev{right:5.5rem}
.ps-slider .ps-next{right:1.5rem}
@media (max-width:768px){
  .ps-slider,.ps-slider .ps-slides{min-height:520px}
  .ps-slider .ps-slide-content{padding:0 1.5rem;max-width:100%}
  .ps-slider .ps-excerpt{font-size:.95rem}
  .ps-slider .ps-nav{width:42px;height:42px}
  .ps-slider .ps-prev{right:4.5rem}
}

/* ===== Top Bar ===== */
.topbar{background:#2a1f1a;color:#fff;font-family:'Nunito',sans-serif;font-size:.85rem}
.topbar-inner{max-width:1280px;margin:0 auto;padding:.55rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.topbar ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
.topbar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem;opacity:.92;transition:opacity .2s ease,color .2s ease}
.topbar a:hover{opacity:1;color:var(--blush,#E8C4C4)}
.topbar svg{width:14px;height:14px;flex:none}
.topbar-social a svg{width:16px;height:16px}
@media (max-width:768px){
  .topbar-inner{flex-direction:column;gap:.4rem;padding:.5rem 1rem;text-align:center}
  .topbar ul{justify-content:center;gap:1rem}
  .topbar-contact li:nth-child(2) span{display:none}
}

/* ===== Logo (image) ===== */
header .header-inner .logo{display:inline-flex;align-items:center;padding:0;margin-right:auto}
header .header-inner .logo img{display:block;height:64px;width:auto;max-width:200px}
@media (max-width:768px){
  header .header-inner .logo img{height:48px}
}

/* ===== Dancing Script accents ===== */
.ps-slider .ps-sub,
.hero .hero-sub,
.section-subtitle,
.footer-logo span,
.about-home-text h2 br + *,
.cta-section h2 em{
  font-family:'Dancing Script',cursive;
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
}
.ps-slider .ps-sub{font-size:1.7rem;opacity:1;color:var(--blush,#E8C4C4)}
.hero .hero-sub{font-size:1.8rem}
.section-subtitle{font-size:1.5rem;color:var(--rose,#C97B7B,#a8746f)}

/* ===== Header override (white, 138px, sticky below topbar) ===== */
.topbar{position:relative;z-index:1001}
header{
  position:sticky !important;
  top:0;
  background:#fff !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  border-bottom:1px solid #f0e9e2;
  padding:0 2rem;
  z-index:1000;
}
header .header-inner{
  max-width:1280px;
  margin:0 auto;
  height:138px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
}
header .header-inner .logo img{height:96px;max-width:260px}
header nav{flex:1;justify-content:center;gap:.25rem}
header .nav-link{font-size:.95rem;padding:.6rem .9rem}

/* Call button */
.header-call-btn{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.85rem 1.6rem;
  background:var(--sage,#7a9e7e);
  color:#fff;
  font-family:'Nunito',sans-serif;
  font-size:.95rem;font-weight:700;
  text-transform:lowercase;letter-spacing:.04em;
  text-decoration:none;
  border-radius:50px;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
  white-space:nowrap;
  flex:none;
}
.header-call-btn:hover{background:#5f8163;transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.15)}
.header-call-btn__icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px}
.header-call-btn__icon svg{width:16px;height:16px}

@media (max-width:1024px){
  header .header-inner{height:96px}
  header .header-inner .logo img{height:72px}
}
@media (max-width:768px){
  header{padding:0 1rem}
  header .header-inner{height:80px;gap:.5rem}
  header .header-inner .logo img{height:56px}
  .header-call-btn{padding:.65rem 1rem;font-size:.85rem}
  .header-call-btn__text{display:none}
}

/* ===== Dancing Script — nagłówki h1-h6 (zgodnie z referencją OceanWP) ===== */
h1, h2, h3, h4, h5, h6,
.theme-heading,
.widget-title,
.entry-title{
  font-family:'Dancing Script', cursive !important;
  line-height:1.4;
  font-weight:700;
}
.ps-slider .ps-title{font-family:'Dancing Script', cursive !important;font-weight:700;line-height:1.15}
/* Wyjątki - przyciski i elementy UI mają zostać w Nunito */
.header-call-btn, .ps-btn, .btn-cta, .btn-submit, .nav-link{
  font-family:'Nunito', sans-serif !important;
}

/* ===== Mapa Google ===== */
.map-section{width:100%;line-height:0}
.map-section iframe{width:100%;height:450px;border:0}
@media (max-width:768px){
  .map-section iframe{height:360px}
}

/* ===== Service cards z prawdziwymi zdjęciami (CTA style) ===== */
.services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2.5rem}
.service-card{position:relative;display:block;overflow:hidden;border-radius:8px;min-height:340px;color:#fff;text-decoration:none;transition:transform .4s ease,box-shadow .4s ease}
.service-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(0,0,0,.2)}
.service-card__bg{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .8s ease}
.service-card:hover .service-card__bg{transform:scale(1.06)}
.service-card__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,.55) 60%,rgba(0,0,0,.78) 100%)}
.service-card__content{position:relative;z-index:2;height:100%;min-height:340px;padding:2rem;display:flex;flex-direction:column;justify-content:flex-end}
.service-card__content h3{color:#fff !important;font-family:'Dancing Script',cursive !important;font-size:2.2rem;line-height:1.15;margin:0 0 .75rem}
.service-card__content p{color:#fff;font-family:'Nunito',sans-serif;font-size:.95rem;line-height:1.6;margin:0 0 1rem;opacity:.95}
.service-card__cta{display:inline-flex;align-items:center;font-family:'Nunito',sans-serif;font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff;border-bottom:2px solid var(--blush,#E8C4C4);padding-bottom:.2rem;align-self:flex-start}
.service-card .service-icon{display:none}
@media (max-width:768px){
  .services-grid{grid-template-columns:1fr;gap:1rem}
  .service-card,.service-card__content{min-height:280px}
  .service-card__content h3{font-size:1.9rem}
}

/* ===== Slider — content max 60% szerokości, wycentrowany w pionie i poziomie ===== */
.ps-slider .ps-slide{align-items:center;justify-content:center}
.ps-slider .ps-slide-content{
  max-width:60%;
  width:60%;
  margin:0 auto;
  padding:0;
  text-align:left;
  align-self:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
@media (max-width:1024px){
  .ps-slider .ps-slide-content{max-width:80%;width:80%}
}
@media (max-width:768px){
  .ps-slider .ps-slide-content{max-width:90%;width:90%;padding:0 1rem}
}

/* ===== Footer logo box ===== */
.footer-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  padding:1rem 1.5rem;
  border-radius:16px;
  margin-bottom:1.25rem;
  box-shadow:0 4px 18px rgba(0,0,0,.15);
}
.footer-logo img{display:block;height:80px;width:auto;max-width:220px}
@media (max-width:768px){
  .footer-logo img{height:64px}
}

/* ===== Cookie banner & modal ===== */
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:9999;background:#fff;color:#222;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.3);padding:1.4rem 1.6rem;max-width:1100px;margin:0 auto;border:1px solid #ece6df}
.cookie-banner__inner{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
.cookie-banner__text{flex:1 1 360px;min-width:280px}
.cookie-banner__text h3{font-family:'Dancing Script',cursive !important;font-size:1.6rem;margin:0 0 .35rem;color:#222}
.cookie-banner__text p{font-family:'Nunito',sans-serif;font-size:.9rem;line-height:1.55;margin:0;color:#555}
.cookie-banner__text a{color:var(--sage,#7a9e7e);text-decoration:underline}
.cookie-banner__actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}

.cookie-btn{display:inline-flex;align-items:center;justify-content:center;padding:.7rem 1.2rem;font-family:'Nunito',sans-serif !important;font-size:.85rem;font-weight:700;border-radius:50px;border:1px solid transparent;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease;white-space:nowrap}
.cookie-btn--primary{background:var(--sage,#7a9e7e);color:#fff}
.cookie-btn--primary:hover{background:#5f8163;transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.15)}
.cookie-btn--ghost{background:transparent;color:#444;border-color:#cfc8bf}
.cookie-btn--ghost:hover{background:#f6f1ea}

.cookie-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:1rem}
.cookie-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.cookie-modal__dialog{position:relative;background:#fff;border-radius:14px;max-width:560px;width:100%;max-height:90vh;overflow-y:auto;padding:2rem;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.cookie-modal__close{position:absolute;top:.6rem;right:1rem;background:none;border:0;font-size:1.8rem;line-height:1;cursor:pointer;color:#666}
.cookie-modal__dialog h3{font-family:'Dancing Script',cursive !important;font-size:2rem;margin:0 0 .5rem;color:#222}
.cookie-modal__dialog > p{font-family:'Nunito',sans-serif;font-size:.92rem;color:#555;margin:0 0 1.2rem;line-height:1.6}
.cookie-cat{padding:1rem 0;border-top:1px solid #ece6df}
.cookie-cat:last-of-type{border-bottom:1px solid #ece6df;margin-bottom:1.2rem}
.cookie-cat__head{display:flex;align-items:center;gap:.6rem;font-family:'Nunito',sans-serif;font-size:.95rem;color:#222;cursor:pointer}
.cookie-cat__head input[type=checkbox]{width:18px;height:18px;cursor:pointer}
.cookie-cat__head input[disabled]{cursor:not-allowed;opacity:.7}
.cookie-cat__badge{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;background:#f1ebe2;color:#7a6a55;padding:.15rem .5rem;border-radius:20px;margin-left:auto;font-weight:700}
.cookie-cat p{font-family:'Nunito',sans-serif;font-size:.85rem;color:#666;margin:.4rem 0 0;padding-left:1.6rem;line-height:1.55}
.cookie-modal__actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}

@media (max-width:640px){
  .cookie-banner{left:.5rem;right:.5rem;bottom:.5rem;padding:1.1rem}
  .cookie-banner__actions{width:100%}
  .cookie-btn{flex:1 1 auto}
}

/* ===== Legal pages ===== */
.legal-content{max-width:820px;margin:0 auto;font-family:'Nunito',sans-serif}
.legal-content h2{font-family:'Dancing Script',cursive !important;font-size:1.8rem;margin:2rem 0 .8rem;color:var(--sage-dark,#5f8163)}
.legal-content h3{font-family:'Dancing Script',cursive !important;font-size:1.4rem;margin:1.4rem 0 .6rem;color:#444}
.legal-content p, .legal-content li{font-size:.95rem;line-height:1.7;color:#444}
.legal-content ul{padding-left:1.4rem;margin:.8rem 0}
.legal-content code{background:#f4efe7;padding:.1rem .4rem;border-radius:4px;font-size:.85em}

/* Footer legal links */
.footer-legal{display:inline-flex;gap:1rem;flex-wrap:wrap;font-size:.78rem;margin:0 1rem}
.footer-legal a{color:rgba(255,255,255,.6);text-decoration:none;transition:color .2s ease}
.footer-legal a:hover{color:#fff;text-decoration:underline}

/* Slider button — ograniczona szerokość */
.ps-slider .ps-btn{
  width:auto;
  max-width:max-content;
  align-self:flex-start;
  padding:.85rem 1.6rem;
}
.ps-slider .ps-btn span,
.ps-slider .ps-btn{white-space:nowrap}

/* CRITICAL FIX: HTML hidden attribute must beat CSS display rules */
[hidden]{display:none !important}

/* Footer Usługi w 2 równych kolumnach */
.footer-services{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.4rem 1.5rem;
}
.footer-services a{display:block}
@media (max-width:640px){
  .footer-services{grid-template-columns:1fr}
}

/* ===== Parallax page-header ===== */
.page-header{
  background-attachment: fixed;
}
.page-header.is-parallax-js{background-attachment:scroll}
.page-header.is-parallax-js > .page-header__bg{
  position:absolute;inset:-10% 0;
  background-size:cover;background-position:center;
  will-change:transform;
  z-index:0;
}
.page-header.is-parallax-js > .container{position:relative;z-index:2}
@media (max-width:1024px){
  /* mobile: bez fixed (problem performance) */
  .page-header{background-attachment:scroll}
}

/* btn-primary outline variant - identical box height as solid */
.btn-primary--outline{
  background:transparent;
  color:var(--sage);
  /* border 2px → odjąć 2px od padding aby wysokość się zgadzała z .btn-primary */
  padding:calc(0.8rem - 2px) calc(2rem - 2px);
  border:2px solid var(--sage);
}
.btn-primary--outline:hover{
  background:var(--sage);
  color:#fff;
}

/* Footer 4 columns refinement */
.footer-inner > div:first-child{max-width:none}
.footer-desc{max-width:none}
.footer-col h4:empty,
.footer-col h4:has(> br),
.footer-col h4 + a{}
/* Hide visual h4 placeholder but keep alignment */
.footer-col h4[data-empty="1"]{visibility:hidden}

/* Form privacy consent */
.form-consent{margin:1rem 0 1.25rem}
.form-consent__label{display:flex;align-items:flex-start;gap:.6rem;cursor:pointer;font-size:.85rem;line-height:1.5;color:var(--text,#444);font-weight:400}
.form-consent__label input[type=checkbox]{margin-top:.2rem;width:18px;height:18px;flex:none;cursor:pointer;accent-color:var(--sage,#7a9e7e)}
.form-consent a{color:var(--sage,#7a9e7e);text-decoration:underline}
.form-consent a:hover{text-decoration:none}

/* === 🟡 Audit fixes === */

/* 5. Service cards — równa wysokość treści, line-clamp dla opisów */
.service-card{display:flex}
.service-card__content p{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:4.6em;
}
.service-card__content h3{min-height:2.3em}

/* 7. Footer — pierwsza kolumna: dopasuj szerokości w 4-col gridzie */
.footer-inner > div:first-child .footer-desc{max-width:none;font-size:.82rem;line-height:1.7}
.footer-logo{padding:.85rem 1.2rem}
.footer-logo img{height:64px}

/* 8. Pusty H4 placeholder w 2. kolumnie usług */
.footer-col h4[data-empty="1"]{
  visibility:hidden;
  user-select:none;
  pointer-events:none;
}
@media (max-width:1024px){
  .footer-col h4[data-empty="1"]{display:none}
}

/* 14. #oferta scroll-margin (sticky header 138px) */
#oferta, [id]{scroll-margin-top:160px}

/* 15. Optymalizacja wagi: oryginalne obrazy zmniejszone do max 1600px @ q82 */

/* === Pozostałe poprawki audytu === */

/* 11. service-card hover — will-change */
.service-card{will-change:transform}
.service-card__bg{will-change:transform}

/* 13. page-header mobile niższa wysokość */
@media (max-width:768px){
  .page-header{min-height:260px;max-height:260px;height:260px}
}

/* 19. Mobile nav — legal links */
.mobile-nav__legal{
  margin-top:1.5rem;
  padding-top:1.5rem;
  border-top:1px solid rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  gap:.5rem;
}
.mobile-nav__legal a{font-size:.85rem;color:var(--text-light,#888) !important}

/* === Sekcja opinii === */
.reviews-section{background:#faf7f2}
.reviews-rating{display:inline-flex;align-items:center;gap:.5rem;font-size:1.1rem}
.reviews-stars{color:#f5b800;font-size:1.4rem;letter-spacing:.05em}
.reviews-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;
  margin:2rem 0;
}
.review-card{
  background:#fff;
  padding:1.8rem;
  border-radius:14px;
  box-shadow:0 4px 18px rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  gap:1rem;
  border:1px solid #f0e9e2;
}
.review-card__stars{color:#f5b800;font-size:1.1rem;letter-spacing:.05em}
.review-card__text{
  font-family:'Nunito',sans-serif;
  font-size:.95rem;
  line-height:1.65;
  color:#444;
  margin:0;
  flex:1;
  font-style:italic;
}
.review-card__author{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  font-family:'Nunito',sans-serif;
  font-size:.85rem;
  color:#666;
}
.review-card__author strong{color:#222;font-weight:700;font-size:.9rem}
.reviews-cta{text-align:center;margin-top:1.5rem}

/* === Sticky CTA mobile (telefon) === */
.mobile-cta-bar{
  display:none;
  position:fixed;
  bottom:0;left:0;right:0;
  z-index:998;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  padding:1rem 1.2rem;
  background:var(--sage,#7a9e7e);
  color:#fff !important;
  font-family:'Nunito',sans-serif !important;
  font-weight:700;
  font-size:1rem;
  text-decoration:none;
  box-shadow:0 -4px 18px rgba(0,0,0,.15);
}
.mobile-cta-bar__icon svg{width:18px;height:18px;display:block}
@media (max-width:768px){
  .mobile-cta-bar{display:flex}
  body{padding-bottom:60px} /* żeby treść nie wpadała pod CTA */
  .cookie-banner{bottom:70px} /* nad sticky CTA */
}

/* === Reviews slider — 4 kolumny, przewijany === */
.reviews-section .reviews-slider{
  position:relative;
  max-width:1280px;
  margin:2rem auto 0;
  padding:0 4.5rem;
}
.reviews-slider__viewport{
  overflow:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
}
.reviews-slider__track{
  display:flex;
  gap:1.25rem;
  padding:.5rem 0;
}
.reviews-slider .review-card{
  flex:0 0 calc((100% - 3 * 1.25rem) / 4);
  scroll-snap-align:start;
  min-height:280px;
}
.reviews-slider__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;height:46px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;
  color:#444;
  border:1px solid #ece6df;
  border-radius:50%;
  cursor:pointer;
  z-index:3;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  transition:transform .25s ease,background .25s ease,color .25s ease;
}
.reviews-slider__nav:hover{
  background:var(--sage,#7a9e7e);
  color:#fff;
  transform:translateY(-50%) scale(1.05);
}
.reviews-slider__prev{left:.5rem}
.reviews-slider__next{right:.5rem}

@media (max-width:1024px){
  .reviews-slider .review-card{flex:0 0 calc((100% - 2 * 1.25rem) / 3)}
  .reviews-section .reviews-slider{padding:0 3.5rem}
}
@media (max-width:768px){
  .reviews-slider .review-card{flex:0 0 calc((100% - 1 * 1.25rem) / 2)}
  .reviews-section .reviews-slider{padding:0 1rem}
  .reviews-slider__nav{width:38px;height:38px}
  .reviews-slider__prev{left:.25rem}
  .reviews-slider__next{right:.25rem}
}
@media (max-width:560px){
  .reviews-slider .review-card{flex:0 0 85%}
}
