:root{
  --bg:#0B0B0B;
  --panel:#141414;
  --panel2:#0f1013;
  --text:#FFFFFF;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.62);
  --border:rgba(255,255,255,.10);
  --accent:#00A3FF;
  --shadow: 0 18px 44px rgba(0,0,0,.38);
  --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.section{padding:92px 0}
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(11,11,11,.72);
  backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:76px;gap:18px}
.brand{font-weight:900;font-size:20px;letter-spacing:.2px}
.brand .lab{color:var(--accent)}
.nav-links{display:flex;align-items:center;gap:22px;font-weight:700;font-size:14px}
.nav-links a{opacity:.82}
.nav-links a:hover{opacity:1;color:var(--accent)}
.nav-cta{display:flex;align-items:center;gap:10px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:10px;border:1px solid transparent;
  font-weight:800;font-size:14px;cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
  white-space:nowrap;
}
.btn.primary{background:var(--accent);color:#061018}
.btn.primary:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(0,163,255,.22)}
.btn.outline{background:transparent;color:var(--text);border-color:rgba(255,255,255,.22)}
.btn.outline:hover{border-color:rgba(0,163,255,.65);color:var(--accent);transform:translateY(-1px)}

.hero{
  padding:94px 0 82px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background:url("hero.jpg") center/cover no-repeat;
  filter:saturate(1.18) contrast(1.16) brightness(1.02);
  transform:scale(1.02);
}
.hero::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(11,11,11,.22) 0%, rgba(11,11,11,.38) 55%, rgba(11,11,11,.62) 100%);
}
.hero .container{position:relative;z-index:2}
.hero-center{max-width:940px;margin:0 auto;text-align:center}
.kicker{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;
  background:rgba(0,0,0,.28);
  font-weight:800;font-size:12px;color:rgba(255,255,255,.84)
}
.kicker .dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}
h1{margin:16px 0 10px;font-size:60px;line-height:1.02;letter-spacing:-.7px;text-shadow:0 10px 30px rgba(0,0,0,.55),0 2px 8px rgba(0,0,0,.55)}
.sub{margin:0 auto 14px;max-width:860px;font-size:20px;color:rgba(255,255,255,.90);font-weight:700;text-shadow:0 6px 18px rgba(0,0,0,.55)}
.desc{margin:0 auto 26px;max-width:860px;color:rgba(255,255,255,.82);font-size:16px;text-shadow:0 6px 16px rgba(0,0,0,.55)}
.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.hero-note{margin-top:18px;color:rgba(255,255,255,.68);font-size:13px}

.h2{font-size:42px;line-height:1.1;margin:0 0 10px;letter-spacing:-.4px}
.h2 small{display:block;font-size:16px;font-weight:800;color:rgba(255,255,255,.70);margin-top:10px}
.lead{color:var(--muted);max-width:900px}

.grid-2x2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:26px}
.card{
  background:linear-gradient(180deg, rgba(20,20,20,.92) 0%, rgba(15,16,19,.92) 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 0 0 rgba(0,0,0,0);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position:relative;
}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:rgba(0,163,255,.28)}
.card-media{height:210px;overflow:hidden;position:relative}
.card-media img{
  width:100%;height:100%;object-fit:cover;
  filter:saturate(1.18) contrast(1.16) brightness(1.02);
  transition:transform .45s ease;
}
.card:hover .card-media img{transform:scale(1.06)}
.card-media::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.55) 100%);
}
.card-overlay{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .25s ease;
}
.card:hover .card-overlay{opacity:1}
.card-overlay .btn{background:var(--accent);color:#061018;border-color:transparent}
.card-body{padding:18px 18px 20px}
.card-title{font-size:18px;font-weight:900;margin:0 0 8px;display:flex;gap:10px;align-items:center}
.card-icon{width:18px;height:18px;opacity:.92;flex:0 0 auto}
.card-text{color:rgba(255,255,255,.74);font-size:14px;margin:0}
.card-text .en{display:block;margin-top:6px;font-size:13px;color:rgba(255,255,255,.62)}

.split{display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center;margin-top:26px}
.panel{
  background:linear-gradient(180deg, rgba(20,20,20,.92) 0%, rgba(15,16,19,.92) 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  padding:22px;box-shadow:var(--shadow);
}
.bullets{margin:14px 0 0;padding-left:18px;color:var(--muted)}
.bullets li{margin:6px 0}
.media-frame{border:1px solid rgba(255,255,255,.10);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.media-frame img{width:100%;height:360px;object-fit:cover;filter:saturate(1.05) contrast(1.08) brightness(.82)}

.logo-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.pill{
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;padding:10px 14px;
  font-weight:900;font-size:13px;color:rgba(255,255,255,.74);
  background:rgba(0,0,0,.18)
}

.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.contact-card{
  background:linear-gradient(180deg, rgba(20,20,20,.92) 0%, rgba(15,16,19,.92) 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  padding:18px;box-shadow:var(--shadow)
}
.contact-card h3{margin:0 0 8px;font-size:16px}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

.footer{
  background:#070707;color:#fff;padding:42px 0;margin-top:30px;
  border-top:1px solid rgba(255,255,255,.08)
}
.footer a{color:#fff;opacity:.85}
.footer a:hover{opacity:1;color:var(--accent)}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}
.footer small{color:rgba(255,255,255,.7)}
.footer-links{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;font-weight:800}
.hr{height:1px;background:rgba(255,255,255,.12);margin:22px 0}

.page-hero{padding:64px 0 30px;background:linear-gradient(180deg, #0c0c0c 0%, #0f1013 100%)}
.page-hero h1{font-size:44px;margin:10px 0}
.breadcrumb{font-size:13px;color:rgba(255,255,255,.60)}
.content p{color:rgba(255,255,255,.72)}
.content h2{margin-top:30px}

@media (max-width: 900px){
  h1{font-size:38px}
  .sub{font-size:16px}
  .grid-2x2{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .contact-cards{grid-template-columns:1fr}
  .nav-links{display:none}
}

/* --- Brand strip (Mercedes-style glass) --- */
.brand-strip{
  padding: 26px 0 8px;
  margin-top: -18px;
}
.brand-strip .brand-wrap{
  display:flex;flex-wrap:wrap;gap:12px;
  justify-content:center;align-items:center;
}
.brand-badge{
  width:190px;height:64px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  display:flex;align-items:center;justify-content:center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}
.brand-badge img{
  width:190px;height:64px;object-fit:contain;
  filter: grayscale(1) brightness(1.05) contrast(1.05);
  opacity:.92;
}
.brand-badge:hover{
  transform: translateY(-2px);
  border-color: rgba(0,163,255,.35);
  box-shadow: 0 18px 46px rgba(0,163,255,.12), 0 18px 46px rgba(0,0,0,.40);
}
.brand-badge:hover img{
  filter: grayscale(.35) brightness(1.15) contrast(1.12);
  opacity:1;
}
.brand-strip .label{
  text-align:center;
  color: rgba(255,255,255,.66);
  font-weight:800;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin-bottom:14px;
}

/* --- Simple colored brand logos --- */
.brand-strip{
  padding:18px 0 8px;
}
.brand-wrap{
  display:flex;gap:26px;justify-content:center;align-items:center;flex-wrap:wrap;
}
.brand-wrap img{
  height:56px;opacity:.85;transition:transform .2s ease, opacity .2s ease, filter .2s ease;
}
.brand-wrap img:hover{
  transform:scale(1.08);
  opacity:1;
  filter:drop-shadow(0 0 12px rgba(255,255,255,.25));
}
.brand-strip .label{
  text-align:center;color:rgba(255,255,255,.65);font-weight:700;font-size:12px;letter-spacing:.2em;text-transform:uppercase;margin-bottom:12px;
}

/* --- Brand logo carousel (Porsche/Mercedes style) --- */
.brand-strip{
  overflow:hidden;
  padding:20px 0;
}
.brand-marquee{
  display:flex;
  gap:60px;
  align-items:center;
  animation: brandscroll 60s linear infinite;
}
.brand-marquee img{
  height:56px;
  opacity:.95;
  transition:transform .2s ease, filter .2s ease;
}
.brand-marquee img:hover{
  transform:scale(1.12);
  filter:drop-shadow(0 0 14px rgba(255,255,255,.35));
}
@keyframes brandscroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

/* --- Next Level upgrades --- */
.hero{
  position:relative;
}
.hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  filter:saturate(1.18) contrast(1.16) brightness(1.02);
  transform:scale(1.03);
}
.hero::before{ display:none !important; } /* disable old bg image layer if present */
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(0,163,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(11,11,11,.68) 0%, rgba(11,11,11,.86) 55%, rgba(11,11,11,.98) 100%);
}
.hero .container{ position:relative; z-index:2; }

/* Edge-to-edge logo strip */
.brand-strip{ padding:18px 0 14px; }
.brand-strip .container{ max-width:none; padding:0; }
.brand-strip .label{ padding:0 20px; }

/* Ambient moving light under logos */
.brand-strip{
  position:relative;
}
.brand-strip::after{
  content:"";
  position:absolute;
  left:-20%;
  right:-20%;
  bottom:0;
  height:3px;
  background:linear-gradient(90deg, transparent 0%, rgba(0,163,255,.0) 20%, rgba(0,163,255,.65) 50%, rgba(0,163,255,.0) 80%, transparent 100%);
  filter:blur(0.2px);
  animation: ambientSweep 4.2s ease-in-out infinite;
  opacity:.85;
}
@keyframes ambientSweep{
  0%{ transform:translateX(-20%); opacity:.35; }
  50%{ transform:translateX(20%); opacity:.95; }
  100%{ transform:translateX(-20%); opacity:.35; }
}

/* Marquee: pause on hover */
.brand-strip:hover .brand-marquee{ animation-play-state: paused; }

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:18px;
  margin-top:18px;
}

/* =========================
   Brand logos strip (FINAL)
   - One horizontal bar under the hero
   - Same background for all
   - Logos are small, consistent, no animation
   ========================= */

.brand-strip {
  padding: 14px 0;
  background: rgba(12, 16, 22, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-strip .brand-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: nowrap;              /* keep in ONE strip */
  overflow-x: auto;               /* if screen is small, allow scroll instead of wrapping */
  -webkit-overflow-scrolling: touch;
  padding: 2px 6px;
}

.brand-strip .brand-strip-inner::-webkit-scrollbar {
  height: 0;
}

.brand-strip .brand-strip-inner img {
  height: 36px;                   /* consistent size */
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: 0.92;
  filter: grayscale(100%) brightness(1.35) contrast(1.05);
}

@media (max-width: 640px) {
  .brand-strip .brand-strip-inner img {
    height: 30px;
    max-width: 100px;
  }
}
.price-card{
  background:linear-gradient(180deg, rgba(20,20,20,.92) 0%, rgba(15,16,19,.92) 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:20px;
  box-shadow: var(--shadow);
}
.price-card.highlight{
  border-color: rgba(0,163,255,.35);
  box-shadow: 0 18px 46px rgba(0,163,255,.10), var(--shadow);
}
.price-title{ font-weight:900; font-size:18px; margin-bottom:8px; }
.price-tag{ color: rgba(255,255,255,.72); font-weight:800; margin-bottom:10px; }
@media (max-width: 900px){
  .pricing-grid{ grid-template-columns:1fr; }
}

/* Restore hero background image */
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:url("hero.jpg") center/cover no-repeat;
  filter:saturate(1.18) contrast(1.16) brightness(1.02);
  transform:scale(1.02);
}

/* Hero readability */
.hero h1, .hero h2{
  text-shadow: 0 18px 60px rgba(0,0,0,.65), 0 2px 10px rgba(0,0,0,.65);
}
.hero p{
  text-shadow: 0 10px 30px rgba(0,0,0,.65);
}
.lang-switch{display:flex;gap:10px;align-items:center;margin-right:10px}
.lang-switch .lang{
  font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.25);
  color:rgba(255,255,255,.86);
  text-decoration:none;
}
.lang-switch .current{background:rgba(0,163,255,.18);border-color:rgba(0,163,255,.22)}

/* Service details (expand) */
.card-details{margin-top:10px;border-top:1px solid rgba(255,255,255,.10);padding-top:10px}
.card-details summary{cursor:pointer;font-weight:800;color:rgba(255,255,255,.88);list-style:none}
.card-details summary::-webkit-details-marker{display:none}
.card-details summary:after{content:"+";float:right;opacity:.7}
.card-details[open] summary:after{content:"–"}
.card-details ul{margin:10px 0 0 18px;color:rgba(255,255,255,.72)}



/* --- Overrides to ensure HERO image shows clearly (static upload safe) --- */
.hero { position: relative; overflow: hidden; }
.hero-media{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  filter: saturate(1.15) contrast(1.15) brightness(1.08);
  transform: scale(1.03);
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,10,16,.55) 0%, rgba(6,10,16,.65) 60%, rgba(6,10,16,.78) 100%);
  pointer-events:none;
}
.hero-content{ position: relative; z-index: 2; }
.brand-mark{ width:28px; height:28px; margin-right:10px; }
.nav-brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.lang-toggle a{ text-decoration:none; }
.service-card .more { opacity:.95; }
.modal-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.65); display:none; align-items:center; justify-content:center; z-index:9999; padding:24px; }
.modal{ max-width:820px; width:100%; background:#0b0f14; border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:20px; }
.modal h3{ margin:0 0 10px 0; }
.modal .close{ float:right; cursor:pointer; border:1px solid rgba(255,255,255,.18); background:transparent; color:#fff; border-radius:10px; padding:8px 10px; }
.modal .content{ color:rgba(255,255,255,.9); line-height:1.6; }
.modal .actions{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }


/* language pills */
.lang-toggle{ display:flex; gap:8px; margin-right:10px; }
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  font-weight:600;
}
.pill.active{ background:rgba(0,208,255,.18); border-color:rgba(0,208,255,.55); }
.services-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
@media(max-width:900px){ .services-grid{ grid-template-columns:1fr; } }
.service-card{ cursor:pointer; }
.service-actions{ display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.page-hero{ padding:56px 0 14px; }
.prose{ max-width:920px; }




/* Service cards v2 */

.service-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:14px 0 18px;
}
.service-gallery figure{
  margin:0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:#0b0f14;
}
.service-gallery img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}
.service-gallery figcaption{
  padding:10px 12px;
  font-size:13px;
  opacity:.8;
}
@media (max-width: 860px){
  .service-gallery{grid-template-columns:1fr;}
  .service-gallery img{height:220px;}
}
.note-box{
  border:1px solid rgba(27,179,255,.25);
  background:rgba(0,0,0,.25);
  border-radius:14px;
  padding:14px 16px;
  margin:10px 0 6px;
}



