@import url('./hero-poster.f51e62e1798337dc.css');
@import url('./service-motion.f4b92d41870104b6.css');

html[lang="en"] .service-page [lang="pl"],
html[lang="pl"] .service-page [lang="en"] { display: none; }

.service-page {
  --service-gap: clamp(32px, 7vw, 130px);
  --service-inset: max(var(--edge), calc((100% - 1560px) / 2));
  --service-space: clamp(64px, 7.6vw, 132px);
}

.service-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  justify-items: center;
  gap: 20px;
  min-height: calc(100vh - var(--header-height, 114px));
  min-height: calc(100dvh - var(--header-height, 114px));
  padding: clamp(20px, 4svh, 46px) var(--edge);
  color: #fff;
  background: #181818;
}

.service-hero video,
.service-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.service-hero video {
  z-index: -2;
  display: block;
  object-fit: cover;
  object-position: var(--service-film-position, center);
}

.service-hero::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(155deg, rgb(0 0 0 / .58), transparent 45%),
    radial-gradient(ellipse at center, rgb(0 0 0 / .49), transparent 72%),
    linear-gradient(0deg, rgb(0 0 0 / .42), rgb(0 0 0 / .23) 35% 70%, rgb(0 0 0 / .3));
}

.service-hero .about-section-name {
  position: static;
  align-self: start;
  justify-self: start;
  max-width: 100%;
}

.service-hero-center { width: 100%; text-align: center; }

.service-hero h1 {
  max-width: 19ch;
  margin: 0 auto;
  font-size: clamp(2.55rem, 7.1vw, 7.4rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.063em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.service-hero-actions,
.service-location-actions,
.software-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.service-hero-actions {
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
  margin-top: clamp(22px, 3vw, 42px);
}

.service-hero-actions a,
.service-location-actions a,
.software-product-actions a,
.service-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px clamp(16px, 1.7vw, 28px);
  border: 1px solid currentColor;
  border-radius: 50px;
  font: 500 .875rem/1.3 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  text-align: center;
}

.service-hero-actions a[data-relief-finish="white"] {
  --key-surface: #fff;
  --key-ink: #17181a;
  --key-light: rgb(255 255 255 / .3);
  --key-shade: rgb(0 0 0 / .55);
  --key-inner-shade: #a4a4a6;
  --key-depth: 2px;
  font-weight: 600;
}

.service-hero-actions a:not([data-relief-finish]) {
  position: relative;
  --key-surface: rgb(10 10 10 / .35);
  --key-ink: #fff;
  --key-light: transparent;
  --key-shade: rgb(0 0 0 / .28);
  --key-inner-light: rgb(255 255 255 / .12);
  --key-inner-shade: rgb(0 0 0 / .55);
  --key-depth: 1px;
}
.service-hero-actions a:not([data-relief-finish])::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgb(255 255 255 / .5);
  border-radius: inherit;
  pointer-events: none;
}

.service-submit { background: #fff; color: #111; border-color: #fff; }

.service-hero :focus-visible,
.service-registration :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.service-info,
.service-registration,
.service-location {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  column-gap: var(--service-gap);
  row-gap: 32px;
  align-items: start;
  padding: var(--service-space) var(--service-inset);
}

.service-info,
.service-location { background: var(--paper); color: var(--ink); }

.service-info {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.service-info h2 { max-width: 17ch; }
.service-info-content {
  display: grid;
  align-content: start;
  gap: clamp(24px, 2.5vw, 40px);
  min-width: 0;
}
.service-info-photos {
  align-self: start;
  display: grid;
  gap: 24px;
}

.service-page :is(.service-info, .service-registration, .service-location) h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.1vw, 4.5rem);
  line-height: 1.07;
  font-weight: 500;
  letter-spacing: -.058em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.service-info-copy,
.service-registration-intro p,
.service-location-body {
  max-width: 63ch;
  font-size: clamp(1rem, 1.28vw, 1.25rem);
  line-height: 1.7;
  letter-spacing: -.019em;
}

.service-info-copy p,
.service-location-body p { margin: 0; }
.service-info-copy p + p,
.service-location-body p + p { margin-top: 1.15em; }

.service-info-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(14px, 1.6vw, 28px);
}

.service-info-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-registration {
  color-scheme: dark;
  background: #0c0c0c;
  color: #fff;
}

.service-registration-intro p {
  max-width: 40ch;
  margin: clamp(18px, 2vw, 30px) 0 0;
  color: #c4c4c4;
}

.service-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px clamp(16px, 2vw, 32px);
  min-width: 0;
}

.service-field {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
}

.service-field-wide, .service-consent, .service-form [role="status"] { grid-column: 1 / -1; }
.service-form small { color: #b5b5b5; font-weight: 400; }

.service-field input, .service-field textarea, .service-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #777;
  border-radius: 8px;
  color: #fff;
  background: #151515;
  font: 400 1rem/1.45 'Montserrat', Arial, sans-serif;
}

