:root {
  --graphite: #15181c;
  --anthracite: #24292f;
  --steel: #5b6470;
  --stone: #c9ccd1;
  --stone-light: #e2e4e7;
  --paper: #f4f2ee;
  --bone: #faf9f6;
  --white: #ffffff;
  --copper: #febe04;
  --copper-dark: #d99a00;
  --amber: #febe04;
  --focus: rgba(254, 190, 4, 0.36);
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
}

.font-heading {
  font-family: "Oswald", "Arial Narrow", system-ui, sans-serif;
}

.font-body {
  font-family: "Source Sans 3", system-ui, sans-serif;
}

.font-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.bg-graphite {
  background-color: var(--graphite);
}

.bg-anthracite {
  background-color: var(--anthracite);
}

.bg-paper {
  background-color: var(--paper);
}

.bg-bone {
  background-color: var(--bone);
}

.bg-copper {
  background-color: var(--copper);
}

.bg-anthracite\/85 {
  background-color: rgba(36, 41, 47, .85);
}

.bg-graphite\/80 {
  background-color: rgba(21, 24, 28, .80);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, .10);
}

.text-graphite {
  color: var(--graphite);
}

.text-steel {
  color: var(--steel);
}

.text-copper,
.text-amber {
  color: var(--copper);
}

.text-stone-light {
  color: var(--stone-light);
}

.text-stone-light\/80 {
  color: rgba(226, 228, 231, .80);
}

.text-stone-light\/90 {
  color: rgba(226, 228, 231, .90);
}

.border-copper {
  border-color: var(--copper);
}

.border-copper\/35 {
  border-color: rgba(254, 190, 4, .35);
}

.border-stone-light {
  border-color: var(--stone-light);
}

.border-stone {
  border-color: var(--stone);
}

.decoration-copper {
  text-decoration-color: var(--copper);
}

.shadow-technical {
  box-shadow: 0 1px 0 rgba(21, 24, 28, .04), 0 2px 8px rgba(21, 24, 28, .06);
}

a,
button,
summary,
input,
textarea {
  outline: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  box-shadow: 0 0 0 4px var(--focus);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  border-radius: 4px;
  background: var(--copper);
  color: var(--white);
  padding: 12px 16px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms cubic-bezier(.2, .6, .2, 1);
}

.nav-link:hover {
  color: var(--white);
}

.menu-toggle {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.mobile-menu a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 600;
  padding: 14px 0;
  text-decoration: none;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 150ms cubic-bezier(.2, .6, .2, 1), border-color 150ms cubic-bezier(.2, .6, .2, 1), color 150ms cubic-bezier(.2, .6, .2, 1), transform 150ms cubic-bezier(.2, .6, .2, 1);
}

.btn svg {
  height: 18px;
  width: 18px;
}

.btn-primary {
  background: var(--copper);
  color: var(--graphite);
}

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

.btn-primary:active {
  transform: translateY(1px);
}

.btn-ghost-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.42);
}

.tech-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  width: 100%;
}

.hero-subtitle {
  color: var(--copper);
  overflow-wrap: normal;
  text-wrap: balance;
  white-space: normal;
}

