/* Paleta: #3E2723 #8A5E3B #C59A6D #E6D3B3 */
:root {
  --color-dark: #3e2723;
  --color-medium: #8a5e3b;
  --color-accent: #c59a6d;
  --color-beige: #e6d3b3;
  --color-beige-deep: #d4c4a8;
  --white: #faf8f5;
  --top-bar-h: 44px;
  --main-header-h: calc(72px * 0.7);
  --nav-h: calc(72px * 0.7);
  --content-max: 980px;
  --font: "Montserrat", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(62, 39, 35, 0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* Sekcje „wąskie”: tarasy split, korzyści — jedna szerokość i odstępy */
  --layout-full-width-pct: 97%;
  --layout-gap: 1.6vw;
}

@media (min-width: 961px) {
  :root {
    --main-header-h: calc(124px * 0.7);
  }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-dark);
  background: var(--white);
}

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

a {
  color: var(--color-medium);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ——— Top contact bar ——— */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--top-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3vw;
  background: rgba(62, 39, 35, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-beige);
  font-size: 0.8125rem;
  font-weight: 500;
}

.top-bar__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.top-bar__icon {
  flex-shrink: 0;
  opacity: 0.92;
}

.top-bar a {
  color: var(--color-beige);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar a:hover {
  color: #fff;
}

.top-bar__ig {
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  .top-bar {
    font-size: 0.75rem;
    padding: 0 max(0.75rem, 3vw);
  }
  .top-bar__label {
    display: none;
  }
}

/* ——— Główny pasek nawigacji (inspiracja układem, kolory Artbud) ——— */
.main-header {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--top-bar-h);
  z-index: 190;
  min-height: var(--main-header-h);
  height: auto;
  background: linear-gradient(165deg, #8f6240 0%, var(--color-medium) 42%, #6d482f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(45, 28, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: box-shadow 0.25s ease;
}

.main-header.is-scrolled {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.main-header__inner {
  width: var(--layout-full-width-pct);
  max-width: none;
  margin: 0 auto;
  min-height: var(--main-header-h);
  padding: 0.45rem min(1.25rem, 3vw);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(1rem, 3vw, 2.25rem);
  row-gap: 0.35rem;
  position: relative;
}

.main-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  border: none;
  background: none;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  padding: 0;
  flex-shrink: 0;
  text-align: left;
  justify-self: start;
}

.main-header__logo-img {
  flex-shrink: 0;
  width: clamp(52px, 9vw, 72px);
  height: clamp(52px, 9vw, 72px);
  border-radius: 50%;
  object-fit: contain;
  aspect-ratio: 1;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32), 0 0 0 1px rgba(62, 39, 35, 0.45),
    0 8px 22px rgba(0, 0, 0, 0.35);
}

