:root{
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --line2:#d1d5db;
  --red:#D43934;
  --red2:#B91C1C;
  --shadow:0 18px 50px rgba(17,24,39,.08);
  --shadow2:0 8px 24px rgba(17,24,39,.06);
  --radius:24px;
  --max:1180px;
  --blur:16px;
  --trans:.24s ease;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(212,57,52,.06), transparent 28%),
    radial-gradient(circle at top right, rgba(212,57,52,.04), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #f4f6f8 100%);
  color:var(--text);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.bg{
  position:fixed;
  inset:0;
  z-index:-3;
  background:
    radial-gradient(closest-side at 12% 10%, rgba(212,57,52,.07), transparent 60%),
    radial-gradient(closest-side at 88% 8%, rgba(212,57,52,.05), transparent 55%),
    radial-gradient(closest-side at 50% 100%, rgba(212,57,52,.04), transparent 60%);
  pointer-events:none;
}

.gridGlow{
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  opacity:.22;
  background-image:
    linear-gradient(rgba(17,24,39,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,39,.035) 1px, transparent 1px);
  background-size:38px 38px;
  mask-image:radial-gradient(circle at center, black 25%, transparent 82%);
  -webkit-mask-image:radial-gradient(circle at center, black 25%, transparent 82%);
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 18px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(var(--blur));
  -webkit-backdrop-filter:blur(var(--blur));
  border-bottom:1px solid rgba(17,24,39,.06);
  box-shadow:0 4px 18px rgba(17,24,39,.04);
}

.logo{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.logoImg{
  display:block;
  height:34px;
  width:auto;
  max-width:180px;
}

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

.nav a,
.mobileNav a{
  text-decoration:none;
  color:#4b5563;
  padding:10px 13px;
  border-radius:14px;
  border:1px solid transparent;
  transition:var(--trans);
}

.nav a:hover,
.mobileNav a:hover{
  color:var(--text);
  border-color:var(--line);
  background:#f9fafb;
}

.nav a.active,
.mobileNav a.active{
  color:#0f172a;
  border-color:rgba(212,57,52,.28);
  background:rgba(212,57,52,.08);
  box-shadow:inset 0 0 0 1px rgba(212,57,52,.04);
}

.nav a.navAccount{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  background:linear-gradient(135deg, var(--red), var(--red2));
  border-color:rgba(212,57,52,.36);
  max-width:240px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.navAvatar{
  display:grid;
  width:30px;
  height:30px;
  flex:0 0 30px;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  color:var(--red);
  background:#fff;
  font-size:13px;
}

.navAvatar img{width:100%;height:100%;object-fit:cover}
.navAccountName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.navDeviceIcon{display:grid;width:25px;height:25px;flex:0 0 25px;place-items:center;border-radius:8px;background:rgba(255,255,255,.16)}
.navDeviceIcon svg{width:17px;height:17px;fill:currentColor}
.mobileNav a.mobileAccount{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:10px;align-items:center}
.mobileAccount .navAvatar{grid-row:1/3;width:36px;height:36px;flex-basis:36px;border-color:var(--line);background:#fff}
.navDeviceText{color:var(--muted);font-size:11px}

.burger{
  display:none;
  width:46px;
  height:46px;
  border-radius:15px;
  border:1px solid var(--line);
  background:#ffffff;
  cursor:pointer;
  transition:var(--trans);
  box-shadow:0 4px 14px rgba(17,24,39,.05);
}

.burger span{
  display:block;
  width:18px;
  height:2px;
  margin:4px auto;
  background:#374151;
  border-radius:2px;
  transition:var(--trans);
}

.burger.is-open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobileNavWrap{
  display:none;
  position:sticky;
  top:75px;
  z-index:40;
  padding:0 18px 10px;
}

.mobileNav{
  display:none;
  grid-template-columns:1fr;
  gap:8px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:var(--shadow2);
}

.mobileNav.open{ display:grid; }

.wrap{
  width:min(var(--max), calc(100% - 34px));
  margin:22px auto 70px;
}

.hero{
  display:grid;
  grid-template-columns:1.05fr 1.35fr;
  gap:18px;
  align-items:stretch;
  margin-top:18px;
}

.heroMedia{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  min-height:560px;
  box-shadow:var(--shadow);
  border:1px solid rgba(17,24,39,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    url('/assets/img/hero-proteslu.jpg') center/cover no-repeat,
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(243,244,246,.9));
}

.heroContent,
.sectionInner,
.modelHero{
  position:relative;
  overflow:hidden;
}

.heroContent{
  border-radius:var(--radius);
  background:rgba(255,255,255,.88);
  border:1px solid rgba(17,24,39,.06);
  box-shadow:var(--shadow);
  padding:30px;
}

.onlineMapCard{
  position:relative;
  min-width:0;
  min-height:560px;
  overflow:hidden;
  border-radius:var(--radius);
  background:#ffffff;
  border:1px solid rgba(17,24,39,.06);
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
}

.onlineMapHeader{
  position:relative;
  z-index:3;
  width:calc(100% - 32px);
  margin:16px;
  padding:18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:18px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 32px rgba(17,24,39,.18);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.onlineMapHeader h2{
  margin:12px 0 6px;
  font-size:clamp(28px,4vw,42px);
}

.onlineMapHeader p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

.onlineMapPreview{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  min-height:100%;
  overflow:hidden;
}

.onlineMapPreview iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  pointer-events:none;
}

.onlineMapPreviewLink{
  position:absolute;
  inset:0;
  z-index:2;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  letter-spacing:.2px;
  position:relative;
  z-index:3;
}

.badgeLight{
  color:#D43934;
  background:rgba(212,57,52,.08);
  border:1px solid rgba(212,57,52,.22);
}

h1{
  margin:16px 0 10px;
  font-size:clamp(34px, 5vw, 56px);
  line-height:1.02;
  letter-spacing:-.03em;
  position:relative;
  z-index:3;
}

.lead{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.65;
  max-width:62ch;
  position:relative;
  z-index:3;
}

.leadMuted{
  color:var(--muted);
}

.ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 20px;
  position:relative;
  z-index:3;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  text-decoration:none;
  color:var(--text);
  background:#ffffff;
  transition:var(--trans);
  box-shadow:0 4px 14px rgba(17,24,39,.05);
}

.btn:hover{
  transform:translateY(-1px);
  background:#f9fafb;
  border-color:var(--line2);
}

.btn.primary{
  color:#ffffff;
  border-color:rgba(212,57,52,.42);
  background:linear-gradient(135deg, var(--red), var(--red2));
  box-shadow:0 10px 24px rgba(212,57,52,.18);
}

.cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:16px;
}

.card{
  display:block;
  text-decoration:none;
  color:var(--text);

  border:1px solid rgba(17,24,39,.07);
  border-radius:20px;

  overflow:hidden;
  position:relative;

  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;

  padding:18px;

  transition:var(--trans);
  box-shadow:0 8px 24px rgba(17,24,39,.05);
}
.card::before{
  content:"";
  position:absolute;
  inset:0;

  background:linear-gradient(
    90deg,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,.75) 35%,
    rgba(255,255,255,.1) 100%
  );

  z-index:1;
}

.card{
  position:relative;
  overflow:hidden;

  background-repeat:no-repeat;
  background-position:right -20px bottom -10px;
  background-size:180px;

  padding:18px;
}
.cardTop,
.cardText,
.cardLink{
  position:relative;
  z-index:2;
}
.card:hover{
  transform:translateY(-2px);
  border-color:rgba(212,57,52,.20);
  background:#ffffff;
  box-shadow:0 14px 30px rgba(17,24,39,.08);
}

.cardTop{
  display:flex;
  align-items:center;
  gap:10px;
}

.cardIcon{
  font-weight:800;
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(212,57,52,.08);
  border:1px solid rgba(212,57,52,.18);
  color:#D43934;
  white-space:nowrap;
}

.cardTitle{
  font-weight:700;
  color:#111827;
}

.cardText{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.cardLink{
  margin-top:11px;
  color:var(--red2);
  font-weight:700;
  font-size:14px;
}

.section{ margin-top:18px; }

.sectionInner{
  border-radius:var(--radius);
  background:rgba(255,255,255,.90);
  border:1px solid rgba(17,24,39,.06);
  padding:24px;
  box-shadow:var(--shadow2);
}

h2{
  margin:0 0 14px;
  font-size:24px;
  letter-spacing:-.02em;
  color:#111827;
}

h3{
  margin:0 0 8px;
  font-size:16px;
  color:#111827;
}

p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.grid3{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:12px;
}

.panel{
  background:#ffffff;
  border:1px solid rgba(17,24,39,.07);
  border-radius:18px;
  padding:15px;
  box-shadow:0 6px 18px rgba(17,24,39,.04);
}

.recentCarsSection{
  margin:22px 0;
  padding:28px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow);
}

.recentCarsHeader{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}

.recentCarsHeader h2{margin:10px 0 5px;font-size:clamp(27px,3vw,40px)}
.recentCarsHeader p{margin:0;color:var(--muted)}
.recentCarsHeader > span{color:var(--red);font-size:13px;font-weight:800;white-space:nowrap}
.recentCarsRow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);gap:14px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x proximity}
.recentCarCard{position:relative;height:210px;overflow:hidden;border:1px solid var(--line);border-radius:19px;background:linear-gradient(145deg,#f8fafc,#e5e7eb);box-shadow:var(--shadow2);scroll-snap-align:start;outline:none}
.recentCarCard img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.recentCarOverlay{position:absolute;inset:auto 0 0;display:flex;min-height:118px;padding:42px 15px 14px;flex-direction:column;justify-content:flex-end;color:#fff;background:linear-gradient(180deg,transparent,rgba(0,0,0,.88));transform:translateY(66px);transition:transform .3s ease}
.recentCarOverlay strong{font-size:18px}.recentCarOverlay span{margin-top:4px;font-size:13px}.recentCarOverlay small{margin-top:4px;color:rgba(255,255,255,.78)}
.recentCarCard:hover img,.recentCarCard:focus img{transform:scale(1.06)}
.recentCarCard:hover .recentCarOverlay,.recentCarCard:focus .recentCarOverlay{transform:translateY(0)}
.recentCarsEmpty{margin:0;padding:22px;border-radius:16px;color:var(--muted);background:#f5f6f8;text-align:center}

.modelHero{
  position:relative;
  isolation:isolate;
  border-radius:var(--radius);
  border:1px solid rgba(17,24,39,.06);
  box-shadow:var(--shadow);
  min-height:360px;
  background-color:#ffffff;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center right;
  margin:22px 0;
}

.modelHero::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  z-index:0;
  pointer-events:none;
  transition:var(--trans);
}

.modelHero::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,.14), transparent 26%);
  pointer-events:none;
  z-index:1;
}

