@font-face { font-family: Termina; src: url("../fonts/termina-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Termina; src: url("../fonts/termina-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #000;
  --green: #4ab26b;
  --orange: #ff9800;
  --paper: #fff;
  font-family: Termina, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
a { color: var(--ink); text-decoration-color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.skip-link { position: absolute; z-index: 1; top: -10rem; inset-inline-start: 1rem; padding: .5rem 1rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--paper); border-bottom: 4px solid var(--green); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; }
.brand { display: block; width: min(17.5rem, 100%); }
.brand img { display: block; width: 100%; height: auto; }
nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: 0; margin: 0; list-style: none; }
nav a { display: inline-block; padding-block: .65rem; font-weight: 700; }
.site-header nav a { padding-inline: .75rem; color: var(--ink); text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.site-header .contact-link { color: var(--ink); background: var(--orange); border-radius: .25rem; }

.content { max-width: 52rem; padding-block: clamp(2rem, 5vw, 4rem); overflow-wrap: break-word; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 2.75rem); letter-spacing: -.025em; margin: 0 0 1.5rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.75rem 0 .75rem; }
p, ul, ol { margin-block: 0 1.25rem; }
.content ul, .content ol { padding-inline-start: 1.5rem; }
.content li { margin-block: .25rem; }
.site-footer { padding-block: 2rem; background: var(--ink); color: var(--paper); }
.footer-inner { display: grid; gap: 2rem; }
.footer-inner > * { min-width: 0; }
.site-footer h2 { margin-top: 0; color: var(--paper); font-size: 1.25rem; font-weight: 400; }
.site-footer nav ul { gap: .25rem .75rem; }
.site-footer nav a { font-size: .875rem; font-weight: 400; }
.contact-list { display: flex; flex-wrap: wrap; gap: .5rem 2rem; list-style: none; padding: 0; }
.footer-contact-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem 2rem; }
.contact-list span, .footer-contact-row span { display: block; font-size: .75rem; }
.contact-list a, .footer-contact-row a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 400; }
.footer-contact-link { display: inline-block; padding-block: .65rem; }
.site-footer a { color: var(--paper); text-decoration-color: currentColor; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--orange); }
.site-footer .footer-contact-link { color: var(--orange); }
.site-footer .footer-contact-link:hover { color: var(--paper); }

.hero { padding-block: clamp(2rem, 5vw, 4rem); background: radial-gradient(ellipse at 100% 15%, #4ab26b40, transparent 55%), radial-gradient(ellipse at 85% 90%, #ff980040, transparent 55%), var(--paper); }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.hero-inner > * { min-width: 0; }
.hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); overflow-wrap: break-word; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .75rem 1rem; border: 1px solid var(--ink); border-radius: .25rem; background: var(--paper); font-weight: 700; text-decoration: none; }
.button-primary { background: var(--orange); border-color: var(--orange); }
.button:hover { text-decoration: underline; }
.button-secondary { max-width: 100%; align-items: stretch; padding: 0; border-radius: 0; font-size: .8125rem; font-weight: 400; line-height: 1.4; text-transform: uppercase; }
.button-secondary span { min-width: 0; padding: .75rem 1rem; border-inline-end: 1px solid currentColor; overflow-wrap: break-word; }
.button-secondary::after { content: ""; flex: 0 0 auto; width: 3rem; background: url("../images/button-arrow.svg") no-repeat center / 1.25rem; }
.button-secondary:hover, .button-secondary:focus-visible { color: var(--paper); background: var(--ink); text-decoration: none; }
.button-secondary:hover::after, .button-secondary:focus-visible::after { filter: invert(1); }
.hero-media { margin: 0; }
.hero-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.hero-media figcaption { margin-top: .5rem; font-size: .75rem; }