/* === Premium Service Cards (v3) === */
.services-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px){
  .services-grid{ grid-template-columns: 1fr; }
}
.service-card{
  display:block;
  position:relative;
  overflow:hidden;
  border-radius:16px;
  text-decoration:none;
  color:inherit;
  background: rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.service-media{
  height: 220px;
  background: rgba(0,0,0,0.25);
}
.service-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.02);
  transition: transform .35s ease;
}
.service-card:hover .service-media img{ transform: scale(1.07); }
.service-content{
  padding: 14px 16px 16px;
}
.service-content h3{
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}
.service-content p{
  margin: 0;
  opacity: .88;
  font-size: 14px;
  line-height: 1.55;
}

/* Hide old action buttons if still present anywhere */
.card-actions, .service-actions, .btn-small, .btn-small-secondary, .open-page, .quick-info{
  display:none !important;
}


/* Detail page gallery */
.detail-gallery{ margin-top: 26px; }
.detail-gallery h2{ margin:0 0 10px; }
.detail-gallery .muted{ opacity:.8; margin:0 0 14px; }
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px){
  .gallery-grid{ grid-template-columns: 1fr; }
}
.gallery-grid figure{
  margin:0;
  border-radius:14px;
  overflow:hidden;
  background: rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
}
.gallery-grid img{
  width:100%;
  height: 210px;
  object-fit: cover;
  display:block;
}
.gallery-grid figcaption{
  padding: 10px 12px 12px;
  font-size: 13px;
  opacity: .9;
}


/* Partners section */
.partner-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:stretch;
  margin-top:16px;
}
.partner-card{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
}
.partner-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius: var(--radius);
  border:1px solid var(--border);
  filter: contrast(1.05) saturate(1.05);
}
.muted{color:var(--muted); margin-top:8px}
.list{margin:0; padding-left:18px; color:var(--muted); line-height:1.6}
.btn-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}
@media (max-width: 900px){
  .partner-grid{grid-template-columns:1fr}
  .partner-media img{height:auto}
}


/* --- Service cards hover / CTA --- */
.service-card{
  position:relative;
  overflow:hidden;
  text-decoration:none;
  transform:translateY(0);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  border-color:rgba(0,180,255,.45);
}
.service-cta{
  position:absolute;
  right:18px;
  bottom:16px;
  font-weight:700;
  letter-spacing:.2px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  opacity:0;
  transform:translateY(8px);
  transition:opacity .22s ease, transform .22s ease, background .22s ease;
}
.service-card:hover .service-cta{
  opacity:1;
  transform:translateY(0);
}
.service-cta:hover{ background:rgba(0,0,0,.68); }

/* --- Extra sections (Partners / Workshops) --- */
.extra-split{
  padding:70px 0;
}
.extra-split.alt{
  padding-top:30px;
}
.split-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:center;
}
.split-grid.reverse{
  grid-template-columns:.95fr 1.05fr;
}
.split-grid.reverse .split-text{ order:2; }
.split-grid.reverse .split-media{ order:1; }
.split-text h2{ margin:0 0 10px; }
.bullet{
  margin:16px 0 22px;
  padding-left:18px;
}
.bullet li{ margin:8px 0; }
.btn-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  text-decoration:none;
  font-weight:700;
}
.btn.primary{
  background:linear-gradient(135deg, rgba(0,160,255,.95), rgba(0,120,255,.85));
  border-color:rgba(0,160,255,.55);
}
.split-media img{
  width:100%;
  height:auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}

/* responsive */
@media (max-width: 900px){
  .split-grid, .split-grid.reverse{
    grid-template-columns:1fr;
  }
  .split-grid.reverse .split-text, .split-grid.reverse .split-media{ order:unset; }
  .service-cta{ display:none; }
}



/* === Custom tweaks (v6) === */
.service-cta{display:none !important;}
.service-card{cursor:pointer; transition:transform .2s ease, box-shadow .2s ease;}
.service-card:hover{transform:translateY(-4px); box-shadow:0 18px 50px rgba(0,0,0,.55);}
.brand-logos{
  display:flex; gap:18px; align-items:center; justify-content:center;
  margin-top:18px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.22);
  border-radius:18px;
  backdrop-filter: blur(8px);
}
.brand-logos img{
  width:120px; height:54px; object-fit:contain;
  opacity:.88;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
}
@media (max-width: 720px){
  .brand-logos{flex-wrap:wrap; gap:12px;}
  .brand-logos img{width:96px; height:44px;}
}



/* === Overrides: static brand strip (no hover animation) === */
.brand-strip img{filter:grayscale(1) saturate(.6) opacity(.85); transition:none !important; transform:none !important;}
.brand-strip img:hover{filter:grayscale(1) saturate(.6) opacity(.85); transform:none !important;}
.brand-strip-inner{gap:18px; justify-content:center;}

/* FINAL OVERRIDE (logos strip): keep logos small and in one single horizontal bar */
.brand-strip{background:rgba(12,16,22,.78) !important;}
.brand-strip .brand-strip-inner,
.brand-strip-inner{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:22px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-behavior:smooth;
  padding: 6px 18px !important;
}
.brand-strip .brand-strip-inner::-webkit-scrollbar,
.brand-strip-inner::-webkit-scrollbar{height:0;}
.brand-strip .brand-strip-inner img,
.brand-strip-inner img{
  height:36px !important;
  width:auto !important;
  max-width:120px !important;
  object-fit:contain;
  opacity:.9 !important;
  filter:grayscale(1) brightness(1.35) contrast(1.05) !important;
  flex:0 0 auto;
  display:block;
}

@media (max-width: 520px){
  .brand-strip .brand-strip-inner img,
  .brand-strip-inner img{height:28px !important; max-width:92px !important;}
}


/* Legal pages */
.legal-block{max-width:900px;margin:0 auto;padding:24px 0;}
.legal-block h2{margin-top:22px;}
.legal-block h3{margin-top:18px;}
.legal-block p{line-height:1.7;}


/* --- Logo strip (static, uniform, responsive) --- */
.logo-strip{
  background: #0b0f14;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 14px 0;
}
.logo-track{
  animation: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 18px;
  flex-wrap: nowrap;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
}
@media (max-width: 720px){
  .logo-track{ overflow-x: auto; }
}
.logo-track::-webkit-scrollbar{ display:none; } /* Chrome/Safari */
.logo-strip img{
  height: 62px !important;
  width: auto !important;
  max-width: 190px;
  object-fit: contain;
  opacity: .9;
}
/* reduce size on small screens */
@media (max-width: 520px){
  .logo-strip img{ height: 44px !important; max-width: 150px; }
  .logo-track{ gap: 18px; }
}


/* animated accent line under logo strip */
.logo-strip:after{
  content:"";
  display:block;
  height:3px;
  margin-top:14px;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(23,182,255,.95), rgba(0,0,0,0));
  background-size: 220% 100%;
  animation: logoLine 2.6s linear infinite;
  opacity:.9;
}
@keyframes logoLine{
  0%{ background-position: 0% 0%; }
  100%{ background-position: 220% 0%; }
}

/* ===== Brand logo strip (override v11) ===== */
.logo-strip{
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0 18px;
  margin: 16px auto 0;
}
.logo-strip .logo-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 36px;
  flex-wrap: nowrap;
}
.logo-strip img{
  height: 78px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(0,163,255,0.18));
}
@media (max-width: 900px){
  .logo-strip .logo-row{gap: 22px;}
  .logo-strip img{height: 62px;}
}
@media (max-width: 560px){
  .logo-strip{padding: 10px 0 14px;}
  .logo-strip img{height: 52px;}
  .logo-strip .logo-row{gap: 14px;}
}
.logo-strip::after{
  content:"";
  position:absolute;
  left:-50%;
  bottom:0;
  height:3px;
  width:200%;
  background: linear-gradient(90deg, transparent 0%, rgba(0,163,255,0.0) 10%, rgba(0,163,255,0.9) 50%, rgba(0,163,255,0.0) 90%, transparent 100%);
  animation: brandLineMove 7s linear infinite;
}
@keyframes brandLineMove{0%{transform:translateX(0);}100%{transform:translateX(50%);}}


/* Tooltip for request-date / termin button */
.btn[data-tooltip]{
  position: relative;
}

.btn[data-tooltip]::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  background: rgba(10, 18, 28, 0.95);
  color: #ffffff;
  padding: 10px 12px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(0, 170, 255, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 1.35;
  width: min(520px, calc(100vw - 40px));
  max-width: 520px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 140ms ease, transform 140ms ease;
}