.modelHeroInner{
  padding:28px;
  max-width:720px;
  position:relative;
  z-index:2;
}

.modelHero .modelHeroInner > h1,
.modelHero .modelHeroInner > .lead{
  width:fit-content;
  max-width:100%;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 8px 28px rgba(0,0,0,.14);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.modelHero .modelHeroInner > h1{
  padding:10px 16px;
}

.modelHero .modelHeroInner > h1 a,
.modelHero .modelHeroInner > h1 a:visited{
  color:inherit !important;
  text-decoration:none;
}

.modelHero .modelHeroInner > h1 a:hover,
.modelHero .modelHeroInner > h1 a:focus-visible{
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}

.pillRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 4px;
  position:relative;
  z-index:3;
}

.pill{
  padding:9px 12px;
  border-radius:999px;
  font-size:13px;
  position:relative;
  z-index:3;
}

.notice{
  margin-top:14px;
  border-radius:18px;
  border:1px dashed rgba(212,57,52,.28);
  background:rgba(212,57,52,.06);
  padding:14px;
  color:#1f2937;
  line-height:1.6;
}

.footer{
  border-top:1px solid rgba(17,24,39,.06);
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(var(--blur));
  -webkit-backdrop-filter:blur(var(--blur));
}

.facebookGroupBanner{
  width:min(var(--max),calc(100% - 34px));
  margin:0 auto 24px;
  overflow:hidden;
  border-radius:var(--radius);
  color:#fff;
  background:linear-gradient(120deg,#0866ff 0%,#0756d6 48%,#073b96 100%);
  box-shadow:0 18px 45px rgba(8,102,255,.25);
}

.facebookGroupInner{
  min-height:190px;
  padding:30px 34px;
  display:flex;
  align-items:center;
  gap:24px;
  background:radial-gradient(circle at 15% 15%,rgba(255,255,255,.20),transparent 34%);
}

.facebookGroupIcon{
  width:86px;
  height:86px;
  flex:0 0 86px;
  display:grid;
  place-items:center;
  border:2px solid rgba(255,255,255,.55);
  border-radius:24px;
  color:#0866ff;
  background:#fff;
  font-family:Arial,sans-serif;
  font-size:70px;
  font-weight:900;
  line-height:1;
}

.facebookGroupText{flex:1;min-width:0}
.facebookGroupText span{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;opacity:.82}
.facebookGroupText h2{margin:6px 0 8px;font-size:clamp(28px,4vw,44px)}
.facebookGroupText p{max-width:750px;margin:0;color:rgba(255,255,255,.88);font-size:16px;line-height:1.55}
.facebookGroupButton{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 19px;border-radius:16px;color:#0756d6;background:#fff;text-decoration:none;font-weight:850;white-space:nowrap;box-shadow:0 9px 24px rgba(0,0,0,.16)}
.facebookGroupButton:hover{transform:translateY(-2px)}

@media(max-width:720px){
  .facebookGroupBanner{width:min(var(--max),calc(100% - 22px))}
  .facebookGroupInner{padding:24px;align-items:flex-start;flex-direction:column}
  .facebookGroupIcon{width:66px;height:66px;flex-basis:66px;border-radius:19px;font-size:54px}
  .facebookGroupButton{width:100%}
}

.footerInner{
  width:min(var(--max), calc(100% - 34px));
  margin:0 auto;
  padding:16px 0;
  display:flex;
  gap:10px;
  justify-content:space-between;
  flex-wrap:wrap;
}

.muted{
  color:var(--muted);
  font-size:13px;
}

.footerVersion{
  text-decoration:none;
  transition:color .2s ease;
}

.footerVersion:hover,
.footerVersion:focus-visible{
  color:var(--red);
  text-decoration:underline;
  text-underline-offset:3px;
}

.fadeUp{
  animation:fadeUp .7s ease both;
}

.fadeUp.delay1{ animation-delay:.08s; }
.fadeUp.delay2{ animation-delay:.16s; }

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:translateY(0); }
}

