:root {
  --bg: #edf4ee;
  --bg-soft: #f7fbf6;
  --surface: rgba(251, 255, 251, 0.88);
  --surface-strong: #ffffff;
  --ink: #17241c;
  --ink-soft: #5e6d63;
  --line: rgba(23, 50, 35, 0.12);
  --wood: #5d8b61;
  --wood-deep: #2f5e3b;
  --forest: #173223;
  --shadow: 0 28px 80px rgba(23, 50, 35, 0.14);
  --shadow-soft: 0 18px 36px rgba(23, 50, 35, 0.1);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1240px;
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(93, 139, 97, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 94, 59, 0.08), transparent 18%),
    linear-gradient(180deg, #f8fcf8 0%, var(--bg) 100%);
  line-height: 1.6;
}

body.call-modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

section[id] {
  scroll-margin-top: 6rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 6.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(250, 255, 249, 0.72), rgba(239, 246, 239, 0.96));
}

.section-dark {
  color: #f7efe7;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 45%),
    linear-gradient(180deg, #15261c 0%, #213a2b 100%);
}

.section-pattern {
  position: relative;
  overflow: hidden;
}

.section-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 94, 59, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 94, 59, 0.05) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, transparent, black 15%, black 85%, transparent);
  pointer-events: none;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h1,
.section-heading h2,
.section-copy h1,
.section-copy h2,
.cta-banner h2,
.hero h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-heading h1,
.section-heading h2,
.section-copy h1,
.section-copy h2,
.cta-banner h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  margin-bottom: 1rem;
}

.section-heading p,
.section-copy p,
.cta-banner p {
  margin: 0;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(223, 240, 221, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  cursor: pointer;
}

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

.button:focus-visible,
.menu-toggle:focus-visible,
.product-switcher__item:focus-visible,
.slider-button:focus-visible,
.faq-item summary:focus-visible,
.slider-dots button:focus-visible {
  outline: 2px solid rgba(93, 139, 97, 0.45);
  outline-offset: 3px;
}

.button-solid {
  background: linear-gradient(135deg, var(--wood) 0%, #7ba275 100%);
  color: #f8fff8;
  box-shadow: 0 16px 32px rgba(93, 139, 97, 0.28);
}

.button-outline {
  border-color: rgba(255, 247, 236, 0.36);
  color: #fff8f1;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.button-full {
  width: 100%;
}

.hero-phone-link {
  display: inline-flex;
}

.call-modal-backdrop,
.call-modal {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 1rem 0;
  transition:
    background-color 220ms ease,
    backdrop-filter 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled {
  padding: 0.6rem 0;
  background: rgba(246, 251, 246, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(23, 50, 35, 0.08);
}

.page-solid-header .site-header {
  padding: 0.6rem 0;
  background: rgba(246, 251, 246, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(23, 50, 35, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: background-color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(1.75rem, 3vw, 2.2rem);
}

.brand-logo-dark {
  display: none;
}

.site-header.is-scrolled .brand {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.page-solid-header .brand {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.site-header.is-scrolled .brand-logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-dark {
  display: block;
}

.page-solid-header .brand-logo-light {
  display: none;
}

.page-solid-header .brand-logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255, 248, 241, 0.82);
  transition: color 180ms ease;
}

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

.site-header.is-scrolled .site-nav a {
  color: var(--ink);
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--wood);
}

.page-solid-header .site-nav a {
  color: var(--ink);
}

.page-solid-header .site-nav a:hover {
  color: var(--wood);
}

.nav-offer {
  margin-left: 0.4rem;
}

.site-nav .nav-offer,
.site-header.is-scrolled .site-nav .nav-offer,
.page-solid-header .site-nav .nav-offer {
  color: #f8fff8;
}

.site-nav .nav-offer:hover,
.site-nav .nav-offer:focus-visible,
.site-header.is-scrolled .site-nav .nav-offer:hover,
.site-header.is-scrolled .site-nav .nav-offer:focus-visible,
.page-solid-header .site-nav .nav-offer:hover,
.page-solid-header .site-nav .nav-offer:focus-visible {
  color: #f8fff8;
}

.menu-toggle {
  display: none;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: 1px solid rgba(255, 247, 236, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.2rem;
  height: 2px;
  background: #fff8f1;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.page-solid-header .menu-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.page-solid-header .menu-toggle span {
  background: var(--ink);
}

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

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

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff8f1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 12, 10, 0.34), rgba(15, 12, 10, 0.08)),
    url("../img/hero/hero.webp")
      center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 25%, rgba(93, 139, 97, 0.2), transparent 22%),
    linear-gradient(90deg, rgba(10, 22, 15, 0.76), rgba(12, 31, 20, 0.5) 48%, rgba(12, 28, 19, 0.18));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  max-width: 12ch;
  margin-bottom: 1.2rem;
}

.hero-copy h1 span {
  color: #afd6aa;
}

.hero-text {
  max-width: 38rem;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  color: rgba(255, 244, 235, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.2rem 0;
}

.hero-actions-center {
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem 0 0;
  padding-top: 1.5rem;
  text-align: center;
  justify-items: center;
  border-top: 1px solid rgba(255, 248, 241, 0.16);
}

.hero-stats dt {
  margin-bottom: 0.3rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 244, 235, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.call-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(9, 18, 12, 0.56);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.call-modal {
  position: fixed;
  left: 50%;
  bottom: 5.75rem;
  z-index: 40;
  width: min(calc(100% - 1.5rem), 24rem);
  padding: 1.4rem;
  border: 1px solid rgba(93, 139, 97, 0.16);
  border-radius: 1.6rem;
  background: rgba(251, 255, 251, 0.96);
  box-shadow: 0 28px 60px rgba(12, 31, 20, 0.24);
  transform: translate(-50%, 1.25rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.call-modal h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 5vw, 1.95rem);
}

.call-modal__copy {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.call-modal__number {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forest);
}

.call-modal__icon,
.floating-call-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wood) 0%, #7ba275 100%);
  box-shadow: 0 2px 10px rgba(93, 139, 97, 0.2);
}

.call-modal__icon {
  margin-bottom: 1rem;
}

.floating-call-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 38;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  padding: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(250, 255, 250, 0.96);
  box-shadow: 0 2px 10px rgba(12, 31, 20, 0.2);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.floating-call-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(12, 31, 20, 0.28);
}

.call-modal__icon img,
.floating-call-cta__icon img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(100%);
}

