:root {
  --bg: #000000;
  --ink: #ffffff;
  --accent: #fe7701;
  --header: #3b3b3b;
  --font: "Montserrat", system-ui, sans-serif;
  --pad: 25px;
  --max: 402px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050505;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
}

/* Header — mobile */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 10px 0 7px;
  background: #000;
  backdrop-filter: blur(8px);
}

.header__logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  font-size: 12px;
  font-weight: 400;
}

.header__cta {
  margin-left: auto;
  background: var(--accent);
  color: #000;
  border-radius: 70px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* Hero — mobile */
.hero {
  position: relative;
  padding-bottom: 0;
}

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 402 / 237;
  object-fit: contain;
  object-position: center center;
  background: #1a1a1a;
}

.hero__content {
  position: static;
}

.hero__title {
  /* Figma mobile: title over dark area top-right, above product logo */
  position: absolute;
  top: 14px;
  left: 28%;
  right: 16px;
  width: auto;
  max-width: 266px;
  margin: 0;
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

.hero__lead {
  margin: 18px var(--pad) 0;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  color: #fff;
}

.h2 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.p {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
}

.p--sm {
  font-size: 14px;
}

.split,
.interior,
.cert,
.specs,
.form-section,
.contacts,
.zaleta {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.split--intro {
  padding-top: 8px;
}

.split--proven,
.split--modular,
.interior,
.cert {
  padding-top: 28px;
  padding-bottom: 8px;
}

.split__media {
  width: calc(100% + 2 * var(--pad));
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  object-fit: cover;
}

.bleed--tech {
  height: 268px;
  margin-bottom: 20px;
}

.bleed--modules {
  height: 246px;
  object-position: center 30%;
  margin-top: 16px;
}

.bleed--interior {
  width: calc(100% + 2 * var(--pad));
  margin-left: calc(-1 * var(--pad));
  height: 241px;
  object-fit: cover;
}

/* Features — mobile order */
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 0 8px;
}

.feature {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  align-items: start;
}

.feature--montaz {
  order: 1;
}
.feature--trwalosc {
  order: 2;
}
.feature--komfort {
  order: 3;
}
.feature--bezpieczenstwo {
  order: 4;
}
.feature--rozbudowa {
  order: 5;
}

.feature__icon {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.feature__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.feature__text {
  margin: 0;
  font-size: 14px;
}

/* Specs — mobile */
.specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 24px;
}

.spec {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 16px 22px;
  align-items: start;
}

.spec__icon {
  width: 35px;
  height: 35px;
  object-fit: cover;
  grid-row: 1 / span 2;
}

.spec__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.spec__text {
  margin: 0;
  font-size: 14px;
  grid-column: 2;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list li strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.stack-list li span {
  font-size: 14px;
}

/* Interior options — mobile */
.interior__gallery {
  display: flex;
  flex-direction: column;
}

.interior__options {
  padding-top: 24px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.option {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 16px;
  align-items: start;
}

.option img {
  width: 35px;
  height: 35px;
  object-fit: cover;
}

.option h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
}

.option p {
  margin: 0;
  font-size: 14px;
}

/* On mobile: gallery after options text (match phone Figma order) */
.interior {
  display: flex;
  flex-direction: column;
}

.interior__options {
  order: 1;
}

.interior__gallery {
  order: 2;
  margin-top: 20px;
}

.interior__gallery .bleed--interior:first-child {
  /* bed after seats on mobile — swap visual order */
  order: 2;
}

.interior__gallery .bleed--interior:last-child {
  order: 1;
}

.interior__gallery {
  display: flex;
  flex-direction: column;
}

/* Certification */
.cert-list {
  margin: 0 0 24px;
  padding-left: 22px;
  font-size: 14px;
}

.cert-list li {
  margin-bottom: 14px;
}

.cert-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.cert-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  margin-top: 2px;
}

.cert-item strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.cert-item span {
  font-size: 14px;
}

/* Process */
.process {
  position: relative;
  min-height: 275px;
  overflow: hidden;
  background: #111;
  margin-top: 24px;
}

.process__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
  opacity: 0.55;
}

