/* JRG Works – styly podle předlohy (JRG-Works-pro-IT/jrgworks/style.css).
   Část 1: převzatá pravidla předlohy (pořadí zachované – pozdější pravidla záměrně přepisují dřívější).
   Část 2 (na konci): doplňky pro Django web – jazyky, drobečková navigace, formulář, podstránky.
   Písmo Inter je self-hostované (licence v static/fonts/LICENSE-Inter.txt). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-cyrillic-wght-normal.de93fdc85e3d.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-cyrillic-ext-wght-normal.251d36f2b5a6.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* === Část 1: předloha === */
:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, Consolas, "SFMono-Regular", Menlo, monospace;
  --fs-sm: 14px;
  --error: #b42318;
  --error-bg: #fdf0ee;
  --ok: #1f6b45;
  --ink: #102b49;
  --muted: #607184;
  --accent: #cda452;
  --paper: #ffffff;
  --line: #dbe3eb;
  --white: #fff;
  --max: 1344px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button, .inquiry-form input, .inquiry-form textarea, .inquiry-form select {
  font: inherit;
}
button, a, .inquiry-form input, .inquiry-form textarea, .inquiry-form select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #b48736;
  outline-offset: 6px;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  background: var(--accent);
  padding: 16px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.site-header {
  height: 90px;
  padding: 0 max(4.5vw,24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #091d32f5;
  backdrop-filter: blur(15px);
  color: #dee5eb;
  border-bottom: 1px solid #ffffff18;
}
.brand {
  width: 157px;
  display: flex;
  align-items: center;
}
.brand img {
  object-fit: contain;
  width: 100%;
  height: 53px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}
.site-nav a {
  transition: color .2s;
}
.site-nav a:hover {
  color: var(--accent);
}
.nav-contact {
  padding: 14px 20px;
  border: 1px solid #506880;
  margin-left: 18px;
}
.nav-contact span {
  margin-left: 25px;
}
.menu {
  display: none;
}
.eyebrow {
  font: 12px/1.6 var(--mono);
  letter-spacing: 2px;
  font-weight: 500;
  color: #abbccd;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 29px;
}
.eyebrow.dark {
  color: #44596d;
}
.eyebrow i {
  height: 6px;
  width: 6px;
  background: var(--accent);
  border-radius: 50%;
}
h1 {
  font-weight: 500;
  font-size: clamp(68px,7.3vw,112px);
  letter-spacing: -7px;
  line-height: .99;
  margin: 0 0 28px;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.button {
  min-height: 54px;
  padding: 19px 23px;
  display: inline-flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  transition: transform .25s,background .25s;
}
.button:hover {
  transform: translateY(-3px);
}
.gold {
  background: var(--accent);
  color: #091d32;
}
.gold:hover {
  background: #dfbd77;
}
.button span {
  font-size: 19px;
}
.text-link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  line-height: 1.6;
}
.text-link span {
  font-size: 19px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 38px max(4.5vw,24px);
  border-bottom: 1px solid var(--line);
  gap: 30px;
  background: #f2f5f8;
}
.facts>div {
  padding-left: 27px;
  border-left: 1px solid #b8c7d5;
}
.facts>div:first-child {
  padding-left: 0;
  border-left: 0;
}
.facts strong {
  font-size: 39px;
  font-weight: 500;
  letter-spacing: -1.5px;
}
.facts strong span {
  font-size: 15px;
  margin-left: 8px;
  letter-spacing: 0;
}
.facts p {
  font-size: 14px;
  color: #4a6076;
  margin: 8px 0 0;
  line-height: 1.5;
}
.facts>div:last-child {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fact-symbol {
  font-size: 49px;
  line-height: 1;
}
.section {
  padding: 100px max(4.5vw,24px);
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading>div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.section-heading p:not(.eyebrow) {
  max-width: 355px;
  line-height: 1.8;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 4px;
}
h2 {
  font-size: clamp(34px,3.8vw,57px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2.3px;
  margin: 0;
}
h3 {
  font-weight: 500;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-grid article {
  padding: 32px 35px 36px 0;
  position: relative;
}
.service-grid article+article {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}
.service-no {
  font: 12px var(--mono);
  color: #546d85;
}
.service-grid svg {
  display: block;
  width: 65px;
  height: 65px;
  stroke: #3c4e60;
  stroke-width: 1;
  fill: none;
  margin: 35px 0;
}
.service-grid h3 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.8px;
  margin: 0 0 20px;
}
.service-grid p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 330px;
  min-height: 101px;
}
.service-tag {
  font: 12px/1.6 var(--mono);
  color: #495f75;
  letter-spacing: .5px;
}
.materials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  gap: 20px;
}
.materials>span {
  font-size: 14px;
  color: var(--muted);
}
.materials p {
  font-size: 14px;
  word-spacing: 6px;
}
.materials b {
  color: #718ca6;
  font-weight: 400;
}
.machines {
  background: #102b49;
  color: var(--paper);
}
.machines .section-heading p:not(.eyebrow) {
  color: #9aafc3;
}
.machine-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 16px;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  border: 1px solid #374859;
  color: #adbece;
  padding: 12px 18px;
  font-size: 14px;
}
.filters button.active {
  background: var(--accent);
  color: #091d32;
  border-color: var(--accent);
}
.filters sup {
  margin-left: 7px;
  font-size: 14px;
}
#machine-count {
  font: 12px var(--mono);
  color: #7e98b1;
  white-space: nowrap;
}
.machine-list {
  border-top: 1px solid #374757;
}
.machine-list details {
  border-bottom: 1px solid #374757;
}
.machine-list details[hidden] {
  display: none;
}
.machine-list summary {
  display: grid;
  grid-template-columns: 45px 1fr 260px 24px;
  align-items: center;
  gap: 18px;
  padding: 25px 4px;
  list-style: none;
  cursor: pointer;
}
.machine-list summary::-webkit-details-marker, .finishing summary::-webkit-details-marker {
  display: none;
}
.index {
  font: 12px var(--mono);
  color: #607d99;
}
.machine-title {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.4px;
}
.machine-title small {
  display: block;
  font: 12px/1.5 var(--mono);
  letter-spacing: 1.2px;
  color: #7591ac;
  margin-top: 9px;
}
.capacity {
  font: 14px var(--mono);
  color: #bccad7;
}
.capacity small {
  font-size: 14px;
  color: #8099b3;
}
.expand {
  font-size: 23px;
  color: var(--accent);
  font-weight: 300;
  transition: transform .2s;
}
.machine-list details[open] .expand {
  transform: rotate(45deg);
}
.machine-list details[open] .machine-title {
  color: var(--accent);
}
.machine-detail {
  padding: 0 4px 28px 67px;
  display: grid;
  grid-template-columns: 1fr 1.15fr auto;
  gap: 40px;
  align-items: center;
}
.machine-detail>p {
  font-size: 14px;
  line-height: 1.7;
  color: #92a8bd;
  max-width: 300px;
}
.machine-detail .text-link {
  font-size: 14px;
  color: var(--accent);
}
.tech-drawing {
  color: #7490ab;
}
.tech-drawing svg {
  width: 260px;
  max-width: 100%;
  height: 115px;
  display: block;
}
.tech-drawing>span {
  font: 12px var(--mono);
  letter-spacing: .6px;
  color: #6784a0;
}
.machine-detail dl {
  margin: 0;
  font-size: 14px;
}
.machine-detail dl>div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #ffffff12;
}
.machine-detail dt {
  color: #859eb6;
}
.machine-detail dd {
  margin: 0;
  white-space: nowrap;
}
.machine-note {
  font-size: 14px;
  line-height: 1.6;
  color: #728eaa;
  margin: 24px 0 0;
  max-width: 750px;
}
.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.gallery-item {
  border: 0;
  padding: 0;
  text-align: left;
  background: #e0e7ed;
  color: var(--ink);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform .5s,filter .5s;
}
.gallery-item.photo img {
  filter: grayscale(1);
}
.gallery-item:hover img {
  transform: scale(1.035);
  filter: grayscale(0);
}
.gallery-item>span {
  position: relative;
  display: block;
  padding: 23px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.gallery-item b {
  font-size: 16px;
  font-weight: 500;
}
.gallery-item small {
  display: block;
  font: 12px var(--mono);
  color: #556f88;
  letter-spacing: 1px;
  margin-top: 10px;
}
.gallery-item i {
  position: absolute;
  right: 15px;
  top: 26px;
  font-size: 21px;
  font-style: normal;
}
.finishing {
  padding-top: 0;
}
.finish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.finish-grid h2 {
  font-size: 38px;
}
.finishing details {
  border-bottom: 1px solid var(--line);
}
.finishing summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  padding: 20px 0;
}
.finishing summary span {
  font-size: 22px;
}
.finishing details p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 20px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  background: #edf2f6;
  align-items: center;
}
.about h2 {
  font-size: 41px;
}
.about p:not(.eyebrow) {
  font-size: 14px;
  color: #495f74;
  line-height: 1.85;
}
.about .text-link {
  margin-top: 17px;
}
.about-mark {
  font-size: clamp(80px,12vw,175px);
  font-weight: 800;
  letter-spacing: -13px;
  line-height: .82;
  color: #162d44;
  position: relative;
  padding: 50px 30px;
  border: 1px solid #a8b9cb;
}
.about-mark:before, .about-mark:after {
  content: '+';
  position: absolute;
  font: 18px monospace;
  letter-spacing: 0;
  color: #4d647a;
  background: #edf2f6;
}
.about-mark:before {
  top: -11px;
  left: -6px;
}
.about-mark:after {
  bottom: -9px;
  right: -6px;
}
.about-mark>span {
  display: block;
  font-size: 36px;
  letter-spacing: 17px;
  margin-top: 20px;
}
.about-mark>div {
  font: 12px var(--mono);
  letter-spacing: 1.2px;
  line-height: 1.6;
  margin-top: 44px;
}
.nexus {
  background: #091d32;
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
}
.nexus p:not(.eyebrow) {
  color: #97acc1;
  font-size: 14px;
  line-height: 1.8;
  margin: 25px 0;
}
.nexus strong {
  font-weight: 500;
  color: #dce3ea;
}
.nexus-art {
  height: 330px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.nexus-art small {
  display: block;
  font-size: 33px;
  letter-spacing: 13px;
  margin-top: 10px;
  color: var(--accent);
}
.nexus-art i {
  color: var(--accent);
  font-size: 48px;
  font-style: normal;
  align-self: flex-start;
  margin-top: 45px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
}
.contact>div>p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin: 27px 0;
}
.contact-phone {
  display: block;
  font-size: 28px;
  letter-spacing: -.7px;
  margin-top: 35px;
}
.contact-phone span {
  font-size: 22px;
  margin-left: 15px;
}
.email {
  font-size: 14px;
  display: inline-block;
  margin: 14px 0 27px;
  border-bottom: 1px solid #8099b3;
  padding-bottom: 4px;
}
address {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.inquiry-form {
  padding: 30px;
  background: #edf2f6;
}
.inquiry-form h3 {
  font-size: 23px;
  letter-spacing: -.6px;
  margin: 0 0 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.inquiry-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  display: block;
  border: 0;
  border-bottom: 1px solid #92a8be;
  background: transparent;
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  color: #142a40;
  border-radius: 0;
}
.inquiry-form input:focus, .inquiry-form textarea:focus, .inquiry-form select:focus {
  outline: none;
  border-bottom: 2px solid #394a5b;
}
.inquiry-form textarea {
  resize: vertical;
  min-height: 100px;
}
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder {
  color: #617e9b;
}
.form-help {
  font-size: 14px;
  line-height: 1.7;
  color: #526b84;
  margin: 0 0 21px;
}
.dark-button {
  background: #112335;
  color: #e8edf1;
  width: 100%;
  font-size: 14px;
}
.dark-button:hover {
  background: #1b3854;
}
.form-status {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}
.site-footer {
  padding: 35px max(4.5vw,24px);
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: #506981;
}
.footer-brand {
  font-size: 28px;
  letter-spacing: -2px;
  font-weight: 800;
  color: #163854;
}
.footer-brand span {
  font-size: 12px;
  letter-spacing: 1px;
  display: block;
}
.footer-brand+p {
  margin-right: auto;
}
.site-footer a:hover {
  color: #163854;
}
.lightbox {
  background: #e0e7ed;
  border: 0;
  max-width: 90vw;
  width: 1000px;
  padding: 20px;
  box-shadow: 0 20px 100px #0007;
}
.lightbox::backdrop {
  background: #0a1621df;
  backdrop-filter: blur(5px);
}
.lightbox img {
  display: block;
  width: 100%;
  height: 70vh;
  object-fit: contain;
}
.lightbox p {
  font-size: 14px;
  margin: 15px 0 0;
}
.lightbox .close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #0d1c2b;
  color: white;
  border: 0;
  font-size: 28px;
  width: 40px;
  height: 40px;
}
@media (min-width:1600px) {
  .site-header, .section, .facts, .site-footer {
    padding-left: calc((100vw - 1420px)/2);
    padding-right: calc((100vw - 1420px)/2);
  }
}
@media (max-width:1000px) {
  .site-nav {
    gap: 20px;
  }
  .site-nav .nav-contact {
    margin-left: 0;
  }
  h1 {
    font-size: 77px;
    letter-spacing: -5px;
  }
  .facts strong {
    font-size: 30px;
  }
  .facts {
    gap: 15px;
  }
  .facts>div {
    padding-left: 15px;
  }
  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .section-heading>div {
    gap: 30px;
  }
  .section-heading p:not(.eyebrow) {
    max-width: 290px;
    font-size: 14px;
  }
  .machine-list summary {
    grid-template-columns: 30px 1fr 210px 20px;
  }
  .machine-title {
    font-size: 19px;
  }
  .capacity {
    font-size: 14px;
  }
  .machine-detail {
    padding-left: 52px;
    gap: 20px;
  }
  .machine-detail dl>div {
    display: block;
  }
  .machine-detail dd {
    margin-top: 6px;
  }
  .gallery-item img {
    height: 250px;
  }
  .about {
    gap: 5%;
  }
  .about h2 {
    font-size: 35px;
  }
  .about-mark {
    padding: 45px 20px;
    letter-spacing: -8px;
  }
  .contact {
    gap: 5%;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .site-footer {
    gap: 25px;
  }
  .finishing {
    padding-top: 0;
  }
}
@media (max-width:760px) {
  html {
    scroll-padding-top: 78px;
  }
  .site-header {
    height: 74px;
  }
  .brand {
    width: 130px;
  }
  .menu {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #dfe5ec;
    border: 0;
    background: none;
    font-size: 14px;
    padding: 12px 0;
  }
  .menu span {
    color: var(--accent);
    font-size: 20px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    background: #0e1e2e;
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid #44586c;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 17px 0;
  }
  .site-nav .nav-contact {
    padding: 17px;
    margin-top: 12px;
  }
  h1 {
    font-size: clamp(60px,12vw,88px);
    letter-spacing: -4px;
  }
  .button {
    font-size: 14px;
    padding: 17px 19px;
    min-height: 50px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .facts>div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .facts strong {
    font-size: 35px;
  }
  .facts p {
    font-size: 14px;
  }
  .facts>div:last-child {
    gap: 14px;
  }
  .fact-symbol {
    font-size: 40px;
  }
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.6px;
    margin-bottom: 23px;
  }
  .section-heading>div {
    display: block;
  }
  .section-heading p:not(.eyebrow) {
    max-width: 100%;
    margin: 22px 0 0;
    font-size: 14px;
  }
  h2 {
    font-size: 38px;
    letter-spacing: -1.8px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-grid article {
    padding: 27px 0!important;
    border-left: 0!important;
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 22px;
  }
  .service-grid article+article {
    border-top: 1px solid var(--line);
  }
  .service-no {
    grid-column: 1;
  }
  .service-grid svg {
    grid-column: 1;
    grid-row: 2;
    width: 50px;
    height: 50px;
    margin: 25px 0;
  }
  .service-grid h3 {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 26px;
    align-self: center;
    margin: 0;
  }
  .service-grid p {
    grid-column: 2;
    font-size: 14px;
    min-height: 0;
    margin: 0 0 20px;
  }
  .service-tag {
    grid-column: 2;
    font-size: 14px;
  }
  .materials {
    display: block;
  }
  .materials p {
    line-height: 2;
    word-spacing: 1px;
    font-size: 14px;
  }
  .machine-toolbar {
    align-items: flex-end;
  }
  .filters {
    gap: 6px;
  }
  .filters button {
    padding: 10px;
    font-size: 14px;
  }
  #machine-count {
    display: none;
  }
  .machine-list summary {
    grid-template-columns: 22px 1fr 20px;
    gap: 8px;
    padding: 23px 0;
  }
  .machine-title {
    font-size: 18px;
  }
  .machine-title small {
    font-size: 12px;
    letter-spacing: .6px;
  }
  .capacity {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    margin-top: 6px;
    color: #8099b3;
  }
  .expand {
    grid-column: 3;
    grid-row: 1/3;
  }
  .machine-detail {
    padding: 0 0 25px 30px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .machine-detail dl>div {
    display: flex;
  }
  .machine-detail dd {
    margin: 0;
  }
  .tech-drawing {
    display: none;
  }
  .machine-detail>p {
    margin: 0;
    max-width: 100%;
  }
  .machine-note {
    font-size: 14px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery-item img {
    height: 310px;
  }
  .gallery-item>span {
    padding: 19px 0;
  }
  .finish-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .finish-grid h2 {
    font-size: 34px;
  }
  .finishing {
    padding-top: 0;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .about-mark {
    font-size: 100px;
    padding: 32px;
    max-width: 360px;
  }
  .about-mark>span {
    font-size: 25px;
    letter-spacing: 11px;
    margin-top: 15px;
  }
  .about-mark>div {
    margin-top: 25px;
    font-size: 14px;
  }
  .about h2 {
    font-size: 36px;
  }
  .nexus {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nexus-art {
    height: 230px;
  }
  .nexus-art small {
    font-size: 26px;
  }
  .nexus-art i {
    margin-top: 28px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contact-phone {
    font-size: 26px;
  }
  .inquiry-form {
    padding: 25px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 24px 20px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .site-footer .footer-brand+p {
    width: 65%;
    margin: 0;
  }
  .site-footer>span {
    margin-right: auto;
  }
  .site-footer a:last-child {
    margin-left: auto;
  }
  .lightbox {
    padding: 14px;
    max-width: 95vw;
  }
  .lightbox img {
    height: 58vh;
  }
}
.brand img {
  filter: invert(1);
  mix-blend-mode: screen;
}
.robot-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #163854;
  border: 1px solid #506981;
  margin: 0 0 46px;
  position: relative;
  overflow: hidden;
}
.robot-feature:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--accent);
}
.robot-copy {
  padding: 43px 0 38px 40px;
  position: relative;
  z-index: 1;
}
.robot-copy h3 {
  font-size: clamp(32px,3.2vw,47px);
  line-height: 1.1;
  letter-spacing: -1.7px;
  margin: 0 0 22px;
}
.robot-copy h3 em {
  font-style: normal;
  color: var(--accent);
}
.robot-intro {
  font-size: 15px;
  line-height: 1.7;
  color: #e7ecf1;
}
.robot-intro span {
  color: #6a86a1;
  padding: 0 7px;
}
.robot-description {
  font-size: 14px;
  line-height: 1.85;
  color: #a7b9ca;
  max-width: 430px;
  margin: 16px 0 26px;
}
.robot-diagram {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 34px 20px 24px;
  background: radial-gradient(ellipse,#465c7120,transparent 70%);
}
.robot-diagram svg {
  width: 100%;
  height: auto;
}
.diagram-label {
  font: 12px var(--mono);
  letter-spacing: 3px;
  color: #a1b4c6;
  margin-left: 24px;
}
.diagram-caption {
  font: 12px/1.7 var(--mono);
  letter-spacing: 1px;
  color: #728eaa;
  text-align: center;
  margin-top: 8px;
}
.robot-specs {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid #50698155;
  background: #0f1f2e;
  padding: 23px 40px;
  gap: 25px;
}
.robot-specs>div+div {
  border-left: 1px solid #50698155;
  padding-left: 25px;
}
.robot-specs span {
  display: block;
  font: 12px var(--mono);
  letter-spacing: 1px;
  color: #7792ad;
  margin-bottom: 9px;
}
.robot-specs strong {
  font-weight: 500;
  font-size: 15px;
}
.robot-specs small {
  font-size: 14px;
  color: #96abc0;
}
@media (max-width:1000px) {
  .robot-copy {
    padding-left: 27px;
  }
  .robot-diagram {
    padding-left: 0;
    padding-right: 8px;
  }
  .robot-specs {
    padding: 23px 27px;
  }
  .robot-intro {
    font-size: 14px;
  }
  .robot-specs strong {
    font-size: 14px;
  }
}
@media (max-width:760px) {
  .robot-feature {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }
  .robot-copy {
    padding: 30px 24px 8px;
  }
  .robot-copy h3 {
    font-size: 34px;
  }
  .robot-description {
    font-size: 14px;
  }
  .robot-copy .button {
    font-size: 14px;
    width: 100%;
    gap: 10px;
  }
  .robot-diagram {
    padding: 24px 12px;
  }
  .diagram-label {
    font-size: 14px;
  }
  .robot-specs {
    grid-template-columns: 1fr;
    padding: 22px 24px;
    gap: 18px;
  }
  .robot-specs>div+div {
    border-left: 0;
    border-top: 1px solid #50698155;
    padding: 17px 0 0;
  }
  .robot-specs strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *:before, *:after {
    animation: none!important;
    transition: none!important;
  }
}
body {
  font-family: var(--font);
}
.site-header {
  background: #ffffffF5;
  color: #102b49;
  border-bottom: 1px solid #dbe3eb;
}
.brand img {
  filter: none;
  mix-blend-mode: multiply;
}
.nav-contact {
  background: #cda452;
  border-color: #cda452;
  color: #091d32;
}
.site-nav a:hover {
  color: #946e28;
}
.nav-contact:hover {
  background: #dfbd77;
  color: #091d32;
}
.menu {
  color: #102b49;
}
.menu span {
  color: #a27b32;
}
h1, h2, .robot-copy h3 {
  font-weight: 600;
}
.gold {
  color: #091d32;
}
.filters button.active {
  color: #091d32;
}
.facts {
  background: #f2f5f8;
}
.facts strong {
  color: #102b49;
}
.eyebrow {
  font-family: inherit;
  font-weight: 650;
  letter-spacing: 1.6px;
}
.eyebrow.dark {
  color: #607184;
}
.service-grid svg {
  stroke: #496b8d;
}
.robot-feature {
  background: #163854;
  border-color: #52708c;
}
.robot-feature:before {
  background: #cda452;
}
.robot-specs {
  background: #0b253e;
}
.robot-copy h3 em {
  color: #dfbd77;
}
.robot-description {
  color: #bdccda;
}
.robot-intro {
  color: #fff;
}
.robot-intro span {
  color: #cda452;
}
.robot-specs span {
  color: #a5bbcf;
}
.robot-specs strong {
  color: #f2f5f8;
}
.robot-diagram {
  background: radial-gradient(ellipse,#5782ad20,transparent 70%);
}
.diagram-label {
  color: #cfac67;
}
.diagram-caption {
  color: #a5b7c8;
}
.nexus-art small, .nexus-art i {
  color: #dfbd77;
}
@media (max-width:760px) {
  .site-nav {
    background: #fff;
    border-bottom: 1px solid #dbe3eb;
  }
}
.about-mark.brand-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-height: 340px;
  padding: 38px;
  background: #fff;
  border: 1px solid #dbe3eb;
  box-shadow: 0 20px 50px #102b4906;
  letter-spacing: normal;
  line-height: 1.5;
  max-width: none;
}
.about-mark.brand-panel:before, .about-mark.brand-panel:after {
  display: none;
}
.about-mark.brand-panel>.brand-panel-label {
  font: 600 12px/1.7 var(--font);
  letter-spacing: 1.7px;
  color: #607184;
  margin: 0;
  text-align: center;
}
.brand-panel>img {
  display: block;
  width: min(100%,340px);
  height: auto;
  object-fit: contain;
}
.about-mark.brand-panel>div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  border-top: 1px solid #dbe3eb;
  padding-top: 23px;
  margin: 0;
  font: 12px/1.6 var(--font);
  letter-spacing: 1.2px;
  color: #607184;
}
.brand-panel>div>span {
  color: #9a742d;
}
.nexus-art {
  height: auto;
  min-height: 330px;
  background: #fff;
  border: 1px solid #dbe3eb;
  position: relative;
  padding: 40px;
}
.nexus-art>.nexus-logo-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  font: 12px/1.7 var(--font);
  letter-spacing: 1.4px;
  color: #607184;
}
.nexus-logo-panel>img {
  display: block;
  width: min(100%,310px);
  height: auto;
  object-fit: contain;
}
.nexus-logo-panel>span {
  font: 12px/1.7 var(--font);
  letter-spacing: 1.5px;
  color: #607184;
}
.nexus-art>i {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 25px;
  margin: 0;
  color: #a27b32;
}
.nexus-art:hover {
  border-color: #cda452;
}
.nexus-art:focus-visible {
  outline-color: #cda452;
}
@media (max-width:760px) {
  .about-mark.brand-panel {
    min-height: 260px;
    padding: 28px 23px;
    gap: 28px;
  }
  .about-mark.brand-panel>.brand-panel-label {
    font-size: 14px;
  }
  .about-mark.brand-panel>div {
    font-size: 14px;
    gap: 12px;
  }
  .nexus-art {
    min-height: 280px;
    padding: 35px;
  }
  .nexus-logo-panel>img {
    max-width: 250px;
  }
}
.brand {
  width: 180px;
}
.brand img {
  width: 100%;
  height: 76px;
  filter: none;
  mix-blend-mode: normal;
}
.footer-brand {
  display: block;
  flex-shrink: 0;
}
.footer-brand img {
  display: block;
  width: 140px;
  height: auto;
}
.brand-panel>img {
  width: min(100%,390px);
}
.machine-note, .diagram-caption {
  color: #b3c4d5;
}
.machine-title small {
  color: #acbfd1;
}
.service-tag {
  font-size: 14px;
}
.nexus p:not(.eyebrow) {
  max-width: 480px;
}
@media (max-width:760px) {
  .brand {
    width: 145px;
  }
  .brand img {
    height: 62px;
  }
  .footer-brand img {
    width: 115px;
  }
  .service-tag {
    font-size: 14px;
  }
}
.intro-v2 {
  background: #f7f8fa;
  color: #102b49;
}
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1600px;
  margin: auto;
  min-height: 610px;
}
.intro-copy {
  padding: 64px 40px 36px max(4.5vw,24px);
}
.intro-kicker {
  font-size: 12px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #607184;
  margin: 0 0 32px;
}
.intro-copy h1 {
  font-size: clamp(64px,6.5vw,102px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -5px;
  margin: 0 0 25px;
}
.intro-copy h1 em {
  color: #aa8035;
  font-style: normal;
}
.intro-description {
  font-size: clamp(19px,1.7vw,25px);
  line-height: 1.5;
  letter-spacing: -.4px;
  margin: 0 0 17px;
}
.intro-detail {
  font-size: 14px;
  line-height: 1.8;
  color: #607184;
  max-width: 440px;
  margin: 0;
}
.intro-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.intro-footnote {
  display: flex;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #728296;
  border-top: 1px solid #dbe3eb;
  padding-top: 24px;
  margin-top: 35px;
}
.intro-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 100%;
  background: #aeb7c0;
}
.intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 50%;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}
.intro-photo:after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent,#091d32b0);
  pointer-events: none;
}
.intro-photo figcaption {
  position: absolute;
  bottom: 29px;
  left: 35px;
  right: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 1.6px;
}
.intro-photo figcaption a {
  font-size: 25px;
  border: 1px solid #ffffff80;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.intro-automation {
  display: grid;
  grid-template-columns: .85fr 1.1fr 1.25fr 42px;
  gap: 30px;
  align-items: center;
  padding: 32px max(4.5vw,24px);
  background: #102b49;
  color: #fff;
  border-bottom: 3px solid #cda452;
}
.automation-title {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.automation-title strong {
  font-weight: 500;
  color: #dfbd77;
}
.automation-tech {
  border-left: 1px solid #ffffff30;
  padding-left: 30px;
}
.automation-tech strong {
  font-size: 15px;
  display: block;
  font-weight: 500;
  line-height: 1.5;
}
.automation-tech>span {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  color: #b5c6d8;
}
.automation-arrow {
  font-size: 27px;
  transition: transform .2s;
}
.intro-automation:hover .automation-arrow {
  transform: translate(3px,-3px);
}
@media (max-width:1050px) {
  .intro-copy {
    padding-right: 28px;
  }
  .intro-copy h1 {
    font-size: 72px;
  }
  .intro-automation {
    grid-template-columns: 1fr 1.2fr 1.3fr 25px;
    gap: 18px;
  }
  .automation-title {
    font-size: 21px;
  }
  .automation-tech {
    padding-left: 18px;
  }
  .automation-tech strong {
    font-size: 14px;
  }
  .intro-footnote {
    gap: 12px;
    font-size: 14px;
  }
}
@media (max-width:760px) {
  .intro-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .intro-copy {
    padding: 40px 24px 30px;
  }
  .intro-kicker {
    font-size: 12px;
    margin-bottom: 25px;
    letter-spacing: 1.2px;
  }
  .intro-copy h1 {
    font-size: clamp(60px,14vw,88px);
    letter-spacing: -3.6px;
  }
  .intro-description {
    font-size: 20px;
  }
  .intro-detail {
    font-size: 14px;
  }
  .intro-actions {
    gap: 20px;
  }
  .intro-actions .text-link {
    font-size: 14px;
  }
  .intro-footnote {
    margin-top: 28px;
    justify-content: space-between;
    font-size: 14px;
    gap: 6px;
  }
  .intro-photo {
    height: 340px;
    min-height: 0;
  }
  .intro-photo img {
    object-position: center 53%;
  }
  .intro-photo figcaption {
    left: 24px;
    right: 24px;
    bottom: 20px;
    font-size: 14px;
  }
  .intro-automation {
    grid-template-columns: 1fr 30px;
    padding: 28px 24px;
    gap: 19px;
  }
  .automation-title {
    font-size: 26px;
  }
  .automation-tech {
    grid-column: 1;
    grid-row: 3;
    border: 0;
    padding: 0;
  }
  .automation-tech strong {
    font-size: 14px;
  }
  .automation-arrow {
    grid-column: 2;
    grid-row: 2;
  }
  .intro-photo {
    order: 0;
  }
}
@media (max-width:760px) {
  .intro-v2 {
    display: flex;
    flex-direction: column;
  }
  .intro-layout {
    display: contents;
  }
  .intro-copy {
    order: 1;
  }
  .intro-automation {
    order: 2;
  }
  .intro-photo {
    order: 3;
    width: 100%;
  }
}
.intro-photo img {
  filter: none;
  mix-blend-mode: normal;
  object-position: 58% 52%;
}
.intro-photo figcaption>span {
  max-width: 85%;
  line-height: 1.7;
}
@media (max-width:760px) {
  .intro-photo img {
    object-position: 55% 58%;
  }
}
.intro-automation {
  grid-template-columns: 1.1fr 1.5fr 42px;
}
.gallery-refreshed {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.gallery-refreshed .gallery-item img {
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
  filter: none;
}
.gallery-refreshed .gallery-item:hover img {
  filter: none;
}
@media (max-width:760px) {
  .intro-automation {
    grid-template-columns: 1fr 30px;
  }
  .automation-title {
    grid-row: 1;
  }
  .automation-arrow {
    grid-row: 1;
  }
  .automation-tech {
    grid-row: 2;
  }
  .gallery-refreshed {
    grid-template-columns: 1fr;
  }
  .gallery-refreshed .gallery-item img {
    height: auto;
  }
}
.applications {
  background: #f2f5f7;
  color: #102b49;
}
.applications-heading {
  max-width: 800px;
  margin-bottom: 44px;
}
.applications-heading>p:last-child {
  max-width: 670px;
  line-height: 1.75;
  color: #52677b;
  font-size: 18px;
}
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}
.applications-grid article {
  background: white;
  border: 1px solid #dce3e9;
}
.applications-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.applications-grid article>div {
  padding: 28px;
}
.applications-grid article span {
  font-size: 12px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #687b8d;
}
.applications-grid h3 {
  font-size: 25px;
  line-height: 1.2;
  margin: 18px 0 14px;
  letter-spacing: -.6px;
}
.applications-grid article p {
  color: #52677b;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.applications-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 28px;
}
.applications-bottom p {
  max-width: 660px;
  font-size: 14px;
  line-height: 1.6;
  color: #687b8d;
}
.applications-bottom a {
  white-space: nowrap;
}
@media (max-width:900px) {
  .applications-grid {
    grid-template-columns: 1fr;
  }
  .applications-grid article {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .applications-grid img {
    height: 100%;
    min-height: 240px;
  }
  .applications-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width:560px) {
  .applications-grid article {
    display: block;
  }
  .applications-grid img {
    min-height: 0;
    height: auto;
  }
  .applications-grid article>div {
    padding: 24px;
  }
  .applications-heading>p:last-child {
    font-size: 16px;
  }
}

/* === Část 2: doplňky pro Django web === */

/* Hlavička: jazyky a menu */
.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.lang summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 4px;
  letter-spacing: 1px;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary::after {
  content: " ▾";
  color: var(--accent);
}
.lang__menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 170px;
  margin: 6px 0 0;
  padding: 8px 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px #0a16212b;
  z-index: 30;
}
.lang__menu a {
  display: block;
  padding: 10px 18px;
}
.lang__menu a:hover, .lang__menu a[aria-current] {
  background: #f2f5f8;
  color: #7a5a1e;
}
.site-nav a[aria-current="page"] {
  color: #7a5a1e;
}
@media (max-width:760px) {
  .header-tools {
    gap: 10px;
  }
  .menu {
    color: var(--ink);
  }
}

/* Podstránky */
.page-top {
  padding-top: 48px;
}
.breadcrumbs {
  grid-column: 1 / -1;
  margin-bottom: 36px;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.machines .breadcrumbs {
  color: #a9bbcc;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 10px;
  opacity: .6;
}
.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
h1.page-title {
  font-size: clamp(36px,4.4vw,64px);
  letter-spacing: -2.3px;
  line-height: 1.08;
  margin: 0 0 20px;
}
.machines-more {
  margin-top: 36px;
  display: flex;
  justify-content: flex-end;
}
.end-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: end;
  background: #f2f5f8;
}
.end-cta p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
}
.needs {
  margin: 30px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.needs h2 {
  font-size: 19px;
  letter-spacing: -.3px;
  margin: 0 0 14px;
}
.needs ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.needs li::before {
  content: "↗";
  color: #9a7428;
  margin-right: 12px;
}
.contact > div > p.needs-direct {
  margin-bottom: 0;
}
.company-ids {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
}
.contact-page address + .text-link {
  margin-bottom: 28px;
}
.not-found p:not(.eyebrow) {
  font-size: 17px;
  color: var(--muted);
}
.prose {
  max-width: 820px;
}
.prose h2 {
  font-size: 24px;
  letter-spacing: -.4px;
  margin: 36px 0 10px;
}
.prose p {
  font-size: 16px;
  line-height: 1.75;
  color: #34495e;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-lead {
  font-size: 19px !important;
  color: var(--ink) !important;
}

/* Mapa (načte se po kliknutí) */
.map {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.map__placeholder, .map iframe {
  min-height: 420px;
  width: 100%;
  border: 0;
  background: #edf2f6;
}
.map__placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: 40px;
}
.map__address {
  font-size: 21px;
  margin: 0;
}
.map .dark-button {
  width: auto;
}

/* Poptávkový formulář */
.inquiry-form .field {
  display: block;
  margin-bottom: 22px;
}
.field--wide {
  grid-column: 1 / -1;
}
.field__label {
  display: block;
}
.inquiry-form input[type="file"] {
  border-bottom-style: dashed;
  padding: 14px 0;
}
.field__help {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: #526b84;
  margin-top: 8px;
  line-height: 1.5;
}
.field__error {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--error);
  margin-top: 8px;
}
.has-error input, .has-error select, .has-error textarea {
  border-bottom: 2px solid var(--error);
}
.inquiry-form .field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.inquiry-form .field--check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}
.inquiry-form .field--check label {
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}
.inquiry-form .field--check a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.field--check .field__error {
  grid-column: 1 / -1;
  margin: 0;
}
.req {
  color: #9a6b12;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.alert {
  background: var(--error-bg);
  border-left: 3px solid var(--error);
  color: #7a1a12;
  padding: 12px 16px;
  margin: 0 0 24px;
  font-size: 15px;
}
.alert p {
  margin: 0;
}
.alert:focus, .form-success:focus {
  outline: none;
}
.turnstile {
  margin: 4px 0 20px;
  min-height: 65px;
}
.btn__busy {
  display: none;
}
.htmx-request .btn__label {
  display: none;
}
.htmx-request .btn__busy {
  display: inline;
}
.inquiry-form .dark-button {
  margin-bottom: 16px;
}
.form-success h3 {
  margin-top: 14px;
}
.form-success p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.form-success__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #091d32;
  font-size: 24px;
  font-weight: 700;
}
.lightbox__caption:empty {
  display: none;
}

@media (max-width:760px) {
  .end-cta {
    grid-template-columns: 1fr;
  }
  .machines-more {
    justify-content: flex-start;
  }
  .map__placeholder, .map iframe {
    min-height: 320px;
  }
  .map__placeholder {
    padding: 24px;
  }
}
.inquiry-form input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 600;
  margin-right: 14px;
  padding: 9px 14px;
  border: 1px solid #92a8be;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.page-top.contact {
  row-gap: 0;
}
.page-top .eyebrow {
  text-transform: uppercase;
}