.call-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 50, 35, 0.08);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.call-modal__close:focus-visible,
.floating-call-cta:focus-visible {
  outline: 2px solid rgba(93, 139, 97, 0.45);
  outline-offset: 3px;
}

body.call-modal-open .call-modal-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.call-modal-open .call-modal {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

body.call-modal-open .floating-call-cta {
  opacity: 0;
  pointer-events: none;
}

.contact-form,
.contact-panel,
.stats-panel,
.benefit-card,
.spec-card,
.process-card,
.faq-item,
.developer-grid article,
.tech-grid article,
.b2b-callout,
.project-copy,
.floating-card {
  backdrop-filter: blur(12px);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #b7d8b0, var(--wood));
  box-shadow: 0 0 0 0.28rem rgba(93, 139, 97, 0.16);
}

.benefit-grid,
.product-grid,
.process-grid,
.developer-grid,
.tech-grid {
  display: grid;
  gap: 1.25rem;
}

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

.mobile-card-carousel {
  display: grid;
  gap: 1rem;
}

.mobile-carousel-controls {
  display: none;
  justify-content: center;
  gap: 0.65rem;
}

.benefit-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.74);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.benefit-card:hover,
.spec-card:hover,
.developer-grid article:hover,
.tech-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(93, 139, 97, 0.24);
  box-shadow: 0 22px 42px rgba(23, 50, 35, 0.12);
}

.benefit-card h3,
.spec-card h3,
.developer-grid h3,
.tech-grid h3,
.process-card h3,
.contact-form h3,
.contact-panel h3,
.project-copy h3 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
}

.benefit-card p,
.spec-card p,
.developer-grid p,
.tech-grid p,
.process-card p {
  margin: 0;
  color: var(--ink-soft);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.2rem;
  border-radius: 1.2rem;
  background: rgba(93, 139, 97, 0.14);
  border: 1px solid rgba(93, 139, 97, 0.16);
}

.icon-badge-dark {
  margin-bottom: 0;
  background: rgba(183, 221, 177, 0.16);
  border: 1px solid rgba(183, 221, 177, 0.2);
}

.icon-image {
  display: block;
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(30%) sepia(16%) saturate(1023%) hue-rotate(82deg) brightness(97%) contrast(90%);
}

.icon-badge-dark .icon-image {
  filter: brightness(0) saturate(100%) invert(83%) sepia(14%) saturate(458%) hue-rotate(58deg) brightness(93%) contrast(90%);
}

.split-layout,
.atypical-layout,
.tech-layout,
.contact-layout {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

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

.split-layout-tight {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.image-panel {
  position: relative;
  min-height: 34rem;
}

.image-main {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  border-radius: calc(var(--radius) + 0.5rem);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: -1.2rem;
  bottom: -1.2rem;
  max-width: 16rem;
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #163124, #244831);
  color: #f6fff4;
  box-shadow: var(--shadow);
}

.floating-card strong,
.dimension-card strong,
.stats-box strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.floating-card span,
.dimension-card span,
.stats-box span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 244, 235, 0.74);
}