.btn[data-tooltip]::before{
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(0, 170, 255, 0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 51;
  transition: opacity 140ms ease, transform 140ms ease;
}

.btn[data-tooltip]:hover::after,
.btn[data-tooltip]:focus::after{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.btn[data-tooltip]:hover::before,
.btn[data-tooltip]:focus::before{
  opacity: 1;
}

/* Contact icons inside service cards / request sections */
.card-contact-icons{margin-top:10px;display:flex;gap:10px;align-items:center}
.card-contact-icons .icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.10);cursor:pointer;transition:transform .15s ease, background .15s ease}
.card-contact-icons .icon-btn:hover{transform:translateY(-1px);background:rgba(255,255,255,0.10)}
.card-contact-icons svg{width:18px;height:18px;fill:var(--accent)}
.card-contact-icons .whatsapp svg{fill:#25D366}


/* --- Legal disclaimers (brand strip + footer) --- */
.logo-disclaimer{
  max-width: 1100px;
  margin: 10px auto 0;
  padding: 0 18px 2px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  opacity: .92;
}
@media (max-width: 560px){
  .logo-disclaimer{ font-size: 12px; }
}
.footer-legal{
  margin-top: 14px;
  max-width: 1000px;
  line-height: 1.6;
  font-size: 12.5px;
  color: var(--muted);
  opacity: .92;
}
@media (max-width: 560px){
  .footer-legal{ font-size: 12px; }
}

/* Brand title styling */
.brands-title{font-family:var(--heading-font,inherit);font-size:1.35rem;font-weight:700;text-align:center;margin:14px 0 14px;color:var(--text,#e9eef6);letter-spacing:0.3px;}
/* Subtle underline for brands title */
.brands-title{display:inline-block;}
.brands-title:after{content:'';display:block;width:60px;height:2px;background:var(--accent-color,#0af);margin:8px auto 0;}

/* Center brand title */
.brands-title{text-align:center;display:block;margin:0 auto 8px;}


/* Model cards with small exterior image */
.model-grid .service-card{
  display:flex;
  align-items:center;
  gap:16px;
}
.model-grid .service-thumb{
  flex:0 0 120px;
  height:80px;
  border-radius:10px;
  overflow:hidden;
}
.model-grid .service-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media (max-width: 520px){
  .model-grid .service-card{gap:12px;}
  .model-grid .service-thumb{flex-basis:96px;height:68px;}
}


/* Model-category thumb sizing (injected) */
.service-card .service-thumb{
  width: 120px;
  height: 78px;
  flex: 0 0 120px;
  overflow: hidden;
  border-radius: 10px;
}
.service-card .service-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* Unified dark background for model sections */
.models-section,
.models-grid,
.services-section,
.service-cards,
.model-cards,
section.models,
section.services,
section.brands-models {
  background: #1A1E23 !important;
}
body, html {
  background: #1A1E23;
}



/* Gradient background for model sections */
body, html {
  background: linear-gradient(180deg, #1A1E23 0%, #252B32 100%);
}

.models-section,
.models-grid,
.services-section,
.service-cards,
.model-cards,
section.models,
section.services,
section.brands-models {
  background: linear-gradient(180deg, #1A1E23 0%, #252B32 100%) !important;
}

/* Card shadow */
.service-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.45);
}



/* Lighter diagonal gradient (45deg) */
body, html {
  background: linear-gradient(45deg, #0B0D10 0%, #3A424C 100%) !important;
}

.models-section,
.models-grid,
.services-section,
.service-cards,
.model-cards,
section.models,
section.services,
section.brands-models {
  background: linear-gradient(45deg, #0B0D10 0%, #3A424C 100%) !important;
}



/* 45deg lightened gradient background */
body, html {
  background: linear-gradient(45deg, #000000 0%, #2F343A 100%);
}

.models-section,
.models-grid,
.services-section,
.service-cards,
.model-cards,
section.models,
section.services,
section.brands-models {
  background: linear-gradient(45deg, #000000 0%, #2F343A 100%) !important;
}

/* Keep card shadow */
.service-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.45);
}



/* Clear vertical gradient (dark -> gray) */
body, html {
  background: linear-gradient(180deg, #000000 0%, #0B0D10 30%, #1A1E23 60%, #3A424C 100%) !important;
}

.models-section,
.models-grid,
.services-section,
.service-cards,
.model-cards,
section.models,
section.services,
section.brands-models {
  background: linear-gradient(180deg, #000000 0%, #0B0D10 30%, #1A1E23 60%, #3A424C 100%) !important;
}



/* Quote button under model cards */
.booking-wrapper {
  margin-top: 12px;
}

.booking-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity .2s ease, transform .2s ease;
}

.booking-mail i {
  font-size: 18px;
}

.booking-mail:hover {
  opacity: 1;
  transform: translateY(-1px);
}



/* Quote button inside modal */
.modal-quote-wrap{ margin-top: 14px; }
.modal-quote{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.modal-quote:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,1);
  transform: translateY(-1px);
}
.modal-quote-icon{
  display:inline-flex;
  width: 28px;
  height: 28px;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 8px;
  line-height: 1;
}



/* Quote button inside modal (final) */
.modal-quote-wrap{ margin-top: 14px; }
.modal-quote{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.modal-quote:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,1);
  transform: translateY(-1px);
}
.modal-quote-icon{
  display:inline-flex;
  width: 28px;
  height: 28px;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 8px;
  line-height: 1;
}



/* Rendered quote button inside modal */
.modal-quote-wrap{margin-top:14px;}
.modal-quote{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.75);
  border-radius:10px;
  text-decoration:none;
  color:#fff;
  font-weight:600;
}
.modal-quote:hover{background:rgba(255,255,255,.08);}
.modal-quote-icon{
  display:inline-flex;
  width:28px;height:28px;
  align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.55);
  border-radius:8px;
}



/* Modal quote icon SVG */
.modal-quote-icon {
  color: #fff;
}
.modal-quote-icon .icon-envelope{
  width: 16px;
  height: 16px;
  display: block;
}



/* --- Smart Key page: structured service blocks --- */
.service-blocks { margin-top: 18px; }

/* Smart Key page – section background to match the site look */
.service-block {
  padding: 18px 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

/* Glow + pop hover for image cards */
.figure-card,
.media-grid figure {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.figure-card img,
.media-grid figure img {
  transition: transform 220ms ease;
}

.figure-card:hover,
.media-grid figure:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 16px 36px rgba(0,0,0,0.50),
    0 0 24px rgba(92, 180, 255, 0.22);
}

.figure-card:hover img,
.media-grid figure:hover img {
  transform: scale(1.02);
}
.service-block { margin: 34px 0; }
.service-block h2 { margin-bottom: 10px; }
.service-block p { margin: 0 0 12px; max-width: 980px; }
.service-points { margin: 0 0 16px 18px; }
.service-points li { margin: 6px 0; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.media-grid figure,
.compare-grid figure { margin: 0; }

.media-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.media-grid figcaption,
.compare-grid figcaption {
  margin-top: 8px;
  font-size: 0.75rem;
  opacity: 0.85;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.compare-grid img {
  width: 100%;
  height:120px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* Reduce any remaining gallery images on this page */
.service-gallery img,
.gallery-grid img { height: 180px; object-fit: cover; }



/* Comparison blocks (stock key -> LCD smart key) */
.compare-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 992px){
  .compare-grid{grid-template-columns:1fr;}
}
.figure-card{
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  overflow:hidden;
}
.figure-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  display: block;
  background: rgba(255,255,255,0.92);
  padding: 10px;
}
.figure-caption{
  font-size: 12px;
  opacity: 0.85;
  padding: 10px 12px 12px;
}



/* --- Smart Key upgrade arrows & multi-image groups --- */
.upgrade-grid{
  display:grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 18px;
  align-items:center;
  margin-top: 18px;
}
.upgrade-grid--sides-equal{
  grid-template-columns: 1fr 90px 1fr;
}
.upgrade-side{
  width:100%;
}
.upgrade-arrow{
  height: 6px;
  width: 100%;
  position: relative;
  background: linear-gradient(90deg, rgba(25,255,179,0.0), rgba(25,255,179,0.85), rgba(25,255,179,0.0));
  border-radius: 99px;
  filter: drop-shadow(0 6px 14px rgba(25,255,179,0.18));
}
.upgrade-arrow:after{
  content:"";
  position:absolute;
  right:-6px;
  top:50%;
  transform: translateY(-50%);
  border-left: 18px solid rgba(25,255,179,0.9);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.media-grid--tight{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px){
  .upgrade-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .upgrade-arrow{
    height: 46px;
    width: 6px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(25,255,179,0.0), rgba(25,255,179,0.85), rgba(25,255,179,0.0));
  }
  .upgrade-arrow:after{
    right: 50%;
    top: auto;
    bottom: -12px;
    transform: translateX(50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 18px solid rgba(25,255,179,0.9);
    border-bottom: none;
  }
  .media-grid--tight{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px){
  .media-grid--tight{
    grid-template-columns: 1fr;
  }
}


/* Smart Key page v3 overrides */
#replacement-key .media-grid img{height:105px;}
/* Keep 3 images in one row on desktop for tight grids */
.media-grid--tight{
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media (max-width: 992px){
  .upgrade-grid{grid-template-columns: 1fr !important;}
  .upgrade-arrow{display:none !important;}
  .media-grid--tight{grid-template-columns: repeat(2, minmax(0, 1fr)) !important;}
}
@media (max-width: 520px){
  .media-grid--tight{grid-template-columns: 1fr !important;}
}

/* Professional card look + colored backgrounds for sections 1-3 */
#replacement-key .figure-card,
#upgrade-pushstart .figure-card,
#oem-to-lcd .figure-card{
  background: linear-gradient(135deg, rgba(45,140,255,0.18), rgba(0,210,140,0.14));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
#replacement-key .figure-card img,
#upgrade-pushstart .figure-card img,
#oem-to-lcd .figure-card img{
  background: transparent;
  padding: 0;
  height: 105px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.25));
}

/* Slightly smaller captions on mobile */
@media (max-width: 520px){
  .figure-caption{font-size: 11px;}
}

/* Section 2 & 3: reduce image height a bit so 3 fit nicely */
#upgrade-pushstart .figure-card img,
#oem-to-lcd .figure-card img{height:95px;}


/* Smart Key page v3 id fix */
#push-start-upgrade .figure-card,
#stock-to-lcd .figure-card{
  background: linear-gradient(135deg, rgba(45,140,255,0.18), rgba(0,210,140,0.14));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
#push-start-upgrade .figure-card img,
#stock-to-lcd .figure-card img{
  background: transparent;
  padding: 0;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.25));
  height:95px;
}


/* ---- Smart Key Layout Improvements (User Requested) ---- */

/* Lighter card backgrounds */
.smart-card, .smart-box, .smart-tile, .key-card, .card, .box {
    background: linear-gradient(135deg, rgba(0, 170, 200, 0.15), rgba(0, 200, 150, 0.15)) !important;
    border: none;
}

/* Make images fill entire card space */
.smart-card img,
.smart-box img,
.key-card img,
.card img,
.box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    background: transparent !important;
}

/* Mobile improvements */
@media (max-width: 768px) {
    .smart-row {
        flex-wrap: wrap !important;
    }
    .smart-row > div {
        flex: 1 1 48% !important;
    }
}


/* ---- Smart Key v5 fixes (fill cards, remove white padding/background, lighter tiles) ---- */
.figure-card{
  background: linear-gradient(135deg, rgba(0, 170, 200, 0.10), rgba(0, 200, 150, 0.10)) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 16px !important;
}

/* Fill card area with image (no padding / no white bg) */
.figure-card img{
  display:block !important;
  width: 100% !important;
  height: clamp(190px, 22vw, 320px) !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
}

/* Keep captions readable */
.figure-caption{
  background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15)) !important;
  backdrop-filter: blur(4px);
}

/* Section 2: smaller "before" side, bigger "after" side */
.upgrade-grid{
  grid-template-columns: 0.78fr 90px 1.22fr !important;
}

/* Right-side (after arrow) show 3 images in one row on desktop */
.media-grid--tight{
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

/* Mobile: stack nicely */
@media (max-width: 800px){
  .upgrade-grid{
    grid-template-columns: 1fr !important;
  }
  .upgrade-arrow{
    transform: rotate(90deg);
    margin: 8px 0 14px;
  }
  .media-grid--tight{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .figure-card img{
    height: 210px !important;
  }
}
@media (max-width: 520px){
  .media-grid--tight{
    grid-template-columns: 1fr !important;
  }
  .figure-card img{
    height: 240px !important;
  }
}


/* --- Global proportional resize for Smart Key cards (user request) --- */
.smart-card, .smart-box, .smart-tile, .key-card, .card, .box {
    transform: scale(0.9);
    transform-origin: top center;
}

/* Keep layout gaps consistent after scaling */
.smart-row, .card-row, .box-row {
    gap: 12px;
}


/* --- Updated proportional resize: 15% smaller --- */
.smart-card, .smart-box, .smart-tile, .key-card, .card, .box {
    transform: scale(0.85) !important;
    transform-origin: top center;
}


/* --- Extra resize for Section 1 only (additional 5%) --- */
.smart-section:nth-of-type(1) .smart-card,
.smart-section:nth-of-type(1) .smart-box,
.smart-section:nth-of-type(1) .smart-tile {
    transform: scale(0.95) !important;
    transform-origin: top center;
}


/* --- Smart Key: professional hover + section actions --- */
.smart-card, .smart-box, .smart-tile, .key-card, .card, .box {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  border-radius: 16px;
  overflow: hidden;
}

.smart-card:hover, .smart-box:hover, .smart-tile:hover, .key-card:hover, .card:hover, .box:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  filter: saturate(1.02);
}

.smart-section-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.smart-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.smart-action:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}

.smart-action .icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,170,200,.28), rgba(0,200,150,.28));
}

.smart-info details {
  width: 100%;
}

.smart-info details > summary {
  list-style: none;
}
.smart-info details > summary::-webkit-details-marker { display:none; }

.smart-info-panel {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .smart-section-actions { gap: 10px; }
  .smart-action { width: 100%; justify-content: flex-start; }
}


/* --- Smart Key: icons under images + info panel above images --- */
.smart-info-toggle{ display:none; }

.smart-info-panel-top{
  display:none;
  margin: 14px 0 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  line-height: 1.5;
}

.smart-info-toggle:checked + .smart-info-panel-top{ display:block; }

.smart-section-icons{
  margin-top: 12px;
}

/* Make icon buttons consistent with site */
.smart-section-icons .icon-btn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

/* Keep text link next to icons if needed later */
.smart-section-icons .action-text{
  font-size: 14px;
  color: rgba(255,255,255,.78);
}


