/* ==========================================================================
   Затъмняване на стъкла — само специфичното за страницата.
   Общият дизайн (бутони, секции, карти, таблица, FAQ…) е в landing.css.
   ========================================================================== */

/* ---------- Breadcrumbs ---------- */
.ipc-tint-landing .ipc-crumbs {
  padding: 22px 0 0;
  font-size: 13px;
  color: var(--gray-500);
}
.ipc-tint-landing .ipc-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.ipc-tint-landing .ipc-crumbs li { display: flex; align-items: center; gap: 8px; }
.ipc-tint-landing .ipc-crumbs li + li::before { content: "/"; color: var(--gray-700); }
.ipc-tint-landing .ipc-crumbs a:hover { color: var(--red); }

/* ---------- Симулатор на затъмняване ---------- */
.ipc-tint-landing .ipc-car-wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 10px;
}
.ipc-tint-landing .ipc-car-wrap img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.55));
}
.ipc-tint-landing .ipc-glass-mask {
  position: absolute; inset: 0;
  clip-path: polygon(70.125% 7.852%, 77.684% 8.772%, 79.625% 9.693%, 80.953% 10.614%, 81.873% 11.535%, 82.792% 12.455%, 83.507% 13.376%, 84.427% 14.297%, 84.938% 15.217%, 85.551% 16.138%, 85.959% 17.059%, 86.470% 17.980%, 86.981% 18.900%, 87.491% 20.051%, 87.798% 20.972%, 87.900% 21.893%, 88.002% 22.813%, 88.002% 23.734%, 88.104% 24.655%, 88.104% 25.575%, 88.104% 26.496%, 87.798% 27.417%, 78.093% 28.338%, 71.146% 29.258%, 48.365% 29.258%, 43.973% 28.338%, 29.262% 27.417%, 27.832% 26.496%, 28.343% 25.575%, 27.730% 24.655%, 28.854% 23.734%, 29.467% 22.813%, 29.977% 21.893%, 30.386% 20.972%, 30.999% 20.051%, 31.714% 18.900%, 32.327% 17.980%, 33.144% 17.059%, 33.451% 16.138%, 33.961% 15.217%, 34.574% 14.297%, 35.596% 13.376%, 35.902% 12.455%, 37.128% 11.535%, 38.252% 10.614%, 39.886% 9.693%, 42.747% 8.772%, 48.263% 7.852%);
  pointer-events: none;
}
.ipc-tint-landing .ipc-glass-mask::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 35%);
  opacity: var(--reflection, 0.6);
}
.ipc-tint-landing .ipc-tint-overlay {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.ipc-tint-landing #ipcTintPath { transition: fill 0.3s ease; mix-blend-mode: multiply; }

.ipc-tint-landing .ipc-readout {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; flex-wrap: wrap;
  margin: 26px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--panel-border);
}
.ipc-tint-landing .ipc-readout-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-500); font-weight: 700;
}
.ipc-tint-landing .ipc-readout-value {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(38px, 6vw, 54px); color: var(--red);
  line-height: 1; margin-top: 6px;
}
.ipc-tint-landing .ipc-readout-value span:last-child { font-size: 0.5em; }
.ipc-tint-landing .ipc-readout-tag { font-size: 14px; color: var(--gray-300); margin-top: 8px; }

/* законен статус */
.ipc-tint-landing .ipc-legal-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em;
  padding: 11px 16px;
  border: 1px solid;
  max-width: 340px;
  line-height: 1.35;
}
.ipc-tint-landing .ipc-legal-chip svg { width: 17px; height: 17px; flex-shrink: 0; }
.ipc-tint-landing .ipc-legal-chip.is-ok {
  color: #46d17a; border-color: rgba(70,209,122,0.45); background: rgba(70,209,122,0.09);
}
.ipc-tint-landing .ipc-legal-chip.is-rear {
  color: #ffb03a; border-color: rgba(255,176,58,0.45); background: rgba(255,176,58,0.09);
}

.ipc-tint-landing .ipc-slider-wrap { padding-bottom: 6px; }
.ipc-tint-landing .ipc-ticks {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--gray-500); margin-top: 10px; font-weight: 600;
}

/* ---------- Резултат ---------- */
.ipc-tint-landing .ipc-result-inner {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center;
}
.ipc-tint-landing .ipc-result-media { min-width: 0; position: relative; }
.ipc-tint-landing .ipc-result-media img { width: 100%; height: auto; display: block; }

/* ---------- Правна таблица: акцент ---------- */
.ipc-tint-landing .ipc-note-box {
  border-left: 3px solid var(--red);
  background: var(--panel);
  padding: 22px 24px;
  margin-top: 26px;
}
.ipc-tint-landing .ipc-note-box p { font-size: 14.5px; color: var(--gray-100); line-height: 1.65; }
.ipc-tint-landing .ipc-note-box strong { color: var(--red); }

/* ---------- Свързани услуги ---------- */
.ipc-tint-landing .ipc-related {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 34px;
}
.ipc-tint-landing .ipc-related a {
  border: 1px solid var(--panel-border);
  padding: 14px 22px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color .2s ease, color .2s ease;
}
.ipc-tint-landing .ipc-related a:hover { border-color: var(--red); color: var(--red); }
.ipc-tint-landing .ipc-related svg { width: 15px; height: 15px; color: var(--red); }

@media (max-width: 960px) {
  .ipc-tint-landing .ipc-result-inner { grid-template-columns: 1fr; gap: 34px; }
  .ipc-tint-landing .ipc-result-media { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .ipc-tint-landing .ipc-readout {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 20px 0 10px;
    padding-top: 18px;
  }
  .ipc-tint-landing .ipc-readout-value { font-size: 42px; }
  .ipc-tint-landing .ipc-legal-chip { width: 100%; max-width: none; justify-content: center; text-align: center; }
  /* Шестте деления не се събират — показваме само крайните и средното. */
  .ipc-tint-landing .ipc-ticks span:nth-child(2),
  .ipc-tint-landing .ipc-ticks span:nth-child(4),
  .ipc-tint-landing .ipc-ticks span:nth-child(6) { display: none; }
}