.modelHero.theme-dark::before{
  background:linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.38) 38%, rgba(0,0,0,.16) 100%);
}

.modelHero.theme-dark .badge{
  color:#ffffff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.modelHero.theme-dark h1,
.modelHero.theme-dark .lead,
.modelHero.theme-dark p{
  color:#ffffff;
}

.modelHero.theme-dark .modelHeroInner > h1 a,
.modelHero.theme-dark .modelHeroInner > h1 a:visited{
  color:#ffffff !important;
}

.modelHero.theme-dark .modelHeroInner > h1,
.modelHero.theme-dark .modelHeroInner > .lead{
  background:rgba(0,0,0,.34);
  border-color:rgba(255,255,255,.20);
}

.modelHero.theme-dark .pill{
  color:#ffffff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.modelHero.theme-dark .btn.ghost{
  background:rgba(255,255,255,.92);
  color:#111827;
  border-color:rgba(255,255,255,.55);
}

.modelHero.theme-light::before{
  background:linear-gradient(90deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.10) 42%, rgba(255,255,255,0) 100%);
}

.modelHero.theme-light .badge{
  color:var(--red);
  background:rgba(212,57,52,.08);
  border:1px solid rgba(212,57,52,.22);
}

.modelHero.theme-light h1{ color:#111827; }
.modelHero.theme-light .lead,
.modelHero.theme-light p{ color:#1f2937; }

.modelHero.theme-light .modelHeroInner > h1 a,
.modelHero.theme-light .modelHeroInner > h1 a:visited{
  color:#111827 !important;
}

.modelHero.theme-light .modelHeroInner > h1,
.modelHero.theme-light .modelHeroInner > .lead{
  background:rgba(255,255,255,.56);
  border-color:rgba(255,255,255,.82);
  box-shadow:0 8px 28px rgba(17,24,39,.16);
}

.modelHero.theme-light .pill{
  background:rgba(255,255,255,.92);
  color:#374151;
  border:1px solid rgba(17,24,39,.10);
}

.protesluHomeBanner{
  min-height:520px;
  background-position:center center;
}

.protesluHomeBanner .modelHeroInner{
  max-width:680px;
}

.protesluStatus{
  display:grid;
  gap:1px;
  margin:22px 0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--line);
  box-shadow:var(--shadow);
}

.protesluUserCount,
.protesluRelease{
  padding:30px;
  background:rgba(255,255,255,.96);
}

.protesluStatusLabel{
  display:block;
  margin-bottom:7px;
  color:var(--red);
  font-size:13px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.protesluUserCount h2,
.protesluRelease h2{
  margin:0;
}

.protesluUserCount h2{
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
  font-size:clamp(25px,3vw,38px);
}

.protesluUserCount h2 strong{
  color:var(--red);
  font-size:clamp(48px,7vw,82px);
  line-height:1;
}

.protesluUserCount p{
  margin:10px 0 0;
  color:var(--muted);
}

.protesluReleaseHeading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}

.protesluReleaseHeading time{
  color:var(--muted);
  font-size:14px;
  white-space:nowrap;
}

.protesluChangelog{
  display:grid;
  gap:9px;
  margin:20px 0 0;
  padding:0;
  list-style:none;
}

.protesluChangelog li{
  position:relative;
  padding-left:24px;
  color:#4b5563;
  line-height:1.55;
}

.protesluChangelog li::before{
  content:'+';
  position:absolute;
  left:0;
  top:0;
  color:var(--red);
  font-weight:900;
}

@media (max-width: 980px){
  .hero{ grid-template-columns:1fr; }
  .heroMedia{ min-height:340px; }
  .grid3{ grid-template-columns:1fr; }
  .modelHero{
    min-height:320px;
    background-position:center center;
  }
}

@media (max-width: 1120px){
  .nav{ display:none; }
  .burger{ display:inline-block; }
  .mobileNavWrap{ display:block; }
}

@media (max-width: 720px){
  .topbar{ padding:12px 14px; }
  .nav{ display:none; }
  .burger{ display:inline-block; }
  .mobileNavWrap{ display:block; }
  .cards, .grid2{ grid-template-columns:1fr; }
  .wrap{
    width:min(var(--max), calc(100% - 22px));
    margin:14px auto 54px;
  }
  .heroContent, .sectionInner, .modelHeroInner{ padding:20px; }
  .heroMedia{ min-height:280px; }
  .recentCarsSection{padding:20px}
  .recentCarsHeader{align-items:flex-start;flex-direction:column;gap:8px}
  .recentCarsRow{grid-auto-columns:76%}
  .recentCarOverlay{transform:translateY(0)}
  .onlineMapCard{min-height:520px}
  .onlineMapHeader{width:calc(100% - 24px);margin:12px;padding:16px;align-items:flex-start;flex-direction:column}
  .footerInner{ width:min(var(--max), calc(100% - 22px)); }
  .modelHero{
    min-height:300px;
    background-position:center center !important;
  }
  .protesluHomeBanner{
    min-height:480px;
    background-position:58% center !important;
  }
  .protesluUserCount,
  .protesluRelease{
    padding:22px;
  }
  .protesluReleaseHeading{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .modelHero.theme-dark::before{
    background:linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.26) 55%, rgba(0,0,0,.18) 100%);
  }
  .modelHero.theme-light::before{
    background:linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.08) 55%, rgba(255,255,255,.02) 100%);
  }
}
.ctaBanner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.ctaBannerText{
  max-width:760px;
}

