/* SklepHydraulika.pl - kolory z logo (niebieski, czerwony) i szyldu sklepu (zolty) */
:root {
  --blue: #0b4f9c;
  --blue-dark: #083a73;
  --blue-soft: #e8f0fa;
  --red: #d7262e;
  --red-dark: #b51d24;
  --yellow: #f6c445;
  --ink: #17202b;
  --muted: #566272;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(16, 37, 66, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Pasek gorny */
.topbar { background: var(--blue-dark); color: #dbe7f6; font-size: 14px; }
.topbar-in { display: flex; gap: 24px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }

/* Naglowek */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { width: 230px; }
.menu { display: none; margin-left: auto; }
.nav { display: flex; gap: 6px; }
.nav-desk { margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-lg { padding: 14px 22px; font-size: 18px; }
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-light:hover { border-color: var(--blue); color: var(--blue); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--blue-dark); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,32,66,.92) 0%, rgba(6,32,66,.78) 45%, rgba(6,32,66,.25) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 96px; max-width: 1160px; }
.hero-text { max-width: 620px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.hero p.lead { font-size: 20px; color: #e3ecf7; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 15px; color: #e3ecf7; }
.hero-facts li::before { content: "✓"; color: var(--yellow); font-weight: 700; margin-right: 8px; }

/* Naglowek podstrony */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head p { color: var(--muted); max-width: 720px; font-size: 19px; margin: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }

/* Sekcje */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: .8em; }
a.card { display: block; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); border-color: var(--blue); }
.card .more { color: var(--blue); font-weight: 700; }
.icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.icon svg { width: 28px; height: 28px; }
.i-blue { background: var(--blue); }
.i-red { background: var(--red); }
.i-yellow { background: var(--yellow); color: var(--ink); }
.i-dark { background: var(--ink); }

.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { border-left: 4px solid var(--red); padding: 4px 0 4px 18px; }
.fact strong { display: block; font-size: 19px; margin-bottom: 4px; }
.fact span { color: var(--muted); }

/* Kontakt */
.contact-box { display: grid; gap: 18px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row .icon { flex: none; margin: 0; width: 44px; height: 44px; }
.contact-row strong { display: block; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }

/* CTA */
.cta { background: var(--blue); color: #fff; }
.cta-in { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding-top: 44px; padding-bottom: 44px; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; color: #dbe7f6; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stopka */
.footer { background: #0f1720; color: #b9c3cf; font-size: 15px; padding-top: 48px; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-name { color: #fff; font-weight: 800; font-size: 18px; }
.footer-h { color: #fff; font-weight: 700; margin-bottom: .4em; }
.footer-copy { border-top: 1px solid #263240; margin-top: 28px; padding-top: 18px; padding-bottom: 90px; font-size: 14px; }

.call-fab { display: none; }

.mt { margin-top: 22px; }
.mt-s { margin-top: 10px; }
.mt0 { margin-top: 0; }
.h-card { font-size: 22px; }
.grid-mini { margin: 22px 0 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
picture { display: contents; }

.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }

/* Tablet */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}

/* Telefon */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .header-in { min-height: 62px; gap: 12px; }
  .logo img { width: 180px; }
  .header-call, .nav-desk { display: none; }
  .menu { display: block; }
  .menu summary { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; list-style: none; border-radius: 8px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; height: 2px; width: 24px; margin: 0 auto; background: var(--ink); border-radius: 2px; }
  .menu .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 12px 14px; }
  .menu .nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hero-in { padding-top: 56px; padding-bottom: 64px; }
  .hero::after { background: linear-gradient(180deg, rgba(6,32,66,.82) 0%, rgba(6,32,66,.9) 100%); }
  .hero p.lead { font-size: 18px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .section { padding: 52px 0; }
  .grid-4, .grid-3, .grid-2, .facts { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { flex: 1 1 100%; }
  .call-fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25); z-index: 30; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
