*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#071d39;background:#fff}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.topbar{background:#031b36;color:#dce8f5;font-size:13px}.topbar-inner{height:36px;display:flex;align-items:center;justify-content:space-between}.topbar a{color:#fff;text-decoration:none}.sep{margin:0 10px}.nav{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #e5ebf1}.nav-inner{height:78px;display:flex;align-items:center;gap:28px}.brand img{width:235px;height:68px;object-fit:contain}.links{display:flex;gap:27px;margin-left:auto}.links a{color:#0b2341;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase}.langs{display:flex;gap:5px}.langs button{border:0;background:none;font-weight:700;color:#718096;cursor:pointer}.langs .active{color:#0876cf}.menu-btn{display:none;margin-left:auto;border:0;background:none;font-size:26px}.hero{position:relative;min-height:610px;background:#061d36;color:#fff;overflow:hidden}.hero-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(2,19,37,.99) 0%,rgba(2,25,49,.94) 43%,rgba(2,25,49,.42) 70%,rgba(2,25,49,.14) 100%),url("https://images.pexels.com/photos/34207359/pexels-photo-34207359.jpeg?auto=compress&cs=tinysrgb&w=1800");background-size:cover;background-position:center right}.hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,28,53,.03),rgba(4,28,53,.28))}.hero-content{position:relative;padding:95px 0 75px}.eyebrow,.kicker,.section-head span{font-size:13px;font-weight:800;letter-spacing:2px;color:#23a5ff}.hero h1{font-size:54px;line-height:1.03;margin:15px 0 24px;max-width:800px}.hero p{font-size:18px;line-height:1.65;max-width:680px;color:#dbe8f4}.metrics{display:flex;gap:36px;margin:35px 0}.metrics div{display:flex;flex-direction:column;border-left:2px solid #159cf5;padding-left:13px}.metrics strong{font-size:20px}.metrics span{font-size:10px;letter-spacing:.7px;margin-top:5px}.actions{display:flex;gap:12px}.btn{display:inline-block;padding:15px 23px;text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.5px}.primary{background:#0877d1;color:#fff}.ghost{border:1px solid #fff;color:#fff}.services{padding:80px 0}.section-head{max-width:720px;margin-bottom:36px}.section-head h2,.about h2,.safety h2,.contact h2{font-size:38px;margin:8px 0 12px}.section-head p,.about p,.safety p,.contact p{line-height:1.7;color:#64748b}.service-grid{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #dfe7ef}.service-grid article{padding:28px 22px;border-right:1px solid #dfe7ef;min-height:240px}.service-grid article:last-child{border-right:0}.icon{font-size:32px;color:#0877d1}.service-grid h3{font-size:16px;margin:20px 0 10px}.service-grid p{font-size:13px;line-height:1.6;color:#64748b}.about{background:#f4f7fa;padding:80px 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:80px}.projects{background:#041e39;padding:85px 0;color:#fff}.section-head.light p{color:#b8c8d8}.country-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.country-grid div{padding:28px;border:1px solid #31516d;background:linear-gradient(135deg,#092946,#0d375b);display:flex;flex-direction:column;min-height:125px;justify-content:flex-end}.country-grid b{font-size:22px}.country-grid span{font-size:12px;color:#bcd0e2;margin-top:7px}.safety{padding:85px 0;display:grid;grid-template-columns:180px 1fr;align-items:center;gap:55px}.safety-mark{width:150px;height:150px;border:15px solid #0877d1;border-radius:50%;display:grid;place-items:center;font-size:70px;font-weight:900;color:#0877d1}.contact{background:#edf4f9;padding:85px 0}.contact-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:80px;align-items:center}.contact-card{background:#061f3b;color:#fff;padding:38px;display:flex;flex-direction:column;gap:13px}.contact-card a{color:#fff;text-decoration:none}.contact-card .btn{margin-top:12px;text-align:center}footer{background:#02162b;color:#b8c6d4;padding:25px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;font-size:12px}.footer-inner img{width:135px;height:50px;object-fit:contain;background:#fff}
@media(max-width:900px){.links{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:25px 30px;flex-direction:column;border-bottom:1px solid #ddd}.links.open{display:flex}.menu-btn{display:block}.langs{margin-left:0}.hero h1{font-size:40px}.service-grid{grid-template-columns:1fr 1fr}.service-grid article{border-bottom:1px solid #dfe7ef}.split,.contact-grid{grid-template-columns:1fr;gap:30px}.country-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.topbar-inner{height:auto;padding:8px 0;display:block}.topbar-inner>div{margin-top:4px}.nav-inner{height:68px}.brand img{width:135px;height:55px}.links{top:68px}.hero{min-height:auto}.hero-content{padding:70px 0}.hero h1{font-size:34px}.hero p{font-size:16px}.metrics{flex-direction:column;gap:15px}.service-grid,.country-grid{grid-template-columns:1fr}.safety{grid-template-columns:1fr}.safety-mark{width:110px;height:110px;font-size:50px}.section-head h2,.about h2,.safety h2,.contact h2{font-size:30px}.footer-inner{flex-direction:column;gap:15px}.langs{gap:1px}}
.country-grid .flag{font-style:normal;font-size:38px;line-height:1;margin-bottom:auto;filter:drop-shadow(0 3px 6px rgba(0,0,0,.25))}.country-grid div{transition:transform .2s ease,border-color .2s ease}.country-grid div:hover{transform:translateY(-4px);border-color:#159cf5}

.flag-img{width:60px;height:36px;object-fit:cover;border-radius:3px;margin-bottom:18px;box-shadow:0 5px 14px rgba(0,0,0,.25);display:block}
.country-grid div{position:relative;overflow:hidden}
.country-grid div:after{content:"";position:absolute;width:120px;height:120px;border:1px solid rgba(85,168,255,.10);border-radius:50%;right:-45px;bottom:-60px}

/* ROMATEN V4 - user-selected imagery */
.service-card{padding:0!important;overflow:hidden;display:flex;flex-direction:column}
.service-photo{height:190px;background-size:cover;background-position:center;position:relative;transition:transform .45s ease}
.service-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,24,45,.02),rgba(4,24,45,.72))}
.service-card:hover .service-photo{transform:scale(1.035)}
.service-card h3,.service-card p,.service-card .service-icon{margin-left:24px;margin-right:24px}
.service-card .service-icon{margin-top:22px}
.service-card p{margin-bottom:26px}

