/* Osuszanie-Południe - static styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --primary: #12495c;
  --primary-dark: #0f4c5c;
  --accent: #e85d2a;
  --accent-hover: #d14f1f;
  --success: #2e9e5b;
  --surface: #f5f7f8;
  --text: #1a2327;
  --text-muted: #5a6b73;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --radius: 1rem;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

.container { width: min(100% - 2rem, 80rem); margin-inline: auto; }
.section { padding: 4rem 0; }
.section--surface { background: var(--surface); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: .75rem; font-size: .875rem;
  font-weight: 600; border: none; cursor: pointer; transition: .2s;
  font-family: inherit;
}
.btn--primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 14px rgba(232,93,42,.3);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--white {
  background: rgba(255,255,255,.15); color: var(--white);
  border: 2px solid rgba(255,255,255,.3); backdrop-filter: blur(4px);
}
.btn--white:hover { background: rgba(255,255,255,.25); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: .3s;
}
.header--solid, .header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .625rem; font-weight: 700; font-size: 1.05rem; line-height: 1; }
.logo__img {
  width: 2.75rem; height: 2.75rem; flex-shrink: 0; object-fit: contain; display: block;
}
.logo__text { line-height: 1.1; }
.logo--footer { color: white; margin-bottom: 1rem; }
.logo--footer .logo__text { color: white; }
.nav { display: none; gap: .25rem; }
.nav a {
  padding: .5rem .75rem; border-radius: .5rem; font-size: .875rem; font-weight: 500;
  transition: .2s;
}
.nav a:hover { color: var(--accent); }
.nav a.active { background: rgba(18,73,92,.1); color: var(--primary); }
.header__actions { display: none; align-items: center; gap: 1rem; }
.header__phone { font-size: .875rem; font-weight: 600; color: var(--primary); }
.header--hero .logo, .header--hero .nav a:not(.active) { color: var(--white); }
.header--hero .nav a.active { background: rgba(255,255,255,.15); color: var(--white); }
.header--hero .header__phone { color: var(--white); }
.header--hero.scrolled .logo, .header--hero.scrolled .nav a { color: var(--text); }
.header--hero.scrolled .nav a.active { color: var(--primary); background: rgba(18,73,92,.1); }
.header--hero.scrolled .header__phone { color: var(--primary); }

.menu-toggle {
  display: flex; padding: .5rem; background: none; border: none; cursor: pointer;
  color: inherit;
}
.mobile-nav {
  display: none; background: var(--white); border-top: 1px solid #eee;
  padding: 1rem; box-shadow: var(--shadow);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: .625rem .75rem; border-radius: .5rem;
  font-size: .875rem; font-weight: 500;
}
.mobile-nav a.active { background: rgba(18,73,92,.1); color: var(--primary); }

@media (min-width: 1100px) {
  .nav, .header__actions { display: flex; }
  .menu-toggle { display: none; }
}

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; color: var(--white);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  object-fit: cover; object-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,76,92,.92), rgba(18,73,92,.78));
}
.hero__content {
  position: relative; z-index: 1; padding: 7rem 0 5rem;
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 992px) { .hero__content { grid-template-columns: 1fr 22rem; } }

.badge {
  display: inline-block; padding: .375rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.12); font-size: .875rem; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.hero h1 span { color: var(--accent); display: block; margin-top: .25rem; }
.hero__lead { font-size: 1.125rem; opacity: .9; max-width: 36rem; margin-bottom: 1.5rem; }
.trust-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.trust-tags span {
  display: flex; align-items: center; gap: .375rem; padding: .375rem .75rem;
  border-radius: 999px; background: rgba(255,255,255,.1); font-size: .8125rem;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Page hero (subpages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); padding: 7rem 0 4rem;
}
.page-hero__breadcrumb { font-size: .875rem; opacity: .6; margin-bottom: .75rem; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
.page-hero p { margin-top: 1rem; max-width: 40rem; opacity: .85; font-size: 1.125rem; }

/* Section heading */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.section-head p { color: var(--text-muted); max-width: 40rem; margin-inline: auto; font-size: 1.0625rem; }

/* Cards grid */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid #f0f0f0; box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 3rem; height: 3rem; border-radius: .75rem;
  background: rgba(18,73,92,.1); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card__icon svg { width: 1.35rem; height: 1.35rem; stroke: var(--primary); }

