/* ============================================
   US Cars Prelanding — stylesheet
   Stylistyka strony-artykulu, zbliżona do uscar-trader.com
   ============================================ */

* {
  scroll-behavior: smooth;
}

:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-text-soft: #4a4a4a;
  --color-text-muted: #6b6b6b;
  --color-text-light: #9a9a9a;

  --color-accent: #1580c7;
  /* hsl(208 82% 46%) */
  --color-accent-dark: #0c6aa8;
  --color-accent-light: #e8f2fa;
  --color-accent-subtle: #f3f8fc;

  --color-dark: #171717;
  --color-dark-2: #1f1f1f;
  --color-border: #e4e6ea;
  --color-border-soft: #eef0f3;
  --color-surface: #f7f8fa;
  --color-surface-2: #eef1f4;

  --color-gold: #AB9044;
  --color-warning: #e9a33b;
  --color-success: #2fa36b;
  --color-danger: #c43b3b;

  --font-sans: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: 'Source Serif Pro', Georgia, 'Times New Roman', serif;

  --container: 1180px;
  --article: 760px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 6px 18px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 20px 50px rgba(17, 17, 17, 0.12);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= HEADER ================= */
.site-header {
  background: var(--color-dark);
  color: #fff;
}

.site-header__top {
  background: #0f0f0f;
  font-size: 13px;
  color: #c9c9c9;
}

.site-header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}

.site-header__top-inner .hours {
  color: #8a8a8a;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-header__top-inner .lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.site-header__top-inner a.lang:hover,
.site-header__top-inner .lang.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.site-header__top-inner .lang-flag {
  width: 18px;
  height: 12px;
  background: linear-gradient(to bottom, #fff 50%, #DC143C 50%);
  border-radius: 2px;
  display: inline-block;
}

.lang-flag--ru {
  background: linear-gradient(to bottom, #fff 33.33%, #0039A6 33.33%, #0039A6 66.66%, #D52B1E 66.66%);
}

.site-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__nav a {
  color: #e4e4e4;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.site-header__nav a:hover {
  color: #fff;
}

.site-header__nav a.is-active {
  color: #089DD9;
}

.site-header__nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #089DD9;
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  transition: border-color .2s;
}

.site-header__phone:hover {
  border-color: #089DD9;
  color: #089DD9;
}

.site-header__phone svg {
  flex-shrink: 0;
}

.site-header__burger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.site-header__burger span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .2s;
}

/* ================= ARTICLE HERO ================= */
.article-main {
  padding: 40px 0 0;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs span {
  color: var(--color-text-light);
  margin: 0 6px;
}

.breadcrumbs .current {
  color: var(--color-text);
}

.article-header {
  /* max-width: var(--article); */
  margin: 0 auto 28px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.article-meta .tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-radius: 3px;
}

.article-meta .dot {
  color: var(--color-border);
}

.article-meta .author {
  color: var(--color-text);
  font-weight: 500;
}

.article-title {
  font-size: 40px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--color-text);
}

.article-title .accent {
  color: var(--color-accent);
}

.article-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-text-soft);
  margin: 0 0 10px;
  font-weight: 400;
}

.article-hero-image {
  max-width: var(--container);
  margin: 0 auto 12px;
  padding: 0 24px;
}

.article-hero-image__inner {
  position: relative;
  aspect-ratio: 16/7;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3a52 0%, #2b5f7f 50%, #0f1e2c 100%);
  box-shadow: var(--shadow-lg);
}

.article-hero-image__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(8, 157, 217, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.article-hero-image__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-caption {
  /* max-width: var(--article); */
  margin: 12px auto 0;
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
  padding: 0 4px;
}

.hero-caption strong {
  color: var(--color-text-soft);
  font-style: normal;
}

.hero-cta-wrap {
  /* max-width: var(--article); */
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(21, 128, 199, 0.28);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-lg {
  padding: 18px 34px;
  font-size: 16px;
}

/* ================= ARTICLE BODY ================= */
.article-body {
  /* max-width: var(--article); */
  margin: 40px 0;
  font-size: 17px;
  line-height: 1.72;
  color: var(--color-text);
}

.article-body p {
  margin: 0 0 18px;
}

.article-body p.lead-p {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--color-text);
}

.article-body p.lead-p::first-letter {
  float: left;
  font-size: 58px;
  font-weight: 700;
  line-height: 0.95;
  margin: 6px 10px 0 0;
  color: var(--color-accent);
  font-family: var(--font-sans);
}

.article-body h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}

