/* =========================================================
   DELLA CLEANING — SECTIONS STYLES (PRODUCTION READY)
   ========================================================= */

/* Typography specifics */
.hero-chip { font-family: var(--font-family-display); font-style: italic; font-size: 1.125rem; color: var(--brand-700); margin: 0; }
.hero-heading { font-size: var(--font-size-hero); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.hero-subtext { font-size: 1.125rem; max-width: 40rem; margin: 0 auto; line-height: 1.6; color: var(--ink-soft); }
.section-heading { font-size: var(--font-size-section); font-weight: 800; color: var(--ink); margin: 0; }
.section-subtext { font-size: 1rem; color: var(--muted); max-width: 48rem; margin: 0 auto; line-height: 1.6; }
.section-padding { padding: 4rem 0; } 
.section-padding-sm { padding: 2rem 0; }
.section-top { padding-top: 6rem; padding-bottom: 4rem; }

/* Grid systems */
.grid-3-cols { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .grid-3-cols { grid-template-columns: repeat(3, 1fr); } }

/* Cards */
.card {
  background-color: var(--panel); box-shadow: var(--shadow-card);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 2rem; transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex; flex-direction: column; justify-content: center;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,.18); outline: 2px solid var(--ring-color); }
/* Разпъната връзка: името на услугата е текстът на връзката, а цялата карта се натиска */
.card-service { position: relative; justify-content: flex-start; }
.card-link { color: inherit; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-service:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }

/* --- Национално покритие: точковата карта от dellacleaning.com ---------------
   Отдолу бели точки, отгоре същата карта в синьо, изрязана с clip-path, която
   минава като вълна отляво надясно (като на .com). При намалено движение
   синята стои цялата. */