.main-header__logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.main-header__logo-name {
  font-weight: 800;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.main-header__logo-tagline {
  font-size: clamp(0.68rem, 1.15vw, 0.8125rem);
  font-weight: 600;
  opacity: 0.9;
  max-width: 15rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.main-header__nav {
  display: flex;
  justify-content: center;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 48rem;
  min-width: 0;
}

.main-header__pill {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem clamp(1.15rem, 3vw, 2rem);
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.main-header__pill a {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: clamp(0.82rem, 1.25vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.15rem;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-header__pill a:hover {
  color: var(--color-beige) !important;
  background: none;
  border-bottom-color: rgba(230, 211, 179, 0.45);
}

.main-header__pill a.is-active {
  color: var(--color-beige) !important;
  background: none;
  border-bottom-color: var(--color-accent);
  box-shadow: none;
}

.main-header__call {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: center;
  background: linear-gradient(180deg, #fffef9 0%, #faf6f0 100%);
  color: var(--color-dark) !important;
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2), inset 0 1px 0 #fff;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.main-header__call:hover {
  background: var(--color-beige);
  color: var(--color-dark) !important;
  transform: translateY(-1px);
}

.main-header__burger {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  align-self: center;
  background: rgba(62, 39, 35, 0.35);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.main-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.main-header.is-open .main-header__burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.main-header.is-open .main-header__burger span:nth-child(2) {
  opacity: 0;
}

.main-header.is-open .main-header__burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 960px) {
  .main-header__logo-text {
    gap: 0.1rem;
  }

  .main-header__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    min-height: var(--main-header-h);
    padding: 0.4rem min(1.25rem, 3vw);
  }

  /* Nav poza rzędem flex (absolute) — w rzędzie zostają tylko logo, CTA, burger */
  .main-header__logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .main-header__burger {
    display: flex;
    flex-shrink: 0;
  }

  .main-header__call {
    flex-shrink: 0;
    font-size: 0.7rem;
    padding: 0.48rem 0.85rem;
  }

  .main-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 0.85rem min(4vw, 1.25rem) 1.1rem;
    margin: 0;
    max-width: none;
    justify-content: center;
    background: linear-gradient(185deg, #704b30 0%, var(--color-medium) 55%, #6b472e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    z-index: 5;
  }

  .main-header.is-open .main-header__nav {
    display: flex;
    justify-content: center;
  }

  .main-header__pill {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 26rem);
    margin: 0 auto;
    padding: 0;
    gap: 0.55rem;
    border-radius: 0;
    background: none;
    border: none;
    box-shadow: none;
  }

  .main-header__pill a {
    font-size: clamp(0.85rem, 3.2vw, 0.98rem);
    text-align: center;
    padding: 0.62rem 0.5rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
  }

  .main-header__pill a:hover {
    background: none;
    border-bottom-color: rgba(230, 211, 179, 0.45);
  }

  .main-header__pill a.is-active {
    background: none;
    border-bottom-color: var(--color-accent);
    box-shadow: none;
  }
}


/* ——— Hero ——— */
.header-spacer {
  height: calc(var(--top-bar-h) + var(--main-header-h));
}

.hero {
  position: relative;
  min-height: clamp(520px, calc(100vh - var(--top-bar-h) - var(--main-header-h)), 1100px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Warstwa pod wideo — tylko gdy wideo się nie wczyta; nie może zasłaniać mp4 */
.hero__poster-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(
      ellipse 85% 70% at 50% 45%,
      rgba(62, 39, 35, 0.55) 0%,
      rgba(62, 39, 35, 0.72) 100%
    ),
    rgba(62, 39, 35, 0.35);
}

.hero__layout {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 2rem 1.35rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__content--center {
  width: 100%;
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
}

.hero__content--center h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.5rem, 7.5vw, 4.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 6px 36px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
  margin: 0 auto 2rem;
  max-width: 44rem;
  font-size: clamp(1.15rem, 2.85vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(230, 211, 179, 0.95);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.btn--hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.65rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s, background 0.2s;
}

.btn--hero-cta:hover {
  background: var(--color-beige);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .hero__layout {
    padding: 2rem 1rem 2.75rem;
  }

  .hero__content--center h1 {
    margin-bottom: 0.85rem;
  }

  .hero__subtitle {
    margin-bottom: 1.35rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn--primary:hover {
  background: var(--color-beige);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-medium);
}

.btn--outline:hover {
  background: var(--color-medium);
  color: var(--white);
}

.btn--hero-solid {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.btn--hero-solid:hover {
  background: var(--color-beige);
  transform: translateY(-2px);
}

.btn--hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(62, 39, 35, 0.15);
}

.btn--hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn--strip-cta {
  margin-top: 0.25rem;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
  font-size: 0.8125rem;
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn--strip-cta:hover {
  background: var(--color-beige);
  transform: translateY(-2px);
}

/* ——— Strip (jak drugi pas na konstrukcjecnc.pl) ——— */
.strip {
  scroll-margin-top: calc(var(--top-bar-h) + 12px);
}

.strip--dark {
  padding: clamp(2.75rem, 7vw, 4rem) 1.25rem;
  background: linear-gradient(
    135deg,
    var(--color-dark) 0%,
    #2d1e1b 48%,
    var(--color-medium) 160%
  );
  color: var(--color-beige);
  text-align: center;
}

.strip__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.strip__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.strip__lead {
  margin: 0 auto 1rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(230, 211, 179, 0.95);
}

.strip__accent {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* ——— Tarasy — pełny ekran (po wprowadzeniu) ——— */
.tarasy-fs {
  scroll-margin-top: calc(var(--top-bar-h) + 12px);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin-top: clamp(-1.5rem, -3vw, -0.75rem);
}

.tarasy-fs__ribbon {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  margin-top: 1vw;
  padding-left: 3vw;
  padding-right: 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--color-dark);
  font-weight: 800;
  letter-spacing: 0.35em;
  border-bottom: none;
}

#tarasy-fs-label,
#pergola-fs-label,
#realizacje-fs-label {
  display: inline-block;
  font-size: 2vw;
  margin-top: 1vw;
  margin-bottom: 1vw;
}

.tarasy-fs__cols {
  /* flex-shrink: 0 — kolumny nie tracą wysokości po otwarciu panelu szczegółów */
  flex: 1 0 auto;
  min-height: clamp(500px, calc(100dvh - 10.5rem), 920px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  width: var(--layout-full-width-pct);
  margin-left: auto;
  margin-right: auto;
  gap: var(--layout-gap);
}

.tarasy-fs__half {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.tarasy-fs__half--expandable {
  cursor: pointer;
  outline: none;
}

.tarasy-fs__half--expandable:focus-visible {
  box-shadow: inset 0 0 0 3px var(--color-accent);
}

.tarasy-fs__half--expandable.is-expanded {
  box-shadow: inset 0 0 0 4px rgba(197, 154, 109, 0.65);
}

.tarasy-fs__expand {
  flex: 0 0 auto;
  width: 100%;
  background: linear-gradient(180deg, var(--white) 0%, rgba(230, 211, 179, 0.22) 100%);
  border-top: 1px solid rgba(62, 39, 35, 0.1);
  animation: tarasyExpandIn 0.35s ease both;
}

.tarasy-fs__expand[hidden] {
  display: none !important;
}

@keyframes tarasyExpandIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tarasy-fs__expand-inner {
  width: var(--layout-full-width-pct);
  max-width: none;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem) min(3vw, 2rem) clamp(2.25rem, 5vw, 3.5rem);
  box-sizing: border-box;
}

.tarasy-fs__expand-block[data-fs-detail] {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.tarasy-fs__expand-block h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.tarasy-fs__expand-block p {
  margin: 0 0 1rem;
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  line-height: 1.7;
  color: var(--color-medium);
}

.tarasy-fs__expand-cta {
  margin: 1.75rem 0 0 !important;
  padding-top: 0.25rem;
}

.tarasy-fs__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.tarasy-fs__half:hover .tarasy-fs__bg {
  transform: scale(1.05);
}

.tarasy-fs__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(62, 39, 35, 0.12) 0%,
    rgba(62, 39, 35, 0.88) 100%
  );
}

.tarasy-fs__inner {
  position: absolute;
  bottom: 0;
  padding-top: clamp(1.25rem, 4vw, 2rem);
  padding-bottom: 3vw;
  max-width: 26rem;
  color: var(--color-beige);
}

.tarasy-fs__inner--left {
  left: 0;
  padding-left: 3vw;
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

.tarasy-fs__inner--right {
  right: 0;
  left: auto;
  margin-left: auto;
  text-align: right;
  padding-right: 3vw;
  padding-left: clamp(1.25rem, 4vw, 2rem);
}

.tarasy-fs__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fff;
}

.tarasy-fs__text {
  margin: 0 0 1rem;
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.55;
  color: rgba(230, 211, 179, 0.96);
}

.tarasy-fs .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.88);
}

.tarasy-fs .btn--outline:hover {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

@media (max-width: 768px) {
  .tarasy-fs {
    margin-top: -0.35rem;
    min-height: auto;
  }

  #tarasy-fs-label,
  #pergola-fs-label,
  #realizacje-fs-label {
    font-size: clamp(1rem, 4.5vw, 1.35rem);
    letter-spacing: 0.2em;
    margin-top: 0.65rem;
    margin-bottom: 0.65rem;
  }

  .tarasy-fs__ribbon {
    margin-top: 0.35rem;
    padding-left: max(0.75rem, 3vw);
    padding-right: max(0.75rem, 3vw);
  }

  .tarasy-fs__cols {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(200px, 300px));
    gap: 0.65rem;
  }

  .tarasy-fs__half {
    min-height: 0;
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.12);
  }

  .tarasy-fs__inner {
    padding-bottom: max(1rem, 3vw);
    padding-top: 1rem;
  }

  .tarasy-fs__expand-inner {
    padding: 1.35rem max(0.85rem, 4vw) 1.65rem;
  }

  .tarasy-fs__inner--left {
    padding-left: max(0.85rem, 3vw);
    padding-right: max(0.85rem, 3vw);
  }

  .tarasy-fs__inner--right {
    left: 0;
    right: 0;
    margin-left: 0;
    text-align: left;
    padding-left: max(0.85rem, 3vw);
    padding-right: max(0.85rem, 3vw);
  }

}

/* ——— Korzyści — cztery kafle ze zdjęciem (bez kontenera, pełna szerokość) ——— */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--layout-gap);
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
}

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

