#header {
  display: none;
}

.navbar no-contact{
  display:none;
}

.navbar-default{
  display:none;
}


.mainContainer {
  display:none;
}


:root{
  --bg:#ffffff;
  --text:#1f1f1f;
  --muted:#6f6f73;
  --muted-2:#8c8c91;
  --line:#ececef;
  --soft:#f5f5f7;
  --soft-2:#f1f1f3;
  --accent:#b8ea00;
  --accent-hover:#a7d500;
  --red:#ea202c;
  --blue:#3f4ed1;
  --shadow:0 14px 34px rgba(0,0,0,.06);
  --shadow-soft:0 8px 24px rgba(0,0,0,.045);
  --container:1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.45;
  overflow-x:hidden;
}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{font:inherit}

.container{
  width:min(calc(100% - 36px), var(--container));
  margin:0 auto;
}

.section{
  padding:34px 0;
}

.title{
  margin:0 0 14px;
  font-size:clamp(34px,4.6vw,64px);
  line-height:.98;
  letter-spacing:-.04em;
  font-weight:800;
}

.title-md{
  margin:0 0 12px;
  font-size:clamp(28px,3vw,46px);
  line-height:1.02;
  letter-spacing:-.035em;
  font-weight:800;
}

.lead{
  margin:0;
  color:var(--muted);
  font-size:clamp(16px,1.7vw,20px);
}

.btns{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  border-radius:14px;
  padding:14px 22px;
  font-weight:700;
  cursor:pointer;
  transition:.22s ease;
  white-space:nowrap;
}

.btn-green{
  background:var(--accent);
  color:#111;
  box-shadow:0 10px 24px rgba(184,234,0,.26);
}

.btn-green:hover{
  background:var(--accent-hover);
  transform:translateY(-1px);
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--soft);
  color:#333;
  font-size:13px;
  font-weight:700;
}

/* TOPBAR */
.topbar{
  width:100%;
  background:#ffeb3C;
  color:#111;
  position:relative;
  z-index:60;
  border-bottom:1px solid rgba(0,0,0,.06);
  box-shadow:0 6px 18px rgba(184,234,0,.18);
}

.topbar-inner{
  width:min(calc(100% - 36px), var(--container));
  margin:0 auto;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0;
}

.topbar-text{
  display:flex;
  align-items:center;
  gap:10px;
  line-height:1.45;
  font-size:14px;
  font-weight:700;
}

.topbar-text::before{
  content:"i";
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.12);
  font-size:13px;
  font-weight:800;
}

.topbar-close{
  border:none;
  background:rgba(0,0,0,.08);
  width:34px;
  height:34px;
  min-width:34px;
  border-radius:10px;
  cursor:pointer;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
  color:#111;
}

.topbar-close:hover{
  background:rgba(0,0,0,.16);
}

header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}

.nav-shell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:78px;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}

.brand-logo{
  height:34px;
  width:auto;
  display:block;
  object-fit:contain;
}

nav{
  display:flex;
  align-items:center;
  gap:34px;
  flex:1;
  justify-content:center;
}

nav a{
  position:relative;
  font-size:15px;
  font-weight:600;
  color:#222428;
  transition:.2s ease;
  padding:4px 0;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--accent), transparent);
  transform:scaleX(0);
  transform-origin:left;
  transition:.25s ease;
}

nav a:hover{
  color:#000;
}

nav a:hover::after{
  transform:scaleX(1);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.eshop-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  background:var(--accent);
  color:#111;
  font-weight:800;
  border-radius:10px;
  box-shadow:0 8px 18px rgba(184,234,0,.24);
  transition:.22s ease;
}

.eshop-btn:hover{
  background:var(--accent-hover);
  transform:translateY(-1px);
}