/* --- Fix Info toggle display (checkbox then panel) --- */
.smart-info-toggle:checked + .smart-info-panel-top { 
  display: block !important; 
}


/* --- Info panel overlay over images (slide) --- */
.smart-row-with-overlay{
  position: relative;
}

.smart-row-with-overlay .smart-info-toggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.smart-row-with-overlay .smart-info-panel-top{
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 50;
  display: block !important; /* we control visibility via max-height/opacity */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height .28s ease, opacity .22s ease, transform .28s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* When checked: slide open (over images, no layout shift) */
.smart-row-with-overlay .smart-info-toggle:checked + .smart-info-panel-top{
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  overflow: auto;
}

/* Ensure cards sit under overlay */
.smart-row-with-overlay > .smart-card,
.smart-row-with-overlay > .card,
.smart-row-with-overlay > .box{
  position: relative;
  z-index: 1;
}


/* --- Darker background for info overlay (better text contrast) --- */
.smart-row-with-overlay .smart-info-panel-top{
  background: rgba(0, 0, 0, 0.75) !important;
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* --- Option 1 banner (fills bottom grey area) --- */
.smart-banner{
  margin: 18px 0 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(10,35,75,.88), rgba(0,120,95,.68));
}
.smart-banner-inner{
  padding: 22px 22px 18px;
}
.smart-banner h3{
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: .2px;
}
.smart-banner p{
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
}
.smart-banner-icons{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.smart-banner-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
}
.smart-banner-emoji{
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}
.smart-banner-text{
  color: rgba(255,255,255,.86);
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 768px){
  .smart-banner-inner{ padding: 18px 16px 14px; }
  .smart-banner h3{ font-size: 18px; }
  .smart-banner-text{ white-space: normal; }
}


/* --- Smart banner placed inside existing spacer (no extra page height) --- */
.section.smart-banner-wrap{
  padding: 22px 0 !important; /* override big 92px spacer */
}

.smart-banner{
  margin: 0 !important; /* avoid adding extra spacing */
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(8,28,60,.90), rgba(0,118,96,.70));
}

.smart-banner-inner{ padding: 22px 22px 18px; }

.smart-banner h3{
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: .2px;
}

.smart-banner p{
  margin: 0 0 14px;
  color: rgba(255,255,255,.84);
}

.smart-banner-icons{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.smart-banner-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
}

.smart-banner-svg{
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
}
.smart-banner-svg svg{ width: 18px; height: 18px; fill: currentColor; }

.smart-banner-text{
  color: rgba(255,255,255,.88);
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 768px){
  .section.smart-banner-wrap{ padding: 18px 0 !important; }
  .smart-banner-inner{ padding: 18px 16px 14px; }
  .smart-banner h3{ font-size: 18px; }
  .smart-banner-text{ white-space: normal; }
}


/* === Clodia Modal (Hero) === */
.clodia-trigger{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  position:relative;
}
.clodia-trigger__img{
  width:22px;
  height:22px;
  object-fit:cover;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}
.clodia-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}
.clodia-modal.is-open{ display:block; }
.clodia-modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.clodia-modal__dialog{
  position:relative;
  /* Keep the portrait video fully inside the viewport */
  aspect-ratio: 9 / 16;
  height: min(90vh, 900px);
  width: auto;
  max-width: 520px;
  margin: 4vh auto 0;
  background:rgba(10,10,12,.65);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 22px 70px rgba(0,0,0,.55);
}
.clodia-modal__video-wrap{  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 80vh;

  background:#000;
}
.clodia-modal__video{
  width:100%;
  height:100%;
  display:block;
  object-fit: contain;
}
.clodia-modal__close{
  position:absolute;
  top:10px;
  right:12px;
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.35);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.clodia-modal__close:hover{ background:rgba(0,0,0,.55); }
html.clodia-modal-open{ overflow:hidden; }



/* === Clodia modal (responsive + cinematic) === */
.clodia-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:min(6vh,48px) 16px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility 0s linear .25s;
}
.clodia-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .25s ease;
}
.clodia-modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.clodia-modal__dialog{
  position:relative;
  width:min(92vw,460px);
  max-height: min(90vh, 900px);
  margin: 4vh auto 0;
  border-radius:22px;
  overflow:hidden;
  background:rgba(10,10,10,.55);
  box-shadow:0 28px 80px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
  transform:translateY(18px) scale(.98);
  opacity:0;
  transition:transform .28s ease, opacity .28s ease;
}
.clodia-modal.is-open .clodia-modal__dialog{
  transform:translateY(0) scale(1);
  opacity:1;
}
.clodia-modal__close{
  position:absolute;
  top:10px;
  right:12px;
  z-index:2;
  width:36px;
  height:36px;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:22px;
  line-height:32px;
  cursor:pointer;
}
.clodia-modal__video-wrap{  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 80vh;

  padding:18px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.clodia-modal__video{
  width:100%;
  height:auto;
  max-height:calc(min(90vh,820px) - 36px);
  object-fit:contain;
  background:#000;
  border-radius:16px;
  outline:none;
}

/* Bigger on desktop, still safe */
@media (min-width: 980px){
  .clodia-modal__dialog{
    width:min(70vw,520px);
  }
  .clodia-modal__video{
    max-height:calc(min(86vh,860px) - 36px);
  }
}


/* --- Clodia modal sizing + centering tweaks (desktop-first) --- */
.clodia-modal{
  padding: 18px 14px !important;
}
.clodia-modal__overlay{
  background: rgba(0,0,0,.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}
.clodia-modal__dialog{
  width: auto !important;
  max-width: 520px;
  padding: 14px !important;
  margin: 4vh auto 0;
}
.clodia-modal__video-wrap{
  /* Let the video be the star: tall portrait and centered */
  aspect-ratio: 9 / 16 !important;
  width: auto !important;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 80vh;
  max-width: 92vw !important;
}
.clodia-modal__video{
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 520px){
  .clodia-modal{ padding: 12px !important; }
  .clodia-modal__video-wrap{  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 80vh;
 }
}


/* === FINAL: Clodia cinematic popup (WOW B / Premium A) === */
html.clodia-hero-active .hero-media{
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media{ transition: transform .35s ease, filter .35s ease; }

.clodia-modal{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding: 16px 14px !important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility 0s linear .28s;
}
.clodia-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .28s ease;
}
.clodia-modal__overlay{
  background: rgba(0,0,0,.66) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}
.clodia-modal__dialog{
  width: min(520px, 92vw) !important; /* Premium A (bigger, safe) */
  max-height: 92vh !important;
  margin: 0 !important;
  padding: 10px !important;          /* less padding = bigger video */
  border-radius: 22px !important;
  background: rgba(10,10,12,.52) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.58) !important;
  transform: translateY(18px) scale(.97);
  opacity: 0;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .32s ease;
}
.clodia-modal.is-open .clodia-modal__dialog{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.clodia-modal__video-wrap{
  padding: 0 !important;
  width: 100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background: transparent !important;
}
.clodia-modal__video{
  width:100% !important;
  height:auto !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  border-radius: 18px !important;
  background: #000 !important;
  box-shadow: 0 10px 35px rgba(0,0,0,.35) !important;
}

/* Close button: hidden until user interacts */
.clodia-modal__close{
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .22s ease !important;
}
.clodia-modal.clodia-user-active .clodia-modal__close{
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 520px){
  .clodia-modal__dialog{
    width: min(92vw, 420px) !important;
    padding: 8px !important;
  }
  .clodia-modal__video{ border-radius: 16px !important; }
}


/* Discover Truth CTA (added) */
.discover-truth-wrap{
  display:flex;
  justify-content:center;
  width:100%;
  margin: 18px auto 0;
}
.discover-truth-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  width:min(70%, 980px);
  padding: 18px 26px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  border-radius: 14px;
  cursor:pointer;
}
@media (max-width: 900px){
  .discover-truth-btn{
    width:min(92%, 980px);
    font-size: 20px;
    padding: 14px 18px;
  }
}

/* Discover Truth modal */
.dt-modal{display:none; position:fixed; inset:0; z-index:99999;}
.dt-modal.is-open{display:block;}
.dt-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.72);}
.dt-box{position:relative; width:min(980px, 92vw); margin:6vh auto; background:#000; border-radius:14px; overflow:hidden;}
.dt-close{position:absolute; top:8px; right:12px; font-size:30px; line-height:1; background:transparent; border:0; color:#fff; cursor:pointer; z-index:2;}
.dt-video{width:100%; height:auto; display:block; background:#000;}



/* Discover Truth CTA Enhanced */
.discover-truth-wrap{
  display:flex;
  justify-content:center;
  width:100%;
  margin: 22px auto 0;
}

.discover-truth-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  width:min(70%, 980px);
  padding: 18px 26px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  border-radius: 14px;
  cursor:pointer;
  color:#007BFF; /* blue like site accent */
  background:rgba(0,123,255,0.08);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.discover-truth-btn:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  background:rgba(0,123,255,0.15);
}

@media (max-width: 900px){
  .discover-truth-btn{
    width:min(92%, 980px);
    font-size: 20px;
    padding: 14px 18px;
  }
}




/* === Performance Tuning Home Section AR Add === */
.performance-section{
  position:relative;
  overflow:hidden;
  padding:92px 0 84px;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(0,163,255,.20), transparent 60%),
    radial-gradient(760px 420px at 85% 25%, rgba(25,255,179,.12), transparent 62%),
    linear-gradient(135deg, #05070a 0%, #111923 48%, #05070a 100%);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.performance-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.030) 1px, transparent 1px);
  background-size:58px 58px;
  opacity:.22;
}
.performance-section::after{
  content:"";
  position:absolute;
  left:-25%;
  right:-25%;
  top:0;
  height:3px;
  background:linear-gradient(90deg, transparent, rgba(0,163,255,.95), rgba(25,255,179,.95), transparent);
  animation: performanceSweep 5.8s linear infinite;
  opacity:.85;
}
@keyframes performanceSweep{
  0%{transform:translateX(-28%);}
  100%{transform:translateX(28%);}
}
.performance-section .container{
  position:relative;
  z-index:1;
}
.performance-head{
  max-width:940px;
  margin:0 auto 34px;
  text-align:center;
}
.performance-kicker{
  display:inline-flex;
  margin-bottom:12px;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid rgba(0,163,255,.32);
  background:rgba(0,163,255,.10);
  color:#bfefff;
  font-size:12px;
  font-weight:1000;
  letter-spacing:.20em;
  text-transform:uppercase;
  box-shadow:0 12px 35px rgba(0,163,255,.08);
}
.performance-head h2{
  margin:0;
  font-size:clamp(34px, 5vw, 58px);
  line-height:1.02;
  letter-spacing:-.04em;
  text-shadow:0 18px 60px rgba(0,0,0,.58);
}
.performance-head p{
  max-width:850px;
  margin:14px auto 0;
  color:rgba(255,255,255,.78);
  font-size:17px;
}
.performance-showcase,
.performance-grid{
  display:grid;
  gap:18px;
}
.performance-showcase{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  margin-bottom:18px;
}
.performance-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}
.performance-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 50px rgba(0,0,0,.36);
  transform:translateY(0);
  transition:transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.performance-card:hover{
  transform:translateY(-8px);
  border-color:rgba(0,163,255,.46);
  box-shadow:0 26px 70px rgba(0,0,0,.50), 0 0 42px rgba(0,163,255,.13);
}
.performance-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg, rgba(255,255,255,.10), transparent 34%, rgba(0,163,255,.10) 100%);
  opacity:.52;
}
.performance-media{
  height:168px;
  overflow:hidden;
  background:#05080c;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.performance-card--large .performance-media{
  height:260px;
}
.performance-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.14) contrast(1.06) brightness(1.02);
  transform:scale(1.01);
  transition:transform .55s ease, filter .55s ease;
}
.performance-card:hover .performance-media img{
  transform:scale(1.055);
  filter:saturate(1.24) contrast(1.10) brightness(1.07);
}
.performance-body{
  position:relative;
  z-index:1;
  padding:17px 18px 20px;
}
.performance-label{
  display:inline-flex;
  margin-bottom:9px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(0,163,255,.12);
  border:1px solid rgba(0,163,255,.22);
  color:#bfefff;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;
}
.performance-body h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.16;
}
.performance-card--large .performance-body h3{
  font-size:26px;
}
.performance-body p{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:14px;
  line-height:1.55;
}
.performance-card--large .performance-body p{
  font-size:15px;
}
.performance-highlights{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:24px;
}
.performance-highlights span{
  padding:10px 13px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.22);
  color:rgba(255,255,255,.82);
  font-size:13px;
  font-weight:900;
}
@media (max-width: 1100px){
  .performance-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (max-width: 760px){
  .performance-section{padding:70px 0 64px;}
  .performance-showcase,
  .performance-grid{grid-template-columns:1fr;}
  .performance-card--large .performance-media,
  .performance-media{height:230px;}
  .performance-head p{font-size:15px;}
  .hero-tags{margin-top:14px;}
}

/* === Clean visual-only performance card image pass === */
.performance-media img{
  object-position:center center;
}
.performance-card--large .performance-media{
  height:280px;
}
.performance-media{
  background:#05080c;
}
.performance-card:hover .performance-media img{
  transform:scale(1.035);
}
@media (max-width:760px){
  .performance-card--large .performance-media,
  .performance-media{height:230px;}
}

/* === Professional HUD detail performance images === */
.performance-card--large .performance-media{height:300px;}
.performance-media{height:190px;}
.performance-media img{
  object-fit:cover;
  object-position:center center;
  image-rendering:auto;
}
.performance-card:hover .performance-media img{
  transform:scale(1.025);
}
.performance-body{
  background:linear-gradient(180deg, rgba(5,8,12,.18), rgba(5,8,12,.38));
}
@media (max-width:760px){
  .performance-card--large .performance-media,
  .performance-media{height:245px;}
}

/* === Final reference-card crop placement === */
.performance-card--large .performance-media{
  height:310px !important;
}
.performance-media{
  height:230px !important;
  background:#05080c !important;
}
.performance-media img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  background:#05080c !important;
  transform:none !important;
}
.performance-card:hover .performance-media img{
  transform:none !important;
  filter:saturate(1.10) contrast(1.04) brightness(1.04) !important;
}
.performance-card{
  overflow:hidden;
}
.performance-card .performance-body{
  background:linear-gradient(180deg, rgba(5,8,12,.10), rgba(5,8,12,.45)) !important;
}
@media (max-width:760px){
  .performance-card--large .performance-media,
  .performance-media{height:245px !important;}
}