@media (max-width: 520px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  position: relative;
  width: 100%;
  height: 600px;
  min-height: 600px;
  max-height: 600px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: box-shadow 0.28s ease;
}

.benefit-card:hover {
  box-shadow: none;
}

.benefit-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-card__bg {
  transform: scale(1.06);
}

.benefit-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    185deg,
    rgba(62, 39, 35, 0.08) 0%,
    rgba(62, 39, 35, 0.35) 42%,
    rgba(62, 39, 35, 0.9) 100%
  );
}

.benefit-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 1.15rem;
  padding-right: 5vw;
  padding-bottom: 3vw;
  padding-left: 3vw;
}

.benefit-card__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.benefit-card__text {
  margin: 0;
  font-size: clamp(0.78rem, 1vw, 0.875rem);
  line-height: 1.5;
  color: rgba(230, 211, 179, 0.96);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  .benefit-card {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    border-radius: calc(var(--radius) + 6px);
    box-shadow: 0 12px 36px rgba(62, 39, 35, 0.14);
    overflow: hidden;
  }

  .benefit-card__body {
    padding-top: 1rem;
    padding-bottom: 1.15rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .benefit-card__title {
    font-size: clamp(1rem, 3.8vw, 1.12rem);
  }

  .benefit-card__text {
    font-size: clamp(0.8rem, 2.8vw, 0.88rem);
    line-height: 1.48;
  }
}

/* ——— Pas „w liczbach” / skrót ——— */
.stats-strip {
  padding: 2rem 1.25rem;
  background: var(--color-dark);
  color: var(--color-beige);
  border-top: 1px solid rgba(230, 211, 179, 0.12);
  border-bottom: 1px solid rgba(230, 211, 179, 0.12);
  width: var(--layout-full-width-pct);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.stats-strip__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat-item strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(230, 211, 179, 0.85);
  line-height: 1.4;
}

.section-overline {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-medium);
}