.eshop-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.eshop-icon svg{
  width:18px;
  height:18px;
  display:block;
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:none;
  background:var(--soft);
  border-radius:12px;
  position:relative;
  cursor:pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after{
  content:"";
  position:absolute;
  left:11px;
  right:11px;
  height:2px;
  background:#222;
  border-radius:999px;
  transition:.22s ease;
}

.menu-toggle span{top:21px}
.menu-toggle::before{top:14px}
.menu-toggle::after{top:28px}

.menu-toggle.active span{opacity:0}
.menu-toggle.active::before{transform:translateY(7px) rotate(45deg)}
.menu-toggle.active::after{transform:translateY(-7px) rotate(-45deg)}

/* HERO */
.hero{
  padding:22px 0 16px;
}

.hero-wrap{
  position:relative;
  background:#fff;
  min-height:510px;
  overflow:hidden;
  border-radius:0;
}

.hero-grid{
  position:relative;
  min-height:510px;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .45s ease, visibility .45s ease;
}

.slide.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.hero-slide-layout{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  min-height:510px;
  gap:24px;
  padding:20px 0 76px;
}

.hero-content{
  padding:8px 12px 0 0;
  max-width:700px;
}

.hero-accent-red{color:var(--red)}
.hero-accent-blue{color:var(--blue)}

.hero-subline{
  font-size:28px;
  font-weight:700;
  letter-spacing:-.03em;
  margin-top:-4px;
  color:#262a31;
  line-height:1.18;
}

.hero-note{
  margin:14px 0 0;
  color:#4e5055;
  font-size:clamp(18px,1.9vw,24px);
  line-height:1.35;
  max-width:720px;
}

.hero-mini-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.hero-image-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 16px 10px;
}

.hero-image-box{
  width:min(560px, 100%);
  height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.hero-image-box img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  filter:drop-shadow(0 18px 26px rgba(0,0,0,.12));
}

.hero-controls{
  position:absolute;
  left:0;
  right:0;
  bottom:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  z-index:5;
  pointer-events:none;
}

.hero-dots,
.hero-arrows{
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:10px;
}

.dot{
  width:10px;
  height:10px;
  padding:0;
  border:none;
  border-radius:999px;
  background:#d6d7db;
  cursor:pointer;
  transition:.22s ease;
}

.dot.active{
  width:30px;
  background:#bfc1c7;
}

.arrow{
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:var(--soft);
  color:#666;
  font-size:20px;
  cursor:pointer;
  transition:.22s ease;
}

.arrow:hover{
  background:#ebebee;
  color:#333;
}

/* Hlavní karty */
.cards-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:34px;
  align-items:stretch;
}

.division-card{
  position:relative;
  min-height:410px;
  padding:34px 34px 26px;
  background:var(--soft);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.division-card h2{
  margin:0 0 8px;
  font-size:clamp(32px,3.3vw,54px);
  line-height:1.02;
  letter-spacing:-.04em;
  font-weight:500;
  color:#121212;
}

.division-card p{
  margin:0;
  color:#7b7d83;
  font-size:18px;
  max-width:540px;
}

.division-card .image{
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:20px 0 8px;
  padding:0 6px;
}

.division-card .image img{
  max-width:86%;
  max-height:100%;
  object-fit:contain;
  filter:grayscale(.04) drop-shadow(0 16px 22px rgba(0,0,0,.13));
}

.division-card .actions{
  display:flex;
  justify-content:flex-end;
  margin-top:10px;
}

/* Accordion */
.accordion-section{
  padding-top:22px;
}

.accordion-item{
  border-top:1px solid var(--line);
  scroll-margin-top:96px;
}

.accordion-item:last-child{
  border-bottom:1px solid var(--line);
}

.accordion-header{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:28px 0;
  background:none;
  border:none;
  cursor:pointer;
  text-align:left;
  font-size:clamp(24px,2.4vw,46px);
  font-weight:700;
  line-height:1.05;
  letter-spacing:-.03em;
  color:#3f4650;
}

.accordion-icon{
  flex:0 0 auto;
  font-size:28px;
  line-height:1;
  transition:.28s ease;
  color:#5b616d;
}

.accordion-item.active .accordion-icon{
  transform:rotate(180deg);
}

.accordion-content{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .45s ease;
}

.accordion-inner{
  overflow:hidden;
}

.accordion-item.active .accordion-content{
  grid-template-rows:1fr;
}

.accordion-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:42px;
  padding:6px 0 34px;
  align-items:start;
}