.service-field textarea { min-height: 120px; resize: vertical; }
.service-field ::placeholder { color: #aaa; }
.service-field input:focus, .service-field textarea:focus, .service-field select:focus { border-color: #fff; }

.service-attachments { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.service-attachments legend { padding: 0; font-weight: 500; }
.service-attachments p { margin: 6px 0 0; font-size: .875rem; line-height: 1.5; color: #c4c4c4; }
.service-file-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 18px;
  border: 1px solid #888;
  border-radius: 24px;
  font-size: .875rem;
  overflow: hidden;
}
.service-file-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.service-file-picker:focus-within { outline: 2px solid #fff; outline-offset: 3px; }
.service-file-list { margin: 0; padding: 0; list-style: none; }
.service-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 4px 0;
  border-bottom: 1px solid #444;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.service-file-list li:first-child { margin-top: 8px; }
.service-file-list button {
  flex: none;
  min-height: 40px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #dfdfdf;
  text-decoration: underline;
  text-underline-offset: .2em;
  font: inherit;
  cursor: pointer;
}
.service-attachments #service-file-error:not(:empty) { color: #fff; }
.service-attachments #service-file-error:empty { margin: 0; }
.service-form noscript { grid-column: 1 / -1; }
.service-file-fallback { margin: 0; color: #c4c4c4; font-size: .875rem; }

.service-registration .service-file-list button {
  --key-focus: #fff;
  min-height: 44px;
  padding-inline: 1rem;
  text-decoration: none;
}

:is(.service-page .service-registration, .software-contact, .partner-application) [data-relief-finish="graphite"] {
  --key-surface: #383838;
  --key-ink: #f5f5f5;
  --key-light: transparent;
  --key-shade: rgb(0 0 0 / .45);
  --key-inner-light: rgb(255 255 255 / .08);
  --key-inner-shade: #171717;
  --key-focus: #eee;
  --key-depth: 1px;
  --key-rest-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 2px 3px rgb(0 0 0 / .3);
}

.service-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  padding-top: 22px;
  background: var(--rule-on-dark) left top / 100% 1px no-repeat;
  font-size: .9375rem;
  line-height: 1.55;
  cursor: pointer;
}

.service-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: .13em 0 0;
  accent-color: #fff;
}

.service-submit { grid-column: 1 / -1; justify-self: start; }
.service-submit:disabled { opacity: .7; }
.service-form [role="status"] { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }

.service-followup {
  padding: clamp(32px, 3.5vw, 56px) var(--service-inset) 0;
  background: #fff;
  color: var(--ink);
}
.service-followup + .service-location { padding-top: clamp(32px, 3.5vw, 56px); }
.service-followup p {
  max-width: 63ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.28vw, 1.25rem);
  line-height: 1.7;
  letter-spacing: -.02em;
}

.service-location-body { margin-top: clamp(22px, 2.8vw, 42px); }
.service-location-body address { font-style: normal; line-height: 1.55; }
.service-location-body .service-location-hours { margin-top: .75em; color: #515151; }
.service-location-actions { margin-top: clamp(18px, 2vw, 30px); }
.service-location-actions a,
.software-product-actions a {
  --key-surface: #fff;
  --key-ink: #242529;
  --key-light: #fff;
  --key-shade: #b6b7ba;
  --key-inner-shade: #bfc0c3;
}

.service-location-map {
  display: block;
  width: 100%;
  height: clamp(280px, 30vw, 460px);
  border: 1px solid #dadada;
  border-radius: clamp(14px, 1.6vw, 28px);
  background: #f3f3f3;
  filter: grayscale(1);
}

.service-location-map:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
  .service-hero-actions a:not([data-relief-finish]):hover { --key-surface: rgb(10 10 10 / .43); }
  :is(.service-page .service-registration, .software-contact, .partner-application) [data-relief-finish="graphite"]:hover { --key-surface: #414141; }
  .service-submit:not(:disabled):hover { background: #e3e3e3; border-color: #e3e3e3; }
}

@media (prefers-reduced-motion: no-preference) {
  .service-submit {
    transition: background-color .18s, border-color .18s, color .18s;
  }
  html:has(.service-page) { scroll-behavior: smooth; }
}

@media (min-width: 821px) {
  .service-registration-intro { position: sticky; top: min(40px, 5vh); }
  .service-location-map {
    align-self: stretch;
    height: auto;
    --service-map-bottom-crop: 0%;
  }
}

@media (min-width: 1800px) {
  .service-hero { --header-height: 142px; }
}

@media (max-width: 1080px) {
  .service-hero { --header-height: 100px; }
  .service-info { column-gap: 4vw; }
}

@media (max-width: 600px) {
  .service-hero { --header-height: 91px; }
}

@media (max-width: 1000px) {
  .service-info {
    grid-template-columns: minmax(0, 34rem);
    grid-template-rows: auto;
    justify-content: center;
    row-gap: 24px;
  }
}

/* The photo column bounds the complete heading-and-copy block. */
@media (min-width: 1001px) and (prefers-reduced-motion: no-preference) {
  .service-info-content { position: sticky; top: min(40px, 5vh); }
}

@media (max-width: 820px) {
  .service-registration, .service-location { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 550px) {
  .service-form { grid-template-columns: minmax(0, 1fr); }
  .service-hero-actions { gap: 6px; }
  .service-hero-actions a { padding-inline: 14px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .service-hero { gap: 9px; padding-block: 12px; }
  .service-hero h1 { max-width: 100%; font-size: clamp(2rem, 5vw, 3.5rem); }
  .service-hero-actions { margin-top: 12px; }
}
