/*
Theme Name: TEMIDA Starter
Theme URI: https://temidaksiegowi.pl/
Author: Jakub Ryłko
Description: Czysty motyw startowy dla TEMIDA Księgowi, przygotowany do wdrożenia makiety i pól ACF.
Version: 1.4.62
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: temida-starter
*/

@font-face {
  font-family: "Mulish";
  src: url("assets/fonts/mulish/Mulish-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: optional;
}

@font-face {
  font-family: "Mulish";
  src: url("assets/fonts/mulish/Mulish-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 1000;
  font-display: optional;
}

:root {
  --temida-navy: #151c31;
  --temida-blue: #5f80c7;
  --temida-off-white: #f7f7f3;
  --temida-soft-blue: #eef1f7;
  --temida-white: #ffffff;
  --temida-text: #151c31;
  --temida-muted: #697080;
  --temida-border: #dfe3ea;
  --temida-content: 800px;
  --temida-container: 1200px;
  --temida-font-sans: "Mulish", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --temida-weight-regular: 400;
  --temida-weight-medium: 500;
  --temida-weight-semibold: 600;
  --temida-text-body: clamp(1rem, 0.98rem + 0.08vw, 1.0625rem);
  --temida-text-nav: 0.9375rem;
  --temida-text-small: 0.875rem;
  --temida-text-label: 0.75rem;
  --temida-leading-body: 1.65;
  --temida-leading-heading: 1.12;
  --temida-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 760px) {
  :root {
    --temida-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--temida-text);
  background: var(--temida-white);
  font-family: var(--temida-font-sans);
  font-size: var(--temida-text-body);
  font-weight: var(--temida-weight-regular);
  line-height: var(--temida-leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--temida-navy);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.025em;
  line-height: var(--temida-leading-heading);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--temida-blue);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: var(--temida-navy);
  background: var(--temida-white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: var(--temida-white);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-compact {
  border-bottom-color: rgba(21, 28, 49, 0.08);
  box-shadow: 0 12px 32px rgba(21, 28, 49, 0.06);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 64px), 1180px);
  min-height: 96px;
  align-items: center;
  gap: 0;
  transition: min-height 0.32s var(--temida-ease-out);
}

.site-brand {
  display: inline-flex;
  width: 308px;
  flex: 0 0 308px;
  align-items: center;
  margin-right: 48px;
}

.site-brand__logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  transform-origin: left center;
  transition: transform 0.32s var(--temida-ease-out);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  place-items: center;
  padding: 0 4px;
  border: 0;
  color: var(--temida-text);
  background: transparent;
  font-size: 0.6875rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle__label--close,
.menu-toggle[aria-expanded="true"] .menu-toggle__label--open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__label--close {
  display: inline;
}

.primary-navigation {
  flex: 0 0 auto;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu__control {
  display: flex;
  align-items: center;
}

.primary-menu__control > a,
.primary-menu__control > .mega-menu-toggle {
  position: relative;
  display: block;
  padding-block: 15px;
  font-size: var(--temida-text-nav);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.012em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.primary-menu__control > .mega-menu-toggle {
  border: 0;
  color: var(--temida-text);
  background: transparent;
  cursor: pointer;
}

.primary-menu__control > a:active,
.primary-menu__control > .mega-menu-toggle:active {
  color: var(--temida-blue);
}

.primary-menu__control > a::after,
.primary-menu__control > .mega-menu-toggle::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--temida-ease-out);
}

.primary-menu__control > a:hover::after,
.primary-menu__control > a:focus-visible::after,
.primary-menu__control > .mega-menu-toggle:hover::after,
.primary-menu__control > .mega-menu-toggle:focus-visible::after,
.primary-menu .is-current > .primary-menu__control > :is(a, .mega-menu-toggle)::after,
.primary-menu .is-mega-menu-open > .primary-menu__control > .mega-menu-toggle::after {
  transform: scaleX(1);
  transform-origin: center;
}

.mega-menu[hidden] {
  display: none;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(calc(100vw - 64px), 1180px);
  visibility: hidden;
  border: 1px solid rgba(21, 28, 49, 0.12);
  opacity: 0;
  background: var(--temida-white);
  box-shadow: 0 28px 64px rgba(21, 28, 49, 0.11);
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
}

.mega-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu__inner {
  padding: 26px 34px 22px;
}

.mega-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(21, 28, 49, 0.16);
}

.mega-menu__title {
  margin: 0;
  color: var(--temida-muted);
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 36px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.mega-menu__grid li {
  border-top: 1px solid var(--temida-border);
}

.mega-menu__grid li:nth-last-child(-n + 4) {
  border-bottom: 1px solid var(--temida-border);
}

.mega-menu__grid a {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding-block: 11px;
  color: var(--temida-navy);
  font-size: var(--temida-text-nav);
  font-weight: var(--temida-weight-medium);
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-menu__grid a span {
  position: relative;
}

.mega-menu__grid a span::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--temida-ease-out);
}

.mega-menu__grid a:hover,
.mega-menu__grid a:focus-visible {
  color: var(--temida-blue);
}

.mega-menu__grid a:hover span::after,
.mega-menu__grid a:focus-visible span::after {
  transform: scaleX(1);
}

.mega-menu__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  margin-top: 18px;
}

.mega-menu__footer p {
  margin: 0;
  color: var(--temida-muted);
  font-size: var(--temida-text-small);
  line-height: 1.5;
}

.mega-menu__footer a {
  position: relative;
  padding-bottom: 3px;
  color: var(--temida-navy);
  font-size: var(--temida-text-small);
  font-weight: var(--temida-weight-medium);
  text-decoration: none;
}

.mega-menu__footer a::after,
.mega-menu__all-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--temida-ease-out);
}

.mega-menu__footer a:hover,
.mega-menu__footer a:focus-visible {
  color: var(--temida-blue);
}

.mega-menu__footer a:hover::after,
.mega-menu__footer a:focus-visible::after,
.mega-menu__all-link:hover::after,
.mega-menu__all-link:focus-visible::after {
  transform: scaleX(1);
}

.mega-menu__all-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 3px;
  color: var(--temida-navy);
  font-size: var(--temida-text-small);
  font-weight: var(--temida-weight-medium);
  text-decoration: none;
}

.mega-menu__all-link:hover,
.mega-menu__all-link:focus-visible {
  color: var(--temida-blue);
}

.language-link {
  position: relative;
  margin-left: auto;
  padding: 15px 0 15px 32px;
  font-size: var(--temida-text-nav);
  font-weight: var(--temida-weight-medium);
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.language-link::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 32px;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--temida-ease-out);
}

.language-link:hover,
.language-link:focus-visible {
  color: var(--temida-blue);
}

.language-link:hover::after,
.language-link:focus-visible::after {
  transform: scaleX(1);
}

.footer-menu,
.legal-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu a,
.legal-menu a {
  position: relative;
  padding-bottom: 3px;
  text-decoration: none;
}

.footer-menu a::after,
.legal-menu a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.72;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--temida-ease-out);
}

.footer-menu a:hover::after,
.footer-menu a:focus-visible::after,
.legal-menu a:hover::after,
.legal-menu a:focus-visible::after {
  transform: scaleX(1);
}

.site-main {
  min-height: 55vh;
}

.home-hero {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 32%, rgba(238, 241, 247, 0.48), transparent 33%),
    var(--temida-white);
}

.home-hero__inner {
  position: relative;
  z-index: 4;
  display: flex;
  height: 100%;
  align-items: center;
}

.home-hero__copy {
  width: min(38%, 450px);
}

.home-hero__title {
  max-width: 390px;
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(3.35rem, 3.6vw, 3.75rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.home-hero__description {
  max-width: 315px;
  margin: 32px 0 22px;
  color: var(--temida-muted);
  font-size: clamp(0.96rem, 0.9rem + 0.18vw, 1.08rem);
  line-height: 1.65;
}

.home-hero__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  color: var(--temida-navy);
  font-size: 0.78rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.home-hero__link i {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: rgba(21, 28, 49, 0.2);
}

.home-hero__link i::after {
  position: absolute;
  inset: 0;
  background: var(--temida-blue);
  content: "";
  transform: translateX(-100%);
  transition: transform 0.42s var(--temida-ease-out);
}

.home-hero__link:hover i::after,
.home-hero__link:focus-visible i::after {
  transform: translateX(0);
}

.home-hero__media {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  height: 100%;
  overflow: hidden;
  clip-path: ellipse(79% 100% at 100% 50%);
  background: #dfe3e8;
}

.home-hero__fallback,
.home-hero__poster,
.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__fallback {
  z-index: 0;
  background: linear-gradient(135deg, #f1f3f6, #b7c0cf 54%, #7b879c);
}

.home-hero__poster {
  z-index: 1;
}

.home-hero__poster-image,
.home-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__video {
  z-index: 2;
  opacity: 0;
  filter: saturate(0.72) contrast(1.02) brightness(1.04);
  transform: scale(1.025);
  transition: opacity 0.5s ease, transform 1.2s var(--temida-ease-out);
}

.home-hero__video.is-ready {
  opacity: 1;
  transform: none;
}

.home-hero__orbits {
  position: absolute;
  z-index: 3;
  top: -40%;
  left: -25%;
  width: min(72vw, 1000px);
  aspect-ratio: 1;
  pointer-events: none;
}

.home-hero__orbits span {
  position: absolute;
  border: 1px solid rgba(95, 128, 199, 0.1);
  border-radius: 50%;
}

.home-hero__orbits span:first-child { inset: 0; }
.home-hero__orbits span:nth-child(2) { inset: 14%; }
.home-hero__orbits span:nth-child(3) { inset: 29%; }

/* Skip layout and paint work for homepage sections far below the viewport. */
.home-trust { --temida-intrinsic-height: 150px; }
.home-positioning { --temida-intrinsic-height: 650px; }
.home-services { --temida-intrinsic-height: 1200px; }
.home-process { --temida-intrinsic-height: 600px; }
.home-saldeo { --temida-intrinsic-height: 740px; }
.home-team { --temida-intrinsic-height: 670px; }
.home-certificates { --temida-intrinsic-height: 350px; }
.home-contact { --temida-intrinsic-height: 630px; }

@supports (content-visibility: auto) {
  .home-trust,
  .home-positioning,
  .home-services,
  .home-process,
  .home-saldeo,
  .home-team,
  .home-certificates,
  .home-contact {
    content-visibility: auto;
    contain-intrinsic-block-size: auto var(--temida-intrinsic-height);
  }
}

@media (max-width: 760px) {
  .home-trust { --temida-intrinsic-height: 230px; }
  .home-positioning { --temida-intrinsic-height: 830px; }
  .home-services { --temida-intrinsic-height: 2380px; }
  .home-process { --temida-intrinsic-height: 1010px; }
  .home-saldeo { --temida-intrinsic-height: 1100px; }
  .home-team { --temida-intrinsic-height: 1220px; }
  .home-certificates { --temida-intrinsic-height: 320px; }
  .home-contact { --temida-intrinsic-height: 920px; }
}

.home-trust {
  overflow: hidden;
  border-top: 1px solid rgba(21, 28, 49, 0.06);
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: var(--temida-white);
}

.home-trust__inner {
  display: grid;
  width: 100%;
  min-height: 148px;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 25vw, 400px);
}

.home-trust__heading {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px clamp(34px, 4vw, 70px);
  border-left: 1px solid rgba(95, 128, 199, 0.1);
  background: linear-gradient(135deg, #f5f7fc 0%, #edf2fc 100%);
}

.home-trust__eyebrow {
  margin: 0 0 9px;
  color: var(--temida-blue);
  font-size: 0.625rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-trust__title {
  max-width: 230px;
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(1.15rem, 1.02rem + 0.35vw, 1.4rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.home-trust__marquee {
  --home-trust-gap: clamp(52px, 5.5vw, 96px);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 148px;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 96%, transparent 100%);
}

.home-trust__track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}

.home-trust__marquee.is-animated .home-trust__track {
  animation: home-trust-marquee var(--home-trust-duration, 36s) linear infinite;
}

.home-trust__marquee.is-animated:hover .home-trust__track,
.home-trust__marquee.is-animated:focus-within .home-trust__track {
  animation-play-state: paused;
}

.home-trust__group {
  display: flex;
  min-width: max-content;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--home-trust-gap);
  padding: 0 var(--home-trust-gap) 0 0;
  margin: 0;
  list-style: none;
}

.home-trust__logo-item {
  display: grid;
  width: clamp(145px, 11vw, 180px);
  height: 84px;
  flex: 0 0 auto;
  padding-inline: 8px;
  place-items: center;
}

.home-trust__marquee.is-static {
  overflow-x: auto;
  -webkit-mask-image: none;
  mask-image: none;
  scrollbar-width: none;
}

.home-trust__marquee.is-static::-webkit-scrollbar {
  display: none;
}

.home-trust__marquee.is-static .home-trust__track,
.home-trust__marquee.is-static .home-trust__group {
  width: 100%;
}

.home-trust__marquee.is-static .home-trust__group {
  min-width: 0;
  justify-content: center;
  padding-right: 0;
}

.home-trust__logo-link {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 44px;
  place-items: center;
  text-decoration: none;
}

.home-trust__logo {
  width: auto;
  max-width: min(100%, 154px);
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transform: scale(0.98);
  transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s var(--temida-ease-out);
}

.home-trust__logo-link:hover .home-trust__logo,
.home-trust__logo-link:focus-visible .home-trust__logo,
.home-trust__logo-link:active .home-trust__logo,
.home-trust__logo-item:hover .home-trust__logo,
.home-trust__logo-item:focus-within .home-trust__logo {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1);
}

.home-trust__empty {
  display: grid;
  min-width: 0;
  min-height: 148px;
  padding: 20px 32px;
  place-items: center;
  color: var(--temida-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: center;
}

.home-positioning {
  --home-positioning-line-drop: clamp(52px, 7vw, 92px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: var(--temida-white);
}

.home-positioning__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 64px), 1280px);
  margin-inline: auto;
  padding-top: clamp(72px, 8vw, 112px);
}

.home-positioning__eyebrow {
  margin: 0;
  color: var(--temida-muted);
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-positioning__main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.72fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: end;
  padding-block: var(--home-positioning-line-drop);
}

.home-positioning__title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.625rem, 4.35vw, 4.25rem);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.home-positioning__side {
  position: relative;
  max-width: 410px;
  padding-left: clamp(26px, 2.6vw, 38px);
  border-left: 1px solid var(--temida-blue);
}

.home-positioning__side::before {
  display: none;
}

.home-positioning__side::after {
  display: none;
}

.home-positioning.is-motion-visible .home-positioning__side::before {
  transform: scaleY(1);
}

.home-positioning.is-motion-visible .home-positioning__side::after {
  opacity: 1;
  transform: scale(1);
}

.home-positioning__lead,
.home-positioning__content {
  color: #4f586b;
  font-size: 1rem;
  line-height: 1.72;
}

.home-positioning__lead {
  margin: 0;
}

.home-positioning__content {
  margin-top: 18px;
}

.home-positioning__content > * {
  margin-block: 0 12px;
}

.home-positioning__content > *:last-child {
  margin-bottom: 0;
}

.home-positioning__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: var(--temida-navy);
  font-size: var(--temida-text-nav);
  font-weight: var(--temida-weight-medium);
  line-height: 1.4;
  text-decoration: none;
}

.home-positioning__link-label {
  position: relative;
}

.home-positioning__link-label::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--temida-ease-out);
}

.home-positioning__link-line {
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--temida-blue);
  transform: scaleX(0.68);
  transform-origin: left;
  transition: transform 0.34s var(--temida-ease-out);
}

.home-positioning__link:hover .home-positioning__link-label::after,
.home-positioning__link:focus-visible .home-positioning__link-label::after,
.home-positioning__link:hover .home-positioning__link-line,
.home-positioning__link:focus-visible .home-positioning__link-line {
  transform: scaleX(1);
}

.home-positioning__facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--temida-border);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(5px);
  list-style: none;
}

.home-positioning__facts li {
  min-width: 0;
  padding: 24px 0 27px;
  color: #4f586b;
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-positioning__facts li + li {
  padding-left: clamp(24px, 2.5vw, 36px);
  border-left: 1px solid var(--temida-border);
}

.home-services {
  overflow: hidden;
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: var(--temida-white);
}

.home-services__inner {
  width: min(calc(100% - 64px), 1280px);
  margin-inline: auto;
  padding-block: clamp(72px, 8vw, 112px) clamp(64px, 7vw, 96px);
}

.home-services__eyebrow {
  margin: 0 0 clamp(30px, 4vw, 46px);
  color: var(--temida-muted);
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 18px);
}

.home-services__grid--count-5,
.home-services__grid--count-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services__card {
  --home-services-corner-color: var(--temida-blue);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(260px, 25vw, 330px);
  flex-direction: column;
  overflow: hidden;
  padding: clamp(24px, 2.8vw, 34px);
  border: 1px solid var(--temida-navy);
  color: var(--temida-navy);
  background: var(--temida-white);
  text-decoration: none;
  isolation: isolate;
}

.home-services__card--navy {
  --home-services-corner-color: rgba(255, 255, 255, 0.82);
  border-color: var(--temida-navy);
  color: var(--temida-white);
  background: var(--temida-navy);
}

.home-services__card--blue {
  --home-services-corner-color: rgba(255, 255, 255, 0.88);
  border-color: var(--temida-blue);
  color: var(--temida-white);
  background: var(--temida-blue);
}

.home-services__card--outline-blue {
  border-color: var(--temida-blue);
}

.home-services__card-top,
.home-services__rule,
.home-services__card-title,
.home-services__card-text,
.home-services__arrow {
  position: relative;
  z-index: 2;
}

.home-services__card-top {
  display: grid;
  grid-template-columns: clamp(40px, 3.8vw, 48px) minmax(0, 1fr);
  gap: clamp(16px, 1.8vw, 22px);
  align-items: center;
  margin-bottom: clamp(28px, 3.4vw, 42px);
}

.home-services__icon {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: currentColor;
  opacity: 0.74;
  -webkit-mask-image: var(--home-services-icon);
  mask-image: var(--home-services-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.34s var(--temida-ease-out);
}

.home-services__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.38;
  transition: opacity 0.28s ease;
}

.home-services__card-title {
  margin: 0;
  color: inherit;
  font-size: clamp(1.125rem, 1.02rem + 0.32vw, 1.375rem);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.home-services__card-text {
  max-width: 28ch;
  margin: 14px 0 0;
  color: inherit;
  font-size: var(--temida-text-small);
  line-height: 1.58;
  opacity: 0.68;
  transition: opacity 0.28s ease;
}

.home-services__arrow {
  display: flex;
  min-height: 44px;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: auto;
  font-weight: var(--temida-weight-medium);
  line-height: 1;
  transition: transform 0.34s var(--temida-ease-out);
}

.home-services__corner {
  position: absolute;
  z-index: 3;
  display: block;
  background: var(--home-services-corner-color);
  pointer-events: none;
}

.home-services__corner--top-horizontal,
.home-services__corner--bottom-horizontal {
  width: clamp(38px, 4vw, 52px);
  height: 1px;
  transition: clip-path 0.38s var(--temida-ease-out);
}

.home-services__corner--top-vertical,
.home-services__corner--bottom-vertical {
  width: 1px;
  height: clamp(38px, 4vw, 52px);
  transition: clip-path 0.32s var(--temida-ease-out);
}

.home-services__corner--top-horizontal {
  top: 10px;
  left: 10px;
  clip-path: inset(0 100% 0 0);
}

.home-services__corner--top-vertical {
  top: 10px;
  left: 10px;
  clip-path: inset(0 0 100% 0);
}

.home-services__corner--bottom-horizontal {
  right: 10px;
  bottom: 10px;
  clip-path: inset(0 0 0 100%);
}

.home-services__corner--bottom-vertical {
  right: 10px;
  bottom: 10px;
  clip-path: inset(100% 0 0 0);
}

@media (hover: hover) and (pointer: fine) {
  .home-services__card:hover .home-services__corner--top-horizontal,
  .home-services__card:hover .home-services__corner--bottom-horizontal {
    clip-path: inset(0);
  }

  .home-services__card:hover .home-services__corner--top-vertical,
  .home-services__card:hover .home-services__corner--bottom-vertical {
    clip-path: inset(0);
    transition-delay: 0.08s;
  }

  .home-services__card:hover .home-services__rule,
  .home-services__card:hover .home-services__card-text {
    opacity: 0.9;
  }

  .home-services__card:hover .home-services__icon {
    opacity: 1;
    transform: translateY(-2px);
  }

  .home-services__card:hover .home-services__arrow {
    transform: translateX(6px);
  }
}

.home-services__card:focus-visible .home-services__corner--top-horizontal,
.home-services__card:focus-visible .home-services__corner--bottom-horizontal {
  clip-path: inset(0);
}

.home-services__card:focus-visible .home-services__corner--top-vertical,
.home-services__card:focus-visible .home-services__corner--bottom-vertical {
  clip-path: inset(0);
}

.home-services__card:focus-visible .home-services__rule,
.home-services__card:focus-visible .home-services__card-text {
  opacity: 0.9;
}

.home-services__card:focus-visible .home-services__icon {
  opacity: 1;
  transform: translateY(-2px);
}

.home-services__card:focus-visible .home-services__arrow {
  transform: translateX(6px);
}

.home-services__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: clamp(44px, 8vw, 112px);
  align-items: end;
  padding-top: clamp(48px, 6vw, 76px);
}

.home-services__title {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.25rem, 3.65vw, 3.75rem);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.043em;
  line-height: 1.07;
}

.home-services__side {
  justify-self: end;
  max-width: 390px;
}

.home-services__intro {
  margin: 0 0 18px;
  color: #4f586b;
  font-size: var(--temida-text-nav);
  line-height: 1.65;
}

.home-services__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  color: var(--temida-navy);
  font-size: var(--temida-text-nav);
  font-weight: var(--temida-weight-medium);
  line-height: 1.4;
  text-decoration: none;
}

.home-services__link-label {
  position: relative;
}

.home-services__link-label::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--temida-ease-out);
}

.home-services__link-line {
  width: 38px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--temida-blue);
  transform: scaleX(0.68);
  transform-origin: left;
  transition: transform 0.34s var(--temida-ease-out);
}

.home-services__link:hover .home-services__link-label::after,
.home-services__link:focus-visible .home-services__link-label::after,
.home-services__link:hover .home-services__link-line,
.home-services__link:focus-visible .home-services__link-line {
  transform: scaleX(1);
}

.home-process {
  overflow: hidden;
  padding-block: clamp(56px, 5vw, 64px) clamp(72px, 7vw, 96px);
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: var(--temida-white);
}

.home-process__inner {
  display: grid;
  width: 100%;
  max-width: 1920px;
  min-height: clamp(390px, 30vw, 430px);
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  margin-inline: auto;
}

.home-process__media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #e5e7eb;
}

.home-process__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 28, 49, 0) 30%,
    rgba(21, 28, 49, 0.22) 58%,
    rgba(21, 28, 49, 0.88) 100%
  );
  content: "";
  pointer-events: none;
}

.home-process__media--placeholder {
  background: #e9ebef;
}

.home-process__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-process__placeholder-note {
  position: absolute;
  z-index: 3;
  top: 24%;
  right: 28px;
  left: 28px;
  color: #667085;
  font-size: var(--temida-text-small);
  line-height: 1.55;
  text-align: center;
}

.home-process__caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(30px, 3.2vw, 48px);
}