.about { padding-block: clamp(2rem, 5vw, 4rem); background: #ececed; }
.about-inner { display: grid; gap: 2rem; }
.about-inner > * { min-width: 0; }
.about h2 { margin-top: 0; }
.about-highlight { padding-inline-start: 1rem; border-inline-start: 3px solid var(--green); font-size: clamp(1.25rem, 2.8vw, 1.75rem); font-weight: 700; line-height: 1.35; }
.about-copy { overflow-wrap: break-word; }
.about-copy > :last-child { margin-bottom: 0; }

.home-offer { padding-block: clamp(2rem, 5vw, 4rem); }
.home-offer h2 { margin-top: 0; }
.offer-intro, .offer-more { max-width: 52rem; }
.offer-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.offer-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #ececed; border-top: 3px solid var(--green); text-decoration: none; overflow-wrap: break-word; }
.offer-card:hover { border-color: var(--ink); }
.offer-card img { width: 100%; height: 9rem; object-fit: contain; object-position: left; margin-bottom: 1.5rem; }
.offer-card h3 { margin: 0 0 1rem; font-size: 1.3rem; }
.offer-card p { flex-grow: 1; }
.offer-card span { font-weight: 700; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: .2em; }
.offer-more { margin-top: 2rem; }
.offer-more > :last-child { margin-bottom: 0; }

.content-wide { max-width: 68rem; }
.content-wide > p { max-width: 52rem; }
.offer-section { display: grid; gap: 1.5rem; padding-block: 2.5rem; border-bottom: 1px solid #ececed; }
.offer-section > * { min-width: 0; }
.offer-section-heading img { display: block; width: 100%; height: 10rem; object-fit: contain; object-position: center; margin-bottom: 1.5rem; }
.offer-section h2 { margin: 0; }
.offer-section-body ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem 1.5rem; }
.offer-section-body li::marker { color: var(--green); }
.offer-section-body > :last-child { margin-bottom: 0; }
.offer-section-body > .button { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; }

.offer-extras { display: grid; gap: 1.5rem; margin-block: 2.5rem; }
.offer-extra { min-width: 0; padding: 1.25rem; background: #ececed; }
.offer-extra img { display: block; width: 100%; height: 9rem; object-fit: contain; object-position: center; margin-bottom: 1.5rem; }
.offer-extra h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.offer-extra h3 { font-size: 1rem; }
.offer-extra li::marker { color: var(--green); }
.offer-extra > :last-child { margin-bottom: 0; }
.offer-extras-contact { text-align: center; margin-bottom: 2.5rem; }

.info-panel { padding: clamp(1rem, 3vw, 2rem); margin-block: 2.5rem; background: #ececed; }
.info-panel h2, .info-panel h3 { margin-top: 0; }
.info-panel > :last-child { margin-bottom: 0; }
.parts-help-grid { display: grid; gap: 1rem 2rem; }
.parts-help-grid > * { min-width: 0; }
.parts-help li::marker { color: var(--green); }
.parts-help-note { font-size: .875rem; }
.parts-help-contact { text-align: center; }

.brands-list > ul { padding: 0; list-style: none; column-gap: 2rem; }
.brands-list > ul > li { break-inside: avoid; margin: 0 0 .75rem; }
.brands-list ul ul { padding: 0; padding-inline-start: .75rem; margin: .25rem 0 0; list-style: none; font-size: .875rem; }
.brands-list ul ul li { margin-block: .125rem; }

.machine-list > ul { display: grid; grid-template-columns: minmax(0, 1fr); column-count: auto; gap: 1.5rem 2rem; }
.machine-list > ul > li { margin: 0; }

.parts-groups { display: grid; gap: 1.5rem; margin-block: 1.5rem 2.5rem; }
.parts-group { min-width: 0; padding: 1.25rem; border: 1px solid #ececed; border-top: 3px solid var(--green); }
.parts-group h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.parts-group ul { margin-bottom: 0; }
.parts-group li::marker { color: var(--green); }

@media (min-width: 48rem) {
  .parts-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands-list > ul { column-count: 2; }
  .machine-list > ul { column-count: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parts-help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-section-body ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 56rem) {
  .offer-section-heading img { object-position: left; }
  .offer-extras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer-section { grid-template-columns: 1fr 2fr; gap: 4rem; }
  .about-inner { grid-template-columns: 1fr 2fr; gap: 4rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) max-content; gap: 3rem; }
}

@media (min-width: 64rem) {
  .brands-list > ul { column-count: 3; }
  .machine-list > ul { column-count: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
}

@media (max-width: 40rem) {
  .header-inner { flex-direction: column; gap: 1rem; padding-block: 1rem; }
  .site-header nav { width: 100%; font-size: clamp(.75rem, 3.2vw, .875rem); }
  .site-header nav ul { display: flex; flex-wrap: wrap; gap: .25rem; }
  .site-header nav li { flex: 1 1 auto; min-width: 0; }
  .site-header nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .25rem; white-space: normal; }
}

.location-map { display: block; max-width: 40rem; padding: 1rem; margin-block: 1.5rem; background: var(--ink); }
.location-map img { display: block; width: 100%; height: auto; }

.contact-person { padding-block: 2rem; scroll-margin-top: 1rem; }
.contact-person + .contact-person { border-top: 1px solid #b5b5b5; }
.contact-person h2 { margin: 0 0 1.5rem; font-size: clamp(1.2rem, 3vw, 1.5rem); }
.contact-person img { display: block; width: 9rem; max-width: 100%; height: auto; }
.contact-person-body { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 1.5rem 2rem; }
.contact-person-details { flex: 1 1 18rem; min-width: 0; }
.contact-name { margin: 0 0 .25rem; font-size: 1.125rem; font-weight: 700; }
.contact-role { margin: 0 0 1rem; font-size: .875rem; }
.contact-person ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.contact-person li { margin: 0; }
.contact-person a { display: inline-block; max-width: 100%; overflow-wrap: anywhere; min-height: 44px; padding-block: .5rem; font-weight: 700; }

.company-address address { margin-bottom: 1rem; font-size: 1.125rem; font-style: normal; }
.company-address > p > a { display: inline-block; max-width: 100%; overflow-wrap: anywhere; min-height: 44px; padding-block: .5rem; }
.company-registration { font-size: .875rem; }

.footer-company { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; padding-top: 1.5rem; border-top: 1px solid #b5b5b5; }
.footer-logo { display: block; width: 15rem; max-width: 100%; }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-company p { margin: 0 0 .25rem; }
.footer-company address { margin-bottom: .25rem; font-size: .875rem; font-style: normal; }

.site-header .language-switch { width: auto; font-size: .8125rem; }
.site-header .language-switch ul { gap: .25rem; }
.site-header .language-switch li { flex: none; }
.site-header .language-switch a, .language-switch span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .5rem; }
.language-switch [aria-current] { font-weight: 700; border-bottom: 2px solid var(--green); }

[dir="rtl"] body { font-family: Arial, Helvetica, sans-serif; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] address, [dir="rtl"] .company-registration, [dir="rtl"] .contact-name { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .brands-list { text-align: left; }
[dir="rtl"] .offer-card img, [dir="rtl"] .offer-section-heading img { object-position: right; }
[dir="rtl"] .button-secondary::after { transform: scaleX(-1); }
[dir="rtl"] .contact-name, [dir="rtl"] address, [dir="rtl"] .company-registration { text-align: right; }