.accordion-text ul{
  margin:0;
  padding-left:22px;
  display:grid;
  gap:10px;
}

.accordion-text li{
  font-size:15px;
  line-height:1.6;
  color:#222;
}

.accordion-text p{
  margin:0;
  font-size:18px;
  line-height:1.55;
  color:#344155;
  max-width:920px;
}

.accordion-cta{
  margin-top:24px;
}

.accordion-media.video{
  width:100%;
  max-width:460px;
  aspect-ratio:16/9;
  justify-self:end;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 12px 26px rgba(0,0,0,.08);
  background:#000;
}

.accordion-media.video iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
}

.accordion-side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:26px;
}

.accordion-image.single{
  width:100%;
  min-height:330px;
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  padding-top:0;
}

.accordion-image.single img{
  width:min(100%, 380px);
  height:330px;
  object-fit:cover;
  filter:grayscale(1) drop-shadow(0 14px 22px rgba(0,0,0,.12));
}

.accordion-grid-tools{
  align-items:start;
  padding-bottom:12px;
}

.accordion-side-tools{
  align-items:flex-end;
}

.accordion-hero-image{
  min-height:260px;
}

.accordion-hero-image img{
  width:min(100%, 420px);
  height:260px;
  object-fit:contain;
  filter:drop-shadow(0 14px 22px rgba(0,0,0,.12));
}

.tools-catalog{
  padding:12px 0 6px;
}

.tools-group + .tools-group{
  margin-top:56px;
}

.tools-group-title{
  margin:0 0 24px;
  font-size:clamp(34px,3vw,56px);
  line-height:1.02;
  letter-spacing:-.04em;
  font-weight:800;
  color:#101114;
}

.tools-cards-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.tools-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:246px;
  background:#dfe2e6;
  border:1px solid #d2d5da;
  box-shadow:0 6px 14px rgba(0,0,0,.10);
  padding:14px 16px 12px;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.tools-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(0,0,0,.12);
  background:#e5e8ec;
}

.tools-card-image{
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.tools-card-image img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}

.tools-card-title{
  margin-top:12px;
  text-align:center;
  font-size:18px;
  line-height:1.25;
  font-weight:500;
  color:#111;
}

.tools-group-services{
  padding-top:18px;
}

.tools-cards-grid-services .tools-card{
  min-height:220px;
}

.tools-cards-grid-services .tools-card-image{
  height:130px;
}

/* CNC blok */
.cnc-topband{
  position:relative;
  overflow:hidden;
  background:#f6f6f7;
  padding:14px 0;
  box-shadow:var(--shadow-soft);
  margin:6px 0 28px;
}

.cnc-topband-track{
  display:flex;
  align-items:center;
  gap:58px;
  width:max-content;
  animation:cnc-scroll 28s linear infinite;
  will-change:transform;
}

.cnc-topband:hover .cnc-topband-track{
  animation-play-state:paused;
}

.cnc-topband-track span{
  flex:0 0 auto;
  font-weight:800;
  letter-spacing:-.03em;
  color:#9a9aa0;
  font-size:clamp(24px,2vw,40px);
  white-space:nowrap;
  transition:.2s ease;
}

.cnc-topband-track span:hover{
  color:#5c5d62;
}

@keyframes cnc-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

.cnc-intro-grid{
  align-items:center;
  padding-bottom:16px;
}

.cnc-video{
  max-width:520px;
  width:100%;
  justify-self:end;
}

.cnc-points{
  margin-top:22px !important;
}

.accordion-cta-row{
  margin-top:24px;
}

.cnc-catalog{
  padding:10px 0 8px;
}

.cnc-group + .cnc-group{
  margin-top:42px;
}

