:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5d6b7a;
  --blue: #0b63ce;
  --blue-dark: #073f83;
  --green: #1f7a4d;
  --amber: #f59e0b;
  --surface: #f6f8fb;
  --surface-strong: #e8f1fb;
  --border: #d7e1ec;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(16, 32, 51, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  letter-spacing: 0;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2000;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(215, 225, 236, 0.9);
  box-shadow: 0 6px 22px rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(10px);
}

.logo {
  max-width: calc(100% - 64px);
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.hamburger {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
  font-size: 1.35rem;
  cursor: pointer;
}

.hamburger:focus-visible,
.call-to-action:focus-visible,
.secondary-action:focus-visible,
.nav-menu a:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 3px;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: block;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.hero-section {
  position: relative;
  min-height: clamp(640px, 82svh, 820px);
  display: flex;
  align-items: center;
  padding: 112px 20px 72px;
  background: #183552 url("serwis_komputerowy.jpg") center / cover no-repeat;
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 27, 46, 0.9) 0%, rgba(11, 99, 206, 0.62) 58%, rgba(8, 27, 46, 0.52) 100%);
}

.hero-content {
  width: min(100%, 960px);
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(8, 27, 46, 0.32);
}

.hero-eyebrow,
.section-kicker {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 2.45rem;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-points {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.call-to-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.call-to-action {
  background: var(--amber);
  color: #1f1604;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.call-to-action:hover {
  color: #1f1604;
  background: #ffb22e;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.secondary-action:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

main section {
  scroll-margin-top: 86px;
}

.section-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 72px 20px;
}

.services-section,
.faq-section {
  background: var(--white);
}

.local-section,
.contact-section {
  background: var(--surface);
}

.about-section {
  background: var(--surface-strong);
}

.section-inner > h2,
.two-column h2,
.contact-layout h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 2rem;
  font-weight: 900;
}

.section-lead,
.about-section p,
.local-section p,
.contact-section p {
  max-width: 820px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.service-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.07);
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.1rem;
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.related-link {
  margin: 24px 0 0;
  color: var(--muted);
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 36px;
  align-items: start;
}

.area-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 10px 12px 10px 34px;
  border-left: 4px solid var(--green);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(16, 32, 51, 0.06);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(16, 32, 51, 0.06);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--blue-dark);
  font-weight: 900;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-list p {
  margin: 0;
  padding: 18px 20px 20px;
  color: var(--muted);
}

.contact-box {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-box strong {
  color: var(--blue-dark);
  font-size: 1.05rem;
}

.footer {
  padding: 28px 20px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 8px;
}

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

.footer-meta {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.status-page {
  min-height: calc(100svh - 112px);
  background: var(--surface);
}

.status-section {
  min-height: calc(100svh - 112px);
  display: flex;
  align-items: center;
  padding: 96px 20px;
  background:
    linear-gradient(135deg, rgba(232, 241, 251, 0.95) 0%, rgba(255, 255, 255, 0.96) 56%, rgba(245, 158, 11, 0.14) 100%);
}

.status-content {
  width: min(100%, 840px);
  margin: 0 auto;
}

.status-code {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-content h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 2.4rem;
  font-weight: 900;
}

.status-content p {
  max-width: 720px;
  color: var(--muted);
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.status-actions .secondary-action {
  border-color: var(--blue);
  color: var(--blue-dark);
  background: var(--white);
}

.status-actions .secondary-action:hover {
  color: var(--white);
  background: var(--blue-dark);
}

.status-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  padding: 10px 12px 10px 18px;
  border-left: 4px solid var(--green);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.offline-note {
  margin-top: 18px;
  font-weight: 700;
}

.reveal-ready .reveal {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal.active {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .service-grid,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .navbar {
    min-height: 62px;
    padding: 0 14px;
  }

  .logo {
    font-size: 0.95rem;
  }

  .nav-menu {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    display: none;
    padding: 8px 14px 14px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(16, 32, 51, 0.12);
  }

  .nav-menu.open {
    display: grid;
    gap: 4px;
  }

  .nav-menu a {
    min-height: 42px;
    padding: 10px 8px;
  }

  .hero-section {
    min-height: clamp(600px, 82svh, 760px);
    padding: 94px 18px 54px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .call-to-action,
  .secondary-action {
    width: 100%;
  }

  .status-actions {
    flex-direction: column;
  }

  .section-inner {
    padding: 56px 18px;
  }

  .section-inner > h2,
  .two-column h2,
  .contact-layout h2,
  .status-content h1 {
    font-size: 1.55rem;
  }
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
  }

  .nav-menu a {
    padding: 8px 0;
  }
}

@media (min-width: 1100px) {
  .hero-title {
    font-size: 3.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
