:root {
  --bg: #f7fbff;
  --bg-soft: #edf5ff;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.82);
  --surface-tint: linear-gradient(180deg, rgba(234, 244, 255, 0.84), rgba(255, 255, 255, 0.95));
  --primary: #1f68df;
  --primary-deep: #0d4eb8;
  --primary-soft: #dcebff;
  --text: #113162;
  --muted: #59739b;
  --line: #d8e6fa;
  --line-strong: #bfd6f8;
  --shadow: 0 28px 60px rgba(23, 84, 177, 0.12);
  --shadow-soft: 0 18px 34px rgba(23, 84, 177, 0.08);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: min(1220px, calc(100% - 40px));
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(31, 104, 223, 0.12), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(86, 173, 255, 0.17), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 30%, #eef6ff 68%, #f9fcff 100%);
}

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

h1,
h2,
h3,
strong {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

input,
textarea {
  width: 100%;
}

ul {
  padding: 0;
  list-style: none;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.site-header .brand {
  display: block;
}

.brand__logo {
  width: 248px;
  height: auto;
}

.brand__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.brand__icon svg {
  width: 100%;
  height: 100%;
}

.brand__copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand__kicker {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.brand__copy strong {
  font-size: 1.82rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 8px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

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

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #2c7bf4 100%);
  box-shadow: 0 18px 34px rgba(31, 104, 223, 0.2);
}

.button--secondary {
  color: var(--primary-deep);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
}

.header-cta {
  justify-self: end;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  box-shadow: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::after {
  content: "";
  width: 56px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 104, 223, 0.95), rgba(31, 104, 223, 0));
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow--light::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 8px 0 72px;
  background:
    radial-gradient(circle at 82% 16%, rgba(193, 223, 255, 0.3), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}

.hero::after {
  display: none;
}

.hero__layout {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 610px;
  padding-inline: max(20px, calc((100vw - 1220px) / 2));
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(545px, 46%);
  padding-top: 52px;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(3.65rem, 6vw, 5.45rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--primary);
}

.hero__text {
  margin-top: 26px;
  max-width: 490px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__actions .button {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 0.98rem;
  box-shadow: none;
}

.hero__actions .button--secondary {
  border-width: 2px;
  background: #ffffff;
}

.hero-points {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.9fr) minmax(0, 1.28fr);
  gap: 20px 28px;
  max-width: 840px;
  margin-top: 42px;
}

.hero-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

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

.hero-points strong {
  margin-bottom: 2px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-points li:last-child strong {
  white-space: nowrap;
}

.hero-points span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hero-points .icon-badge,
.hero-points .icon-badge--small {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-points .icon-badge svg,
.hero-points .icon-badge--small svg {
  width: 24px;
  height: 24px;
}

.icon-badge {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 104, 223, 0.1), rgba(255, 255, 255, 0.94));
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.icon-badge svg {
  width: 32px;
  height: 32px;
}

.icon-badge--small {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.icon-badge--small svg {
  width: 22px;
  height: 22px;
}

.icon-badge--ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-stage {
  position: absolute;
  inset: -8px -88px -10px -34px;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 26px 100px 70px 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(215, 233, 255, 0.95) 0%, rgba(215, 233, 255, 0.72) 42%, rgba(215, 233, 255, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.hero-stage::after {
  display: none;
}

.hero-stage__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  z-index: 1;
  filter: none;
}

.hero-stage__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 17%, rgba(255, 255, 255, 0.62) 27%, rgba(255, 255, 255, 0.12) 40%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 45% 46%, rgba(255, 255, 255, 0.28), transparent 18%);
  pointer-events: none;
}

.hero-scroll-hint {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  transform: translateX(-50%);
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-scroll-hint::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(31, 104, 223, 0.12);
  animation: hero-scroll-pulse 1.8s ease-out infinite;
}

.hero-scroll-hint__button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 104, 223, 0.14);
  box-shadow: 0 16px 30px rgba(23, 84, 177, 0.14);
}

.hero-scroll-hint svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  transform: rotate(90deg);
  animation: hero-scroll-nudge 1.5s ease-in-out infinite;
}

.hero-scroll-hint:hover {
  transform: translateX(-50%) translateY(2px);
}

.hero-scroll-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

@keyframes hero-scroll-pulse {
  0% {
    transform: scale(0.78);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.22);
    opacity: 0;
  }

  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

@keyframes hero-scroll-nudge {
  0%,
  100% {
    transform: rotate(90deg) translateX(0);
  }

  50% {
    transform: rotate(90deg) translateX(6px);
  }
}

.section {
  padding: 84px 0;
}

#services.section {
  background: #ffffff;
}

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