/* Фонът е по-тъмен от --panel: белите точки се виждат само по сянката си */
.coverage { background: #E9EEF5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coverage-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.coverage-text .section-subtext { margin: 1rem 0; }
.coverage-kicker { margin: 0 0 0.5rem; padding-left: 0.75rem; border-left: 3px solid var(--brand-light); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.coverage-map { margin: 0 auto; width: 100%; }
.coverage-map-in { position: relative; display: block; margin: 0 auto; max-width: 611px; }
.coverage-map img { display: block; width: 100%; height: auto; }
/* В текст на страница (За нас): своя подложка — на общия фон белите точки не личат */
.coverage-map-card { margin: 1.5rem 0 0; padding: 1.5rem; background: #E9EEF5; border: 1px solid var(--line); border-radius: var(--radius-xl); }
.coverage-map-blue { position: absolute; inset: 0; clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .coverage-map-blue { animation: map-pulse 5s ease infinite; }
}
@keyframes map-pulse {
  0%   { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  50%  { clip-path: polygon(85% 0, 0 0, 0 100%, 85% 100%); }
  100% { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
}
@media (min-width: 900px) {
  .coverage-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
}
@media print { .coverage-map-blue { animation: none; } }

/* --- Как работим: видео с ръкостискане отзад, стъпките по вертикална линия ---
   Скриптът „налива“ линията (--fill) и светва стигнатите стъпки. Без JS всичко
   е в пълен цвят. */
.process { position: relative; overflow: hidden; isolation: isolate; padding: 5rem 0; background: var(--footer-bg); color: #fff; }
.process-video { position: absolute; top: 0; left: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.process-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 30, 74, .93) 0%, rgba(15, 30, 74, .78) 35%, rgba(15, 30, 74, .8) 70%, rgba(15, 30, 74, .96) 100%);
}
.process-head { margin-bottom: 2.5rem; }
.process-kicker { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #93C5FD; }
.process .section-heading { color: #fff; }
.process .section-subtext { margin: 0.75rem 0 0; color: #CBD5E1; }
.process a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.5); }
.process a:hover { text-decoration-color: #fff; }
.process :focus-visible { outline-color: #fff; }

.how-steps { position: relative; display: grid; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.how-steps::before, .how-steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; }
.how-steps::before { background: rgba(255, 255, 255, .16); }
.how-steps::after { background: linear-gradient(180deg, #93C5FD, #3B82F6); transform: scaleY(var(--fill, 1)); transform-origin: 50% 0; }
.how-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1.5px solid #60A5FA; border-radius: 50%; background: #60A5FA; color: var(--footer-bg);
  font-weight: 800; font-size: 1.05rem; line-height: 1;
  box-shadow: 0 0 0 6px rgba(96, 165, 250, .16), 0 10px 24px -6px rgba(59, 130, 246, .6);
  transition: background-color .5s, color .5s, box-shadow .5s;
}
.step-num::after { content: ""; position: absolute; inset: -1.5px; border: 2px solid #60A5FA; border-radius: 50%; opacity: 0; pointer-events: none; }
.step-body { padding-top: 0.35rem; transition: opacity .5s; }
.step-body h3 { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin: 0 0 0.4rem; font-size: 1.25rem; font-weight: 800; color: #fff; }
.step-ico { fill: #93C5FD; flex-shrink: 0; }
.step-body p { margin: 0; max-width: 34em; line-height: 1.65; color: #CBD5E1; }
/* С JS: нестигнатите стъпки са с празен номер. Текстът им се приглушава само от
   900px нагоре — там сянката зад него е 0,9 и 0,7 държи над 4,5:1; на телефон
   сянката е по-лека и приглушеният текст пада под 4 срещу светъл кадър. */
.how-steps.is-live .step-num { background: rgba(15, 30, 74, .7); color: #93C5FD; box-shadow: none; }
@media (min-width: 900px) { .how-steps.is-live .step-body { opacity: .7; } }
.how-steps.is-live .is-on .step-num { background: #60A5FA; color: var(--footer-bg); box-shadow: 0 0 0 6px rgba(96, 165, 250, .16), 0 10px 24px -6px rgba(59, 130, 246, .6); }
.how-steps.is-live .is-on .step-body { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .how-steps.is-live .is-current .step-num::after { animation: step-ping 2.2s cubic-bezier(.2, .7, .3, 1) infinite; }
}
@keyframes step-ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

@media (min-width: 900px) {
  .process { padding: 7.5rem 0; }
  /* Ръцете са в средата на кадъра — видеото се измества наляво, за да останат
     видими до текста, а сянката се сгъстява вдясно, под стъпките. */
  .process-video { width: 125%; left: -25%; }
  .process-shade {
    background:
      linear-gradient(180deg, rgba(15, 30, 74, .85) 0%, rgba(15, 30, 74, .15) 30%, rgba(15, 30, 74, .2) 70%, rgba(15, 30, 74, .92) 100%),
      linear-gradient(90deg, rgba(15, 30, 74, .1) 0%, rgba(15, 30, 74, .55) 40%, rgba(15, 30, 74, .9) 62%);
  }
  .process-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 2.5rem; }
  .process-in > * { grid-column: 2; }
  .how-steps { gap: 2.25rem; }
}
@media print {
  .process-video, .process-shade { display: none; }
  .process { background: none; color: #000; padding: 1.5rem 0; }
  .process .section-heading, .process .section-subtext, .process-kicker, .step-body h3, .step-body p { color: #000; }
  .how-steps.is-live .step-body { opacity: 1; }
}
.card-icon { font-size: 2.5rem; color: var(--brand-light); margin-bottom: 1rem; text-align: center; }
.card-icon-number { font-size: 3.5rem; color: var(--brand-light); font-weight: 800; margin: 0 0 0.2rem 0; line-height: 1; display: block; text-align: center; }
.card-heading { font-size: var(--font-size-2xl); font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; text-align: center; line-height: 1.3; }
.card-text { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 0; text-align: left; }

/* Contact Section Grid */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); align-items: start; gap: 3rem; } }
.contact-image-wrapper { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); }
@media (min-width: 1024px) { .contact-image-wrapper { aspect-ratio: 1/1; max-height: 500px; } }
.contact-image { width: 100%; height: 100%; object-fit: cover; }
.contact-info-wrapper { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact-label { font-size: 0.875rem; font-weight: 600; color: var(--brand); text-transform: uppercase; margin-bottom: 0.5rem; }
.contact-value { font-size: 1.75rem; font-weight: 700; color: var(--ink); margin: 0;}
.contact-value-sm { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.contact-value a, .contact-value-sm a { color: var(--brand); }
.contact-block-qr { padding: 1rem; background-color: #F3F4F6; border-radius: var(--radius-lg); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; }
.qr-code-wrapper { width: 8rem; height: 8rem; margin: 0.5rem 0; }
.qr-code-img { width: 100%; height: 100%; border-radius: inherit; }

/* Text reveal animation for hero */
.text-reveal-wrapper { overflow: hidden; display: block; }
.text-reveal-line { display: block; animation: text-reveal 1s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards; transform: translate(0, 100%); opacity: 0; }
.text-reveal-wrapper:nth-child(2) .text-reveal-line { animation-delay: 0.7s; }
@keyframes text-reveal { 0% { transform: translate(0, 100%); opacity: 0 } 100% { transform: translate(0, 0); opacity: 1 } }

/* Bubbles */
.bubbles-container { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bubble { position: absolute; bottom: -100px; width: 40px; height: 40px; background: rgba(59, 130, 246, 0.15); border-radius: 50%; opacity: 0; animation: bubble-up 15s infinite ease-in; }
.bubble:nth-child(1) { left: 10%; width: 60px; height: 60px; animation-duration: 10s; }
.bubble:nth-child(2) { left: 20%; width: 25px; height: 25px; animation-duration: 12s; animation-delay: 2s; }
.bubble:nth-child(3) { left: 40%; width: 50px; height: 50px; animation-duration: 14s; animation-delay: 4s; }
.bubble:nth-child(4) { left: 60%; width: 30px; height: 30px; animation-duration: 11s; animation-delay: 1s; }
.bubble:nth-child(5) { left: 80%; width: 45px; height: 45px; animation-duration: 16s; animation-delay: 3s; }
@keyframes bubble-up { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 0.8; } 100% { transform: translateY(-1000px); opacity: 0; } }

/* Marquees & Sliders */
.marquee-wrapper { mask-image: linear-gradient(to right, transparent 0%, var(--bg) 10%, var(--bg) 90%, transparent 100%); overflow: hidden; white-space: nowrap; border-radius: var(--radius-xl); border: 1px solid var(--line); background-color: var(--bg); }
.iso-track { display: inline-flex; align-items: center; animation: iso-scroll-logos 25s linear infinite; padding: 1rem 0; }
.logo-track { list-style: none; margin: 0; }
.logo-track li { flex-shrink: 0; }
.client-logo { height: 3rem; width: auto; object-fit: contain; filter: grayscale(1) opacity(.8); transition: filter 0.3s, transform 0.3s; margin: 0 1.5rem; }
.client-logo:hover { filter: none; opacity: 1; transform: translateY(-2px); }

@keyframes iso-scroll-logos { 0% { transform: translate(0, 0) } 100% { transform: translate(-50%, 0) } }

/* Image Slider (Всички 8 снимки са напълно анимирани) */
.css-slider-container { position: relative; width: 100%; height: 300px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); background-color: var(--panel); }
@media (min-width: 1024px) { .css-slider-container { height: 400px; } }
.slider-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; }

.slider-image-1 { animation: slide-show-1 32s infinite; }
.slider-image-2 { animation: slide-show-2 32s infinite; }
.slider-image-3 { animation: slide-show-3 32s infinite; }
.slider-image-4 { animation: slide-show-4 32s infinite; }
.slider-image-5 { animation: slide-show-5 32s infinite; }
.slider-image-6 { animation: slide-show-6 32s infinite; }
.slider-image-7 { animation: slide-show-7 32s infinite; }
.slider-image-8 { animation: slide-show-8 32s infinite; }

@keyframes slide-show-1 { 0%, 11.5% { opacity: 1; } 12.5%, 100% { opacity: 0; } }
@keyframes slide-show-2 { 0%, 11.5% { opacity: 0; } 12.5%, 24% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes slide-show-3 { 0%, 24% { opacity: 0; } 25%, 36.5% { opacity: 1; } 37.5%, 100% { opacity: 0; } }
@keyframes slide-show-4 { 0%, 36.5% { opacity: 0; } 37.5%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes slide-show-5 { 0%, 49% { opacity: 0; } 50%, 61.5% { opacity: 1; } 62.5%, 100% { opacity: 0; } }
@keyframes slide-show-6 { 0%, 61.5% { opacity: 0; } 62.5%, 74% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes slide-show-7 { 0%, 74% { opacity: 0; } 75%, 86.5% { opacity: 1; } 87.5%, 100% { opacity: 0; } }
@keyframes slide-show-8 { 0%, 86.5% { opacity: 0; } 87.5%, 99% { opacity: 1; } 100% { opacity: 0; } }

/* Cert Cards */
.cert-list { list-style: none; padding: 0; margin: 0; }
/* Всеки стандарт има свой цвят: --c (текст, ≥4,5:1 на бяло), --c-soft (фон на печата) */
.cert-quality { --c: #1E40AF; --c-soft: #E0ECFF; --c-glow: rgba(30, 64, 175, .18); }
.cert-env     { --c: #15803D; --c-soft: #DCFCE7; --c-glow: rgba(21, 128, 61, .18); }
.cert-safety  { --c: #B45309; --c-soft: #FEF3C7; --c-glow: rgba(180, 83, 9, .18); }
.cert-card {
  position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 2.5rem 1.75rem 1.75rem; text-align: center; color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, var(--c-soft) 0, transparent 55%),
    var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}
/* Цветна лента горе — като печат върху бланка */
.cert-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); }
/* Воден знак: голям бледен номер в ъгъла */
.cert-card::after { content: "ISO"; content: "ISO" / ""; position: absolute; right: -0.5rem; bottom: -1.5rem; font-size: 6rem; font-weight: 900; letter-spacing: -0.04em; color: var(--c); opacity: .05; pointer-events: none; }
.cert-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 40%, transparent); box-shadow: 0 18px 40px var(--c-glow); }

.cert-seal {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 0.25rem;
  border-radius: 50%; color: var(--c); background: var(--c-soft);
  box-shadow: inset 0 0 0 2px var(--bg), 0 0 0 2px var(--c-soft), 0 8px 18px var(--c-glow);
}
.cert-seal::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c) 45%, transparent); transition: transform 0.8s; }
.cert-card:hover .cert-seal::after { transform: rotate(60deg); }
.cert-seal svg { fill: currentColor; }

.cert-title { font-size: 1.9rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.cert-iso { color: var(--c); }
.cert-year { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cert-desc { font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); max-width: 18rem; }
.cert-valid {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.75rem;
  font-size: 0.8rem; font-weight: 700; color: var(--c); background: var(--c-soft); border-radius: 999px;
}
.cert-reg { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.cert-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.6rem 1.25rem;
  font-size: 0.9rem; font-weight: 700; color: var(--c); border: 2px solid var(--c); border-radius: 999px;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}
.cert-card:hover .cert-cta { background: var(--c); color: #fff; }
.cert-card:focus-visible { outline-color: var(--c); }
@media (prefers-reduced-motion: reduce) {
  .cert-card, .cert-card:hover { transform: none; }
  .cert-seal::after { transition: none; }
}

/* --- Прозорецът на сертификата (<dialog class="cv">, прави го main.js) --------
   Тъмна сцена със светлина в цвета на стандарта; документът вляво, данните
   вдясно в „стъклена“ карта. Светлите акценти (--c-hi) са за тъмния фон —
   тъмните --c от картите не стигат 4,5:1 върху него. display само при [open]. */
.cv.cert-quality { --c-hi: #93C5FD; }
.cv.cert-env     { --c-hi: #86EFAC; }
.cv.cert-safety  { --c-hi: #FCD34D; }
.cv {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: #fff;
  background:
    radial-gradient(60rem 40rem at 30% 20%, color-mix(in srgb, var(--c-hi, #93C5FD) 16%, transparent), transparent 70%),
    radial-gradient(50rem 40rem at 100% 100%, rgba(59, 130, 246, .14), transparent 70%),
    #0A1433;
  overflow-y: auto; overscroll-behavior: contain;
}
.cv[open] { display: flex; flex-direction: column; animation: cv-in .3s ease; }
.cv::backdrop { background: #0A1433; }
@keyframes cv-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.cv :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cv button { font: inherit; cursor: pointer; }

.cv-top { display: flex; align-items: center; gap: 1rem; padding: 0.9rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cv-brand { display: none; margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #94A3B8; white-space: nowrap; }
.cv-brand span { margin-right: 0.4rem; font-weight: 900; letter-spacing: 0.12em; color: #fff; }
.cv-tabs { position: relative; /* за offsetLeft на табовете */ display: flex; gap: 0.4rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.cv-tab {
  flex-shrink: 0; min-height: 40px; padding: 0.45rem 0.9rem; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #CBD5E1; font-size: 0.85rem; font-weight: 700;
  transition: background-color .2s, color .2s, border-color .2s;
}
.cv-tab:hover { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 479px) { .cv-tab-iso, .cv-tab-year { display: none; } }
.cv-tab[aria-current="true"] { background: var(--c-hi); border-color: var(--c-hi); color: #0A1433; }
.cv-close, .cv-prev, .cv-next {
  display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff;
  transition: background-color .2s, transform .2s;
}
.cv-close:hover, .cv-prev:hover, .cv-next:hover { background: rgba(255, 255, 255, .2); }
.cv svg { fill: currentColor; }

.cv-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; width: 100%; max-width: 1240px; margin: 0 auto; padding: 1.25rem clamp(1rem, 3vw, 2rem) 2rem; }
.cv-stage { position: relative; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.cv-img {
  display: block; width: 100%; max-width: 560px; height: auto; background: #fff; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .55), 0 0 120px color-mix(in srgb, var(--c-hi, #93C5FD) 18%, transparent);
  transition: opacity .25s;
}
.cv-img.is-loading { opacity: .3; }
.cv-prev, .cv-next { position: absolute; bottom: 0.75rem; z-index: 1; background: rgba(10, 20, 51, .78); backdrop-filter: blur(6px); }
.cv-prev { left: 0.75rem; }
.cv-next { right: 0.75rem; }

.cv-info {
  position: relative; align-self: start; padding: 2rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}
.cv-info::before { content: ""; position: absolute; top: 0; left: 1.5rem; right: 1.5rem; height: 3px; border-radius: 0 0 3px 3px; background: var(--c-hi); }
.cv-seal { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1rem; border-radius: 50%; color: #0A1433; background: var(--c-hi); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-hi) 18%, transparent), 0 0 40px color-mix(in srgb, var(--c-hi) 40%, transparent); }
.cv-eyebrow { margin: 0 0 0.25rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-hi); }
.cv-count { margin-left: 0.4rem; color: #94A3B8; letter-spacing: 0.04em; }
.cv-title { margin: 0; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.cv-desc { margin: 0.4rem 0 1rem; font-size: 1.05rem; line-height: 1.5; color: #CBD5E1; }
.cv-status { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0 0 1.25rem; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: #86EFAC; background: rgba(134, 239, 172, .12); border: 1px solid rgba(134, 239, 172, .3); }
.cv-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem 1.25rem; margin: 0 0 1rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 0.9rem; }
.cv-facts dt { color: #94A3B8; }
.cv-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cv-scope { margin: 0 0 1.5rem; font-size: 0.85rem; line-height: 1.6; color: #94A3B8; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cv-verify { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 48px; padding: 0.6rem 1.25rem; border-radius: 999px; font-weight: 700; transition: transform .2s, background-color .2s; }
.cv-verify { flex: 1 1 auto; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.cv-verify:hover { background: rgba(255, 255, 255, .1); }

@media (min-width: 640px) { .cv-brand { display: block; } }
@media (min-width: 960px) {
  .cv-main { flex: 1; grid-template-columns: minmax(0, 1fr) 400px; align-items: center; gap: 3rem; }
  .cv-img { width: auto; max-width: 100%; max-height: calc(100dvh - 7.5rem); }
  .cv-prev, .cv-next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .cv-prev { left: 0; }
  .cv-next { right: 0; }
  .cv-info { align-self: center; padding: 2.25rem 2rem 2rem; }
}
@media (prefers-reduced-motion: reduce) { .cv[open] { animation: none; } .cv-img { transition: none; } }

/* Safety: Reduced Motion */
@media (prefers-reduced-motion: reduce) { 
  .iso-track, .iso-track-header { animation: none !important; } 
  .bubble { animation: none !important; display: none; }
  .css-slider-container { animation: none !important; }
  .slider-image { animation: none !important; opacity: 0 !important; }
  .slider-image-1 { opacity: 1 !important; position: static; }
  .text-reveal-line { animation: none !important; transform: translate(0, 0) !important; opacity: 1 !important; }
}
/* За нас: заглавие и въведение отгоре, под тях „Накратко“ + слайдер на един ред.
   stretch — двете кутии стават еднакво високи; слайдерът взима височината на текста. */
.about-head { max-width: 780px; margin-bottom: 2rem; }
.about-head .section-heading { margin-bottom: 0.75rem; }
.about-head .card-text { margin: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: stretch; }
.about-short { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .about-grid .css-slider-container { height: auto; min-height: 360px; }
}
.card-contact { display: block; }
/* =========================================================
   Героят с видео: видеото е фон, отгоре тъмносин слой, текстът е бял.
   Слоят е 0,66–0,82: машината трябва да се вижда, а белият текст върху
   най-светлата точка (бяла плочка) пак е ~5,8:1. Сянката е резерва.
   ========================================================= */
.hero-video {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(520px, 78vh, 760px);
  display: flex; align-items: center;
  padding: 4rem 0; text-align: center; color: #fff;
  background: #0F1E4A; /* докато постерът зарежда */
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s ease;
}
.hero-bg.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-bg { transition: none; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 30, 74, 0.66) 0%, rgba(15, 30, 74, 0.82) 100%);
}
.hero-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero-video .hero-chip { color: #BFDBFE; }
.hero-video .hero-heading { color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.hero-accent { color: #93C5FD; }
.hero-video .hero-subtext { color: #F3F4F6; max-width: 44rem; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.hero-video .hero-subtext strong { color: #fff; }

.cta-button-light, .cta-button-outline-light {
  display: inline-flex; align-items: center; min-height: 48px;
  border-radius: var(--radius-lg); padding: 0.75rem 1.5rem; font-weight: 700;
  transition: transform var(--transition-speed), background-color var(--transition-speed);
}
.cta-button-light { background: #fff; color: var(--brand); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.cta-button-light:hover { transform: translateY(-2px); background: var(--brand-soft); }
.cta-button-outline-light { border: 2px solid #fff; color: #fff; }
.cta-button-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.hero-video :focus-visible { outline-color: #fff; }

/* Управлението на слайдера: етикет, точки, пауза — долу, в една лента */
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0 1rem; max-width: 1140px; margin: 0 auto;
}
.hero-controls[hidden] { display: none; }
.hero-label {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: #fff; background: rgba(15, 30, 74, 0.6); border-left: 3px solid #93C5FD;
  padding: 0.4rem 0.75rem; border-radius: 4px;
}
.hero-dots { display: flex; gap: 0.25rem; }
.hero-dot {
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-dot::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45); border: 1px solid #fff; transition: width 0.3s, background 0.3s;
}
.hero-dot[aria-current]::before { width: 26px; border-radius: 5px; background: #fff; }
.hero-pause {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.5rem 0.9rem;
  font: inherit; font-size: 0.85rem; font-weight: 600; color: #fff; cursor: pointer;
  background: rgba(15, 30, 74, 0.6); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px;
}
.hero-pause:hover { background: rgba(15, 30, 74, 0.85); }
.hero-video { padding-bottom: 5.5rem; } /* място за лентата с управлението */
@media (max-width: 600px) {
  .hero-label { display: none; }
  .hero-pause-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
/* =========================================================
   ВИЗИЯТА ОТ ГРАФИКИТЕ НА КЛИЕНТА (10.10.2026, bug/)
   ========================================================= */
:root { --accent-cyan: #18B8E0; --navy: #0B1F4A; }

/* Заглавия в два цвята + къса светлосиня черта отдолу */
.section-heading .hl { color: var(--brand-700); }
.section-heading::after { content: ""; display: block; width: 3.5rem; height: 4px; border-radius: 2px; background: var(--accent-cyan); margin-top: 0.75rem; }
.text-center .section-heading::after, .section-heading.text-center::after { margin-left: auto; margin-right: auto; }
.process .section-heading .hl { color: #7DD3FC; }

/* Логата на клиентите — цветни, в бели карти (и на компютър) */
.client-logo, .client-logo:hover { filter: none; transform: none; }
.logo-track li, .logo-grid li { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #D6E4F5; border-radius: 14px; box-shadow: 0 2px 8px rgba(11, 31, 74, 0.06); }
.logo-track li { margin: 0 0.6rem; padding: 0.75rem 0.25rem; }
/* размерите и мрежата на „Клиенти“ (.logo-grid) — в pages.css, който се зарежда след този файл */

/* „Защо DELLA Cleaning“ */
.why-grid { display: grid; gap: 2rem; align-items: stretch; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1.25fr 1fr; gap: 3rem; } }
.why-lead { color: var(--ink-soft); font-size: 1.125rem; margin: 1rem 0 1.5rem; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-item { display: flex; gap: 1rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid #CFE0F5; }
.why-ico { flex: 0 0 3rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--brand-700); color: #fff; display: flex; align-items: center; justify-content: center; }
.why-ico svg { fill: currentColor; }
.why-title { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; color: var(--navy); }
.why-desc { margin: 0; color: var(--muted); line-height: 1.5; }
.why-badge { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; padding: 0.75rem 1.25rem; border: 2px solid var(--brand-700); border-radius: 12px; color: var(--navy); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; }
.why-badge svg { fill: var(--brand-700); }
.why-badge:hover { background: var(--brand-soft); }
.why-badge:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.why-photo { margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: #EAF2FC; }
.why-photo img { display: block; width: 100%; height: 100%; max-height: 640px; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 899px) { .why-photo img { max-height: 420px; } }
/* на компютър снимката запълва цялата височина на колоната до списъка */
@media (min-width: 900px) { .why-photo { position: relative; min-height: 420px; } .why-photo img { position: absolute; inset: 0; height: 100%; max-height: none; } }
.why-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2.5rem 0 0; padding: 1.5rem 1rem; border-radius: var(--radius-xl); background: var(--navy); color: #fff; }
.why-stats > div { padding: 0 1rem; border-left: 1px solid rgba(125, 211, 252, 0.4); }
.why-stats > div:first-child { border-left: 0; }
.why-stats dt { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: var(--accent-cyan); line-height: 1.1; }
.why-stats dd { margin: 0.35rem 0 0; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 480px) { .why-stats { padding: 1.25rem 0.5rem; } .why-stats > div { padding: 0 0.5rem; } .why-stats dd { font-size: 0.7rem; } }