.faqList{
  display:grid;
  gap:12px;
}

.faqItem{
  background:#ffffff;
  border:1px solid rgba(17,24,39,.07);
  border-radius:18px;
  padding:18px;
  box-shadow:0 6px 18px rgba(17,24,39,.04);
}

.modelSupportGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.supportCard{
  background:#ffffff;
  border:1px solid rgba(17,24,39,.07);
  border-radius:18px;
  padding:18px;
  box-shadow:0 6px 18px rgba(17,24,39,.04);
}

.serviceForm{
  margin-top:18px;
}

.formGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.formField{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:12px;
}

.formField label{
  font-size:14px;
  font-weight:600;
  color:#111827;
}

.formField small{
  color:var(--muted);
  font-size:12px;
}

.formField input,
.formField select,
.formField textarea{
  width:100%;
  border:1px solid #d1d5db;
  border-radius:14px;
  padding:14px 14px;
  font:inherit;
  color:#111827;
  background:#ffffff;
  outline:none;
  transition:var(--trans);
}

.formField input:focus,
.formField select:focus,
.formField textarea:focus{
  border-color:rgba(212,57,52,.45);
  box-shadow:0 0 0 4px rgba(212,57,52,.08);
}

@media (max-width: 720px){
  .modelSupportGrid,
  .formGrid{
    grid-template-columns:1fr;
  }
}

.authShell{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(460px, 1.1fr);
  gap:18px;
  align-items:start;
  margin-top:34px;
}

.authShellCompact{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

.authIntro,
.authCard,
.profileWrap{
  border:1px solid rgba(17,24,39,.07);
  border-radius:var(--radius);
  background:rgba(255,255,255,.9);
  box-shadow:var(--shadow);
}

.authIntro{
  padding:34px;
  position:sticky;
  top:100px;
}

.authIntro h1,
.profileHeader h1{
  font-size:clamp(34px, 4vw, 50px);
}

.authCard{
  padding:30px;
}

.authPoints{
  display:grid;
  gap:10px;
  margin-top:26px;
  color:#374151;
}

.authPoints span::before{
  content:"✓";
  color:var(--red);
  font-weight:800;
  margin-right:10px;
}

.optionalFields{
  margin:8px 0 20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#f9fafb;
}

.optionalFields summary{
  cursor:pointer;
  padding:15px;
  font-weight:700;
  color:#374151;
}

.optionalFieldsGrid{
  padding:4px 15px 3px;
}

.authSubmit{
  width:100%;
  border:none;
  cursor:pointer;
  font:inherit;
  font-weight:700;
}

.authSubmit:disabled{
  cursor:not-allowed;
  opacity:.55;
  transform:none;
}

.authSwitch{
  margin-top:16px;
  text-align:center;
  font-size:14px;
}

.authSwitch a{
  color:var(--red2);
  font-weight:700;
}

.authForgot{
  margin-top:14px;
  text-align:center;
  font-size:14px;
}

.authForgot a{
  color:var(--red2);
  font-weight:700;
}

.teslaPairLoginButton{
  display:flex;
  width:100%;
  justify-content:center;
  margin-top:10px;
  text-decoration:none;
}

.teslaPairPage{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(520px,1.2fr);
  gap:20px;
  align-items:stretch;
  margin-top:34px;
}

.teslaPairIntro,
.teslaPairCard{
  padding:36px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow);
}