.section-overline--muted {
  opacity: 0.92;
}

.section-overline--center {
  text-align: center;
}

.section__title--center {
  text-align: center;
}

.section__lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section--offer .section__lead {
  max-width: 38rem;
}

/* ——— Sections common ——— */
.section {
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem;
}

.section.section--korzysci {
  padding: 0;
  margin: var(--layout-gap) auto;
  width: var(--layout-full-width-pct);
  max-width: none;
  box-sizing: border-box;
}

.section--beige {
  background: linear-gradient(180deg, var(--color-beige) 0%, var(--color-beige-deep) 100%);
}

.section--light {
  background: var(--white);
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--color-dark);
}

.section__lead {
  margin: 0 0 2.5rem;
  max-width: 720px;
  font-size: 1.0625rem;
  color: var(--color-medium);
  font-weight: 500;
}

/* Split cards */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
}

.feature-card .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.88);
}

.feature-card .btn--outline:hover {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

.feature-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-card__bg {
  transform: scale(1.05);
}

.feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(62, 39, 35, 0.1) 0%,
    rgba(62, 39, 35, 0.88) 100%
  );
}

.feature-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  color: var(--color-beige);
}

.feature-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.feature-card__body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-beige);
}

/* O nas */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-photo {
  position: relative;
}