.section--tint {
  position: relative;
  overflow: hidden;
  padding-top: 156px;
  background:
    linear-gradient(180deg, rgba(233, 244, 255, 0.98) 0%, rgba(239, 247, 255, 0.98) 100%),
    #edf6ff;
}

.section--tint::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 360px;
  background: url("assets/proc-bazeny-brand.png") center top / cover no-repeat;
  pointer-events: none;
}

.section--tint > .container {
  position: relative;
  z-index: 1;
}

.section--contact {
  padding-top: 54px;
}

.section-heading {
  display: grid;
  gap: 14px;
}

.section-heading--center {
  justify-items: center;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  max-width: 860px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.info-card {
  padding: 30px 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.info-card .icon-badge {
  margin: 0 auto 22px;
}

.info-card h3 {
  font-size: 1.55rem;
}

.info-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 222px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  flex: 1;
  min-height: 146px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6fbff 0%, #e5f0ff 100%);
}

.product-card__media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 20px;
}

.product-card__footer strong {
  font-size: 1rem;
  line-height: 1.35;
}

.product-card__footer svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.product-card__media::before,
.product-card__media::after {
  content: "";
  position: absolute;
}

.product-card__media--chemie::before {
  left: 28px;
  bottom: 30px;
  width: 28px;
  height: 76px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #d8e9ff 100%);
  box-shadow:
    38px 0 0 0 rgba(255, 255, 255, 1),
    76px 0 0 0 rgba(255, 255, 255, 1),
    114px 8px 0 0 rgba(255, 255, 255, 1);
}

.product-card__media--chemie::after {
  left: 28px;
  bottom: 62px;
  width: 28px;
  height: 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1e67de 0%, #0d4cb8 100%);
  box-shadow:
    38px 0 0 0 #1e67de,
    76px 0 0 0 #1e67de,
    114px 8px 0 0 #1e67de;
}

.product-card__media--tester::before {
  left: 30px;
  bottom: 28px;
  width: 96px;
  height: 74px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1e67de 0%, #0d4cb8 100%);
  box-shadow: 86px 12px 0 -22px rgba(255, 255, 255, 0.95);
}

.product-card__media--tester::after {
  left: 44px;
  bottom: 44px;
  width: 58px;
  height: 40px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #f6c54f 0 18%, transparent 18% 24%, #f55f5f 24% 42%, transparent 42% 48%, #7de08c 48% 66%, transparent 66% 72%, #7ab5ff 72% 90%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(227, 238, 255, 0.9));
}