/* === V6 Better Performance Card Image Placement === */
.performance-card--large .performance-media{
  height:330px !important;
}
.performance-media{
  height:240px !important;
  background:#05080c !important;
}
.performance-media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  padding:0 !important;
  background:#05080c !important;
}
.performance-card--large .performance-media img{
  object-position:center top !important;
}
.performance-card:hover .performance-media img{
  transform:scale(1.025) !important;
  filter:saturate(1.10) contrast(1.05) brightness(1.04) !important;
}
@media (max-width:760px){
  .performance-card--large .performance-media,
  .performance-media{height:245px !important;}
}


/* === Clean restart: uploaded images are the actual cards === */
.performance-image-cards .performance-card{
  background:#05080c !important;
  border-radius:20px !important;
  overflow:hidden !important;
  padding:0 !important;
}

.performance-image-cards .performance-body{
  display:none !important;
}

.performance-image-cards .performance-card::after{
  display:none !important;
}

.performance-image-cards .performance-media{
  height:auto !important;
  aspect-ratio:auto !important;
  background:#05080c !important;
  border-bottom:0 !important;
  overflow:hidden !important;
}

.performance-image-cards .performance-media img{
  width:100% !important;
  height:auto !important;
  display:block !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  margin:0 !important;
  background:#05080c !important;
  transform:none !important;
  filter:saturate(1.04) contrast(1.03) brightness(1.0) !important;
}

.performance-image-cards .performance-card:hover .performance-media img{
  transform:none !important;
  filter:saturate(1.08) contrast(1.05) brightness(1.03) !important;
}

/* top two cards keep their natural image proportions */
.performance-image-cards .performance-card--large .performance-media img{
  width:100% !important;
  height:auto !important;
}

/* small cards become image-only, no duplicated text below */
.performance-image-cards .performance-grid{
  align-items:start;
}

/* premium hover only on the card frame */
.performance-image-cards .performance-card:hover{
  transform:translateY(-6px) !important;
  border-color:rgba(0,163,255,.48) !important;
  box-shadow:0 26px 70px rgba(0,0,0,.52), 0 0 42px rgba(0,163,255,.12) !important;
}

@media (max-width:760px){
  .performance-image-cards .performance-media img{
    width:100% !important;
    height:auto !important;
  }
}

/* === ECU Tuning service page === */
.performance-card{color:inherit;text-decoration:none;}
.ecu-page{background:#05070a;color:#fff;}
.ecu-hero{position:relative;min-height:78vh;display:flex;align-items:end;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.10);}
.ecu-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.08) contrast(1.07) brightness(.82);transform:scale(1.02);}
.ecu-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,10,.62) 0%,rgba(5,7,10,.30) 32%,rgba(5,7,10,.06) 66%,rgba(5,7,10,.02) 100%),linear-gradient(180deg,rgba(5,7,10,.04),rgba(5,7,10,.06) 58%,#05070a 100%);}
.ecu-hero__content{position:relative;z-index:1;max-width:520px;padding:56px 0 118px;margin-left:0;transform:translateY(-35px);}
.ecu-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid rgba(0,163,255,.35);background:rgba(0,163,255,.12);color:#bfefff;font-weight:1000;font-size:12px;letter-spacing:.16em;text-transform:uppercase;}
.ecu-hero h1{font-size:clamp(61px,7.25vw,97px);font-weight:250;line-height:.96;letter-spacing:-.055em;margin:18px 0 18px;text-shadow:0 24px 72px rgba(0,0,0,.86);}
.ecu-hero p{max-width:620px;font-size:clamp(16px,1.55vw,19px);line-height:1.55;color:rgba(255,255,255,.82);}
.ecu-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;}
.ecu-section{position:relative;padding:62px 0;border-bottom:1px solid rgba(255,255,255,.075);overflow:hidden;}
.ecu-section::before{content:"";position:absolute;inset:0;background:radial-gradient(680px 320px at 90% 10%,rgba(0,163,255,.09),transparent 62%);pointer-events:none;}
.ecu-section .container{position:relative;z-index:1;}
.ecu-split{display:grid;grid-template-columns:1.05fr .95fr;gap:38px;align-items:center;}
.ecu-section h2{font-size:clamp(30px,4vw,52px);line-height:1.04;letter-spacing:-.04em;margin:0 0 18px;}
.ecu-section h3{margin:0 0 10px;font-size:22px;}
.ecu-text{color:rgba(255,255,255,.76);font-size:16px;line-height:1.82;}
.ecu-text p{margin:0 0 16px;}
.ecu-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;}
.ecu-feature-list span,.ecu-mini-card{border:1px solid rgba(255,255,255,.11);background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));border-radius:16px;padding:14px;color:rgba(255,255,255,.86);font-weight:800;box-shadow:0 18px 45px rgba(0,0,0,.24);}
.ecu-visual{border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.12);box-shadow:0 28px 90px rgba(0,0,0,.48),0 0 54px rgba(0,163,255,.08);background:#05080c;}
.ecu-visual img{display:block;width:100%;height:auto;}
.ecu-wide-visual{margin:24px 0 28px;}
.ecu-table{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;border:1px solid rgba(255,255,255,.12);border-radius:20px;overflow:hidden;background:rgba(255,255,255,.10);box-shadow:0 22px 70px rgba(0,0,0,.34);}
.ecu-table div{padding:15px 14px;background:rgba(9,14,20,.92);color:rgba(255,255,255,.78);font-size:14px;}
.ecu-table .head{background:linear-gradient(135deg,rgba(0,163,255,.26),rgba(25,255,179,.10));color:#fff;font-weight:1000;text-transform:uppercase;letter-spacing:.07em;font-size:12px;}
.performance-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:26px;}
.result-card{position:relative;overflow:hidden;border-radius:22px;padding:18px;background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.032));border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 70px rgba(0,0,0,.38);}
.result-card::before{content:"";position:absolute;inset:-1px;background:radial-gradient(380px 160px at 80% 0%,rgba(0,163,255,.26),transparent 60%),radial-gradient(260px 160px at 0% 100%,rgba(255,128,0,.13),transparent 60%);pointer-events:none;}
.result-card>*{position:relative;z-index:1;}
.result-car{font-size:18px;font-weight:1000;margin-bottom:4px;}
.result-sub{font-size:12px;color:#bfefff;text-transform:uppercase;letter-spacing:.10em;font-weight:900;margin-bottom:17px;}
.result-row{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin:12px 0;padding:12px;border-radius:16px;background:rgba(0,0,0,.26);border:1px solid rgba(255,255,255,.08);}
.result-label{grid-column:1/-1;font-size:11px;color:rgba(255,255,255,.58);font-weight:900;text-transform:uppercase;letter-spacing:.12em;}
.result-before{color:rgba(255,255,255,.66);font-weight:900;font-size:19px;}
.result-arrow{color:#39d0ff;font-weight:1000;}
.result-after{color:#fff;font-weight:1000;font-size:22px;text-shadow:0 0 24px rgba(0,163,255,.35);}
.result-gain{margin-top:14px;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px;border-radius:16px;background:linear-gradient(135deg,rgba(0,163,255,.20),rgba(25,255,179,.13));border:1px solid rgba(0,163,255,.24);font-weight:1000;}
.result-gain strong{color:#39d0ff;font-size:18px;}
.result-note{margin-top:18px;color:rgba(255,255,255,.58);font-size:13px;line-height:1.6;text-align:center;}
.ecu-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:24px;}
.ecu-step{padding:16px 12px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);text-align:center;}
.ecu-step b{display:block;color:#fff;margin-bottom:6px;}
.ecu-step span{font-size:12px;color:rgba(255,255,255,.62);line-height:1.45;}

.ecu-cta{padding:78px 0;background:radial-gradient(850px 420px at 50% 0%,rgba(0,163,255,.22),transparent 60%),linear-gradient(135deg,#07101a,#05070a);text-align:center;}
.ecu-cta h2{font-size:clamp(32px,4vw,56px);margin:0 0 12px;letter-spacing:-.04em;}
.ecu-cta p{max-width:720px;margin:0 auto 24px;color:rgba(255,255,255,.72);line-height:1.7;}
@media(max-width:1050px){.performance-results{grid-template-columns:repeat(2,1fr)}.ecu-steps{grid-template-columns:repeat(2,1fr)}.ecu-split{grid-template-columns:1fr}.ecu-table{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.ecu-hero{min-height:68vh}.ecu-hero__content{position:relative;z-index:1;max-width:520px;padding:56px 0 118px;margin-left:0;transform:translateY(-35px);}.ecu-hero h1{font-size:clamp(61px,7.25vw,97px);font-weight:250;line-height:.96;letter-spacing:-.055em;margin:18px 0 18px;text-shadow:0 24px 72px rgba(0,0,0,.86);}.ecu-section{position:relative;padding:62px 0;border-bottom:1px solid rgba(255,255,255,.075);overflow:hidden;}.performance-results{grid-template-columns:1fr}.ecu-feature-list{grid-template-columns:1fr}.ecu-table{display:block}.ecu-table div{border-bottom:1px solid rgba(255,255,255,.08)}.ecu-steps{grid-template-columns:1fr}.result-card{padding:16px}}

/* HERO V4 SAFE AREA FIX */

@media (max-width: 980px){
  .ecu-hero__content{position:relative;z-index:1;max-width:520px;padding:56px 0 118px;margin-left:0;transform:translateY(-35px);}
  .ecu-hero h1{font-size:clamp(61px,7.25vw,97px);font-weight:250;line-height:.96;letter-spacing:-.055em;margin:18px 0 18px;text-shadow:0 24px 72px rgba(0,0,0,.86);}
}
@media (max-width: 640px){
  .ecu-hero__content{position:relative;z-index:1;max-width:520px;padding:56px 0 118px;margin-left:0;transform:translateY(-35px);}
  .ecu-hero h1{font-size:clamp(61px,7.25vw,97px);font-weight:250;line-height:.96;letter-spacing:-.055em;margin:18px 0 18px;text-shadow:0 24px 72px rgba(0,0,0,.86);}
  .ecu-hero__lead{
    font-size: 17px;
    max-width: 92%;
  }
}


/* V6 tighter layout + interactive performance cards */
.ecu-performance-grid,
.ecu-examples,
.ecu-stat-grid{
  gap:18px;
}

.ecu-card,
.ecu-example,
.ecu-stat,
.ecu-metric-card{
  position:relative;
  overflow:hidden;
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
  will-change:transform;
}

.ecu-card::before,
.ecu-example::before,
.ecu-stat::before,
.ecu-metric-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(120deg, transparent 0%, rgba(0,163,255,.18) 38%, rgba(118,255,174,.13) 56%, transparent 78%);
  opacity:0;
  transform:translateX(-35%);
  transition:opacity .28s ease, transform .55s ease;
  pointer-events:none;
}

.ecu-card:hover,
.ecu-example:hover,
.ecu-stat:hover,
.ecu-metric-card:hover{
  transform:translateY(-6px);
  border-color:rgba(0,163,255,.52) !important;
  box-shadow:0 22px 55px rgba(0,0,0,.42), 0 0 34px rgba(0,163,255,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}

.ecu-card:hover::before,
.ecu-example:hover::before,
.ecu-stat:hover::before,
.ecu-metric-card:hover::before{
  opacity:1;
  transform:translateX(35%);
}

.ecu-gain-badge,
.gain-badge,
.ecu-gain{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(118,255,174,.45);
  background:rgba(118,255,174,.10);
  color:#7cffae;
  border-radius:999px;
  padding:7px 12px;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 0 18px rgba(118,255,174,.10);
}

.ecu-numbers{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:10px;
  align-items:center;
  margin:14px 0;
}

.ecu-number-box{
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.045);
  border-radius:16px;
  padding:14px;
}

.ecu-number-box small{
  display:block;
  color:rgba(255,255,255,.58);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  margin-bottom:4px;
}

.ecu-number-box strong{
  font-size:28px;
  line-height:1;
  color:#fff;
}

.ecu-arrow{
  color:#00a8ff;
  font-size:26px;
  font-weight:900;
  text-shadow:0 0 22px rgba(0,163,255,.35);
}

.ecu-section h2{
  margin-bottom:14px;
}

.ecu-text p{
  margin-bottom:12px;
}

.ecu-table,
.ecu-comparison-table{
  border-collapse:separate;
  border-spacing:0 10px;
}

.ecu-table tr,
.ecu-comparison-table tr{
  transition:transform .22s ease, background .22s ease;
}

.ecu-table tbody tr:hover,
.ecu-comparison-table tbody tr:hover{
  transform:translateX(4px);
  background:rgba(0,163,255,.055);
}

@media (max-width: 760px){
  .ecu-section{padding:48px 0;}
  .ecu-numbers{grid-template-columns:1fr;gap:8px;}
  .ecu-arrow{transform:rotate(90deg);text-align:center;}
}

/* V9 final hero polish */
@media (max-width: 760px){
  .ecu-hero__content{
    transform:none;
    padding:110px 18px 82px;
  }
}


/* V10 Premium FAQ */
.ecu-faq-section{
  padding-top:58px;
  padding-bottom:58px;
}

.ecu-faq{
  max-width:1040px;
  margin:26px auto 0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.ecu-faq details{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.068), rgba(255,255,255,.032)),
    radial-gradient(420px 160px at 0% 0%, rgba(0,163,255,.10), transparent 68%);
  box-shadow:0 18px 45px rgba(0,0,0,.26);
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
}

.ecu-faq details:hover{
  transform:translateY(-3px);
  border-color:rgba(0,163,255,.40);
  box-shadow:0 24px 60px rgba(0,0,0,.34), 0 0 28px rgba(0,163,255,.10);
}

.ecu-faq details[open]{
  border-color:rgba(0,163,255,.48);
  background:
    linear-gradient(180deg, rgba(0,163,255,.10), rgba(255,255,255,.034)),
    radial-gradient(520px 220px at 100% 0%, rgba(118,255,174,.08), transparent 70%);
}

.ecu-faq summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:14px;
  padding:20px 54px 20px 20px;
  color:#fff;
  font-weight:900;
  line-height:1.35;
  letter-spacing:-.01em;
  position:relative;
}

.ecu-faq summary::-webkit-details-marker{
  display:none;
}

.ecu-faq summary span{
  flex:0 0 auto;
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:#00a8ff;
  border:1px solid rgba(0,163,255,.35);
  background:rgba(0,163,255,.10);
  font-size:13px;
  font-weight:1000;
}

.ecu-faq summary::after{
  content:"+";
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  color:#7cffae;
  background:rgba(255,255,255,.045);
  font-size:22px;
  font-weight:300;
  transition:transform .25s ease, background .25s ease;
}

.ecu-faq details[open] summary::after{
  content:"–";
  transform:translateY(-50%) rotate(180deg);
  background:rgba(0,163,255,.12);
}

.ecu-faq p{
  margin:0;
  padding:0 22px 22px 70px;
  color:rgba(255,255,255,.72);
  line-height:1.75;
  font-size:15px;
}

@media(max-width:900px){
  .ecu-faq{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .ecu-faq-section{
    padding-top:46px;
    padding-bottom:46px;
  }
  .ecu-faq summary{
    padding:18px 48px 18px 16px;
    gap:11px;
  }
  .ecu-faq summary span{
    width:32px;
    height:32px;
    border-radius:10px;
  }
  .ecu-faq p{
    padding:0 18px 20px 60px;
    font-size:14px;
  }
}


/* V11 Performance cards + premium final CTA */
.performance-results-v11{
  margin-top:24px;
}

.result-card-v11{
  padding:22px;
  border-radius:24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
    radial-gradient(420px 180px at 0% 0%, rgba(0,163,255,.12), transparent 70%);
}

.result-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}

.gain-chip{
  white-space:nowrap;
  border:1px solid rgba(124,255,174,.44);
  background:rgba(124,255,174,.11);
  color:#7cffae;
  border-radius:999px;
  padding:8px 12px;
  font-weight:1000;
  box-shadow:0 0 20px rgba(124,255,174,.12);
}

.result-metric{
  border:1px solid rgba(255,255,255,.09);
  background:rgba(0,0,0,.18);
  border-radius:16px;
  padding:13px;
  margin:10px 0;
}

.metric-line{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}

.metric-line span{
  color:rgba(255,255,255,.62);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.metric-line strong{
  color:#fff;
  font-size:20px;
}

.metric-line em{
  color:#00a8ff;
  font-style:normal;
  margin:0 5px;
}

.metric-bar{
  height:8px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  margin-top:10px;
}

.metric-bar i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#00a8ff,#7cffae);
  box-shadow:0 0 18px rgba(0,168,255,.35);
  transition:width .45s ease;
}

.metric-bar.torque i{
  background:linear-gradient(90deg,#00a8ff,#ff9f2e);
  box-shadow:0 0 18px rgba(255,159,46,.26);
}

.gain-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}

.gain-row div{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  border-radius:16px;
  padding:12px;
}

.gain-row span{
  display:block;
  color:rgba(255,255,255,.58);
  font-size:12px;
  margin-bottom:4px;
}

.gain-row b{
  color:#7cffae;
  font-size:20px;
}

.ecu-cta-premium{
  position:relative;
  overflow:hidden;
  padding:92px 0;
  background:
    linear-gradient(135deg,rgba(5,7,10,.92),rgba(5,7,10,.78)),
    radial-gradient(850px 420px at 18% 12%,rgba(0,163,255,.26),transparent 62%),
    radial-gradient(760px 380px at 88% 0%,rgba(255,120,35,.12),transparent 62%),
    url("performance/ecu-page-01-hero.png");
  background-size:cover;
  background-position:center;
  text-align:center;
}

.ecu-cta-premium::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.34));
  pointer-events:none;
}