.about-photo__frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin: 0 auto;
}

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

.about-text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
}

.about-text p {
  margin: 0 0 1rem;
  color: var(--color-medium);
}

/* Realizacje */
.section.section--realizacje {
  padding-top: 0;
}

.section__inner--realizacje {
  width: var(--layout-full-width-pct);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.filter-bar--realizacje {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  gap: clamp(1.35rem, 3.2vw, 2.5rem);
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--color-medium);
  background: transparent;
  color: var(--color-dark);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.is-checked {
  background: var(--color-medium);
  color: var(--white);
}

.filter-bar--realizacje .filter-btn--realizacje {
  border: 1px solid var(--color-medium);
  border-radius: 10px;
  flex: 1 1 min(140px, 22vw);
  min-height: 3.35rem;
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gallery-grid:not(.benefits-grid) {
  margin: 0 -0.5rem;
}

.gallery-grid:not(.benefits-grid)::after {
  content: "";
  display: block;
  clear: both;
}

.gallery-grid.benefits-grid {
  margin: 0;
}

.gallery-item:not(.benefit-card) {
  width: 33.333%;
  padding: 0.5rem;
}

@media (max-width: 900px) {
  .gallery-item:not(.benefit-card) {
    width: 50%;
  }
}

@media (max-width: 520px) {
  .gallery-item:not(.benefit-card) {
    width: 100%;
  }
}

.gallery-item.benefit-card .benefit-card__stretch {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0;
  overflow: hidden;
}

.gallery-item.benefit-card .benefit-card__body {
  pointer-events: none;
}

.gallery-item__link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-item__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(62, 39, 35, 0);
  transition: background 0.3s;
}

.gallery-item__link:hover::after {
  background: rgba(62, 39, 35, 0.25);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Form */
.quote-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.8125rem;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-beige-deep);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-dark);
  background: #fff;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row--checks label {
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.form-row--checks input {
  margin-top: 0.25rem;
  accent-color: var(--color-medium);
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--color-medium);
  margin-top: 0.35rem;
}

.form-actions {
  margin-top: 1.25rem;
}

.form-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}

.form-msg.is-error {
  display: block;
  background: #fdecea;
  color: #7a2c1f;
}

.form-msg.is-ok {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}

/* Footer */
.site-footer {
  position: relative;
  background: linear-gradient(165deg, #2e1f1c 0%, var(--color-dark) 42%, #1a1210 100%);
  color: var(--color-beige);
  padding: 0;
  font-size: 0.9rem;
}

.site-footer__accent {
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent) 18%,
    var(--color-medium) 50%,
    var(--color-accent) 82%,
    transparent
  );
  opacity: 0.95;
}

.site-footer__inner {
  width: var(--layout-full-width-pct);
  max-width: none;
  margin: 0 auto;
  padding: 2.75rem min(1.25rem, 3vw) 2rem;
  box-sizing: border-box;
}

.site-footer a {
  color: var(--color-accent);
}