.cnc-machine-card{
  min-height:220px;
  background:#e3e5e8;
}

.cnc-machine-card .tools-card-image{
  height:132px;
  padding:8px;
}

.cnc-machine-card .tools-card-image img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.10));
}

.cnc-machine-card .tools-card-title{
  font-size:16px;
  font-weight:700;
  letter-spacing:-.01em;
}

.cnc-cards-grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:760px;
}

.cnc-bottom-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:26px;
  margin-top:42px;
  align-items:start;
}

.cnc-services-box,
.cnc-cad-box{
  background:var(--soft);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  padding:22px;
}

.cnc-service-list{
  display:grid;
  gap:10px;
}

.cnc-service-list span{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 14px;
  background:#fff;
  border:1px solid #e5e5e8;
  font-weight:700;
  color:#23262c;
}

.cnc-soft-card{
  min-height:210px;
}

.cnc-soft-card .tools-card-image{
  height:120px;
}

/* O nas accordion */
.about-grid{
  align-items:start;
}

.about-side{
  align-items:stretch;
}

.about-intro{
  margin-bottom:18px !important;
}

.about-block-title{
  margin:22px 0 10px !important;
  font-size:18px !important;
  font-weight:700 !important;
  color:#1f2430 !important;
}

.about-info-card{
  width:100%;
  max-width:460px;
  background:var(--soft);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  padding:24px;
}

.about-info-row + .about-info-row{
  margin-top:20px;
  padding-top:20px;
  border-top:1px solid #e5e5e8;
}

.about-label{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#7a7f88;
}

.about-info-row strong{
  display:block;
  font-size:20px;
  line-height:1.35;
  color:#1b1f26;
}

.about-partners{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.about-partners span{
  display:inline-flex;
  align-items:center;
  padding:9px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e4e6ea;
  font-size:13px;
  font-weight:800;
  color:#2a313c;
}

.about-note{
  margin-top:20px !important;
}

/* Výrobci */
.partners{
  padding-top:8px;
  padding-bottom:26px;
  overflow:hidden;
}

.partners-marquee{
  position:relative;
  overflow:hidden;
  background:#f6f6f7;
  padding:14px 0;
  box-shadow:var(--shadow-soft);
}

.partners-track{
  display:flex;
  align-items:center;
  gap:58px;
  width:max-content;
  animation:partners-scroll 28s linear infinite;
  will-change:transform;
}

.partners-marquee:hover .partners-track{
  animation-play-state:paused;
}

.partner-text{
  flex:0 0 auto;
  font-weight:800;
  letter-spacing:-.03em;
  color:#9a9aa0;
  font-size:clamp(24px,2vw,40px);
  white-space:nowrap;
  transition:.2s ease;
}

.partner-text:hover{
  color:#5c5d62;
}

@keyframes partners-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* Proč my */
.why{
  text-align:center;
  padding-top:18px;
}

.why h2{
  margin:0 0 30px;
  font-size:clamp(30px,2.9vw,46px);
  letter-spacing:-.03em;
  color:#2a3341;
  font-weight:700;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:26px;
  max-width:1020px;
  margin:0 auto;
}

.why-item{
  padding:10px 12px;
}

.why-item .icon{
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
}

.why-item .icon img{
  max-height:56px;
  width:auto;
  object-fit:contain;
}

.why-item p{
  margin:0 auto;
  max-width:170px;
  font-size:17px;
  line-height:1.4;
  color:#394251;
}

.claim{
  text-align:center;
  padding:22px 0 6px;
}

.claim h3{
  margin:0;
  font-size:clamp(34px,3vw,50px);
  line-height:1.08;
  letter-spacing:-.035em;
  color:#55585f;
  font-weight:500;
}

/* Galerie */
.gallery{
  padding-top:18px;
}

.gallery-top{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.work-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc(33.333% - 12px);
  gap:18px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding-bottom:6px;
}

.work-track::-webkit-scrollbar{
  display:none;
}

.work-card{
  position:relative;
  height:340px;
  min-height:340px;
  background:var(--soft);
  overflow:hidden;
}

.work-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.work-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.44) 100%);
}