.ecu-cta-premium .container{
  position:relative;
  z-index:1;
}

.ecu-cta-premium h2{
  max-width:980px;
  margin:18px auto 16px;
  font-size:clamp(34px,4.6vw,64px);
  line-height:1.03;
  letter-spacing:-.05em;
}

.ecu-cta-premium p{
  max-width:760px;
  margin:0 auto 28px;
  color:rgba(255,255,255,.76);
  line-height:1.75;
}

.cta-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  max-width:760px;
  margin:0 auto 30px;
}

.cta-mini-grid div{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(14px);
  border-radius:18px;
  padding:15px 16px;
}

.cta-mini-grid strong{
  display:block;
  color:#00a8ff;
  font-size:13px;
  letter-spacing:.12em;
  margin-bottom:6px;
}

.cta-mini-grid span{
  color:#fff;
  font-weight:800;
}

.cta-actions{
  justify-content:center;
}

@media(max-width:720px){
  .gain-row,.cta-mini-grid{
    grid-template-columns:1fr;
  }
  .metric-line{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* V12 CTA final polish */
.ecu-cta-premium{
filter:brightness(1.08);
}
.ecu-cta-premium .container{
text-shadow:0 0 30px rgba(0,0,0,.35);
}
.ecu-cta-premium::after{
content:'';
position:absolute;
left:50%;
top:18%;
width:700px;
height:300px;
transform:translateX(-50%);
background:radial-gradient(circle, rgba(0,163,255,.18) 0%, transparent 70%);
pointer-events:none;
}


/* TCU PAGE */
.tcu-hero .ecu-hero__bg{
  object-fit:cover;
  object-position:center center;
  filter:saturate(1.08) contrast(1.05) brightness(.94);
}
.tcu-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,7,10,.64) 0%,rgba(5,7,10,.32) 34%,rgba(5,7,10,.08) 66%,rgba(5,7,10,.02) 100%),
    linear-gradient(180deg,rgba(5,7,10,.05),rgba(5,7,10,.06) 58%,#05070a 100%);
}
.tcu-hero .ecu-hero__content{
  transform:translateY(-28px);
}
.tcu-compare-table{
  margin-top:22px;
}
.tcu-gearbox-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:26px;
}
.tcu-gearbox-grid div,
.tcu-benefit-cards div{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  background:
    linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035)),
    radial-gradient(320px 120px at 0% 0%,rgba(0,163,255,.13),transparent 70%);
  border-radius:20px;
  padding:18px;
  box-shadow:0 18px 45px rgba(0,0,0,.26);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.tcu-gearbox-grid div:hover,
.tcu-benefit-cards div:hover{
  transform:translateY(-5px);
  border-color:rgba(0,163,255,.42);
  box-shadow:0 24px 60px rgba(0,0,0,.34),0 0 30px rgba(0,163,255,.10);
}
.tcu-gearbox-grid b,
.tcu-benefit-cards strong{
  display:block;
  color:#fff;
  font-size:18px;
  margin-bottom:8px;
}
.tcu-gearbox-grid span,
.tcu-benefit-cards span{
  color:rgba(255,255,255,.68);
  line-height:1.55;
}
.tcu-benefit-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:20px;
}
.tcu-cta{
  background:
    linear-gradient(135deg,rgba(5,7,10,.90),rgba(5,7,10,.62)),
    radial-gradient(850px 420px at 18% 12%,rgba(0,163,255,.26),transparent 62%),
    radial-gradient(760px 380px at 88% 0%,rgba(255,70,35,.22),transparent 62%),
    url("performance/tcu-page-08-cta.png");
  background-size:cover;
  background-position:center center;
}
.tcu-cta::before{
  background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(0,0,0,.26) 48%,rgba(0,0,0,.08)),linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.38));
}
@media(max-width:900px){
  .tcu-gearbox-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:640px){
  .tcu-gearbox-grid,.tcu-benefit-cards{grid-template-columns:1fr;}
  .tcu-hero .ecu-hero__content{transform:none;}
  .tcu-hero .ecu-hero__bg{object-position:58% center;}
}


/* TCU V2 CTA CLEAN BACKGROUND FIX
   Uses a clean cropped background with no embedded CTA text/buttons.
   Website content is real HTML/CSS above the image. */
.tcu-cta{
  min-height:640px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(90deg,rgba(4,6,10,.78) 0%,rgba(4,6,10,.58) 38%,rgba(4,6,10,.20) 72%,rgba(4,6,10,.08) 100%),
    radial-gradient(760px 360px at 22% 35%,rgba(0,163,255,.18),transparent 68%),
    url("performance/tcu-page-08-cta-clean.png") !important;
  background-size:cover !important;
  background-position:center right !important;
}

.tcu-cta::before{
  background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.28)) !important;
}

.tcu-cta::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:42%;
  background:linear-gradient(180deg,transparent,rgba(5,7,10,.72));
  pointer-events:none;
}

.tcu-cta .tcu-cta-inner{
  text-align:left;
  max-width:760px;
  margin-left:0;
  margin-right:auto;
}

.tcu-cta .ecu-pill{
  background:rgba(0,163,255,.12);
  border:1px solid rgba(0,163,255,.38);
  padding:10px 18px;
  border-radius:999px;
}

.tcu-cta h2{
  max-width:760px;
  margin-left:0;
  font-size:clamp(42px,5.2vw,76px);
}

.tcu-cta p{
  max-width:680px;
  margin-left:0;
  margin-right:0;
}

.tcu-cta .cta-mini-grid{
  margin-left:0;
  margin-right:0;
}

.tcu-cta .cta-actions{
  justify-content:flex-start;
}

