﻿:root {
  --ink: #07110f;
  --ink-2: #10201d;
  --paper: #f5f7f3;
  --paper-2: #e9efe6;
  --white: #ffffff;
  --muted: #66706b;
  --line: rgba(7, 17, 15, .12);
  --glass: rgba(8, 17, 15, .64);
  --green: #44d07f;
  --green-dark: #14764b;
  --water: #4ab6c8;
  --stone: #b6ad9f;
  --warning: #d7b16a;
  --shadow: 0 18px 44px rgba(7, 17, 15, .16);
  --shadow-soft: 0 10px 24px rgba(7, 17, 15, .1);
  --radius-card: 8px;
  --radius-control: 12px;
  --max: 1180px;
  --bottom-bar: 82px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 10% 6%, rgba(68, 208, 127, .2), rgba(68, 208, 127, 0) 34rem),
    radial-gradient(ellipse at 92% 18%, rgba(74, 182, 200, .16), rgba(74, 182, 200, 0) 32rem),
    radial-gradient(ellipse at 50% 74%, rgba(215, 177, 106, .08), rgba(215, 177, 106, 0) 34rem),
    linear-gradient(125deg, rgba(68, 208, 127, .1) 0%, rgba(68, 208, 127, 0) 30%, rgba(74, 182, 200, .08) 56%, rgba(74, 182, 200, 0) 82%),
    linear-gradient(180deg, #edf4eb 0%, #e4eee2 42%, #eef4eb 100%);
  letter-spacing: 0;
  min-width: 320px;
  overflow-x: hidden;
  padding-bottom: 0;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(68, 208, 127, .7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--green);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius-control);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 60;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), var(--max));
  min-height: 60px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 14px;
  color: var(--white);
  background: rgba(8, 17, 15, .74);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.1rem;
}

.brand img {
  width: 36px;
  height: 36px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
  font-size: .93rem;
}

.desktop-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(68, 208, 127, .95);
  color: var(--ink);
  font-weight: 900;
}

.header-call svg,
.button svg,
.bottom-bar svg,
.contact-line svg,
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  display: grid;
  align-content: end;
  align-items: end;
  color: var(--white);
  background: var(--ink);
  padding: 74px 18px 152px;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 58%;
  transform: scale(1.08);
  transform-origin: 63% 58%;
  filter: brightness(1.38) saturate(1.14) contrast(1.03);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(7, 17, 15, .04), rgba(7, 17, 15, .08) 52%, rgba(7, 17, 15, .28)),
    linear-gradient(90deg, rgba(7, 17, 15, .2), rgba(7, 17, 15, .08) 46%, rgba(7, 17, 15, 0) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  margin: 0 auto;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .72), 0 1px 2px rgba(0, 0, 0, .9);
}

.hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -24px -20px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(7, 17, 15, .52), rgba(7, 17, 15, .28) 64%, rgba(7, 17, 15, 0));
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 2.875rem;
  line-height: .98;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.15rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .96);
  font-size: 1.08rem;
  line-height: 1.58;
}

.hero-actions,
.contact-actions,
.drawer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 14px 18px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: none !important;
}

.button-primary {
  background: #4ade82;
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(68, 208, 127, .32);
}

.button-primary:hover {
  background: #62df95;
  transform: translateY(-1px);
}

.button-glass {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .24);
  backdrop-filter: blur(14px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, .16);
}

.hero-proof {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  margin: 16px auto 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-proof::-webkit-scrollbar {
  display: none;
}

.hero-proof span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(8, 17, 15, .52);
  color: rgba(255, 255, 255, .94);
  font-size: .82rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.section {
  padding: 76px 18px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro-band {
  padding-top: 26px;
  padding-bottom: 26px;
  background: var(--ink);
  color: var(--white);
}

.intro-grid {
  display: grid;
  gap: 10px;
}

.metric {
  min-height: 92px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.metric strong {
  color: var(--green);
  font-size: 1.4rem;
}

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

.meaning-section {
  padding: 52px 18px;
  background: transparent;
}

.meaning-grid {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-card);
  background: rgba(245, 247, 243, .78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.meaning-mark {
  display: inline-flex;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card);
  color: var(--green-dark);
  background:
    linear-gradient(135deg, rgba(68, 208, 127, .16), rgba(74, 182, 200, .14));
  font-size: clamp(2.1rem, 10vw, 4.25rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.meaning-copy {
  max-width: 720px;
}

.meaning-copy h2 {
  margin-bottom: 10px;
}

.meaning-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split-copy,
.process-grid,
.expertise-grid,
.contact-grid {
  display: grid;
  gap: 34px;
}

.section-copy {
  max-width: 700px;
}

.section-copy.centered {
  margin: 0 auto 34px;
  text-align: center;
  text-wrap: balance;
}

.section-copy p:not(.eyebrow),
.expert-copy p,
.timeline p,
.faq-list p,
.card-body p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.transform-section {
  background: transparent;
}

.before-after {
  --split: 48%;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.before-after figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-layer {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.before-after figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 17, 15, .7);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 900;
}

.before-after figure:first-child figcaption {
  left: auto;
  right: 14px;
  background: rgba(20, 118, 75, .82);
}

.before-after input {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
}

.slider-handle {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 3px;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 0 999px rgba(7, 17, 15, .08);
}

.slider-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0 16px, var(--ink) 16px 18px, transparent 18px 28px, var(--ink) 28px 30px, transparent 30px),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.services-section {
  background: transparent;
}

.service-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .24s ease, box-shadow .24s ease;
}

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

.service-card picture {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--paper-2);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.card-body {
  padding: 18px;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(7, 17, 15, .08);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 900;
}

.tag-green {
  background: rgba(68, 208, 127, .18);
  color: var(--green-dark);
}

.tag-blue {
  background: rgba(74, 182, 200, .18);
  color: #166979;
}

.tag-stone {
  background: rgba(182, 173, 159, .25);
  color: #6c5f4d;
}

.process-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 15, .96), rgba(16, 32, 29, .92)),
    var(--ink);
}