.site-footer a:hover {
  color: #f0dcc4;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.site-footer__col {
  padding: 1.35rem 1.4rem;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(230, 211, 179, 0.12);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.site-footer__brand-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(197, 154, 109, 0.35), 0 0 0 1px rgba(230, 211, 179, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

.site-footer__tagline {
  margin: 0 !important;
  font-size: 0.8125rem !important;
  font-weight: 500;
  color: rgba(230, 211, 179, 0.78) !important;
  line-height: 1.45 !important;
}

.site-footer__legal-name {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.88);
}

.site-footer h3 {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(197, 154, 109, 0.35);
}

.site-footer__col--brand .site-footer__brand-row h3 {
  margin: 0 0 0.35rem;
  padding-bottom: 0;
  border-bottom: none;
}

.site-footer__col--brand .site-footer__brand-row h3::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 0.45rem;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.site-footer p {
  margin: 0 0 0.5rem;
  color: rgba(250, 248, 245, 0.88);
}

.footer-bottom {
  margin: 2.25rem 0 0;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(230, 211, 179, 0.18);
  font-size: 0.8125rem;
  text-align: center;
  color: rgba(212, 196, 168, 0.85);
}

@media (max-width: 640px) {
  .site-footer__brand-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer__col--brand .site-footer__brand-row h3 {
    text-align: center;
  }

  .site-footer__col--brand .site-footer__brand-row h3::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Back to top */
.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(62, 39, 35, 0.85);
  color: var(--color-beige);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
  background: var(--color-medium);
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  background: rgba(62, 39, 35, 0.96);
  color: var(--color-beige);
  padding: 1rem 1.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  max-width: 640px;
  font-size: 0.875rem;
}

.cookie-bar a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Lightbox tweak (GLightbox) */
.glightbox-clean .gslide-description {
  background: var(--color-dark);
}

/* ——— Jak pracujemy + editorial ——— */
.section.section--tech {
  padding: 0;
  margin: var(--layout-gap) auto;
  width: var(--layout-full-width-pct);
  max-width: none;
  box-sizing: border-box;
}

.section--tech .section__inner.tech-split {
  max-width: none;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  background: var(--white);
}

.section--tech .section__title {
  text-align: left;
}

.tech-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--layout-gap);
  align-items: stretch;
  min-height: 600px;
}

.tech-split__text {
  align-self: center;
  max-width: 34rem;
  padding-left: 3vw;
  padding-right: 0;
  box-sizing: border-box;
}

.tech-split__text .section-overline {
  margin-bottom: 0.65rem;
}

.tech-split__text .section__title {
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.tech-split__text p {
  color: var(--color-medium);
  margin: 0 0 1.1rem;
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
  line-height: 1.68;
}

.tech-split__text p:last-of-type {
  margin-bottom: 0;
}

.tech-split__media {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  margin: 0;
  padding: 0;
}

.tech-split__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .tech-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tech-split__text {
    max-width: none;
    order: 1;
    padding-left: max(1rem, 3vw);
    padding-right: max(1rem, 3vw);
    padding-top: clamp(1.25rem, 4vw, 2rem);
    padding-bottom: 0.5rem;
  }

  .tech-split__media {
    order: 2;
    min-height: min(300px, 78vw);
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(62, 39, 35, 0.1);
  }

  .tech-split__img {
    min-height: min(300px, 78vw);
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: inherit;
  }

  .tech-split--kontakt .tech-split__media {
    min-height: min(300px, 72vw);
  }

  .tech-split--kontakt .tech-split__img {
    min-height: min(300px, 72vw);
  }
}

/* Kontakt / wycena — obrazek z lewej, formularz z prawej */
.tech-split--kontakt {
  min-height: 0;
  align-items: stretch;
}

@media (min-width: 901px) {
  .section--kontakt .tech-split__media {
    min-height: clamp(420px, 52vh, 720px);
  }

  .section--kontakt .tech-split__img {
    min-height: clamp(420px, 52vh, 720px);
  }
}

@media (max-width: 768px) {
  .tech-split__text--kontakt {
    padding-left: max(1rem, 4vw);
    padding-right: max(1rem, 4vw);
    padding-top: clamp(1.35rem, 4vw, 2rem);
    padding-bottom: clamp(1.35rem, 4vw, 2rem);
  }

  .quote-form.quote-form--split {
    padding: 1.15rem 1rem;
    border-radius: calc(var(--radius) + 4px);
  }
}