.process__overlay {
  position: relative;
  z-index: 1;
  padding: 22px var(--pad);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.process__title {
  margin-bottom: 18px;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process__step {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 10px;
  align-items: start;
}

.process__step img {
  width: 37px;
  height: 37px;
  object-fit: cover;
  border-radius: 4px;
}

.process__step strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.process__step span {
  font-size: 14px;
  font-weight: 500;
}

.zaleta {
  margin: 20px 0 0;
  font-size: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.zaleta__label {
  color: var(--accent);
  font-weight: 500;
}

/* Form */
.form-section {
  padding-top: 28px;
  padding-bottom: 32px;
  border-top: 1px solid #222;
  margin-top: 12px;
}

.form-section .h2 {
  text-align: center;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  padding: 6px 0 10px;
  outline: none;
}

.field textarea {
  min-height: 56px;
  resize: vertical;
}

.check {
  display: grid;
  grid-template-columns: 15px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
}

.check input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 259px;
  height: 40px;
  margin-top: 8px;
  border: 0;
  border-radius: 70px;
  background: var(--accent);
  color: #000;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
}

.btn:hover {
  filter: brightness(1.05);
}

.form__status {
  text-align: center;
  font-size: 14px;
  min-height: 1.2em;
  color: var(--accent);
}

.contacts {
  padding-top: 28px;
  padding-bottom: 20px;
  border-top: 1px solid #222;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
}

.contact img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.contact strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  font-family: Inter, var(--font);
  margin-bottom: 4px;
}

.contact span,
.contact a {
  font-size: 14px;
}

.footer {
  border-top: 1px solid #222;
  padding: 16px var(--pad) 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
}

.footer img {
  width: 15px;
  height: 15px;
  object-fit: cover;
}

/* =========================================================
   Desktop — Figma 1440 frame (291:1303)
   ========================================================= */
@media (min-width: 900px) {
  :root {
    --max: 1440px;
    --pad: 81px;
  }

  body {
    background: #000;
  }

  .page {
    width: min(100%, var(--max));
    box-shadow: none;
  }

  .header {
    height: 95px;
    padding: 0 34px 0 25px;
    background: #000;
    border-bottom: 0;
  }

  .header__logo {
    width: 68px;
    height: 68px;
  }

  .header__nav {
    justify-content: flex-end;
    gap: 70px;
    font-size: 25px;
    margin-left: auto;
    margin-right: 40px;
    flex: 0 1 auto;
  }

  .header__cta {
    margin-left: 0;
    padding: 10px 30px;
    font-size: 25px;
    font-weight: 500;
    border-radius: 30px;
  }

  .hero {
    margin-bottom: 0;
    padding: 0;
    position: relative;
  }

  .hero picture {
    display: block;
    width: 100%;
  }

  .hero__img {
    height: 850px;
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center center;
  }

  .hero__content {
    position: absolute;
    inset: 0;
    height: 850px;
    pointer-events: none;
  }

  .hero__title {
    top: 86px;
    left: 76px;
    right: auto;
    width: min(1084px, 90%);
    font-size: 45px;
    font-weight: 600;
  }

  .hero__lead {
    position: absolute;
    top: 186px;
    left: auto;
    right: 95px;
    width: min(759px, 55%);
    margin: 0;
    text-align: left;
    font-size: 25px;
    font-weight: 600;
  }

  .h2 {
    font-size: 45px;
    margin-bottom: 24px;
  }

  .p {
    font-size: 25px;
  }

  .p--sm {
    font-size: 25px;
  }

  /* Intro two-column with vertical divider */
  .split--intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px 81px 40px;
    position: relative;
  }

  .split--intro::after {
    content: "";
    position: absolute;
    top: 48px;
    bottom: 40px;
    left: 50%;
    width: 1px;
    background: #333;
  }

  .split--intro .h2 {
    max-width: 586px;
  }

  .split--intro .p {
    max-width: 564px;
  }

  .features {
    padding: 0;
    gap: 36px;
  }

  .feature {
    grid-template-columns: 128px 1fr;
    gap: 24px;
  }

  .feature--montaz,
  .feature--bezpieczenstwo,
  .feature--trwalosc,
  .feature--komfort,
  .feature--rozbudowa {
    order: initial;
  }

  .feature--bezpieczenstwo {
    order: 2;
  }
  .feature--trwalosc {
    order: 3;
  }
  .feature--komfort {
    order: 4;
  }
  .feature--rozbudowa {
    order: 5;
  }
  .feature--montaz {
    order: 1;
  }

  .feature__icon {
    width: 128px;
    height: 128px;
  }

  .feature__title {
    font-size: 35px;
  }

  .feature__text {
    font-size: 25px;
  }

  /* Proven: image left, text right */
  .split--proven {
    display: grid;
    grid-template-columns: 692px 1fr;
    gap: 50px;
    align-items: start;
    padding: 40px 81px;
  }

  .split--proven .split__media {
    width: 100%;
    margin: 0;
    height: 461px;
  }

  .split--proven .h2 {
    max-width: 621px;
  }

  .split--proven .p {
    max-width: 583px;
  }

  /* Specs — 3 columns */
  .specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 47px 48px;
    text-align: center;
  }

  .spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .spec__icon {
    width: 65px;
    height: 65px;
    grid-row: auto;
  }

  .spec__title {
    font-size: 30px;
  }

  .spec__text {
    font-size: 22px;
    grid-column: auto;
    max-width: 420px;
  }

  /* Modular: text left, image right */
  .split--modular {
    display: grid;
    grid-template-columns: 1fr 689px;
    gap: 40px;
    align-items: start;
    padding: 20px 81px 48px;
  }

  .split--modular .split__media {
    width: 100%;
    margin: 0;
    height: 669px;
    object-fit: cover;
  }

  .stack-list {
    gap: 28px;
  }

  .stack-list li strong {
    font-size: 30px;
  }

  .stack-list li span {
    font-size: 25px;
  }

  /* Interior: gallery left, options right */
  .interior {
    display: grid;
    grid-template-columns: 689px 1fr;
    gap: 40px;
    padding: 40px 28px 40px 28px;
    border-top: 1px solid #333;
  }

  .interior__gallery,
  .interior__options {
    order: initial;
    margin: 0;
    padding: 0;
  }

  .interior__gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .interior__gallery .bleed--interior {
    width: 100%;
    margin: 0;
    height: 413px;
  }

  .interior__gallery .bleed--interior:first-child,
  .interior__gallery .bleed--interior:last-child {
    order: initial;
  }

  .interior__options .h2 {
    max-width: 621px;
  }

  .options {
    gap: 28px;
    margin-top: 20px;
  }

  .option {
    grid-template-columns: 70px 1fr;
    gap: 20px;
  }

  .option img {
    width: 65px;
    height: 65px;
  }

  .option h3 {
    font-size: 30px;
  }

  .option p {
    font-size: 22px;
  }

  /* Komfort sits under gallery on desktop — pull into left column visually via grid placement */
  .option--komfort {
    /* keep in options list for mobile; on desktop Figma has it under left column.
       Approximate by spanning full interior grid below gallery. */
  }

  /* Certification two columns */
  .cert {
    padding: 48px 81px;
  }

  .cert .h2 {
    text-align: left;
    max-width: 1214px;
    margin-bottom: 36px;
  }

  .cert__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .cert-list {
    font-size: 22px;
    padding-left: 28px;
  }

  .cert-list li {
    margin-bottom: 28px;
  }

  .cert-item {
    grid-template-columns: 45px 1fr;
    gap: 18px;
  }

  .cert-item img {
    width: 45px;
    height: 45px;
  }

  .cert-item strong {
    font-size: 30px;
  }

  .cert-item span {
    font-size: 22px;
  }

  .cert-items {
    gap: 28px;
  }

  /* Process */
  .process {
    min-height: 661px;
    margin: 0 25px;
  }

  .process__overlay {
    padding: 45px 40px;
    min-height: 661px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 70%);
  }

  .process__title {
    font-size: 45px;
    max-width: 976px;
    margin-bottom: 28px;
  }

  .process__steps {
    gap: 22px;
    max-width: 720px;
  }

  .process__step {
    grid-template-columns: 80px 1fr;
    gap: 18px;
  }

  .process__step img {
    width: 80px;
    height: 80px;
  }

  .process__step strong {
    font-size: 40px;
    font-weight: 500;
  }

  .process__step span {
    font-size: 22px;
  }

  .zaleta {
    font-size: 25px;
    font-weight: 500;
    padding: 40px 51px 48px;
    max-width: none;
    margin: 0;
  }

  .form-section {
    padding: 64px 202px 72px;
    border-top: 1px solid #333;
  }

  .form-section .h2 {
    font-size: 45px;
  }

  .form-section__lead {
    text-align: center;
    max-width: 1099px;
    margin: 0 auto 36px;
  }

  .form {
    gap: 28px;
  }

  .field label {
    font-size: 25px;
  }

  .field input,
  .field textarea {
    font-size: 22px;
    padding: 10px 0 16px;
  }

  .check {
    grid-template-columns: 40px 1fr;
    gap: 24px;
    font-size: 25px;
    align-items: center;
  }

  .check input {
    width: 40px;
    height: 40px;
  }

  .btn {
    width: 860px;
    max-width: 100%;
    height: 126px;
    font-size: 45px;
    margin-top: 24px;
  }

  .contacts {
    padding: 48px 169px 40px;
    gap: 48px;
    border-top: 1px solid #333;
  }

  .contact {
    grid-template-columns: 65px 1fr;
    gap: 30px;
  }

  .contact img {
    width: 65px;
    height: 65px;
  }

  .contact strong {
    font-size: 30px;
  }

  .contact span,
  .contact a {
    font-size: 25px;
  }

  .footer {
    padding: 28px;
    font-size: 25px;
    gap: 10px;
  }

  .footer img {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 900px) and (max-width: 1200px) {
  :root {
    --pad: 40px;
  }

  .header__nav {
    gap: 28px;
    font-size: 18px;
    margin-right: 20px;
  }

  .header__cta {
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 30px;
  }

  .hero__img {
    height: 560px;
  }

  .hero__content {
    height: 560px;
  }

  .hero__title {
    font-size: 32px;
    top: 56px;
    left: 40px;
  }

  .hero__lead {
    font-size: 18px;
    top: 120px;
  }

  .h2 {
    font-size: 32px;
  }

  .p,
  .feature__text,
  .spec__text,
  .option p {
    font-size: 18px;
  }

  .feature__title,
  .spec__title,
  .option h3 {
    font-size: 24px;
  }

  .split--proven,
  .split--modular,
  .interior {
    grid-template-columns: 1fr 1fr;
  }

  .split--proven .split__media,
  .split--modular .split__media,
  .interior__gallery .bleed--interior {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .form-section {
    padding-left: 48px;
    padding-right: 48px;
  }

  .btn {
    height: 72px;
    font-size: 28px;
  }

  .contacts {
    padding-left: 48px;
    padding-right: 48px;
  }
}