.process-section .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .72);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline li {
  position: relative;
  padding: 18px 18px 18px 66px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
}

.timeline span {
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--green);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 6px;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
}

.portfolio-section {
  background: rgba(233, 239, 230, .52);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 152px;
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-card);
  padding: 0;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .3s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(7, 17, 15, .78));
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item span {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-weight: 900;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .78);
}

.expertise-section {
  background: transparent;
}

.expert-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: var(--radius-card);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 17, 15, .84), rgba(7, 17, 15, .48) 48%, rgba(7, 17, 15, .08)),
    linear-gradient(180deg, rgba(7, 17, 15, .04), rgba(7, 17, 15, .62)),
    url("../img/generated/detail-hydroizolace.v20260708-001.webp") center/cover;
  box-shadow: var(--shadow);
}

.expert-card .eyebrow {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #7cffad;
  background: rgba(7, 17, 15, .68);
  border: 1px solid rgba(124, 255, 173, .22);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .66);
}

.expert-card h2 {
  margin-bottom: 0;
  max-width: 15ch;
  font-size: clamp(1.95rem, 5.5vw, 2.5rem);
  line-height: 1.06;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .76);
}

.expert-copy {
  align-self: center;
}

.partner-section {
  background: rgba(233, 239, 230, .56);
}

.partner-section .section-copy {
  max-width: 820px;
}

.partner-section h2 {
  font-size: clamp(2rem, 7vw, 3.2rem);
}

.partner-grid {
  display: grid;
  gap: 16px;
}

.partner-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.partner-card .tag {
  align-self: flex-start;
  max-width: max-content;
}

.partner-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.partner-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-card);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 15, .96), rgba(20, 118, 75, .82));
  box-shadow: var(--shadow-soft);
}

.partner-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
  font-weight: 800;
}

.faq-section {
  background: transparent;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 850px;
  margin: 0 auto;
}

details {
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 18px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(7, 17, 15, .96), rgba(20, 118, 75, .72)),
    url("../img/generated/jezirko-hotove.v20260708-001.webp") center/cover;
}

.contact-section .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .78);
}

.contact-line {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-card);
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.contact-form label span {
  font-size: .88rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 17, 15, .16);
  border-radius: var(--radius-control);
  padding: 12px;
  background: var(--white);
  color: var(--ink);
}

.contact-form textarea {
  min-height: 132px;
  resize: none;
}

.form-note {
  margin: -2px 0 0;
  font-size: .88rem;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 18px 120px;
  color: rgba(255, 255, 255, .72);
  background: var(--ink);
}

.site-footer div {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  width: min(100%, var(--max));
  margin: 0 auto;
  color: var(--green);
  font-weight: 900;
}

.bottom-bar {
  position: fixed;
  z-index: 70;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  height: var(--bottom-bar);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  color: var(--white);
  background: rgba(8, 17, 15, .9);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

.bottom-bar a,
.bottom-bar button {
  min-width: 0;
  border: 0;
  border-radius: 16px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: inherit;
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
  font-size: .78rem;
}

.bottom-bar .bottom-primary {
  color: var(--ink);
  background: var(--green);
}

.drawer {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  justify-items: end;
  background: rgba(7, 17, 15, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  width: min(100%, 390px);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  color: var(--white);
  background: rgba(8, 17, 15, .92);
  border-left: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(24px);
  transform: translateX(100%);
  transition: transform .26s ease;
}

.drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  margin-left: auto;
}

.drawer-brand {
  margin-top: -58px;
}

.drawer-links {
  display: grid;
  gap: 8px;
}

.drawer-links a {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-control);
  padding: 14px;
  background: rgba(255, 255, 255, .07);
  font-weight: 900;
}

.drawer-cta {
  margin-top: auto;
}

.lightbox {
  width: min(1120px, calc(100% - 24px));
  border: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(7, 17, 15, .86);
  backdrop-filter: blur(10px);
}

.lightbox img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  border-radius: var(--radius-card);
  background: var(--ink);
}

.lightbox p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    display: flex;
  }

  .desktop-nav {
    display: flex;
  }

  .bottom-bar {
    display: none;
  }

  .hero {
    min-height: 94svh;
    align-content: center;
    align-items: center;
    padding: 120px 28px 80px;
  }

  .hero-media img {
    object-position: 63% center;
    transform: none;
  }

  .hero-content {
    width: min(100%, var(--max));
  }

  h1 {
    font-size: 4.75rem;
    max-width: 780px;
  }

  h2 {
    font-size: 3.15rem;
  }

  .hero-proof {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 28px;
    width: min(calc(100% - 56px), var(--max));
    margin: 0;
    transform: translateX(-50%);
  }

  .section {
    padding: 104px 28px;
  }

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

  .meaning-section {
    padding: 72px 28px;
  }

  .meaning-grid {
    grid-template-columns: .86fr 1.14fr;
    padding: 28px;
  }

  .split-copy,
  .process-grid,
  .expertise-grid,
  .contact-grid {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: center;
  }

  .before-after {
    aspect-ratio: 16 / 11;
  }

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

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

  .partner-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .masonry {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 174px;
    gap: 14px;
  }

  .site-footer {
    padding-bottom: 34px;
  }
}

@media (min-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

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