/* Janusz Dzwigalski demo — light, water-blue plumber site (not the mechanic template) */

:root {
  --bg: #f3f8fa;
  --bg-hero: linear-gradient(165deg, #e7f6f8 0%, #f3f8fa 42%, #ffffff 100%);
  --surface: #ffffff;
  --ink: #102033;
  --ink-soft: #3b5166;
  --muted: #5d7388;
  --line: #d7e4eb;
  --teal: #0b7d86;
  --teal-dark: #086066;
  --teal-bright: #10949e;
  --teal-soft: #e4f4f6;
  --sky: #1c8fbc;
  --shadow: 0 16px 40px rgba(16, 47, 62, 0.08);
  --radius: 22px;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  --display: Manrope, Inter, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #e8f6f8;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
}

.site-header {
  position: sticky;
  top: 32px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  background: rgba(243, 248, 250, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 125, 134, 0.28);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.header-call {
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
}

@media (max-width: 719px) {
  .header-call {
    display: none;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
  padding: 2.6rem 1.2rem 3.2rem;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 148, 158, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 8vw, 4.4rem);
  font-weight: 800;
  max-width: 14ch;
}

.lead {
  max-width: 38rem;
  margin: 0 0 1.6rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.trust {
  display: grid;
  gap: 0.7rem;
}

.badge {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
}

.badge strong {
  display: block;
  font-size: 0.92rem;
}

.badge span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.section {
  padding: 3rem 1.2rem;
}

.section-head {
  max-width: 1080px;
  margin: 0 auto 1.6rem;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
}

.hint {
  display: inline-block;
  margin: 0;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: #fff4d8;
  color: #8a5a00;
  font-size: 0.78rem;
  font-weight: 700;
}

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

.grid {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
}

.service .icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.service h3,
.step h3,
.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.service p,
.step p,
.faq-item p,
.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  position: relative;
  padding-left: 0.2rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
}

.area {
  background: linear-gradient(180deg, #0b7d86 0%, #0a5f6b 100%);
  color: #fff;
}

.area h2,
.area p,
.area .note {
  color: #fff;
}

.area .note {
  opacity: 0.85;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.3rem 0 0.8rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours-table th {
  color: var(--muted);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  gap: 0.9rem;
}

.map-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  min-height: 240px;
  background: #e8eef1;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f8fbfc;
  color: var(--ink);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--teal);
  border-color: transparent;
}

.form-status {
  display: none;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

.faq-item + .faq-item {
  margin-top: 0.9rem;
}

.site-footer {
  padding: 1.6rem 1.2rem 6.2rem;
  color: var(--muted);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
}

.site-footer .inner {
  max-width: 1080px;
  margin: 0 auto;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(243, 248, 250, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mobile-bar .btn {
  width: 100%;
}

.reveal {
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .hero,
  .section,
  .site-header,
  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .trust,
  .grid,
  .steps,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .map-span,
  .wide {
    grid-column: 1 / -1;
  }

  .mobile-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

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

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* preview screenshots only */
body.preview-shot .demo-banner,
body.preview-shot .site-header {
  position: static;
}

body.preview-shot .mobile-bar {
  display: none;
}

body.preview-shot .site-footer {
  padding-bottom: 2rem;
}
