/* Preview based on the supplied banner and the existing GT Vesta offer. */
body[data-reference-preview] { --bg:#f3f6f9; background:var(--bg); color:#182d42; }
body[data-reference-preview] .site-content > :is(#services, #o-nama) {
  background: transparent;
}
.site-content :is(
  .r-hero-copy p,
  .story-description,
  .brand-description,
  .model-description,
  .home-about-copy p,
  .services-copy p,
  .services-copy li,
  .contact-note,
  .photo-help:not(.inquiry-attachment-limit)
) {
  text-align: justify;
  text-align-last: start;
  hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
}
.services-content .services-copy {
  max-width: 760px;
  margin-top: 24px;
}
.services-content .services-copy p {
  font-size: 16px;
  line-height: 1.75;
}
body[data-reference-preview] .backdrop { display:none; }
body[data-reference-preview] .site-header {
  display:grid; grid-template-columns:auto auto minmax(300px,1fr) auto auto;
  align-items:center; gap:22px; min-height:54px; padding:8px 3.8%;
  background:#061b35; border-bottom:1px solid #284a70; color:#f7f9ff;
  --text:#f7f9ff; --accent:#55a7ff; --surface-hover:#113355;
}
body[data-reference-preview] .site-header .site-brand { grid-area:auto; display:flex; align-items:center; gap:13px; padding:0 8px; border-radius:4px; background:#fff; white-space:nowrap; }
body[data-reference-preview] .site-header .site-brand img { display:block; width:158px; height:auto; max-height:58px; object-fit:contain; filter:none; }
.r-tagline { padding-left:18px; border-left:2px solid #1263a5; font-size:10px; line-height:1.55; color:#dce8f7; white-space:nowrap; }
body[data-reference-preview] .site-header .header-navigation { grid-area:auto; width:auto; max-width:none; justify-self:center; justify-content:center; gap:12px; }
body[data-reference-preview] .site-header .header-navigation a,
body[data-reference-preview] .site-header .catalog-menu-trigger { color:#e8f0fb; font-size:12px; min-height:38px; padding:8px 5px; font-weight:500; border-radius:0; }
body[data-reference-preview] .site-header .header-navigation .catalog-menu-inquiry { background:transparent; border:0; padding:8px 5px; min-height:38px; }
body[data-reference-preview] .site-header .header-navigation a:hover,
body[data-reference-preview] .site-header .catalog-menu-trigger:hover { background:transparent; color:#fff; }
body[data-reference-preview] .site-header .catalog-menu-trigger.is-active,
body[data-reference-preview] .site-header .header-navigation a[aria-current] { background:transparent; color:#fff; border-bottom:2px solid #008aff; }
body[data-reference-preview] .site-header .catalog-submenu { background:#0b2745; border-color:#345576; }
body[data-reference-preview] .site-header .catalog-submenu a:hover { background:#17436c; }
.r-trust { display:flex; gap:9px; align-items:center; color:#dce8f7; font-size:9px; white-space:nowrap; }
.r-trust i { font-style:normal; color:#7191b5; padding-inline:2px; }
.r-eu { width:30px; height:20px; flex:none; border:1px solid #4488ce; }
body[data-reference-preview] .site-header .language-switch { grid-area:auto; justify-self:end; margin:0; gap:0; }
body[data-reference-preview] .language-switch a { color:#c3d7ed; font-size:10px; min-height:30px; min-width:25px; padding:4px; }
body[data-reference-preview] .language-switch a[aria-current],body[data-reference-preview] .language-switch a:hover { color:#fff; background:#164b7d; }
body[data-reference-preview] .language-switch > span { color:#6e8cae; }
body[data-reference-preview] .site-layout { padding-bottom:40px; }
.r-hero { position:relative; isolation:isolate; min-height:244px; overflow:hidden; background:#061b35; color:#fff; }
.r-hero-copy { position:relative; z-index:5; width:43%; padding:24px 0 24px 5.2%; }
body[data-reference-preview] #home .r-hero h1 { color:#f8fbff; font:700 clamp(30px,2.65vw,40px)/1.04 'GT Manrope',Arial,sans-serif; letter-spacing:-1.2px; text-align:left; margin:0 0 13px; max-width:440px; }
.r-hero-copy p { margin:0; max-width:400px; color:#e3ecf8; font-size:12px; line-height:1.7; }
.r-offer { display:inline-flex; align-items:center; gap:30px; margin-top:16px; padding:10px 23px; min-height:44px; border:1px solid #1688ff; border-radius:4px; background:#087bfa; color:#fff; font:inherit; font-size:13px; font-weight:700; line-height:1.2; cursor:pointer; text-decoration:none; }
.r-offer:hover { background:#2390ff; }
.r-offer span { font-size:22px; font-weight:400; }
.r-offer:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.r-machinery { position:absolute; z-index:1; inset:0 0 0 31%; overflow:hidden; background:linear-gradient(180deg,#16324a 0%,#3d566c 54%,#a3b9ca 79%,#657e94 100%); clip-path:polygon(12% 0,100% 0,100% 100%,0 100%); }
.r-factory { position:absolute; inset:-8px; width:calc(100% + 16px); height:calc(100% + 16px); opacity:.5; filter:blur(3px) saturate(.65); }
.r-machinery::after { content:''; position:absolute; inset:0; z-index:0; background:linear-gradient(180deg,#031a3766 0%,#203d5155 28%,#b6c8d9e6 67%,#718aa3c9 100%); pointer-events:none; }
.r-sash { position:absolute; z-index:4; inset:0 auto 0 34.5%; width:19px; background:linear-gradient(#087cfa,#0052ac 80%); transform:skew(-28deg); box-shadow:12px 0 0 #071b35; }
.r-machine { position:absolute; z-index:2; display:block; mix-blend-mode:multiply; filter:contrast(1.08); }
.r-machine-left,.r-machine-right { left:var(--machine-left); width:var(--machine-width); bottom:18%; height:70%; }
.r-machine-slide { position:absolute; inset:0; z-index:1; opacity:0; visibility:hidden; pointer-events:none; mix-blend-mode:multiply; transition:opacity .65s ease,visibility .65s; }
.r-machine-slide.is-current { z-index:2; opacity:1; visibility:visible; }
.r-photo-placeholder { opacity:0; }
.r-machine-photo { z-index:3; mix-blend-mode:normal; filter:none; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .65s ease,visibility .65s; }
.r-machine-photo.is-current { opacity:1; visibility:visible; }
.r-machine-brands { position:absolute; inset:0; z-index:5; pointer-events:none; }
.r-machine-brand { position:absolute; bottom:5px; width:120px; height:29px; display:flex; align-items:center; justify-content:center; transform:translateX(-50%); }
.r-machine-brand img { display:block; width:auto; height:auto; max-width:100%; max-height:27px; object-fit:contain; }
.r-carousel-controls { position:absolute; z-index:7; top:8px; right:10px; display:flex; gap:1px; align-items:center; padding:2px 4px; border-radius:4px; background:#061b35b3; color:#fff; }
.r-carousel-controls button { display:grid; place-items:center; height:26px; min-width:23px; padding:0; border:0; border-radius:3px; color:#fff; background:transparent; font:inherit; cursor:pointer; }
.r-carousel-controls button:hover { background:#1b5686; }
.r-carousel-controls button:focus-visible { outline:2px solid #fff; outline-offset:1px; }
.r-carousel-controls .r-hero-arrow { font-size:22px; line-height:1; min-width:24px; }
.r-carousel-controls .r-hero-pause { font-size:11px; margin-inline:3px; }
.r-hero-dot span { width:5px; height:5px; border:1px solid #d7e8fa; border-radius:50%; background:transparent; }
.r-hero-dot[aria-pressed="true"] span { background:#fff; border-color:#fff; }
.r-carousel-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.r-categories { display:grid; grid-template-columns:155px repeat(6,minmax(0,1fr)); align-items:stretch; padding:0 2.6%; background:linear-gradient(#fff,#edf1f6); border-bottom:1px solid #d7dfe9; box-shadow:0 4px 15px #0e294910; scroll-margin-top:var(--page-header-height); }
.r-category-label { display:flex; align-items:center; gap:12px; margin:0; padding:17px 10px; font-size:13px; font-weight:800; line-height:1.3; color:#0b2446; }
.r-category-label::before { content:''; width:7px; height:30px; background:#087bfa; transform:skew(-25deg); flex:none; }
.r-category { display:flex; align-items:center; gap:10px; min-width:0; padding:13px 11px; border-left:1px solid #dce3ed; color:#142d48; transition:background .15s; }
.r-category:hover,.r-category:focus-visible { background:#e2edf9; }
.r-category:focus-visible { outline:3px solid #087bfa; outline-offset:-3px; }
.r-category svg { width:30px; height:30px; flex:none; stroke:#102946; stroke-width:1.3; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.r-category strong { display:block; font-size:11px; line-height:1.3; font-weight:800; }
.r-category small { display:block; margin-top:4px; font-size:9px; line-height:1.45; color:#51647b; }
.r-category b { margin-left:auto; padding-left:3px; font-size:16px; font-weight:400; }
.r-offer-heading { max-width:1320px; margin:0 auto; padding:35px 36px 23px; }
.r-offer-heading p { margin:0 0 6px; color:#1f6cb2; font-size:10px; font-weight:800; letter-spacing:.14em; }
.r-offer-heading h2 { margin:0; font:600 30px/1.2 'GT Barlow',Arial,sans-serif; color:#142d48; }
body[data-reference-preview] #home-brand-stories { width:min(calc(100% - 72px),1248px); margin:0 auto 36px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
body[data-reference-preview] .brand-story { display:flex; flex-direction:column; align-items:stretch; min-height:0; border:1px solid #d7e0ea; border-radius:7px; overflow:hidden; background:#fff; color:#182d42; }
body[data-reference-preview] .brand-story + .brand-story { border-top:1px solid #d7e0ea; }
body[data-reference-preview] .brand-story::after,body[data-reference-preview] .brand-story .story-number { display:none; }
body[data-reference-preview] .brand-story .brand-story-image { position:relative; inset:auto; z-index:auto; display:block; width:100%; height:160px; padding:0; max-height:none; object-fit:cover; }
body[data-reference-preview] .brand-story .brand-story-content,body[data-reference-preview] .brand-story:nth-child(even) .brand-story-content { display:flex; flex-direction:column; flex:1; width:100%; padding:21px; }
body[data-reference-preview] .brand-story .story-logo { justify-content:flex-start; height:35px; width:140px; margin:0 0 17px; padding:0; }
body[data-reference-preview] .brand-story .story-eyebrow { color:#506b87; margin:0 0 9px; font-size:9px; letter-spacing:.12em; }
body[data-reference-preview] #home .brand-story .story-name { font-size:29px; color:#142d48; margin:0 0 10px; }
body[data-reference-preview] .brand-story .story-headline { color:#142d48; font-size:15px; font-weight:700; margin:0 0 10px; }
body[data-reference-preview] .brand-story .story-description { color:#53677f; font-size:12px; line-height:1.75; margin:0 0 20px; }
body[data-reference-preview] .brand-story .story-action { align-self:flex-start; min-height:39px; margin-top:auto; padding:9px 14px; font-size:11px; gap:24px; }
body[data-reference-preview] .home-inquiry { width:min(calc(100% - 72px),1248px)!important; margin:0 auto; padding:30px; border-radius:6px; background:#e4edf7; }
body[data-reference-preview] .site-footer { padding-top:28px; }
.r-contact-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:28px; align-items:center; padding:28px 30px; margin:0 0 35px; background:#fff; border:1px solid #d7e0ea; border-left:4px solid #087bfa; border-radius:6px; box-shadow:0 5px 20px #102b4610; }
body[data-reference-preview] #parts .r-contact-card h2 { margin:0 0 10px; color:#142d48; font:600 29px/1.2 'GT Barlow',Arial,sans-serif; }
.r-contact-card address { font-style:normal; font-size:17px; line-height:1.6; color:#435b72; }
.r-contact-phone p { margin:0 0 9px; color:#536a80; font-size:13px; }
.r-contact-phone a { display:inline-flex; align-items:center; gap:12px; color:#075da9; font-size:25px; line-height:1.3; font-weight:700; white-space:nowrap; text-decoration:none; }
.r-contact-phone a svg { width:24px; height:24px; flex:none; }
.r-contact-phone a:hover { color:#087bfa; text-decoration:underline; }
.r-contact-phone a:focus-visible { outline:3px solid #087bfa; outline-offset:5px; border-radius:3px; }
.r-contact-phone .r-contact-phone-link { display:inline-flex; align-items:center; gap:12px; border:0; padding:0; background:transparent; color:#075da9; font:700 25px/1.3 'GT Manrope',Arial,sans-serif; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.r-contact-phone-link svg { width:24px; height:24px; flex:none; }
.r-contact-phone-link:focus-visible { outline:3px solid #087bfa; outline-offset:5px; border-radius:3px; }
.r-contact-messengers { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.r-contact-messengers[hidden] { display:none; }
.r-contact-phone .r-contact-messengers a { display:inline-flex; align-items:center; gap:7px; padding:8px 11px; min-height:40px; border:1px solid currentColor; border-radius:4px; font-size:13px; font-weight:600; line-height:1.3; text-decoration:none; cursor:pointer; }
.r-contact-phone .r-contact-messengers a:hover { text-decoration:underline; }
.r-contact-phone .r-messenger-whatsapp { color:#107c58; background:#effaf4; }
.r-contact-phone .r-messenger-viber { color:#6c48b7; background:#f6f2fd; }
.r-contact-messengers svg,.r-messenger-whatsapp-icon { width:18px; height:18px; flex:none; }
.r-contact-phone .r-contact-messengers a svg { width:18px; height:18px; }
.r-messenger-whatsapp-icon { display:block; background:currentColor; mask:url('assets/whatsapp-icon.svg') center/contain no-repeat; }
.r-contact-email { margin-top:20px; }
.r-contact-phone .r-contact-email-link { display:inline-flex; align-items:center; gap:10px; max-width:100%; border:0; padding:0; background:transparent; color:#075da9; font:600 19px/1.4 'GT Manrope',Arial,sans-serif; text-decoration:underline; text-underline-offset:4px; cursor:pointer; white-space:normal; overflow-wrap:anywhere; }
.r-contact-email-link svg { width:22px; height:22px; flex:none; }
.r-contact-email-link:focus-visible { outline:3px solid #087bfa; outline-offset:5px; border-radius:3px; }
.r-contact-email .r-email-fallback { margin-top:10px; font-size:12px; line-height:1.5; }
body[data-reference-preview] .footer-contact { flex-wrap:wrap; }
.footer-contact .r-email-reveal,.footer-contact .r-phone-reveal { cursor:pointer; font:inherit; }
.footer-contact .r-email-revealed,.footer-contact .r-phone-revealed { display:inline-flex; align-items:center; gap:9px; width:auto; height:auto; min-height:44px; max-width:100%; padding:10px 12px; border-radius:5px; }
.footer-contact .r-email-revealed svg { width:24px; height:24px; flex:none; }
.footer-contact .r-email-label,.footer-contact .r-phone-label { font-size:13px; font-weight:600; overflow-wrap:anywhere; }
body[data-reference-preview] #parts .r-contact-inquiry-title { margin:0 0 22px; color:#142d48; font:600 27px/1.2 'GT Barlow',Arial,sans-serif; }
@media(max-width:650px) {
  .r-contact-card { grid-template-columns:minmax(0,1fr); gap:23px; padding:22px 20px; margin-bottom:28px; }
  .r-contact-phone { border-top:1px solid #e0e7ef; padding-top:20px; }
  .r-contact-phone a { gap:9px; font-size:21px; }
  .r-contact-phone .r-contact-phone-link { gap:9px; font-size:21px; }
  .r-contact-phone a svg { width:20px; height:20px; }
}
@media(min-width:1600px) { .r-hero { min-height:365px; } .r-hero-copy { padding-top:53px; } .r-category { padding-block:23px; } }
@media(max-width:1150px) {
  body[data-reference-preview] .site-header { gap:15px; padding-inline:3%; }
  .r-trust .r-trust-support,.r-tagline { display:none; }
  body[data-reference-preview] .site-header { grid-template-columns:auto minmax(280px,1fr) auto auto; }
  .r-categories { grid-template-columns:125px repeat(6,minmax(0,1fr)); padding-inline:1%; }
  .r-category { padding-inline:8px; gap:7px; } .r-category svg { width:24px; height:24px; }
  .r-category small { font-size:8px; } .r-category-label { font-size:11px; }
}
@media(max-width:900px) {
  .r-trust { display:none; } body[data-reference-preview] .site-header { grid-template-columns:auto 1fr auto; }
  body[data-reference-preview] .site-header .header-navigation { gap:8px; }
  .r-hero { min-height:300px; } .r-hero-copy { width:46%; padding-left:4%; }
  .r-hero-copy p { max-width:290px; font-size:11px; }
  .r-categories { grid-template-columns:repeat(3,minmax(0,1fr)); padding:0 3%; }
  .r-category-label { grid-column:1/-1; padding:13px 10px 5px; }
  .r-category-label::before { height:20px; }
  .r-category { min-height:75px; border-left:0; border-bottom:1px solid #dce3ed; }
  .r-category strong { font-size:12px; } .r-category small { font-size:10px; }
  body[data-reference-preview] #home-brand-stories { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
}
@media(max-width:600px) {
  body[data-reference-preview] .site-header { grid-template-columns:1fr auto; gap:8px 15px; padding:15px 20px 5px; }
  body[data-reference-preview] .site-header .site-brand { grid-row:1; grid-column:1; }
  body[data-reference-preview] .site-header .site-brand img { width:138px; max-height:48px; }
  body[data-reference-preview] .site-header .language-switch { grid-row:1; grid-column:2; }
  body[data-reference-preview] .site-header .header-navigation { grid-row:2; grid-column:1/-1; display:flex; justify-content:space-between; width:100%; gap:8px; }
  body[data-reference-preview] .site-header .header-navigation a,body[data-reference-preview] .site-header .catalog-menu-trigger { min-height:44px; font-size:12px; padding:8px 2px; }
  body[data-reference-preview] .site-header .header-navigation .catalog-menu-inquiry { min-height:44px; }
  .r-hero { display:flex; flex-direction:column; min-height:0; }
  .r-hero-copy { width:100%; padding:29px 24px 25px; }
  body[data-reference-preview] #home .r-hero h1 { font-size:35px; max-width:340px; letter-spacing:-.8px; }
  .r-hero-copy p { font-size:12px; max-width:330px; }
  .r-machinery { position:relative; inset:auto; width:100%; height:220px; clip-path:none; }
  .r-sash { display:none; }
  .r-machine-brand { width:80px; height:23px; bottom:4px; }
  .r-machine-brand img { max-height:21px; }
  .r-carousel-controls { top:5px; right:6px; }
  .r-categories { grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 15px 8px; }
  .r-category { min-height:80px; padding:12px 9px; }
  .r-category svg { width:28px; height:28px; }
  .r-category strong { font-size:11px; } .r-category small { font-size:9px; }
  .r-offer-heading { padding:29px 20px 20px; } .r-offer-heading h2 { font-size:28px; }
  body[data-reference-preview] #home-brand-stories { width:calc(100% - 40px); grid-template-columns:1fr; }
  body[data-reference-preview] .home-inquiry { width:calc(100% - 40px)!important; padding:24px; }
  body[data-reference-preview] .site-header .catalog-submenu { left:0; right:0; width:auto; }
}
@media(prefers-reduced-motion:reduce) { .r-category,.r-machine-slide,.r-machine-photo { transition:none; } }

.r-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}
#services .services-content {
  max-width: 1200px;
}
.r-info-photo {
  margin: 0;
}
.r-info-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}
.r-info-photo--demo img {
  object-position: right center;
}
.r-info-photo figcaption {
  margin-top: 8px;
  color: #506274;
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .r-info-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.r-parts-gallery {
  --photo-height: clamp(160px, 25vw, 328px);
  margin-top: 20px;
  border: 1px solid #cedbe8;
  border-radius: 8px;
  background: #e8eff6;
  overflow: hidden;
  touch-action: pan-y;
}
.r-parts-gallery-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  padding: 4px 12px;
  background: #061b35;
}
.r-parts-gallery-controls[hidden], .r-parts-scene[hidden] { display: none; }
.r-parts-gallery-controls button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #f8fbff;
  font: 600 23px/1 'GT Manrope', Arial, sans-serif;
  cursor: pointer;
}
.r-parts-gallery-controls button:hover { background: #164b7d; }
.r-parts-gallery-controls button:focus-visible { outline: 2px solid #9ac9ff; outline-offset: -2px; }
.r-parts-gallery-dots { display: flex; }
.r-parts-gallery-controls [data-parts-target] { width: 25px; }
.r-parts-gallery-controls [data-parts-target] span {
  width: 7px;
  height: 7px;
  border: 1px solid #b7d3ee;
  border-radius: 50%;
}
.r-parts-gallery-controls [aria-pressed="true"] span { background: #fff; border-color: #fff; }
.r-parts-gallery-controls [data-parts-toggle] { font-size: 14px; }
.r-parts-scene {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  animation: r-parts-arrive .28s ease-out;
}
.r-parts-scene[data-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.r-parts-scene figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7e0ea;
  border-radius: 5px;
  background: #fff;
}
.r-parts-scene img {
  display: block;
  width: 100%;
  height: var(--photo-height);
  object-fit: contain;
  background: #f9fafb;
}
.r-parts-scene figcaption {
  min-height: 42px;
  padding: 10px 11px;
  color: #203c56;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
@keyframes r-parts-arrive {
  from { opacity: .6; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 600px) {
  .r-parts-gallery { --photo-height: clamp(112px, 38vw, 170px); }
  .r-parts-gallery-controls { justify-content: center; padding-inline: 4px; }
  .r-parts-scene { gap: 5px; padding: 5px; }
  .r-parts-scene figcaption { min-height: 40px; padding: 6px 5px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .r-parts-scene { animation: none; }
}