.teslaPairIntro h1{font-size:clamp(38px,5vw,62px)}
.teslaPairIntro p{color:var(--muted);font-size:18px;line-height:1.65}
.teslaPairCard{text-align:center}
.teslaPairLabel{display:block;color:var(--red);font-size:14px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.teslaPairCode{display:block;margin:18px 0 8px;color:#111827;font-size:clamp(64px,10vw,112px);font-variant-numeric:tabular-nums;letter-spacing:.08em;line-height:1}
.teslaPairCountdown{color:var(--muted)}
.teslaPairSteps{display:grid;gap:10px;margin:28px 0;text-align:left}
.teslaPairSteps span{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#f4f5f7}
.teslaPairSteps b{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:50%;color:#fff;background:var(--red)}
.teslaPairWaiting{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}
.teslaPairWaiting i{width:10px;height:10px;border-radius:50%;background:#2eaf63;box-shadow:0 0 0 6px rgba(46,175,99,.13);animation:pairPulse 1.4s ease infinite}
.teslaPairSuccess span{display:grid;width:84px;height:84px;margin:10px auto 22px;place-items:center;border-radius:50%;color:#fff;background:#2eaf63;font-size:48px}
@keyframes pairPulse{50%{opacity:.35}}

.teslaPairProfile{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;align-items:center;margin-top:20px}
.teslaPairProfile h2{margin:12px 0 8px;font-size:clamp(28px,3vw,38px)}
.teslaPairApproveForm{padding:20px;border:1px solid var(--line);border-radius:18px;background:#f8f9fa}
.teslaPairApproveForm input{text-align:center;font-size:28px;font-weight:800;letter-spacing:.12em}
.teslaPairApproveForm .btn{width:100%}

.formAlert{
  border-radius:14px;
  padding:13px 15px;
  margin:0 0 16px;
  line-height:1.5;
  font-size:14px;
}

.formAlertError{
  color:#991b1b;
  background:#fef2f2;
  border:1px solid #fecaca;
}

.formAlertSuccess{
  color:#166534;
  background:#f0fdf4;
  border:1px solid #bbf7d0;
}

.contactPage{display:grid;grid-template-columns:minmax(0,.8fr) minmax(420px,1.2fr);gap:28px;align-items:start;margin:34px 0}
.contactIntro,.contactFormCard{padding:34px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.94);box-shadow:var(--shadow)}
.contactIntro{position:sticky;top:100px}
.contactIntro h1{margin:16px 0 12px;font-size:clamp(38px,5vw,64px);line-height:1.02}
.contactDirect{display:flex;flex-direction:column;gap:5px;margin-top:28px;padding:18px;border-radius:16px;background:#f4f5f7}
.contactDirect span{color:var(--muted);font-size:13px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}
.contactDirect a{color:var(--red);font-size:20px;font-weight:850;text-decoration:none}
.contactFormCard h2{margin:0 0 18px;font-size:32px}
.contactSubmit{width:100%;margin-top:6px}
.contactHoneypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:820px){.contactPage{grid-template-columns:1fr}.contactIntro{position:static}.contactIntro,.contactFormCard{padding:23px}}

.profileWrap{
  padding:30px;
  margin-top:34px;
}

.profileHeader{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
}

.profileHeader form{
  margin-top:8px;
}

.profileHeader button{
  cursor:pointer;
  font:inherit;
}

.profileGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin-top:24px;
}

.profileItem{
  display:grid;
  gap:6px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}

.profileItem span{
  color:var(--muted);
  font-size:13px;
}

.profileItem strong{
  overflow-wrap:anywhere;
}

.profileEditForm{
  margin:22px 0;
  padding:22px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:20px;
  background:rgba(255,255,255,.72);
}

.profileEditForm > .btn{margin-top:18px}

.profileAvatarField{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
}

.profileAvatar{
  width:104px;
  height:104px;
  flex:0 0 104px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(135deg,var(--red),#8f1714);
  border:4px solid #fff;
  box-shadow:0 8px 24px rgba(17,24,39,.18);
  font-size:38px;
  font-weight:850;
}

.profileAvatar img{width:100%;height:100%;object-fit:cover;display:block}

.companyAdminWrap{margin-bottom:34px}
.newsAdminWrap{margin:20px 0 34px}
.newsAdminWrap > .lightShowAdminHeader{margin-bottom:18px}
.newsAdminForm{padding:18px}
.newsAdminImageField img{display:block;width:min(100%,520px);height:230px;margin-bottom:10px;object-fit:cover;border:1px solid var(--line);border-radius:16px;background:#f4f4f5}
.newsEditor summary small{margin-left:auto}
.newsEditor summary::after{margin-left:8px}
.companyAdminList{display:grid;gap:12px;margin-top:14px}
.companyEditor{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}
.companyEditorNew{margin-top:22px;border-color:rgba(212,57,52,.22);background:rgba(212,57,52,.025)}
.companyEditor summary{display:flex;align-items:center;gap:12px;padding:16px 18px;cursor:pointer;font-weight:800;list-style:none}
.companyEditor summary::-webkit-details-marker{display:none}
.companyEditor summary::after{content:'Upravit';margin-left:auto;color:var(--red);font-size:13px}
.companyEditor[open] summary{border-bottom:1px solid var(--line)}
.companyEditor summary img{width:46px;height:46px;object-fit:contain;border-radius:10px;border:1px solid var(--line);background:#fff}
.companyEditor summary small{color:var(--muted);font-weight:500}
.companyForm{padding:18px}
.companyFormActions{display:flex;gap:10px;margin-top:16px}
.companyDeleteForm{padding:0 18px 18px}
.companyDeleteButton{min-height:42px;color:#fff;background:#c62828;border-color:#c62828}
.companyImageField{align-content:start}
.companyImagePreview{display:block;width:100%;height:150px;margin-bottom:10px;object-fit:cover;border:1px solid var(--line);border-radius:14px;background:#f4f4f5}
.companyLogoPreview{object-fit:contain;padding:10px;background:#fff}

.publicPageHero,
.publicPageSection,
.publicEmptyState{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.9);
  box-shadow:var(--shadow);
}
.publicPageHero{padding:34px;margin-bottom:18px}
.publicPageHero h1{margin-bottom:12px}
.publicPageSection{margin-top:18px}
.proseContent{max-width:none}
.proseContent h2{margin:30px 0 10px;font-size:clamp(25px,3vw,36px)}
.proseContent h2:first-child{margin-top:0}
.proseContent > p{max-width:85ch;color:#4b5563;font-size:17px;line-height:1.75}
.publicFeatureGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.publicFeatureGrid article{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}
.publicFeatureGrid h3{margin:0 0 7px}.publicFeatureGrid p{margin:0;color:var(--muted);line-height:1.6}
.protesluComing{margin-top:42px;padding-top:34px;border-top:1px solid var(--line)}
.protesluComingIntro{max-width:850px}.protesluComingIntro h2{margin-top:16px}.protesluComingIntro p{max-width:780px!important}
.protesluAccessGrid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px;margin-top:24px}
.protesluAccessCard{position:relative;overflow:hidden;padding:28px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow2)}
.protesluAccessCard.registeredAccess{color:#fff;border-color:rgba(212,57,52,.35);background:linear-gradient(145deg,#15171c,#251617 72%,#3b1717)}
.protesluAccessIcon{display:grid;width:48px;height:48px;place-items:center;margin-bottom:18px;border-radius:15px;color:var(--red);background:rgba(212,57,52,.1);font-size:25px;font-weight:900}
.registeredAccess .protesluAccessIcon{color:#17191d;background:#ffd400}
.protesluAccessLabel{display:block;margin-bottom:8px;color:var(--red);font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.registeredAccess .protesluAccessLabel{color:#ffd400}
.protesluAccessCard h3{margin:0 0 18px;font-size:clamp(24px,3vw,34px)}
.protesluAccessCard ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.protesluAccessCard li{position:relative;padding-left:27px;color:#4b5563;line-height:1.5}
.protesluAccessCard li::before{content:'✓';position:absolute;left:0;top:0;color:var(--red);font-weight:900}
.registeredAccess li{color:#e5e7eb}.registeredAccess li::before{color:#ffd400}.registeredAccess .btn{margin-top:24px}
@media(max-width:820px){.protesluAccessGrid{grid-template-columns:1fr}.protesluAccessCard{padding:22px}}
.newsGrid,.companyPublicGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.newsCard,.companyPublicCard{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow2)}
.newsCardLink{display:block;height:100%;color:inherit;text-decoration:none}
.newsCardLink > img,.companyPublicPhoto{display:block;width:100%;height:220px;object-fit:cover;transition:transform .3s ease}
.newsCard:hover .newsCardLink > img{transform:scale(1.035)}
.newsCardBody,.companyPublicBody{padding:20px}
.newsCardBody time{color:var(--red);font-size:13px;font-weight:750}.newsCardBody h2,.companyPublicBody h2{margin:9px 0;font-size:24px}.newsCardBody p,.companyPublicBody p{color:var(--muted);line-height:1.6}
.newsReadMore{display:block;margin-top:16px;color:var(--red);font-weight:800}
.newsDetail{max-width:1040px;margin:30px auto;padding:34px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.96);box-shadow:var(--shadow)}
.newsBackLink{display:inline-block;margin-bottom:24px;color:var(--red);font-weight:750;text-decoration:none}
.newsBackLink:hover{text-decoration:underline}
.newsDetailHeader time{display:block;margin:14px 0 6px;color:var(--red);font-size:14px;font-weight:750}
.newsDetailHeader h1{max-width:950px;margin:0;font-size:clamp(36px,6vw,66px);line-height:1.06}
.newsDetailHeader .lead{max-width:850px;margin-top:18px;color:#4b5563;font-size:20px}
.newsDetailImage{display:block;width:100%;max-height:600px;margin:30px 0;object-fit:cover;border-radius:20px}
.newsDetailContent{max-width:820px;margin:28px auto 10px;color:#252b35;font-size:18px;line-height:1.82;overflow-wrap:anywhere}
.newsShare{max-width:820px;margin:34px auto 4px;padding-top:24px;border-top:1px solid var(--line)}
.newsShare>strong{display:block;margin-bottom:14px;font-size:18px}
.newsShareLinks{display:flex;flex-wrap:wrap;gap:10px}
.newsShareButton{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border-radius:999px;color:#fff;text-decoration:none;font-weight:800;transition:transform .18s ease,filter .18s ease}
.newsShareButton:hover{transform:translateY(-2px);filter:brightness(1.08)}
.newsShareFacebook{background:#1877f2}.newsShareWhatsapp{background:#168c46}.newsShareX{background:#111}.newsShareEmail{background:#d43934}
.companyPublicLogo{display:block;width:130px;height:70px;margin:-58px 0 12px;padding:9px;object-fit:contain;border:1px solid var(--line);border-radius:14px;background:#fff;position:relative}
.companyPublicLinks{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.companyPublicLinks .btn{max-width:100%;overflow-wrap:anywhere}
.publicEmptyState{grid-column:1/-1;padding:36px;text-align:center}.publicEmptyState h2{margin:0 0 8px}.publicEmptyState p{margin:0;color:var(--muted)}

@media(max-width:980px){.newsGrid,.companyPublicGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.publicFeatureGrid,.newsGrid,.companyPublicGrid{grid-template-columns:1fr}.publicPageHero{padding:24px}.newsDetail{padding:22px}.newsDetailContent{font-size:17px}}

.homeNewsBanner .modelHeroInner{max-width:920px}
.homeNewsTitles{display:grid;grid-template-columns:auto repeat(5,minmax(0,1fr));gap:8px;align-items:stretch;margin-top:18px;padding:10px;border:1px solid rgba(255,255,255,.25);border-radius:17px;background:rgba(0,0,0,.58);backdrop-filter:blur(10px)}
.homeNewsTitles>span{display:flex;align-items:center;padding:8px 10px;color:#fff;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.homeNewsTitles a{display:-webkit-box;overflow:hidden;padding:9px 11px;border-radius:11px;background:rgba(255,255,255,.1);color:#fff;font-size:12px;font-weight:750;line-height:1.3;text-decoration:none;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.homeNewsTitles a:hover{background:rgba(255,255,255,.2)}
@media(max-width:900px){.homeNewsTitles{grid-template-columns:1fr 1fr}.homeNewsTitles>span{grid-column:1/-1}}
@media(max-width:560px){.homeNewsTitles{grid-template-columns:1fr}.homeNewsTitles>span{grid-column:auto}.newsShareButton{flex:1 1 calc(50% - 10px)}}

@media(max-width:820px){
  .teslaPairPage,.teslaPairProfile{grid-template-columns:1fr}
  .teslaPairIntro,.teslaPairCard{padding:24px}
  .teslaPairCode{font-size:clamp(54px,17vw,82px)}
}

.lightShowAdminWrap{
  margin-bottom:34px;
}

.lightShowAdminHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.lightShowAdminHeader h2{
  margin:14px 0 4px;
  font-size:clamp(28px, 3vw, 38px);
}

.lightShowAdminActions,
.lightShowRowActions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.lightShowAdminTableWrap{
  margin-top:24px;
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:18px;
}

.lightShowAdminTable{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}

.lightShowAdminTable th,
.lightShowAdminTable td{
  padding:15px 16px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:middle;
}

.lightShowAdminTable th{
  color:var(--muted);
  background:#f9fafb;
  font-size:13px;
}

.lightShowAdminTable tr:last-child td{
  border-bottom:0;
}

.lightShowRowActions .btn{
  min-height:40px;
  padding:8px 12px;
  border-radius:12px;
}

@media (max-width: 900px){
  .authShell{ grid-template-columns:1fr; }
  .authIntro{ position:static; }
  .profileGrid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 720px){
  .authShell{ margin-top:16px; }
  .authIntro, .authCard, .profileWrap{ padding:20px; }
  .profileHeader{ flex-direction:column; }
  .lightShowAdminHeader{ flex-direction:column; }
  .profileGrid{ grid-template-columns:1fr; }
  .profileAvatarField{align-items:flex-start;flex-direction:column}
  .profileEditForm{padding:16px}
}
.galleryGrid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.galleryCard{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#ffffff;
  border:1px solid rgba(17,24,39,.07);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(17,24,39,.05);
  transition:var(--trans);
}

.galleryCard:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(17,24,39,.08);
  border-color:rgba(212,57,52,.18);
}

.galleryImage{
  aspect-ratio: 4 / 3;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.galleryContent{
  padding:14px;
}

.galleryCategory{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:#D43934;
  background:rgba(212,57,52,.08);
  border:1px solid rgba(212,57,52,.18);
  margin-bottom:10px;
}

.galleryContent h3{
  margin:0;
  font-size:16px;
}

@media (max-width: 1100px){
  .galleryGrid{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 820px){
  .galleryGrid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 540px){
  .galleryGrid{
    grid-template-columns:1fr;
  }
}
.galleryGrid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.galleryCard{
  display:block;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(17,24,39,.07);
  box-shadow:0 8px 24px rgba(17,24,39,.05);
  transition:var(--trans);
}

.galleryCard:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(17,24,39,.08);
  border-color:rgba(212,57,52,.18);
}

.galleryImage{
  aspect-ratio:4 / 3;
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
}

.communityBox,
.referralBox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

@media (max-width: 1100px){
  .galleryGrid{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 820px){
  .galleryGrid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 540px){
  .galleryGrid{
    grid-template-columns:1fr;
  }
}
.variantCardLayout{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:18px;
  align-items:start;
}

.variantThumbWrap{
  width:100%;
}

.variantThumb{
  width:100%;
  aspect-ratio:4 / 3;
  border-radius:18px;
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  border:1px solid rgba(17,24,39,.08);
  background-color:#f8fafc;
}

.variantThumbPlaceholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  font-size:14px;
}

.variantMain{
  min-width:0;
}

.galleryGrid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.galleryCard{
  display:block;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(17,24,39,.07);
  box-shadow:0 8px 24px rgba(17,24,39,.05);
  transition:var(--trans);
}

.galleryCard:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(17,24,39,.08);
  border-color:rgba(212,57,52,.18);
}

.galleryImage{
  aspect-ratio:4 / 3;
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
}

.communityBox,
.referralBox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

@media (max-width: 1100px){
  .galleryGrid{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 860px){
  .variantCardLayout{
    grid-template-columns:1fr;
  }

  .variantThumb{
    max-width:360px;
  }
}

@media (max-width: 820px){
  .galleryGrid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 540px){
  .galleryGrid{
    grid-template-columns:1fr;
  }
}
.homeNewsHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.homeNewsList{
  display:grid;
  gap:16px;
}

.homeNewsItem{
  display:grid;
  grid-template-columns:120px 1fr auto;
  gap:18px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.03);
  text-decoration:none;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.homeNewsItem:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.05);
}

.homeNewsThumbWrap{
  width:120px;
}

.homeNewsThumb{
  display:block;
  width:120px;
  height:84px;
  object-fit:cover;
  border-radius:12px;
  background:#1b1b1b;
}

.homeNewsThumbPlaceholder{
  background:linear-gradient(135deg, #2a2a2a, #1b1b1b);
}

.homeNewsText{
  min-width:0;
}

.homeNewsMeta{
  font-size:13px;
  opacity:.7;
  margin-bottom:6px;
}

.homeNewsTitle{
  font-size:24px;
  line-height:1.2;
  font-weight:700;
  color:#fff;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.homeNewsArrow{
  font-size:26px;
  opacity:.7;
  transition:transform .18s ease, opacity .18s ease;
}

.homeNewsItem:hover .homeNewsArrow{
  transform:translateX(4px);
  opacity:1;
}

@media (max-width: 767px){
  .homeNewsItem{
    grid-template-columns:88px 1fr;
    gap:14px;
  }

  .homeNewsThumbWrap{
    width:88px;
  }

  .homeNewsThumb{
    width:88px;
    height:68px;
  }

  .homeNewsArrow{
    display:none;
  }

  .homeNewsTitle{
    font-size:18px;
  }
}

/* Posuvny rozcestnik modelovych domen – pouze produktove stranky. */
.modelDomainSlider{
  width:min(1480px, calc(100% - 48px));
  margin:32px auto 44px;
  padding:34px 0 12px;
  overflow:hidden;
}

.modelDomainSliderHeading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:0 0 22px;
}

.modelDomainSliderHeading h2{
  margin:0;
  font-size:clamp(30px, 4vw, 52px);
  line-height:1;
}

.modelDomainSliderViewport{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  cursor:grab;
  scrollbar-width:none;
  -ms-overflow-style:none;
  touch-action:pan-x pan-y;
  overscroll-behavior-x:contain;
  -webkit-mask-image:linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image:linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.modelDomainSliderViewport::-webkit-scrollbar{
  display:none;
}

.modelDomainSliderViewport.is-dragging{
  cursor:grabbing;
  user-select:none;
}

.modelDomainSliderTrack{
  --slide-gap:18px;
  display:flex;
  width:max-content;
  gap:var(--slide-gap);
  padding:4px 0 18px;
}

.modelDomainSlide{
  position:relative;
  flex:0 0 clamp(300px, 28vw, 410px);
  aspect-ratio:16 / 10;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:26px;
  background:#15171c;
  box-shadow:0 16px 40px rgba(0,0,0,.22);
  color:#fff;
  text-decoration:none;
  isolation:isolate;
  transform:translateZ(0);
}

.modelDomainSlide img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .45s ease, filter .45s ease;
}

.modelDomainSlideShade{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg, rgba(0,0,0,.02) 30%, rgba(0,0,0,.86) 100%);
}

.modelDomainSlideText{
  position:absolute;
  z-index:2;
  left:24px;
  right:58px;
  bottom:22px;
  display:flex;
  flex-direction:column;
  gap:5px;
  text-shadow:0 2px 14px rgba(0,0,0,.65);
}

.modelDomainSlideText strong{
  font-size:clamp(25px, 2.4vw, 36px);
  line-height:1.05;
}

.modelDomainSlideText span{
  font-size:16px;
  font-weight:700;
  letter-spacing:.02em;
  opacity:.82;
}

.modelDomainSlideArrow{
  position:absolute;
  z-index:2;
  right:22px;
  bottom:23px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:#fff;
  color:#111318;
  font-size:22px;
  transition:transform .25s ease, background .25s ease;
}

.modelDomainSlide:hover img,
.modelDomainSlide:focus-visible img{
  transform:scale(1.06);
  filter:saturate(1.1);
}

.modelDomainSlide:hover .modelDomainSlideArrow,
.modelDomainSlide:focus-visible .modelDomainSlideArrow{
  transform:translateX(4px);
  background:#e82127;
  color:#fff;
}

.modelDomainSlide:focus-visible{
  outline:3px solid #e82127;
  outline-offset:3px;
}

@media (max-width: 700px){
  .modelDomainSlider{
    width:100%;
    margin:20px auto 28px;
    padding:28px 0 8px;
  }

  .modelDomainSliderHeading{
    display:block;
    padding:0 18px;
    margin-bottom:18px;
  }

  .modelDomainSliderHeading .badge{
    display:inline-flex;
    margin-bottom:12px;
  }

  .modelDomainSliderViewport{
    -webkit-mask-image:linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    mask-image:linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }

  .modelDomainSliderTrack{
    --slide-gap:12px;
  }

  .modelDomainSlide{
    flex-basis:min(82vw, 340px);
    border-radius:20px;
  }

  .modelDomainSlideText{
    left:18px;
    right:52px;
    bottom:17px;
  }

  .modelDomainSlideText strong{ font-size:27px; }
  .modelDomainSlideText span{ font-size:14px; }

  .modelDomainSlideArrow{
    right:16px;
    bottom:16px;
    width:34px;
    height:34px;
  }
}

@media (prefers-reduced-motion: reduce){
  .modelDomainSliderViewport{
    scroll-behavior:auto;
  }
}