.product-card__media--hose::before {
  left: 50%;
  bottom: 16px;
  width: 102px;
  height: 102px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 28%, #eaf4ff 28% 34%, transparent 34% 44%, #2d75e8 44% 50%, transparent 50% 60%, #2d75e8 60% 66%, transparent 66% 76%, #2d75e8 76% 82%, transparent 82%),
    radial-gradient(circle at 35% 35%, #4d95ff, #1d66dd);
}

.product-card__media--hose::after {
  right: 22px;
  bottom: 34px;
  width: 36px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eaf4ff 0%, #bcd7ff 100%);
}

.product-card__media--pipes::before {
  left: 24px;
  bottom: 34px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4d5560 0%, #20252a 100%);
  box-shadow:
    44px 8px 0 0 rgba(45, 48, 54, 1),
    92px 0 0 0 rgba(45, 48, 54, 1),
    76px -28px 0 -6px rgba(45, 48, 54, 1);
}

.product-card__media--pipes::after {
  left: 54px;
  bottom: 52px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    44px 8px 0 0 rgba(255, 255, 255, 0.14),
    92px 0 0 0 rgba(255, 255, 255, 0.14),
    76px -28px 0 -6px rgba(255, 255, 255, 0.14);
}

.product-card__media--valves::before {
  left: 34px;
  bottom: 36px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #dfeeff 100%);
  box-shadow:
    42px -6px 0 0 rgba(255, 255, 255, 1),
    84px 4px 0 0 rgba(255, 255, 255, 1),
    106px -10px 0 -4px rgba(255, 255, 255, 1);
}

.product-card__media--valves::after {
  left: 30px;
  bottom: 64px;
  width: 56px;
  height: 12px;
  border-radius: 999px;
  background: rgba(210, 226, 248, 0.9);
  box-shadow:
    48px 0 0 0 rgba(210, 226, 248, 0.9),
    92px 0 0 0 rgba(210, 226, 248, 0.9);
}

.product-card__media--cleaning::before {
  left: 36px;
  bottom: 28px;
  width: 96px;
  height: 16px;
  border-radius: 999px;
  transform: rotate(-26deg);
  background: linear-gradient(180deg, #2d75e8 0%, #0d4cb8 100%);
}

.product-card__media--cleaning::after {
  right: 28px;
  bottom: 34px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 8px solid #2d75e8;
  background:
    linear-gradient(90deg, rgba(45, 117, 232, 0.16) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(rgba(45, 117, 232, 0.16) 1px, transparent 1px) 0 0 / 14px 14px,
    rgba(221, 236, 255, 0.92);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.advantage-item {
  padding: 24px 18px;
  text-align: center;
}

.advantage-item .icon-badge {
  margin: 0 auto 18px;
}

.advantage-item h3 {
  font-size: 1.15rem;
}

.advantage-item p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 34px;
}

.realization-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 186px);
  gap: 16px;
}

.realization-tile {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(191, 214, 248, 0.7);
  background: #d8eaff;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  isolation: isolate;
  appearance: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.realization-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 24, 54, 0.02) 0%, rgba(6, 24, 54, 0.54) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.34), transparent 32%);
  opacity: 0.88;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.realization-tile:hover,
.realization-tile:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(31, 104, 223, 0.34);
  box-shadow: var(--shadow);
}

.realization-tile:hover::after,
.realization-tile:focus-visible::after {
  opacity: 0.58;
}

.realization-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.realization-tile:hover img,
.realization-tile:focus-visible img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.02);
}

.realization-tile--large {
  grid-row: 1 / span 2;
  grid-column: 1 / span 2;
}

.realization-tile span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.realization-tile--more span {
  min-height: 42px;
  padding: 0 18px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: 0 12px 28px rgba(13, 88, 211, 0.3);
}

.about-card {
  align-self: stretch;
  padding: 36px 34px;
  border-radius: 32px;
  border: 1px solid rgba(191, 214, 248, 0.8);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.about-card h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.05;
}

.about-card p + p {
  margin-top: 14px;
}

.about-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.78;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(191, 214, 248, 0.8);
}

.stats-grid strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.stats-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background:
    radial-gradient(circle at 18% 12%, rgba(47, 126, 255, 0.18), transparent 30%),
    rgba(4, 17, 40, 0.88);
  backdrop-filter: blur(16px);
}

.lightbox__figure {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0;
}

