:root {
  --navy: #07152f;
  --navy-2: #0b2752;
  --blue: #047db6;
  --cyan: #21c0df;
  --mint: #58d7c6;
  --ice: #edfaff;
  --line: #c7e5ef;
  --ink: #132033;
  --muted: #667386;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 21, 47, 0.16);
  --shadow-strong: 0 34px 90px rgba(7, 21, 47, 0.24);
  --page-gutter: clamp(22px, 7vw, 150px);
  --section-y: clamp(58px, 7vw, 104px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 12% 4%,
      rgba(33, 192, 223, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(88, 215, 198, 0.14),
      transparent 28%
    ),
    linear-gradient(180deg, #f7fdff 0%, #ffffff 38%, #edfaff 100%);
  line-height: 1.6;
}

body.is-lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding: 10px var(--page-gutter);
  border-bottom: 1px solid rgba(199, 229, 239, 0.78);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(7, 21, 47, 0.07);
}

.brand img {
  width: 96px;
  height: 78px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 32px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.main-nav a,
.contact-methods a {
  position: relative;
}

.main-nav a::after,
.contact-methods a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.call-link:hover,
.contact-methods a:hover {
  color: var(--blue);
}

.main-nav a:hover::after,
.contact-methods a:hover::after {
  transform: scaleX(1);
}

.call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(4, 125, 182, 0.2);
  border-radius: 8px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: clamp(42px, 7vw, 96px) var(--page-gutter) 42px;
  overflow: hidden;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(31px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--navy),
    var(--blue) 62%,
    var(--cyan)
  );
  box-shadow: 0 18px 34px rgba(4, 125, 182, 0.26);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(199, 229, 239, 0.92);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 48px rgba(7, 21, 47, 0.08);
}

.hero-proof div {
  min-height: 118px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--navy);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.05;
}

.hero-proof span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-showcase {
  position: relative;
  min-height: 650px;
}

.hero-showcase::before {
  position: absolute;
  inset: 11% -8% 11% 8%;
  z-index: 0;
  border: 1px solid rgba(33, 192, 223, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.82),
      rgba(237, 250, 255, 0.28)
    ),
    radial-gradient(
      circle at 70% 20%,
      rgba(33, 192, 223, 0.24),
      transparent 34%
    );
  content: "";
}

.showcase-main,
.showcase-secondary {
  position: absolute;
  z-index: 1;
  width: min(62%, 355px);
  height: clamp(430px, 38vw, 560px);
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
}

.showcase-main {
  top: 0;
  right: 0;
  object-position: center 44%;
}

.showcase-secondary {
  bottom: -34px;
  left: 0;
  object-position: center;
}

.showcase-badge {
  position: absolute;
  right: 0;
  bottom: 10%;
  z-index: 2;
  display: grid;
  gap: 2px;
  max-width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(
    135deg,
    rgba(7, 21, 47, 0.94),
    rgba(4, 125, 182, 0.94)
  );
  box-shadow: 0 20px 50px rgba(7, 21, 47, 0.22);
}

.showcase-badge span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-badge strong {
  font-size: 17px;
  line-height: 1.2;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 var(--page-gutter);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div {
  position: relative;
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: var(--section-y) var(--page-gutter);
}

.section[id] {
  scroll-margin-top: 120px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
}

.split > div:first-child {
  position: sticky;
  top: 130px;
}

.split > div:first-child p:not(.eyebrow),
.section-heading p,
.about-panel p,
.contact-copy p {
  max-width: 620px;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(199, 229, 239, 0.96);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fdff);
  box-shadow: 0 16px 44px rgba(7, 21, 47, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  content: "";
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover {
  border-color: rgba(33, 192, 223, 0.62);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 900;
}

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

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.62fr) minmax(
      300px,
      0.76fr
    );
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      rgba(7, 21, 47, 0.98),
      rgba(11, 39, 82, 0.96) 54%,
      rgba(4, 125, 182, 0.94)
    ),
    url("realizacje/1000035811.jpg") center / cover;
}

.about h2,
.about .eyebrow {
  color: var(--white);
}