.master-title {
  color: var(--copper);
  font-family: "Oswald", "Arial Narrow", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.master-title-inline {
  color: var(--copper);
  font-weight: 700;
}

.eyebrow {
  align-items: center;
  color: var(--copper);
  display: inline-flex;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 600;
  gap: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  display: inline-block;
  height: 1px;
  width: 40px;
}

.section {
  padding: 96px 0;
}

.section-head {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 56px;
}

.section-head h2 {
  color: var(--graphite);
  font-family: "Oswald", sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  margin-top: 16px;
  max-width: 760px;
}

.section-head p {
  color: var(--steel);
  font-size: 18px;
  line-height: 1.55;
  max-width: 600px;
}

.stat-card {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 20px;
}

.stat-card strong {
  color: var(--copper);
  font-family: "Oswald", sans-serif;
  font-size: 42px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
}

.stat-card span {
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.service-card {
  background: var(--white);
  display: grid;
  gap: 14px;
  min-height: 260px;
  padding: 28px;
  transition: background-color 150ms cubic-bezier(.2, .6, .2, 1);
}

.service-card:hover {
  background: var(--bone);
}

.service-card span {
  color: var(--copper);
  font-family: "Oswald", sans-serif;
  font-size: 52px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
}

.service-card svg {
  color: var(--graphite);
  height: 28px;
  justify-self: end;
  margin-top: -58px;
  width: 28px;
}

.service-card h3,
.reason-card h3,
.process-card h3 {
  color: var(--graphite);
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.service-card p,
.reason-card p,
.process-card p {
  color: var(--steel);
  line-height: 1.55;
}

.service-card-dark {
  background: var(--graphite);
  color: var(--white);
}

.service-card-dark:hover {
  background: var(--anthracite);
}

.service-card-dark h3,
.service-card-dark p {
  color: var(--white);
}

.service-card-dark a {
  color: var(--copper);
}

.reason-card {
  display: grid;
  gap: 10px;
}

.reason-card svg {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 4px;
  color: var(--copper);
  height: 44px;
  padding: 10px;
  width: 44px;
}

.reason-card h3 {
  font-size: 20px;
}

.trust-card {
  background: var(--bone);
  border: 1px solid var(--stone-light);
  border-radius: 4px;
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 28px;
}

.trust-card h3 {
  color: var(--graphite);
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.trust-card p {
  color: var(--steel);
  line-height: 1.55;
}

.award-panel {
  background: var(--graphite);
  border-radius: 4px;
  color: var(--white);
  overflow: hidden;
}

.award-panel img {
  aspect-ratio: 4 / 3;
  background: var(--white);
  display: block;
  object-fit: cover;
  width: 100%;
}

.award-panel > div {
  padding: 28px;
}

.award-panel h3 {
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
  margin-top: 12px;
}

.award-panel p:last-child {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin-top: 14px;
}

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

.certificate-card {
  background: var(--white);
  border: 1px solid var(--stone-light);
  box-shadow: 0 1px 0 rgba(21, 24, 28, .04), 0 2px 8px rgba(21, 24, 28, .06);
}

.certificate-card button {
  display: block;
  height: 100%;
  text-align: left;
  width: 100%;
}

.certificate-thumb {
  align-items: center;
  aspect-ratio: 3 / 4;
  background: var(--white);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.certificate-thumb img {
  display: block;
  height: 100%;
  object-fit: contain;
  transition: transform 300ms cubic-bezier(.2, .6, .2, 1);
  width: 100%;
}

.certificate-card:hover .certificate-thumb img {
  transform: scale(1.02);
}

.certificate-zoom {
  align-items: center;
  background: var(--copper);
  border-radius: 4px;
  bottom: 16px;
  box-shadow: 0 1px 0 rgba(21, 24, 28, .04), 0 2px 8px rgba(21, 24, 28, .06);
  color: var(--graphite);
  display: flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  right: 16px;
  width: 44px;
}

.certificate-zoom svg {
  height: 20px;
  width: 20px;
}

.realization-card {
  background: var(--graphite);
  border-radius: 4px;
  color: var(--white);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.realization-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 400ms cubic-bezier(.2, .6, .2, 1);
  width: 100%;
}

.realization-card:hover img {
  transform: scale(1.02);
}

.realization-card::after {
  background: rgba(0, 0, 0, 0.56);
  content: "";
  inset: 0;
  position: absolute;
}

.realization-card div {
  bottom: 0;
  left: 0;
  padding: 22px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.realization-card span {
  color: var(--amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.realization-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-top: 6px;
}

.process-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 30px 28px;
}

.process-card span {
  color: var(--copper);
  font-family: "Oswald", sans-serif;
  font-size: 72px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 0.9;
}

.process-card h3 {
  color: var(--white);
  font-size: 22px;
}

.process-card p {
  color: rgba(255, 255, 255, 0.70);
}

#obszar li {
  align-items: center;
  border-bottom: 1px solid var(--stone-light);
  display: flex;
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  font-weight: 500;
  min-height: 44px;
}

#obszar li::before {
  background: var(--copper);
  content: "";
  display: inline-block;
  height: 6px;
  margin-right: 12px;
  width: 6px;
}

.map-panel {
  background: var(--paper);
  border: 1px solid var(--stone-light);
  border-radius: 4px;
  min-height: 420px;
  overflow: hidden;
}

.map-panel iframe {
  border: 0;
  display: block;
  height: 100%;
  min-height: 420px;
  width: 100%;
}

details {
  background: var(--paper);
  border: 1px solid var(--stone-light);
  border-radius: 4px;
}

summary {
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  list-style: none;
  padding: 20px 24px;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  border-top: 1px solid var(--stone-light);
  color: var(--steel);
  line-height: 1.6;
  padding: 18px 24px 22px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list dt {
  color: var(--steel);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list dd {
  color: var(--graphite);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 4px;
}

.contact-list a {
  color: var(--graphite);
  text-decoration-color: var(--copper);
  text-underline-offset: 4px;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--stone-light);
  border-radius: 4px;
  display: grid;
  gap: 24px;
  padding: 32px;
}

.contact-panel h3 {
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  margin-top: 14px;
}

.contact-panel p {
  color: var(--steel);
  font-size: 18px;
  line-height: 1.55;
  margin-top: 16px;
}

.contact-phone {
  align-items: center;
  background: var(--copper);
  border-radius: 4px;
  color: var(--graphite);
  display: inline-flex;
  font-family: "Oswald", sans-serif;
  font-size: 26px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  min-height: 68px;
  padding: 0 24px;
  text-decoration: none;
}

.contact-phone svg {
  height: 22px;
  width: 22px;
}

.contact-mail {
  background: var(--graphite);
  border: 1px solid rgba(23, 26, 30, 0.12);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  overflow-wrap: anywhere;
  text-align: center;
}

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

.contact-panel-grid > div {
  background: var(--bone);
  border: 1px solid var(--stone-light);
  min-height: 128px;
  padding: 22px;
}

.contact-panel-grid span {
  color: var(--steel);
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel-grid strong {
  color: var(--graphite);
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.footer-heading {
  color: rgba(255, 255, 255, 0.56);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  color: rgba(255, 255, 255, 0.76);
  display: grid;
  font-size: 14px;
  gap: 10px;
}

.footer-links a,
footer a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
footer a:hover {
  color: var(--copper);
}

@media (min-width: 900px) {
  .section {
    padding: 112px 0;
  }

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

  .section-head {
    gap: 64px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  }

  .section-head h2 {
    font-size: 54px;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-section .hero-inner {
    padding-bottom: 48px;
    padding-top: 56px;
  }

  .hero-section h1 {
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.58em;
    line-height: 1.08;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }

  .hero-subtitle span {
    display: block;
  }

  .certificates-hero {
    justify-content: flex-start;
    padding-top: 80px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 36px;
  }

  .stat-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-panel h3 {
    font-size: 28px;
  }

  .contact-phone {
    font-size: 22px;
  }

  .contact-mail {
    font-size: 15px;
    padding-inline: 16px;
  }

  .contact-panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .hero-subtitle {
    font-size: 0.54em;
    max-width: 290px;
  }
}
