/* Maj PC SPA
   Static site: HTML + CSS only.
   Main palette: navy / electric blue / white.
*/

:root {
  --navy: #07152d;
  --navy-2: #0b1d3a;
  --blue: #174fd4;
  --blue-bright: #155cff;
  --ink: #101a2b;
  --muted: #5d6879;
  --line: #dce3ee;
  --white: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 18px 50px rgba(7, 21, 45, .10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 20px;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 50%, rgba(23,79,212,.18), transparent 32%),
    linear-gradient(120deg, #ffffff 0%, #f5f8ff 52%, #eaf1ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -190px;
  top: -240px;
  border: 90px solid rgba(23,79,212,.08);
  border-radius: 50%;
}

.hero-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  margin: 24px 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid transparent;
  transition: .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-bright);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.hero-note {
  color: #687487;
  font-size: 13px;
  font-weight: 700;
  margin-top: 18px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-art img {
  width: min(100%, 560px);
  mix-blend-mode: multiply;
  filter: drop-shadow(0 30px 45px rgba(7,21,45,.12));
}

.art-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(23,79,212,.18);
  filter: blur(70px);
}

.section {
  padding: 92px 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(23,79,212,.28), transparent 30%),
    linear-gradient(135deg, var(--navy), #0a2348);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.two-column h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.section-heading p:last-child,
.two-column > div > p {
  color: var(--muted);
}

.section-heading-dark p:last-child {
  color: #c7d2e5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 18px 0 14px;
  font-size: 21px;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 7px;
}

.service-card:first-child li::marker {
  color: #174fd4;
  font-size: 30px;
  line-height: 1;
}

.service-card:last-child li::marker {
  color: #dc3545;
  font-size: 30px;
  line-height: 1;
}

.service-card:last-child {
  border-color: #f0caca;
}

.service-card:last-child h3 {
  color: #b42318;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  border-radius: var(--radius);
}

.step > span {
  color: #5d8cff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
}

.step h3 {
  margin: 20px 0 8px;
}

.step p {
  color: #c7d2e5;
  margin: 0;
}

.diagnostics-box {
  margin-top: 24px;
  padding: 24px 28px;
  border-left: 4px solid var(--blue-bright);
  background: rgba(255,255,255,.06);
  border-radius: 0 12px 12px 0;
}

.diagnostics-box strong {
  font-size: 18px;
}

.diagnostics-box p {
  color: #c7d2e5;
  margin: 7px 0 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
}

.location-map {
  overflow: hidden;
  width: 100%;
  height: 340px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eee;
  box-shadow: var(--shadow);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.google-reviews {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.google-reviews span {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--muted);
}

.google-reviews strong {
  display: block;
  font-size: 20px;
  letter-spacing: .04em;
}

.google-reviews small {
  margin-left: 5px;
  font-size: 14px;
  letter-spacing: 0;
}

.google-reviews p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.google-reviews a {
  flex-shrink: 0;
  padding: 11px 17px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s ease;
}

.google-reviews a:hover {
  opacity: .88;
}

@media (max-width: 900px) {
  .location-map {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .google-reviews {
    align-items: flex-start;
    flex-direction: column;
  }

  .google-reviews a {
    width: 100%;
    text-align: center;
  }

  .location-map {
    height: 280px;
  }
}

.info-panel {
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-panel div + div {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.info-panel span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 4px;
}

.info-panel strong {
  display: block;
  font-size: 19px;
}

.info-panel strong + strong {
  margin-top: 4px;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(135deg, #0a1b37, #0c2e67);
  padding: 76px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 50px;
  align-items: center;
}

.contact-actions {
  justify-content: flex-start;
}

.button-white {
  background: var(--white);
  color: var(--navy);
}

.button-outline-white {
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}

.email-placeholder {
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}

.site-footer {
  background: #050f20;
  color: #9daac0;
  font-size: 13px;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 980px) {
  .service-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .two-column,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 70px 0;
  }

  .hero-art {
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {

  .container {
    width: calc(100% - 28px);
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
  }

  /* ===== NAGŁÓWEK ===== */

  .site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255, 255, 255, .98);
  }

  .header-inner {
    width: 100%;
    min-height: 64px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100%;
    margin: 0;
    padding: 0;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;
    gap: 8px 14px;

    font-size: 14px;
    line-height: 1.2;
  }

  .main-nav a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    white-space: nowrap;
    padding: 5px 2px;
    text-decoration: none;
  }

  /* ===== HERO ===== */

  .hero-grid {
    min-height: auto;
    padding: 54px 0 44px;
    gap: 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-art {
    order: 2;
  }

  /* ===== SEKCJE ===== */

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .two-column {
    gap: 35px;
  }

  /* ===== MAPA ===== */

  .location-map {
    height: 280px;
  }

  /* ===== OPINIE ===== */

  .google-reviews {
    align-items: flex-start;
    flex-direction: column;
  }

  .google-reviews a {
    width: 100%;
    text-align: center;
  }

  /* ===== KONTAKT ===== */

  .contact-section {
    padding: 58px 0;
  }

  /* ===== STOPKA ===== */

  .footer-inner {
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}