.section-copy {
  display: grid;
  gap: 1.2rem;
}

.section-copy p,
.section-heading p {
  color: var(--ink-soft);
}

.section-dark .section-heading p {
  color: rgba(247, 239, 231, 0.72);
}

blockquote {
  margin: 0;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--wood);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(93, 139, 97, 0.1);
  font-size: 1.1rem;
  color: var(--ink);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.75rem;
  min-height: 22rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 247, 236, 0.08);
  box-shadow: var(--shadow-soft);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 13, 11, 0.04), rgba(16, 13, 11, 0.68)),
    var(--card-image) center/cover;
  transition: transform 260ms ease;
  z-index: -2;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.28));
  z-index: -1;
}

.product-card:hover::before {
  transform: scale(1.06);
}

.product-card h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #fff8f1;
}

.product-card p {
  margin: 0;
  max-width: 22rem;
  color: rgba(255, 248, 241, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-card a {
  color: #c0e2ba;
  font-weight: 700;
}

.button-outline-dark {
  border-color: rgba(23, 50, 35, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.button-outline-dark:hover,
.button-outline-dark:focus-visible {
  border-color: rgba(93, 139, 97, 0.32);
  color: var(--wood-deep);
  background: rgba(255, 255, 255, 0.92);
}

.product-page-hero {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 2.2rem;
}

.product-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.92fr);
  gap: 2.4rem;
  align-items: center;
}

.product-hero-copy {
  display: grid;
  gap: 1.2rem;
}

.product-page-hero .hero-actions {
  margin: 0.25rem 0 0;
}

.gallery-page-hero {
  overflow: hidden;
}

.gallery-hero-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.48fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.gallery-hero-copy {
  max-width: 35rem;
  justify-items: start;
}

.gallery-hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(18rem, 25rem));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  width: max-content;
  margin-right: calc((100vw - min(calc(100vw - 2rem), var(--max-width))) / -2);
}

.gallery-hero-photo {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: calc(var(--radius-sm) + 0.15rem);
  background:
    linear-gradient(180deg, rgba(16, 13, 11, 0.04), rgba(16, 13, 11, 0.14)),
    var(--gallery-image) center/cover;
  box-shadow: var(--shadow);
}

.product-switcher-section {
  margin-top: 1.5rem;
  padding: 0 0 4rem;
}

.product-switcher-shell {
  padding: 0;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.product-switcher-shell::-webkit-scrollbar {
  display: none;
}

.product-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: max-content;
  min-width: 100%;
  padding: 0 0 0.5rem;
}

.product-switcher__item {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 999px;
  background: none;
  box-shadow: none;
  color: var(--ink-soft);
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.product-switcher__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wood), #7ba275);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.product-switcher__item:hover,
.product-switcher__item:focus-visible {
  color: var(--ink);
}

.product-switcher__item.is-active {
  color: var(--ink);
}

.product-switcher__item.is-active::after {
  transform: scaleX(1);
}

.product-switcher__item.is-disabled {
  background: none;
  color: var(--ink-soft);
  opacity: 0.58;
  cursor: not-allowed;
}

.product-hero-visual {
  position: relative;
  min-height: 36rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}

.product-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% 10%;
  background:
    radial-gradient(circle at 66% 28%, rgba(183, 221, 177, 0.56), transparent 30%),
    radial-gradient(circle at 34% 70%, rgba(93, 139, 97, 0.16), transparent 36%);
  filter: blur(16px);
  pointer-events: none;
}

.product-hero-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 36rem;
  background-image: var(--product-hero-image);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.product-hero-frame::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 1.4rem;
  height: 1rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23, 50, 35, 0.22), transparent 72%);
  filter: blur(12px);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.swatch-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow-soft);
}

.swatch-card h3 {
  margin: 0.95rem 0 0.4rem;
  font-size: 1rem;
}

.swatch-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.material-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: 1rem;
  margin-top: 1rem;
}

.material-panel,
.hardware-panel {
  padding: clamp(1.2rem, 2vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.86);
  box-shadow: var(--shadow-soft);
}

.material-panel h3,
.hardware-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.material-panel p,
.hardware-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.material-tags,
.hardware-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.material-tags span,
.material-tag-link,
.hardware-logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(23, 50, 35, 0.12);
  border-radius: 0.7rem;
  background: rgba(247, 250, 244, 0.82);
  color: var(--ink);
  font-weight: 800;
}

.material-tags .material-tag-logo {
  justify-content: center;
  min-width: 7.6rem;
}

.material-tag-link {
  text-decoration: none;
}

.material-tag-logo img {
  display: block;
  width: auto;
  max-width: 8.4rem;
  height: 1.8rem;
  object-fit: contain;
}