#projects{position:relative;overflow:hidden}
#projects:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.08;background-position:center;background-repeat:no-repeat;background-size:82% auto;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500'%3E%3Cg fill='none' stroke='%236db8ff' stroke-width='3'%3E%3Cpath d='M70 160L130 105l100-28 90 28 35 50-55 38-38 80-70 25-45-40-50-20zM360 105l65-42 85 12 55 50 72 5 78 55-35 45-72-8-35 42-55-12-25 75-55 55-42-40 12-75-45-55 25-48zM705 120l90-20 105 38 45 55-38 55-80 5-35-38-65-20zM770 315l72-30 80 30 25 65-65 45-85-22-38-48z'/%3E%3C/g%3E%3C/svg%3E")}
#projects .container{position:relative;z-index:1}
.experience-visual{height:245px;margin:34px 0 24px;border:1px solid rgba(119,174,224,.28);background-image:linear-gradient(90deg,rgba(7,27,52,.38),rgba(7,27,52,.72)),url("assets/images/global-experience.jpg");background-size:cover;background-position:center;border-radius:2px;box-shadow:0 18px 45px rgba(0,0,0,.18)}
@media(max-width:700px){.service-photo{height:165px}.experience-visual{height:180px}}

/* V4.1 service photography correction */
.services-grid .service-card{
  padding:0!important;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
}
.services-grid .service-photo{
  width:100%;
  height:165px;
  flex:0 0 165px;
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
}
.services-grid .service-photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,24,45,0) 35%,rgba(4,24,45,.58) 100%);
}
.services-grid .service-card:hover .service-photo{filter:brightness(1.06)}
.services-grid .service-card .service-icon,
.services-grid .service-card h3,
.services-grid .service-card p{
  margin-left:24px!important;
  margin-right:24px!important;
}
.services-grid .service-card .service-icon{margin-top:22px!important}
.services-grid .service-card p{margin-bottom:26px!important}
@media(max-width:1100px){
  .services-grid .service-photo{height:150px;flex-basis:150px}
}
@media(max-width:700px){
  .services-grid .service-photo{height:210px;flex-basis:210px}
}