.home-process__eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6875rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-process__title {
  max-width: 22ch;
  margin: 0;
  color: var(--temida-white);
  font-size: clamp(1.45rem, 1.08rem + 0.98vw, 2.15rem);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.home-process__intro {
  max-width: 45ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8125rem;
  line-height: 1.58;
}

.home-process__steps {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--temida-border);
  border-bottom: 1px solid var(--temida-border);
  background: var(--temida-white);
  list-style: none;
}

.home-process__step {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: clamp(42px, 4vw, 58px) clamp(22px, 2.5vw, 34px);
  text-align: center;
}

.home-process__step + .home-process__step::before {
  position: absolute;
  top: 17%;
  bottom: 17%;
  left: 0;
  width: 1px;
  background: rgba(21, 28, 49, 0.28);
  content: "";
}

.home-process__icon {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
  opacity: 0.72;
}

.home-process__copy {
  margin-top: clamp(52px, 5vw, 76px);
}

.home-process__copy h3 {
  max-width: 17ch;
  margin: 0 auto;
  color: var(--temida-navy);
  font-size: clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.home-process__copy p {
  max-width: 25ch;
  margin: 14px auto 0;
  color: var(--temida-muted);
  font-size: 0.8125rem;
  line-height: 1.58;
}

.home-saldeo {
  position: relative;
  overflow: hidden;
  color: var(--temida-white);
  background: #11192f;
}

.home-saldeo::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  pointer-events: none;
}

.home-saldeo__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 96px);
  max-width: 1560px;
  padding-block: clamp(78px, 6vw, 104px) clamp(54px, 5vw, 76px);
  margin-inline: auto;
}

.home-saldeo__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(72px, 9vw, 150px);
  align-items: center;
}

.home-saldeo__copy {
  max-width: 660px;
}

.home-saldeo__eyebrow {
  margin: 0 0 24px;
  color: #91b9ee;
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-saldeo__title {
  max-width: 12ch;
  margin: 0;
  color: var(--temida-white);
  font-size: clamp(2.75rem, 4.2vw, 4.8rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.home-saldeo__content {
  max-width: 52ch;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.72;
}

.home-saldeo__content > :first-child {
  margin-top: 0;
}

.home-saldeo__content > :last-child {
  margin-bottom: 0;
}

.home-saldeo__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  margin-top: 36px;
  color: var(--temida-navy);
  background: var(--temida-white);
  font-size: 0.72rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.24s var(--temida-ease-out), background-color 0.24s var(--temida-ease-out);
}

.home-saldeo__link::after {
  width: 30px;
  height: 1px;
  flex: 0 0 30px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0.62);
  transform-origin: left;
  transition: background-color 0.24s var(--temida-ease-out), transform 0.24s var(--temida-ease-out);
}

.home-saldeo__link:hover,
.home-saldeo__link:focus-visible {
  color: var(--temida-white);
  background: var(--temida-blue);
}

.home-saldeo__link:hover::after,
.home-saldeo__link:focus-visible::after {
  background: var(--temida-white);
  transform: scaleX(1);
}

.home-saldeo__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.home-saldeo__store {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s var(--temida-ease-out), transform 0.2s var(--temida-ease-out);
}

.home-saldeo__store:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.home-saldeo__store:focus-visible {
  outline: 2px solid #91b9ee;
  outline-offset: 4px;
}

.home-saldeo__badge,
.home-saldeo__badge-svg {
  display: block;
  height: 40px;
}

.home-saldeo__badge--app-store {
  width: 120px;
}

.home-saldeo__badge--google-play {
  width: 135px;
}

.home-saldeo__badge-svg {
  width: 100%;
}

.home-saldeo__visual {
  display: grid;
  min-width: 0;
  min-height: 570px;
  place-items: center;
}

.home-saldeo__picture {
  display: block;
  width: 100%;
  text-align: center;
}

.home-saldeo__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 570px;
  margin-inline: auto;
  object-fit: contain;
}

.home-saldeo__device {
  position: relative;
  width: min(300px, 78%);
  aspect-ratio: 0.52;
  border: 8px solid #070b16;
  border-radius: 46px;
  background: #070b16;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.36);
}

.home-saldeo__speaker {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 50%;
  width: 54px;
  height: 5px;
  border-radius: 10px;
  background: #0a0f1d;
  transform: translateX(-50%);
}

.home-saldeo__screen {
  position: absolute;
  inset: 8px;
  overflow: hidden;
  padding: 42px 20px 24px;
  border-radius: 32px;
  color: var(--temida-navy);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fc 100%);
  text-align: left;
}

.home-saldeo__wordmark {
  margin: 0 0 40px;
  color: #456b9b;
  font-size: 1rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: -0.025em;
}

.home-saldeo__wordmark span {
  display: inline-block;
  padding: 2px 4px;
  margin-left: 3px;
  color: #ffffff;
  background: #f2a23a;
  font-size: 0.45rem;
  letter-spacing: 0;
  vertical-align: 2px;
}

.home-saldeo__screen-label {
  margin: 0 0 6px;
  color: #7b8496;
  font-size: 0.55rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-saldeo__screen-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: var(--temida-weight-semibold);
}

.home-saldeo__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  padding: 18px;
  margin-top: 18px;
  border-radius: 12px;
  color: #ffffff;
  background: #627fce;
}

.home-saldeo__summary span {
  grid-column: 1 / -1;
  font-size: 0.52rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.09em;
  opacity: 0.78;
  text-transform: uppercase;
}

.home-saldeo__summary strong {
  font-size: 2rem;
  font-weight: var(--temida-weight-medium);
  line-height: 1;
}

.home-saldeo__summary small {
  align-self: end;
  padding-bottom: 2px;
  font-size: 0.62rem;
  opacity: 0.8;
}