@media(max-width:760px){
  .tcu-cta{
    min-height:680px;
    background-position:62% center !important;
  }
  .tcu-cta .tcu-cta-inner{
    text-align:center;
    margin:auto;
  }
  .tcu-cta .cta-actions{
    justify-content:center;
  }
  .tcu-cta h2,
  .tcu-cta p{
    margin-left:auto;
    margin-right:auto;
  }
}


/* CTA zoom-out adjustment */
.tcu-cta{
  background-size:88% auto !important;
  background-repeat:no-repeat !important;
  background-position:right center !important;
}

@media(max-width:760px){
  .tcu-cta{
    background-size:cover !important;
  }
}


/* V4 CTA FIX
   Restore cover and shift focal point instead of shrinking image */
.tcu-cta{
  background-size:cover !important;
  background-position:68% center !important;
  background-repeat:no-repeat !important;
}


/* V5 CTA polish - remove visible separators and blend sections */
.tcu-cta{
  margin-top:-2px !important;
  border-top:none !important;
  box-shadow:none !important;
}

.tcu-cta::before{
  border:none !important;
}

.tcu-cta::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,
      rgba(5,7,10,0.92) 0%,
      rgba(5,7,10,0.35) 12%,
      rgba(5,7,10,0.00) 28%,
      rgba(5,7,10,0.00) 72%,
      rgba(5,7,10,0.45) 92%,
      rgba(5,7,10,0.88) 100%);
  pointer-events:none;
}

.ecu-faq-section{
  border-bottom:none !important;
  box-shadow:none !important;
}

footer,
.site-footer{
  border-top:none !important;
  box-shadow:none !important;
}

/* lower image focal point slightly */
.tcu-cta{
  background-position:68% 58% !important;
}


/* V6 REAL CTA / FOOTER FIX - final override, source-level specific */
body.ecu-page .ecu-faq-section{
  border-bottom:0 !important;
  margin-bottom:0 !important;
}

body.ecu-page .ecu-faq-section + section.tcu-cta,
body.ecu-page section.ecu-cta.ecu-cta-premium.tcu-cta#contact{
  margin-top:-1px !important;
  border-top:0 !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  min-height:660px !important;
  padding-top:86px !important;
  padding-bottom:86px !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-position:68% 58% !important;
  background-color:#05070a !important;
}

/* Remove the old small blue glow overlay inherited from ECU CTA and replace with true blend overlay */
body.ecu-page section.ecu-cta.ecu-cta-premium.tcu-cta#contact::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  width:auto !important;
  height:auto !important;
  left:0 !important;
  top:0 !important;
  transform:none !important;
  background:
    linear-gradient(180deg,
      #05070a 0%,
      rgba(5,7,10,.64) 7%,
      rgba(5,7,10,.10) 24%,
      rgba(5,7,10,.02) 68%,
      rgba(5,7,10,.42) 90%,
      #05070a 100%) !important;
  pointer-events:none !important;
  z-index:0 !important;
}

body.ecu-page section.ecu-cta.ecu-cta-premium.tcu-cta#contact::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:
    linear-gradient(90deg,rgba(5,7,10,.72) 0%,rgba(5,7,10,.45) 38%,rgba(5,7,10,.16) 72%,rgba(5,7,10,.04) 100%) !important;
  pointer-events:none !important;
  z-index:0 !important;
}

body.ecu-page section.ecu-cta.ecu-cta-premium.tcu-cta#contact .container{
  position:relative !important;
  z-index:2 !important;
}

body.ecu-page footer.footer,
body.ecu-page .footer{
  margin-top:0 !important;
  border-top:0 !important;
  box-shadow:none !important;
  background:#05070a !important;
}

/* eliminate any visible seam caused by sub-pixel rendering */
body.ecu-page section.ecu-cta.ecu-cta-premium.tcu-cta#contact + footer.footer{
  margin-top:-1px !important;
}


/* STAGE 1 PERFORMANCE PAGE */
.stage1-hero .ecu-hero__bg{
  object-fit:cover;
  object-position:center center;
  filter:saturate(1.08) contrast(1.06) brightness(.94);
}
.stage1-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,7,10,.68) 0%,rgba(5,7,10,.34) 36%,rgba(5,7,10,.10) 66%,rgba(5,7,10,.04) 100%),
    linear-gradient(180deg,rgba(5,7,10,.05),rgba(5,7,10,.08) 62%,#05070a 100%);
}
.stage1-hero .ecu-hero__content{
  transform:translateY(-20px);
}
.stage1-compare-table{
  margin-top:22px;
}
.stage1-platform-grid div{
  min-height:118px;
}
.stage1-cta{
  position:relative;
  min-height:660px;
  display:flex;
  align-items:center;
  margin-top:-1px !important;
  border-top:0 !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  background:
    linear-gradient(90deg,rgba(5,7,10,.78) 0%,rgba(5,7,10,.50) 42%,rgba(5,7,10,.18) 72%,rgba(5,7,10,.06) 100%),
    url("performance/stage1-page-08-cta.png") !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
.stage1-cta::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:
    linear-gradient(180deg,#05070a 0%,rgba(5,7,10,.42) 10%,rgba(5,7,10,.02) 32%,rgba(5,7,10,.18) 76%,#05070a 100%) !important;
  pointer-events:none;
  z-index:0;
}
.stage1-cta::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:radial-gradient(700px 280px at 22% 34%,rgba(255,40,40,.14),transparent 70%) !important;
  pointer-events:none;
  z-index:0;
}
.stage1-cta .container{
  position:relative !important;
  z-index:2 !important;
}
.stage1-cta .stage1-cta-inner{
  text-align:left;
  max-width:760px;
  margin-left:0;
  margin-right:auto;
}
.stage1-cta h2{
  max-width:780px;
  margin-left:0;
  font-size:clamp(42px,5.2vw,78px);
}
.stage1-cta p{
  max-width:690px;
  margin-left:0;
  margin-right:0;
}
.stage1-cta .cta-mini-grid{
  margin-left:0;
  margin-right:0;
}
.stage1-cta .cta-actions{
  justify-content:flex-start;
}
@media(max-width:760px){
  .stage1-hero .ecu-hero__content{transform:none;}
  .stage1-hero .ecu-hero__bg{object-position:58% center;}
  .stage1-cta{
    min-height:680px;
    background-position:58% center !important;
  }
  .stage1-cta .stage1-cta-inner{
    text-align:center;
    margin:auto;
  }
  .stage1-cta .cta-actions{
    justify-content:center;
  }
  .stage1-cta h2,
  .stage1-cta p{
    margin-left:auto;
    margin-right:auto;
  }
}


/* STAGE1 V3 ACTUAL CTA STEPS FIX
   Replace large 01/02/03 cards with a slim inline step bar. */
.stage1-cta .cta-mini-grid{
  display:none !important;
}

.stage1-inline-steps{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  max-width:780px;
  margin:18px 0 24px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,7,10,.34);
  backdrop-filter:blur(12px);
  border-radius:999px;
  width:max-content;
  max-width:100%;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
}

.stage1-inline-steps span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.88);
  font-weight:850;
  white-space:nowrap;
  font-size:14px;
}

.stage1-inline-steps b{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(0,163,255,.12);
  border:1px solid rgba(0,163,255,.42);
  color:#00a8ff;
  font-size:12px;
  box-shadow:0 0 18px rgba(0,163,255,.16);
}

.stage1-inline-steps i{
  display:block;
  width:34px;
  height:1px;
  background:linear-gradient(90deg,rgba(0,163,255,.15),rgba(0,163,255,.80),rgba(255,255,255,.18));
  position:relative;
}

.stage1-inline-steps i::after{
  content:"";
  position:absolute;
  right:-2px;
  top:50%;
  width:6px;
  height:6px;
  border-top:1px solid rgba(0,163,255,.85);
  border-right:1px solid rgba(0,163,255,.85);
  transform:translateY(-50%) rotate(45deg);
}

.stage1-cta .stage1-cta-inner{
  max-width:720px !important;
}

.stage1-cta h2{
  margin-bottom:14px !important;
}

.stage1-cta p{
  margin-bottom:0 !important;
}

/* Show more of the smoke/wheels area by keeping interactive elements compact */
.stage1-cta .cta-actions{
  margin-top:8px !important;
}

@media(max-width:760px){
  .stage1-inline-steps{
    border-radius:22px;
    width:auto;
    justify-content:center;
    margin-left:auto;
    margin-right:auto;
  }
  .stage1-inline-steps i{
    display:none;
  }
}


/* STAGE1 V4 FINAL HERO POLISH
   Make 01/02/03 steps lighter, smaller, and less intrusive. */
.stage1-cta .stage1-inline-steps{
  transform:scale(.88);
  transform-origin:left center;
  margin-top:10px !important;
  margin-bottom:18px !important;
  padding:7px 12px !important;
  background:rgba(5,7,10,.22) !important;
  border-color:rgba(255,255,255,.09) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.16) !important;
  backdrop-filter:blur(9px) !important;
}

.stage1-cta .stage1-inline-steps span{
  font-size:13px !important;
  font-weight:800 !important;
}

.stage1-cta .stage1-inline-steps b{
  width:24px !important;
  height:24px !important;
  font-size:11px !important;
}

.stage1-cta .stage1-inline-steps i{
  width:28px !important;
  opacity:.72 !important;
}

.stage1-cta .cta-actions{
  margin-top:2px !important;
}

@media(max-width:760px){
  .stage1-cta .stage1-inline-steps{
    transform:none;
    margin-top:14px !important;
    margin-bottom:18px !important;
  }
}


/* HOME PREMIUM 2x2 SERVICE CARDS */
.performance-showcase--secondary{
  margin-top:18px;
}
.performance-grid--advanced{
  margin-top:18px;
}
.performance-showcase .performance-card--large{
  min-height:360px;
}
.performance-showcase .performance-card--large .performance-media img{
  object-fit:cover;
  object-position:center center;
}
@media(max-width:900px){
  .performance-showcase--secondary{
    margin-top:14px;
  }
}

.performance-card--wide{
display:block;
width:100%;
min-height:220px;
}
.performance-card--wide .performance-media{
height:220px;
}
.performance-grid--advanced{
grid-template-columns:1fr!important;
}


/* WIDE PROGRAMMING & RECOVERY CARD - SLIM FINAL */
.performance-grid--advanced{
  display:block !important;
  margin-top:18px !important;
}

.performance-grid--advanced .performance-card{
  min-height:0 !important;
  height:260px !important;
  max-height:260px !important;
  border-radius:22px !important;
  overflow:hidden !important;
}

.performance-grid--advanced .performance-card .performance-media{
  height:100% !important;
  min-height:0 !important;
}

.performance-grid--advanced .performance-card .performance-media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
}

.performance-grid--advanced .performance-card .performance-body{
  padding:18px 22px !important;
  max-width:560px !important;
}

.performance-grid--advanced .performance-card .performance-body h3{
  font-size:clamp(24px,3vw,38px) !important;
}

.performance-grid--advanced .performance-card .performance-body p{
  max-width:520px !important;
  font-size:15px !important;
}

@media(max-width:900px){
  .performance-grid--advanced .performance-card{
    height:230px !important;
    max-height:230px !important;
  }
}
@media(max-width:640px){
  .performance-grid--advanced .performance-card{
    height:260px !important;
    max-height:260px !important;
  }
}


/* TRUE SLIM WIDE STRIP - Programming & Recovery */
.performance-grid--advanced{
  display:block !important;
  margin-top:18px !important;
}

.performance-card--wide-strip{
  height:188px !important;
  min-height:188px !important;
  max-height:188px !important;
  border-radius:22px !important;
  overflow:hidden !important;
  display:block !important;
  position:relative !important;
}

.performance-card--wide-strip .performance-media{
  height:100% !important;
  min-height:0 !important;
  position:absolute !important;
  inset:0 !important;
}

.performance-card--wide-strip .performance-media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  filter:saturate(1.03) contrast(1.04) brightness(.92) !important;
}

.performance-card--wide-strip::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,7,10,.72) 0%,rgba(5,7,10,.48) 36%,rgba(5,7,10,.18) 68%,rgba(5,7,10,.05) 100%),
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.28));
  pointer-events:none;
  z-index:1;
}