/* V4.2 - rebuilt Services section */
.services-photo-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;border:1px solid #dbe4ee}
.services-photo-grid .photo-service{display:flex!important;flex-direction:column!important;padding:0!important;border:0!important;border-right:1px solid #dbe4ee!important;background:#fff!important;overflow:hidden!important;min-width:0}
.services-photo-grid .photo-service:last-child{border-right:0!important}
.services-photo-grid .service-photo{width:100%!important;height:170px!important;flex:0 0 170px!important;overflow:hidden!important;background:#0b203b!important}
.services-photo-grid .service-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;transition:transform .35s ease!important}
.services-photo-grid .photo-service:hover .service-photo img{transform:scale(1.045)}
.services-photo-grid .service-body{padding:22px 24px 26px!important;display:flex!important;flex-direction:column!important;flex:1!important}
.services-photo-grid .service-icon,.services-photo-grid h3,.services-photo-grid p{margin-left:0!important;margin-right:0!important}
.services-photo-grid .service-icon{margin-top:0!important;margin-bottom:16px!important}
.services-photo-grid h3{margin-top:0!important}
.services-photo-grid p{margin-bottom:0!important}
@media(max-width:1100px){.services-photo-grid{grid-template-columns:repeat(2,1fr)!important}.services-photo-grid .photo-service{border-bottom:1px solid #dbe4ee!important}.services-photo-grid .service-photo{height:210px!important;flex-basis:210px!important}}
@media(max-width:650px){.services-photo-grid{grid-template-columns:1fr!important}.services-photo-grid .photo-service{border-right:0!important}.services-photo-grid .service-photo{height:230px!important;flex-basis:230px!important}}

/* V4.3 - compact services + corrected translations */
.services-photo-grid .service-photo{height:145px!important;flex-basis:145px!important}
.services-photo-grid .service-body{padding:18px 20px 20px!important}
.services-photo-grid .service-icon{margin-bottom:12px!important;font-size:22px!important}
.services-photo-grid h3{font-size:18px!important;line-height:1.18!important;margin-bottom:12px!important}
.services-photo-grid p{font-size:14px!important;line-height:1.48!important}
.services-photo-grid .photo-service{min-height:420px!important}
@media(max-width:1100px){
 .services-photo-grid .service-photo{height:190px!important;flex-basis:190px!important}
 .services-photo-grid .photo-service{min-height:0!important}
}
@media(max-width:650px){
 .services-photo-grid .service-photo{height:220px!important;flex-basis:220px!important}
}

/* ==============================
   ROMATEN V5 - PREMIUM HOME
   ============================== */
#home.hero{
  min-height:720px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#061a31;
}
#home .hero-bg{
  position:absolute!important;
  inset:0!important;
  z-index:-3!important;
  background-image:
    linear-gradient(90deg,rgba(3,17,34,.99) 0%,rgba(4,25,48,.97) 36%,rgba(4,28,53,.70) 57%,rgba(4,28,53,.20) 82%,rgba(4,28,53,.10) 100%),
    url("assets/images/automation.jpg")!important;
  background-size:cover!important;
  background-position:center right!important;
}
#home .hero-bg:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.03),rgba(2,18,35,.38)),
    radial-gradient(circle at 75% 50%,rgba(36,131,218,.08),transparent 28%)!important;
}
#home .hero-inner,
#home .container{
  position:relative;
  z-index:2;
}
#home .hero-content{
  max-width:780px!important;
  padding-top:50px!important;
  padding-bottom:50px!important;
}
#home .eyebrow{
  letter-spacing:.22em!important;
  font-weight:800!important;
  color:#62aaff!important;
}
#home h1{
  font-size:clamp(46px,5.2vw,78px)!important;
  line-height:.98!important;
  letter-spacing:-.035em!important;
  max-width:900px!important;
  text-shadow:0 3px 22px rgba(0,0,0,.22);
}
#home .hero-copy{
  max-width:690px!important;
  font-size:19px!important;
  line-height:1.65!important;
  color:#e0e9f4!important;
}
#home .hero-stats{
  margin-top:34px!important;
  padding:22px 0!important;
  border-top:1px solid rgba(255,255,255,.18);
  border-bottom:1px solid rgba(255,255,255,.18);
  max-width:720px;
}
#home .hero-stats > div{
  padding-right:30px!important;
}
#home .hero-stats strong{
  font-size:25px!important;
  color:#fff!important;
}
#home .hero-stats span{
  color:#c7d6e8!important;
  letter-spacing:.055em!important;
}
#home .hero-actions{
  margin-top:30px!important;
}
#home .btn.primary{
  box-shadow:0 12px 28px rgba(39,120,218,.24);
}
#home:after{
  content:"MECHANICAL INSTALLATION  •  ROBOTIC LINES  •  SURFACE TREATMENT  •  GLOBAL PROJECTS";
  position:absolute;
  z-index:3;
  right:0;
  bottom:0;
  width:100%;
  box-sizing:border-box;
  padding:13px max(7vw,30px);
  text-align:right;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  color:rgba(255,255,255,.72);
  background:linear-gradient(90deg,rgba(5,23,43,.15),rgba(5,23,43,.82));
  border-top:1px solid rgba(255,255,255,.12);
}
@media(max-width:900px){
  #home.hero{min-height:660px}
  #home .hero-bg{background-position:62% center!important}
  #home .hero-bg:before{
    content:"";position:absolute;inset:0;background:rgba(3,18,35,.34)
  }
  #home .hero-content{max-width:100%!important}
  #home:after{text-align:left;font-size:9px;letter-spacing:.1em}
}
@media(max-width:650px){
  #home.hero{min-height:720px}
  #home h1{font-size:42px!important}
  #home .hero-copy{font-size:16px!important}
  #home .hero-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important}
  #home .hero-stats > div:last-child{grid-column:1/-1}
  #home:after{display:none}
}
