:root {
  --bg: #04111d;
  --bg-soft: #061827;
  --panel: #071a2b;
  --panel-strong: #092139;
  --gold: #e0b45d;
  --gold-dark: #9b681f;
  --gold-light: #f3cf85;
  --text: #f4f7fa;
  --muted: #a9b7c3;
  --line: rgba(76, 112, 139, 0.45);
  --rail: rgba(224, 180, 93, 0.34);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 250;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 10px 14px;
  background: var(--gold-light);
  color: var(--bg);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.rp-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(76, 112, 139, 0.3);
  background: rgba(3, 14, 25, 0.91);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rp-brand {
  display: block;
  width: clamp(250px, 29vw, 340px);
  line-height: 0;
}

.rp-brand img,
.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c7d1da;
  font-size: 12px;
  font-weight: 750;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--gold);
}

.languages {
  display: flex;
  align-items: center;
  gap: 5px;
}

.languages button {
  min-width: 40px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid #35536c;
  border-radius: 6px;
  background: rgba(7, 26, 43, 0.78);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: 0.2s ease;
}

.languages button:hover,
.languages button.active {
  border-color: #dbad54;
  background: linear-gradient(180deg, #e2b65f, #a36d20);
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 125, 33, 0.16);
}

.rail-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
  transform: none;
}

.hero-visual::before,
.hero-visual figcaption {
  display: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: saturate(0.85) contrast(1.06) brightness(0.78);
}

.hero-backdrop {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 10, 18, 0.98) 0%, rgba(2, 10, 18, 0.9) 35%, rgba(2, 10, 18, 0.35) 68%, rgba(2, 10, 18, 0.1) 100%),
    linear-gradient(180deg, rgba(2, 10, 18, 0.25), rgba(2, 10, 18, 0.08) 50%, #04111d 100%);
}

.hero-backdrop::after {
  content: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: 700px;
  padding: 166px 0 118px;
  display: flex;
  align-items: flex-end;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.request-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6.5vw, 74px);
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 670px;
  margin: 0;
  color: #d4dde5;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid #35536c;
  border-radius: 6px;
  background: rgba(7, 26, 43, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  border-color: #dbad54;
  background: linear-gradient(180deg, #e2b65f, #a36d20);
  color: #fff;
  box-shadow: 0 12px 30px rgba(184, 125, 33, 0.18);
}

.button.secondary {
  color: #fff;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  border-color: var(--gold);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(76, 112, 139, 0.75);
  border-radius: 999px;
  background: rgba(4, 19, 31, 0.72);
  color: #d9e3ea;
  font-size: 12px;
  font-weight: 700;
}

.chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 11px rgba(224, 180, 93, 0.65);
}

.rail-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  height: 46px;
  border-top: 1px solid var(--rail);
  opacity: 0.36;
  background:
    linear-gradient(163deg, transparent 47%, var(--rail) 48% 49%, transparent 50%) 0 0 / 82px 46px,
    linear-gradient(197deg, transparent 47%, var(--rail) 48% 49%, transparent 50%) 0 0 / 82px 46px;
  pointer-events: none;
}

.catalog-section {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  border-bottom: 1px solid #17354f;
  background: #04131f;
  isolation: isolate;
}

.catalog-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 19, 31, 0.98), rgba(4, 19, 31, 0.72)),
    url("https://images.unsplash.com/photo-1768779533631-40721f91ae56?auto=format&fit=crop&w=1400&q=82") center / cover no-repeat;
  opacity: 0.34;
}

.catalog-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 70px;
  border-top: 1px solid var(--rail);
  opacity: 0.18;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(224, 180, 93, 0.45) 46px 49px, transparent 49px 80px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.manufacturer-heading {
  max-width: none;
  display: flex;
  align-items: center;
  gap: 22px;
}

.manufacturer-heading > div:last-child {
  min-width: 0;
}

.manufacturer-logos {
  flex: none;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.manufacturer-logos img,
.manufacturer-logos span {
  width: 104px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(76, 112, 139, 0.58);
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
  color: #0c2840;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.manufacturer-logos img:first-child {
  background: #f5f6f6;
}

.section-heading h2,
.request-copy h2,
.contact-panel h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  letter-spacing: -0.025em;
}

.section-heading > p:last-child,
.manufacturer-heading > div:last-child > p:last-child,
.request-copy > p:last-child,
.contact-intro > p:last-child {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 111, 139, 0.62);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(9, 33, 57, 0.96), rgba(4, 19, 31, 0.99));
  color: #fff;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover,
.catalog-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(224, 180, 93, 0.72);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.catalog-card:focus-visible,
.button:focus-visible,
.languages button:focus-visible,
.back-link:focus-visible,
.rp-brand:focus-visible,
.footer-brand:focus-visible,
.contact-list a:focus-visible,
.viewer button:focus-visible,
.viewer input:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid rgba(72, 111, 139, 0.38);
  background: #e8e8e8;
}

.cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.catalog-card:nth-child(4) .cover img,
.catalog-card:nth-child(6) .cover img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.catalog-card:hover .cover img {
  transform: scale(1.018);
}

.card-copy {
  min-height: 210px;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.manufacturer {
  display: none;
}

.document-meta {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 13px 0 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.open-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.request-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  border-bottom: 1px solid #17354f;
  background: #061827;
  color: var(--text);
  isolation: isolate;
}

.request-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 24, 39, 0.98), rgba(6, 24, 39, 0.8)),
    url("https://images.unsplash.com/photo-1768779533631-40721f91ae56?auto=format&fit=crop&w=1400&q=82") right center / cover no-repeat;
  opacity: 0.58;
}

.request-section::after {
  content: "LOCOMOTIVE";
  position: absolute;
  z-index: -1;
  inset: auto -18px -42px auto;
  color: rgba(186, 207, 222, 0.045);
  font-size: clamp(90px, 16vw, 210px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
}

.request-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.request-section .eyebrow {
  color: var(--gold);
}

.request-copy > p:last-child {
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(72, 111, 139, 0.58);
  border-radius: 9px;
  background: rgba(4, 19, 31, 0.76);
}

.checklist li > span {
  flex: none;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.checklist h3 {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.checklist p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(205, 151, 56, 0.12), transparent 32%),
    linear-gradient(120deg, #071a2b, #09253d);
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: 18% 2% 8% auto;
  width: min(380px, 40vw);
  opacity: 0.1;
  background: repeating-linear-gradient(90deg,transparent 0 16px,rgba(220,169,82,.35) 16px 20px),linear-gradient(180deg,transparent 42%,rgba(220,169,82,.65) 42% 47%,transparent 47% 53%,rgba(220,169,82,.65) 53% 58%,transparent 58%);
  pointer-events: none;
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-intro {
  align-self: start;
}

.contact-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.contact-country {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(72, 111, 139, 0.62);
  border-radius: 10px;
  background: rgba(4, 19, 31, 0.72);
}

.contact-country header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.contact-country header strong {
  font-size: 14px;
}

.country-code {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid rgba(224, 180, 93, 0.46);
  border-radius: 5px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.contact-label {
  display: block;
  margin-bottom: 3px;
  color: #8fa1b3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-phone {
  width: max-content;
  max-width: 100%;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
}

.contact-actions {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.social-link {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid rgba(72, 111, 139, 0.62);
  border-radius: 7px;
  background: rgba(6, 26, 45, 0.92);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-link b {
  min-width: 0;
  margin-inline-end: auto;
  font-size: 11px;
}

.social-link > span:last-child {
  color: var(--gold);
}

.social-link.whatsapp {
  border-color: rgba(37, 211, 102, 0.45);
}

.social-link.telegram {
  border-color: rgba(42, 171, 238, 0.42);
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.whatsapp .contact-icon {
  background: #178d46;
}

.telegram .contact-icon {
  background: #177da9;
}

.contact-details {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(72, 111, 139, 0.45);
}

.contact-details address {
  min-height: 66px;
  margin: 0 0 12px;
  color: #c4d0d9;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.contact-email {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-phone:hover,
.contact-email:hover {
  color: var(--gold-light);
}

.rp-footer {
  border-top: 1px solid #17344d;
  background: #030f1a;
}

.footer-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.footer-brand {
  display: block;
  width: min(270px, 44vw);
  line-height: 0;
}

.footer-inner p {
  margin: 0;
  color: #8fa1b3;
  text-align: end;
  font-size: 12px;
}

.footer-inner p a {
  color: var(--gold);
}

.to-top {
  position: fixed;
  z-index: 90;
  inset-inline-end: 22px;
  bottom: 22px;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(224, 180, 93, 0.48);
  border-radius: 50%;
  background: rgba(0, 12, 29, 0.9);
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.viewer[hidden] {
  display: none;
}

.viewer {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.viewer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 7, 17, 0.91);
  cursor: pointer;
}

.viewer-panel {
  position: relative;
  width: min(1480px, 100%);
  height: min(94vh, 920px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(224, 180, 93, 0.35);
  border-radius: 14px;
  background: #06182b;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.7);
}

.viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.viewer-header .eyebrow {
  margin-bottom: 3px;
}

.viewer-header h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(224, 180, 93, 0.38);
  border-radius: 50%;
  background: #001020;
  color: var(--gold);
  cursor: pointer;
  font-size: 24px;
}

.viewer-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%), #020b15;
}

.viewer-stage.translation-mode {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
}

.viewer-original {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  overflow: auto;
}

.viewer-original img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  transform-origin: center;
  transition: transform 0.2s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
}

.viewer-original img.loading {
  opacity: 0.2;
}

.viewer-original img[hidden],
.viewer-pdf[hidden],
.viewer-controls[hidden] {
  display: none;
}

.viewer-pdf {
  display: block;
  width: 100%;
  height: min(78vh, 900px);
  min-height: 560px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.viewer-translation {
  min-width: 0;
  padding: 22px 26px 32px;
  overflow: auto;
  border-inline-start: 1px solid var(--line);
  background: linear-gradient(180deg, #0a243b, #06182b);
}

.viewer-translation[hidden] {
  display: none;
}

.viewer-translation .eyebrow {
  position: sticky;
  z-index: 2;
  top: -22px;
  margin: -22px -26px 18px;
  padding: 18px 26px 14px;
  border-bottom: 1px solid rgba(224, 180, 93, 0.28);
  background: rgba(6, 24, 43, 0.96);
}

.viewer-translation-body {
  white-space: pre-wrap;
  color: #edf3f8;
  font-size: 14px;
  line-height: 1.64;
  unicode-bidi: plaintext;
}

.viewer-loading {
  position: absolute;
  z-index: 1;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.viewer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px;
  border-top: 1px solid var(--line);
}

.viewer-controls button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(224, 180, 93, 0.34);
  border-radius: 999px;
  background: #001020;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.viewer-controls button:disabled {
  opacity: 0.36;
  cursor: default;
}

.viewer-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.viewer-controls input {
  width: 70px;
  height: 42px;
  border: 1px solid rgba(224, 180, 93, 0.34);
  border-radius: 10px;
  background: #000b19;
  color: #fff;
  text-align: center;
}

.viewer-controls .icon-button {
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
}

[dir="rtl"] .back-link > span:first-child,
[dir="rtl"] .open-label > [aria-hidden="true"],
[dir="rtl"] .hero-actions [aria-hidden="true"] {
  transform: rotate(180deg);
}

[dir="rtl"] .catalog-card,
[dir="rtl"] .section-heading,
[dir="rtl"] .request-copy,
[dir="rtl"] .contact-panel {
  text-align: right;
}

[dir="rtl"] .footer-inner p {
  text-align: left;
}

@media (max-width: 900px) {
  .header-inner {
    gap: 14px;
  }

  .rp-brand {
    width: min(280px, 38vw);
  }

  .back-link {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-card:nth-child(3),
  .catalog-card:nth-child(4) {
    grid-column: 1 / -1;
  }

  .catalog-card:nth-child(3) .cover,
  .catalog-card:nth-child(4) .cover {
    aspect-ratio: 2 / 1;
  }

  .catalog-card:nth-child(3) .cover img,
  .catalog-card:nth-child(4) .cover img {
    object-fit: contain;
    background: #fff;
  }

  .request-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
  }

  .contact-list {
    width: 100%;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  .wrap,
  .hero-grid {
    width: min(1180px, calc(100% - 26px));
  }

  .header-inner {
    height: 66px;
    gap: 8px;
  }

  .rp-brand {
    width: clamp(172px, 35vw, 190px);
    flex: none;
  }

  .header-tools {
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
  }

  .languages {
    gap: 3px;
  }

  .languages button {
    min-width: 32px;
    height: 32px;
    padding: 0 5px;
    font-size: 10px;
  }

  .rail-hero,
  .hero-grid {
    min-height: 690px;
  }

  .hero-visual img {
    object-position: 66% center;
  }

  .hero-backdrop {
    background: linear-gradient(180deg, rgba(2, 10, 18, 0.18), rgba(2, 10, 18, 0.32) 34%, rgba(2, 10, 18, 0.94) 70%, #04111d 100%);
  }

  .hero-grid {
    padding: 126px 0 90px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .chips {
    margin-top: 24px;
  }

  .rail-hero::after {
    height: 34px;
    background-size: 66px 34px;
  }

  .catalog-section {
    padding: 58px 0 64px;
  }

  .manufacturer-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .manufacturer-logos {
    width: 100%;
    gap: 6px;
  }

  .manufacturer-logos img,
  .manufacturer-logos span {
    min-width: 0;
    width: auto;
    flex: 1;
    height: 46px;
    padding: 6px;
    font-size: 10px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalog-card:nth-child(3),
  .catalog-card:nth-child(4) {
    grid-column: auto;
  }

  .catalog-card:nth-child(3) .cover,
  .catalog-card:nth-child(4) .cover,
  .cover {
    aspect-ratio: 4 / 5;
  }

  .catalog-card:nth-child(3) .cover img {
    object-fit: cover;
  }

  .card-copy {
    min-height: 0;
    padding: 20px;
  }

  .request-section {
    padding: 58px 0;
  }

  .request-section::before {
    background:
      linear-gradient(90deg, rgba(6, 24, 39, 0.98), rgba(6, 24, 39, 0.8)),
      url("https://images.unsplash.com/photo-1768779533631-40721f91ae56?auto=format&fit=crop&w=1400&q=82") 68% center / cover no-repeat;
  }

  .request-grid {
    gap: 30px;
  }

  .request-copy h2,
  .contact-panel h2 {
    font-size: 30px;
  }

  .checklist li {
    min-height: 108px;
  }

  .contact-section {
    padding: 54px 0;
  }

  .contact-panel {
    gap: 30px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    min-height: 0;
    padding: 28px 0;
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand {
    width: min(260px, 86vw);
  }

  .footer-inner p,
  [dir="rtl"] .footer-inner p {
    text-align: center;
  }

  .viewer {
    padding: 0;
  }

  .viewer-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .viewer-header {
    padding: 13px 15px;
  }

  .viewer-stage,
  .viewer-stage.translation-mode {
    grid-template-columns: minmax(0, 1fr);
  }

  .viewer-stage.translation-mode {
    grid-template-rows: minmax(42%, 1fr) minmax(42%, 1fr);
  }

  .viewer-original {
    padding: 10px;
  }

  .viewer-pdf {
    height: 74vh;
    min-height: 480px;
    border-radius: 4px;
  }

  .viewer-translation {
    padding: 18px 16px 26px;
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }

  .viewer-translation .eyebrow {
    top: -18px;
    margin: -18px -16px 14px;
    padding: 14px 16px 12px;
  }

  .viewer-translation-body {
    font-size: 13px;
  }

  .viewer-controls {
    flex-wrap: wrap;
    gap: 7px;
    padding: 11px 8px;
  }

  .viewer-controls button {
    min-height: 38px;
    padding: 0 12px;
  }

  .viewer-controls label {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .to-top {
    inset-inline-end: 14px;
    bottom: 14px;
  }
}

@media (max-width: 360px) {
  .header-inner {
    height: auto;
    min-height: 66px;
    padding: 7px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .rp-brand {
    width: min(190px, 56vw);
  }

  .header-tools {
    flex: none;
  }

  .rail-hero,
  .hero-grid {
    min-height: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.feedback-form{gap:16px}.feedback-form h3{font-size:24px;margin:0}.feedback-form p{margin:0;color:#bed0df}.feedback-form label{display:grid;gap:8px;font-size:14px;font-weight:600}.feedback-form input,.feedback-form textarea{width:100%;box-sizing:border-box;border:1px solid #486f8b;border-radius:6px;background:#071c2d;color:#fff;padding:12px;font:inherit}.feedback-form textarea{resize:vertical}.feedback-form input:focus,.feedback-form textarea:focus{outline:2px solid #e5b45c;outline-offset:2px}.feedback-form button{border:1px solid #e5b45c;border-radius:6px;padding:12px 20px;background:#e5b45c;color:#061827;font:inherit;font-weight:700;cursor:pointer}.feedback-form button:disabled{opacity:.55;cursor:wait}.feedback-captcha{display:flex;gap:16px;align-items:end}.feedback-captcha label{flex:1}.feedback-captcha strong{font-size:22px;letter-spacing:2px}.feedback-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#feedback-status[data-tone="error"]{color:#ffb6b6}#feedback-status[data-tone="success"]{color:#98e5b7}

/* Keep the feedback panel balanced with the adjacent introduction. */
.contact-panel{grid-template-columns:repeat(2,minmax(0,420px));justify-content:space-between;align-items:start}
.feedback-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;padding:16px;align-self:start;width:100%;box-sizing:border-box}
.feedback-form h3,.feedback-form>p,.feedback-form>label:has(textarea),.feedback-captcha,.feedback-form>button{grid-column:1/-1}
.feedback-form h3{font-size:20px}.feedback-form p{font-size:12px;line-height:1.4}.feedback-form label{font-size:12px;gap:5px}
.feedback-form input,.feedback-form textarea{padding:8px;font-size:13px}.feedback-form textarea{height:70px;min-height:70px}
.feedback-form button{padding:8px 12px;font-size:13px}.feedback-captcha{gap:10px}.feedback-captcha label{display:grid;grid-template-columns:auto minmax(65px,1fr);align-items:center;gap:5px 10px}
.feedback-captcha label>span{grid-column:1/-1}.feedback-captcha strong{font-size:18px;letter-spacing:0;white-space:nowrap}
#feedback-status:empty{display:none}
@media(max-width:960px){.contact-panel{grid-template-columns:minmax(0,1fr);gap:30px}.feedback-form{max-width:420px}}
@media(max-width:380px){.feedback-form{grid-template-columns:minmax(0,1fr)}.feedback-captcha{flex-wrap:wrap}}

@media(min-width:961px){.contact-panel{grid-template-columns:minmax(0,420px) minmax(0,1fr);justify-content:normal;gap:32px}}