.tech-split__text--kontakt {
  align-self: stretch;
  max-width: none;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: 3vw;
  padding-top: clamp(1.75rem, 5vw, 3rem);
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
}

.tech-split__text--kontakt .section__title {
  margin-bottom: 1rem;
}

.tech-split__lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--color-medium);
  text-align: left;
}

.quote-form.quote-form--split {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 10px 36px rgba(62, 39, 35, 0.1);
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.editorial-split__text p {
  color: var(--color-medium);
  margin: 0 0 1rem;
}

.editorial-split__text .btn {
  margin-top: 0.5rem;
}

.editorial-split__img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

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

/* ——— Siatka usług (jak „Nasze usługi”) ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 112px;
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(138, 94, 59, 0.2);
  box-shadow: 0 6px 20px rgba(62, 39, 35, 0.06);
  color: var(--color-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-medium);
}

.service-card__name {
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.service-card__hint {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-medium);
}

.service-card--wide {
  grid-column: span 2;
}

@media (max-width: 1000px) {
  .service-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .service-card--wide {
    grid-column: span 1;
  }
}

/* ——— Mobile (≤768px): kompakt, kafle 300px, czytelna typografia ——— */
@media (max-width: 768px) {
  .hero {
    min-height: clamp(300px, 58svh, 540px);
  }

  .hero__layout {
    padding: 1.35rem max(1rem, 4vw) 1.85rem;
  }

  .hero__content--center h1 {
    font-size: clamp(1.55rem, 7.5vw, 2.35rem);
    line-height: 1.14;
  }

  .hero__subtitle {
    font-size: clamp(0.92rem, 3.8vw, 1.08rem);
  }

  .btn--hero-cta {
    padding: 0.95rem 1.85rem;
    font-size: 0.875rem;
  }

  .strip--dark {
    padding: 2rem max(1rem, 4vw);
  }

  .strip__title {
    font-size: clamp(1.2rem, 5vw, 1.65rem);
  }

  .strip__lead {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .section {
    padding: clamp(1.85rem, 5vw, 2.75rem) max(1rem, 4vw);
  }

  .section__title {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
  }

  .stats-strip {
    padding: 1.35rem max(1rem, 4vw);
  }

  .stats-strip__inner {
    gap: 1rem 0.75rem;
  }

  .stat-item strong {
    font-size: 1.02rem;
  }

  .stat-item span {
    font-size: 0.78rem;
  }

  .section.section--korzysci .benefits-grid {
    gap: 0.65rem;
  }

  .filter-bar.filter-bar--realizacje {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .filter-bar--realizacje .filter-btn--realizacje {
    flex: 0 0 auto;
    min-height: 2.65rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .feature-card {
    min-height: 260px;
    border-radius: calc(var(--radius) + 6px);
  }

  .site-footer__inner {
    padding-top: 2rem;
    padding-bottom: 1.65rem;
  }

  .site-footer__grid {
    gap: 1.1rem;
  }

  .site-footer__col {
    padding: 1.15rem 1.15rem;
  }

  .footer-bottom {
    font-size: 0.78rem;
    line-height: 1.55;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .back-top {
    right: max(0.65rem, 2vw);
    bottom: max(0.65rem, 2vw);
  }
}

/* Scroll margin for anchors */
section[id] {
  scroll-margin-top: calc(var(--top-bar-h) + var(--main-header-h) + 8px);
}



.main-header__logo-img {
    flex-shrink: 0;
    width: clamp(72px, 12vw, 72px);
    height: clamp(72px, 12vw, 72px);
    border-radius: 72px;
    object-fit: contain;
    aspect-ratio: 1;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32), 0 0 0 1px rgba(62, 39, 35, 0.45), 0 8px 22px rgba(0, 0, 0, 0.35);
}