.hardware-logo-link {
  justify-content: center;
  min-width: 8.8rem;
  text-decoration: none;
}

.hardware-logo-link img {
  display: block;
  width: auto;
  max-width: 9.5rem;
  height: 1.65rem;
  object-fit: contain;
}

.material-tag-link:hover,
.material-tag-link:focus-visible,
.hardware-logo-link:hover,
.hardware-logo-link:focus-visible {
  border-color: rgba(93, 139, 97, 0.36);
  color: var(--wood-deep);
  background: #fffdfa;
}

.swatch-chip {
  position: relative;
  display: block;
  height: 8rem;
  border: 1px solid rgba(23, 50, 35, 0.08);
  border-radius: 1.1rem;
  background: var(--swatch-color);
  overflow: hidden;
}

.swatch-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 38%, rgba(0, 0, 0, 0.08));
}

.swatch-chip.swatch-image {
  height: auto;
  background: #f7faf4;
}

.swatch-chip.swatch-image::after {
  display: none;
}

.swatch-chip.swatch-image img {
  display: block;
  width: 100%;
  height: auto;
}

.atypical-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.dimension-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  color: #f6fff4;
  background: linear-gradient(135deg, #173223, #2f5e3b);
  box-shadow: var(--shadow);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.spec-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow-soft);
}

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

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

.developer-side {
  display: grid;
  gap: 2rem;
  align-content: start;
}

.developer-grid article,
.tech-grid article {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.72);
}

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

.b2b-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(236, 245, 236, 0.84), rgba(255, 255, 255, 0.72));
}

.b2b-callout p {
  max-width: 26rem;
  color: var(--ink);
  font-weight: 600;
}

.stats-panel {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 36rem;
}

.stats-image {
  width: 100%;
  height: 100%;
  min-height: 36rem;
  border-radius: calc(var(--radius) + 0.5rem);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.stats-box {
  position: absolute;
  left: -1.2rem;
  bottom: -1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 28rem);
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stats-box strong {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.stats-box span {
  color: var(--ink-soft);
}

.process-grid {
  --process-gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--process-gap);
}

.process-card {
  padding: 1.7rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 247, 236, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.process-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.process-top::before,
.process-top::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 2rem + (var(--process-gap) / 2));
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 221, 177, 0.18), rgba(183, 221, 177, 0.46));
  transform: translateY(-50%);
  z-index: 0;
}

.process-top::before {
  left: calc(var(--process-gap) / -2);
}

.process-top::after {
  right: calc(var(--process-gap) / -2);
}

.process-card:first-child .process-top::before,
.process-card:last-child .process-top::after {
  display: none;
}

.process-top .icon-badge {
  position: relative;
  z-index: 1;
}

.process-card p,
.project-copy dl,
.cta-banner p {
  color: rgba(247, 239, 231, 0.74);
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.slider-controls {
  display: flex;
  gap: 0.65rem;
}

.slider-button {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.9);
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.slider-button:hover {
  transform: translateY(-1px);
  border-color: rgba(93, 139, 97, 0.34);
}

.projects-shell {
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.5rem);
  box-shadow: var(--shadow);
}

.gallery-teaser-section {
  overflow: hidden;
}

.gallery-teaser {
  display: grid;
  grid-template-columns: minmax(17rem, 0.48fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.gallery-teaser-copy {
  max-width: 34rem;
  justify-items: start;
}

.gallery-teaser-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(18rem, 25rem));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  width: max-content;
  margin-right: calc((100vw - min(calc(100vw - 2rem), var(--max-width))) / -2);
}

.gallery-teaser-photo {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: calc(var(--radius-sm) + 0.15rem);
  background:
    linear-gradient(180deg, rgba(16, 13, 11, 0.04), rgba(16, 13, 11, 0.14)),
    var(--gallery-image) center/cover;
  box-shadow: var(--shadow);
}

.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-category-card {
  min-height: 13rem;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(16, 13, 11, 0.05), rgba(16, 13, 11, 0.62)),
    var(--gallery-image) center/cover;
  color: #fff8f1;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.gallery-category-card h3 {
  margin: 0;
  color: inherit;
  font-size: 1.05rem;
}

.gallery-category-card p {
  margin: 0;
  color: rgba(255, 248, 241, 0.74);
  font-size: 0.9rem;
}

.gallery-page-shell {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}

.gallery-collection {
  display: grid;
  gap: 1.35rem;
}

.gallery-collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-collection-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.05;
}

.gallery-collection-heading .button {
  min-height: 3rem;
  padding-inline: 1.1rem;
  white-space: nowrap;
}

.gallery-photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.gallery-collection:not(.is-expanded) .gallery-photo-tile:nth-child(n+4) {
  display: none;
}

