@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Cormorant+Garamond:wght@500;600;700&display=swap');
:root {
--bg: #F3F3F1; --ink: #28292B; --accent: #783B43; --muted: #5E5F62;
--card: #FFFFFF; --line: #D8D8D4; --header: #28292B; --header-text: #F3F3F1;
--footer: #1F2022; --sans: "Plus Jakarta Sans", sans-serif; --serif: "Cormorant Garamond", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.site-header { background: var(--header); color: var(--header-text); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.logo { font-family: var(--serif); font-weight: 700; text-decoration: none; font-size: 1.25rem; letter-spacing: 0.02em; }
.site-nav { display: flex; gap: 1rem; flex: 1; flex-wrap: wrap; }
.site-nav a { color: var(--header-text); text-decoration: none; opacity: 0.9; font-size: 0.95rem; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.85rem 1.25rem; border-radius: 4px; border: 1px solid transparent; text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-header { background: var(--accent); color: #fff; white-space: nowrap; }
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 0; }
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after { display: block; background: var(--header-text); height: 2px; width: 22px; position: relative; margin: 0 auto; }
.nav-toggle span:before, .nav-toggle span:after { content: ""; position: absolute; left: 0; }
.nav-toggle span:before { top: -7px; }
.nav-toggle span:after { top: 7px; }
.hero { padding: 3rem 0 2.5rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 1rem; }
.hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 38rem; margin: 0 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-media { border-radius: 8px; overflow: hidden; background: #ccc; min-height: 260px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.section { padding: 3rem 0; }
.section h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.75rem; }
.section .section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.75rem; }
.price { font-weight: 700; font-size: 1.1rem; margin: 0 0 0.85rem; }
.badge { display: inline-block; font-size: 0.75rem; padding: 0.2rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); margin-bottom: 0.5rem; }
.adv, .step { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem 1.2rem; }
.adv h3, .step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 0.6rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.form-box { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; max-width: 520px; }
label { display: block; font-size: 0.92rem; margin: 0 0 0.35rem; }
input[type=text], input[type=tel], textarea { width: 100%; padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: 4px; font: inherit; background: #fff; margin-bottom: 0.9rem; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; margin-bottom: 1rem; }
.form-msg { margin-top: 0.75rem; font-size: 0.95rem; }
.form-msg.ok { color: #2f5d3a; }
.form-msg.err { color: #8a2f2f; }
.site-footer { background: var(--footer); color: #ddd; padding: 2.5rem 0; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.5rem; color: #fff; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 0.6rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav a { color: #ccc; text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-reqs, .footer-legal { font-size: 0.88rem; color: #bbb; }
.reviews-empty { border: 1px dashed var(--line); border-radius: 8px; padding: 1.25rem; color: var(--muted); background: var(--card); }
.filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; align-items: end; }
.filters label { margin: 0; }
.filters select, .filters input { padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.empty-state { padding: 2rem; border: 1px dashed var(--line); text-align: center; color: var(--muted); background: var(--card); }
.car-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.75rem; }
.car-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1rem; margin: 1rem 0; }
.specs div { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 0.7rem 0.8rem; }
.specs span { display: block; color: var(--muted); font-size: 0.82rem; }
.quiz-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem; }
.quiz-options { display: grid; gap: 0.55rem; margin: 1rem 0; }
.quiz-options label { border: 1px solid var(--line); border-radius: 6px; padding: 0.75rem 0.9rem; cursor: pointer; display: flex; gap: 0.6rem; align-items: center; margin: 0; }
.quiz-options label:hover { border-color: var(--accent); }
.quiz-progress { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.quiz-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.page-hero { padding: 2rem 0 1rem; }
.page-hero h1 { font-family: var(--serif); margin: 0 0 0.5rem; }
@media (max-width: 900px) {
.grid-3, .footer-grid, .car-gallery, .grid-2, .specs { grid-template-columns: 1fr; }
.nav-toggle { display: inline-block; margin-left: auto; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--header); padding: 1rem; flex-direction: column; }
.site-nav.open { display: flex; }
.btn-header { display: none; }
.hero-grid.layout-split { grid-template-columns: 1fr; }
}
.hero-grid.layout-split { grid-template-columns: 1.05fr 0.95fr; }
.hero-grid.layout-stack .hero-media { order: -1; }
.card.style-cream { background: #FFFCF8; box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
.card.style-editorial { border-radius: 2px; }
.card.style-border { border-width: 1px; }
.site-vitoncars .hero { padding-top: 3.5rem; }
.site-vitoncars .card { border-radius: 10px; }
.site-thb-auto .hero-media { border-radius: 16px; }
.site-thb-auto .btn { border-radius: 999px; }
.site-auto-garant-plus .hero h1 { letter-spacing: -0.02em; }
.site-auto-garant-plus .section { border-top: 1px solid var(--line); }
.site-pitstp .quiz-wrap { border-left: 4px solid var(--accent); }
.site-navigatorcars .hero { background: linear-gradient(180deg, rgba(41,35,31,0.04), transparent); }
.site-autoterritorija .logo { letter-spacing: 0.06em; text-transform: uppercase; font-size: 1.05rem; }
.site-autoterritorija .header-inner { gap: .75rem; }
.site-autoterritorija .site-nav {
  flex: 1;
  justify-content: flex-end;
  gap: 1.1rem;
  margin-right: .15rem;
}

.legal-doc h1 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.75rem; }
.legal-doc h2 { font-family: var(--serif); font-size: 1.15rem; margin: 1.6rem 0 0.55rem; }
.legal-doc p, .legal-doc li { line-height: 1.55; color: var(--ink); }
.legal-doc ul { margin: 0.4rem 0 0.8rem; padding-left: 1.2rem; }
.legal-doc .legal-updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.2rem; }
.legal-doc a { color: var(--accent); }

