:root {
  --brand-blue: #35afea;
  --brand-blue-dark: #168bc5;
  --ink: #111514;
  --muted: #5b6468;
  --paper: #f7fbfd;
  --line: #d8e9f2;
  --panel: #ffffff;
  --accent: #ffc93c;
  --success: #22a36f;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(13, 43, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7fbfd 0 22%, #eef8fc 22% 38%, #f7fbfd 38% 66%, #eaf8ff 66% 82%, #f7fbfd 82% 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ring-heartbeat {
  0%,
  72%,
  100% {
    opacity: 0.68;
    scale: 1;
  }

  16% {
    opacity: 1;
    scale: 1.035;
  }

  30% {
    opacity: 0.78;
    scale: 0.99;
  }

  44% {
    opacity: 0.94;
    scale: 1.02;
  }
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 21, 20, 0.08);
  background: rgba(247, 251, 253, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-blue);
}

.brand span {
  display: block;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: #263033;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #e4f6ff;
  color: #072536;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

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

.button.primary {
  background: var(--brand-blue);
  color: #071417;
  box-shadow: 0 14px 30px rgba(53, 175, 234, 0.32);
}

.button.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #eef8fc;
}

.hero-home {
  min-height: calc(100vh - 82px);
  align-items: stretch;
  overflow: hidden;
  background: #111514;
}

.hero-inner,
.section-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 22px;
}

.hero-home .hero-inner {
  max-width: none;
  padding: 0;
}

.hero-grid {
  position: relative;
  min-height: calc(100vh - 82px);
  padding: 0;
}

.hero-copy {
  position: absolute;
  top: 36px;
  left: 22px;
  right: 22px;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.36) 44%, rgba(255, 255, 255, 0.22)),
    rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    0 24px 70px rgba(3, 20, 26, 0.26),
    0 0 0 1px rgba(53, 175, 234, 0.10);
  animation: fade-up 520ms ease both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.16) 32%, transparent 58%),
    radial-gradient(circle at 24% 0%, rgba(255, 255, 255, 0.42), transparent 36%);
  opacity: 0.78;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead {
  color: #071417;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.44);
}

.hero-copy .eyebrow {
  font-weight: 1000;
}

.hero-copy h1 {
  font-weight: 1000;
}

.hero-copy .lead {
  color: #303b40;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  color: #173944;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: 5.8rem;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 680px;
  margin: 18px auto 0;
  color: #1e383f;
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #111514;
  box-shadow: none;
  animation: fade-up 620ms ease both;
}

.hero-logo-field {
  --hero-logo-y: 63%;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 95% 96% at 50% var(--hero-logo-y), rgba(53, 175, 234, 0.74), rgba(53, 175, 234, 0.28) 42%, rgba(16, 22, 22, 0.98) 100%),
    #111514;
}

.hero-logo-field::before,
.hero-logo-field::after {
  content: "";
  position: absolute;
  top: var(--hero-logo-y);
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
  transform-origin: center;
  translate: -50% -50%;
  scale: 1;
  animation: ring-heartbeat 2.8s ease-in-out infinite;
}

.hero-logo-field::before {
  width: min(76vw, 820px);
  height: min(76vw, 820px);
}

.hero-logo-field::after {
  width: min(54vw, 560px);
  height: min(54vw, 560px);
  border-color: rgba(53, 175, 234, 0.42);
  animation-delay: 180ms;
}

.hero-logo-field img {
  position: absolute;
  top: var(--hero-logo-y);
  left: 50%;
  z-index: 1;
  width: min(42vw, 410px);
  border-radius: 50%;
  translate: -50% -50%;
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.48);
}

.spec-strip {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 24px;
  width: min(720px, calc(100% - 40px));
  display: grid;
  transform: translateX(-50%);
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 2;
}

.spec-strip div {
  position: relative;
  overflow: hidden;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46) 48%, rgba(255, 255, 255, 0.30)),
    rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    0 16px 40px rgba(3, 20, 26, 0.20),
    0 0 0 1px rgba(53, 175, 234, 0.10);
}

.spec-strip div::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.12) 34%, transparent 62%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.36), transparent 34%);
  opacity: 0.72;
}

.spec-strip strong,
.spec-strip span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.44);
}

.spec-strip strong {
  display: block;
  color: #071417;
  font-size: 1rem;
  font-weight: 1000;
}

.spec-strip span {
  display: block;
  margin-top: 4px;
  color: #303b40;
  font-size: 0.82rem;
  font-weight: 700;
}