.performance-card--wide-strip .performance-body{
  position:relative !important;
  z-index:2 !important;
  max-width:650px !important;
  padding:22px 28px !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.performance-card--wide-strip .performance-label{
  font-size:12px !important;
  letter-spacing:.12em !important;
}

.performance-card--wide-strip .performance-body h3{
  font-size:clamp(24px,2.8vw,38px) !important;
  line-height:1.05 !important;
  margin:6px 0 8px !important;
}

.performance-card--wide-strip .performance-body p{
  max-width:600px !important;
  font-size:14px !important;
  line-height:1.55 !important;
  margin:0 !important;
}

@media(max-width:900px){
  .performance-card--wide-strip{
    height:210px !important;
    min-height:210px !important;
    max-height:210px !important;
  }
}
@media(max-width:640px){
  .performance-card--wide-strip{
    height:260px !important;
    min-height:260px !important;
    max-height:260px !important;
  }
  .performance-card--wide-strip .performance-body{
    padding:22px !important;
  }
}


/* V4 FITTED WIDE STRIP - clean background, no embedded text overlap */
.performance-card--wide-strip{
  height:172px !important;
  min-height:172px !important;
  max-height:172px !important;
}

.performance-card--wide-strip .performance-media img{
  content:url("performance/programming-recovery-strip-fit.jpg");
  object-fit:cover !important;
  object-position:center center !important;
}

.performance-card--wide-strip .performance-body{
  max-width:720px !important;
  padding:20px 28px !important;
}

.performance-card--wide-strip .performance-body h3{
  font-size:clamp(24px,2.55vw,36px) !important;
  margin:5px 0 7px !important;
}

.performance-card--wide-strip .performance-body p{
  font-size:14px !important;
  max-width:650px !important;
}

.performance-card--wide-strip::after{
  background:
    linear-gradient(90deg,rgba(5,7,10,.38) 0%,rgba(5,7,10,.22) 45%,rgba(5,7,10,.04) 100%),
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.20)) !important;
}

@media(max-width:900px){
  .performance-card--wide-strip{
    height:190px !important;
    min-height:190px !important;
    max-height:190px !important;
  }
}

@media(max-width:640px){
  .performance-card--wide-strip{
    height:240px !important;
    min-height:240px !important;
    max-height:240px !important;
  }
}


/* ================================
   DPF / ADBLUE / EGR PAGE FINAL
   ================================ */
.diesel-page{
  background:
    radial-gradient(circle at top left, rgba(0,130,255,.10), transparent 34%),
    radial-gradient(circle at 85% 25%, rgba(105,255,40,.08), transparent 32%),
    #070b10;
  color:#fff;
}
.diesel-page .section-pad{ padding:64px 0; }
.diesel-page .pt-0{ padding-top:0; }
.diesel-poster-hero{ padding:28px 0 34px; }
.diesel-poster-hero img,
.diesel-banner img,
.diesel-vehicles img{
  display:block;
  width:100%;
  border-radius:28px;
  border:1px solid rgba(96,210,255,.18);
  box-shadow:0 24px 70px rgba(0,0,0,.42), 0 0 42px rgba(0,170,255,.08);
}
.diesel-intro__inner{
  max-width:980px;
  text-align:center;
  margin:auto;
}
.diesel-intro h1{
  font-size:clamp(34px,5vw,68px);
  line-height:1;
  margin:12px 0 18px;
  letter-spacing:-.04em;
}
.diesel-intro p{
  color:rgba(255,255,255,.78);
  font-size:clamp(16px,1.6vw,20px);
  line-height:1.75;
  margin:0 auto 10px;
  max-width:920px;
}
.diesel-find-line{
  margin:26px auto 0;
  color:#90ff3f;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:clamp(14px,1.4vw,18px);
  padding:14px 22px;
  border:1px solid rgba(144,255,63,.28);
  border-radius:999px;
  background:rgba(144,255,63,.08);
  display:inline-flex;
}
.diesel-help__card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:26px;
  align-items:center;
  padding:34px;
  border:1px solid rgba(96,210,255,.18);
  border-radius:28px;
  background:
    linear-gradient(135deg,rgba(10,20,30,.92),rgba(5,9,14,.82)),
    radial-gradient(circle at left,rgba(120,255,45,.16),transparent 32%);
  box-shadow:0 24px 60px rgba(0,0,0,.28);
}
.diesel-help__icon{
  width:82px;
  height:82px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:46px;
  font-weight:900;
  color:#90ff3f;
  border:2px solid rgba(144,255,63,.5);
  background:rgba(144,255,63,.08);
}
.diesel-help h2,
.diesel-vehicles h2,
.diesel-final-cta h2{
  margin:8px 0 12px;
  font-size:clamp(30px,4vw,56px);
  line-height:1;
  letter-spacing:-.035em;
}
.diesel-help p,
.diesel-vehicles p,
.diesel-final-cta p{
  color:rgba(255,255,255,.76);
  line-height:1.65;
  margin:0 0 8px;
}
.diesel-vehicles .section-head{
  max-width:900px;
  margin:0 auto 28px;
  text-align:center;
}
.diesel-final-cta__box{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  min-height:560px;
  border:1px solid rgba(144,255,63,.22);
  box-shadow:0 30px 80px rgba(0,0,0,.48), 0 0 48px rgba(0,175,255,.08);
}
.diesel-final-cta__box > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.diesel-final-cta__box:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,7,12,.78) 0%,rgba(3,7,12,.52) 40%,rgba(3,7,12,.16) 70%,rgba(3,7,12,.08) 100%),
    linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.32));
  z-index:1;
}
.diesel-final-cta__content{
  position:relative;
  z-index:2;
  max-width:650px;
  padding:64px;
}
.diesel-final-cta h2{ font-size:clamp(42px,6vw,82px); }
.diesel-final-cta .cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}
.diesel-trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
.diesel-trust-row span{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(0,178,255,.08);
  border:1px solid rgba(0,178,255,.18);
  color:rgba(255,255,255,.86);
  font-weight:800;
  font-size:13px;
}
.section-kicker{
  display:inline-flex;
  color:#62d8ff;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:900;
  font-size:12px;
}
@media(max-width:900px){
  .diesel-page .section-pad{ padding:44px 0; }
  .diesel-help__card{
    grid-template-columns:1fr;
    text-align:left;
  }
  .diesel-final-cta__box{ min-height:620px; }
  .diesel-final-cta__content{ padding:38px 28px; }
}
@media(max-width:640px){
  .diesel-poster-hero img,
  .diesel-banner img,
  .diesel-vehicles img{ border-radius:18px; }
  .diesel-help__card{
    padding:24px;
    border-radius:20px;
  }
  .diesel-final-cta__box{ border-radius:22px; }
}


/* FINAL FIX — Center CTA content between both vehicles */
.diesel-final-cta__box{
  min-height:560px !important;
}

.diesel-final-cta__box:after{
  background:
    linear-gradient(90deg,rgba(3,7,12,.42) 0%,rgba(3,7,12,.34) 24%,rgba(3,7,12,.72) 38%,rgba(3,7,12,.76) 62%,rgba(3,7,12,.30) 78%,rgba(3,7,12,.18) 100%),
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.30)) !important;
}

.diesel-final-cta__content{
  position:relative !important;
  z-index:2 !important;
  width:min(620px, 48vw) !important;
  max-width:620px !important;
  margin:0 auto !important;
  padding:56px 0 !important;
  min-height:560px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
}

.diesel-final-cta__content .section-kicker{
  justify-content:center !important;
}

.diesel-final-cta__content h2{
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.diesel-final-cta__content p{
  text-align:center !important;
  max-width:560px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.diesel-final-cta .cta-actions{
  justify-content:center !important;
  align-items:center !important;
}

.diesel-trust-row{
  justify-content:center !important;
  align-items:center !important;
  max-width:620px !important;
}

@media(max-width:900px){
  .diesel-final-cta__content{
    width:min(720px, 86vw) !important;
    min-height:620px !important;
    padding:42px 0 !important;
  }
  .diesel-final-cta__box:after{
    background:linear-gradient(180deg,rgba(3,7,12,.76),rgba(3,7,12,.44)) !important;
  }
}

@media(max-width:640px){
  .diesel-final-cta__content{
    width:calc(100% - 40px) !important;
    min-height:560px !important;
  }
}

/* === Service ticker replacing manufacturer logo strip === */
.service-ticker.logo-strip{
  margin:16px auto 0 !important;
  padding:14px 0 18px !important;
  overflow:hidden !important;
  background:linear-gradient(90deg,rgba(0,163,255,.055),rgba(255,255,255,.04),rgba(0,163,255,.055)) !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}
.service-ticker.logo-strip::after{display:none !important;}
.ticker-track{display:flex;width:max-content;animation:codiagTicker 36s linear infinite;gap:0;}
.ticker-row{display:flex;align-items:center;gap:18px;padding:0 9px;flex-shrink:0;}
.ticker-row span{
  display:inline-flex;align-items:center;white-space:nowrap;
  padding:11px 16px;border-radius:999px;
  background:rgba(6,12,18,.72);
  border:1px solid rgba(0,163,255,.22);
  color:rgba(255,255,255,.92);
  font-weight:900;font-size:14px;letter-spacing:.02em;
  box-shadow:0 12px 34px rgba(0,0,0,.28), inset 0 0 20px rgba(0,163,255,.055);
}
.service-ticker:hover .ticker-track{animation-play-state:paused;}
@keyframes codiagTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:640px){.ticker-track{animation-duration:28s}.ticker-row span{font-size:12px;padding:9px 12px}.ticker-row{gap:10px}}


.performance-section[dir="rtl"] .performance-head,
.performance-section[dir="rtl"] .performance-body{text-align:right;}
.performance-section[dir="rtl"] .performance-body{direction:rtl;}
.performance-section[dir="rtl"] .performance-kicker{letter-spacing:.08em;}
.performance-section[dir="rtl"] .performance-card h3{direction:ltr;text-align:right;}
.performance-section[dir="rtl"] .performance-card p{line-height:1.85;}



/* ================================
   Codiag Lab mobile polish patch
   Hero + comparison tables
   Desktop remains unchanged
   ================================ */
@media (max-width: 760px){
  .hero{
    min-height: auto !important;
    padding-top: 118px !important;
    padding-bottom: 56px !important;
  }
  .hero h1{
    font-size: clamp(2.35rem, 11vw, 3.25rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em !important;
    margin-bottom: 14px !important;
  }
  html[dir="rtl"] .hero h1{
    letter-spacing: 0 !important;
    line-height: 1.12 !important;
  }
  .hero .lead{
    font-size: 1rem !important;
    line-height: 1.65 !important;
    max-width: 100% !important;
    margin-bottom: 18px !important;
  }
  .hero-tags{
    display: none !important;
  }
  .hero-ctas{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 420px !important;
    margin-inline: auto !important;
  }
  .hero-ctas .btn,
  .hero-ctas button{
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .hero-ctas .clodia-trigger{
    display: none !important;
  }

  /* Keep desktop tables untouched; show clean mobile cards instead */
  .ecu-table.stage1-compare-table{
    display: none !important;
  }
  .mobile-table-cards{
    display: grid !important;
    gap: 14px !important;
    margin-top: 22px !important;
  }
  .mobile-table-card{
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.045) !important;
    border-radius: 18px !important;
    padding: 16px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.22) !important;
  }
  .mobile-table-card__title{
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 12px !important;
    font-size: 1.04rem !important;
  }
  .mobile-table-card__row{
    display: grid !important;
    grid-template-columns: minmax(105px, 40%) 1fr !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255,255,255,.09) !important;
    align-items: start !important;
  }
  html[dir="rtl"] .mobile-table-card__row{
    grid-template-columns: minmax(112px, 42%) 1fr !important;
  }
  .mobile-table-card__label{
    color: rgba(255,255,255,.62) !important;
    font-size: .82rem !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
  }
  .mobile-table-card__value{
    color: rgba(255,255,255,.93) !important;
    font-size: .92rem !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
  }
}
@media (min-width: 761px){
  .mobile-table-cards{
    display: none !important;
  }
}



/* ECU + TCU mobile comparison cards */
@media (max-width: 760px){
  .ecu-table:not(.stage1-compare-table){
    display: none !important;
  }
  .mobile-compare-cards{
    display: grid !important;
    gap: 14px !important;
    margin-top: 22px !important;
  }
  .mobile-compare-card{
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.045) !important;
    border-radius: 18px !important;
    padding: 16px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.22) !important;
  }
  .mobile-compare-card__title{
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 12px !important;
    font-size: 1.04rem !important;
  }
  .mobile-compare-card__row{
    display: grid !important;
    grid-template-columns: minmax(105px, 40%) 1fr !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255,255,255,.09) !important;
    align-items: start !important;
  }
  html[dir="rtl"] .mobile-compare-card__row{
    grid-template-columns: minmax(112px, 42%) 1fr !important;
  }
  .mobile-compare-card__label{
    color: rgba(255,255,255,.62) !important;
    font-size: .82rem !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
  }
  .mobile-compare-card__value{
    color: rgba(255,255,255,.93) !important;
    font-size: .92rem !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
  }
}
@media (min-width: 761px){
  .mobile-compare-cards{
    display: none !important;
  }
}