.gallery-photo-tile {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(16, 13, 11, 0.03), rgba(16, 13, 11, 0.16)),
    var(--gallery-image) center/cover;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.projects-track {
  display: flex;
  transition: transform 420ms ease;
  touch-action: pan-y;
}

.project-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 31rem;
  background: var(--surface-strong);
}

.project-media {
  min-height: 31rem;
  background-size: cover;
  background-position: center;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(180deg, #15261c, #22402d);
  color: #fffef9;
}

.project-tag {
  margin: 0;
  color: #b7ddb1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-copy dl {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.project-copy dt {
  margin-bottom: 0.2rem;
  color: rgba(255, 244, 235, 0.54);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-copy dd {
  margin: 0;
  font-size: 1.05rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.slider-dots button {
  width: 0.75rem;
  height: 0.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 23, 17, 0.16);
  cursor: pointer;
  transition: width 200ms ease, background-color 200ms ease;
}

.slider-dots button.is-active {
  width: 2.2rem;
  background: var(--wood);
}

.tech-images {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
}

.tech-stack {
  display: grid;
  gap: 1rem;
  padding-top: 3rem;
}

.tech-image {
  min-height: 16rem;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.tech-image-tall {
  min-height: 34rem;
}

.coverage-section {
  position: relative;
  overflow: hidden;
}

.coverage-section::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: min(64rem, 64vw);
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(245, 251, 244, 1) 0%,
    rgba(245, 251, 244, 1) 48%,
    rgba(245, 251, 244, 0.9) 62%,
    rgba(245, 251, 244, 0) 76%
  );
}

.coverage-layout {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 1.22fr);
  gap: clamp(1.25rem, 2.8vw, 2.5rem);
  align-items: center;
}

.coverage-copy {
  position: relative;
  z-index: 2;
}

.coverage-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.coverage-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(93, 139, 97, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-weight: 600;
}

.coverage-points span::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wood), #7ba275);
  box-shadow: 0 0 0 0.24rem rgba(93, 139, 97, 0.14);
}

.coverage-map-viewport {
  position: absolute;
  top: 5%;
  bottom: 5%;
  right: 0;
  z-index: 0;
  width: clamp(36rem, 55vw, 78rem);
  max-height: 90%;
  transform: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 100%);
}

.coverage-map-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1.85 / 1;
  background: transparent;
  cursor: grab;
  outline: none;
  touch-action: none;
  overflow: hidden;
}

.coverage-map-visual.is-panning {
  cursor: grabbing;
}

.coverage-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: transparent;
}

.coverage-svg .cls-1 {
  fill: #dce8d7;
}

.coverage-svg .coverage-svg-region,
.coverage-svg .coverage-svg-district {
  fill: #dce8d7;
  stroke: rgba(23, 50, 35, 0.42);
  stroke-linejoin: round;
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.coverage-svg .coverage-svg-region {
  fill: #d9e7d3;
  stroke-width: 1.35;
}

.coverage-svg .coverage-svg-district {
  display: none;
}

.coverage-svg[data-coverage-level="district"] .coverage-svg-region {
  display: none;
}

.coverage-svg[data-coverage-level="district"] .coverage-svg-district {
  display: initial;
}

.coverage-source-point {
  display: none;
}

.coverage-svg-marker {
  cursor: default;
  outline: none;
}

.coverage-svg-marker circle {
  fill: #5d8b61;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.coverage-svg-marker text {
  fill: #ffffff;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(23, 50, 35, 0.18);
  stroke-width: 2px;
}

.coverage-svg-marker:hover circle,
.coverage-svg-marker:focus-visible circle {
  stroke: #ffffff;
  stroke-width: 4;
}

.faq-shell {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.8);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  list-style: none;
  padding: 1.2rem 4rem 1.2rem 1.4rem;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--wood);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
}

.cta-section {
  position: relative;
  overflow: hidden;
  color: #fff8f1;
  background:
    linear-gradient(180deg, rgba(18, 35, 26, 0.68), rgba(18, 35, 26, 0.88)),
    url("../img/cta/cta_dvere_na_mieru.webp")
      center/cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(93, 139, 97, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.34));
}

.cta-banner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.contact-panel,
.contact-form {
  padding: 2rem;
  border-radius: calc(var(--radius) + 0.2rem);
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow-soft);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 1.8rem;
}

.contact-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.9rem;
}

.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-top: 0.1rem;
  border-radius: 0.95rem;
  background: rgba(93, 139, 97, 0.12);
  border: 1px solid rgba(93, 139, 97, 0.16);
}

.contact-list__icon .icon-image {
  width: 1.05rem;
  height: 1.05rem;
}

.contact-list__content {
  display: grid;
  gap: 0.25rem;
}