.home-saldeo__documents {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.home-saldeo__documents span {
  display: block;
  height: 52px;
  border: 1px solid #e3e7f0;
  border-radius: 9px;
  background:
    linear-gradient(90deg, #d9e3f8 0 28px, transparent 28px),
    linear-gradient(#dfe3ea 0 0) 44px 17px / 52% 4px no-repeat,
    linear-gradient(#edf0f5 0 0) 44px 28px / 36% 4px no-repeat,
    #ffffff;
}

.home-saldeo__status {
  position: absolute;
  z-index: 4;
  right: 64%;
  bottom: 72px;
  display: grid;
  width: 210px;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 10px;
  color: var(--temida-navy);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  text-align: left;
}

.home-saldeo__status > span {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #2f8b67;
  background: #e4f5ed;
  font-size: 0.9rem;
  place-items: center;
}

.home-saldeo__status p {
  margin: 0;
}

.home-saldeo__status strong,
.home-saldeo__status small {
  display: block;
}

.home-saldeo__status strong {
  font-size: 0.68rem;
  line-height: 1.35;
}

.home-saldeo__status small {
  margin-top: 3px;
  color: #798295;
  font-size: 0.56rem;
  line-height: 1.35;
}

.home-saldeo__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  padding-top: 26px;
  margin: clamp(52px, 5vw, 72px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.home-saldeo__benefits li {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding-inline: 28px;
}

.home-saldeo__benefits li:first-child {
  padding-left: 0;
}

.home-saldeo__benefits li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.home-saldeo__benefits span {
  color: #91b9ee;
  font-size: 0.66rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.08em;
}

.home-saldeo__benefits p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .home-saldeo__inner {
    width: calc(100% - 48px);
  }

  .home-saldeo__main {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 56px;
  }

  .home-saldeo__title {
    font-size: clamp(2.75rem, 5.2vw, 4.25rem);
  }

  .home-saldeo__visual {
    min-height: 520px;
  }

  .home-saldeo__device {
    width: min(270px, 82%);
  }
}

@media (max-width: 820px) {
  .home-saldeo__main {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-saldeo__copy {
    max-width: 680px;
  }

  .home-saldeo__visual {
    min-height: 520px;
  }

  .home-saldeo__picture {
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .home-saldeo__inner {
    width: calc(100% - 40px);
    padding-block: 68px 58px;
  }

  .home-saldeo::before {
    background-size: 56px 56px;
  }

  .home-saldeo__title {
    font-size: clamp(2.45rem, 11vw, 3.35rem);
  }

  .home-saldeo__content {
    margin-top: 26px;
    font-size: 0.9rem;
  }

  .home-saldeo__link {
    width: 100%;
    justify-content: space-between;
  }

  .home-saldeo__visual {
    min-height: 470px;
  }

  .home-saldeo__device {
    width: min(250px, 76vw);
  }

  .home-saldeo__status {
    right: 48%;
    bottom: 62px;
    width: 180px;
  }

  .home-saldeo__benefits {
    grid-template-columns: 1fr;
    padding-top: 0;
    margin-top: 42px;
  }

  .home-saldeo__benefits li,
  .home-saldeo__benefits li:first-child {
    padding: 20px 0;
  }

  .home-saldeo__benefits li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }
}

/* SaldeoSMART — wariant A: jasny, bezpośredni */
.home-saldeo {
  overflow: hidden;
  border-top: 1px solid var(--temida-border);
  border-bottom: 1px solid var(--temida-border);
  color: var(--temida-navy);
  background: var(--temida-white);
}

.home-saldeo::before {
  display: none;
}

.home-saldeo__inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

.home-saldeo__main {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.08fr) minmax(450px, 0.92fr);
  gap: 0;
  align-items: stretch;
}

.home-saldeo__copy {
  display: flex;
  max-width: none;
  flex-direction: column;
  justify-content: center;
  padding: 62px clamp(48px, 6vw, 96px);
}

.home-saldeo__eyebrow {
  margin: 0 0 18px;
  color: var(--temida-blue);
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-saldeo__title {
  max-width: 13ch;
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(2.625rem, 4.6vw, 4.125rem);
  font-weight: 330;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.home-saldeo__title-main,
.home-saldeo__title-accent {
  display: block;
}

.home-saldeo__title-accent {
  color: var(--temida-blue);
}

.home-saldeo__content {
  max-width: 610px;
  margin-top: 24px;
  color: var(--temida-muted);
  font-size: 1rem;
  font-weight: var(--temida-weight-regular);
  line-height: 1.65;
}

.home-saldeo__benefits {
  display: grid;
  max-width: 610px;
  grid-template-columns: 1fr;
  padding: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--temida-border);
  list-style: none;
}

.home-saldeo__benefits li,
.home-saldeo__benefits li:first-child {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 16px;
  padding: 0;
  border-bottom: 1px solid var(--temida-border);
}

.home-saldeo__benefits li + li {
  border-top: 0;
  border-left: 0;
}

.home-saldeo__benefits span {
  width: 18px;
  height: 1px;
  flex: 0 0 18px;
  background: var(--temida-blue);
}

.home-saldeo__benefits p {
  margin: 0;
  color: #343b4b;
  font-size: 0.875rem;
  font-weight: var(--temida-weight-medium);
  line-height: 1.45;
}

.home-saldeo__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 30px;
}

.home-saldeo__link {
  min-height: 40px;
  gap: 20px;
  padding: 0;
  margin: 0;
  color: var(--temida-navy);
  background: transparent;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.home-saldeo__link::after {
  width: 28px;
  flex-basis: 28px;
  background: var(--temida-blue);
  transform: none;
}

.home-saldeo__link:hover,
.home-saldeo__link:focus-visible {
  color: var(--temida-blue);
  background: transparent;
}

.home-saldeo__link:hover::after,
.home-saldeo__link:focus-visible::after {
  background: currentColor;
  transform: scaleX(1.25);
}

.home-saldeo__stores {
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
}

.home-saldeo__store {
  min-height: 40px;
}

.home-saldeo__store:focus-visible {
  outline-color: var(--temida-blue);
}

.home-saldeo__badge,
.home-saldeo__badge-svg {
  height: 36px;
}

.home-saldeo__badge--app-store {
  width: 108px;
}

.home-saldeo__badge--google-play {
  width: 122px;
}

.home-saldeo__visual {
  position: relative;
  display: block;
  min-height: 650px;
  overflow: hidden;
  background: #f7f8fa;
}

.home-saldeo__visual::before {
  position: absolute;
  top: 92px;
  left: 50%;
  width: min(470px, 68%);
  aspect-ratio: 1;
  border: 1px solid rgba(95, 128, 199, 0.18);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.home-saldeo__picture {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: auto;
  max-width: none;
}

.home-saldeo__image {
  position: absolute;
  right: -8%;
  bottom: -34px;
  display: block;
  width: min(112%, 720px);
  max-width: none;
  height: 680px;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
}

.home-saldeo__device {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(290px, 58%);
  transform: translate(-50%, -50%);
}

@media (max-width: 1180px) {
  .home-saldeo__main {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  }

  .home-saldeo__copy {
    padding-inline: 48px;
  }

  .home-saldeo__title {
    font-size: clamp(2.7rem, 5vw, 3.7rem);
  }

  .home-saldeo__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .home-saldeo__main {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-saldeo__copy {
    padding: 64px 40px 52px;
  }

  .home-saldeo__title {
    max-width: 14ch;
  }

  .home-saldeo__actions {
    align-items: center;
    flex-direction: row;
    gap: 20px 28px;
  }

  .home-saldeo__visual {
    min-height: 520px;
  }

  .home-saldeo__visual::before {
    top: 58px;
    width: min(440px, 64%);
  }

  .home-saldeo__image {
    right: auto;
    bottom: -30px;
    left: 50%;
    width: min(94%, 590px);
    height: 560px;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .home-saldeo__copy {
    padding: 52px 20px 44px;
  }

  .home-saldeo__eyebrow {
    margin-bottom: 16px;
  }

  .home-saldeo__title {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 1.06;
  }

  .home-saldeo__content {
    margin-top: 20px;
    font-size: 0.9375rem;
  }

  .home-saldeo__benefits {
    margin-top: 24px;
  }

  .home-saldeo__benefits li,
  .home-saldeo__benefits li:first-child {
    min-height: 46px;
  }

  .home-saldeo__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

  .home-saldeo__link {
    width: auto;
    min-height: 36px;
    justify-content: flex-start;
  }

  .home-saldeo__stores {
    max-width: 100%;
  }

  .home-saldeo__visual {
    min-height: 430px;
  }

  .home-saldeo__visual::before {
    top: 44px;
    width: min(330px, 78%);
  }

  .home-saldeo__image {
    bottom: -22px;
    width: min(110%, 470px);
    height: 470px;
  }

  .home-saldeo__device {
    width: min(230px, 66%);
  }
}

.home-team {
  --home-flow-arc-size: min(58vw, 820px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: linear-gradient(118deg, #fbfcfe 0%, #f4f8fd 58%, #f8fafc 100%);
  isolation: isolate;
}

.home-team::before,
.home-team::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(82, 132, 218, 0.23);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-team::before {
  right: -9%;
  bottom: max(-517px, -36.54vw);
  width: var(--home-flow-arc-size);
  aspect-ratio: 1;
}

.home-team::after {
  right: 18%;
  bottom: max(-440px, -30vw);
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-color: rgba(82, 132, 218, 0.16);
}

.home-team__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 96px);
  max-width: 1560px;
  padding-block: clamp(76px, 6vw, 96px) clamp(80px, 6.5vw, 104px);
  margin-inline: auto;
}

.home-team__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(56px, 7vw, 120px);
  align-items: center;
}

.home-team__aside {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
}

.home-team__header {
  max-width: 480px;
}

.home-team__eyebrow {
  margin: 0 0 22px;
  color: var(--temida-muted);
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-team__title {
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(2.65rem, 3.35vw, 3.9rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.home-team__intro {
  max-width: 35ch;
  margin: 26px 0 0;
  color: var(--temida-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

.home-team__grid {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  gap: clamp(36px, 4vw, 72px);
  align-items: start;
  justify-content: center;
  justify-self: end;
}

.home-team__grid::before {
  position: absolute;
  z-index: 0;
  top: clamp(90px, 6.9vw, 125px);
  right: 4%;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 128, 199, 0.3) 12%, rgba(95, 128, 199, 0.3) 88%, transparent);
  content: "";
  pointer-events: none;
}

.home-team__grid--count-1 {
  width: min(100%, 320px);
  grid-template-columns: 1fr;
  justify-self: center;
}

.home-team__grid--count-2 {
  grid-template-columns: repeat(2, minmax(220px, 320px));
}

.home-team__grid--count-3 {
  max-width: 840px;
  grid-template-columns: repeat(3, minmax(180px, 250px));
  gap: clamp(24px, 2.5vw, 40px);
}

.home-team__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  min-width: 0;
  justify-self: center;
  transition: transform 560ms var(--temida-ease-out);
}

.home-team__portrait {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 18px 24px rgba(21, 28, 49, 0.08));
  transition: filter 560ms var(--temida-ease-out), transform 560ms var(--temida-ease-out);
}

.home-team__portrait--placeholder {
  display: grid;
  place-items: center;
  background: #f5f7fa;
}

.home-team__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  transition: transform 720ms var(--temida-ease-out);
}

.home-team__placeholder-label {
  max-width: 80%;
  color: rgba(21, 28, 49, 0.38);
  font-size: 0.6875rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.home-team__person {
  padding: 24px 12px 0;
  text-align: center;
}

.home-team__person h3 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(1.4rem, 1.22rem + 0.55vw, 1.75rem);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.home-team__person h3::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--temida-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .home-team__card:hover {
    transform: translate3d(0, -7px, 0);
  }

  .home-team__card:hover .home-team__portrait {
    filter: drop-shadow(0 24px 30px rgba(21, 28, 49, 0.13));
  }

  .home-team__card:hover .home-team__image {
    transform: scale(1.018);
  }

  .home-team__card:hover .home-team__person h3::after {
    transform: scaleX(1);
  }
}

.temida-motion-ready .home-team::before,
.temida-motion-ready .home-team::after {
  opacity: 0;
  transform: scale(0.9);
  transform-origin: center;
  transition: opacity 620ms ease 160ms, transform 1050ms cubic-bezier(0.22, 1, 0.36, 1) 160ms;
}

.temida-motion-ready .home-team.is-motion-visible::before,
.temida-motion-ready .home-team.is-motion-visible::after {
  opacity: 1;
  transform: scale(1);
}

.temida-motion-ready .home-team__grid::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1050ms cubic-bezier(0.22, 1, 0.36, 1) 260ms;
}

.temida-motion-ready .home-team.is-motion-visible .home-team__grid::before {
  transform: scaleX(1);
}

.temida-motion-ready .home-team__card .home-team__image {
  transform: scale(1.045);
}

.temida-motion-ready .home-team__card.is-motion-visible .home-team__image {
  transform: scale(1);
}

.home-team__person p {
  margin: 10px 0 0;
  color: var(--temida-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-team__link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  gap: 20px;
  align-items: center;
  padding-inline: 2px;
  margin-top: clamp(48px, 5vw, 72px);
  color: var(--temida-navy);
  font-size: 0.75rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-team__link::after {
  width: 34px;
  height: 1px;
  flex: 0 0 34px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0.55);
  transform-origin: left;
  transition: transform 0.32s var(--temida-ease-out);
}

.home-team__link:hover::after,
.home-team__link:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 1180px) {
  .home-team__inner {
    width: calc(100% - 48px);
    max-width: 1560px;
  }

  .home-team__layout {
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: start;
  }

  .home-team__aside {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: end;
  }

  .home-team__header {
    max-width: 620px;
  }

  .home-team__title {
    font-size: clamp(2.65rem, 6vw, 4rem);
  }

  .home-team__link {
    justify-self: end;
    margin-top: 0;
    margin-bottom: 2px;
  }

  .home-team__grid {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .home-team__grid::before {
    display: none;
  }

  .home-team__grid--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-team__grid--count-3 .home-team__card:last-child {
    width: calc(50% - 11px);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .home-team {
    --home-flow-arc-size: min(118vw, 640px);
  }

  .home-team::before {
    right: -46%;
    bottom: max(-403px, -74.34vw);
  }

  .home-team::after {
    display: none;
  }

  .home-team__inner {
    width: calc(100% - 40px);
    max-width: 1560px;
    padding-block: 72px 76px;
  }

  .home-team__layout {
    gap: 42px;
  }

  .home-team__aside {
    display: flex;
    gap: 0;
    align-items: flex-start;
  }

  .home-team__title {
    max-width: 12ch;
    font-size: clamp(2.4rem, 11vw, 3.25rem);
  }

  .home-team__link {
    margin-top: 32px;
  }
}

@media (max-width: 620px) {
  .home-team__grid,
  .home-team__grid--count-2,
  .home-team__grid--count-3 {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .home-team__grid--count-3 .home-team__card:last-child {
    width: auto;
    grid-column: auto;
  }

  .home-team__card {
    max-width: 320px;
  }
}

.home-certificates {
  --home-flow-arc-size: min(58vw, 820px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--temida-border);
  color: #fff;
  background: var(--temida-navy);
  isolation: isolate;
}

.home-certificates::before,
.home-certificates::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(126, 162, 238, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-certificates::before {
  top: max(-303px, -21.46vw);
  right: -9%;
  width: var(--home-flow-arc-size);
  aspect-ratio: 1;
}

.home-certificates::after {
  right: 18%;
  bottom: -92%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
}

.home-certificates__inner {
  display: grid;
  width: calc(100% - 96px);
  max-width: 1740px;
  min-height: 410px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.72fr);
  gap: clamp(56px, 7vw, 138px);
  align-items: center;
  padding-block: clamp(48px, 4.6vw, 78px);
  margin-inline: auto;
}

.home-certificates__header {
  max-width: 440px;
  margin: 0;
  text-align: left;
}

.home-certificates__eyebrow {
  margin: 0 0 17px;
  color: var(--temida-blue);
  font-size: 0.6875rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-certificates__title {
  max-width: 430px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.125rem, 3.2vw, 3.375rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.home-certificates__intro {
  max-width: 390px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  line-height: 1.65;
}

.home-certificates__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(var(--certificate-count, 3), minmax(0, 1fr));
  gap: clamp(26px, 4vw, 74px);
  align-items: end;
}

.home-certificates__item {
  min-width: 0;
}

.home-certificates__body {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 2px 18px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: transform 420ms var(--temida-ease-out);
}

.home-certificates__body::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
  transition: height 260ms var(--temida-ease-out), background-color 260ms ease;
}

a.home-certificates__body:hover,
a.home-certificates__body:focus-visible {
  transform: translateY(-7px);
}

a.home-certificates__body:hover::after,
a.home-certificates__body:focus-visible::after {
  height: 2px;
  background: var(--temida-blue);
}

a.home-certificates__body:focus-visible {
  outline: 2px solid var(--temida-blue);
  outline-offset: 8px;
}

.home-certificates__visual {
  display: grid;
  width: 100%;
  height: 112px;
  margin-bottom: 30px;
  align-items: center;
  justify-items: start;
}

.home-certificates__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 108px;
  opacity: 0.78;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  transition: opacity 260ms ease, transform 420ms var(--temida-ease-out);
}

.home-certificates__item:nth-child(1) .home-certificates__image {
  width: min(72%, 190px);
}

.home-certificates__item:nth-child(2) .home-certificates__image {
  width: min(95%, 300px);
}

.home-certificates__item:nth-child(3) .home-certificates__image {
  width: min(88%, 230px);
}

.home-certificates__item--original-colours .home-certificates__image {
  opacity: 1;
  filter: none;
}

a.home-certificates__body:hover .home-certificates__image,
a.home-certificates__body:focus-visible .home-certificates__image {
  opacity: 1;
  transform: scale(1.035);
}

.home-certificates__mark {
  display: grid;
  min-width: 68px;
  min-height: 68px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: #fff;
  font-size: 0.875rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.08em;
  place-items: center;
}

.home-certificates__mark--year {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: clamp(2rem, 2.5vw, 2.75rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.035em;
}

.home-certificates__copy {
  min-width: 0;
}

.home-certificates__type {
  margin: 0 0 7px;
  color: var(--temida-blue);
  font-size: 0.5625rem;
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-certificates__body h3 {
  max-width: 24ch;
  margin: 0;
  color: #fff;
  font-size: clamp(0.9375rem, 1.15vw, 1.1875rem);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: -0.015em;
  line-height: 1.35;
}

@media (max-width: 1040px) {
  .home-certificates__inner {
    width: calc(100% - 48px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-certificates__header,
  .home-certificates__title,
  .home-certificates__intro {
    max-width: 650px;
  }
}

@media (max-width: 700px) {
  .home-certificates {
    --home-flow-arc-size: min(118vw, 640px);
  }

  .home-certificates::before {
    top: max(-237px, -43.66vw);
    right: -46%;
  }

  .home-certificates__inner {
    width: calc(100% - 40px);
    gap: 30px;
    padding-block: 52px 58px;
  }

  .home-certificates__header {
    text-align: left;
  }

  .home-certificates__title {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .home-certificates__intro {
    margin-top: 16px;
  }

  .home-certificates__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-certificates__body {
    display: grid;
    min-height: 142px;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding-block: 14px 18px;
  }

  .home-certificates__visual {
    height: 80px;
    margin: 0;
  }

  .home-certificates__image {
    max-height: 78px;
  }

  .home-certificates__item:nth-child(1) .home-certificates__image,
  .home-certificates__item:nth-child(2) .home-certificates__image,
  .home-certificates__item:nth-child(3) .home-certificates__image {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-team__link::after {
    transition: none;
  }

  .home-certificates__body,
  .home-certificates__body::after,
  .home-certificates__image {
    transition: none;
  }
}

/* Home: contact and map */
.home-contact {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-top: 1px solid var(--temida-border);
  background: #e9ecf1;
  isolation: isolate;
}

.home-contact__map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e9ecf1;
  pointer-events: auto;
}

.home-contact__map iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.62) contrast(.94) brightness(1.04);
  pointer-events: auto !important;
  touch-action: auto;
}

.home-contact__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 240ms ease;
}

.home-contact__map.is-enhanced .home-contact__canvas {
  opacity: 1;
}

.home-contact__map.is-enhanced .home-contact__fallback-map {
  display: none;
}

.home-contact__map-label {
  position: absolute;
  z-index: 3;
  top: 35px;
  right: clamp(30px, 4vw, 76px);
  margin: 0;
  color: rgba(21, 28, 49, .58);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-contact__card {
  position: absolute;
  z-index: 5;
  bottom: 52px;
  left: clamp(30px, 5vw, 92px);
  width: min(510px, calc(100% - 60px));
  min-height: 476px;
  padding: clamp(42px, 4.3vw, 68px);
  color: var(--temida-white);
  background: rgba(21, 28, 49, .975);
  box-shadow: 0 28px 70px rgba(21, 28, 49, .2);
}

.home-contact__eyebrow {
  margin: 0 0 18px;
  color: #cbd8f2;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-contact__title {
  max-width: 390px;
  margin: 0;
  color: var(--temida-white);
  font-size: clamp(2.125rem, 3.2vw, 3.25rem);
  font-weight: 340;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.home-contact__intro {
  max-width: 390px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .72);
  font-size: .875rem;
  line-height: 1.6;
}

.home-contact__intro > :first-child {
  margin-top: 0;
}

.home-contact__intro > :last-child {
  margin-bottom: 0;
}

.home-contact__details {
  display: grid;
  gap: 7px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.home-contact__intro + .home-contact__details {
  margin-top: 26px;
}

.home-contact__details address,
.home-contact__details a {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .875rem;
  font-style: normal;
  line-height: 1.55;
  text-decoration: none;
  transition: color 220ms ease;
}

.home-contact__details a:hover,
.home-contact__details a:focus-visible {
  color: var(--temida-white);
}

.home-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px 28px;
  margin-top: 32px;
}

.home-contact__route,
.home-contact__contact {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--temida-white);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.home-contact__route {
  gap: 18px;
}

.home-contact__route::after {
  width: 38px;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transition: width 360ms var(--temida-ease-out);
}

.home-contact__route:hover::after,
.home-contact__route:focus-visible::after {
  width: 58px;
}

.home-contact__contact {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .34);
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.home-contact__contact:hover,
.home-contact__contact:focus-visible {
  border-color: var(--temida-white);
  color: var(--temida-navy);
  background: var(--temida-white);
}

.home-contact__route:focus-visible,
.home-contact__contact:focus-visible {
  outline-color: #cbd8f2;
}

.home-contact__marker {
  position: absolute;
  z-index: 1;
  display: block;
  width: 80px;
  height: 94px;
  transform: translate(-50%, -94px);
  pointer-events: none;
}

.home-contact__pin {
  position: relative;
  display: grid;
  width: 80px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .2);
  background: var(--temida-navy);
  box-shadow: 0 16px 34px rgba(21, 28, 49, .2);
  place-items: center;
}

.home-contact__pin::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 5px;
  background: var(--temida-blue);
  content: "";
}

.home-contact__pin::after {
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 28px;
  height: 15px;
  background: var(--temida-navy);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  transform: translateX(-50%);
}

.home-contact__brand {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--temida-white);
  box-shadow: 0 0 0 1px rgba(21, 28, 49, .08);
  place-items: center;
}

.home-contact__brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  max-width: none;
  height: 74px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  user-select: none;
}

.home-contact__marker--photo {
  width: 116px;
  height: 135px;
  transform: translate(-50%, -131px);
}

.home-contact__photo-pin {
  position: relative;
  display: block;
  width: 116px;
  height: 135px;
  background: transparent;
}

.home-contact__photo-pin::before {
  position: absolute;
  z-index: 2;
  top: 104px;
  left: 51px;
  width: 14px;
  height: 22px;
  background: var(--temida-navy);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
}

.home-contact__photo-pin::after {
  position: absolute;
  z-index: 3;
  top: 128px;
  left: 54px;
  width: 8px;
  height: 3px;
  border-radius: 50%;
  background: rgba(21, 28, 49, .28);
  content: "";
}

.home-contact__photo-frame {
  position: absolute;
  top: 0;
  left: 6px;
  display: block;
  width: 104px;
  height: 104px;
  border: 4px solid var(--temida-white);
  border-radius: 2px;
  outline: 1px solid rgba(21, 28, 49, .78);
  background-color: #e9ecf1;
  background-image: url("assets/images/temida-biuro-bielsko-photo.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 150% auto;
  box-shadow: 0 9px 20px rgba(21, 28, 49, .16);
}

.home-contact__marker-card {
  position: absolute;
  top: 114px;
  left: 50%;
  width: 248px;
  padding: 17px 19px 16px;
  color: var(--temida-navy);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 32px rgba(21, 28, 49, .12);
  transform: translateX(-50%);
}

.home-contact__marker-card strong,
.home-contact__marker-card span {
  display: block;
}

.home-contact__marker-card strong {
  margin-bottom: 4px;
  font-size: .6875rem;
  font-weight: 750;
  letter-spacing: .05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-contact__marker-card span {
  color: #929bad;
  font-size: .625rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .home-contact {
    display: grid;
    min-height: 0;
    background: var(--temida-off-white);
  }

  .home-contact__map {
    position: relative;
    min-height: 420px;
  }

  .home-contact__map iframe {
    inset: 0;
  }

  .home-contact__map-label {
    top: 22px;
    right: 22px;
  }

  .home-contact__card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    padding: 50px 28px 56px;
    box-shadow: none;
  }

  .home-contact__marker {
    transform: translate(-50%, -90px) scale(.86);
    transform-origin: 50% 100%;
  }

  .home-contact__marker--photo {
    transform: translate(-50%, -131px) scale(.86);
  }
}

@media (max-width: 560px) {
  .home-contact__map {
    min-height: 350px;
  }

  .home-contact__marker-card {
    display: none;
  }

  .home-contact__title {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-contact__canvas,
  .home-contact__details a,
  .home-contact__route::after,
  .home-contact__contact {
    transition: none;
  }
}

@keyframes home-trust-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.content-shell {
  padding-block: clamp(48px, 8vw, 112px);
}

.entry-header,
.entry-content,
.entry-thumbnail,
.archive-header,
.posts-list,
.pagination,
.empty-content {
  width: min(calc(100% - 40px), var(--temida-container));
  margin-inline: auto;
}

.entry-content {
  max-width: var(--temida-content);
}

.entry-title,
.archive-title {
  margin-top: 0;
  line-height: 1.15;
}

.entry-date,
.post-card__date {
  color: var(--temida-muted);
  font-size: 0.875rem;
}

.entry-thumbnail {
  margin-block: 32px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.posts-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.post-card {
  border: 1px solid var(--temida-border);
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--temida-off-white);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__content {
  padding: 24px;
}

.post-card__title {
  margin-bottom: 12px;
  line-height: 1.25;
}

.post-card__title a {
  text-decoration: none;
}

.pagination {
  margin-top: 48px;
}

.site-footer {
  padding: 64px 0 28px;
  color: var(--temida-white);
  background: var(--temida-navy);
}

.site-footer__inner {
  display: block;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(230px, 1.18fr) repeat(3, minmax(118px, .58fr)) minmax(218px, .9fr);
  gap: clamp(24px, 3.2vw, 52px);
  padding-bottom: 62px;
}

.site-footer__brand-link {
  display: block;
  width: min(100%, 310px);
}

.site-footer__brand-link img {
  width: 100%;
  height: auto;
  opacity: .94;
}

.site-footer__brand > p {
  max-width: 30ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .875rem;
  line-height: 1.7;
}

.site-footer__registry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 24px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__registry div {
  min-width: 0;
}

.site-footer__registry dt,
.site-footer__registry dd {
  margin: 0;
}

.site-footer__registry dt {
  margin-bottom: 3px;
  color: rgba(142, 168, 223, .78);
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.site-footer__registry dd {
  color: rgba(255, 255, 255, .7);
  font-size: .75rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.site-footer__label {
  margin: 0 0 20px;
  color: #8ea8df;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-menu,
.legal-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.footer-menu a,
.legal-menu a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: rgba(255, 255, 255, .72);
  font-size: .8125rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible,
.legal-menu a:hover,
.legal-menu a:focus-visible {
  color: var(--temida-white);
}

.footer-menu a:focus-visible,
.legal-menu a:focus-visible,
.site-footer__brand-link:focus-visible {
  outline-color: #8ea8df;
}

.site-footer__office address,
.site-footer__office > p:not(.site-footer__label) {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .8125rem;
  font-style: normal;
  line-height: 1.65;
}

.site-footer__contact-list {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.site-footer__contact-list a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: var(--temida-white);
  font-size: .8125rem;
  font-weight: 550;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.site-footer__contact-list a:hover,
.site-footer__contact-list a:focus-visible {
  color: #a8bce7;
}

.site-footer__contact-list a:focus-visible,
.site-footer__language:focus-visible {
  outline-color: #8ea8df;
}

.site-footer__office > p:not(.site-footer__label) {
  margin-top: 17px;
  color: rgba(255, 255, 255, .48);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .46);
  font-size: .625rem;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.legal-menu a {
  color: rgba(255, 255, 255, .5);
  font-size: inherit;
}

.site-footer__language {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: rgba(255, 255, 255, .58);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
}

.site-footer__language:hover,
.site-footer__language:focus-visible {
  color: var(--temida-white);
}

@media (max-width: 900px) {
  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 56px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

}

@media (max-width: 560px) {
  .site-footer {
    padding: 48px 0 24px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 44px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__brand-link {
    width: 250px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Klienci — referencje, filtry i edytowalne placeholdery. */
.clients-archive {
  overflow: clip;
  background: var(--temida-white);
  color: var(--temida-navy);
}

.clients-hero {
  position: relative;
  min-height: 530px;
  background: #0b0c10;
}

.clients-hero__media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: #0b0c10;
  background-image: var(--clients-hero-image, none);
  background-position: center;
  background-size: cover;
}

.clients-hero.has-image .clients-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 12, 0.32), rgba(5, 7, 12, 0.08));
  content: "";
}

.clients-hero__media > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.clients-hero__title {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(31vw, 400px);
  min-height: 150px;
  place-items: center;
  margin: 0;
  padding: 26px 62px;
  background: var(--temida-blue);
  clip-path: polygon(24% 0, 100% 0, 79% 100%, 0 100%);
  color: #fff;
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-align: center;
}

.clients-intro {
  padding: clamp(58px, 5.5vw, 74px) 0 clamp(20px, 2vw, 28px);
  background: var(--temida-white);
}

.clients-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.6fr);
  column-gap: clamp(56px, 8vw, 122px);
  align-items: start;
}

.clients-intro h2 {
  grid-column: 2;
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.clients-filters {
  display: flex;
  grid-column: 1 / -1;
  gap: clamp(22px, 3vw, 48px);
  align-items: center;
  margin-top: clamp(32px, 3.5vw, 46px);
  padding-bottom: 1px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.clients-filters button {
  position: relative;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
  color: rgba(21, 28, 49, 0.58);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  cursor: pointer;
}

.clients-filters button::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.clients-filters button:hover,
.clients-filters button:focus-visible,
.clients-filters button[aria-pressed="true"] {
  color: var(--temida-navy);
}

.clients-filters button:hover::after,
.clients-filters button:focus-visible::after,
.clients-filters button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.clients-filters button:focus-visible {
  outline: 2px solid var(--temida-blue);
  outline-offset: 4px;
}

.clients-references {
  padding: clamp(24px, 2.8vw, 36px) 0 clamp(70px, 7vw, 96px);
  background: var(--temida-white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.clients-card {
  display: flex;
  min-height: 320px;
  grid-column: span 6;
  flex-direction: column;
  padding: clamp(34px, 3.4vw, 48px);
  background: #fff;
  border: 1px solid rgba(21, 28, 49, 0.12);
  color: var(--temida-navy);
}

.clients-card.is-wide {
  grid-column: span 7;
}

.clients-card.is-narrow {
  grid-column: span 5;
}

.clients-card.is-featured {
  background: #dbe5f6;
}

.clients-card[hidden] {
  display: none !important;
}

.clients-card__topline {
  display: flex;
  min-height: 56px;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.clients-card__logo {
  display: grid;
  width: 132px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  background: #f0f1f3;
  color: rgba(21, 28, 49, 0.4);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.clients-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.clients-card__quote-mark {
  color: #9fb5e5;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 0.72;
}

.clients-card__industry {
  margin: clamp(28px, 3vw, 44px) 0 14px;
  color: var(--temida-blue);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clients-card blockquote {
  max-width: 660px;
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.27rem);
  font-weight: 400;
  line-height: 1.55;
}

.clients-card__footer {
  display: flex;
  gap: 7px;
  flex-direction: column;
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(21, 28, 49, 0.14);
}

.clients-card__footer strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.clients-card__footer span {
  color: rgba(21, 28, 49, 0.56);
  font-size: 0.73rem;
}

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

  .clients-hero__title {
    right: 0;
    width: min(42vw, 360px);
    min-height: 130px;
    padding: 22px 50px;
  }

  .clients-intro__inner {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .clients-intro h2 {
    grid-column: 1;
  }

  .clients-filters {
    grid-column: 1;
    margin-top: 48px;
  }

  .clients-card,
  .clients-card.is-wide,
  .clients-card.is-narrow {
    min-height: 300px;
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .clients-hero {
    min-height: 330px;
  }

  .clients-hero__title {
    right: 0;
    bottom: 0;
    width: min(78vw, 300px);
    min-height: 96px;
    padding: 16px 42px;
    font-size: 2.5rem;
  }

  .clients-intro {
    padding: 44px 0 18px;
  }

  .clients-intro h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .clients-filters {
    width: calc(100% + 40px);
    gap: 26px;
    margin-top: 26px;
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 38px 0 20px;
    border-block: 1px solid #d8dee8;
    background: var(--temida-white);
    box-shadow: 0 8px 22px rgba(13, 26, 52, 0.05);
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
  }

  .clients-filters::-webkit-scrollbar {
    display: none;
  }

  .clients-filters button {
    min-height: 58px;
    padding: 0;
    scroll-snap-align: center;
  }

  .clients-filters button::after {
    bottom: -1px;
    height: 2px;
  }

  .clients-references {
    padding-block: 20px 64px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .clients-card,
  .clients-card.is-wide,
  .clients-card.is-narrow {
    min-height: 285px;
    grid-column: 1;
    padding: 30px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-filters button::after {
    transition: none;
  }
}

/* About archive */
.about-archive {
  --about-blue: var(--temida-blue);
  overflow: clip;
  background: var(--temida-white);
}

.about-archive__hero {
  position: relative;
  width: 100vw;
  max-width: none;
  min-height: 530px;
  margin-left: calc(50% - 50vw);
  background: #0b0c10;
}

.about-archive__hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: var(--about-hero-image, none);
  background-position: center;
  background-size: cover;
}

.about-archive__hero-media::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 10, 16, 0.8) 0%, rgba(8, 10, 16, 0.32) 48%, rgba(8, 10, 16, 0.68) 100%),
    radial-gradient(circle at 70% 42%, rgba(95, 128, 199, 0.2), transparent 34%);
  content: "";
}

.about-archive__hero-title {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(31vw, 400px);
  min-height: 150px;
  margin: 0;
  padding: 26px 62px;
  place-items: center;
  background: var(--about-blue);
  clip-path: polygon(24% 0, 100% 0, 79% 100%, 0 100%);
  color: var(--temida-white);
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-align: center;
}

.about-archive__panel {
  padding: 72px 0 110px;
  background: var(--temida-white);
}

.about-archive__inner {
  width: min(calc(100% - 48px), var(--temida-container));
  margin-inline: auto;
}

.about-archive__mobile-nav {
  display: none;
}

.about-archive__body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border-top: 1px solid var(--temida-border);
}

.about-archive__sidebar {
  position: relative;
  align-self: stretch;
  padding: 0 44px 48px 0;
  border-right: 1px solid #cfd6e2;
  background: var(--temida-soft-blue);
}

.about-archive__sidebar::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 100%;
  bottom: 0;
  width: 100vw;
  background: inherit;
  content: "";
}

.about-archive__sidebar-sticky {
  position: sticky;
  z-index: 1;
  top: 96px;
  max-height: calc(100vh - 116px);
  padding-top: 48px;
  overflow-y: auto;
}

.about-archive__nav-label,
.about-view__eyebrow,
.about-stat dt,
.about-history__year,
.about-card__label {
  margin: 0;
  color: var(--temida-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.about-archive__nav-label {
  color: var(--temida-navy);
}

.about-archive__nav {
  margin-top: 22px;
}

.about-archive__nav-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-archive__nav a {
  position: relative;
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  padding: 7px 0;
  color: #4c566b;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-archive__nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--about-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--temida-ease-out);
}

.about-archive__nav a:hover,
.about-archive__nav a:focus-visible {
  color: var(--temida-navy);
}

.about-archive__nav a[aria-current="page"] {
  color: var(--temida-navy);
  font-size: 1.08rem;
  font-weight: 700;
}

.about-archive__nav a:hover::after,
.about-archive__nav a:focus-visible::after,
.about-archive__nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.about-archive__content {
  min-width: 0;
  padding: 48px 0 0 80px;
}

.about-view {
  display: none;
}

.about-view.is-active {
  display: block;
  animation: about-archive-in 0.24s ease-out both;
}

@keyframes about-archive-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.about-view__header {
  position: relative;
  padding-right: min(16vw, 220px);
}

.about-view h2 {
  max-width: 800px;
  margin: 58px 0 36px;
  color: var(--temida-navy);
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.about-view__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--temida-border);
}

.about-view__intro p {
  margin: 0;
  color: #4f586d;
  font-size: 1rem;
  line-height: 1.72;
}

.about-view__intro strong {
  color: var(--temida-navy);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--temida-border);
  border-bottom: 1px solid var(--temida-border);
}

.about-stat {
  min-height: 112px;
  padding: 26px 28px 22px 0;
}

.about-stat + .about-stat {
  padding-left: 28px;
  border-left: 1px solid var(--temida-border);
}

.about-stat dd {
  margin: 10px 0 0;
  color: var(--temida-navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.about-team-card {
  margin: 0;
}

.about-team-card__photo {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  place-items: center;
  background: #edf0f5;
}

.about-team-card__photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--about-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.about-team-card:hover .about-team-card__photo::after,
.about-team-card:focus-within .about-team-card__photo::after {
  transform: scaleX(1);
}

.about-team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-team-card__placeholder {
  color: #c6ccda;
  font-size: 5rem;
  line-height: 1;
}

.about-team-card figcaption {
  padding-top: 18px;
}

.about-team-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
}

.about-team-card p {
  margin: 6px 0 0;
  color: var(--temida-muted);
  font-size: 0.86rem;
}

.about-history {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--temida-border);
}

.about-history__row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--temida-border);
}

.about-history__row h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 500;
}

.about-history__row p:not(.about-history__year) {
  max-width: 660px;
  margin: 0;
  color: var(--temida-muted);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--temida-border);
  background: var(--temida-border);
}

.about-card {
  min-height: 270px;
  padding: 30px;
  background: var(--temida-white);
}

.about-card h3 {
  margin: 58px 0 14px;
  font-size: 1.35rem;
  font-weight: 500;
}

.about-card p:not(.about-card__label) {
  margin: 0;
  color: var(--temida-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.about-certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 42px;
}

.about-certificate {
  border-bottom: 1px solid var(--temida-border);
}

.about-certificate__mark {
  display: grid;
  height: 128px;
  place-items: center;
  background: var(--temida-soft-blue);
}

.about-certificate__mark img {
  max-width: 76%;
  max-height: 82px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
}

.about-certificate__mark > span {
  color: #9aa4b9;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.about-certificate h3 {
  margin: 18px 0 20px;
  font-size: 1rem;
  font-weight: 600;
}

.about-certificate h3 a {
  color: inherit;
  text-decoration-color: var(--about-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  grid-template-rows: 250px 250px;
  gap: 16px;
  margin-top: 42px;
}

.about-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #e9ecf2;
}

.about-gallery figure:first-child {
  grid-row: 1 / 3;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery__placeholder {
  display: grid;
  height: 100%;
  padding: 20px;
  place-items: center;
  color: var(--temida-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.about-recruitment {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--temida-border);
}

.about-recruitment__lead {
  max-width: 720px;
  margin: 0 0 42px;
  color: var(--temida-muted);
  line-height: 1.75;
}

.about-recruitment__lead p {
  margin: 0;
}

.about-recruitment__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 28px;
}

.about-recruitment__website {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.about-field {
  display: grid;
  gap: 9px;
}

.about-field--full {
  grid-column: 1 / -1;
}

.about-field label,
.about-upload__label {
  color: var(--temida-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-field input:not([type="file"]),
.about-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid #aeb5c2;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--temida-navy);
  font: inherit;
  transition: border-color 0.2s ease;
}

.about-field textarea {
  min-height: 120px;
  resize: vertical;
}

.about-field input:focus,
.about-field textarea:focus {
  border-color: var(--about-blue);
  box-shadow: 0 1px 0 var(--about-blue);
}

.about-upload {
  display: grid;
  gap: 9px;
}

.about-upload__control {
  display: flex;
  min-height: 108px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px dashed #aeb5c2;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.about-upload__control:hover,
.about-upload__control:focus-within {
  border-color: var(--about-blue);
  background: rgba(95, 128, 199, 0.05);
}

.about-upload__control svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
}

.about-upload__control strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.about-upload__control small {
  display: block;
  margin-top: 4px;
  color: var(--temida-muted);
}

.about-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.about-consent {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--temida-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.about-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--about-blue);
}

.about-recruitment__actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 22px;
}

.about-recruitment__submit {
  min-width: 190px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--temida-navy);
  background: var(--temida-navy);
  color: var(--temida-white);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.about-recruitment__submit:hover,
.about-recruitment__submit:focus-visible {
  background: transparent;
  color: var(--temida-navy);
}

.about-recruitment__status {
  min-height: 24px;
  margin: 0;
  color: var(--temida-navy);
  font-size: 0.84rem;
}

.about-recruitment__status.is-error {
  color: #a52d2d;
}

.about-recruitment__status.is-success {
  color: #28633f;
}

@media (max-width: 900px) {
  .about-archive__hero {
    min-height: 430px;
  }

  .about-archive__hero-title {
    right: 0;
    bottom: 0;
    width: min(42vw, 360px);
    min-height: 130px;
    padding: 22px 50px;
  }

  .about-archive__panel {
    padding-top: 64px;
  }

  .about-archive__body {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .about-archive__sidebar {
    padding-right: 24px;
  }

  .about-archive__content {
    padding-left: 42px;
  }

  .about-view__header {
    padding-right: 0;
  }

  .about-team-grid,
  .about-cards,
  .about-certificate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-card:last-child,
  .about-certificate:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .about-archive__hero {
    min-height: 330px;
  }

  .about-archive__hero-title {
    right: 0;
    bottom: 0;
    width: min(78vw, 300px);
    min-height: 96px;
    padding: 16px 42px;
    font-size: 2.5rem;
  }

  .about-archive__panel {
    padding: 0 0 72px;
  }

  .about-archive__inner {
    width: min(calc(100% - 40px), var(--temida-container));
  }

  .about-archive__mobile-nav {
    position: sticky;
    z-index: 20;
    top: 72px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
    margin: 0 -20px 28px;
    border-block: 1px solid #d8dee8;
    background: var(--temida-white);
    box-shadow: 0 8px 22px rgba(13, 26, 52, 0.05);
  }

  .about-archive__mobile-nav-label {
    display: flex;
    align-items: center;
    padding: 0 16px 0 20px;
    border-right: 1px solid #d8dee8;
    color: var(--temida-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .about-archive__mobile-menu {
    position: relative;
    min-width: 0;
    overflow: hidden;
  }

  .about-archive__mobile-menu::before,
  .about-archive__mobile-menu::after {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 82%);
    content: "";
    pointer-events: none;
  }

  .about-archive__mobile-menu::before {
    right: auto;
    left: 0;
    background: linear-gradient(90deg, #fff 18%, rgba(255, 255, 255, 0));
  }

  .about-archive__mobile-menu ul {
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 0 38px 0 18px;
    overflow-x: auto;
    list-style: none;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .about-archive__mobile-menu ul::-webkit-scrollbar {
    display: none;
  }

  .about-archive__mobile-menu li {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .about-archive__mobile-menu a {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    color: #5d6678;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
  }

  .about-archive__mobile-menu a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--about-blue);
    content: "";
    transform: scaleX(0);
    transition: transform 0.25s var(--temida-ease-out);
  }

  .about-archive__mobile-menu a[aria-current="page"] {
    color: var(--temida-navy);
    font-weight: 700;
  }

  .about-archive__mobile-menu a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .about-archive__body {
    display: block;
    border-top: 0;
  }

  .about-archive__sidebar {
    display: none;
  }

  .about-archive__content {
    padding: 0;
    border-top: 0;
  }

  .about-view h2 {
    margin: 28px 0 24px;
    font-size: 2.45rem;
  }

  .about-view__intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0 34px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stat,
  .about-stat + .about-stat {
    min-height: auto;
    padding: 20px 0;
    border-top: 1px solid var(--temida-border);
    border-left: 0;
  }

  .about-stat:first-child {
    border-top: 0;
  }

  .about-team-grid,
  .about-cards,
  .about-certificate-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-card:last-child,
  .about-certificate:last-child {
    grid-column: auto;
  }

  .about-history__row {
    grid-template-columns: 78px 1fr;
    gap: 18px;
  }

  .about-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 310px 220px 220px;
  }

  .about-gallery figure:first-child {
    grid-row: auto;
  }

  .about-recruitment__form {
    grid-template-columns: 1fr;
  }

  .about-field--full,
  .about-consent,
  .about-recruitment__actions {
    grid-column: auto;
  }

  .about-recruitment__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-recruitment__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-view.is-active {
    animation: none;
  }

  .about-archive__nav a,
  .about-archive__nav a::after,
  .about-archive__mobile-menu a::after,
  .about-team-card__photo::after {
    transition: none;
  }
}

/* Fundacja — panel redakcyjny oparty na systemie strony O nas. */
.foundation-archive__hero {
  isolation: isolate;
  background: #080b12;
}

.foundation-archive__hero .about-archive__hero-media {
  background-position: center center;
  background-size: cover;
}

.foundation-archive__hero .about-archive__hero-media::before {
  background:
    linear-gradient(90deg, rgba(7, 10, 17, 0.62) 0%, rgba(7, 10, 17, 0.16) 48%, rgba(7, 10, 17, 0.48) 100%),
    linear-gradient(0deg, rgba(7, 10, 17, 0.36) 0%, transparent 48%);
}

.foundation-archive__content {
  padding-bottom: 96px;
}

.foundation-archive .foundation-section {
  display: block;
  padding: 84px 0 92px;
  border-bottom: 1px solid var(--temida-border);
  scroll-margin-top: 112px;
}

.foundation-archive .foundation-section:first-child {
  padding-top: 0;
}

.foundation-archive .foundation-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.foundation-archive .foundation-section .about-view__header h2 {
  margin-top: 34px;
}

.foundation-prose {
  max-width: 820px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--temida-border);
  color: #4f586d;
}

.foundation-prose--lead {
  font-size: 1.02rem;
}

.foundation-prose p {
  margin: 0;
  line-height: 1.78;
}

.foundation-prose p + p {
  margin-top: 1.35em;
}

.foundation-prose a {
  color: var(--temida-navy);
  font-weight: 600;
  text-decoration-color: var(--about-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.foundation-prose a:hover,
.foundation-prose a:focus-visible {
  color: var(--about-blue);
}

.foundation-prose + .about-stats {
  margin-top: 48px;
}

.foundation-editorial-media {
  position: relative;
  max-width: 900px;
  margin: 52px 0 0;
  overflow: hidden;
  background: #0b101a;
}

.foundation-editorial-media img {
  display: block;
  width: 100%;
  height: auto;
}

.foundation-editorial-media--identity {
  border-top: 1px solid var(--temida-border);
}

.foundation-activity-hero {
  position: relative;
  max-width: 900px;
  min-height: 520px;
  overflow: hidden;
  background: #080b12;
}

.foundation-activity-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 17, 0.86) 0%, rgba(7, 10, 17, 0.52) 52%, rgba(7, 10, 17, 0.16) 100%),
    linear-gradient(0deg, rgba(7, 10, 17, 0.58) 0%, transparent 52%);
  content: "";
}

.foundation-activity-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.foundation-activity-hero__content {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  max-width: 640px;
  justify-content: flex-end;
  padding: 54px 56px;
  flex-direction: column;
}

.foundation-archive .foundation-activity-hero__content h2 {
  margin: 28px 0 0;
  color: #fff;
  font-size: clamp(2.5rem, 4.3vw, 4.2rem);
}

.foundation-activity-hero__content .about-view__eyebrow,
.foundation-activity-hero__caption {
  color: rgba(255, 255, 255, 0.78);
}

.foundation-activity-hero__caption {
  margin: 28px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.foundation-activity-hero + .foundation-prose {
  margin-top: 0;
  padding-top: 34px;
  border-top: 0;
}

.foundation-text-wall {
  max-width: 900px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--temida-border);
}

.foundation-text-wall p {
  margin: 0;
  color: #4f586d;
  font-size: 1rem;
  line-height: 1.82;
}

.foundation-funding-intro {
  max-width: 720px;
  margin: 42px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--temida-border);
  color: var(--temida-muted);
  line-height: 1.72;
}

.foundation-funding-intro p {
  margin: 0;
}

.foundation-funding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 18px;
  margin-top: 38px;
}

.foundation-funding-card {
  margin: 0;
  border-bottom: 1px solid var(--temida-border);
}

.foundation-funding-card__media {
  overflow: visible;
  border: 1px solid #e1e5ed;
  background: #fff;
}

.foundation-funding-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.foundation-funding-card figcaption {
  min-height: 68px;
  padding: 16px 0 18px;
  color: var(--temida-navy);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .foundation-funding-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foundation-activity-hero {
    min-height: 470px;
  }
}

@media (max-width: 680px) {
  .foundation-archive__hero .about-archive__hero-media {
    background-position: 62% center;
  }

  .foundation-prose {
    margin-top: 28px;
    padding-top: 24px;
  }

  .foundation-prose + .about-stats {
    margin-top: 34px;
  }

  .foundation-editorial-media {
    margin-top: 36px;
  }

  .foundation-activity-hero {
    min-height: 440px;
  }

  .foundation-activity-hero > img {
    object-position: 48% center;
  }

  .foundation-activity-hero__content {
    padding: 34px 24px;
  }

  .foundation-archive .foundation-activity-hero__content h2 {
    margin-top: 20px;
    font-size: 2.55rem;
  }

  .foundation-activity-hero__caption {
    margin-top: 22px;
  }

  .foundation-funding-grid {
    grid-template-columns: 1fr;
  }

  .foundation-archive__content {
    padding-bottom: 60px;
  }

  .foundation-archive .foundation-section {
    padding: 62px 0 68px;
    scroll-margin-top: 150px;
  }

  .foundation-text-wall {
    margin-top: 26px;
    padding-top: 24px;
  }

  .foundation-text-wall p {
    font-size: 0.96rem;
    line-height: 1.76;
  }

}

/* Oferta — natywne archiwum usług. */
.offer-archive {
  overflow: hidden;
  background: var(--temida-white);
}

.offer-archive__hero {
  color: var(--temida-white);
  background: var(--temida-navy);
}

.offer-archive__hero-inner,
.offer-archive__catalogue,
.offer-archive__contact-inner {
  width: min(calc(100% - 64px), 1280px);
  margin-inline: auto;
}

.offer-archive__hero-inner {
  display: grid;
  min-height: clamp(500px, 62vh, 680px);
  grid-template-columns: minmax(0, 1.14fr) minmax(330px, 0.86fr);
  gap: clamp(64px, 10vw, 148px);
  align-items: end;
  padding-block: clamp(96px, 12vw, 164px) clamp(76px, 9vw, 120px);
}

.offer-archive__eyebrow,
.offer-archive__catalogue-header > p {
  margin: 0 0 24px;
  color: var(--temida-blue);
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.offer-archive__heading h1 {
  max-width: 820px;
  margin: 0;
  color: var(--temida-white);
  font-size: clamp(3.2rem, 6.2vw, 6.3rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.offer-archive__introduction {
  max-width: 500px;
  padding-left: clamp(28px, 4vw, 54px);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.offer-archive__introduction p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.7;
}

.offer-archive__introduction a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: var(--temida-white);
  font-size: var(--temida-text-small);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.offer-archive__introduction a span {
  color: var(--temida-blue);
  font-size: 1.1rem;
  transition: transform 0.28s var(--temida-ease-out);
}

.offer-archive__introduction a:hover span,
.offer-archive__introduction a:focus-visible span {
  transform: translateY(4px);
}

.offer-archive__catalogue {
  scroll-margin-top: 88px;
  padding-block: clamp(82px, 10vw, 136px);
}

.offer-archive__catalogue-header {
  display: grid;
  grid-template-columns: minmax(220px, 0.56fr) minmax(0, 1.44fr);
  gap: clamp(44px, 9vw, 132px);
  align-items: start;
  margin-bottom: clamp(54px, 7vw, 92px);
}

.offer-archive__catalogue-header > p {
  margin-top: 12px;
}

.offer-archive__catalogue-header h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.35rem, 4.1vw, 4.4rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.offer-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(42px, 7vw, 96px);
  border-bottom: 1px solid var(--temida-border);
}

.offer-archive__card {
  display: grid;
  min-width: 0;
  min-height: 278px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 38px);
  align-items: start;
  padding-block: clamp(34px, 4vw, 48px);
  border-top: 1px solid var(--temida-border);
  color: var(--temida-navy);
  text-decoration: none;
}

.offer-archive__icon {
  display: block;
  width: 54px;
  aspect-ratio: 1;
  margin-top: 4px;
  background: var(--temida-blue);
  -webkit-mask-image: var(--offer-archive-icon);
  mask-image: var(--offer-archive-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: opacity 0.24s ease, transform 0.3s var(--temida-ease-out);
}

.offer-archive__card-body {
  display: flex;
  min-width: 0;
  min-height: 194px;
  flex-direction: column;
}

.offer-archive__card h2 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(1.4rem, 1.75vw, 1.85rem);
  font-weight: var(--temida-weight-medium);
  letter-spacing: -0.035em;
  line-height: 1.18;
  transition: color 0.24s ease;
}

.offer-archive__description {
  display: block;
  max-width: 44ch;
  margin-top: 16px;
  color: var(--temida-muted);
  font-size: var(--temida-text-small);
  line-height: 1.65;
}

.offer-archive__card-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  align-self: flex-start;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  font-size: var(--temida-text-label);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.offer-archive__card-link span {
  color: var(--temida-blue);
  font-size: 1rem;
  transition: transform 0.3s var(--temida-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .offer-archive__card:hover h2 {
    color: var(--temida-blue);
  }

  .offer-archive__card:hover .offer-archive__icon {
    opacity: 0.78;
    transform: translateY(-3px);
  }

  .offer-archive__card:hover .offer-archive__card-link span {
    transform: translateX(6px);
  }
}

.offer-archive__card:focus-visible h2 {
  color: var(--temida-blue);
}

.offer-archive__empty {
  max-width: 720px;
  padding: 32px;
  margin: 0;
  border: 1px solid var(--temida-border);
}

.offer-archive__contact {
  border-block: 1px solid var(--temida-border);
  background: var(--temida-soft-blue);
}

.offer-archive__contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(54px, 10vw, 150px);
  align-items: start;
  padding-block: clamp(72px, 9vw, 116px);
}

.offer-archive__contact h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.4rem, 4.4vw, 4.5rem);
  font-weight: var(--temida-weight-regular);
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.offer-archive__contact-inner > div p {
  max-width: 48ch;
  margin: 6px 0 30px;
  color: #50596b;
  line-height: 1.7;
}

.offer-archive__contact-inner > div a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 12px 18px;
  border: 1px solid var(--temida-navy);
  color: var(--temida-white);
  background: var(--temida-navy);
  font-size: var(--temida-text-small);
  font-weight: var(--temida-weight-semibold);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.24s ease, background-color 0.24s ease;
}

.offer-archive__contact-inner > div a:hover,
.offer-archive__contact-inner > div a:focus-visible {
  color: var(--temida-navy);
  background: transparent;
}

@media (max-width: 900px) {
  .offer-archive__hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 54px;
    align-items: start;
    padding-block: 90px 80px;
  }

  .offer-archive__introduction {
    max-width: 650px;
  }

  .offer-archive__catalogue-header,
  .offer-archive__contact-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 700px) {
  .offer-archive__hero-inner,
  .offer-archive__catalogue,
  .offer-archive__contact-inner {
    width: min(calc(100% - 40px), 1280px);
  }

  .offer-archive__hero-inner {
    gap: 42px;
    padding-block: 72px 64px;
  }

  .offer-archive__heading h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .offer-archive__introduction {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .offer-archive__catalogue {
    padding-block: 68px 78px;
  }

  .offer-archive__catalogue-header {
    margin-bottom: 42px;
  }

  .offer-archive__catalogue-header > p {
    margin: 0;
  }

  .offer-archive__catalogue-header h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .offer-archive__grid {
    grid-template-columns: 1fr;
  }

  .offer-archive__card {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 22px;
    padding-block: 32px;
  }

  .offer-archive__icon {
    width: 46px;
  }

  .offer-archive__card-body {
    min-height: 188px;
  }

  .offer-archive__contact h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-archive__introduction a span,
  .offer-archive__icon,
  .offer-archive__card h2,
  .offer-archive__card-link span,
  .offer-archive__contact-inner > div a {
    transition: none;
  }
}

@media (max-width: 1240px) {
  .site-brand {
    width: 280px;
    flex-basis: 280px;
    margin-right: 32px;
  }

  .primary-menu {
    gap: 22px;
  }
}

@media (min-width: 1101px) {
  .site-header.is-compact .site-header__inner {
    min-height: 76px;
  }

  .site-header.is-compact .site-brand__logo {
    transform: scale(0.88);
  }
}

@media (max-width: 1100px) {
  .home-trust__inner {
    min-height: 136px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
  }

  .home-trust__heading {
    padding: 28px 32px;
  }

  .home-trust__title {
    font-size: 1.125rem;
  }

  .home-trust__marquee {
    --home-trust-gap: clamp(42px, 5vw, 68px);
    min-height: 136px;
  }

  .home-trust__logo-item {
    width: 168px;
    height: 68px;
  }

  .home-positioning__main {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 48px;
  }

  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    display: grid;
    width: min(calc(100% - 32px), 1180px);
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding-block: 6px;
  }

  .site-brand {
    width: min(250px, 56vw);
    min-width: 0;
    flex-basis: auto;
    margin-right: 0;
  }

  .menu-toggle {
    display: grid;
    grid-column: 2;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    visibility: hidden;
    border-top: 1px solid var(--temida-border);
    border-bottom: 1px solid var(--temida-border);
    opacity: 0;
    background: var(--temida-white);
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .primary-navigation.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-menu {
    width: min(calc(100% - 32px), 1180px);
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding-block: 22px 30px;
    margin-inline: auto;
  }

  .primary-menu__item {
    width: 100%;
  }

  .primary-menu__control {
    width: 100%;
    border-bottom: 1px solid rgba(21, 28, 49, 0.12);
  }

  .primary-menu__control > a,
  .primary-menu__control > .mega-menu-toggle {
    flex: 1 1 auto;
    min-height: 52px;
    padding-block: 13px;
    font-size: 1.25rem;
    font-weight: var(--temida-weight-medium);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: left;
  }

  .primary-menu__control > a::after,
  .primary-menu__control > .mega-menu-toggle::after {
    display: none;
  }

  .primary-menu .is-mega-menu-open > .primary-menu__control > .mega-menu-toggle {
    color: var(--temida-blue);
  }

  .mega-menu {
    position: static;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(21, 28, 49, 0.12);
    background: var(--temida-white);
    box-shadow: none;
    transform: translateY(-6px);
  }

  .mega-menu.is-open {
    transform: translateY(0);
  }

  .mega-menu__inner {
    padding: 22px 24px 20px;
  }

  .mega-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .mega-menu__grid li:nth-last-child(-n + 4) {
    border-bottom: 0;
  }

  .mega-menu__grid li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--temida-border);
  }

  .mega-menu__grid a {
    min-height: 58px;
    font-size: var(--temida-text-nav);
  }

  .mega-menu__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .mega-menu__footer p {
    justify-content: flex-start;
  }

  .language-link {
    grid-column: 3;
    margin-left: 0;
    padding: 14px 4px;
  }

  .posts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner,
  .footer-menu,
  .legal-menu {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .home-process__inner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-process__media {
    min-height: 420px;
  }

  .home-process__steps {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  .home-positioning__main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-positioning__side {
    max-width: 680px;
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid var(--temida-blue);
    border-left: 0;
  }

  .home-positioning__side::before,
  .home-positioning__side::after {
    display: none;
  }

  .home-services__bottom {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-services__side {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .home-process {
    padding-block: 58px 64px;
  }

  .home-process__inner {
    width: min(calc(100% - 40px), 1280px);
  }

  .home-process__media {
    min-height: 390px;
  }

  .home-process__caption {
    padding: 26px 24px;
  }

  .home-process__steps {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-process__step {
    display: grid;
    min-height: 0;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 30px 24px;
    text-align: left;
  }

  .home-process__step + .home-process__step::before {
    top: 0;
    right: 24px;
    bottom: auto;
    left: 24px;
    width: auto;
    height: 1px;
  }

  .home-process__copy {
    margin-top: 0;
  }

  .home-process__copy h3,
  .home-process__copy p {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .home-trust__inner {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-trust__heading {
    order: 1;
    min-height: 118px;
    padding: 24px 20px 26px;
    border-bottom: 1px solid rgba(95, 128, 199, 0.1);
    border-left: 0;
  }

  .home-trust__title {
    max-width: 280px;
    font-size: 1.125rem;
  }

  .home-trust__marquee {
    --home-trust-gap: 40px;
    order: 2;
    min-height: 110px;
    margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  }

  .home-trust__empty {
    order: 2;
    min-height: 110px;
    margin: 0;
  }

  .home-trust__logo-item {
    width: 138px;
    height: 62px;
  }

  .home-trust__logo {
    max-width: 100%;
    max-height: 42px;
  }

  .home-positioning__inner {
    width: min(calc(100% - 40px), 1280px);
    padding-top: 58px;
  }

  .home-positioning__main {
    gap: 34px;
    padding-block: 40px 52px;
  }

  .home-positioning__title {
    font-size: clamp(2.125rem, 10vw, 2.75rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
  }

  .home-positioning__facts {
    grid-template-columns: 1fr;
  }

  .home-positioning__facts li {
    padding-block: 18px;
  }

  .home-positioning__facts li + li {
    padding-left: 0;
    border-top: 1px solid var(--temida-border);
    border-left: 0;
  }

  .home-services__inner {
    width: min(calc(100% - 40px), 1280px);
    padding-block: 58px 64px;
  }

  .home-services__eyebrow {
    margin-bottom: 28px;
    text-align: left;
  }

  .home-services__grid,
  .home-services__grid--count-1,
  .home-services__grid--count-2,
  .home-services__grid--count-3,
  .home-services__grid--count-5,
  .home-services__grid--count-6 {
    grid-template-columns: 1fr;
  }

  .home-services__card {
    min-height: 230px;
  }

  .home-services__bottom {
    padding-top: 42px;
  }

  .home-services__title {
    font-size: clamp(2rem, 10vw, 2.75rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
  }

  .mega-menu__inner {
    padding: 19px 16px 18px;
  }

  .mega-menu__header {
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 17px;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr;
  }

  .mega-menu__grid li:nth-last-child(-n + 4) {
    border-bottom: 0;
  }

  .mega-menu__grid li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .mega-menu__grid li:last-child {
    border-bottom: 1px solid var(--temida-border);
  }

  .posts-list {
    grid-template-columns: 1fr;
  }
}

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

  .site-header,
  .site-header__inner,
  .site-brand__logo,
  .mega-menu,
  .mega-menu__grid a,
  .primary-menu__control > a::after,
  .primary-menu__control > .mega-menu-toggle::after,
  .mega-menu__grid a span::after,
  .mega-menu__footer a::after,
  .mega-menu__all-link::after,
  .language-link::after,
  .footer-menu a::after,
  .legal-menu a::after,
  .home-saldeo__store,
  .home-hero__video {
    transition: none;
  }

  .home-trust__marquee.is-animated {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .home-trust__marquee.is-animated::-webkit-scrollbar {
    display: none;
  }

  .home-trust__marquee.is-animated .home-trust__track {
    animation: none;
    transform: none;
  }

  .home-trust__group[aria-hidden="true"] {
    display: none;
  }

  .home-positioning__link-label::after,
  .home-positioning__link-line,
  .home-services__icon,
  .home-services__rule,
  .home-services__card-text,
  .home-services__arrow,
  .home-services__corner,
  .home-services__link-label::after,
  .home-services__link-line {
    transition: none;
  }
}

/* Home — jeden wzór: jedna ćwiartka łuku na wybranym przejściu. */
.site-main {
  --home-arc-size: min(58vw, 840px);
  --home-arc-right: max(-420px, -24vw);
  --home-arc-light: rgba(95, 128, 199, 0.18);
  --home-arc-dark: rgba(140, 171, 232, 0.18);
}

.home-positioning,
.home-services {
  position: relative;
  isolation: isolate;
}

.home-positioning__inner,
.home-services__inner {
  position: relative;
  z-index: 1;
}

.home-positioning::after,
.home-services::before {
  position: absolute;
  z-index: 0;
  right: var(--home-arc-right);
  width: var(--home-arc-size);
  aspect-ratio: 1;
  border: 1px solid var(--home-arc-light);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-positioning::after {
  bottom: max(-520px, -35.96vw);
}

.home-services::before {
  top: max(-320px, -22.04vw);
}

/* Ten sam łuk łączy jasną sekcję zespołu z ciemnym pasem potwierdzeń. */
.home-team,
.home-certificates {
  --home-flow-arc-size: var(--home-arc-size);
}

.home-team::before,
.home-certificates::before {
  right: var(--home-arc-right);
  width: var(--home-flow-arc-size);
}

.home-team::before {
  bottom: max(-520px, -35.96vw);
  border-color: var(--home-arc-light);
}

.home-certificates::before {
  top: max(-320px, -22.04vw);
  border-color: var(--home-arc-dark);
}

.home-team::after,
.home-certificates::after {
  display: none;
}

/* Saldeo ma jedyny pełny okrąg, bo bezpośrednio kadruje urządzenie. */
.home-saldeo::before {
  display: none;
}

/* Kontakt powtarza pojedynczy fragment na karcie; mapa pozostaje czysta. */
.home-contact__card {
  overflow: hidden;
  isolation: isolate;
}

.home-contact__card::before {
  position: absolute;
  z-index: 0;
  top: -90px;
  right: -225px;
  width: 450px;
  aspect-ratio: 1;
  border: 1px solid var(--home-arc-dark);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-contact__card > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .site-main {
    --home-arc-size: min(138vw, 620px);
    --home-arc-right: max(-330px, -70vw);
  }

  .home-positioning::after,
  .home-team::before {
    bottom: max(-384px, -85.56vw);
  }

  .home-services::before,
  .home-certificates::before {
    top: max(-236px, -52.44vw);
  }

  .home-contact__card::before {
    top: -84px;
    right: -210px;
    width: 420px;
  }
}

/* Home — finalny system ruchu i supergrafiki. Struktura sekcji pozostaje bez zmian. */
.site-main {
  --temida-motion-orbit-size: min(58vw, 840px);
  --temida-motion-orbit-right: max(-420px, -24vw);
  --temida-motion-flow-right: max(-470px, -26vw);
  --temida-motion-bridge-top: -110px;
  --temida-motion-flow-top: -78px;
  --temida-motion-line-light: rgba(95, 128, 199, 0.3);
  --temida-motion-line-dark: rgba(145, 174, 235, 0.28);
}

.home-positioning,
.home-services,
.home-saldeo,
.home-team,
.home-certificates {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-positioning__inner,
.home-services__inner,
.home-saldeo__inner,
.home-team__inner,
.home-certificates__inner {
  position: relative;
  z-index: 1;
}

/* Poprzednie statyczne łuki zastępuje jedna, animowana geometria. */
.home-positioning::after,
.home-services::before,
.home-team::before,
.home-team::after,
.home-certificates::before,
.home-certificates::after,
.home-saldeo__visual::before {
  display: none !important;
}

.temida-motion-orbit {
  --temida-orbit-progress: 0;
  --temida-orbit-y: 0px;
  --temida-orbit-rotation: 0deg;
  --temida-orbit-counter: 0deg;
  position: absolute;
  z-index: 0;
  width: var(--temida-motion-orbit-size);
  height: auto;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, var(--temida-orbit-y), 0) rotate(var(--temida-orbit-rotation));
  transform-origin: center;
  transition: opacity 420ms ease;
  will-change: transform;
}

.temida-motion-orbit circle,
.temida-motion-orbit path,
.temida-motion-orbit ellipse {
  fill: none;
  stroke: var(--temida-motion-line-light);
  stroke-width: 1.35;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--temida-orbit-progress));
  vector-effect: non-scaling-stroke;
}

.temida-motion-orbit__outer {
  transform: rotate(225deg);
  transform-box: fill-box;
  transform-origin: center;
}

.temida-motion-orbit__inner,
.temida-motion-orbit__sweep {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 620ms ease 100ms;
}

.temida-motion-orbit__inner {
  transform: rotate(var(--temida-orbit-counter));
}

.temida-motion-orbit__sweep {
  stroke-width: 1.1;
  stroke-dasharray: 0.58 0.42 !important;
  stroke-dashoffset: 0.18;
  transform: rotate(calc(13deg + var(--temida-orbit-counter)));
}

.home-positioning.is-motion-visible .temida-motion-orbit,
.home-services.is-motion-visible .temida-motion-orbit,
.home-saldeo.is-motion-visible .temida-motion-orbit,
.home-team.is-motion-visible .temida-motion-orbit,
.home-certificates.is-motion-visible .temida-motion-orbit {
  opacity: 1;
}

.home-positioning .temida-motion-orbit--positioning,
.home-services .temida-motion-orbit--services,
.home-team .temida-motion-orbit--team-flow,
.home-certificates .temida-motion-orbit--certificates-flow {
  right: var(--temida-motion-orbit-right);
}

.home-positioning .temida-motion-orbit--positioning,
.home-team .temida-motion-orbit--team-flow {
  bottom: calc(0px - var(--temida-motion-orbit-size) - var(--temida-motion-bridge-top));
}

.home-services .temida-motion-orbit--services,
.home-certificates .temida-motion-orbit--certificates-flow {
  top: var(--temida-motion-bridge-top);
}

/* Zespół → certyfikaty: łuk omija portrety i ujawnia się w pustej części sekcji. */
.home-team .temida-motion-orbit--team-flow,
.home-certificates .temida-motion-orbit--certificates-flow {
  right: var(--temida-motion-flow-right);
}

.home-team .temida-motion-orbit--team-flow {
  bottom: calc(0px - var(--temida-motion-orbit-size) - var(--temida-motion-flow-top));
}

.home-certificates .temida-motion-orbit--certificates-flow {
  top: var(--temida-motion-flow-top);
}

.home-team .temida-motion-orbit--team-flow circle,
.home-team .temida-motion-orbit--team-flow path,
.home-team .temida-motion-orbit--team-flow ellipse {
  stroke: rgba(95, 128, 199, 0.34);
}

.home-certificates .temida-motion-orbit--certificates-flow circle,
.home-certificates .temida-motion-orbit--certificates-flow path,
.home-certificates .temida-motion-orbit--certificates-flow ellipse {
  stroke: rgba(153, 181, 238, 0.3);
}

.home-certificates .temida-motion-orbit circle,
.home-certificates .temida-motion-orbit path,
.home-certificates .temida-motion-orbit ellipse {
  stroke: var(--temida-motion-line-dark);
}

.home-positioning.is-motion-visible .temida-motion-orbit__inner,
.home-services.is-motion-visible .temida-motion-orbit__inner,
.home-team.is-motion-visible .temida-motion-orbit__inner,
.home-certificates.is-motion-visible .temida-motion-orbit__inner {
  opacity: 0.62;
}

.home-positioning.is-motion-visible .temida-motion-orbit__sweep,
.home-services.is-motion-visible .temida-motion-orbit__sweep,
.home-team.is-motion-visible .temida-motion-orbit__sweep,
.home-certificates.is-motion-visible .temida-motion-orbit__sweep {
  opacity: 0.46;
}

.home-saldeo .temida-motion-orbit--saldeo {
  top: 50%;
  right: max(-130px, -7vw);
  width: min(54vw, 740px);
  transform: translate3d(0, calc(-50% + var(--temida-orbit-y)), 0) rotate(var(--temida-orbit-rotation));
}

/* Treść wchodzi krótko i miękko; wszystkie wartości pozostają bezpieczne dla układu. */
.temida-motion-ready [data-temida-reveal] {
  transition-delay: var(--temida-motion-delay, 0ms);
}

.temida-motion-ready [data-temida-reveal="item"],
.temida-motion-ready [data-temida-reveal="card"] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition-property: opacity, transform;
  transition-duration: 460ms, 620ms;
  transition-timing-function: ease, cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.temida-motion-ready [data-temida-reveal="card"] {
  transform: translate3d(0, 16px, 0) scale(0.992);
}

.temida-motion-ready [data-temida-reveal="title"] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition-property: opacity, transform;
  transition-duration: 420ms, 760ms;
  transition-timing-function: ease, cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.temida-motion-ready [data-temida-reveal="media"] {
  opacity: 0;
  transform: scale(1.025);
  transition-property: opacity, transform;
  transition-duration: 520ms, 1100ms;
  transition-timing-function: ease, cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.temida-motion-ready [data-temida-reveal="device"] {
  opacity: 0;
  transform: translate3d(0, 28px, 0) rotate(1.6deg);
  transition-property: opacity, transform;
  transition-duration: 560ms, 920ms;
  transition-timing-function: ease, cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.temida-motion-ready [data-temida-reveal].is-motion-visible {
  opacity: 1;
  transform: none;
}

.temida-motion-ready [data-temida-reveal].is-motion-visible {
  will-change: auto;
}

/* Łuk na karcie kontaktowej zamyka motyw, ale nie nachodzi na interaktywną mapę. */
.temida-motion-ready .home-contact__card::before {
  opacity: 0;
  transform: translate3d(18px, -10px, 0) scale(0.96);
  transition: opacity 520ms ease 180ms, transform 820ms cubic-bezier(0.22, 1, 0.36, 1) 180ms;
}

.temida-motion-ready .home-contact__card.is-motion-visible::before {
  opacity: 1;
  transform: none;
}

.temida-motion-ready .home-contact.is-motion-visible .home-contact__pin {
  animation: temida-contact-marker-pulse 900ms ease-out 520ms 1;
}

@keyframes temida-contact-marker-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 128, 199, 0.34);
  }

  100% {
    box-shadow: 0 0 0 22px rgba(95, 128, 199, 0);
  }
}

@media (max-width: 700px) {
  .site-main {
    --temida-motion-orbit-size: min(138vw, 620px);
    --temida-motion-orbit-right: max(-330px, -70vw);
    --temida-motion-flow-right: max(-360px, -86vw);
    --temida-motion-bridge-top: -52px;
    --temida-motion-flow-top: -42px;
  }

  .home-certificates .temida-motion-orbit--certificates-flow {
    right: var(--temida-motion-flow-right);
  }

  .home-saldeo .temida-motion-orbit--saldeo {
    top: 58%;
    right: -48vw;
    width: min(132vw, 620px);
  }

  .temida-motion-ready [data-temida-reveal="item"],
  .temida-motion-ready [data-temida-reveal="card"] {
    transform: translate3d(0, 10px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-team::before,
  .home-team::after,
  .home-team__grid::before,
  .home-team__card,
  .home-team__portrait,
  .home-team__image {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-positioning__side::before {
    transform: none;
    transition: none;
  }

  .home-positioning__side::after {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .temida-motion-orbit {
    --temida-orbit-progress: 1;
    --temida-orbit-y: 0px;
    --temida-orbit-rotation: 0deg;
    --temida-orbit-counter: 0deg;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-saldeo .temida-motion-orbit--saldeo {
    transform: translateY(-50%);
  }

  .temida-motion-orbit__inner,
  .temida-motion-orbit__sweep {
    opacity: 1;
    transition: none;
  }

  [data-temida-reveal] {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }

  .home-contact__card::before {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .home-contact__pin {
    animation: none !important;
  }
}

/* Zespół v1.4.41 — naturalne kwadratowe portrety i uproszczona treść profilu. */
.home-team--portrait-carousel {
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(21, 28, 49, 0.08);
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: #fff;
}

.home-team--portrait-carousel::before,
.home-team--portrait-carousel::after,
.home-team--portrait-carousel .home-team__grid::before {
  display: none !important;
}

.home-team--portrait-carousel .home-team__inner {
  width: min(calc(100% - clamp(56px, 7vw, 120px)), 1420px);
  padding: clamp(56px, 4.8vw, 76px) 0 0;
}

.home-team--portrait-carousel .home-team__layout {
  display: block;
}

.home-team--portrait-carousel .home-team__header {
  display: grid;
  max-width: none;
  min-height: clamp(168px, 13vw, 198px);
  grid-template-columns: 31% 36% 1fr;
  gap: clamp(34px, 4.4vw, 70px);
  align-items: start;
}

.home-team--portrait-carousel .home-team__heading {
  min-width: 0;
}

.home-team--portrait-carousel .home-team__eyebrow {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.home-team--portrait-carousel .home-team__title {
  max-width: 8ch;
  overflow: visible;
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(2.9rem, 4vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.98;
  clip-path: none;
}

.temida-motion-ready .home-team--portrait-carousel [data-temida-reveal="title"] {
  overflow: visible;
  clip-path: none;
}

.home-team--portrait-carousel .home-team__intro {
  max-width: 35ch;
  margin: 27px 0 0;
  color: #536580;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  font-weight: 400;
  letter-spacing: -0.014em;
  line-height: 1.52;
}

.home-team--portrait-carousel .home-team__intro strong {
  color: #104ca8;
  font-weight: 600;
}

.home-team--portrait-carousel .home-team__mark {
  display: block;
  width: clamp(110px, 9vw, 148px);
  height: auto;
  justify-self: center;
  margin-top: -10px;
  opacity: 0.09;
  filter: grayscale(1);
}

.home-team--portrait-carousel .home-team__showcase {
  position: relative;
  display: grid;
  min-height: clamp(372px, 28vw, 410px);
  grid-template-columns: 34% 28% 1fr;
  align-items: stretch;
  border-top: 1px solid rgba(73, 91, 120, 0.18);
}

.home-team--portrait-carousel .home-team__selectors {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.35vw, 20px);
  align-items: end;
  padding: clamp(62px, 5.8vw, 88px) clamp(28px, 3vw, 44px) clamp(26px, 2.2vw, 34px) 0;
}

.home-team--portrait-carousel .home-team__selectors::after {
  position: absolute;
  top: clamp(48px, 4.8vw, 72px);
  right: 0;
  bottom: clamp(26px, 2.2vw, 34px);
  width: 1px;
  background: rgba(73, 91, 120, 0.22);
  content: "";
}

.home-team--portrait-carousel .home-team__selector {
  position: relative;
  display: block;
  width: 100%;
  max-width: 124px;
  min-width: 0;
  justify-self: center;
  padding: 0 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--temida-navy);
  font: inherit;
  cursor: pointer;
  opacity: 0.86;
  filter: none;
  transition: opacity 180ms ease;
}

.home-team--portrait-carousel .home-team__selector::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--temida-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--portrait-carousel .home-team__selector.is-active {
  opacity: 1;
}

.home-team--portrait-carousel .home-team__selector.is-active::after {
  transform: scaleX(1);
}

.home-team--portrait-carousel .home-team__selector:focus-visible,
.home-team--portrait-carousel .home-team__controls button:focus-visible {
  outline: 2px solid var(--temida-blue);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .home-team--portrait-carousel .home-team__selector:hover {
    opacity: 1;
  }
}

.home-team--portrait-carousel .home-team__selector-portrait {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
}

.home-team--portrait-carousel .home-team__selector-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-team--portrait-carousel .home-team__selector-copy {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-team--portrait-carousel .home-team__profile {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 2.7vw, 42px) clamp(28px, 2.8vw, 44px) clamp(28px, 2.3vw, 36px);
  transition: opacity 140ms ease, transform 160ms ease;
}

.home-team--portrait-carousel .home-team__profile.is-changing {
  opacity: 0;
  transform: translateY(6px);
}

.home-team--portrait-carousel .home-team__profile-name {
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(1.45rem, 1.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.08;
}

.home-team--portrait-carousel .home-team__profile-role {
  margin: 8px 0 0;
  color: #64748b;
  font-size: clamp(0.8rem, 0.9vw, 0.94rem);
  line-height: 1.45;
}

.home-team--portrait-carousel .home-team__profile-description {
  max-width: 31ch;
  margin: 14px 0 0;
  color: #536580;
  font-size: clamp(0.78rem, 0.88vw, 0.92rem);
  line-height: 1.48;
}

.home-team--portrait-carousel .home-team__link {
  align-self: flex-start;
  margin-top: 19px;
  color: #104ca8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-team--portrait-carousel .home-team__stage {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  place-items: end center;
  isolation: isolate;
}

.home-team--portrait-carousel .home-team__stage-field {
  position: absolute;
  z-index: -1;
  right: 3%;
  bottom: 0;
  width: 55%;
  height: 66%;
  background: var(--temida-blue);
  clip-path: polygon(24% 0, 100% 0, 79% 100%, 0 100%);
}

.home-team--portrait-carousel .home-team__stage-frame {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  width: min(64%, 300px);
  aspect-ratio: 1;
  margin: 0 14% 18px 0;
  border: 0;
  background: transparent;
}

.home-team--portrait-carousel .home-team__stage-frame::after {
  display: none;
}

.home-team--portrait-carousel .home-team__stage-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 150ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--portrait-carousel .home-team__stage-image.is-changing {
  opacity: 0;
}

.home-team--portrait-carousel[data-direction="next"] .home-team__stage-image.is-changing {
  transform: translateX(2%) scale(0.985);
}

.home-team--portrait-carousel[data-direction="previous"] .home-team__stage-image.is-changing {
  transform: translateX(-2%) scale(0.985);
}

.home-team--portrait-carousel .home-team__controls {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: clamp(26px, 2.2vw, 34px);
  display: flex;
  gap: 9px;
}

.home-team--portrait-carousel .home-team__controls button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--temida-blue);
  border-radius: 50%;
  background: #fff;
  color: var(--temida-blue);
  cursor: pointer;
  place-items: center;
  transition: background-color 160ms ease, color 160ms ease;
}

.home-team--portrait-carousel .home-team__controls button:last-child {
  background: var(--temida-blue);
  color: #fff;
}

.home-team--portrait-carousel .home-team__controls svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (hover: hover) and (pointer: fine) {
  .home-team--portrait-carousel .home-team__controls button:hover {
    background: #edf3ff;
  }

  .home-team--portrait-carousel .home-team__controls button:last-child:hover {
    background: #536fb1;
  }
}

@media (max-width: 1080px) {
  .home-team--portrait-carousel .home-team__header {
    grid-template-columns: 30% 44% 1fr;
    gap: 32px;
  }

  .home-team--portrait-carousel .home-team__showcase {
    grid-template-columns: 36% 31% 1fr;
  }

  .home-team--portrait-carousel .home-team__stage-frame {
    width: min(72%, 272px);
    margin-right: 16%;
  }
}

@media (max-width: 820px) {
  .home-team--portrait-carousel .home-team__inner {
    width: calc(100% - 40px);
    padding-top: 54px;
  }

  .home-team--portrait-carousel .home-team__header {
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  .home-team--portrait-carousel .home-team__intro {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
    padding-bottom: 42px;
  }

  .home-team--portrait-carousel .home-team__mark {
    width: 92px;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .home-team--portrait-carousel .home-team__showcase {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .home-team--portrait-carousel .home-team__profile {
    min-height: 360px;
    grid-column: 1;
    grid-row: 1;
    padding: 34px 28px;
  }

  .home-team--portrait-carousel .home-team__stage {
    min-height: 360px;
    grid-column: 2;
    grid-row: 1;
  }

  .home-team--portrait-carousel .home-team__stage-frame {
    width: min(62%, 240px);
    margin-right: 24%;
  }

  .home-team--portrait-carousel .home-team__selectors {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 24px 0 34px;
    border-top: 1px solid rgba(73, 91, 120, 0.18);
  }

  .home-team--portrait-carousel .home-team__selectors::after {
    display: none;
  }
}

@media (max-width: 580px) {
  .home-team--portrait-carousel .home-team__title {
    font-size: clamp(2.6rem, 12vw, 3.45rem);
  }

  .home-team--portrait-carousel .home-team__showcase {
    display: flex;
    flex-direction: column;
  }

  .home-team--portrait-carousel .home-team__stage {
    min-height: 330px;
    order: 1;
  }

  .home-team--portrait-carousel .home-team__stage-frame {
    width: min(62%, 230px);
    margin-right: 29%;
  }

  .home-team--portrait-carousel .home-team__profile {
    min-height: 340px;
    order: 2;
    padding: 32px 6px 38px;
    border-top: 1px solid rgba(73, 91, 120, 0.18);
  }

  .home-team--portrait-carousel .home-team__selectors {
    order: 3;
    gap: 10px;
    padding-bottom: 46px;
  }

  .home-team--portrait-carousel .home-team__controls {
    right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-team--portrait-carousel .home-team__selector,
  .home-team--portrait-carousel .home-team__selector::after,
  .home-team--portrait-carousel .home-team__profile,
  .home-team--portrait-carousel .home-team__stage-image,
  .home-team--portrait-carousel .home-team__controls button {
    transition: none;
  }

  .home-team--portrait-carousel .home-team__profile.is-changing,
  .home-team--portrait-carousel .home-team__stage-image.is-changing {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .home-hero { height: 690px; }
  .home-hero__copy { width: 46%; }
  .home-hero__media { width: 74%; }
  .home-hero__title { font-size: clamp(3rem, 5.5vw, 3.75rem); }
}

@media (max-width: 760px) {
  .home-hero {
    display: flex;
    height: auto;
    min-height: 760px;
    flex-direction: column;
  }

  .home-hero__inner {
    display: block;
    height: auto;
    padding-block: 72px 42px;
  }

  .home-hero__copy { width: 100%; }
  .home-hero__title {
    max-width: 620px;
    font-size: clamp(3.45rem, 15.5vw, 4.7rem);
  }
  .home-hero__description {
    max-width: 520px;
    margin-top: 25px;
    font-size: 1rem;
  }
  .home-hero__media {
    position: relative;
    width: calc(100% - 20px);
    height: 360px;
    margin-left: 20px;
    clip-path: ellipse(92% 92% at 92% 78%);
  }
  .home-hero__orbits {
    top: -10%;
    left: -90%;
    width: 175vw;
  }
}

@media (max-width: 430px) {
  .home-hero { min-height: 730px; }
  .home-hero__inner { padding-top: 58px; }
  .home-hero__title { font-size: clamp(3.15rem, 15vw, 4rem); }
  .home-hero__media { height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__video,
  .home-hero__link i::after {
    transition: none;
  }
}

/* Pozycjonowanie — zachowany, statyczny motyw trzech łuków z zatwierdzonego układu. */
.home-positioning::after {
  position: absolute;
  z-index: 0;
  right: -320px;
  bottom: -340px;
  display: block !important;
  width: 560px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle closest-side,
    transparent 0 67.9%,
    rgba(95, 128, 199, 0.18) 68.2% 68.55%,
    transparent 68.85% 77.9%,
    rgba(95, 128, 199, 0.16) 78.2% 78.55%,
    transparent 78.85% 87.9%,
    rgba(95, 128, 199, 0.14) 88.2% 88.55%,
    transparent 88.85%
  );
  content: "";
  pointer-events: none;
}

/* Jak współpracujemy — spokojna sekwencja wejścia bez dodatkowej supergrafiki. */
.temida-motion-ready .home-process__image {
  transform: scale(1.045);
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.temida-motion-ready .home-process__media.is-motion-visible .home-process__image {
  transform: scale(1);
  will-change: auto;
}

.temida-motion-ready .home-process__step + .home-process__step::before {
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.temida-motion-ready .home-process.is-motion-visible .home-process__step:nth-child(2)::before {
  transform: scaleY(1);
  transition-delay: 180ms;
}

.temida-motion-ready .home-process.is-motion-visible .home-process__step:nth-child(3)::before {
  transform: scaleY(1);
  transition-delay: 300ms;
}

.temida-motion-ready .home-process__icon {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 420ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.temida-motion-ready .home-process__step.is-motion-visible .home-process__icon {
  opacity: 0.72;
  transform: none;
}

.temida-motion-ready .home-process__step:nth-child(2) .home-process__icon {
  transition-delay: 85ms;
}

.temida-motion-ready .home-process__step:nth-child(3) .home-process__icon {
  transition-delay: 170ms;
}

@media (max-width: 700px) {
  .home-positioning::after {
    right: -270px;
    bottom: -270px;
    width: 460px;
  }

  .temida-motion-ready .home-process__step + .home-process__step::before {
    transform: scaleX(0);
    transform-origin: 0 50%;
  }

  .temida-motion-ready .home-process.is-motion-visible .home-process__step:nth-child(2)::before,
  .temida-motion-ready .home-process.is-motion-visible .home-process__step:nth-child(3)::before {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-process__image,
  .home-process__icon,
  .home-process__step + .home-process__step::before {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* SaldeoSMART — kompozycja dwóch urządzeń, docelowo zasilana dwoma obrazami ACF. */
.home-saldeo--devices .home-saldeo__main {
  min-height: 700px;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
}

.home-saldeo--devices .home-saldeo__copy {
  padding: clamp(64px, 6vw, 96px) clamp(42px, 6vw, 104px);
}

.home-saldeo--devices .home-saldeo__visual {
  min-height: 700px;
  border-left: 1px solid var(--temida-border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), transparent 44%),
    #f5f7fa;
}

.home-saldeo__laptop-image {
  position: absolute;
  z-index: 1;
  top: 19%;
  left: 5%;
  width: min(88%, 690px);
  aspect-ratio: 1.58;
  filter: drop-shadow(0 26px 34px rgba(21, 28, 49, 0.16));
}

.home-saldeo__laptop-image--official {
  top: 2%;
  left: -18%;
  width: 120%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.home-saldeo__laptop-shell {
  position: absolute;
  inset: 0 0 5.5%;
  overflow: hidden;
  padding: 11px;
  border: 2px solid #707789;
  border-radius: 18px 18px 8px 8px;
  background: #151c2c;
}

.home-saldeo__laptop-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 9px;
  color: var(--temida-navy);
  background: #f7f8fb;
}

.home-saldeo__laptop-bar {
  display: flex;
  height: 12%;
  align-items: center;
  justify-content: space-between;
  padding-inline: 5%;
  border-bottom: 1px solid #e1e5ed;
  background: #ffffff;
}

.home-saldeo__laptop-brand {
  color: #173091;
  font-size: clamp(0.62rem, 0.75vw, 0.78rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-saldeo__laptop-brand span {
  color: #3974d6;
}

.home-saldeo__laptop-user {
  width: 17%;
  height: 6px;
  border-radius: 8px;
  background: #dce2ee;
}

.home-saldeo__laptop-body {
  display: grid;
  height: 88%;
  grid-template-columns: 16% 1fr;
}

.home-saldeo__laptop-nav {
  border-right: 1px solid #e4e8f0;
  background:
    radial-gradient(circle at 50% 15%, #5f80c7 0 4px, transparent 5px),
    linear-gradient(#dce3f1 0 0) 50% 28% / 40% 5px no-repeat,
    linear-gradient(#dce3f1 0 0) 50% 43% / 40% 5px no-repeat,
    linear-gradient(#dce3f1 0 0) 50% 58% / 40% 5px no-repeat,
    #ffffff;
}

.home-saldeo__laptop-dashboard {
  padding: 7% 6%;
}

.home-saldeo__laptop-greeting {
  margin: 0 0 6%;
  font-size: clamp(0.72rem, 1vw, 1rem);
  font-weight: var(--temida-weight-semibold);
}

.home-saldeo__laptop-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8%;
}

.home-saldeo__laptop-card {
  min-height: clamp(72px, 8vw, 112px);
  padding: 12%;
  border: 1px solid #e0e5ef;
  background:
    linear-gradient(#7f9bd7 0 0) 14% 26% / 42% 4px no-repeat,
    linear-gradient(#d8deea 0 0) 14% 43% / 72% 4px no-repeat,
    linear-gradient(#e4e8f0 0 0) 14% 58% / 55% 4px no-repeat,
    #ffffff;
}

.home-saldeo__laptop-base {
  position: absolute;
  right: -4%;
  bottom: 0;
  left: -4%;
  height: 8%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #b8bdc8, #777e8c);
  clip-path: polygon(4% 0, 96% 0, 100% 76%, 96% 100%, 4% 100%, 0 76%);
}

.home-saldeo__phone-image {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 13%;
  display: block;
  width: min(43%, 330px);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 28px 30px rgba(21, 28, 49, 0.23));
  transform: rotate(2deg);
}

.home-saldeo__placeholder-note {
  position: absolute;
  z-index: 3;
  max-width: 280px;
  padding: 10px 14px;
  border: 1px solid var(--temida-border);
  color: var(--temida-muted);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  line-height: 1.45;
}

.home-saldeo__placeholder-note--laptop {
  top: 35%;
  left: 10%;
}

.home-saldeo__placeholder-note--phone {
  right: 8%;
  bottom: 16%;
}

.home-saldeo__demo-store-badge {
  display: grid;
  min-width: 112px;
  height: 36px;
  align-content: center;
  padding: 4px 12px;
  border-radius: 5px;
  color: #ffffff;
  background: #050505;
  line-height: 1.05;
}

.home-saldeo__demo-store-badge small {
  font-size: 0.47rem;
}

.home-saldeo__demo-store-badge strong {
  font-size: 0.76rem;
  font-weight: var(--temida-weight-semibold);
}

.temida-motion-ready .home-saldeo__laptop-image {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.985);
  transition: opacity 480ms ease 120ms, transform 820ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.temida-motion-ready .home-saldeo__phone-image {
  opacity: 0;
  transform: translate3d(34px, 24px, 0) rotate(5deg);
  transition: opacity 460ms ease 250ms, transform 880ms cubic-bezier(0.22, 1, 0.36, 1) 250ms;
}

.temida-motion-ready .home-saldeo__visual.is-motion-visible .home-saldeo__laptop-image {
  opacity: 1;
  transform: none;
}

.temida-motion-ready .home-saldeo__visual.is-motion-visible .home-saldeo__phone-image {
  opacity: 1;
  transform: rotate(2deg);
}

@media (max-width: 1180px) {
  .home-saldeo--devices .home-saldeo__main {
    grid-template-columns: minmax(0, 52%) minmax(420px, 48%);
  }
}

@media (max-width: 860px) {
  .home-saldeo--devices .home-saldeo__main {
    grid-template-columns: 1fr;
  }

  .home-saldeo--devices .home-saldeo__visual {
    min-height: 570px;
    border-top: 1px solid var(--temida-border);
    border-left: 0;
  }

  .home-saldeo__laptop-image {
    top: 15%;
    left: 7%;
    width: min(78%, 620px);
  }

  .home-saldeo__laptop-image--official {
    top: 3%;
    left: -10%;
    width: 108%;
  }

  .home-saldeo__phone-image {
    right: 5%;
    width: min(32%, 250px);
  }
}

@media (max-width: 640px) {
  .home-saldeo--devices .home-saldeo__visual {
    min-height: 430px;
  }

  .home-saldeo__laptop-image {
    top: 18%;
    left: 4%;
    width: 88%;
  }

  .home-saldeo__laptop-image--official {
    top: 2%;
    left: -20%;
    width: 118%;
  }

  .home-saldeo__phone-image {
    right: 1%;
    bottom: 1%;
    width: 39%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-saldeo__laptop-image,
  .home-saldeo__phone-image {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-saldeo__phone-image {
    transform: rotate(2deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .temida-motion-ready .home-team__card.is-motion-visible:hover {
    transform: translate3d(0, -7px, 0);
  }

  .temida-motion-ready .home-team__card.is-motion-visible:hover .home-team__image {
    transform: scale(1.018);
  }
}

/* Zespół — wariant redakcyjny z hierarchią zarządu i jednym mocnym panelem. */
.home-team--editorial {
  min-height: 680px;
  background: #fbfcfe;
}

.home-team--editorial::before {
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(138deg, #111b38 0%, #162448 58%, #1b2d56 100%);
}

.home-team--editorial::after {
  display: none;
}

.home-team--editorial .home-team__inner {
  display: grid;
  min-height: 680px;
  align-items: center;
  padding-block: clamp(72px, 5.5vw, 94px);
}

.home-team--editorial .home-team__layout {
  grid-template-columns: minmax(310px, 36%) minmax(0, 64%);
  gap: 0;
}

.home-team--editorial .home-team__aside {
  padding-right: clamp(46px, 5vw, 88px);
}

.home-team--editorial .home-team__header {
  max-width: 450px;
}

.home-team--editorial .home-team__title {
  font-size: clamp(3rem, 3.7vw, 4.35rem);
}

.home-team--editorial .home-team__grid {
  width: 100%;
  max-width: none;
  min-height: 500px;
  padding: clamp(42px, 4vw, 72px) clamp(24px, 3.6vw, 64px);
  justify-self: stretch;
}

.home-team--editorial .home-team__grid::before {
  display: none;
}

.home-team--editorial .home-team__grid--count-3 {
  grid-template-columns: minmax(250px, 1.08fr) minmax(245px, 0.92fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px) clamp(34px, 4vw, 70px);
  align-items: center;
}

.home-team--editorial .home-team__card {
  max-width: none;
}

.home-team--editorial .home-team__card:first-child {
  width: min(100%, 350px);
  grid-row: 1 / 3;
  justify-self: center;
}

.home-team--editorial .home-team__card:nth-child(2),
.home-team--editorial .home-team__card:nth-child(3) {
  display: grid;
  grid-template-columns: clamp(145px, 12.5vw, 190px) minmax(120px, 1fr);
  gap: clamp(18px, 2vw, 30px);
  align-items: center;
}

.home-team--editorial .home-team__card:nth-child(2) {
  align-self: end;
}

.home-team--editorial .home-team__card:nth-child(3) {
  align-self: start;
}

.home-team--editorial .home-team__portrait {
  filter: drop-shadow(0 22px 30px rgba(2, 8, 24, 0.24));
}

.home-team--editorial .home-team__person {
  padding: 24px 0 0;
  color: #ffffff;
}

.home-team--editorial .home-team__card:nth-child(2) .home-team__person,
.home-team--editorial .home-team__card:nth-child(3) .home-team__person {
  padding: 0;
  text-align: left;
}

.home-team--editorial .home-team__person h3 {
  color: #ffffff;
}

.home-team--editorial .home-team__person h3::after {
  display: none;
}

.home-team--editorial .home-team__person p {
  color: rgba(255, 255, 255, 0.68);
}

.temida-motion-ready .home-team--editorial::before {
  opacity: 1;
  transform: none;
  transition: none;
}

.temida-motion-ready .home-team--editorial .home-team__portrait {
  clip-path: circle(0 at 50% 50%);
  transform: translate3d(0, 18px, 0);
  transition: clip-path 920ms cubic-bezier(0.22, 1, 0.36, 1), transform 920ms cubic-bezier(0.22, 1, 0.36, 1), filter 560ms var(--temida-ease-out);
}

.temida-motion-ready .home-team--editorial .home-team__card.is-motion-visible .home-team__portrait {
  clip-path: circle(51% at 50% 50%);
  transform: none;
}

@media (max-width: 1180px) {
  .home-team--editorial {
    min-height: 0;
  }

  .home-team--editorial::before {
    display: none;
  }

  .home-team--editorial .home-team__inner {
    min-height: 0;
    padding-bottom: 0;
  }

  .home-team--editorial .home-team__aside {
    padding-right: 0;
    padding-bottom: 10px;
  }

  .home-team--editorial .home-team__grid,
  .home-team--editorial .home-team__grid--count-3 {
    width: calc(100% + 48px);
    max-width: none;
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: clamp(24px, 4vw, 46px);
    padding: 64px 24px 82px;
    margin-inline: -24px;
    background: linear-gradient(138deg, #111b38 0%, #162448 58%, #1b2d56 100%);
  }

  .home-team--editorial .home-team__card:first-child,
  .home-team--editorial .home-team__card:nth-child(2),
  .home-team--editorial .home-team__card:nth-child(3) {
    display: block;
    width: 100%;
    max-width: 280px;
    grid-row: auto;
    align-self: start;
    justify-self: center;
  }

  .home-team--editorial .home-team__card:nth-child(2) .home-team__person,
  .home-team--editorial .home-team__card:nth-child(3) .home-team__person {
    padding-top: 24px;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .home-team--editorial .home-team__grid,
  .home-team--editorial .home-team__grid--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-team--editorial .home-team__grid--count-3 .home-team__card:last-child {
    width: calc(50% - 12px);
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .home-team--editorial .home-team__inner {
    padding-top: 66px;
  }

  .home-team--editorial .home-team__grid,
  .home-team--editorial .home-team__grid--count-3 {
    width: calc(100% + 40px);
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 58px 20px 72px;
    margin-inline: -20px;
  }

  .home-team--editorial .home-team__grid--count-3 .home-team__card:last-child {
    width: 100%;
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-team--editorial .home-team__portrait {
    clip-path: circle(51% at 50% 50%);
    transform: none;
    transition: none;
  }
}

/* Zespół — kierunek docelowy: spokojny układ redakcyjny, równorzędne portrety. */
.home-team--planned {
  min-height: 0;
  border-top: 1px solid rgba(21, 28, 49, 0.08);
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: linear-gradient(115deg, #ffffff 0%, #fbfcff 52%, #f7f9fd 100%);
}

.home-team--planned::before,
.home-team--planned::after,
.home-team--planned .home-team__grid::before {
  display: none !important;
}

.home-team--planned .home-team__inner {
  width: min(calc(100% - clamp(48px, 7.2vw, 138px)), 1600px);
  padding: clamp(82px, 7.2vw, 126px) 0 clamp(76px, 6.4vw, 112px);
}

.home-team--planned .home-team__layout {
  grid-template-columns: minmax(330px, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  gap: clamp(58px, 6vw, 112px);
}

.home-team--planned .home-team__aside {
  min-height: 0;
  justify-content: center;
}

.home-team--planned .home-team__header {
  max-width: 500px;
}

.home-team--planned .home-team__eyebrow {
  margin-bottom: clamp(22px, 2vw, 34px);
  color: #526079;
}

.home-team--planned .home-team__title {
  max-width: 9.3ch;
  font-size: clamp(3.1rem, 4.1vw, 4.9rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.052em;
}

.home-team--planned .home-team__link {
  margin-top: clamp(42px, 4.5vw, 72px);
}

.home-team--planned .home-team__grid,
.home-team--planned .home-team__grid--count-3 {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 2.6vw, 48px);
}

.home-team--planned .home-team__card {
  width: 100%;
  max-width: 320px;
  justify-self: center;
}

.home-team--planned .home-team__portrait {
  filter: none;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 520ms ease;
}

.home-team--planned .home-team__person {
  padding: clamp(22px, 2vw, 30px) 4px 0;
}

.home-team--planned .home-team__person h3 {
  display: block;
  color: var(--temida-navy);
  font-size: clamp(1.45rem, 1.65vw, 1.9rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.home-team--planned .home-team__person h3::after {
  display: none;
}

.home-team--planned .home-team__person p {
  margin-top: 9px;
  font-size: clamp(0.9rem, 0.88vw, 1.02rem);
}

@media (hover: hover) and (pointer: fine) {
  .home-team--planned .home-team__card:hover {
    transform: none;
  }

  .home-team--planned .home-team__card:hover .home-team__portrait {
    filter: drop-shadow(0 22px 28px rgba(21, 28, 49, 0.12));
    transform: translate3d(0, -6px, 0);
  }

  .home-team--planned .home-team__card:hover .home-team__image,
  .temida-motion-ready .home-team--planned .home-team__card.is-motion-visible:hover .home-team__image {
    transform: scale(1.012);
  }
}

.temida-motion-ready .home-team--planned .home-team__portrait {
  opacity: 0;
  clip-path: circle(12% at 50% 50%);
  transform: translate3d(0, 24px, 0);
  transition: opacity 500ms ease, clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1), filter 520ms ease;
}

.temida-motion-ready .home-team--planned .home-team__card.is-motion-visible .home-team__portrait {
  opacity: 1;
  clip-path: circle(51% at 50% 50%);
  transform: none;
}

.temida-motion-ready .home-team--planned .home-team__card:nth-child(2) .home-team__portrait {
  transition-delay: 90ms;
}

.temida-motion-ready .home-team--planned .home-team__card:nth-child(3) .home-team__portrait {
  transition-delay: 180ms;
}

@media (max-width: 1180px) {
  .home-team--planned .home-team__layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .home-team--planned .home-team__aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
  }

  .home-team--planned .home-team__title {
    max-width: 13ch;
  }

  .home-team--planned .home-team__link {
    justify-self: end;
    margin-top: 0;
    margin-bottom: 8px;
  }
}

@media (max-width: 760px) {
  .home-team--planned .home-team__inner {
    width: calc(100% - 40px);
    padding-top: 68px;
  }

  .home-team--planned .home-team__aside {
    display: block;
  }

  .home-team--planned .home-team__title {
    max-width: 11ch;
    font-size: clamp(2.65rem, 11vw, 3.7rem);
  }

  .home-team--planned .home-team__link {
    margin-top: 32px;
  }

  .home-team--planned .home-team__grid,
  .home-team--planned .home-team__grid--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 22px;
  }

  .home-team--planned .home-team__grid--count-3 .home-team__card:last-child {
    width: calc(50% - 11px);
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .home-team--planned .home-team__grid,
  .home-team--planned .home-team__grid--count-3 {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .home-team--planned .home-team__grid--count-3 .home-team__card:last-child {
    width: 100%;
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .temida-motion-ready .home-team--planned .home-team__portrait {
    opacity: 1;
    clip-path: circle(51% at 50% 50%);
    transform: none;
    transition: none;
  }
}

/* Zespół — odtworzenie układu zaakceptowanego w makiecie Figma. */
.home-team--figma {
  min-height: 0;
  border-top: 1px solid rgba(21, 28, 49, 0.08);
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: #fdfdfb;
}

.home-team--figma::before,
.home-team--figma::after,
.home-team--figma .home-team__grid::before {
  display: none !important;
}

.home-team--figma .home-team__inner {
  width: min(calc(100% - clamp(48px, 8vw, 154px)), 1440px);
  padding: clamp(76px, 6.7vw, 112px) 0 clamp(82px, 7.4vw, 124px);
}

.home-team--figma .home-team__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.home-team--figma .home-team__aside {
  display: contents;
  min-height: 0;
}

.home-team--figma .home-team__header {
  max-width: none;
  overflow: visible;
  text-align: center;
}

.home-team--figma .home-team__eyebrow {
  margin: 0 0 18px;
  color: #526079;
}

.home-team--figma .home-team__title {
  max-width: none;
  overflow: visible;
  font-size: clamp(2.45rem, 3.4vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.home-team--figma .home-team__grid,
.home-team--figma .home-team__grid--count-3 {
  width: min(100%, 980px);
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2.25vw, 34px);
  margin-top: clamp(48px, 4.3vw, 70px);
}

.home-team--figma .home-team__card {
  width: 100%;
  max-width: none;
  transform: none;
}

.home-team--figma .home-team__portrait {
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
}

.home-team--figma .home-team__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: none;
}

/* Portrety nie są linkami, więc nie sygnalizują interakcji po najechaniu. */
@media (hover: hover) and (pointer: fine) {
  .home-team--figma .home-team__card,
  .home-team--figma .home-team__card:hover,
  .temida-motion-ready .home-team--figma .home-team__card.is-motion-visible:hover {
    cursor: default;
    transform: none;
  }

  .home-team--figma .home-team__portrait,
  .home-team--figma .home-team__card:hover .home-team__portrait {
    filter: none;
    transform: none;
    transition: none;
  }

  .home-team--figma .home-team__image,
  .home-team--figma .home-team__card:hover .home-team__image,
  .temida-motion-ready .home-team--figma .home-team__card.is-motion-visible:hover .home-team__image {
    transform: none;
    transition: none;
  }
}

.home-team--figma .home-team__person {
  overflow: visible;
  padding: 20px 0 0;
  text-align: center;
}

.home-team--figma .home-team__person h3 {
  display: block;
  overflow: visible;
  color: var(--temida-navy);
  font-size: clamp(1.15rem, 1.35vw, 1.4rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-transform: none;
}

.home-team--figma .home-team__person h3::after {
  display: none;
}

.home-team--figma .home-team__person p {
  display: block;
  margin: 8px 0 0;
  color: #687286;
  font-size: clamp(0.86rem, 0.86vw, 0.98rem);
  font-weight: 400;
  line-height: 1.4;
}

.home-team--figma .home-team__link {
  order: 3;
  margin-top: clamp(34px, 3.1vw, 48px);
}

.temida-motion-ready .home-team--figma .home-team__card {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 520ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.temida-motion-ready .home-team--figma .home-team__card.is-motion-visible {
  opacity: 1;
  transform: none;
}

.temida-motion-ready .home-team--figma .home-team__card:nth-child(2) {
  transition-delay: 90ms;
}

.temida-motion-ready .home-team--figma .home-team__card:nth-child(3) {
  transition-delay: 180ms;
}

/* Tekst nie używa maski ani clip-path — polskie znaki i wydłużenia liter pozostają widoczne. */
.temida-motion-ready .home-team--figma [data-temida-reveal="title"] {
  overflow: visible;
  opacity: 0;
  clip-path: none;
  transform: translate3d(0, 10px, 0);
  transition: opacity 480ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.temida-motion-ready .home-team--figma [data-temida-reveal="title"].is-motion-visible {
  opacity: 1;
  clip-path: none;
  transform: none;
  will-change: auto;
}

.temida-motion-ready .home-team--figma .home-team__card .home-team__image,
.temida-motion-ready .home-team--figma .home-team__card.is-motion-visible .home-team__image {
  transform: scale(1);
}

@media (max-width: 760px) {
  .home-team--figma .home-team__inner {
    width: calc(100% - 40px);
    padding-top: 66px;
  }

  .home-team--figma .home-team__title {
    font-size: clamp(2.35rem, 10.5vw, 3.25rem);
  }

  .home-team--figma .home-team__grid,
  .home-team--figma .home-team__grid--count-3 {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 44px;
  }

  .home-team--figma .home-team__card,
  .home-team--figma .home-team__grid--count-3 .home-team__card:last-child {
    width: 100%;
    max-width: 440px;
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .temida-motion-ready .home-team--figma .home-team__card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Zespół — kierunek editorial leadership inspirowany układem Axiap. */
.home-team--leadership {
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(21, 28, 49, 0.08);
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: #fdfdfb;
}

.home-team--leadership::before,
.home-team--leadership::after {
  display: none;
}

.home-team--leadership .home-team__inner {
  width: min(calc(100% - clamp(48px, 7vw, 136px)), 1480px);
  padding: clamp(82px, 6.8vw, 112px) 0 clamp(86px, 7vw, 118px);
}

.home-team--leadership .home-team__layout {
  display: block;
}

.home-team--leadership .home-team__header {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 440px);
  gap: clamp(56px, 8vw, 142px);
  align-items: end;
  padding-bottom: clamp(38px, 3.2vw, 52px);
  border-bottom: 1px solid rgba(21, 28, 49, 0.14);
}

.home-team--leadership .home-team__heading {
  max-width: 720px;
}

.home-team--leadership .home-team__eyebrow {
  margin: 0 0 18px;
  color: #526079;
}

.home-team--leadership .home-team__title {
  max-width: 14ch;
  overflow: visible;
  font-size: clamp(2.8rem, 4.4vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.home-team--leadership .home-team__intro {
  max-width: 39ch;
  margin: 0 0 4px;
  color: #5f6a7f;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.72;
}

.home-team--leadership .home-team__showcase {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(218px, 0.68fr) minmax(360px, 1.12fr) minmax(350px, 0.9fr);
}

.home-team--leadership .home-team__selectors {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 38px clamp(26px, 3vw, 46px) 38px 0;
  border-right: 1px solid rgba(21, 28, 49, 0.14);
}

.home-team--leadership .home-team__selector {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  border: 0;
  border-top: 1px solid rgba(21, 28, 49, 0.1);
  outline: 0;
  background: transparent;
  color: var(--temida-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 220ms ease, color 220ms ease;
}

.home-team--leadership .home-team__selector:last-child {
  border-bottom: 1px solid rgba(21, 28, 49, 0.1);
}

.home-team--leadership .home-team__selector::before {
  position: absolute;
  top: 50%;
  left: calc(clamp(26px, 3vw, 46px) * -1 - 1px);
  width: 2px;
  height: 0;
  background: #4f79d1;
  content: "";
  transform: translateY(-50%);
  transition: height 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--leadership .home-team__selector.is-active {
  opacity: 1;
}

.home-team--leadership .home-team__selector.is-active::before {
  height: 52px;
}

.home-team--leadership .home-team__selector:focus-visible {
  outline: 2px solid #4f79d1;
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .home-team--leadership .home-team__selector:hover {
    opacity: 0.78;
  }

  .home-team--leadership .home-team__selector.is-active:hover {
    opacity: 1;
  }
}

.home-team--leadership .home-team__selector-portrait {
  display: block;
  overflow: hidden;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.home-team--leadership .home-team__selector-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-team--leadership .home-team__selector-copy {
  display: block;
  min-width: 0;
}

.home-team--leadership .home-team__selector-copy strong,
.home-team--leadership .home-team__selector-copy small {
  display: block;
}

.home-team--leadership .home-team__selector-copy strong {
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.home-team--leadership .home-team__selector-copy small {
  margin-top: 5px;
  color: #697489;
  font-size: 0.75rem;
  line-height: 1.35;
}

.home-team--leadership .home-team__profile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 4.3vw, 72px) clamp(38px, 4.3vw, 70px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.home-team--leadership .home-team__profile.is-changing {
  opacity: 0;
  transform: translateY(7px);
}

.home-team--leadership .home-team__profile-label {
  max-width: 34ch;
  margin: 0 0 24px;
  color: #4f70bd;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-team--leadership .home-team__profile-name {
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(2.25rem, 3.2vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 1;
}

.home-team--leadership .home-team__profile-role {
  margin: 11px 0 0;
  color: #697489;
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-team--leadership .home-team__profile-description {
  max-width: 48ch;
  margin: 30px 0 0;
  color: #525e73;
  font-size: clamp(0.98rem, 1vw, 1.06rem);
  line-height: 1.72;
}

.home-team--leadership .home-team__competencies {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(21, 28, 49, 0.12);
  list-style: none;
}

.home-team--leadership .home-team__competencies li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid rgba(21, 28, 49, 0.09);
  color: var(--temida-navy);
  font-size: 0.86rem;
  line-height: 1.35;
}

.home-team--leadership .home-team__competencies li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 10px;
  height: 1px;
  background: #4f79d1;
  content: "";
}

.home-team--leadership .home-team__link {
  align-self: flex-start;
  margin-top: 32px;
}

.home-team--leadership .home-team__stage {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  background: #f1f4f9;
  isolation: isolate;
}

.home-team--leadership .home-team__stage-field {
  position: absolute;
  z-index: -1;
  inset: 18% -20% -10% 16%;
  background: linear-gradient(138deg, #244c9f 0%, #527fd4 100%);
  clip-path: polygon(23% 0, 100% 0, 77% 100%, 0 100%);
}

.home-team--leadership .home-team__stage-image {
  display: block;
  width: min(82%, 420px);
  height: auto;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 24px 28px rgba(23, 43, 81, 0.12));
  transition: opacity 180ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--leadership .home-team__stage-image.is-changing {
  opacity: 0;
  transform: scale(0.975);
}

.temida-motion-ready .home-team--leadership .home-team__selectors,
.temida-motion-ready .home-team--leadership .home-team__profile,
.temida-motion-ready .home-team--leadership .home-team__stage {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 520ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.temida-motion-ready .home-team--leadership.is-motion-visible .home-team__selectors,
.temida-motion-ready .home-team--leadership.is-motion-visible .home-team__profile,
.temida-motion-ready .home-team--leadership.is-motion-visible .home-team__stage {
  opacity: 1;
  transform: none;
}

.temida-motion-ready .home-team--leadership.is-motion-visible .home-team__profile {
  transition-delay: 80ms;
}

.temida-motion-ready .home-team--leadership.is-motion-visible .home-team__stage {
  transition-delay: 150ms;
}

.temida-motion-ready .home-team--leadership.is-switching .home-team__profile {
  transition: opacity 160ms ease, transform 160ms ease;
  transition-delay: 0ms;
}

.temida-motion-ready .home-team--leadership [data-temida-reveal="title"] {
  overflow: visible;
  clip-path: none;
}

@media (max-width: 1160px) {
  .home-team--leadership .home-team__showcase {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .home-team--leadership .home-team__selectors {
    grid-row: 1 / span 2;
  }

  .home-team--leadership .home-team__stage {
    min-height: 410px;
    grid-column: 2;
    grid-row: 1;
  }

  .home-team--leadership .home-team__profile {
    grid-column: 2;
    grid-row: 2;
  }

  .home-team--leadership .home-team__stage-image {
    width: min(64%, 350px);
  }
}

@media (max-width: 760px) {
  .home-team--leadership .home-team__inner {
    width: calc(100% - 40px);
    padding: 68px 0 76px;
  }

  .home-team--leadership .home-team__header {
    display: block;
    padding-bottom: 34px;
  }

  .home-team--leadership .home-team__title {
    max-width: 11ch;
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .home-team--leadership .home-team__intro {
    margin-top: 26px;
  }

  .home-team--leadership .home-team__showcase {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .home-team--leadership .home-team__selectors {
    order: 1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 24px 0;
    border-right: 0;
    scrollbar-width: thin;
  }

  .home-team--leadership .home-team__selector {
    flex: 0 0 220px;
    padding: 13px;
    border: 1px solid rgba(21, 28, 49, 0.12);
  }

  .home-team--leadership .home-team__selector:last-child {
    border-bottom: 1px solid rgba(21, 28, 49, 0.12);
  }

  .home-team--leadership .home-team__selector::before {
    top: auto;
    right: 12px;
    bottom: -1px;
    left: 12px;
    width: auto;
    height: 2px;
    transform: none;
    opacity: 0;
  }

  .home-team--leadership .home-team__selector.is-active::before {
    height: 2px;
    opacity: 1;
  }

  .home-team--leadership .home-team__stage {
    min-height: 340px;
    order: 2;
  }

  .home-team--leadership .home-team__stage-image {
    width: min(76%, 300px);
  }

  .home-team--leadership .home-team__profile {
    order: 3;
    padding: 42px 0 0;
  }

  .home-team--leadership .home-team__profile-name {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-team--leadership .home-team__profile,
  .home-team--leadership .home-team__stage-image,
  .temida-motion-ready .home-team--leadership .home-team__selectors,
  .temida-motion-ready .home-team--leadership .home-team__profile,
  .temida-motion-ready .home-team--leadership .home-team__stage {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Zespół — funkcjonalna karuzela oparta na referencji Axiap. */
.home-team--carousel {
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(21, 28, 49, 0.08);
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: #fdfdfb;
}

.home-team--carousel::before,
.home-team--carousel::after,
.home-team--carousel .home-team__grid::before {
  display: none !important;
}

.home-team--carousel .home-team__inner {
  width: min(calc(100% - clamp(48px, 7vw, 136px)), 1480px);
  padding: clamp(82px, 6.8vw, 112px) 0 clamp(76px, 6.2vw, 104px);
}

.home-team--carousel .home-team__layout {
  display: block;
}

.home-team--carousel .home-team__header {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(320px, 0.88fr) minmax(390px, 0.78fr) minmax(100px, 0.34fr);
  gap: clamp(46px, 6vw, 104px);
  align-items: start;
}

.home-team--carousel .home-team__heading {
  max-width: 610px;
}

.home-team--carousel .home-team__eyebrow {
  margin: 0 0 18px;
  color: #526079;
}

.home-team--carousel .home-team__title {
  max-width: 10ch;
  overflow: visible;
  font-size: clamp(3rem, 4.6vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.home-team--carousel .home-team__intro {
  max-width: 37ch;
  margin: 1px 0 0;
  color: #55627a;
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  font-weight: 500;
  line-height: 1.55;
}

.home-team--carousel .home-team__showcase {
  display: grid;
  min-height: clamp(500px, 36vw, 580px);
  grid-template-columns: minmax(300px, 0.88fr) minmax(320px, 0.72fr) minmax(390px, 1fr);
  margin-top: clamp(34px, 3vw, 52px);
}

.home-team--carousel .home-team__selectors {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.15vw, 18px);
  align-self: end;
  padding: 0 clamp(30px, 3vw, 48px) 42px 0;
  border-right: 1px solid rgba(21, 28, 49, 0.18);
}

.home-team--carousel .home-team__selector {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--temida-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.48;
  filter: grayscale(1);
  transition: opacity 220ms ease, filter 220ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--carousel .home-team__selector::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #4f79d1;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--carousel .home-team__selector.is-active {
  opacity: 1;
  filter: none;
  transform: translateY(-8px);
}

.home-team--carousel .home-team__selector.is-active::after {
  transform: scaleX(1);
}

.home-team--carousel .home-team__selector:focus-visible {
  outline: 2px solid #4f79d1;
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .home-team--carousel .home-team__selector:hover {
    opacity: 0.78;
    filter: grayscale(0.35);
  }
}

.home-team--carousel .home-team__selector-portrait {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 0.84;
  background: #f1f4f8;
}

.home-team--carousel .home-team__selector:nth-child(2) .home-team__selector-portrait {
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}

.home-team--carousel .home-team__selector:nth-child(3) .home-team__selector-portrait {
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.home-team--carousel .home-team__selector-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.16);
}

.home-team--carousel .home-team__selector-copy {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-team--carousel .home-team__profile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(34px, 3.6vw, 58px) 42px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.home-team--carousel .home-team__profile.is-changing {
  opacity: 0;
  transform: translateY(7px);
}

.home-team--carousel .home-team__profile-label {
  max-width: 31ch;
  margin: 0 0 20px;
  color: #4f70bd;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-team--carousel .home-team__profile-name {
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(1.75rem, 2.45vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.042em;
  line-height: 1.02;
}

.home-team--carousel .home-team__profile-role {
  margin: 9px 0 0;
  color: #68748a;
  font-size: 0.86rem;
  line-height: 1.4;
}

.home-team--carousel .home-team__profile-description {
  max-width: 43ch;
  margin: 25px 0 0;
  color: #525e73;
  font-size: clamp(0.9rem, 0.92vw, 1rem);
  line-height: 1.65;
}

.home-team--carousel .home-team__competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.home-team--carousel .home-team__competencies li {
  position: relative;
  padding-left: 16px;
  color: var(--temida-navy);
  font-size: 0.78rem;
  line-height: 1.4;
}

.home-team--carousel .home-team__competencies li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 1px;
  background: #4f79d1;
  content: "";
}

.home-team--carousel .home-team__link {
  align-self: flex-start;
  margin-top: 25px;
}

.home-team--carousel .home-team__stage {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  place-items: end center;
  background: transparent;
  isolation: isolate;
}

.home-team--carousel .home-team__stage-field {
  position: absolute;
  z-index: -1;
  right: 10%;
  bottom: 0;
  width: 72%;
  height: 73%;
  background: linear-gradient(138deg, #244c9f 0%, #527fd4 100%);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}

.home-team--carousel .home-team__stage-image {
  display: block;
  width: min(82%, 450px);
  height: auto;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 22px 28px rgba(23, 43, 81, 0.12));
  transition: opacity 180ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--carousel .home-team__stage-image.is-changing {
  opacity: 0;
  transform: translateX(12px) scale(0.98);
}

.home-team--carousel .home-team__controls {
  position: absolute;
  right: 4%;
  bottom: 28px;
  display: flex;
  gap: 9px;
}

.home-team--carousel .home-team__controls button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #2f5ab2;
  border-radius: 50%;
  outline: 0;
  background: #fff;
  color: #2f5ab2;
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  place-items: center;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-team--carousel .home-team__controls button:last-child {
  background: #2f5ab2;
  color: #fff;
}

.home-team--carousel .home-team__controls button:focus-visible {
  outline: 2px solid #4f79d1;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .home-team--carousel .home-team__controls button:hover {
    transform: translateY(-2px);
  }
}

.temida-motion-ready .home-team--carousel .home-team__selectors,
.temida-motion-ready .home-team--carousel .home-team__profile,
.temida-motion-ready .home-team--carousel .home-team__stage {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 500ms ease, transform 660ms cubic-bezier(0.22, 1, 0.36, 1);
}

.temida-motion-ready .home-team--carousel.is-motion-visible .home-team__selectors,
.temida-motion-ready .home-team--carousel.is-motion-visible .home-team__profile,
.temida-motion-ready .home-team--carousel.is-motion-visible .home-team__stage {
  opacity: 1;
  transform: none;
}

.temida-motion-ready .home-team--carousel.is-motion-visible .home-team__profile {
  transition-delay: 80ms;
}

.temida-motion-ready .home-team--carousel.is-motion-visible .home-team__stage {
  transition-delay: 150ms;
}

.temida-motion-ready .home-team--carousel.is-switching .home-team__profile {
  transition: opacity 160ms ease, transform 160ms ease;
  transition-delay: 0ms;
}

.temida-motion-ready .home-team--carousel [data-temida-reveal="title"] {
  overflow: visible;
  clip-path: none;
}

@media (max-width: 1160px) {
  .home-team--carousel .home-team__header {
    grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1fr);
  }

  .home-team--carousel .home-team__showcase {
    grid-template-columns: minmax(270px, 0.72fr) minmax(340px, 1fr);
  }

  .home-team--carousel .home-team__selectors {
    grid-column: 1;
    grid-row: 2;
  }

  .home-team--carousel .home-team__profile {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-end;
    padding-left: 0;
  }

  .home-team--carousel .home-team__stage {
    min-height: 500px;
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .home-team--carousel .home-team__inner {
    width: calc(100% - 40px);
    padding: 68px 0 76px;
  }

  .home-team--carousel .home-team__header {
    display: block;
  }

  .home-team--carousel .home-team__title {
    max-width: 10ch;
    font-size: clamp(2.65rem, 12.5vw, 3.8rem);
  }

  .home-team--carousel .home-team__intro {
    margin-top: 28px;
  }

  .home-team--carousel .home-team__showcase {
    display: flex;
    min-height: 0;
    flex-direction: column;
    margin-top: 38px;
  }

  .home-team--carousel .home-team__selectors {
    order: 1;
    padding: 0 0 28px;
    border-right: 0;
  }

  .home-team--carousel .home-team__stage {
    min-height: 360px;
    order: 2;
  }

  .home-team--carousel .home-team__stage-image {
    width: min(76%, 310px);
  }

  .home-team--carousel .home-team__profile {
    order: 3;
    padding: 42px 0 0;
  }

  .home-team--carousel .home-team__profile-name {
    font-size: clamp(2.25rem, 10.5vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-team--carousel .home-team__profile,
  .home-team--carousel .home-team__stage-image,
  .temida-motion-ready .home-team--carousel .home-team__selectors,
  .temida-motion-ready .home-team--carousel .home-team__profile,
  .temida-motion-ready .home-team--carousel .home-team__stage {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Zespół — zwarta kompozycja inspirowana Axiap, z typografią i aktywami Temidy. */
.home-team--axiap {
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(21, 28, 49, 0.08);
  border-bottom: 1px solid rgba(21, 28, 49, 0.08);
  background: #fdfdfb;
}

.home-team--axiap::before,
.home-team--axiap::after,
.home-team--axiap .home-team__grid::before {
  display: none !important;
}

.home-team--axiap .home-team__inner {
  width: min(calc(100% - clamp(56px, 7vw, 120px)), 1420px);
  padding: clamp(54px, 4.4vw, 72px) 0 0;
}

.home-team--axiap .home-team__layout {
  display: block;
}

.home-team--axiap .home-team__header {
  display: grid;
  max-width: none;
  min-height: clamp(150px, 12vw, 184px);
  grid-template-columns: 31% 34% 1fr;
  gap: clamp(34px, 4.5vw, 68px);
  align-items: start;
}

.home-team--axiap .home-team__heading {
  min-width: 0;
}

.home-team--axiap .home-team__title {
  max-width: 8ch;
  overflow: visible;
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(2.85rem, 4vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.96;
}

.home-team--axiap .home-team__intro {
  max-width: 34ch;
  margin: 0;
  color: #536580;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  font-weight: 400;
  letter-spacing: -0.014em;
  line-height: 1.52;
}

.home-team--axiap .home-team__intro strong {
  color: #104ca8;
  font-weight: 600;
}

.home-team--axiap .home-team__mark {
  display: block;
  width: clamp(112px, 9.5vw, 152px);
  height: auto;
  justify-self: center;
  margin-top: -16px;
  opacity: 0.095;
  filter: grayscale(1);
}

.home-team--axiap .home-team__showcase {
  position: relative;
  min-height: clamp(340px, 25vw, 390px);
  margin-top: 0;
}

.home-team--axiap .home-team__selectors {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  display: grid;
  width: 34.5%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 18px);
  padding: 0 clamp(24px, 2.5vw, 38px) clamp(22px, 2vw, 30px) 0;
}

.home-team--axiap .home-team__selectors::before {
  position: absolute;
  right: 0;
  bottom: clamp(22px, 2vw, 30px);
  width: 1px;
  height: clamp(148px, 13vw, 190px);
  background: rgba(73, 91, 120, 0.25);
  content: "";
}

.home-team--axiap .home-team__selector {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--temida-navy);
  font: inherit;
  cursor: pointer;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 200ms ease, filter 200ms ease;
}

.home-team--axiap .home-team__selector::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: #104ca8;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--axiap .home-team__selector.is-active {
  opacity: 1;
  filter: none;
}

.home-team--axiap .home-team__selector.is-active::after {
  transform: scaleX(1);
}

.home-team--axiap .home-team__selector:focus-visible {
  outline: 2px solid #104ca8;
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .home-team--axiap .home-team__selector:hover {
    opacity: 0.78;
    filter: grayscale(0.3);
  }
}

.home-team--axiap .home-team__selector-portrait {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  background: #eef2f7;
}

.home-team--axiap .home-team__selector:nth-child(1) .home-team__selector-portrait {
  clip-path: none;
}

.home-team--axiap .home-team__selector:nth-child(2) .home-team__selector-portrait {
  clip-path: none;
}

.home-team--axiap .home-team__selector:nth-child(3) .home-team__selector-portrait {
  clip-path: none;
}

.home-team--axiap .home-team__selector-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.9) translate(-8%, -4%);
}

.home-team--axiap .home-team__selector-copy {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-team--axiap .home-team__profile {
  position: absolute;
  z-index: 3;
  bottom: clamp(22px, 2vw, 30px);
  left: 37.5%;
  display: flex;
  width: 22.5%;
  min-width: 0;
  flex-direction: column;
  transition: opacity 150ms ease, transform 150ms ease;
}

.home-team--axiap .home-team__profile.is-changing {
  opacity: 0;
  transform: translateY(7px);
}

.home-team--axiap .home-team__profile-label {
  display: none;
}

.home-team--axiap .home-team__profile-name {
  margin: 0;
  color: var(--temida-navy);
  font-size: clamp(1.3rem, 1.55vw, 1.72rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.08;
}

.home-team--axiap .home-team__profile-role {
  margin: 10px 0 0;
  color: #64748b;
  font-size: clamp(0.78rem, 0.88vw, 0.92rem);
  line-height: 1.4;
}

.home-team--axiap .home-team__profile-description {
  max-width: 29ch;
  margin: 11px 0 0;
  color: #536580;
  font-size: clamp(0.75rem, 0.84vw, 0.9rem);
  line-height: 1.42;
}

.home-team--axiap .home-team__competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.home-team--axiap .home-team__competencies li {
  color: #104ca8;
  font-size: clamp(0.68rem, 0.72vw, 0.78rem);
  font-weight: 600;
  line-height: 1.35;
}

.home-team--axiap .home-team__competencies li + li::before {
  margin-right: 12px;
  color: #9ba7b8;
  content: "·";
}

.home-team--axiap .home-team__link {
  align-self: flex-start;
  margin-top: 18px;
  color: #104ca8;
  font-weight: 700;
}

.home-team--axiap .home-team__stage {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: grid;
  width: 40%;
  height: 100%;
  overflow: hidden;
  place-items: end center;
  isolation: isolate;
}

.home-team--axiap .home-team__stage-field {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 0;
  width: 64%;
  height: 78%;
  background: #1852b5;
  clip-path: polygon(22% 0, 100% 0, 77% 100%, 0 100%);
}

.home-team--axiap .home-team__stage-frame {
  display: block;
  overflow: hidden;
  width: min(68%, 292px);
  aspect-ratio: 1;
  margin: 0 11% 0 0;
  background: #fff;
}

.home-team--axiap .home-team__stage-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.9) translate(-8%, -4%);
  filter: none;
  transition: opacity 170ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team--axiap .home-team__stage-image.is-changing {
  opacity: 0;
  transform: scale(1.84) translate(-5.5%, -4%);
}

.home-team--axiap .home-team__controls {
  position: absolute;
  right: 1%;
  bottom: clamp(22px, 2vw, 30px);
  display: flex;
  gap: 9px;
}

.home-team--axiap .home-team__controls button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #104ca8;
  border-radius: 50%;
  outline: 0;
  background: #fff;
  color: #104ca8;
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  place-items: center;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.home-team--axiap .home-team__controls button:last-child {
  background: #104ca8;
  color: #fff;
}

.home-team--axiap .home-team__controls button:focus-visible {
  outline: 2px solid #104ca8;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .home-team--axiap .home-team__controls button:hover {
    transform: translateY(-2px);
  }
}

.temida-motion-ready .home-team--axiap .home-team__selectors,
.temida-motion-ready .home-team--axiap .home-team__profile,
.temida-motion-ready .home-team--axiap .home-team__stage {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 480ms ease, transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.temida-motion-ready .home-team--axiap.is-motion-visible .home-team__selectors,
.temida-motion-ready .home-team--axiap.is-motion-visible .home-team__profile,
.temida-motion-ready .home-team--axiap.is-motion-visible .home-team__stage {
  opacity: 1;
  transform: none;
}

.temida-motion-ready .home-team--axiap.is-motion-visible .home-team__profile {
  transition-delay: 70ms;
}

.temida-motion-ready .home-team--axiap.is-motion-visible .home-team__stage {
  transition-delay: 130ms;
}

.temida-motion-ready .home-team--axiap.is-switching .home-team__profile {
  transition: opacity 150ms ease, transform 150ms ease;
  transition-delay: 0ms;
}

.temida-motion-ready .home-team--axiap [data-temida-reveal="title"] {
  overflow: visible;
  clip-path: none;
}

@media (max-width: 1020px) {
  .home-team--axiap .home-team__header {
    grid-template-columns: 32% 42% 1fr;
    gap: 32px;
  }

  .home-team--axiap .home-team__showcase {
    min-height: 440px;
  }

  .home-team--axiap .home-team__selectors {
    width: 42%;
  }

  .home-team--axiap .home-team__profile {
    left: 45%;
    width: 25%;
  }

  .home-team--axiap .home-team__stage {
    width: 45%;
  }
}

@media (max-width: 760px) {
  .home-team--axiap .home-team__inner {
    width: calc(100% - 40px);
    padding: 52px 0 0;
  }

  .home-team--axiap .home-team__header {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  .home-team--axiap .home-team__title {
    font-size: clamp(2.65rem, 12vw, 3.6rem);
  }

  .home-team--axiap .home-team__intro {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-team--axiap .home-team__mark {
    width: 100px;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .home-team--axiap .home-team__showcase {
    display: flex;
    min-height: 0;
    flex-direction: column;
    margin-top: 34px;
  }

  .home-team--axiap .home-team__selectors,
  .home-team--axiap .home-team__profile,
  .home-team--axiap .home-team__stage {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .home-team--axiap .home-team__selectors {
    order: 1;
    padding: 0 0 32px;
  }

  .home-team--axiap .home-team__selectors::before {
    display: none;
  }

  .home-team--axiap .home-team__stage {
    min-height: 340px;
    order: 2;
  }

  .home-team--axiap .home-team__stage-frame {
    width: min(76%, 310px);
    margin-right: 10%;
  }

  .home-team--axiap .home-team__profile {
    order: 3;
    padding: 40px 0 74px;
  }

  .home-team--axiap .home-team__profile-name {
    font-size: clamp(1.9rem, 8.5vw, 2.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-team--axiap .home-team__profile,
  .home-team--axiap .home-team__stage-image,
  .temida-motion-ready .home-team--axiap .home-team__selectors,
  .temida-motion-ready .home-team--axiap .home-team__profile,
  .temida-motion-ready .home-team--axiap .home-team__stage {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Standardy v1.4.42 — wyśrodkowany pas potwierdzeń i mobilna pętla jak w sekcji klientów. */
.home-certificates--marks-only .home-certificates__inner {
  display: block;
  width: min(calc(100% - clamp(56px, 7vw, 120px)), 1180px);
  max-width: none;
  min-height: 0;
  padding-block: clamp(48px, 4.2vw, 66px);
}

.home-certificates--marks-only .home-certificates__grid {
  max-width: 1060px;
  gap: clamp(46px, 6vw, 88px);
  align-items: stretch;
  margin-inline: auto;
}

.home-certificates--marks-only .home-certificates__marquee,
.home-certificates--marks-only .home-certificates__marquee-track {
  width: 100%;
}

.home-certificates--marks-only .home-certificates__grid + .home-certificates__grid {
  display: none;
}

.home-certificates--marks-only .home-certificates__body {
  min-height: 220px;
  align-items: center;
  justify-content: center;
  padding: 20px 4px 24px;
  text-align: center;
}

.home-certificates--marks-only .home-certificates__visual {
  height: 110px;
  justify-items: center;
  margin-bottom: 24px;
}

.home-certificates--marks-only .home-certificates__item:nth-child(1) .home-certificates__image {
  width: min(78%, 196px);
}

.home-certificates--marks-only .home-certificates__item:nth-child(2) .home-certificates__image {
  width: min(96%, 270px);
}

.home-certificates--marks-only .home-certificates__item:nth-child(3) .home-certificates__image {
  width: min(78%, 180px);
}

.home-certificates--marks-only .home-certificates__body h3 {
  margin-inline: auto;
}

@media (max-width: 900px) {
  .home-certificates--marks-only .home-certificates__inner {
    width: 100%;
    padding-block: 34px 38px;
  }

  .home-certificates--marks-only .home-certificates__marquee {
    --home-certificates-gap: 28px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }

  .home-certificates--marks-only .home-certificates__marquee-track {
    display: flex;
    width: max-content;
    align-items: stretch;
    will-change: transform;
  }

  .home-certificates--marks-only .home-certificates__marquee.is-animated .home-certificates__marquee-track {
    animation: home-trust-marquee 25s linear infinite;
  }

  .home-certificates--marks-only .home-certificates__marquee.is-animated:hover .home-certificates__marquee-track,
  .home-certificates--marks-only .home-certificates__marquee.is-animated:focus-within .home-certificates__marquee-track {
    animation-play-state: paused;
  }

  .home-certificates--marks-only .home-certificates__grid,
  .home-certificates--marks-only .home-certificates__grid + .home-certificates__grid {
    display: flex;
    width: max-content;
    max-width: none;
    flex: 0 0 auto;
    gap: var(--home-certificates-gap);
    padding-right: var(--home-certificates-gap);
    margin: 0;
  }

  .home-certificates--marks-only .home-certificates__item {
    width: min(72vw, 276px);
    min-width: min(72vw, 276px);
    flex: 0 0 min(72vw, 276px);
  }

  .home-certificates--marks-only .home-certificates__body {
    display: flex;
    min-height: 238px;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
    padding-block: 22px 24px;
    text-align: center;
  }

  .home-certificates--marks-only .home-certificates__visual {
    width: 100%;
    height: 72px;
    margin: 0 0 14px;
  }

  .home-certificates--marks-only .home-certificates__item:nth-child(1) .home-certificates__image,
  .home-certificates--marks-only .home-certificates__item:nth-child(2) .home-certificates__image,
  .home-certificates--marks-only .home-certificates__item:nth-child(3) .home-certificates__image {
    width: auto;
    max-width: min(82%, 250px);
    max-height: 72px;
  }

}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .home-certificates--marks-only .home-certificates__marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .home-certificates--marks-only .home-certificates__marquee::-webkit-scrollbar {
    display: none;
  }

  .home-certificates--marks-only .home-certificates__marquee-track {
    animation: none;
    transform: none;
  }

  .home-certificates--marks-only .home-certificates__grid + .home-certificates__grid {
    display: none;
  }

  .home-certificates--marks-only .home-certificates__item {
    scroll-snap-align: center;
  }
}

/* Kontakt — demo redakcyjnego podziału panel/mapa. */
.home-contact--editorial {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(380px, 36%) minmax(0, 1fr);
  scroll-margin-top: 74px;
  border-top: 0;
  background: var(--temida-navy);
}

.home-contact--editorial .home-contact__map {
  position: relative;
  inset: auto;
  min-width: 0;
  min-height: 620px;
  grid-column: 2;
  grid-row: 1;
  border-left: 1px solid rgba(21, 28, 49, 0.14);
}

.home-contact--editorial .home-contact__map iframe {
  filter: saturate(0.5) contrast(0.96) brightness(1.035);
}

.home-contact--editorial .home-contact__map.is-local-preview .leaflet-tile-pane {
  filter: saturate(0.7) contrast(0.94) brightness(1.035);
}

.home-contact--editorial .home-contact__map.is-local-preview .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(21, 28, 49, 0.18);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(21, 28, 49, 0.08);
}

.home-contact--editorial .home-contact__map.is-local-preview .leaflet-control-zoom a {
  width: 38px;
  height: 38px;
  border-color: rgba(21, 28, 49, 0.14);
  color: var(--temida-navy);
  font: 400 1.35rem/38px Arial, sans-serif;
}

.home-contact--editorial .home-contact__map-label {
  top: 32px;
  right: clamp(28px, 3.5vw, 64px);
}

.home-contact--editorial .home-contact__card {
  position: relative;
  inset: auto;
  display: flex;
  width: 100%;
  min-height: 620px;
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  padding: clamp(52px, 5vw, 76px) clamp(38px, 4.5vw, 68px);
  background: var(--temida-navy);
  box-shadow: none;
}

.home-contact--editorial .home-contact__card::before {
  display: none;
}

.home-contact--editorial .home-contact__title {
  max-width: 360px;
  font-size: clamp(2.65rem, 3.45vw, 3.75rem);
  line-height: 1.01;
}

.home-contact--editorial .home-contact__details {
  margin-top: clamp(46px, 6vh, 68px);
}

.home-contact--editorial .home-contact__actions {
  margin-top: auto;
  padding-top: 42px;
}

.home-contact--editorial .home-contact__marker-card {
  display: none;
}

.home-contact--editorial .home-contact__fallback-pin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 90px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-contact--editorial .home-contact__map.is-enhanced .home-contact__fallback-pin {
  display: none;
}

.home-contact--editorial .home-contact__pin {
  box-shadow: 0 18px 38px rgba(21, 28, 49, 0.2);
}

@media (max-width: 900px) {
  .home-contact--editorial {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .home-contact--editorial .home-contact__card {
    min-height: 480px;
    order: 1;
    padding: 50px clamp(24px, 7vw, 48px) 46px;
  }

  .home-contact--editorial .home-contact__map {
    min-height: 400px;
    order: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .home-contact--editorial .home-contact__title {
    max-width: 430px;
  }

  .home-contact--editorial .home-contact__details {
    margin-top: 40px;
  }

  .home-contact--editorial .home-contact__actions {
    margin-top: 38px;
    padding-top: 0;
  }

  .home-contact--editorial .home-contact__map-label {
    top: auto;
    right: 22px;
    bottom: 368px;
  }
}

@media (max-width: 560px) {
  .home-contact--editorial .home-contact__card {
    min-height: 0;
    padding-block: 44px 48px;
  }

  .home-contact--editorial .home-contact__title {
    font-size: clamp(2.5rem, 12vw, 3.2rem);
  }

  .home-contact--editorial .home-contact__map {
    min-height: 350px;
  }

  .home-contact--editorial .home-contact__map-label {
    bottom: 318px;
  }
}

/* Wiedza — archiwum wpisów i pojedynczy artykuł. */
.knowledge-archive {
  background: var(--temida-white);
}

.knowledge-archive__header {
  padding: clamp(74px, 8vw, 116px) 0 clamp(42px, 5vw, 66px);
}

.knowledge-archive__header-inner {
  position: relative;
  padding-bottom: clamp(40px, 4vw, 56px);
  text-align: center;
}

.knowledge-archive__header-inner::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--temida-border);
  content: "";
}

.knowledge-archive__header h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1;
}

.knowledge-archive__header p {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--temida-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.knowledge-archive__body {
  padding-bottom: clamp(90px, 10vw, 142px);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.2vw, 30px);
}

.knowledge-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--temida-border);
  background: var(--temida-white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.knowledge-card:hover,
.knowledge-card:focus-within {
  border-color: rgba(95, 128, 199, 0.52);
  box-shadow: 0 16px 34px rgba(21, 28, 49, 0.08);
  transform: translateY(-3px);
}

.knowledge-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--temida-soft-blue);
  text-decoration: none;
}

.knowledge-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms var(--temida-ease-out);
}

.knowledge-card:hover .knowledge-card__media > img,
.knowledge-card:focus-within .knowledge-card__media > img {
  transform: scale(1.025);
}

.knowledge-card__placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e9eef8;
}

.knowledge-card__placeholder span {
  position: absolute;
  display: block;
}

.knowledge-card:nth-child(3n + 1) .knowledge-card__placeholder span:first-child {
  top: 18%;
  left: 54%;
  width: 24%;
  aspect-ratio: 1;
  border: 1px solid rgba(21, 28, 49, 0.2);
  border-radius: 50%;
}

.knowledge-card:nth-child(3n + 1) .knowledge-card__placeholder span:nth-child(2) {
  top: 13%;
  left: 66%;
  width: 1px;
  height: 58%;
  background: rgba(21, 28, 49, 0.18);
}

.knowledge-card:nth-child(3n + 1) .knowledge-card__placeholder span:nth-child(3) {
  top: 60%;
  left: 48%;
  width: 38%;
  height: 1px;
  background: rgba(21, 28, 49, 0.18);
}

.knowledge-card:nth-child(3n + 2) .knowledge-card__placeholder {
  background: var(--temida-navy);
}

.knowledge-card:nth-child(3n + 2) .knowledge-card__placeholder span {
  bottom: 32%;
  left: 10%;
  width: 34%;
  height: 1px;
  background: rgba(136, 162, 218, 0.72);
  transform: rotate(-31deg);
  transform-origin: right;
}

.knowledge-card:nth-child(3n + 2) .knowledge-card__placeholder span:nth-child(2) {
  bottom: 48%;
  left: 40%;
  width: 28%;
  transform: rotate(29deg);
}

.knowledge-card:nth-child(3n + 2) .knowledge-card__placeholder span:nth-child(3) {
  bottom: 41%;
  left: 65%;
  width: 34%;
  transform: rotate(-31deg);
}

.knowledge-card:nth-child(3n) .knowledge-card__placeholder {
  background: #dbe5f7;
}

.knowledge-card:nth-child(3n) .knowledge-card__placeholder span:first-child,
.knowledge-card:nth-child(3n) .knowledge-card__placeholder span:nth-child(2) {
  top: 20%;
  left: 14%;
  width: 33%;
  height: 55%;
  background: rgba(255, 255, 255, 0.8);
}

.knowledge-card:nth-child(3n) .knowledge-card__placeholder span:nth-child(2) {
  left: 58%;
  background: var(--temida-blue);
}

.knowledge-card:nth-child(3n) .knowledge-card__placeholder span:nth-child(3) {
  top: 48%;
  left: 64%;
  width: 25%;
  height: 1px;
  background: var(--temida-white);
  transform: rotate(-48deg);
}

.knowledge-card__media-label {
  position: absolute;
  right: 92px;
  bottom: 0;
  left: 0;
  padding: 8px 14px;
  color: rgba(21, 28, 49, 0.56);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-card:nth-child(3n + 2) .knowledge-card__media-label {
  color: rgba(255, 255, 255, 0.62);
}

.knowledge-card__date {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 90px;
  padding: 9px 12px;
  background: var(--temida-navy);
  color: var(--temida-white);
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.knowledge-card:nth-child(3n) .knowledge-card__date {
  background: var(--temida-blue);
}

.knowledge-card__content {
  display: flex;
  min-height: 244px;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 0;
}

.knowledge-card__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  font-weight: 500;
  line-height: 1.3;
}

.knowledge-card__title a {
  text-decoration: none;
}

.knowledge-card__excerpt {
  margin: 18px 0 24px;
  color: var(--temida-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.knowledge-card__more {
  display: flex;
  min-height: 52px;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--temida-border);
  color: var(--temida-navy);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.knowledge-card__more span:last-child {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.knowledge-card__more:hover span:last-child,
.knowledge-card__more:focus-visible span:last-child {
  transform: translateX(4px);
}

.knowledge-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 58px;
}

.knowledge-pagination .page-numbers {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--temida-border);
  text-decoration: none;
}

.knowledge-pagination .page-numbers.current {
  border-color: var(--temida-blue);
  background: var(--temida-blue);
  color: var(--temida-white);
}

.knowledge-empty {
  padding: 72px 0 40px;
  text-align: center;
}

.knowledge-empty h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
}

.knowledge-empty p {
  color: var(--temida-muted);
}

.knowledge-article__header {
  padding: clamp(70px, 8vw, 112px) 0 clamp(46px, 5vw, 70px);
  background: var(--temida-white);
}

.knowledge-article__header-inner {
  max-width: 1040px;
}

.knowledge-article__back,
.knowledge-article__categories {
  color: var(--temida-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.knowledge-article__categories {
  margin-top: 52px;
}

.knowledge-article__categories a {
  text-decoration: none;
}

.knowledge-article__header h1 {
  max-width: 980px;
  margin: 20px 0 30px;
  font-size: clamp(3rem, 5.6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.knowledge-article__meta {
  display: flex;
  gap: 18px;
  color: var(--temida-muted);
  font-size: 0.75rem;
}

.knowledge-article__meta span::before {
  margin-right: 18px;
  content: "•";
}

.knowledge-article__lead {
  max-width: 760px;
  margin: 34px 0 0;
  color: #525b6e;
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  line-height: 1.62;
}

.knowledge-article__hero {
  aspect-ratio: 16 / 7;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--temida-soft-blue);
}

.knowledge-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge-article__hero--placeholder {
  display: grid;
  place-items: center;
  background: var(--temida-navy);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.knowledge-article__content {
  width: min(calc(100% - 40px), 780px);
  max-width: 780px;
  padding: clamp(62px, 7vw, 96px) 0 clamp(72px, 8vw, 110px);
  color: #30384a;
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.82;
}

.knowledge-article__content h2,
.knowledge-article__content h3 {
  margin-top: 2.2em;
  margin-bottom: 0.75em;
  font-weight: 400;
}

.knowledge-article__content h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.knowledge-article__content h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.knowledge-article__content blockquote {
  margin: 2.4em 0;
  padding: 8px 0 8px 30px;
  border-left: 3px solid var(--temida-blue);
  color: var(--temida-navy);
  font-size: 1.25em;
  line-height: 1.55;
}

.knowledge-article__content a {
  color: var(--temida-blue);
  text-underline-offset: 3px;
}

.knowledge-article__tags {
  display: flex;
  width: min(calc(100% - 40px), 780px);
  max-width: 780px;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: -64px auto 100px;
  padding-top: 24px;
  border-top: 1px solid var(--temida-border);
  color: var(--temida-muted);
  font-size: 0.78rem;
}

.knowledge-article__tags > span {
  color: var(--temida-navy);
  font-weight: 600;
}

.knowledge-related {
  padding: clamp(70px, 8vw, 110px) 0 clamp(84px, 9vw, 126px);
  background: var(--temida-soft-blue);
}

.knowledge-related__header {
  margin-bottom: 44px;
}

.knowledge-related__header p {
  margin: 0 0 14px;
  color: var(--temida-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.knowledge-related__header h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.045em;
}

@media (max-width: 900px) {
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-card__content {
    min-height: 230px;
  }
}

@media (max-width: 620px) {
  .knowledge-archive__header {
    padding: 52px 0 34px;
  }

  .knowledge-archive__header-inner {
    padding-bottom: 34px;
  }

  .knowledge-archive__header h1 {
    font-size: 2.8rem;
  }

  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-card__content {
    min-height: 220px;
  }

  .knowledge-card:hover,
  .knowledge-card:focus-within {
    transform: none;
  }

  .knowledge-article__header {
    padding: 48px 0 42px;
  }

  .knowledge-article__categories {
    margin-top: 36px;
  }

  .knowledge-article__header h1 {
    margin-top: 16px;
    font-size: clamp(2.55rem, 12vw, 3.35rem);
  }

  .knowledge-article__meta {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .knowledge-article__meta span::before {
    margin-right: 14px;
  }

  .knowledge-article__hero {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .knowledge-article__content {
    padding-block: 52px 82px;
  }

  .knowledge-article__tags {
    margin-top: -44px;
    margin-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-card,
  .knowledge-card__media > img,
  .knowledge-card__more span:last-child {
    transition: none;
  }
}

/* Kontakt — mapa ze strony głównej i formularz. */
.contact-page {
  overflow: hidden;
  background: var(--temida-white);
}

.contact-two__stage {
  position: relative;
  min-height: 690px;
  border-top: 1px solid var(--temida-border);
  isolation: isolate;
}

.contact-two__stage .contact-two__map {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.contact-two__stage .home-contact__map-label {
  z-index: 4;
}

.contact-two__panel {
  position: absolute;
  z-index: 5;
  bottom: 52px;
  left: max(30px, calc((100vw - 1200px) / 2));
  width: min(500px, calc(100% - 60px));
  padding: clamp(44px, 5vw, 68px);
  color: var(--temida-white);
  background: rgba(21, 28, 49, 0.98);
  box-shadow: 0 30px 70px rgba(21, 28, 49, 0.2);
}

.contact-two__panel h1 {
  margin: 0;
  color: var(--temida-white);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 330;
  letter-spacing: -0.055em;
  line-height: 1;
}

.contact-two__details {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-two__details a,
.contact-two__details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
  line-height: 1.6;
  text-decoration: none;
}

.contact-two__detail-link {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding-bottom: 2px;
}

.contact-two__detail-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.contact-two__detail-link:hover::after,
.contact-two__detail-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.contact-two__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  margin-top: 32px;
}

.contact-two__actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--temida-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-two__actions a:first-child {
  gap: 16px;
}

.contact-two__actions a:first-child::after {
  width: 38px;
  height: 1px;
  background: var(--temida-blue);
  content: "";
}

.contact-two__actions a:last-child {
  padding-inline: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.contact-two__actions a:last-child:hover,
.contact-two__actions a:last-child:focus-visible {
  border-color: var(--temida-white);
  background: rgba(255, 255, 255, 0.08);
}

.contact-two__form-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(65px, 9vw, 140px);
  padding-block: clamp(84px, 9vw, 132px);
  scroll-margin-top: 90px;
}

.contact-page__display {
  margin: 0;
  font-size: clamp(2.9rem, 4.8vw, 4.7rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.contact-page__lead {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--temida-muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.7;
}

.contact-page__hours {
  margin: 25px 0 0;
  color: var(--temida-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.contact-page__hours a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-two__form-box {
  padding: clamp(38px, 4vw, 62px);
  border: 1px solid var(--temida-border);
}

.contact-form {
  margin: 0;
}

.contact-form__heading {
  margin: 0 0 36px;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 350;
  letter-spacing: -0.045em;
}

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

.contact-form__field {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.contact-form__field--wide {
  grid-column: 1 / -1;
}

.contact-form__field label {
  color: var(--temida-navy);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #cfd5df;
  border-radius: 0;
  outline: 0;
  color: var(--temida-navy);
  background: transparent;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form__field textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--temida-blue);
  box-shadow: 0 1px 0 var(--temida-blue);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #969dab;
}

.contact-form__privacy {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--temida-muted);
  font-size: 0.72rem;
  line-height: 1.55;
  cursor: pointer;
}

.contact-form__privacy input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--temida-blue);
}

.contact-form__privacy a {
  color: inherit;
  text-underline-offset: 2px;
}

.contact-form__footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
}

.contact-form__hint {
  max-width: 34ch;
  margin: 0;
  color: var(--temida-muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.contact-form__submit {
  display: inline-flex;
  min-width: 190px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  border: 1px solid var(--temida-navy);
  color: var(--temida-white);
  background: var(--temida-navy);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  color: var(--temida-navy);
  background: transparent;
}

.contact-form__status {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--temida-blue);
  background: var(--temida-soft-blue);
  font-size: 0.82rem;
}

.contact-form__status.is-error {
  border-left-color: #a73b3b;
  background: #fbefef;
}

.contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 960px) {
  .contact-two__form-section {
    grid-template-columns: 1fr;
    gap: 55px;
  }
}

@media (max-width: 620px) {
  .contact-two__stage {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .contact-two__stage .contact-two__map {
    position: relative;
    min-height: 360px;
    order: 2;
  }

  .contact-two__stage .home-contact__map-label {
    top: auto;
    right: 20px;
    bottom: 330px;
  }

  .contact-two__panel {
    position: relative;
    inset: auto;
    width: 100%;
    order: 1;
    padding: 52px 20px 58px;
    box-shadow: none;
  }

  .contact-two__panel h1 {
    font-size: clamp(2.6rem, 12vw, 3.35rem);
  }

  .contact-two__form-section {
    padding-block: 66px 82px;
  }

  .contact-page__display {
    font-size: 3rem;
  }

  .contact-two__form-box {
    padding: 40px 20px 50px;
  }

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

  .contact-form__field--wide,
  .contact-form__privacy {
    grid-column: auto;
  }

  .contact-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-two__detail-link::after,
  .contact-two__actions a,
  .contact-form__field input,
  .contact-form__field select,
  .contact-form__field textarea,
  .contact-form__submit {
    transition: none;
  }
}
