: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;
  }
}