.contact-list__label {
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-list__content a,
.contact-list__content p {
  margin: 0;
  font-weight: 600;
}

.map-frame {
  height: clamp(20rem, 34vw, 25rem);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 50, 35, 0.14);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input[type="file"] {
  padding: 0.7rem 0.75rem;
  cursor: pointer;
}

.contact-form input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.72rem 1rem;
  border: 0;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--wood) 0%, #7ba275 100%);
  color: #f8fff8;
  font-weight: 700;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(93, 139, 97, 0.36);
  box-shadow: 0 0 0 0.25rem rgba(93, 139, 97, 0.12);
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.form-note-inline {
  display: block;
  margin-top: 0.5rem;
}

.form-honeypot {
  display: none !important;
}

.form-status {
  min-height: 1.2rem;
}

.legal-page-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 3rem;
}

.legal-shell {
  max-width: 58rem;
}

.legal-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.86);
  box-shadow: var(--shadow-soft);
}

.legal-panel + .legal-panel {
  margin-top: 1.1rem;
}

.legal-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.15;
}

.legal-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-panel a {
  color: var(--wood);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.thank-you-actions a {
  text-decoration: none;
}

.thank-you-actions .button-solid {
  color: #f8fff8;
}

.thank-you-actions .button-outline-dark {
  color: var(--ink);
}

.legal-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.legal-definition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
}

.legal-definition-list div {
  display: grid;
  gap: 0.18rem;
}

