:root {
  --color-primary: #0b4f6c;
  --color-secondary: #1f7a8c;
  --color-accent: #f4a259;
  --color-bg: #f7fbfc;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-muted: #4b5563;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 79, 108, 0.12);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-text);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5eef1;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 600;
}

.nav-links a:focus-visible,
.nav-links a:hover {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: #1f2937;
}

.btn-primary:hover {
  filter: brightness(0.96);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: #bfd9e1;
}

.btn-secondary:hover {
  border-color: var(--color-secondary);
}

.hero {
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.top-map-band .hero-grid {
  padding: 0;
}

.top-map-band .hero-main-panel,
.top-map-band .hero-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(184, 203, 214, 0.7);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(11, 79, 108, 0.1);
}

.top-map-band .hero-main-panel {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(1.95rem, 5.2vw, 3.2rem);
  max-width: 18ch;
}

.lead {
  max-width: 58ch;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid #e4edf1;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.hero-card-image {
  width: 100%;
  display: block;
  border-radius: 12px;
  margin-bottom: 0.95rem;
  border: 1px solid #dce9ef;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.trust-strip {
  background: var(--color-primary);
  color: #eff9fd;
  padding: 1.1rem 0;
}

.top-map-band {
  position: relative;
  background-image: url("./assets/images/lubelszczyzna.webp");
  background-size: cover;
  background-position: 50% 44%;
  background-repeat: no-repeat;
}

.top-map-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247, 251, 252, 0.08) 0%,
    rgba(247, 251, 252, 0.34) 38%,
    rgba(247, 251, 252, 0.66) 72%,
    rgba(247, 251, 252, 0.94) 100%
  );
  z-index: 0;
}

.top-map-band > section {
  position: relative;
  z-index: 1;
}

.map-wide-bg {
  min-height: clamp(135px, 19vh, 200px);
  display: flex;
  align-items: flex-start;
}

.map-wide-content {
  padding-top: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: 0.1rem;
}

.map-wide-content h2 {
  max-width: 24ch;
  margin-bottom: 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-items h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.trust-items p {
  margin: 0;
  color: #d7edf3;
}

.section {
  padding: 86px 0;
}

.section-alt {
  background: #eef7fa;
}

.section-head {
  margin-bottom: 1.35rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid #ddeaf0;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 3px 16px rgba(11, 79, 108, 0.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.photo-card {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid #ddeaf0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(11, 79, 108, 0.08);
}

.photo-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 0.8rem 0.9rem 0.95rem;
  color: var(--color-muted);
  font-size: 0.96rem;
}

.section-cta {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.map-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.map-card {
  background: #fff;
  border: 1px solid #ddeaf0;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(11, 79, 108, 0.08);
  overflow: hidden;
}

.map-card img {
  width: 100%;
  display: block;
  background: #f6f8fb;
}

.quote p {
  font-style: italic;
}

.quote cite {
  font-style: normal;
  color: var(--color-muted);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list article {
  background: #fff;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  padding: 1rem;
}

.faq-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.faq-list p {
  margin-bottom: 0;
}

.cta-final {
  background: radial-gradient(circle at 10% 15%, #1f7a8c 0%, #0b4f6c 55%);
  color: #f2fbff;
}

.cta-box {
  text-align: center;
  max-width: 760px;
}

.cta-box p {
  color: #d9eff6;
}

.site-footer {
  padding: 1rem 0 2rem;
  border-top: 1px solid #dce8ee;
  background: #f8fdff;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #556270;
}

.content-hero {
  padding: 72px 0 24px;
}

.content-hero h1 {
  max-width: 22ch;
}

.content-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: #fff;
  border: 1px solid #ddeaf0;
  border-radius: 12px;
  padding: 1rem;
}

.service-meta {
  color: var(--color-muted);
  margin-top: 0.3rem;
}

.list-clean {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.mobile-call {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .gallery-grid,
  .map-section-grid,
  .card-grid,
  .content-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }

  .map-wide-bg {
    min-height: clamp(165px, 24vh, 230px);
  }

  .top-map-band {
    background-position: 50% 40%;
  }

  .top-map-band .hero-grid {
    padding: 0;
  }

  .top-map-band .hero-main-panel,
  .top-map-band .hero-card {
    background: rgba(255, 255, 255, 0.84);
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .nav-links {
    width: 100%;
    order: 3;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
  }

  .section,
  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .btn {
    width: 100%;
  }

  .hero-cta {
    width: 100%;
  }

  .mobile-call {
    position: fixed;
    left: 50%;
    bottom: 0.8rem;
    transform: translateX(-50%);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    background: var(--color-accent);
    color: #1f2937;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(11, 79, 108, 0.22);
  }

  body {
    padding-bottom: 4.4rem;
  }
}