.article-body h2 .num {
  color: var(--color-accent);
  margin-right: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 10px;
}

.article-body strong {
  font-weight: 600;
}

.article-body em {
  font-style: italic;
  color: var(--color-text-soft);
}

.article-body a {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(21, 128, 199, 0.3);
}

.article-body a:hover {
  border-bottom-color: var(--color-accent);
}

.article-body ul {
  padding-left: 22px;
  margin: 0 0 20px;
}

.article-body ul li {
  margin-bottom: 8px;
}

/* Pull-quote */
.pull-quote {
  margin: 36px -10px;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--color-accent);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-text);
  font-style: italic;
}

.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 500;
}

.pull-quote cite::before {
  content: '— ';
  color: var(--color-accent);
}

/* ================= FEARS CALLOUT ================= */
.fears-callout {
  margin: 36px 0;
  background: #fbfbfd;
  border: 1px solid var(--color-border-soft);
  border-left: 4px solid var(--color-warning);
  border-radius: 0 10px 10px 0;
  padding: 28px 28px 22px;
}

.fears-callout__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fears-callout__title-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-warning);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}

.fears-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fears-list li {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: 8px;
  padding: 18px;
}

.fears-list .ico {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 163, 59, 0.14);
  color: var(--color-warning);
  border-radius: 8px;
  margin-bottom: 10px;
}

.fears-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text);
}

.fears-list span {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.5;
}

/* ================= SOLUTION LIST ================= */
.solution {
  margin: 36px 0;
}

.solution-services {
  counter-reset: svc;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.solution-services li {
  counter-increment: svc;
  position: relative;
  padding: 16px 18px 16px 58px;
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}

.solution-services li:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-sm);
}

.solution-services li::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 32px;
  height: 32px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.solution-services li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--color-text);
}

.solution-services li span {
  color: var(--color-text-soft);
  font-size: 14px;
}

.solution-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.solution-extras li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.solution-extras li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
}