section {
  padding: 76px 0;
}

.hero {
  padding: 0;
}

main > section:nth-of-type(2),
main > section:nth-of-type(4) {
  background: #eef8fc;
}

main > section:nth-of-type(3) {
  background: #f9fcfd;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
  animation: fade-up 520ms ease both;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(13, 43, 57, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  animation: fade-up 560ms ease both;
}

.card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent));
  opacity: 0.72;
}

.card:hover {
  border-color: rgba(53, 175, 234, 0.56);
  box-shadow: 0 16px 34px rgba(13, 43, 57, 0.12);
  transform: translateY(-3px);
}

.service-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 22px;
}

.service-card p,
.product-card p,
.material-card p,
.process-step p,
.page-copy p,
.contact-note p {
  color: var(--muted);
}

.service-card .icon,
.material-card .icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: #e1f5fe;
  color: #063246;
  font-weight: 900;
}

.service-card .button {
  margin-top: auto;
}

.product-card {
  overflow: hidden;
  cursor: pointer;
}

.product-card:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

.product-card::after {
  display: none;
}

.product-visual {
  position: relative;
  min-height: 205px;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 95% 96% at 50% 42%,
      var(--tone-light, rgba(53, 175, 234, 0.74)),
      var(--tone-mid, rgba(53, 175, 234, 0.28)) 42%,
      rgba(16, 22, 22, 0.98) 100%
    ),
    #111514;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 220ms ease, transform 260ms ease;
}

.product-photo[hidden] {
  display: none;
}

.product-card:hover .product-photo:not([hidden]) {
  opacity: 1;
  transform: scale(1);
}

.product-visual span {
  display: grid;
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(16, 22, 22, 0.18);
  color: #fff;
  font-weight: 1000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: opacity 180ms ease, transform 220ms ease;
}

.product-card:hover .product-visual span {
  opacity: 0.12;
  transform: scale(0.94);
}

.product-card:nth-of-type(6n + 1) .product-visual {
  --tone-light: rgba(53, 175, 234, 0.78);
  --tone-mid: rgba(53, 175, 234, 0.30);
}

.product-card:nth-of-type(6n + 2) .product-visual {
  --tone-light: rgba(255, 201, 60, 0.80);
  --tone-mid: rgba(255, 130, 60, 0.32);
}

.product-card:nth-of-type(6n + 3) .product-visual {
  --tone-light: rgba(255, 142, 196, 0.78);
  --tone-mid: rgba(160, 82, 220, 0.34);
}

.product-card:nth-of-type(6n + 4) .product-visual {
  --tone-light: rgba(120, 220, 180, 0.78);
  --tone-mid: rgba(34, 163, 111, 0.34);
}

.product-card:nth-of-type(6n + 5) .product-visual {
  --tone-light: rgba(180, 220, 90, 0.80);
  --tone-mid: rgba(100, 160, 50, 0.34);
}

.product-card:nth-of-type(6n) .product-visual {
  --tone-light: rgba(255, 168, 120, 0.80);
  --tone-mid: rgba(220, 90, 90, 0.32);
}

.product-card div:last-child {
  padding: 20px;
}

.material-card,
.process-step,
.contact-note {
  padding: 22px;
}

.material-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.process {
  counter-reset: process;
}

.process-step {
  position: relative;
}

.process-step::before {
  counter-increment: process;
  content: counter(process);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 6px #dff4fd;
}

.contact-band {
  background: #101616;
  color: #fff;
}

.contact-band .section-head p {
  color: #bfd2da;
}

.contact-band .contact-note {
  background: #fff;
  color: var(--ink);
}

.contact-band .contact-note p {
  color: var(--muted);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4fbff;
  color: var(--ink);
  font-weight: 900;
}

.instagram-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

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

