/* COOKIE BANNER STYLE */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  z-index: 9999;
}

.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-link {
  font-size: 0.85rem;
  color: var(--blue);
  text-decoration: underline;
}

.btn-cookie {
  background: var(--blue-dark);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.btn-cookie:hover {
  background: var(--blue-deeper);
}

@media (max-width: 768px) {
  .cookie-container { flex-direction: column; text-align: center; }
}
/* ========================================
   CLEAN HOUSE - WHITE-BLUE PREMIUM 2026
   Sterylna czystość, nowoczesność, zaufanie
   ======================================== */

/* PALETA KOLORÓW */
:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-deeper: #1E40AF;
  --blue-light: #3B82F6;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --ice: #F0F8FF;
  --white: #FFFFFF;
  --footer-bg: #0F172A;
  --footer-mid: #1E293B;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --text-dark: #0F172A;
  --text-body: #475569;
  --text-light: #64748B;

  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 20px rgba(15,23,42,0.08);
  --shadow-lg: 0 8px 40px rgba(15,23,42,0.10);
  --shadow-xl: 0 20px 60px rgba(15,23,42,0.12);
  --shadow-blue: 0 4px 30px rgba(37,99,235,0.25);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.30);

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ========== KONTENER ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== TYPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--blue-dark);
}

/* ========== GLASSMORPHISM HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  padding: 16px 0;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
  text-decoration: none;
  cursor: pointer;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

/* ========== NAWIGACJA ========== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--gray-600);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  background: transparent;
  transition: var(--transition);
  display: inline-block;
  letter-spacing: 0.1px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--blue-50);
  color: var(--blue);
}

.nav-active {
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.nav-active:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* ========== HEADER RIGHT ========== */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

/* ========== PRZYCISKI ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.1px;
  line-height: 1.4;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-cta {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
  font-weight: 700;
}

.btn-cta:hover {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--blue-50);
  color: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--gray-200);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  background: var(--blue-50);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border: none;
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  color: var(--blue-dark);
}

.btn-nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-nav-cta:hover {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.big-btn {
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,58,138,0.82) 50%, rgba(37,99,235,0.3) 100%),
              url('https://images.unsplash.com/photo-1497215728101-856f4ea42174') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 80px 20px 100px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.8);
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-buttons .btn-cta {
  font-size: 1.05rem;
  padding: 16px 36px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}

/* ========== SVG WAVE DIVIDERS ========== */
.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== SEKCJE ========== */
.section-padding {
  padding: 80px 0;
}

.bg-white {
  background: var(--white);
}

.bg-ice {
  background: var(--ice);
}

.bg-light {
  background: var(--ice);
}

/* Modern background with blob pseudo-elements */
.modern-bg-section {
  position: relative;
  overflow: hidden;
}

.modern-bg-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.modern-bg-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.modern-bg-section > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 16px auto 0;
  border-radius: var(--radius-full);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  margin: 8px auto 48px;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ========== INFO BOX ========== */
.info-box {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
}