/* ================= PROCESS (Jak to działa) ================= */
.process {
  background: linear-gradient(180deg, #f7f9fb 0%, #eef3f7 100%);
  padding: 64px 0;
  margin: 64px 0 0;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.process__head {
  max-width: var(--article);
  margin: 0 auto 38px;
  text-align: center;
}

.process__kicker {
  display: inline-block;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.process h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.process__subtitle {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process__step {
  counter-increment: step;
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 22px 18px 20px;
  border: 1px solid var(--color-border-soft);
  transition: transform .2s, box-shadow .2s;
}

.process__step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.process__step-num {
  position: absolute;
  top: -14px;
  left: 18px;
  width: 32px;
  height: 32px;
  background: var(--color-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(23, 23, 23, 0.2);
}

.process__step .ico {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 10px;
  margin: 6px 0 14px;
}

.process__step h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.3;
}

.process__step p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.process__step::after {
  content: '';
  position: absolute;
  top: 42px;
  right: -14px;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  opacity: 0.5;
}

.process__step:nth-child(4n)::after,
.process__step:last-child::after {
  display: none;
}

/* ================= CASE STUDY ================= */
.case-study {
  padding: 64px 0;
}

.case-study__head {
  max-width: var(--article);
  margin: 0 auto 32px;
}

.case-study__head .kicker {
  display: inline-block;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.case-study__head h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.case-study__head p {
  color: var(--color-text-soft);
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
}

.case-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 28px;
}

.case-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  position: relative;
}

.case-card--win {
  border-color: var(--color-accent);
  box-shadow: 0 18px 40px rgba(21, 128, 199, 0.14);
}

.case-card__badge {
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 5px 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.case-card--lose .case-card__badge {
  background: var(--color-danger);
}

.case-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0 4px;
}

.case-card__source {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.case-card__image {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: linear-gradient(135deg, #2a4a65, #17283a);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.case-card__image-wrap {
  position: relative;
}

.bad-example {
  position: absolute;
  border-radius: 12px;
  width: 40%;
  object-fit: cover;
  z-index: 1;
  box-shadow: 0 0 10px;

}

.bad-example.first-example {
  position: absolute;
  border-radius: 12px;
  top: 0;
  transform: translateX(-50%);
  width: 30%;
  object-fit: cover;
  z-index: 1;
}
.bad-example.second-example {
  position: absolute;
  border-radius: 12px;
  bottom: 0;
  right: 0;
  transform: translateX(50%);
  width: 40%;
  object-fit: cover;
  z-index: 1;
} 
.case-card__image::before {
  content: 'AUDI Q5 2022';
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.case-card--lose .case-card__image {
  background: linear-gradient(135deg, #4a3a3a, #2a1717);
}

.case-card--lose .case-card__image::after {
  content: 'PO WYPADKU';
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 8px;
  background: rgba(196, 59, 59, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 3px;
}

html[lang="ru"] .case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[lang="ru"] .case-card__image::before {
  content: 'BMW X5 2021';
  z-index: 2;
}

html[lang="ru"] .case-card--lose .case-card__image::after {
  content: 'РЫНОК ЕВРОПЫ';
  z-index: 2;
}

.case-card__price {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.case-card__price-sub {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.case-card__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-top: 1px solid var(--color-border-soft);
  font-size: 14px;
}

.case-card__specs li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border-soft);
  color: var(--color-text-soft);
}

.case-card__specs li .val {
  color: var(--color-text);
  font-weight: 500;
}

.case-card__specs li.good .val {
  color: var(--color-success);
}

.case-card__specs li.bad .val {
  color: var(--color-danger);
}

.case-card__link {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: auto;
  word-break: break-all;
}

.case-card__link a {
  color: var(--color-accent);
}

.case-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  min-width: 60px;
}

.case-divider__inner {
  background: var(--color-dark);
  color: #fff;
  padding: 16px 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.2);
  writing-mode: horizontal-tb;
}

.case-divider__inner .vs {
  display: block;
  color: var(--color-accent);
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.case-saving {
  background: linear-gradient(135deg, var(--color-accent) 0%, #0c6aa8 100%);
  color: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 14px 30px rgba(21, 128, 199, 0.28);
}

.case-saving__text {
  max-width: 62%;
}

.case-saving__text h3 {
  font-size: 22px;
  margin: 0 0 4px;
  font-weight: 700;
}

.case-saving__text p {
  margin: 0;
  opacity: 0.9;
  font-size: 15px;
}

.case-saving__amount {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.case-saving__amount small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.82;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.case-gallery__item {
  aspect-ratio: 4/4;
  background: linear-gradient(135deg, #eef1f4, #dde3e8);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 10px;
}

.case-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-gallery__caption {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 12px;
  font-style: italic;
}

/* ================= TRUST ================= */
.trust {
  background: var(--color-dark);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(8, 157, 217, 0.15), transparent 60%);
}

.trust__inner {
  position: relative;
}

.trust__kicker {
  display: inline-block;
  color: #089DD9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.trust__title {
  font-size: 32px;
  margin: 0 0 10px;
  max-width: 680px;
  letter-spacing: -0.01em;
}

.trust__lead {
  color: #b8b8b8;
  max-width: 560px;
  font-size: 16px;
  margin: 0 0 40px;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.trust__stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 22px;
}

.trust__stat-value {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.trust__stat-value .plus {
  color: #089DD9;
}

.trust__stat-label {
  color: #c0c0c0;
  font-size: 13px;
  line-height: 1.45;
}

.trust__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.trust__reviews {
  background: #fff;
  color: var(--color-text);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust__reviews h3 {
  font-size: 17px;
  margin: 0;
  font-weight: 600;
}

.trust__reviews-rating {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust__stars {
  display: inline-flex;
  gap: 2px;
}

.trust__rate-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
}

.trust__rate-sub {
  font-size: 12px;
  color: var(--color-text-muted);
}

.trust__review-card {
  background: #fafbfc;
  border: 1px solid var(--color-border-soft);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-soft);
}

.trust__review-card .author {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust__reviews a.see-more {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 500;
  margin-top: auto;
}

.trust__offices {
  background: #fff;
  color: var(--color-text);
  border-radius: 12px;
  padding: 24px;
}

.trust__offices h3 {
  font-size: 17px;
  margin: 0 0 14px;
  font-weight: 600;
}

.trust__offices-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust__offices-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-soft);
  align-items: flex-start;
}

.trust__offices-list li:last-child {
  border-bottom: 0;
}

.trust__offices-list .flag {
  flex-shrink: 0;
  width: 28px;
  height: 20px;
  border-radius: 2px;
  background: #ccc;
  margin-top: 3px;
  overflow: hidden;
  position: relative;
}

.trust__offices-list .flag--us {
  background: linear-gradient(to bottom, #B22234 0, #B22234 15.4%, #fff 15.4%, #fff 30.8%, #B22234 30.8%, #B22234 46.2%, #fff 46.2%, #fff 61.5%, #B22234 61.5%, #B22234 76.9%, #fff 76.9%, #fff 92.3%, #B22234 92.3%);
}

.trust__offices-list .flag--us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 53.8%;
  background: #3C3B6E;
}

.trust__offices-list .flag--de {
  background: linear-gradient(to bottom, #000 33.3%, #DD0000 33.3%, #DD0000 66.6%, #FFCC00 66.6%);
}

.trust__offices-list .flag--pl {
  background: linear-gradient(to bottom, #fff 50%, #DC143C 50%);
}

.trust__offices-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.trust__offices-list span {
  font-size: 13px;
  color: var(--color-text-muted);
}

.star {
  width: 22px;
  height: 22px;
  display: inline-block;
  fill: var(--color-gold);
}

/* ================= FAQ ================= */
.faq {
  padding: 64px 0 0;
}

.faq__head {
  max-width: var(--article);
  margin: 0 auto 28px;
}

.faq__kicker {
  display: inline-block;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.faq h2 {
  font-size: 32px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.faq__lead {
  color: var(--color-text-muted);
  font-size: 16px;
  margin: 0;
}

.faq__list {
  max-width: var(--article);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 4px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  transition: color .2s;
}

.faq-item__q:hover {
  color: var(--color-accent);
}

.faq-item__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  border-radius: 50%;
  background: var(--color-surface);
  transition: background .2s, transform .25s;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-text);
  transform: translate(-50%, -50%);
  transition: .25s;
}

.faq-item__toggle::before {
  width: 12px;
  height: 2px;
}

.faq-item__toggle::after {
  width: 2px;
  height: 12px;
}

.faq-item.is-open .faq-item__toggle {
  background: var(--color-accent);
}

.faq-item.is-open .faq-item__toggle::before,
.faq-item.is-open .faq-item__toggle::after {
  background: #fff;
}

.faq-item.is-open .faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .2s ease;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.is-open .faq-item__a {
  max-height: 600px;
  padding: 0 4px 22px;
}

/* ================= QUIZ ================= */
.quiz-section {
  background: linear-gradient(135deg, #f7f9fb 0%, #eef3f7 100%);
  padding: 64px 0;
  margin: 64px 0 0;
  border-top: 1px solid var(--color-border-soft);
}

.quiz-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(17, 17, 17, 0.1);
  overflow: hidden;
}

.quiz-head {
  padding: 28px 32px 16px;
  background: linear-gradient(135deg, #171717, #2a2a2a);
  color: #fff;
}

.quiz-head .kicker {
  color: #089DD9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.quiz-head h2 {
  font-size: 24px;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.quiz-head p {
  margin: 0;
  color: #c0c0c0;
  font-size: 14px;
}

.quiz-progress {
  display: flex;
  gap: 6px;
  padding: 16px 32px 0;
  background: #fff;
}

.quiz-progress__bar {
  flex: 1;
  height: 4px;
  background: var(--color-border-soft);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.quiz-progress__bar.is-active {
  background: var(--color-accent);
}

.quiz-progress__bar.is-done {
  background: var(--color-accent);
}

.quiz-form {
  padding: 24px 32px 32px;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
  animation: fadeSlide .3s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-step__num {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.quiz-step__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.quiz-step__sub {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.quiz-options.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.quiz-option {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 18px 10px;
  text-align: center;
  transition: border-color .15s, background .15s, transform .1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 74px;
}

.quiz-option:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.quiz-option.is-selected {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(21, 128, 199, 0.28);
}

.quiz-option__main {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.quiz-option__sub {
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.quiz-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.quiz-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-soft);
  margin-bottom: 6px;
}

.quiz-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  transition: border-color .2s;
  outline: none;
}

.quiz-field input:focus {
  border-color: var(--color-accent);
}

.quiz-field input.is-invalid {
  border-color: var(--color-danger);
}

.quiz-field__optional {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 12px;
}

.quiz-options--messengers {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
}

.quiz-options--messengers .quiz-option {
  min-height: 56px;
  padding: 12px 8px;
}

.quiz-summary {
  background: var(--color-accent-subtle);
  border: 1px solid var(--color-accent-light);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--color-text-soft);
}

.quiz-summary strong {
  color: var(--color-text);
  display: inline-block;
  min-width: 84px;
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--color-border-soft);
  margin-top: 8px;
  padding-top: 20px;
}

.quiz-controls .btn-ghost {
  padding: 12px 18px;
}

.quiz-controls .spacer {
  flex: 1;
}

.quiz-consent {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 12px 0 0;
  line-height: 1.5;
}

.quiz-consent a {
  color: var(--color-accent);
}

.quiz-success {
  display: none;
  text-align: center;
  padding: 36px 20px;
}

.quiz-success.is-active {
  display: block;
}

.quiz-success__icon {
  width: 72px;
  height: 72px;
  background: rgba(47, 163, 107, 0.12);
  color: var(--color-success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.quiz-success h3 {
  font-size: 22px;
  margin: 0 0 8px;
}

.quiz-success p {
  color: var(--color-text-soft);
  margin: 0;
}

.quiz-error {
  display: none;
  background: rgba(196, 59, 59, 0.08);
  border: 1px solid rgba(196, 59, 59, 0.22);
  color: var(--color-danger);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 14px;
}

.quiz-error.is-visible {
  display: block;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--color-dark);
  color: #c0c0c0;
  padding: 48px 0 24px;
  font-size: 14px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.site-footer__brand {
  max-width: 360px;
}

.site-footer__brand img {
  height: 44px;
  margin-bottom: 16px;
}

.site-footer__brand p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.site-footer__socials {
  display: flex;
  gap: 10px;
}

.site-footer__socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s;
  color: #c0c0c0;
}

.site-footer__socials a:hover {
  border-color: #089DD9;
  color: #089DD9;
}

.site-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 0 0 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul a:hover {
  color: #089DD9;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #8a8a8a;
}

.site-footer__bottom a {
  color: #8a8a8a;
}

.site-footer__bottom a:hover {
  color: #fff;
}

.site-footer__legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ================= MOBILE ================= */
@media (max-width: 960px) {
  .site-header__nav {
    display: none;
  }

  .site-header__burger {
    display: flex;
  }

  .article-title {
    font-size: 30px;
  }

  .article-lead {
    font-size: 17px;
  }

  .fears-list {
    grid-template-columns: 1fr;
  }

  .solution-services {
    grid-template-columns: 1fr;
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__step::after {
    display: none;
  }

  .case-cards {
    grid-template-columns: 1fr;
  }

  .case-divider {
    min-width: 0;
  }

  .case-divider__inner {
    padding: 10px 16px;
  }

  .case-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__bottom {
    grid-template-columns: 1fr;
  }

  .quiz-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-options.cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-options--messengers {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-saving {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-saving__text {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .bad-example.second-example {
    transform: translateX(20%) translateY(30%) !important;
  } 
   .bad-example.first-example {
    transform: translateX(-30%) !important;
  }
  .fears-callout__title {
    flex-direction: column;
    
  }
  .fears-list {
    padding-left: 0 !important;
  }
  .container {
    padding: 0 18px;
  }

  .article-main {
    padding: 28px 0 0;
  }

  .article-title {
    font-size: 26px;
  }

  .article-lead {
    font-size: 16px;
  }

  .article-body {
    font-size: 16px;
  }

  .article-body p.lead-p {
    font-size: 17px;
  }

  .article-body p.lead-p::first-letter {
    font-size: 46px;
    margin-top: 4px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .process,
  .case-study,
  .trust,
  .faq,
  .quiz-section {
    padding: 44px 0;
  }

  .process h2,
  .case-study__head h2,
  .trust__title,
  .faq h2 {
    font-size: 26px;
  }

  .pull-quote {
    font-size: 18px;
    margin: 28px 0;
    padding-left: 18px;
  }

  .case-saving__amount {
    font-size: 30px;
  }

  .quiz-head {
    padding: 22px 22px 14px;
  }

  .quiz-form {
    padding: 20px 22px 26px;
  }

  .quiz-progress {
    padding: 14px 22px 0;
  }

  .quiz-step__title {
    font-size: 20px;
  }

  .site-header__top-inner .hours {
    display: none;
  }

  .site-header__phone span {
    display: none;
  }

  .site-header__phone {
    padding: 8px 10px;
  }

  .site-header__logo img {
    height: 38px;
  }

  .site-header__main-inner {
    min-height: 64px;
  }

  .process__steps {
    grid-template-columns: 1fr;
  }

  .trust__stats {
    grid-template-columns: 1fr;
  }

  .case-gallery {
    grid-template-columns: 1fr 1fr;
  }
}