.quote-form {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

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

label {
  display: grid;
  gap: 7px;
  color: #273136;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbdde5;
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.field-help {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.wide {
  grid-column: 1 / -1;
}

.turnstile-slot {
  min-height: 65px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-help[data-tone="progress"] {
  color: var(--brand-blue-dark);
  font-weight: 800;
}

.form-help[data-tone="success"] {
  color: var(--success);
  font-weight: 800;
}

.form-help[data-tone="error"] {
  color: #b42318;
  font-weight: 800;
}

.button:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.page-hero {
  padding: 76px 0 54px;
  border-bottom: 1px solid var(--line);
  background: #dff4fd;
}

.page-hero .lead {
  max-width: 820px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.page-copy {
  padding: 28px;
}

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

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list li::before {
  content: "✓";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #dff6eb;
  color: var(--success);
  font-weight: 900;
}

.side-panel {
  align-self: start;
  padding: 22px;
  background: linear-gradient(180deg, #101616, #17323d);
  color: #fff;
}

.side-panel p {
  color: #bfd2da;
}

.site-footer {
  padding: 28px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #101616;
}

.footer-inner {
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #d5e7ee;
}

.footer-logo {
  width: 58px;
  height: 58px;
  border: 2px solid var(--brand-blue);
  border-radius: 50%;
  object-fit: cover;
}

.footer-instagram {
  margin-top: 0;
  border-color: rgba(53, 175, 234, 0.48);
  background: rgba(53, 175, 234, 0.14);
  color: #fff;
}

.footer-instagram:hover {
  background: rgba(53, 175, 234, 0.24);
}

/* Galeria zdjęć produktów (lightbox) */
.gallery-open {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: contain;
}

.gallery {
  width: min(94vw, 1180px);
  max-width: 94vw;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}

.gallery::backdrop {
  background: rgba(7, 12, 13, 0.88);
  backdrop-filter: blur(4px);
}

.gallery[open] {
  display: grid;
  animation: gallery-open 220ms ease-out both;
}

.gallery[open]::backdrop {
  animation: gallery-backdrop 220ms ease-out both;
}

@keyframes gallery-open {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gallery-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  height: min(82vh, 820px);
}

.gallery-figure {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.gallery-figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.gallery-figure figcaption {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #cfdde2;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.gallery-btn {
  width: 56px;
  height: 56px;
  margin: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.gallery-btn:hover {
  background: rgba(53, 175, 234, 0.30);
  transform: scale(1.04);
}

.gallery-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  transform: none;
}

.gallery-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

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

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .hero-home {
    min-height: calc(100vh - 144px);
  }

  .hero-grid {
    min-height: calc(100vh - 144px);
  }

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

  .hero-visual {
    min-height: 100%;
  }

  .hero-logo-field img {
    width: min(58vw, 360px);
  }

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

@media (max-width: 640px) {
  .nav {
    padding: 12px 16px;
  }

  .hero-inner,
  .section-inner {
    padding: 0 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .nav-links a {
    flex: 1 1 auto;
    text-align: center;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-home {
    min-height: auto;
    overflow: visible;
    background:
      radial-gradient(ellipse 120% 82% at 50% 58%, rgba(53, 175, 234, 0.78), rgba(53, 175, 234, 0.28) 45%, rgba(20, 67, 78, 0.98) 100%),
      #143f4a;
  }

  .hero-grid {
    display: grid;
    gap: 16px;
    min-height: auto;
    padding: 16px;
    background: transparent;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    max-width: none;
    margin: 0;
    padding: 22px 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  section {
    padding: 54px 0;
  }

  .section-head,
  .footer-inner,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .grid.three,
  .grid.four,
  .form-grid,
  .spec-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: relative;
    display: grid;
    gap: 14px;
    min-height: auto;
    overflow: visible;
    background: transparent;
  }

  .hero-logo-field {
    --hero-logo-y: 50%;
    position: relative;
    inset: auto;
    min-height: 420px;
    overflow: visible;
    border-radius: var(--radius);
    background: transparent;
  }

  .hero-logo-field::before,
  .hero-logo-field::after {
    display: block;
  }

  .hero-logo-field img {
    width: min(72vw, 280px);
    box-shadow: none;
  }

  .hero-logo-field::before {
    width: clamp(360px, 92vw, 500px);
    height: clamp(360px, 92vw, 500px);
  }

  .hero-logo-field::after {
    width: clamp(315px, 78vw, 410px);
    height: clamp(315px, 78vw, 410px);
  }

  .spec-strip {
    position: static;
    width: 100%;
    transform: none;
  }

  .gallery {
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
  }

  .gallery-stage {
    height: 100vh;
    height: 100dvh;
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-prev,
  .gallery-next {
    position: absolute;
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
    width: 48px;
    height: 48px;
    margin: 0;
    z-index: 2;
  }

  .gallery-prev {
    left: max(18px, calc(env(safe-area-inset-left) + 12px));
  }

  .gallery-next {
    right: max(18px, calc(env(safe-area-inset-right) + 12px));
  }

  .gallery-figure figcaption {
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  }
}