.icon { width: 1.125rem; height: 1.125rem; stroke: currentColor; flex-shrink: 0; }
.icon--xs { width: .875rem; height: .875rem; }
.icon--inline { display: inline-block; vertical-align: -0.2em; margin-right: .25rem; }
.icon--btn { width: 1rem; height: 1rem; margin-right: .125rem; }
.icon--success { width: 3rem; height: 3rem; stroke: var(--success); margin: 0 auto; }

.trust-tags span { display: inline-flex; align-items: center; gap: .375rem; }
.header__phone, .bottom-bar a { display: inline-flex; align-items: center; gap: .375rem; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: .75rem; }
.contact-list .icon { margin-top: .125rem; color: var(--primary); }

.insurance-card { display: flex; align-items: center; gap: .75rem; }
.insurance-card svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; opacity: .9; }
.card h3 { font-size: 1rem; margin-bottom: .5rem; }
.card p { font-size: .875rem; color: var(--text-muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.stat__label { font-size: .875rem; color: var(--text-muted); margin-top: .5rem; }

/* Forms */
.form-box {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.form-box h3 { margin-bottom: .25rem; }
.form-box > p { font-size: .875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .375rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid #e5e7eb;
  border-radius: .75rem; font: inherit; font-size: .875rem;
  transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18,73,92,.15);
}
.field input.error, .field select.error, .field textarea.error { border-color: #ef4444; }
.field-error { color: #ef4444; font-size: .8125rem; margin-top: .25rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.checkbox { display: flex; gap: .75rem; font-size: .875rem; color: var(--text-muted); align-items: flex-start; }
.checkbox input { margin-top: .25rem; width: auto; }
.form-success {
  text-align: center; padding: 2.5rem; background: rgba(46,158,91,.1);
  border-radius: var(--radius);
}
.form-success h3 { margin: 1rem 0 .5rem; }

/* Product card */
.product { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.product__img { aspect-ratio: 4/3; background: #f3f4f6; position: relative; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; }
.product__badge {
  position: absolute; top: .75rem; left: .75rem; background: var(--primary);
  color: var(--white); font-size: .6875rem; font-weight: 600; padding: .25rem .75rem;
  border-radius: 999px;
}
.product__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product__coverage {
  display: inline-block; font-size: .6875rem; font-weight: 600; color: var(--primary);
  background: rgba(18,73,92,.1); padding: .125rem .625rem; border-radius: 999px; margin-top: .25rem;
}
.product__price { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.product__price small { font-size: .875rem; font-weight: 400; color: var(--text-muted); }
.product__footer { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem; border-top: 1px solid #f0f0f0; margin-top: auto; padding-top: 1rem; }

/* Process steps */
.steps { display: grid; gap: 1rem; }
@media (min-width: 992px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step-num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent);
  color: var(--white); display: grid; place-items: center; font-weight: 700;
  font-size: .875rem; margin-bottom: 1rem;
}

/* FAQ */
.faq-item { background: var(--white); border-radius: var(--radius); border: 1px solid #f0f0f0; overflow: hidden; margin-bottom: .75rem; }
.faq-q {
  width: 100%; text-align: left; padding: 1.25rem; background: none; border: none;
  font: inherit; font-weight: 600; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-a { padding: 0 1.25rem 1.25rem; font-size: .875rem; color: var(--text-muted); display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .faq-chevron { transform: rotate(180deg); }
.faq-chevron { display: inline-flex; transition: transform .2s; }

/* CTA banner */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 1.5rem; padding: 2rem; color: var(--white);
}
.cta__inner { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 992px) { .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta h2 { font-size: 1.75rem; }
.cta p { opacity: .85; margin-top: .5rem; max-width: 32rem; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Insurance block */
.insurance {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 1.5rem; padding: 2rem; color: var(--white);
}
@media (min-width: 992px) { .insurance { padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; } }

/* Gallery */
.gallery-item {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  cursor: pointer; border: none; padding: 0; background: none; width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery-item:hover img { transform: scale(1.05); }

.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.9); align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 85vh; max-width: 90vw; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.15);
  border: none; color: var(--white); width: 2.5rem; height: 2.5rem; border-radius: 50%;
  cursor: pointer; font-size: 1.25rem;
}

/* Testimonials */
.testimonial { padding: 2rem; }
.stars { color: var(--accent); margin-bottom: .75rem; letter-spacing: .125rem; }
.testimonial blockquote { font-size: 1.0625rem; line-height: 1.7; }

/* Footer */
.footer { background: var(--primary-dark); color: var(--white); padding: 3rem 0 1.5rem; }
.footer__grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { margin-bottom: 1rem; font-size: 1rem; }
.footer a, .footer li { font-size: .875rem; color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; }
.footer li { margin-bottom: .375rem; }
.footer__cities { display: flex; flex-wrap: wrap; gap: .375rem .75rem; }
.footer__cities li { font-size: .75rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
  font-size: .75rem; color: rgba(255,255,255,.5);
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* Mobile bottom bar */
.bottom-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 90;
  background: var(--white); border-top: 1px solid #eee; padding: .75rem;
  display: flex; gap: .75rem; transform: translateY(100%); transition: .3s;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.bottom-bar.visible { transform: translateY(0); }
.bottom-bar a { flex: 1; text-align: center; padding: .75rem; border-radius: .75rem; font-size: .875rem; font-weight: 600; color: var(--white); }
.bottom-bar a:first-child { background: var(--primary); }
.bottom-bar a:last-child { background: var(--accent); }
@media (min-width: 1100px) { .bottom-bar { display: none; } }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }

.reveal { opacity: 0; transform: translateY(24px); transition: .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
}

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 16rem; border: 0; }
.map-caption { background: var(--white); text-align: center; padding: .5rem; font-size: .75rem; color: var(--text-muted); }

.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* Urgency / zalanie section */
.urgency { background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%); }
.urgency__intro { max-width: 42rem; margin-bottom: 2.5rem; }
.urgency__eyebrow {
  font-size: .875rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem;
}
.urgency__intro h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.urgency__lead { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.7; }

.urgency__grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.urgency-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid #eee; box-shadow: 0 2px 12px rgba(0,0,0,.04);
  position: relative; overflow: hidden;
}
.urgency-card--accent { border-color: rgba(232,93,42,.25); background: rgba(232,93,42,.04); }
.urgency-card__num {
  display: block; font-size: .75rem; font-weight: 800; color: var(--accent);
  letter-spacing: .08em; margin-bottom: .75rem;
}
.urgency-card h3 { font-size: 1.125rem; margin-bottom: .75rem; }
.urgency-card p { font-size: .9375rem; color: var(--text-muted); line-height: 1.65; }
.urgency-card ul, .urgency-card ol { margin-top: .5rem; padding-left: 1.125rem; }
.urgency-card li {
  font-size: .9375rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .375rem;
}
.urgency-steps { list-style: none; padding-left: 0; counter-reset: step; }
.urgency-steps li {
  counter-increment: step; padding-left: 0; margin-bottom: .75rem;
  padding-bottom: .75rem; border-bottom: 1px solid #f0f0f0;
}
.urgency-steps li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.urgency__banner {
  margin-top: 2rem; padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 1.25rem; color: var(--white);
  display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 768px) {
  .urgency__banner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.urgency__banner-text { display: flex; flex-direction: column; gap: .375rem; }
.urgency__banner-text strong { font-size: 1.125rem; }
.urgency__banner-text span { font-size: .9375rem; opacity: .85; }
.urgency__banner-actions { display: flex; flex-wrap: wrap; gap: .75rem; flex-shrink: 0; }
.urgency__banner .btn--outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.urgency__banner .btn--outline:hover { background: var(--white); color: var(--primary); }

.notice { background: rgba(18,73,92,.06); border: 1px solid rgba(18,73,92,.15); border-radius: .75rem; padding: 1rem 1.25rem; font-size: .875rem; margin-bottom: 2rem; }

.rental-notice {
  display: none; align-items: center; gap: 1.25rem;
  background: rgba(18,73,92,.06); border: 1px solid rgba(18,73,92,.15);
  border-radius: 1rem; padding: 1rem 1.25rem; margin-bottom: 2rem;
}
.rental-notice__text { flex: 1; min-width: 0; }
.rental-notice__label { font-size: .875rem; color: var(--text-muted); margin-bottom: .25rem; }
.rental-notice__text strong { display: block; font-size: 1rem; color: var(--text); line-height: 1.3; }
.rental-notice__price { display: block; margin-top: .375rem; font-size: .875rem; font-weight: 600; color: var(--accent); }
.rental-notice img {
  width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: .75rem;
  flex-shrink: 0; background: var(--white); border: 1px solid #eee;
}
@media (min-width: 640px) {
  .rental-notice img { width: 7rem; height: 7rem; }
}
