:root{
  --navy:#07101e;
  --navy2:#0b1729;
  --blue:#0d6efd;
  --yellow:#ffbd00;
  --text:#0b1322;
  --muted:#697386;
  --line:#e7ebf1;
  --soft:#f4f7fb;
  --white:#fff;
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
.wrap{width:min(1180px,calc(100% - 34px));margin:auto}

.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(14,27,47,.08);
}
.nav{
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.logo{
  font-weight:850;
  letter-spacing:.20em;
  font-size:22px;
  white-space:nowrap;
}
.logo sup{
  color:#e5a500;
  font-size:9px;
  letter-spacing:0;
}
.navlinks{
  display:none;
  gap:26px;
  align-items:center;
  font-size:14px;
  font-weight:650;
}
.nav-cta{
  padding:10px 15px;
  background:var(--navy);
  color:#fff;
  border-radius:999px;
  font-size:13px;
  font-weight:750;
}

.hero{
  background:
    radial-gradient(circle at 84% 30%,rgba(34,110,224,.22),transparent 32%),
    linear-gradient(145deg,#07101e,#0b1729 70%,#0e2442);
  color:#fff;
  overflow:hidden;
}
.hero-inner{
  min-height:660px;
  padding:70px 0 48px;
  display:grid;
  align-items:center;
  gap:42px;
}
.eyebrow{
  color:#ffbd00;
  font-size:12px;
  font-weight:850;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.hero h1{
  font-size:clamp(44px,12vw,76px);
  line-height:.98;
  letter-spacing:-.055em;
  margin:16px 0 22px;
  max-width:760px;
}
.hero-lead{
  color:#bac6d7;
  font-size:18px;
  max-width:690px;
  margin:0;
}
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}
.btn{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:12px;
  font-weight:800;
  font-size:14px;
}
.btn-primary{background:#fff;color:#07101e}
.btn-outline{border:1px solid rgba(255,255,255,.28);color:#fff}

.hero-visual{
  background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.14);
  border-radius:28px;
  padding:24px;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
}
.visual-top{
  display:flex;
  justify-content:space-between;
  color:#a9bad0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
}
.visual-stage{
  margin-top:22px;
  min-height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  border-radius:18px;
  background:radial-gradient(circle at 50% 65%,rgba(17,101,214,.28),transparent 40%);
}
.light-line{
  position:absolute;
  width:39%;
  height:94px;
  border-top:9px solid #fff;
  border-radius:90% 10% 0 0;
  filter:drop-shadow(0 0 12px rgba(255,255,255,.75));
}
.light-left{left:5%;transform:rotate(-8deg)}
.light-right{right:5%;transform:scaleX(-1) rotate(-8deg)}
.center-badge{
  width:68px;height:68px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:var(--yellow);
  background:rgba(4,15,30,.65);
}
.visual-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid rgba(255,255,255,.12);
}
.visual-stats div{
  padding:18px 8px 5px;
  color:#9fb0c5;
  font-size:12px;
}
.visual-stats strong{
  display:block;
  color:#fff;
  font-size:14px;
  margin-bottom:3px;
}

.section{padding:78px 0}
.section-soft{background:var(--soft)}
.section-dark{background:var(--navy);color:#fff}
.section-head{margin-bottom:32px}
.kicker{
  color:#1268d3;
  font-weight:850;
  letter-spacing:.12em;
  font-size:12px;
  text-transform:uppercase;
}
.section-dark .kicker{color:#ffbd00}
.section h2{
  font-size:clamp(34px,8vw,54px);
  line-height:1.05;
  letter-spacing:-.04em;
  margin:10px 0 14px;
}
.section-lead{
  color:var(--muted);
  max-width:760px;
  font-size:17px;
}
.section-dark .section-lead{color:#aab8cb}

.grid4{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.business-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
}
.card-visual{
  height:185px;
  padding:18px;
  background:linear-gradient(145deg,#eaf1fb,#f8fafc);
  position:relative;
}
.card-copy{padding:22px}
.card-no{
  color:#8c98aa;
  font-size:12px;
  font-weight:850;
  letter-spacing:.12em;
}
.card-copy h3{font-size:22px;margin:8px 0 9px}
.card-copy p{margin:0;color:var(--muted);font-size:14px}
.card-meta{
  display:inline-block;
  margin-top:17px;
  color:#0b67d0;
  font-size:11px;
  font-weight:850;
  letter-spacing:.10em;
}

.pcb{
  position:absolute;
  inset:35px 30px;
  border:2px solid #699ad8;
  border-radius:14px;
}
.pcb:before,.pcb:after{
  content:"";
  position:absolute;
  background:#7ca8dd;
}
.pcb:before{width:44%;height:30%;left:28%;top:35%;border-radius:6px}
.pcb:after{height:2px;width:82%;left:9%;top:22%;box-shadow:0 80px 0 #7ca8dd}

.drl-visual{
  position:absolute;inset:0;
  background:linear-gradient(145deg,#07101e,#12263f);
}
.drl-visual:before,.drl-visual:after{
  content:"";
  position:absolute;
  width:34%;
  height:80px;
  top:65px;
  border-top:8px solid #ffd02e;
  border-radius:90% 10% 0 0;
  filter:drop-shadow(0 0 12px rgba(255,202,27,.75));
}
.drl-visual:before{left:10%;transform:rotate(-7deg)}
.drl-visual:after{right:10%;transform:scaleX(-1) rotate(-7deg)}

.display-unit{
  position:absolute;
  width:160px;
  height:105px;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  border-radius:28px;
  background:linear-gradient(145deg,#081729,#163b68);
  box-shadow:0 16px 30px rgba(9,40,84,.2);
}
.display-unit:after{
  content:"TUPUSI";
  position:absolute;
  inset:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  color:#fff;
  font-size:17px;
  font-weight:850;
  letter-spacing:.12em;
  background:radial-gradient(circle,#1e77d8,#07101e 70%);
}

.process-mini{
  height:100%;
  display:grid;
  grid-template-columns:1fr 18px 1fr 18px 1fr;
  align-items:center;
  gap:5px;
}
.process-mini div{
  min-height:72px;
  border-radius:12px;
  background:#fff;
  border:1px solid #dce5f0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:11px;
  font-weight:800;
  color:#49627f;
}
.process-mini span{text-align:center;color:#0d6efd;font-weight:900}

.products{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
}
.product-image{
  min-height:210px;
  position:relative;
  overflow:hidden;
}
.product-image.dark{background:linear-gradient(145deg,#06101c,#143152)}
.product-image.yellow{background:linear-gradient(145deg,#131923,#342d12)}
.product-image.tech{background:linear-gradient(145deg,#e9eef5,#f8fafc)}
.product-image.screen{background:linear-gradient(145deg,#07101e,#143e70)}
.product-copy{padding:20px}
.product-copy small{font-weight:800;color:#637187}
.product-copy h3{margin:6px 0;font-size:20px}
.product-copy p{margin:0;color:var(--muted);font-size:14px}

.glow-white,.glow-yellow{
  position:absolute;
  width:72%;
  height:100px;
  left:14%;
  top:70px;
  border-top:10px solid #fff;
  border-radius:80% 80% 0 0;
  filter:drop-shadow(0 0 14px rgba(255,255,255,.8));
}
.glow-yellow{
  border-top-color:#ffd11c;
  filter:drop-shadow(0 0 14px rgba(255,205,28,.85));
}
.module{
  position:absolute;
  width:150px;
  height:90px;
  background:#ced7e2;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  border-radius:12px;
  border:1px solid #9aa9ba;
  box-shadow:0 16px 30px rgba(28,44,64,.15);
}
.module:before{
  content:"";
  position:absolute;
  inset:14px;
  background:#315b84;
  border-radius:8px;
}
.screen-logo{
  position:absolute;
  width:150px;height:150px;
  border-radius:50%;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.22);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;font-weight:900;letter-spacing:.12em;
  color:#fff;
  background:radial-gradient(circle,#0b73d5,#06101c 70%);
}

.engineering-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:28px;
}
.eng-item{
  padding:20px 16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  min-height:120px;
}
.eng-item strong{display:block;font-size:16px;margin-bottom:6px}
.eng-item span{font-size:13px;color:#9dacbf}

.steps{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:30px;
}
.step{
  padding:20px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
}
.step b{color:#0d6efd;margin-right:10px}
.step span{font-weight:800}
.step p{color:var(--muted);font-size:13px;margin:7px 0 0}

.about-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
}
.contact-card{
  padding:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
}
.contact-card strong{display:block;margin-bottom:5px}
.contact-card p{margin:0;color:var(--muted)}

footer{
  background:#07101e;
  color:#fff;
  padding:38px 0;
}
.footer-grid{
  display:grid;
  gap:22px;
}
.footer-logo{font-weight:850;letter-spacing:.18em;font-size:19px}
.footer-copy{color:#92a1b5;font-size:13px;max-width:430px}
.footer-links{display:flex;gap:18px;flex-wrap:wrap;font-size:13px}
.copyright{
  color:#7f8ea1;
  font-size:12px;
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
}

@media(min-width:760px){
  .navlinks{display:flex}
  .hero-inner{grid-template-columns:1.05fr .95fr}
  .grid4{grid-template-columns:repeat(2,1fr)}
  .products{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
  .about-grid{grid-template-columns:1.2fr .8fr}
  .footer-grid{grid-template-columns:1.4fr .6fr}
}
@media(min-width:1050px){
  .grid4{grid-template-columns:repeat(4,1fr)}
  .products{grid-template-columns:repeat(4,1fr)}
  .engineering-grid{grid-template-columns:repeat(4,1fr)}
}

/* ===== Mobile navigation + hero refinement ===== */

.mobile-menu{
  display:block;
  position:relative;
}

.mobile-menu summary{
  list-style:none;
  cursor:pointer;
  min-width:86px;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#07101e;
  color:#fff;
  font-size:14px;
  font-weight:800;
}

.mobile-menu summary::-webkit-details-marker{
  display:none;
}

.mobile-menu-panel{
  position:absolute;
  top:56px;
  right:0;
  width:min(290px,calc(100vw - 34px));
  padding:10px;
  background:#fff;
  border:1px solid #e5eaf0;
  border-radius:18px;
  box-shadow:0 20px 55px rgba(7,16,30,.18);
}

.mobile-menu-panel a{
  display:block;
  padding:13px 14px;
  border-radius:11px;
  color:#0b1322;
  font-size:15px;
  font-weight:700;
}

.mobile-menu-panel a:hover{
  background:#f3f6fa;
}

@media(max-width:759px){

  .nav{
    min-height:68px;
  }

  .logo{
    font-size:21px;
  }

  .nav-cta{
    display:none;
  }

  .hero-inner{
    min-height:auto;
    padding:52px 0 38px;
    gap:28px;
  }

  .hero h1{
    font-size:clamp(44px,12vw,56px);
    line-height:1;
    margin:14px 0 20px;
  }

  .hero-lead{
    font-size:17px;
    line-height:1.55;
  }

  .actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:26px;
  }

  .actions .btn{
    width:100%;
    min-height:50px;
  }

  .hero-visual{
    padding:17px;
    border-radius:22px;
  }

  .visual-top{
    gap:18px;
    font-size:9px;
    line-height:1.5;
  }

  .visual-stage{
    min-height:160px;
    margin-top:14px;
  }

  .light-line{
    height:68px;
    border-top-width:7px;
  }

  .center-badge{
    width:54px;
    height:54px;
  }

  .visual-stats div{
    padding:14px 6px 3px;
  }

  .section{
    padding:58px 0;
  }

  .section h2{
    font-size:38px;
  }
}

@media(min-width:760px){
  .mobile-menu{
    display:none;
  }

  .nav-cta{
    display:inline-flex;
  }
}


/* ===== Real hero image ===== */

.hero-visual{
  min-height:390px;
  background:
    linear-gradient(180deg,rgba(4,12,24,.08),rgba(4,12,24,.28)),
    url('/assets/images/hero.webp');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border:1px solid rgba(255,255,255,.16);
}

.hero-visual > *{
  display:none;
}

@media(max-width:759px){
  .hero-visual{
    min-height:300px;
    background-position:center center;
  }
}


/* ===== Real product photography ===== */

.products .product-card:nth-child(1) .product-image{
  background:
    linear-gradient(180deg,rgba(4,12,24,.03),rgba(4,12,24,.18)),
    url('/assets/images/bmw-g80-main.webp');
  background-size:cover;
  background-position:center;
}

.products .product-card:nth-child(2) .product-image{
  background:
    linear-gradient(180deg,rgba(4,12,24,.02),rgba(4,12,24,.15)),
    url('/assets/images/bmw-g80-front.webp');
  background-size:cover;
  background-position:center;
}

.products .product-card:nth-child(3) .product-image{
  background:
    linear-gradient(180deg,rgba(4,12,24,.02),rgba(4,12,24,.12)),
    url('/assets/images/bmw-drl-closeup.webp');
  background-size:cover;
  background-position:center;
}

.products .product-card:nth-child(4) .product-image{
  background:
    linear-gradient(180deg,rgba(4,12,24,.02),rgba(4,12,24,.12)),
    url('/assets/images/bmw-drl-detail.webp');
  background-size:cover;
  background-position:center;
}

/* Hide old placeholder graphics */
.products .product-image .glow-white,
.products .product-image .glow-yellow,
.products .product-image .module,
.products .product-image .screen-logo{
  display:none;
}

@media(max-width:759px){
  .product-image{
    min-height:245px;
  }

  .products .product-card:nth-child(1) .product-image,
  .products .product-card:nth-child(2) .product-image{
    background-position:center center;
  }
}