.about-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.process-card,
.about-list div {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.process-card {
  padding: 24px;
}

.process-card > span {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.process-card li {
  padding-left: 4px;
  font-weight: 800;
  line-height: 1.35;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-list div {
  padding: 20px;
}

.about-list strong,
.about-list span {
  display: block;
}

.about-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.55fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(430px, 33vw);
  gap: 14px;
}

figure {
  position: relative;
  cursor: pointer;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 229, 239, 0.82);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 21, 47, 0.08);
}

figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7, 21, 47, 0.32));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 260ms ease;
}

figure:hover img {
  transform: scale(1.045);
}

figure:hover::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 10% 1fr 10%;
  align-items: center;
  justify-items: center;
  padding: 4%;
  background: rgba(3, 12, 35, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  grid-column: 2;
  max-width: 100%;
  max-height: 86vh;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 4%;
  right: 4%;
  width: 44px;
  height: 44px;
  font-size: 32px;
  line-height: 1;
}

.lightbox-nav {
  width: 52px;
  height: 72px;
  font-size: 54px;
  line-height: 1;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-next {
  grid-column: 3;
}

.lightbox-count {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-weight: 800;
}

.faq-section {
  background: linear-gradient(180deg, var(--ice), #ffffff);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

details {
  border: 1px solid rgba(199, 229, 239, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(7, 21, 47, 0.06);
}

summary {
  padding: 20px 22px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  width: fit-content;
  color: var(--navy);
  font-weight: 900;
}

.contact-highlight {
  display: grid;
  gap: 4px;
  max-width: 560px;
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid rgba(199, 229, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 38px rgba(7, 21, 47, 0.07);
}

.contact-highlight strong {
  color: var(--navy);
}

.contact-highlight span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(199, 229, 239, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.contact-website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid #baddea;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfeff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(33, 192, 223, 0.22);
  border-color: var(--blue);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, auto) auto;
  align-items: center;
  gap: 20px;
  padding: 30px var(--page-gutter);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 47, 0.98), rgba(11, 39, 82, 0.98)),
    radial-gradient(
      circle at 10% 20%,
      rgba(33, 192, 223, 0.22),
      transparent 32%
    );
}

.footer-company {
  display: grid;
  gap: 4px;
}

.footer-brand,
.footer-phone {
  font-weight: 800;
}

.footer-brand {
  font-size: 18px;
  letter-spacing: 0;
}

.footer-company span:not(.footer-brand),
.footer-details {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.45;
}

.footer-details {
  margin: 0;
  font-style: normal;
}

.footer-phone {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  white-space: nowrap;
}

.footer-phone:hover {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
}

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

.reveal.is-visible {
  animation: reveal-rise 520ms ease both;
}

@keyframes reveal-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .split,
  .about,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split > div:first-child {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-phone {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand img {
    width: 78px;
    height: 64px;
  }

  .main-nav {
    grid-column: 1 / 2;
    grid-row: 2;
    justify-content: start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 12px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .call-link {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: end;
    min-height: 36px;
    padding: 7px 8px;
    font-size: 13px;
  }

  .site-footer .footer-phone {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof,
  .trust-strip,
  .service-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 570px;
    padding: 0;
  }

  .showcase-main {
    top: 0;
    right: 0;
    width: 74%;
    height: 390px;
  }

  .showcase-secondary {
    bottom: -28px;
    left: 0;
    width: 74%;
    height: 350px;
  }

  .showcase-badge {
    right: 0;
    bottom: 4%;
    max-width: min(260px, 78%);
  }

  .gallery {
    grid-auto-rows: 520px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    gap: 14px;
  }

  .lightbox-image {
    grid-column: 1 / -1;
    max-height: 78vh;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-column: auto;
    width: 100%;
    height: 48px;
    font-size: 34px;
  }
}

@media (max-width: 430px) {
  .hero-showcase {
    min-height: 500px;
  }

  .showcase-main {
    width: 76%;
    height: 350px;
  }

  .showcase-secondary {
    width: 76%;
    height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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