:root {
  --ink: #15202b;
  --muted: #64717f;
  --line: #dbe2e8;
  --surface: #ffffff;
  --soft: #f6f8fa;
  --red: #d4212f;
  --red-dark: #a91421;
  --teal: #0c8f9f;
  --gold: #c7922b;
  --shadow: 0 20px 55px rgba(21, 32, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--surface);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 226, 232, 0.82);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
.paper-header,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark,
.mini-flag {
  width: 34px;
  height: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(#fff 0 50%, var(--red) 50% 100%);
  box-shadow: 0 6px 16px rgba(212, 33, 47, 0.16);
}

.nav {
  gap: clamp(14px, 2.5vw, 32px);
  color: #334150;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.nav a.active,
.site-footer a:hover {
  color: var(--red);
}

.nav a.active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.language-switcher button {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 34px;
  color: #334150;
  font: inherit;
  font-weight: 900;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

.language-flag {
  display: block;
  width: 24px;
  height: 16px;
  border: 1px solid rgba(21, 32, 43, 0.2);
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(21, 32, 43, 0.12);
}

.flag-es {
  background: linear-gradient(
    to bottom,
    #aa151b 0 25%,
    #f1bf00 25% 75%,
    #aa151b 75% 100%
  );
}

.flag-fr {
  background: linear-gradient(
    to right,
    #002654 0 33.33%,
    #ffffff 33.33% 66.66%,
    #ed2939 66.66% 100%
  );
}

.flag-en {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to right, transparent 42%, #ffffff 42% 58%, transparent 58%),
    linear-gradient(to bottom, transparent 36%, #ffffff 36% 64%, transparent 64%),
    #012169;
}

.flag-en::before,
.flag-en::after {
  position: absolute;
  content: "";
  background: #c8102e;
}

.flag-en::before {
  inset: 0 45%;
}

.flag-en::after {
  inset: 39% 0;
}

.language-switcher button.active,
.language-switcher button:hover {
  color: #fff;
  background: var(--red);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.header-cta,
.primary-button {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(212, 33, 47, 0.25);
}

.header-cta:hover,
.primary-button:hover {
  background: var(--red-dark);
}

.secondary-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 20, 31, 0.84), rgba(11, 20, 31, 0.42), rgba(11, 20, 31, 0.08)),
    linear-gradient(0deg, rgba(11, 20, 31, 0.48), transparent 46%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 22px clamp(18px, 4vw, 52px);
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(34px, 7vw, 90px);
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
  background: var(--soft);
}

.about-heading {
  position: sticky;
  top: 112px;
}

.about-heading h2 {
  max-width: 620px;
}

.about-content {
  max-width: 760px;
}

.about-content > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.about-content .about-lead {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  font-weight: 800;
}

.about-values {
  display: grid;
  gap: 1px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.about-values div {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) 1fr;
  gap: 22px;
  padding: 20px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.about-values strong {
  color: var(--ink);
}

.about-values span {
  color: var(--muted);
  line-height: 1.55;
}

.about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 26px;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
  background: var(--red);
}

.about-link:hover {
  background: var(--red-dark);
}

.section,
.gallery-section,
.pricing-section,
.document-samples,
.faq-section,
.contact-section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.two-column,
.document-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
}

.section-copy > p:not(.eyebrow),
.contact-copy > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.service-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.service-list article {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  font-weight: 900;
  background: var(--teal);
  border-radius: 8px;
  grid-row: 1 / span 2;
}

.service-list h3,
.service-list p {
  grid-column: 2;
}

.service-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.image-stack {
  position: relative;
  min-height: 620px;
}

.feature-image {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image.tall {
  height: 540px;
}

.feature-image.small {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: min(72%, 390px);
  height: 250px;
  border: 8px solid #fff;
}

.document-section {
  background: var(--soft);
}

.document-visual {
  position: relative;
  min-height: 470px;
}

.poland-flag {
  width: min(100%, 520px);
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(#fff 0 50%, var(--red) 50% 100%);
  box-shadow: var(--shadow);
}

.registry-paper {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(82%, 410px);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.paper-header {
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.paper-header small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.paper-seal {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  background: var(--red);
}

.paper-lines,
.paper-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.paper-lines span,
.paper-grid span,
.document-thumb i {
  height: 12px;
  border-radius: 99px;
  background: #dfe7ed;
}

.paper-lines .short {
  width: 64%;
}

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

.paper-grid span {
  height: 44px;
  border-radius: 8px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #354453;
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 13px;
  height: 7px;
  content: "";
  border-bottom: 3px solid var(--teal);
  border-left: 3px solid var(--teal);
  transform: rotate(-45deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.pricing-section {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(21, 32, 43, 0.08);
}

.price-card.featured {
  border-color: rgba(212, 33, 47, 0.35);
  box-shadow: 0 24px 58px rgba(212, 33, 47, 0.16);
}

.price-label {
  width: fit-content;
  padding: 7px 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(212, 33, 47, 0.09);
}

.price-card h3 {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.price {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
}

.price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 16px;
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
  background: var(--ink);
}

.mmsi-card {
  justify-items: center;
  text-align: center;
}

.mmsi-card .price-label {
  justify-self: center;
}

.mmsi-card h3 {
  font-size: 1.65rem;
}

.mmsi-card .price {
  color: var(--ink);
  font-size: clamp(3.2rem, 6vw, 5rem);
}

.mmsi-extra,
.mmsi-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mmsi-extra {
  font-weight: 800;
}

.mmsi-card .price-button {
  min-width: 140px;
  background: var(--red);
}

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

.pricing-note {
  max-width: 840px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.special-cases {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 4vw, 38px);
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  color: #fff;
  border-radius: 8px;
  background: var(--ink);
}

.special-cases h3,
.special-cases p {
  margin: 0;
}

.special-cases h3 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  text-transform: uppercase;
}

.special-cases p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.special-cases a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
  background: var(--red);
  white-space: nowrap;
}

.document-samples {
  background:
    linear-gradient(180deg, #ffffff, #f7fafc);
}

.polish-benefits {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 7vw, 86px);
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
}

.benefits-intro {
  align-self: start;
  position: sticky;
  top: 112px;
}

.benefits-intro .eyebrow {
  color: #ff7882;
}

.benefits-intro h2 {
  max-width: 580px;
  color: #fff;
}

.benefits-intro > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
  line-height: 1.7;
}

.benefits-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
  background: var(--red);
}

.benefits-link:hover {
  background: var(--red-dark);
}

.benefits-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.benefits-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.benefits-list article > span {
  color: #ff7882;
  font-size: 0.88rem;
  font-weight: 900;
}

.benefits-list h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.2rem;
}

.benefits-list p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.benefits-note {
  grid-column: 1 / -1;
  max-width: 1000px;
  margin: 4px 0 0;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.featured-document {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.42fr);
  align-items: center;
  gap: clamp(18px, 4vw, 36px);
  margin: 0 0 22px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(21, 32, 43, 0.1);
}

.featured-document img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.featured-document figcaption {
  display: grid;
  gap: 12px;
  color: var(--ink);
}

.featured-document figcaption strong {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.08;
  font-weight: 900;
}

.featured-document figcaption span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sample-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(21, 32, 43, 0.08);
}

.sample-grid img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  background: #eef3f6;
}

.sample-grid figcaption {
  padding: 16px 18px 18px;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.gallery-grid img,
.document-thumb {
  width: 100%;
  height: 310px;
}

.gallery-grid img {
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 16px 18px 18px;
  font-weight: 800;
}

.faq-section {
  background: var(--soft);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 32, 43, 0.06);
}

.faq-list summary {
  position: relative;
  min-height: 62px;
  padding: 20px 58px 20px 22px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 13px;
  height: 13px;
  content: "";
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: translateY(-62%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.trust-seal-section {
  display: grid;
  grid-template-columns: 170px minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(58px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.trust-seal-mark {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  padding: 20px;
  text-align: center;
  border: 3px double var(--red);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 38px rgba(21, 32, 43, 0.12);
}

.trust-seal-mark span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
  border-radius: 50%;
  background: var(--teal);
}

.trust-seal-mark strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.trust-seal-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.trust-seal-copy > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.trust-seal-points {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.trust-seal-points div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 20px;
  padding: 18px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-seal-points strong {
  color: var(--ink);
}

.trust-seal-points span {
  color: var(--muted);
  line-height: 1.5;
}

.document-thumb {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(12, 143, 159, 0.13), transparent),
    #fff;
}

.document-thumb strong {
  font-size: 1.35rem;
}

.document-thumb small {
  color: var(--muted);
}

.document-thumb i:nth-of-type(1) {
  width: 90%;
}

.document-thumb i:nth-of-type(2) {
  width: 72%;
}

.document-thumb i:nth-of-type(3) {
  width: 82%;
}

.contact-section {
  align-items: start;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(212, 33, 47, 0.92), rgba(12, 143, 159, 0.9)),
    #1f2b37;
}

.contact-section .eyebrow,
.contact-copy p {
  color: #fff;
}

.contact-copy h2 {
  max-width: 650px;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 470px;
  margin-top: 26px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-card span {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.qr-card {
  display: grid;
  grid-template-columns: 164px 1fr;
  align-items: center;
  gap: 16px;
  max-width: 470px;
  margin-top: 16px;
  padding: 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.qr-card:hover {
  background: rgba(255, 255, 255, 0.2);
}

.qr-card img {
  width: 164px;
  height: 164px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.qr-card span {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.qr-card strong {
  color: #fff;
  font-size: 1.12rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(12, 143, 159, 0.2);
  border-color: var(--teal);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: #4d5b68;
  background: #fff;
  border-top: 1px solid var(--line);
}

.inner-page .site-header {
  position: sticky;
}

.inner-page-main {
  min-height: 62vh;
}

.inner-page-main h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.04;
}

.inner-page-main > section:first-child {
  padding-top: clamp(72px, 9vw, 112px);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.cookie-consent {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(21, 32, 43, 0.24);
}

.cookie-consent-copy {
  max-width: 650px;
}

.cookie-consent-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.cookie-consent-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.cookie-consent-copy a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-consent-actions button,
.cookie-settings-button {
  min-height: 42px;
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
  border-radius: 7px;
  cursor: pointer;
}

.cookie-accept {
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
}

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

.cookie-settings-button {
  min-height: auto;
  padding: 0;
  color: #4d5b68;
  background: transparent;
  border: 0;
}

.cookie-settings-button:hover {
  color: var(--red);
}

.legal-page {
  background: var(--soft);
}

.legal-page .site-header {
  position: sticky;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.legal-main h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.legal-intro {
  max-width: 720px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.legal-main section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-main section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.2;
}

.legal-main section p,
.legal-main dd {
  color: #465463;
  line-height: 1.75;
}

.legal-main section p:last-child {
  margin-bottom: 0;
}

.legal-data {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.legal-data div {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) 1fr;
  gap: 20px;
  padding: 15px 18px;
  background: #fff;
}

.legal-data dt {
  font-weight: 900;
}

.legal-data dd {
  margin: 0;
}

.legal-data a,
.legal-main section a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-update {
  margin: 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
  background: var(--red);
}

.safety-main {
  width: min(1040px, calc(100% - 40px));
}

.safety-hero-image {
  width: 100%;
  max-height: 620px;
  margin-bottom: 38px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.safety-equipment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  margin: 0;
  counter-reset: safety-item;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.safety-equipment-list li {
  position: relative;
  min-height: 116px;
  padding: 22px 22px 22px 68px;
  color: #465463;
  line-height: 1.6;
  background: #fff;
  counter-increment: safety-item;
}

.safety-equipment-list li::before {
  position: absolute;
  top: 22px;
  left: 20px;
  content: counter(safety-item, decimal-leading-zero);
  color: var(--red);
  font-weight: 900;
}

.safety-equipment-list strong {
  color: var(--ink);
}

.safety-advice {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 36px) !important;
  color: #fff;
  border: 0 !important;
  border-radius: 8px;
  background: var(--ink);
}

.safety-advice h2,
.safety-advice p {
  color: #fff !important;
}

@media (max-width: 1250px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero {
    min-height: 76vh;
    padding-top: 86px;
  }

  .trust-strip,
  .about-section,
  .two-column,
  .document-section,
  .contact-section,
  .trust-seal-section,
  .polish-benefits,
  .pricing-grid,
  .featured-document,
  .sample-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: auto;
  }

  .about-heading {
    position: static;
  }

  .benefits-intro {
    position: static;
  }

  .feature-image.tall,
  .feature-image.small {
    position: static;
    height: 360px;
    width: 100%;
    border: 0;
    margin-top: 14px;
  }

  .document-section .section-copy {
    order: -1;
  }

  .gallery-grid img,
  .sample-grid img,
  .document-thumb {
    height: 260px;
  }

  .special-cases {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .special-cases a {
    width: fit-content;
  }

  .safety-equipment-list {
    grid-template-columns: 1fr;
  }

  .trust-seal-mark {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .cookie-consent {
    inset: auto 12px 12px;
    display: block;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .cookie-consent-actions {
    margin-top: 16px;
  }

  .cookie-consent-actions button {
    flex: 1;
  }

  .brand span:last-child {
    max-width: 170px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .nav {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switcher button {
    min-width: 34px;
    min-height: 32px;
  }

  .hero {
    min-height: 80vh;
    padding: 76px 18px 42px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .section,
  .about-section,
  .gallery-section,
  .pricing-section,
  .document-samples,
  .faq-section,
  .trust-seal-section,
  .contact-section {
    padding: 58px 18px;
  }

  .about-values div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .trust-seal-points div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .polish-benefits {
    padding: 58px 18px;
  }

  .benefits-list article {
    grid-template-columns: 46px 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr;
  }

  .document-visual {
    min-height: 390px;
  }

  .registry-paper {
    width: 92%;
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .legal-data div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .qr-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .qr-card img {
    width: 190px;
    height: 190px;
  }
}