.legal-definition-list dt {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-definition-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.legal-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal-table [role="row"] {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
}

.legal-table-two [role="row"] {
  grid-template-columns: 0.8fr 1.2fr;
}

.legal-table [role="row"] + [role="row"] {
  border-top: 1px solid var(--line);
}

.legal-table strong,
.legal-table span {
  padding: 0.9rem;
}

.legal-table strong {
  background: rgba(93, 139, 97, 0.12);
  color: var(--ink);
  font-size: 0.82rem;
}

.legal-table span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal-table strong + strong,
.legal-table span + span {
  border-left: 1px solid var(--line);
}

.site-footer {
  color: #f7efe7;
  background: linear-gradient(180deg, #122018 0%, #0c1510 100%);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "intro links"
    "legal links";
  align-items: start;
  gap: 1rem 2rem;
  padding: 4rem 0 2.4rem;
}

.footer-intro {
  grid-area: intro;
}

.brand-footer {
  padding: 0;
  background: none;
  box-shadow: none;
}

.brand-logo-footer {
  height: clamp(2rem, 3.4vw, 2.6rem);
}

.footer-copy {
  max-width: 28rem;
  color: rgba(247, 239, 231, 0.68);
}

.footer-legal-links {
  grid-area: legal;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  align-items: center;
  max-width: 28rem;
}

.footer-legal-links a {
  color: rgba(247, 239, 231, 0.72);
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.footer-links {
  grid-area: links;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-links h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #fff8f1;
}

.footer-links a,
.footer-links span {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(247, 239, 231, 0.68);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 247, 236, 0.08);
  color: rgba(247, 239, 231, 0.52);
  font-size: 0.92rem;
}

.micro {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: rgba(247, 239, 231, 0.74);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

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

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

@media (max-width: 1100px) {
  .hero-layout,
  .product-hero-layout,
  .split-layout,
  .split-layout-tight,
  .tech-layout,
  .coverage-layout,
  .atypical-layout,
  .contact-layout,
  .footer-layout,
  .project-slide {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-areas:
      "intro"
      "links"
      "legal";
  }

  .coverage-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(18rem, 1.22fr);
  }

  .benefit-grid,
  .product-grid,
  .developer-grid,
  .tech-grid,
  .swatch-grid,
  .material-info-grid,
  .gallery-teaser,
  .gallery-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-teaser-strip {
    grid-template-columns: repeat(3, minmax(15rem, 21rem));
  }

  .gallery-hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-hero-strip {
    grid-template-columns: repeat(3, minmax(15rem, 21rem));
  }

  .gallery-photo-row {
    grid-template-columns: repeat(3, minmax(13rem, 1fr));
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  .process-grid {
    --process-gap: 0.9rem;
    gap: var(--process-gap);
  }

  .stats-panel {
    margin-bottom: 2.2rem;
  }

  .stats-box {
    position: absolute;
    left: 1rem;
    right: auto;
    bottom: -1.5rem;
    margin-top: 0;
    width: min(calc(100% - 2rem), 28rem);
    z-index: 1;
  }

  .image-panel {
    margin-bottom: 1.9rem;
  }

  .product-page-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 0.8rem;
  }

  .product-hero-layout {
    position: relative;
    display: block;
    min-height: clamp(33rem, 74svh, 40rem);
    align-items: stretch;
  }

  .product-hero-copy {
    position: relative;
    z-index: 2;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: inherit;
    width: 100%;
    max-width: none;
    margin-right: auto;
    padding: clamp(8rem, 24svh, 13rem) 0 clamp(2.15rem, 6vw, 3.4rem) 0;
    text-align: left;
  }

  .product-hero-copy::before {
    content: "";
    position: absolute;
    inset: -1.75rem -2rem -1.5rem -1.5rem;
    z-index: -1;
    background: linear-gradient(0deg, rgba(237, 244, 238, 0.6) 0%, rgba(237, 244, 238, 0.46) 26%, rgba(237, 244, 238, 0.26) 42%, rgba(237, 244, 238, 0.08) 60%, rgba(237, 244, 238, 0) 100%);
    pointer-events: none;
  }

  .product-hero-copy p {
    max-width: min(100%, 38rem);
    margin-right: auto;
  }

  .product-page-hero .hero-actions {
    justify-content: flex-start;
  }

  .product-hero-visual {
    position: absolute;
    inset: 0;
    bottom: 0;
    width: auto;
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    z-index: 0;
    pointer-events: none;
  }

  .product-hero-visual::before {
    inset: 4% -6% 0 44%;
  }

  .floating-card {
    position: absolute;
    left: 1rem;
    right: auto;
    bottom: -1.5rem;
    margin-top: 0;
    max-width: min(15rem, calc(100% - 2rem));
    z-index: 1;
  }

  .image-panel,
  .stats-panel,
  .image-main,
  .stats-image,
  .product-hero-frame {
    min-height: 28rem;
  }

  .product-hero-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    background-position: right -1.5rem top 0.6rem;
    background-size: auto 50%;
  }

  .product-hero-frame::after {
    left: 56%;
    right: 2%;
    bottom: 0.8rem;
  }
}

@media (max-width: 1034px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 1.4rem;
    background: rgba(246, 251, 246, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 50, 35, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-header.is-scrolled .site-nav a {
    color: var(--ink);
  }

  .nav-offer {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .hero-layout {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-phone-link {
    display: none;
  }

  .product-page-hero {
    padding-top: calc(var(--header-height) + 0.85rem);
    padding-bottom: 0.6rem;
  }

  .product-hero-layout {
    min-height: clamp(34rem, 78svh, 39rem);
  }

  .product-hero-copy {
    max-width: none;
    padding: clamp(8.5rem, 27svh, 13rem) 0 2rem 0;
  }

  .product-hero-copy::before {
    inset: -1rem -1.5rem -1.35rem -1rem;
  }

  .product-hero-visual {
    margin-bottom: 0;
  }

  .product-hero-frame {
    background-position: right 0.75rem top 0.6rem;
    background-size: auto 48%;
  }

  .hero-stats {
    gap: 0.7rem;
  }

  .hero-stats dt {
    font-size: clamp(1.45rem, 5vw, 2.2rem);
  }

  .hero-stats dd {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .coverage-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: stretch;
  }

  .coverage-section {
    padding-bottom: 0;
  }

  .coverage-section::after {
    display: none;
  }

  .coverage-copy {
    max-width: 34rem;
    padding-top: 0;
  }

  .coverage-map-viewport {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    justify-self: stretch;
    width: 100%;
    height: auto;
    min-width: 0;
    margin: 1rem 0 0;
    transform: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 100%);
  }

  .form-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .spec-card-wide {
    grid-column: auto;
  }

  .heading-row,
  .b2b-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  #realizacie .slider-controls {
    align-self: center;
    justify-content: center;
    width: 100%;
  }

  .mobile-card-carousel .benefit-grid,
  .mobile-card-carousel .developer-grid {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
  }

  .mobile-card-carousel .benefit-grid::-webkit-scrollbar,
  .mobile-card-carousel .developer-grid::-webkit-scrollbar {
    display: none;
  }

  .mobile-card-carousel .benefit-card,
  .mobile-card-carousel .developer-grid article {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

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

  .mobile-carousel-controls {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 5rem 0;
  }

  .coverage-section {
    padding-bottom: 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  body {
    padding-bottom: 2rem;
  }

  .product-switcher-section {
    margin-top: 1rem;
    padding-bottom: 2.6rem;
  }

  .product-hero-layout {
    min-height: clamp(34rem, 82svh, 39rem);
  }

  .product-hero-copy {
    max-width: none;
    padding: clamp(9rem, 30svh, 14rem) 0 2rem 0;
    gap: 1rem;
  }

  .product-hero-copy::before {
    inset: -0.75rem -1rem -1.15rem -0.8rem;
  }

  .product-hero-frame {
    background-position: right 0.75rem top 0.55rem;
    background-size: auto 34%;
  }

  .product-hero-frame::after {
    left: 58%;
    right: 2%;
  }

  .gallery-page-hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 0.25rem;
  }

  .gallery-page-hero + .section {
    padding-top: 3.25rem;
  }

  .benefit-grid,
  .product-grid,
  .spec-grid,
  .developer-grid,
  .tech-grid,
  .swatch-grid,
  .material-info-grid,
  .gallery-teaser,
  .gallery-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-teaser {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-teaser-strip {
    grid-template-columns: repeat(3, minmax(13.5rem, 75vw));
    margin-right: -0.625rem;
  }

  .gallery-hero-layout {
    gap: 2rem;
  }

  .gallery-hero-strip {
    grid-template-columns: repeat(3, minmax(13.5rem, 75vw));
    margin-right: -0.625rem;
  }

  .gallery-collection-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-photo-row {
    grid-template-columns: repeat(3, minmax(14rem, 78vw));
    margin-right: -0.625rem;
  }

  .footer-layout {
    gap: 2rem;
    padding: 3rem 0 1.8rem;
  }

  .footer-intro {
    display: grid;
    justify-items: start;
    text-align: left;
  }

  .footer-copy {
    margin-inline: 0;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem 1rem;
  }

  .footer-links > div:nth-child(3) {
    grid-column: 1 / -1;
    text-align: left;
  }

  .footer-legal-links {
    justify-content: center;
    justify-self: center;
    text-align: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom .micro {
    width: 100%;
    font-size: clamp(0.62rem, 2.8vw, 0.78rem);
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .footer-bottom .micro span {
    margin: 0 0.35rem;
  }

  .footer-credit {
    display: block;
    margin: 0.2rem 0 0;
  }

  .footer-credit > span {
    display: none;
  }

  .mobile-card-carousel .benefit-grid,
  .mobile-card-carousel .developer-grid {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
  }

  .mobile-card-carousel .benefit-grid::-webkit-scrollbar,
  .mobile-card-carousel .developer-grid::-webkit-scrollbar {
    display: none;
  }

  .mobile-card-carousel .benefit-card,
  .mobile-card-carousel .developer-grid article {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .mobile-carousel-controls {
    display: flex;
  }

  .legal-page-hero {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .legal-definition-list,
  .legal-table [role="row"],
  .legal-table-two [role="row"] {
    grid-template-columns: 1fr;
  }

  .legal-table strong + strong,
  .legal-table span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .coverage-points {
    gap: 0.6rem;
  }

  .coverage-points span {
    padding: 0.62rem 0.85rem;
    font-size: 0.88rem;
  }

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

  .product-card {
    min-height: 16.5rem;
    border-radius: var(--radius-sm);
  }

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

  .spec-card,
  .spec-card-wide {
    grid-column: auto;
  }

  .spec-card {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    padding: 0.35rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
  }

  .spec-card:hover {
    transform: none;
    box-shadow: none;
  }

  .spec-card .icon-badge {
    width: 3.1rem;
    height: 3.1rem;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 253, 250, 0.96);
    box-shadow: 0 10px 24px rgba(23, 50, 35, 0.08);
  }

  .spec-card h3 {
    margin: 0;
    font-size: 0.98rem;
  }

  .spec-card p {
    display: none;
  }

  .coverage-map-viewport {
    width: 100%;
    margin-top: 0.8rem;
    margin-right: 0;
  }

  .coverage-map-visual {
    aspect-ratio: 1.85 / 1;
    height: auto;
    min-height: clamp(13rem, 56vw, 18rem);
  }

  .process-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 1rem;
    row-gap: 0.35rem;
  }

  .process-top {
    grid-row: 1 / span 2;
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .process-card h3 {
    margin: 0;
  }

  .process-card p {
    grid-column: 2;
  }

  .process-top::before,
  .process-top::after {
    display: none;
  }

  .contact-form,
  .contact-panel,
  .benefit-card,
  .process-card,
  .developer-grid article,
  .tech-grid article,
  .swatch-card {
    padding: 1.4rem;
  }

  .slider-controls {
    display: flex;
  }

  .project-copy {
    order: 2;
  }

  .project-media {
    min-height: 18rem;
  }
}

@media (max-width: 520px) {
  .material-info-grid,
  .gallery-teaser,
  .gallery-category-grid {
    grid-template-columns: 1fr;
  }

  .gallery-teaser-strip {
    grid-template-columns: repeat(3, minmax(13rem, 78vw));
  }

  .gallery-hero-strip {
    grid-template-columns: repeat(3, minmax(13rem, 78vw));
  }

  .gallery-page-shell {
    gap: 3.4rem;
  }

  .gallery-photo-row {
    grid-template-columns: repeat(3, minmax(13rem, 82vw));
  }
}