/* Autoterritorija polish */

/* Autoterritorija polish */
:root {
  --bg: #EEF2F4; --ink: #1A2B32; --accent: #1F5C6B; --muted: #5A6A72;
  --card: #FFFFFF; --line: #CDD6DA; --header: #1A2B32; --header-text: #EEF2F4;
  --footer: #10181C;
}
.btn { border-radius: 2px; }
.hero-kicker {
  margin: 0 0 0.65rem; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #9CC8D2; font-weight: 700;
}
.hero-at-full {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding-top: 4.5rem;
  box-sizing: border-box;
}
.hero-at-full-bg { position: absolute; inset: 0; }
.hero-at-full-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
.hero-at-full-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,24,28,0.35) 0%, rgba(16,24,28,0.55) 40%, rgba(16,24,28,0.78) 100%),
    linear-gradient(90deg, rgba(16,24,28,0.6) 0%, rgba(16,24,28,0.18) 70%);
}
.hero-at-full-copy {
  position: relative; z-index: 2;
  padding: 1.2rem 0 1.8rem;
  max-width: 44rem;
  margin-top: -2.5vh;
}
.hero-at-full-copy .hero-kicker {
  font-size: .92rem;
  margin: 0 0 .85rem;
  letter-spacing: .14em;
}
.hero-at-full-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6.2vw, 4.15rem);
  line-height: 1.02;
  margin: 0 0 1.1rem;
  color: #fff;
  max-width: 12ch;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero-at-full-copy .lead {
  margin: 0 0 1.65rem;
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.15rem, 2.3vw, 1.38rem);
  line-height: 1.4;
  max-width: 38rem;
}
.hero-at-full .btn-accent {
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  font-size: 1.05rem;
  padding: .85rem 1.35rem;
}
.at-mosaic { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0.85rem; }
.at-wide { grid-column: 1 / -1; }
.at-card { background: var(--card); border: 1px solid var(--line); padding: 1.25rem 1.3rem; border-radius: 2px; }
.at-card h3 { margin: 0 0 0.4rem; }
.at-card p { margin: 0; color: var(--muted); }
.at-wide h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.at-dark { background: #1A2B32; color: #EEF2F4; border-color: #1A2B32; }
.at-dark p { color: rgba(238,242,244,0.78); }
.at-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.at-accent p { color: rgba(255,255,255,0.88); }
.section-at-steps { background: #fff; border-block: 1px solid var(--line); }
.at-steps { display: flex; flex-direction: column; gap: 0; }
.at-steps article {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.85rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.at-steps span { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); line-height: 1; }
.at-steps h3 { margin: 0.15rem 0 0.3rem; }
.at-steps p { margin: 0; color: var(--muted); }
.at-about {
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 2rem; align-items: end;
}
.at-city { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 4.5rem); line-height: 0.92; }
.at-org { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 0.9rem; }
.at-about-aside { border-bottom: 3px solid var(--accent); padding-bottom: 0.85rem; }
.section-at-quiz .quiz-wrap { border-top: 3px solid var(--accent); border-radius: 2px; }
.at-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.at-faq { background: var(--card); border: 1px solid var(--line); padding: 1.15rem 1.2rem; border-radius: 2px; }
.at-faq h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.at-faq p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.faq-more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.at-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.at-lead-media { margin-top: 1rem; border-radius: 2px; overflow: hidden; }
.at-lead-media img { width: 100%; min-height: 180px; object-fit: cover; }
.consent span { flex: 1; min-width: 0; }
@media (max-width: 900px) {
  .at-mosaic, .at-about, .at-faq-grid, .at-lead { grid-template-columns: 1fr; }
  .at-mosaic { grid-template-columns: 1fr 1fr; }
  .at-wide { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .at-mosaic { grid-template-columns: 1fr; } }


/* One-page quiz layouts */
.site-onepage .site-nav a { white-space: nowrap; }
.hero-split-quiz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(88vh, 780px);
  background: var(--bg);
}
.hsq-hero {
  position: relative; min-height: 420px; color: #fff; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hsq-hero-bg { position: absolute; inset: 0; }
.hsq-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hsq-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,36,34,0.25) 0%, rgba(28,36,34,0.88) 100%);
}
.hsq-shade-nav {
  background: linear-gradient(200deg, rgba(28,42,58,0.2) 0%, rgba(28,42,58,0.9) 100%);
}
.hsq-hero-copy { position: relative; z-index: 2; padding: 2.4rem 2rem 2.6rem; max-width: 34rem; }
.hsq-hero-copy h1 { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.1; margin: 0 0 0.85rem; }
.hsq-hero-copy .lead { margin: 0; color: rgba(255,255,255,0.88); }
.hsq-quiz {
  padding: 2rem 1.6rem 2.2rem; display: flex; flex-direction: column; justify-content: center;
  background: var(--card); border-left: 1px solid var(--line); overflow: auto;
}
.hsq-quiz h2 { font-family: var(--serif); margin: 0 0 0.45rem; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.hsq-quiz .section-lead { margin: 0 0 1rem; }
.hsq-quiz .quiz-wrap { border: 1px solid var(--line); max-width: none; }
.hsq-quiz .form-box { max-width: none; }
.hsq-quiz-dark {
  background: #1C2A3A; color: #F6F1EA; border-left: 0; border-right: 1px solid rgba(255,255,255,0.08);
}
.hsq-quiz-dark h2, .hsq-quiz-dark .hero-kicker { color: #fff; }
.hsq-quiz-dark .section-lead { color: rgba(246,241,234,0.78); }
.hsq-quiz-dark .quiz-wrap { background: #FFFDF9; color: var(--ink); border: 0; }
.hero-split-flip .hsq-quiz { order: 0; }
.hero-split-flip .hsq-hero { order: 1; }
.nav-rail-3 { grid-template-columns: repeat(3, 1fr) !important; }
.footer-onepage { align-items: start; }
@media (max-width: 700px) {
  .hero-at-full { min-height: 72vh; padding-top: 4.5rem; align-items: center; }
  .hero-at-full-copy { padding: 1rem 0 1.6rem; margin-top: -1vh; }
  .hero-at-full-copy h1 { max-width: none; }
}
@media (max-width: 960px) {
  .hero-split-quiz { grid-template-columns: 1fr; min-height: 0; }
  .hsq-hero { min-height: 360px; }
  .hsq-quiz { border-left: 0; border-top: 1px solid var(--line); }
  .hero-split-flip .hsq-hero { order: -1; }
  .nav-rail-3 { grid-template-columns: 1fr !important; }
}


/* Mobile overlap hardening */
@media (max-width:900px){
  .site-header,.site-header .header-inner{overflow:visible}
  .site-nav.open{z-index:5000}
  .hero-content,.hero-split .hero-copy,.hsq-hero-copy{overflow-wrap:anywhere;word-break:break-word}
  .hero-actions,.hsq-hero-copy .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn,.hsq-hero-copy .btn{width:100%;justify-content:center;box-sizing:border-box}
  .grid-3,.grid-2,.handover-grid{grid-template-columns:1fr!important}
  .catalog-layout{grid-template-columns:1fr!important}
  .about-compact,.about-split{display:block!important}
  .about-compact-cta{display:inline-flex;margin-top:1rem}
  .carousel-track{scroll-snap-type:x mandatory}
  .footer-grid{grid-template-columns:1fr!important;gap:1.25rem}
  img,video{max-width:100%;height:auto}
  .card img,.handover-card img{height:auto;aspect-ratio:16/10;object-fit:cover;width:100%}
}
@media (max-width:900px){
  .hero-full .hero-bg img,
  .hero-split .hero-media img,
  .hsq-hero-bg img{
    object-fit:cover;
    object-position:center center;
  }
  .hero.hero-full{min-height:78vh}
  .hero-split .hero-media img{min-height:52vh}
  .hsq-hero{min-height:52vh}
}

.hsq-hero-bg picture{display:block;width:100%;height:100%}
.hsq-hero-bg picture img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:960px){
  .hsq-hero{min-height:58vh}
  .hsq-hero-copy{padding:1.6rem 1.1rem 1.8rem}
  .hsq-quiz{padding:1.2rem 1rem 1.6rem}
}

.hero-at-full-bg picture{display:block;width:100%;height:100%}
.hero-at-full-bg picture img{
  width:100%;height:100%;object-fit:cover;object-position:center top;display:block;
}
@media (max-width:900px){
  .hero-at-full{min-height:78vh;padding-top:5.25rem}
  .hero-at-full-copy{padding-top:1.4rem;padding-bottom:2.2rem}
  .hero-at-full-bg img,
  .hero-at-full-bg picture img{object-position:center top!important}
}


/* Restored split hero: readable copy, not giant center overlay */
.hsq-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.6rem 2.2rem !important;
  max-width: 34rem !important;
}
.hsq-hero-copy h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem) !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
  margin: 0 0 .75rem !important;
}
.hsq-hero-copy .lead {
  font-size: clamp(1rem, 1.7vw, 1.12rem) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  max-width: 32rem !important;
}
.hsq-hero-shade {
  background: linear-gradient(180deg, rgba(12,14,16,.2) 0%, rgba(12,14,16,.35) 45%, rgba(12,14,16,.82) 100%) !important;
}
.hsq-quiz h2, .section-at-quiz h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}
.hsq-quiz .section-lead, .section-at-quiz .section-lead {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* Careful polish: contrast + readable quiz */

/* Careful polish: contrast + readable quiz */
.hsq-hero-shade {
  background: linear-gradient(
    180deg,
    rgba(8,10,12,.45) 0%,
    rgba(8,10,12,.35) 40%,
    rgba(8,10,12,.88) 100%
  ) !important;
}
.hsq-shade-nav {
  background: linear-gradient(
    180deg,
    rgba(12,22,34,.5) 0%,
    rgba(12,22,34,.4) 40%,
    rgba(12,22,34,.9) 100%
  ) !important;
}
.hsq-hero-copy { justify-content: flex-end !important; }
.hsq-hero-copy .hero-kicker {
  color: var(--accent) !important;
  text-shadow: none !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
.hsq-hero-copy h1 {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.55) !important;
}
.hsq-hero-copy .lead {
  color: #f0e6d8 !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.45) !important;
  font-weight: 600 !important;
}

/* Quiz panel must be readable */
.hsq-quiz .quiz-wrap,
.hsq-quiz-dark .quiz-wrap,
.section-at-quiz .quiz-wrap,
#quiz.quiz-wrap {
  background: #ffffff !important;
  color: #1b1c1e !important;
  border: 1px solid rgba(0,0,0,.12) !important;
}
.hsq-quiz-dark .quiz-wrap { box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.quiz-progress { color: #5c5f66 !important; }
.quiz-q, #quiz-view h3, #quiz-view .quiz-q { color: #1b1c1e !important; }
.quiz-options label, .quiz-opt {
  background: #fff !important;
  color: #1b1c1e !important;
  border: 1px solid #cfd2d6 !important;
  font-weight: 650 !important;
}
.quiz-options label:hover, .quiz-opt:hover {
  border-color: var(--accent) !important;
  background: #fafafa !important;
}
.quiz-actions .btn-ghost {
  color: #1b1c1e !important;
  border-color: #cfd2d6 !important;
  background: #fff !important;
}
.quiz-done { color: #1b1c1e !important; }

.hsq-quiz h2 { color: inherit; }
.hsq-quiz-dark > h2,
.hsq-quiz-dark > .hero-kicker { color: #fff !important; }
.hsq-quiz-dark > .section-lead { color: #e8dfd2 !important; }

/* AT hero contrast */

.hero-at-full-shade {
  background:
    linear-gradient(180deg, rgba(10,16,20,.4) 0%, rgba(10,16,20,.35) 42%, rgba(10,16,20,.9) 100%),
    linear-gradient(90deg, rgba(10,16,20,.45) 0%, rgba(10,16,20,.12) 70%) !important;
}
.hero-at-full-copy .hero-kicker { color: #9CC8D2 !important; font-weight: 800 !important; font-size: .92rem !important; }
.hero-at-full-copy h1 {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.5) !important;
  font-size: clamp(2.7rem, 6.2vw, 4.15rem) !important;
}
.hero-at-full-copy .lead {
  color: #e7eef1 !important;
  font-weight: 600 !important;
  font-size: clamp(1.15rem, 2.3vw, 1.38rem) !important;
}
.section-at-quiz .quiz-wrap { padding: 1.35rem !important; }

/* Compact readable quiz UI */

/* Compact readable quiz UI */
.hsq-quiz { padding: 1.35rem 1.25rem 1.5rem !important; }
.hsq-quiz h2 { font-size: clamp(1.2rem, 2.1vw, 1.45rem) !important; margin: 0 0 .45rem !important; line-height: 1.25 !important; }
.hsq-quiz .section-lead { font-size: .95rem !important; margin: 0 0 .85rem !important; line-height: 1.35 !important; }
.section-at-quiz h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.35rem) !important;
  margin: 0 0 .65rem !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
}
.section-at-quiz .section-lead {
  font-size: clamp(1.08rem, 2vw, 1.22rem) !important;
  margin: 0 0 1.15rem !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  max-width: 36rem !important;
}
.quiz-wrap, #quiz.quiz-wrap {
  padding: .95rem 1rem !important;
  border-radius: 10px !important;
  min-height: 0 !important;
}
#quiz-view { min-height: 0 !important; }
.quiz-progress { font-size: .82rem !important; margin-bottom: .35rem !important; }
.quiz-q, #quiz-view h3, #quiz-view .quiz-q {
  font-size: 1.05rem !important;
  margin: 0 0 .55rem !important;
  font-weight: 700 !important;
  color: #1b1c1e !important;
}
.quiz-options { gap: .4rem !important; margin: .55rem 0 .7rem !important; }
.quiz-options label, .quiz-opt {
  padding: .55rem .75rem !important;
  border-radius: 8px !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  background: #fff !important;
  color: #1b1c1e !important;
  border: 1px solid #c8ccd1 !important;
}
.site-autoterritorija .quiz-progress {
  font-size: 1.05rem !important;
  margin-bottom: .5rem !important;
  font-weight: 600 !important;
}
.site-autoterritorija .quiz-q,
.site-autoterritorija #quiz-view h3,
.site-autoterritorija #quiz-view .quiz-q {
  font-size: clamp(1.35rem, 2.6vw, 1.65rem) !important;
  margin: 0 0 .75rem !important;
  line-height: 1.25 !important;
}
.site-autoterritorija .quiz-options label,
.site-autoterritorija .quiz-opt {
  font-size: 1.08rem !important;
  padding: .7rem .9rem !important;
}
.quiz-options label:hover, .quiz-opt:hover {
  border-color: var(--accent) !important;
  background: #f7f8f9 !important;
}
.quiz-actions { gap: .5rem !important; margin-top: .15rem !important; }
.quiz-actions .btn {
  padding: .65rem 1rem !important;
  min-height: 2.4rem !important;
  font-size: .92rem !important;
}
.quiz-actions .btn-ghost {
  color: #1b1c1e !important;
  border-color: #c8ccd1 !important;
  background: #fff !important;
}
#quiz-lead-form.form-box { padding: 1rem !important; }
#quiz-lead-form h3 { font-size: 1.05rem !important; margin: 0 0 .6rem !important; }
#quiz-lead-form label { font-size: .88rem !important; margin-top: .45rem !important; }
#quiz-lead-form input, #quiz-lead-form textarea { padding: .55rem .7rem !important; }