.lightbox__image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(760px, 100%);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.lightbox__meta span {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.lightbox__meta strong {
  white-space: nowrap;
  color: #ffffff;
  font-size: 0.95rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
  appearance: none;
}

.lightbox__close:hover,
.lightbox__nav:hover,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__close {
  top: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
}

.lightbox__nav {
  top: 50%;
  width: 58px;
  height: 58px;
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
}

.lightbox__nav--prev {
  left: 24px;
  transform: translateY(-50%) rotate(180deg);
}

.lightbox__nav--next {
  right: 24px;
  transform: translateY(-50%);
}

.lightbox__nav--prev:hover,
.lightbox__nav--prev:focus-visible {
  transform: translateY(calc(-50% - 2px)) rotate(180deg);
}

.lightbox__nav--next:hover,
.lightbox__nav--next:focus-visible {
  transform: translateY(calc(-50% - 2px));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.hours-card,
.form-card {
  min-height: 100%;
  border-radius: 32px;
  overflow: hidden;
}

.hours-card {
  position: relative;
  padding: 34px 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 26%, rgba(255, 255, 255, 0.1), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(135deg, #0d4cb8 0%, #1f68df 100%);
  box-shadow: var(--shadow);
}

.hours-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 0 18%, transparent 19%);
  background-size: 34px 34px;
  opacity: 0.35;
  -webkit-mask: linear-gradient(180deg, transparent, #000 25%, #000 100%);
  mask: linear-gradient(180deg, transparent, #000 25%, #000 100%);
}

.hours-card > * {
  position: relative;
  z-index: 1;
}

.hours-card__map {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  display: block;
  width: min(184px, 34%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 30, 92, 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.hours-card__map:hover,
.hours-card__map:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 54px rgba(0, 30, 92, 0.3);
}

.hours-card__map img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.hours-card__map span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.hours-card h2 {
  margin-top: 18px;
  max-width: 320px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.hours-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hours-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.hours-list svg {
  width: 20px;
  height: 20px;
}

.hours-list strong {
  font-size: 1rem;
  text-align: right;
}

.hours-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
}

.hours-card__phone svg {
  width: 26px;
  height: 26px;
}

.hours-card__address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 520px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  line-height: 1.55;
}

.hours-card__address svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.form-card {
  padding: 34px 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.form-card h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.form-status,
.form-errors {
  margin-top: 20px;
  border-radius: 18px;
  line-height: 1.55;
}

.form-status {
  padding: 14px 16px;
  font-weight: 800;
}

.form-status--success {
  border: 1px solid rgba(23, 164, 90, 0.26);
  background: rgba(23, 164, 90, 0.1);
  color: #12663c;
}

.form-status--error,
.form-errors {
  border: 1px solid rgba(210, 55, 55, 0.22);
  background: rgba(210, 55, 55, 0.08);
  color: #9f2828;
}

.form-errors {
  display: grid;
  gap: 6px;
  padding: 14px 16px 14px 34px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(31, 104, 223, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 104, 223, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form__message,
.contact-form .button {
  grid-column: 1 / -1;
}

.contact-form .button {
  justify-self: start;
}

.site-footer {
  position: relative;
  margin-top: 76px;
  padding: 128px 0 24px;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at 10% 74%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #0f5aca 0%, #0b469f 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -126px;
  width: min(1480px, 130vw);
  height: 210px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--bg);
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr));
  gap: 36px;
}

.brand--footer .brand__icon,
.brand--footer .brand__kicker,
.brand--footer .brand__copy strong {
  color: #ffffff;
}

.site-footer__brand p,
.footer-links a,
.footer-links span,
.footer-contact span,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer h3 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.site-footer__bottom a {
  color: inherit;
  font-weight: 700;
}

.site-footer__bottom a:hover {
  color: #ffffff;
}

[data-section] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

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

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 560ms ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 160ms;
}

.delay-3 {
  transition-delay: 230ms;
}

@media (max-width: 1180px) {
  .hero__layout {
    min-height: 560px;
  }

  .hero__content {
    width: min(520px, 50%);
    max-width: 100%;
    padding-top: 38px;
  }

  .hero-stage {
    inset: -4px -124px 0 -24px;
  }

  .hero-stage::before {
    inset: 26px 70px 64px 280px;
  }

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

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

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

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

  .about-card {
    max-width: 860px;
  }

  .section--tint {
    padding-top: 132px;
  }

  .section--tint::before {
    height: 320px;
    background-size: 1600px auto;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 88px;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
    gap: 16px;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 14px);
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    text-align: left;
  }

  .hero {
    padding-top: 12px;
    padding-bottom: 60px;
  }

  .hero__layout {
    min-height: 0;
  }

  .hero__content {
    width: 100%;
    max-width: 620px;
    padding-top: 18px;
  }

  .hero h1 {
    font-size: clamp(3rem, 8vw, 4.6rem);
  }

  .hero__text {
    max-width: 560px;
  }

  .hero-points,
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    position: relative;
    inset: auto;
    min-height: 470px;
    margin-top: 18px;
  }

  .hero-stage::before {
    inset: 28px 40px 46px 130px;
  }

  .hero-stage__image {
    object-fit: cover;
    object-position: 60% center;
  }

  .hero-stage__veil {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 22%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.56) 20%, rgba(255, 255, 255, 0) 36%);
  }

  .hero-scroll-hint {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  }

  .section--tint {
    padding-top: 116px;
  }

  .section--tint::before {
    height: 274px;
    background-size: 1320px auto;
  }

  .realization-gallery {
    grid-template-rows: repeat(2, 166px);
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(1220px, calc(100% - 24px));
  }

  .hero__layout {
    padding-inline: 12px;
  }

  .brand__logo {
    width: 214px;
  }

  .brand__icon {
    width: 52px;
    height: 52px;
  }

  .brand__kicker {
    font-size: 0.82rem;
  }

  .brand__copy strong {
    font-size: 1.6rem;
  }

  .hero {
    padding-top: 16px;
    padding-bottom: 56px;
  }

  .hero__content {
    padding-top: 8px;
  }

  .hero__actions {
    flex-direction: column;
    max-width: 360px;
  }

  .hero__actions .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-points,
  .services-grid,
  .product-grid,
  .advantage-grid,
  .stats-grid,
  .contact-form,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 370px;
    margin-top: 24px;
    border-radius: 28px;
  }

  .hero-scroll-hint {
    width: 62px;
    height: 62px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  }

  .hero-scroll-hint__button {
    width: 48px;
    height: 48px;
  }

  .hero-stage__image {
    object-fit: cover;
    object-position: 63% center;
  }

  .hero-stage::before {
    inset: 18px 18px 28px 72px;
  }

  .realization-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 240px repeat(2, 168px);
  }

  .realization-tile--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .lightbox {
    padding: 18px 14px 92px;
  }

  .lightbox__image {
    max-height: calc(100vh - 210px);
    border-radius: 22px;
  }

  .lightbox__meta {
    align-items: flex-start;
    border-radius: 22px;
    flex-direction: column;
    gap: 8px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 22px;
    width: 54px;
    height: 54px;
  }

  .lightbox__nav--prev {
    left: calc(50% - 66px);
    transform: rotate(180deg);
  }

  .lightbox__nav--next {
    right: calc(50% - 66px);
    transform: none;
  }

  .lightbox__nav--prev:hover,
  .lightbox__nav--prev:focus-visible {
    transform: translateY(-2px) rotate(180deg);
  }

  .lightbox__nav--next:hover,
  .lightbox__nav--next:focus-visible {
    transform: translateY(-2px);
  }

  .section--tint {
    padding-top: 98px;
  }

  .section--tint::before {
    height: 220px;
    background-size: 1080px auto;
  }

  .hours-card,
  .form-card,
  .about-card {
    padding: 28px 22px;
  }

  .hours-card__map {
    top: 22px;
    right: 22px;
    width: min(158px, 34%);
    border-radius: 18px;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .section-heading h2,
  .about-card h2,
  .form-card h2,
  .hours-card h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .section--tint {
    padding-top: 82px;
  }

  .section--tint::before {
    height: 180px;
    background-size: 860px auto;
  }

  .hero-stage {
    min-height: 285px;
    border-radius: 30px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .hero-stage__image {
    object-fit: cover;
    object-position: 66% center;
  }

  .hero-stage::before {
    inset: 12px 10px 22px 44px;
  }

  .hero__text {
    font-size: 1rem;
  }

  .hours-card__map {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 22px;
  }

  .hours-card__map img {
    aspect-ratio: 1.9;
  }

  .hours-list {
    margin-top: 24px;
  }

  .hours-card__phone {
    align-items: flex-start;
    font-size: 1.32rem;
  }

  .realization-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 236px;
    grid-auto-rows: 178px;
  }

  .realization-tile {
    border-radius: 22px;
  }

  .realization-tile span {
    left: 12px;
    bottom: 12px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .hero::after {
    height: 110px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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