.work-meta{
  position:absolute;
  left:20px;
  right:20px;
  bottom:18px;
  z-index:2;
  color:#fff;
}

.work-meta span{
  display:inline-block;
  margin-bottom:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  opacity:.88;
}

.work-meta h3{
  margin:0 0 6px;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.03em;
}

.work-meta p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:14px;
}

.gallery-controls{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:16px;
}

/* Footer */
footer{
  padding:42px 0 54px;
}

.footer-wrap{
  background:var(--soft);
  padding:32px;
  box-shadow:var(--shadow-soft);
}

.footer-top{
  display:grid;
  grid-template-columns:1.2fr .9fr 1fr 1fr;
  gap:28px;
  align-items:start;
}

.footer-brand p{
  margin:14px 0 0;
  color:var(--muted);
  max-width:420px;
}

.footer-info-block{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid #e5e5e8;
}

.footer-info-block h5{
  margin:0 0 12px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6d7078;
}

.footer-address{
  color:#1f2329;
  font-weight:600;
  line-height:1.7;
  font-style:normal;
}

.footer-address a{
  color:#1f2329;
}

.footer-socials{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:20px;
}

.footer-social{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#fff;
  border:1px solid #e4e6ea;
  color:#232831;
  transition:.22s ease;
  box-shadow:0 4px 10px rgba(0,0,0,.04);
}

