:root {
  /* Kolory marki Arkady. */
  --brand: #285b47;
  --brand-hover: #1c4233;
  --dark: #172923;
  --text: #26332e;
  --muted: #64716a;
  --light: #f3f6f3;
  --border: #e0e7e1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
}

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

.container {
  width: min(1180px, 90%);
  margin-inline: auto;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-content {
  min-height: 90px;
  padding-block: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  color: var(--brand);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.2;
}

.logo span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--muted);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

nav a {
  font-size: 14px;
  font-weight: 600;
}

nav a:hover,
.text-link:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.button {
  min-height: 44px;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.button:hover {
  background: var(--brand-hover);
}

.button-small {
  padding: 11px 18px;
  white-space: nowrap;
}

.hero {
  background:
    radial-gradient(circle at 85% 40%, #426e5670, transparent 45%),
    linear-gradient(110deg, #14251e, #243e32);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero .eyebrow {
  color: #bbd5c4;
}

h1 {
  margin: 0 0 25px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -2px;
}

.hero-description {
  max-width: 540px;
  margin-bottom: 32px;
  color: #d0ddd5;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-outline {
  background: transparent;
  border-color: #8fa99b;
}

.button-outline:hover {
  background: #ffffff15;
}

.section {
  padding-block: 80px;
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -1px;
}

.section-heading p:last-child {
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.product-image {
  height: 300px;
  min-height: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bags-image {
  background: linear-gradient(135deg, #e3ebe4, #c1d3c4);
}

.stretch-image {
  background: linear-gradient(135deg, #edf0f2, #d2dce1);
}

.product-image span {
  padding: 12px 20px;
  border: 1px solid #ffffff90;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 3px;
}

.product-content {
  padding: 30px;
}

h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.3;
}

.product-content p {
  margin: 0 0 20px;
  color: var(--muted);
}

.text-link {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

.custom-section {
  padding-block: 75px;
  background: var(--light);
}

.custom-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.custom-content p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 27px;
  color: var(--muted);
}

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

.parameters div {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.parameters span {
  color: var(--brand);
  font-size: 13px;
}

.parameters h3 {
  margin: 12px 0 0;
  font-size: 20px;
}

.about-content {
  max-width: 800px;
  text-align: center;
}

.about-content > p:last-child {
  color: var(--muted);
}

.contact-section {
  padding-block: 65px;
  background: var(--dark);
  color: #ffffff;
}

.contact-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 60px;
}

.contact-section .eyebrow {
  color: #bbd5c4;
}

.contact-section p:not(.eyebrow) {
  color: #c3d0c8;
}

.contact-placeholder {
  padding: 28px;
  border: 1px solid #ffffff30;
  border-radius: 8px;
}

.contact-placeholder h3 {
  font-size: 20px;
}

footer {
  padding-block: 25px;
  background: #101e18;
  color: #a9b9af;
  font-size: 12px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

a:focus-visible {
  outline: 3px solid #b68b25;
  outline-offset: 5px;
}

@media (max-width: 950px) {
  .header-content {
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .custom-content,
  .contact-content {
    gap: 35px;
  }
}

@media (max-width: 650px) {
  .container {
    width: 90%;
  }

  .logo {
    font-size: 25px;
  }

  .header-content {
    gap: 18px;
  }

  .button-small {
    padding: 10px 12px;
    font-size: 12px;
  }

  nav {
    gap: 12px 20px;
  }

  nav a {
    font-size: 13px;
  }

  .hero-content {
    padding-block: 50px;
  }

  h1 {
    letter-spacing: -1px;
  }

  .section {
    padding-block: 55px;
  }

  .products,
  .custom-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 240px;
    min-height: 0;
    padding: 18px;
  }

  .product-content {
    padding: 24px;
  }

  .custom-section,
  .contact-section {
    padding-block: 50px;
  }

  .parameters {
    gap: 12px;
  }

  .parameters div {
    padding: 20px;
  }
}

.header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 90px;
  overflow: hidden;
  flex-shrink: 0;
}

.header .logo img {
  display: block;
  width: auto;
  height: 170px;
  max-height: none;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  transform: translateY(-8px);
}
.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 35px;
  padding-block: 70px;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  font-size: clamp(34px, 3.5vw, 50px);
}

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

@media (max-width: 800px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 50px;
  }

  .hero-image {
    width: min(100%, 500px);
    margin-inline: auto;
  }
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quote-form {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
}

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

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d6dfd8;
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 400;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.form-product-fields {
  margin-top: 18px;
}

.quote-form [hidden] {
  display: none;
}

.form-details {
  margin-top: 22px;
  padding-block: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.form-details summary {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.form-details .form-grid {
  margin-top: 18px;
}

.form-message {
  margin-block: 22px;
}

.quote-form .button {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

.contact-section .quote-form .form-note,
.contact-section .quote-form .form-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-status:empty {
  display: none;
}

@media (max-width: 950px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .quote-form {
    padding: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
.quote-items-heading {
  margin-top: 28px;
}

.quote-items-heading h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.contact-section .quote-items-heading p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.quote-item {
  min-inline-size: 0;
  margin: 0 0 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f7f9f7;
}

.quote-item legend {
  padding-inline: 6px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.item-product {
  margin-bottom: 18px;
}

.quote-item .form-details {
  margin-top: 18px;
}

.remove-variant {
  display: block;
  margin: 16px 0 0 auto;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #943b32;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.remove-variant:hover {
  text-decoration: underline;
}

.add-variant {
  width: 100%;
  padding: 13px 18px;
  border: 1px dashed var(--brand);
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.add-variant:hover {
  background: var(--light);
}

.quote-preview {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.quote-preview h3 {
  font-size: 18px;
}

.quote-preview pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.quote-form button:focus-visible,
.quote-form summary:focus-visible {
  outline: 3px solid #b68b25;
  outline-offset: 4px;
}
.contact-section .quote-form .thickness-result {
  margin: 18px 0 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #e6efe8;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.contact-section .quote-form .calculator-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #ffffff25;
}

.contact-details span {
  display: block;
  margin-bottom: 5px;
  color: #bbd5c4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-details a,
.contact-details address {
  color: #ffffff;
  font-size: 18px;
  font-style: normal;
  line-height: 1.6;
}

.contact-details a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.about-intro {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.about-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.about-feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--light);
}

.about-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #e1ebe3;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.about-feature h3 {
  font-size: 20px;
}

.about-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-action {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 800px) {
  .about-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-feature {
    padding: 24px;
  }
}
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #d0ddd5;
  font-size: 13px;
}

.back-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.spec-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}

.spec-card h3 {
  color: var(--brand);
  font-size: 20px;
}

.spec-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-help {
  max-width: 780px;
  text-align: center;
}

.product-help > p:not(.eyebrow) {
  color: var(--muted);
}

.product-help-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

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

@media (max-width: 650px) {
  .spec-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .spec-card {
    padding: 24px;
  }
}
.stretch-net-result {
  color: var(--brand);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.order-section {
  background: var(--light);
}

.order-section .about-features {
  margin-top: 0;
}

.order-section .about-feature {
  background: #ffffff;
}

.faq-container {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
}

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

.faq-item[open] summary {
  color: var(--brand);
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item summary:focus-visible {
  outline: 3px solid #b68b25;
  outline-offset: 3px;
  border-radius: 8px;
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 650px) {
  .faq-item summary {
    padding: 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }
}
.site-footer {
  padding: 48px 0 22px;
  background: #101e18;
  color: #a9b9af;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 40px;
}

.footer-grid h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 16px;
}

.footer-grid p {
  margin: 0 0 8px;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
}

.footer-grid address {
  margin-top: 14px;
  font-style: normal;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #ffffff20;
  font-size: 12px;
}

@media (max-width: 650px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.mobile-quote-bar {
  display: none;
}

@media (max-width: 650px) {
  body:has(.mobile-quote-bar) {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-quote-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 12px 5%;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 -4px 18px #0000000d;
  }

  .mobile-quote-bar .button {
    width: 100%;
    padding-block: 12px;
  }
}
.stretch-catalog-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #f0efed;
}

.product-card:has(.stretch-catalog-image) {
  display: flex;
  flex-direction: column;
}

.product-card:has(.stretch-catalog-image) .product-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.product-card:has(.stretch-catalog-image) .button {
  margin-top: auto;
}
/* Przyklejony nagłówek na komputerze */
@media (min-width: 951px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 3px 16px #1729230d;
  }

  html {
    scroll-padding-top: 115px;
  }
}

/* Zaznaczenie aktualnej podstrony */
nav a[aria-current="page"] {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

/* Płynne efekty */
.product-card,
.spec-card,
.about-feature {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.button {
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Efekty po najechaniu myszką */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover,
  .spec-card:hover,
  .about-feature:hover {
    transform: translateY(-4px);
    border-color: #b7cbbd;
    box-shadow: 0 12px 28px #1729230d;
  }

  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px #17292318;
  }
}

/* Uwzględnienie ograniczenia animacji */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .spec-card,
  .about-feature,
  .button {
    transition: none;
    transform: none;
  }
}
.arkady-about {
  background: #f5f7f4;
}

.arkady-about-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 36px;
}

.arkady-about-heading h2 {
  margin-bottom: 0;
  color: var(--dark);
}

.arkady-about-description {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.arkady-advantages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.arkady-advantage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.arkady-advantage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 12px;
  background: #eaf2ec;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}

.arkady-advantage .arkady-advantage-label {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.arkady-advantage h3 {
  margin-bottom: 16px;
  color: var(--dark);
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.6px;
}

.arkady-advantage > p:not(.arkady-advantage-label) {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.arkady-advantage .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.arkady-about-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.arkady-about-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.arkady-about-bottom strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dark);
}

.arkady-about-bottom .button {
  flex-shrink: 0;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .arkady-advantage:hover {
    transform: translateY(-5px);
    border-color: #b8cfbe;
    box-shadow: 0 16px 35px rgba(23, 41, 35, 0.08);
  }
}

@media (max-width: 950px) {
  .arkady-about-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .arkady-about-description {
    max-width: 650px;
  }

  .arkady-advantages {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .arkady-advantage {
    padding: 26px;
  }

  .arkady-advantage h3 br {
    display: none;
  }
}

@media (max-width: 650px) {
  .arkady-about-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arkady-advantage {
    transition: none;
  }
}
.quote-item .form-grid:has([data-field="quantity"]) {
  grid-template-columns: 1fr;
}
.arkady-advantage-number svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-toggle {
  display: none;
}

@media (max-width: 650px) {
  .header-content {
    gap: 0;
    padding-block: 8px;
  }

  .header-content > .button-small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--dark);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
    height: 20px;
  }

  .menu-toggle-icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    position: relative;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span {
    position: absolute;
    top: 9px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child {
    transform: rotate(-45deg);
  }

  .header-content #main-nav {
    display: none;
    order: 3;
    width: 100%;
    padding: 10px 0 6px;
    gap: 0;
    border-top: 1px solid var(--border);
  }

  .header-content #main-nav.is-open {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
  }

  .header-content #main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 8px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
  }

  .header-content #main-nav a::after {
    content: "→";
    color: var(--brand);
  }

  .header-content #main-nav a:last-child {
    border-bottom: 0;
  }

  .header-content #main-nav a:hover,
  .header-content #main-nav a[aria-current="page"] {
    background: var(--light);
    color: var(--brand);
  }
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
/* Wygodne pola formularza i dostępność na telefonie. */
@media (max-width: 650px) {
  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .header .logo {
    width: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.quote-preview {
  scroll-margin-top: 120px;
}

.quote-preview pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