.info-box p {
  color: var(--text-body);
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.info-box h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

/* ========== FEATURES / GLASSMORPHISM CARDS ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.feature-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 36px 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(37,99,235,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.15);
  background: rgba(255,255,255,0.9);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.04));
  border-radius: var(--radius-lg);
  margin: 0 auto 20px;
  color: var(--blue);
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== USŁUGI ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.service-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.15);
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-item h3 {
  margin: 20px 24px 10px;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 700;
}

.service-item p {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========== INFO / GODZINY / OBSZAR ========== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.hours-box {
  background: linear-gradient(150deg, var(--white) 0%, var(--ice) 100%);
}

.hours-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.hours-highlight:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.08);
}

.hours-highlight span {
  color: var(--gray-500);
  font-size: 0.93rem;
}

.hours-highlight strong {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 700;
}

.small-text {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-top: 14px;
  line-height: 1.6;
}

/* ===== AREA ACCORDION ===== */
.area-accordion {
  margin-top: 14px;
}

.area-accordion details {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 8px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.area-accordion details:hover {
  border-color: var(--gray-300);
}

.area-accordion summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text-dark);
  list-style: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.area-accordion summary::after {
  content: '+';
  float: right;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
}

.area-accordion details[open] summary::after {
  content: '\2212';
}

.area-accordion details[open] summary {
  color: var(--blue-dark);
}

.area-accordion details p {
  border-top: 1px solid var(--gray-200);
  margin: 0;
  padding: 12px 16px;
  color: var(--text-body);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ========== OPINIE ========== */
.reviews-embed {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reviews-embed iframe {
  width: 100%;
  max-width: 820px;
  height: 720px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.reviews-cta {
  text-align: center;
  margin-top: 28px;
}

/* ========== CTA SECTION ========== */
.cta-clean {
  background: linear-gradient(135deg, var(--ice) 0%, var(--blue-50) 100%);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-clean::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-clean::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-clean h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-clean p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 12px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-clean .response-time {
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.cta-clean .footer-buttons {
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* ========== FORMULARZ ========== */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-400);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  margin-top: 8px;
  align-self: flex-start;
}

/* ========== FOOTER 4-KOLUMNOWY ========== */
.footer {
  background: var(--footer-bg);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.85);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.footer-col p {
  color: rgba(255,255,255,0.65);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-col .footer-brand img {
  height: 36px;
  width: auto;
}

.footer-col .footer-brand span {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.93rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-col .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 0.93rem;
}

.footer-col .footer-contact-item a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-col .footer-contact-item a:hover {
  color: var(--white);
}

.footer-col .footer-contact-item .fc-icon {
  font-size: 1.1em;
  flex-shrink: 0;
}

/* Sub-footer */
.sub-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.sub-footer-left {
  color: var(--gray-400);
  font-size: 0.85rem;
}

.sub-footer-left a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--transition-fast);
}

.sub-footer-left a:hover {
  color: var(--white);
}

.sub-footer-right {
  display: flex;
  gap: 24px;
}

.sub-footer-right a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.sub-footer-right a:hover {
  color: var(--white);
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.15);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

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

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.active { display: flex; }

.lightbox-image {
  max-width: 92%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.content-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 8px;
  line-height: 1.7;
}

/* ========== LEGAL PAGES ========== */
.legal-section {
  padding: 80px 0;
  background: var(--white);
}

.legal-section .container {
  max-width: 800px;
}

.legal-section h2 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-section h2:first-of-type {
  margin-top: 0;
}

.legal-section p,
.legal-section li {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.feature-card:nth-child(1) { transition-delay: 0s; }
.fade-up.feature-card:nth-child(2) { transition-delay: 0.08s; }
.fade-up.feature-card:nth-child(3) { transition-delay: 0.16s; }
.fade-up.feature-card:nth-child(4) { transition-delay: 0.24s; }
.fade-up.feature-card:nth-child(5) { transition-delay: 0.32s; }
.fade-up.feature-card:nth-child(6) { transition-delay: 0.4s; }

.fade-up.service-item:nth-child(1) { transition-delay: 0s; }
.fade-up.service-item:nth-child(2) { transition-delay: 0.08s; }
.fade-up.service-item:nth-child(3) { transition-delay: 0.16s; }
.fade-up.service-item:nth-child(4) { transition-delay: 0.24s; }

/* ========== RESPONSYWNOŚĆ ========== */
@media (max-width: 1024px) {
  .header-container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-buttons .btn {
    width: 100%;
    max-width: 360px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .container { width: 94%; }

  .hero h1, .hero-title { font-size: 2.2rem; }
  .tagline { font-size: 1.1rem; }
  .section-title { font-size: 1.7rem; }
  .section-header h2 { font-size: 1.7rem; }

  .nav-link, .nav-active {
    font-size: 0.88rem;
    padding: 8px 14px;
  }

  .logo span { font-size: 1.35rem; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid { grid-template-columns: 1fr; }

  .feature-card { padding: 28px 22px; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 340px; }

  .info-box { padding: 28px 22px; }

  .hours-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-item img { height: 200px; }

  .btn-nav-cta { display: none; }

  .section-padding { padding: 60px 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sub-footer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .sub-footer-right {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .header { padding: 12px 0; }

  .header-container {
    gap: 8px;
    justify-content: center;
  }

  .main-nav { gap: 4px; flex-wrap: wrap; }

  .nav-link, .nav-active {
    font-size: 0.82rem;
    padding: 7px 12px;
  }

  .logo img { height: 36px; }
  .logo span { font-size: 1.15rem; }

  .hero h1, .hero-title { font-size: 1.7rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-content { padding: 50px 16px 80px; }

  .section-title { font-size: 1.4rem; margin-bottom: 12px; }
  .section-subtitle { margin-bottom: 32px; }

  .feature-card, .info-box { padding: 24px 18px; }

  .contact-form { gap: 14px; }
  .contact-form input, .contact-form textarea { padding: 14px 16px; font-size: 0.95rem; }

  .big-btn { padding: 14px 28px; font-size: 0.95rem; width: 100%; }

  .cta-clean { padding: 60px 16px; }
  .cta-clean h2 { font-size: 1.5rem; }

  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item img { height: 180px; }
}

@media (max-width: 400px) {
  .logo span { font-size: 1rem; }

  .nav-link, .nav-active { padding: 6px 10px; font-size: 0.78rem; }

  .hero h1, .hero-title { font-size: 1.4rem; }
  .hero-content { padding: 40px 12px 70px; }
}

/* ========== PREMIUM UX TWEAKS ========== */

/* Plynne rozwijanie akordeonu */
.area-accordion details[open] p {
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Lepsze kontrasty dla naglowkow sekcji */
.section-title {
  color: #0F172A;
}

/* Podbicie efektu hover dla uslug */
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), 0 0 20px rgba(37,99,235,0.1);
  border-color: var(--blue-light);
}

/* Zlagodzone szklo dla kafelkow standardow */
.feature-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
}