.footer-social:hover{
  transform:translateY(-2px);
  background:#fff;
  border-color:#d8dce2;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}

.footer-social svg{
  width:20px;
  height:20px;
  display:block;
}

.footer-col h5{
  margin:0 0 14px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6d7078;
}

.footer-links,
.contact-list{
  display:grid;
  gap:12px;
}

.footer-links a,
.contact-list a,
.contact-list div{
  color:#1f2329;
  font-weight:600;
}

.contact-role{
  display:block;
  color:#7c818b;
  font-size:13px;
  font-weight:800;
  margin-bottom:4px;
}

.contact-list small{
  display:block;
  color:#777b84;
  margin-top:2px;
  font-size:13px;
  font-weight:500;
}

.footer-map{
  margin-top:28px;
  padding-top:26px;
  border-top:1px solid #e5e5e8;
}

.footer-map h5{
  margin:0 0 14px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6d7078;
}

.footer-map-frame{
  width:100%;
  overflow:hidden;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  background:#fff;
  border:1px solid #e4e6ea;
}

.footer-map-frame iframe{
  width:100%;
  height:340px;
  display:block;
  border:0;
}

.footer-bottom{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid #e5e5e8;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:14px;
  color:#7b7f87;
  font-size:14px;
}

@media (max-width:1160px){
  .hero-slide-layout,
  .cards-2,
  .accordion-grid,
  .footer-top{
    grid-template-columns:1fr;
  }

  .hero-wrap{
    min-height:auto;
    overflow:visible;
  }

  .hero-grid{
    min-height:auto;
  }

  .slide{
    position:relative;
    inset:auto;
    display:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .slide.active{
    display:block;
  }

  .hero-slide-layout{
    min-height:auto;
    padding:10px 0 76px;
    gap:16px;
  }

  .hero-content{
    padding:0;
    order:1;
    max-width:none;
  }

  .hero-image-panel{
    padding:0 0 8px;
    order:2;
    justify-content:flex-start;
  }

  .hero-image-box{
    width:100%;
    height:280px;
    padding:10px 0;
    justify-content:flex-start;
  }

  .hero-image-box img{
    max-width:min(100%, 520px);
    max-height:100%;
  }

  .accordion-media.video{
    justify-self:start;
    max-width:100%;
  }

  .accordion-image.single{
    justify-content:flex-start;
    min-height:auto;
  }

  .accordion-side{
    align-items:flex-start;
  }

  .tools-cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .cnc-cards-grid-2{
    max-width:none;
  }

  .cnc-bottom-grid{
    grid-template-columns:1fr;
  }

  .tools-group-title{
    margin-bottom:20px;
  }

  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .work-track{
    grid-auto-columns:calc(50% - 10px);
  }

  .work-card{
    height:320px;
    min-height:320px;
  }

  nav{
    position:absolute;
    left:18px;
    right:18px;
    top:calc(100% + 8px);
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
    padding:18px;
    background:#fff;
    border:1px solid var(--line);
    box-shadow:var(--shadow-soft);
  }

  nav.open{display:flex}
  .menu-toggle{display:block}

  .about-info-card{
    max-width:100%;
  }

  .footer-map-frame iframe{
    height:320px;
  }
}

@media (max-width:760px){
  .container,
  .topbar-inner{
    width:min(calc(100% - 22px), var(--container));
  }

  .topbar-inner{
    min-height:unset;
    align-items:flex-start;
    padding:10px 0;
  }

  .topbar-text{
    font-size:13px;
  }

  .topbar-close{
    width:32px;
    height:32px;
    min-width:32px;
  }

  .nav-shell{
    min-height:70px;
  }

  .brand-logo{
    height:28px;
  }

  .eshop-btn{
    display:none;
  }

  .hero{
    padding-top:12px;
  }

  .hero-slide-layout{
    gap:12px;
    padding:6px 0 74px;
  }

  .title{
    font-size:clamp(28px, 9vw, 42px);
    line-height:1.02;
    letter-spacing:-.04em;
  }

  .hero-subline{
    font-size:18px;
    margin-top:2px;
  }

  .lead,
  .hero-note{
    font-size:16px;
    line-height:1.5;
  }

  .hero-mini-list{
    gap:8px;
    margin-top:16px;
  }

  .btns{
    margin-top:18px;
  }

  .btn{
    width:100%;
    max-width:100%;
    padding:14px 18px;
  }

  .hero-image-panel{
    justify-content:flex-start;
  }

  .hero-image-box{
    height:190px;
    padding:6px 0 0;
    justify-content:flex-start;
  }

  .hero-image-box img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
  }

  .hero-controls{
    bottom:10px;
    align-items:center;
  }

  .hero-dots{
    gap:8px;
  }

  .dot.active{
    width:24px;
  }

  .arrow{
    width:38px;
    height:38px;
  }

  .accordion-header{
    font-size:24px;
    padding:22px 0;
  }

  .accordion-text li{
    font-size:14px;
  }

  .accordion-text p{
    font-size:16px;
  }

  .tools-cards-grid,
  .cnc-cards-grid-2{
    grid-template-columns:1fr;
    gap:18px;
  }

  .tools-card{
    min-height:220px;
    padding:14px;
  }

  .tools-card-image{
    height:136px;
  }

  .tools-card-title{
    font-size:17px;
  }

  .tools-group + .tools-group{
    margin-top:38px;
  }

  .cnc-topband{
    margin-bottom:20px;
    padding:12px 0;
  }

  .cnc-topband-track{
    gap:28px;
  }

  .cnc-topband-track span{
    font-size:20px;
  }

  .cnc-machine-card{
    min-height:200px;
  }

  .cnc-machine-card .tools-card-image{
    height:126px;
  }

  .cnc-services-box,
  .cnc-cad-box{
    padding:18px;
  }

  .why-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .work-track{
    grid-auto-columns:100%;
  }

  .work-card{
    height:280px;
    min-height:280px;
  }

  .footer-wrap{
    padding:24px;
  }

  .about-info-card{
    padding:18px;
  }

  .about-info-row strong{
    font-size:18px;
  }

  .about-partners{
    gap:8px;
  }

  .about-partners span{
    font-size:12px;
    padding:8px 10px;
  }

  .footer-map-frame iframe{
    height:260px;
  }

  .footer-socials{
    gap:8px;
  }

  .footer-social{
    width:40px;
    height:40px;
  }
}

#mainContainer {
  padding-top: 0 !important;
}