/* =========================================================
   Ventaro Home Solutions — стилове
   ========================================================= */

:root {
  /* Цветове на марката */
  --c-primary: #0A1D33;     /* основен — тъмносин */
  --c-secondary: #699D38;   /* вторичен — зелен */
  --c-accent: #A6C96A;      /* акцентен — светлозелен */
  --c-text: #1C1F23;
  --c-bg-light: #F2F4F6;
  --c-white: #FFFFFF;

  /* Производни */
  --c-muted: #55606D;
  --c-border: #DDE2E8;
  --c-primary-90: rgba(10, 29, 51, .9);
  --c-error: #B42318;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 29, 51, .06), 0 2px 8px rgba(10, 29, 51, .05);
  --shadow: 0 10px 30px -10px rgba(10, 29, 51, .18);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* скритите елементи остават скрити, независимо от display в стиловете */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  /* стандартни (руски) форми на кирилицата вместо „българските“ курсивни форми */
  font-feature-settings: "locl" 0;
}
button, input, select, textarea, h1, h2, h3 { font-feature-settings: "locl" 0; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--c-primary); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--c-primary); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Бутони ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: #142f50; box-shadow: var(--shadow); }

.btn-accent { background: var(--c-accent); color: var(--c-primary); }
.btn-accent:hover { background: #b8d683; }

.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-ghost-light:hover svg { transform: none; }

.btn-ghost { color: var(--c-primary); border-color: var(--c-border); background: #fff; }
.btn-ghost:hover { border-color: var(--c-primary); }
.btn-ghost:hover svg { transform: none; }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--c-primary);
}
.link-btn svg { width: 18px; height: 18px; color: var(--c-secondary); transition: transform .2s var(--ease); }
.link-btn:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--c-border); box-shadow: 0 4px 20px -12px rgba(10, 29, 51, .25); }

.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: block; flex-shrink: 0; }
/* логото е на бял фон — multiply го прави невидим върху светли фонове */
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-actions .btn { display: none; }

/* Меню — винаги видимо отгоре (на телефон е на втори ред под логото) */
.main-nav { order: 3; width: 100%; display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--c-bg-light); }
.main-nav ul {
  list-style: none; margin: 0; padding: 6px 0; width: 100%;
  display: flex; justify-content: space-between; gap: 2px;
  overflow-x: auto; scrollbar-width: none;
}
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav li a {
  display: flex; align-items: center; min-height: 44px; padding: 0 7px; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 13px; color: var(--c-text); transition: background-color .2s, color .2s;
}
.main-nav li a:hover { background: var(--c-bg-light); color: var(--c-primary); }
.main-nav li a.is-active { color: var(--c-primary); background: var(--c-bg-light); }
.nav-phone { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--c-primary); min-height: 44px; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--c-secondary); }

@media (max-width: 899px) {
  :root { --header-h: 128px; } /* два реда: лого + меню */
  .header-inner { flex-wrap: wrap; height: auto; column-gap: 16px; }
  .brand { padding: 12px 0; }
}
@media (min-width: 480px) {
  .main-nav ul { justify-content: flex-start; gap: 4px; }
  .main-nav li a { padding: 0 14px; font-size: 15px; }
}
@media (min-width: 640px) {
  .header-actions .btn { display: inline-flex; }
}
/* бутонът „Запитване за монтаж“ горе вдясно — зелени букви при посочване/натискане */
.header-actions .btn-primary:hover,
.header-actions .btn-primary:focus-visible,
.header-actions .btn-primary:active { color: var(--c-accent); }
@media (min-width: 900px) {
  .main-nav { order: 0; width: auto; border-top: 0; margin-left: auto; }
  .main-nav ul { padding: 0; overflow: visible; }
  .header-actions { margin-left: 0; }
}
@media (min-width: 1200px) {
  .nav-phone { display: inline-flex; }
  .brand img { height: 52px; }
}

/* Превключвател на езика BG / EN — горе вдясно, видим и на телефон */
.lang-switch {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; padding: 3px;
  border: 1px solid var(--c-border); border-radius: 999px; background: #fff;
}
/* тъмносиньото „хапче“ стои под активния език и се плъзга към другия като ключ */
.lang-switch::before {
  content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px); border-radius: 999px;
  background: var(--c-primary); box-shadow: 0 2px 8px rgba(10, 29, 51, .18);
  transition: transform .4s cubic-bezier(.65, 0, .35, 1);
}
html[lang="en"] .lang-switch::before { transform: translateX(100%); }
.lang-switch:has(a[lang="en"]:hover)::before,
.lang-switch:has(a[lang="en"]:focus-visible)::before,
html .lang-switch.go-en::before { transform: translateX(100%); }
.lang-switch:has(a[lang="bg"]:hover)::before,
.lang-switch:has(a[lang="bg"]:focus-visible)::before,
html .lang-switch.go-bg::before { transform: translateX(0); }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 38px; padding: 0 10px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  text-decoration: none; color: var(--c-muted);
  transition: color .3s ease, transform .25s ease;
}
.lang-switch a[aria-current] { color: #fff; }
/* езикът под хапчето при посочване/натискане — зелени букви, като „Запитване за монтаж“ */
.lang-switch a:hover,
.lang-switch a:focus-visible,
.lang-switch.is-switching a:not([aria-current]) { color: var(--c-accent); }
/* докато хапчето е преместено, текущият език е сив */
.lang-switch:has(a:not([aria-current]):hover) a[aria-current],
.lang-switch:has(a:not([aria-current]):focus-visible) a[aria-current],
.lang-switch.is-switching a[aria-current] { color: var(--c-muted); }
.lang-switch a:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .lang-switch::before, .lang-switch a { transition: none; } }

/* ---------- Hero ---------- */
.hero { padding: 12px 0 0; }
.hero-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 560px; display: flex; align-items: flex-end;
  background: var(--c-primary);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 29, 51, .15) 0%, rgba(10, 29, 51, .55) 45%, rgba(10, 29, 51, .92) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 28px 20px 32px; max-width: 680px; color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.chip-light { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(6px); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(166, 201, 106, .25); }

.hero h1 { color: #fff; font-size: clamp(32px, 7vw, 58px); font-weight: 800; margin: 0 0 16px; text-wrap: balance; }
.hero h1 .accent { color: var(--c-accent); }
.hero-lead { font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (min-width: 768px) {
  .hero-card { min-height: 620px; align-items: center; }
  .hero-card::after {
    background: linear-gradient(90deg, rgba(10, 29, 51, .94) 0%, rgba(10, 29, 51, .78) 38%, rgba(10, 29, 51, .2) 72%, rgba(10, 29, 51, 0) 100%);
  }
  .hero-content { padding: 56px 56px; }
  .hero-lead { font-size: 18px; }
}

.trust-bar {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; gap: 10px;
}
.trust-bar li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--c-bg-light); border-radius: var(--radius); font-size: 15px; color: var(--c-muted);
}
.trust-bar strong { color: var(--c-primary); font-weight: 700; }
.trust-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--c-secondary); flex-shrink: 0; }
@media (min-width: 768px) { .trust-bar { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ---------- Секции ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--c-bg-light); }
@media (min-width: 1024px) { .section { padding: 104px 0; } }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-sub { margin-top: 80px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; text-wrap: balance; }
.section-lead { margin-top: 14px; font-size: 17px; color: var(--c-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--c-secondary); }
.eyebrow-center::after { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--c-secondary); }

/* ---------- Продукти: комарници ---------- */
.product-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.product-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }

.product-art { background: var(--c-bg-light); padding: 18px 12px; }
.product-art svg { width: 100%; height: auto; aspect-ratio: 200 / 140; stroke-width: 2.5; }
.product-art .frame { fill: #fff; stroke: var(--c-primary); stroke-width: 3; }
.product-art .glass { fill: #E6EEF5; stroke: none; }
.product-art .box { fill: var(--c-primary); stroke: none; }
.product-art .panel { fill: #fff; stroke: var(--c-primary); stroke-width: 2.5; }
.product-art .mesh { fill: rgba(105, 157, 56, .18); stroke: var(--c-secondary); stroke-width: 1.5; stroke-dasharray: 3 3; }
.product-art .mesh-path { fill: rgba(105, 157, 56, .18); stroke: var(--c-secondary); stroke-width: 1.5; stroke-dasharray: 3 3; }
.product-art .pleat { stroke: var(--c-secondary); stroke-width: 1.5; }
.product-art .pleat-zig { stroke: var(--c-secondary); stroke-width: 1.5; }
.product-art .handle { fill: var(--c-primary); stroke: none; }
.product-art .hinge { fill: var(--c-secondary); stroke: none; }
.product-art .arrow { stroke: var(--c-secondary); stroke-width: 3; }

.product-body { padding: 20px 20px 14px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.product-body p { color: var(--c-muted); font-size: 15px; }
.product-tags { list-style: none; padding: 0; margin: 14px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags li { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(166, 201, 106, .28); color: var(--c-primary); }
.card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.service-body .card-actions { justify-content: flex-start; gap: 20px; }
.service-body .card-actions .btn { margin-top: 0; }
.more-link {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600;
  color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-border);
}
.more-link:hover { color: var(--c-primary); text-decoration-color: var(--c-secondary); }

.section-head-row { max-width: none; display: flex; flex-direction: column; gap: 20px; }
.section-head-row > div { max-width: 640px; }
.section-head-row .btn { align-self: flex-start; }
@media (min-width: 900px) { .section-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; } .section-head-row .btn { align-self: auto; } }

/* ---------- Дограма и щори ---------- */
.service-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.service-card { background: var(--c-bg-light); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.service-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--c-border); }
.service-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
@media (min-width: 768px) { .service-body { padding: 32px; } }
.service-body h3 { font-size: 24px; font-weight: 800; }
.service-body p { color: var(--c-muted); }
.service-body .btn { align-self: flex-start; margin-top: auto; }

.check-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--c-primary); }
.check-list li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Страница „Продукти“ ---------- */
.page-hero { background: var(--c-primary); color: rgba(255, 255, 255, .82); padding: 48px 0 56px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -140px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 157, 56, .35), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--c-accent); font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin: 14px 0 0; }
.page-hero p { font-size: 17px; max-width: 560px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.breadcrumb a { color: var(--c-accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.product-tabs {
  position: sticky; top: var(--header-h); z-index: 30;
  background: #fff; border-bottom: 1px solid var(--c-border);
}
.product-tabs ul {
  list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.product-tabs ul::-webkit-scrollbar { display: none; }
.product-tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--c-muted);
  border: 1.5px solid var(--c-border); scroll-snap-align: start; transition: all .2s var(--ease);
}
.product-tabs a:hover { color: var(--c-primary); border-color: var(--c-primary); }
.product-tabs a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.product-details { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 80px; }
.product-detail {
  scroll-margin-top: calc(var(--header-h) + 80px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--c-border);
}
@media (min-width: 900px) {
  .product-detail { grid-template-columns: 5fr 7fr; gap: 48px; padding: 32px; align-items: start; }
  /* при разменените блокове колоните също се разменят, за да е снимката с еднакъв размер */
  .product-detail:nth-child(even) { grid-template-columns: 7fr 5fr; }
  .product-detail:nth-child(even) .detail-art { order: 2; }
}
.detail-art { background: var(--c-bg-light); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 90px); }
@media (max-width: 899px) { .detail-art { position: static; } }
.detail-art svg { width: 100%; height: auto; aspect-ratio: 200 / 140; stroke-width: 2.5; }
.detail-art .frame { fill: #fff; stroke: var(--c-primary); stroke-width: 3; }
.detail-art .glass { fill: #E6EEF5; stroke: none; }
.detail-art .box { fill: var(--c-primary); stroke: none; }
.detail-art .panel { fill: #fff; stroke: var(--c-primary); stroke-width: 2.5; }
.detail-art .mesh, .detail-art .mesh-path { fill: rgba(105, 157, 56, .18); stroke: var(--c-secondary); stroke-width: 1.5; stroke-dasharray: 3 3; }
.detail-art .pleat, .detail-art .pleat-zig { stroke: var(--c-secondary); stroke-width: 1.5; }
.detail-art .handle { fill: var(--c-primary); stroke: none; }
.detail-art .hinge { fill: var(--c-secondary); stroke: none; }
.detail-art .arrow { stroke: var(--c-secondary); stroke-width: 3; }
/* рисунката на комарника е бутон, който отваря галерията */
.detail-art-btn {
  display: block; width: 100%; border: 0; font: inherit; color: inherit; text-align: center; cursor: zoom-in;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.detail-art-btn > span:first-child { display: block; }
.detail-art-btn:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.gallery-hint {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px;
  border-radius: 999px; background: #fff; color: var(--c-primary);
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); white-space: nowrap; max-width: 100%;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.gallery-hint svg { width: 16px; height: 16px; color: var(--c-secondary); stroke-width: 2; }
/* на телефон — по-кратък надпис, за да не излиза от снимката */
.gallery-hint .hint-short { display: none; }
@media (max-width: 559px) {
  .gallery-hint .hint-long { display: none; }
  .gallery-hint .hint-short { display: inline; }
}
.detail-photo .gallery-hint { max-width: calc(100% - 24px); }
.detail-art-btn:hover .gallery-hint { background: var(--c-primary); color: #fff; }
.detail-art-btn:hover .gallery-hint svg { color: var(--c-accent); }

/* ---------- Галерия (lightbox) ---------- */
.lightbox {
  width: min(1000px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 24px; background: var(--c-primary); color: #fff;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); overflow: hidden;
}
.lightbox[open] { display: flex; flex-direction: column; animation: dialog-in .28s var(--ease); }
.lightbox::backdrop { background: rgba(5, 14, 26, .8); backdrop-filter: blur(3px); }
.lightbox-head { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.lightbox-head > div { flex: 1; min-width: 0; }
.lightbox-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); }
.lightbox-head h2 { color: #fff; font-size: 20px; font-weight: 800; margin-top: 2px; }
.lightbox-count { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.lightbox-close {
  width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: transparent; color: #fff; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .12); }
/* flex: 1 1 auto — в Safari (iPhone) flex: 1 свиваше съдържанието до 0 височина */
.lightbox-stage { position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-items: center; background: #050E1A; }
.lightbox-img { max-width: 100%; max-height: calc(100dvh - 240px); width: auto; height: auto; object-fit: contain; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--c-primary); cursor: pointer; box-shadow: var(--shadow);
}
.lightbox-nav:hover { background: var(--c-accent); }
.lightbox-nav[hidden] { display: none; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-thumbs { display: flex; gap: 8px; padding: 12px 20px 18px; overflow-x: auto; scrollbar-width: thin; }
.lightbox-thumbs[hidden] { display: none; }
.lightbox-thumbs button { flex: 0 0 auto; width: 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.lightbox-thumbs button:hover { opacity: 1; }
.lightbox-thumbs button.is-active { opacity: 1; border-color: var(--c-accent); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-empty { padding: 48px 24px 56px; text-align: center; display: grid; justify-items: center; gap: 12px; max-width: 460px; }
.lightbox-empty[hidden] { display: none; }
.lightbox-empty-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: rgba(166, 201, 106, .18); color: var(--c-accent); margin-bottom: 4px; }
.lightbox-empty-icon svg { width: 32px; height: 32px; }
.lightbox-empty h3 { color: #fff; font-size: 22px; font-weight: 800; }
.lightbox-empty p { color: rgba(255, 255, 255, .78); }
.lightbox-empty .btn { margin-top: 8px; background: var(--c-accent); color: var(--c-primary); }
.lightbox-empty .btn:hover { background: #b8d683; }

.detail-photo { padding: 0; overflow: hidden; }
/* при снимките надписът стои върху долната част на снимката */
.detail-photo.detail-art-btn { position: relative; top: 0; }
@media (min-width: 900px) { .detail-photo.detail-art-btn { position: sticky; top: calc(var(--header-h) + 90px); } }
.detail-photo .gallery-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; }
.detail-photo.detail-art-btn img { transition: transform .4s var(--ease); }
.detail-photo.detail-art-btn:hover img { transform: scale(1.03); }
.detail-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.detail-body { display: flex; flex-direction: column; gap: 18px; }
.detail-body .eyebrow { margin-bottom: -6px; }
.detail-body h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
/* бутон „Видове“ горе вдясно на всеки продукт */
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: -6px; }
.detail-top .eyebrow { margin-bottom: 0; }
.variants-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 18px;
  border: 0; border-radius: 999px; background: var(--c-primary); color: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.variants-btn svg { width: 16px; height: 16px; stroke-width: 2.5; transition: transform .2s var(--ease); }
.variants-btn:hover { color: var(--c-accent); }
.variants-btn:hover svg { transform: translateX(3px); }

/* страничен панел „Видове“ */
.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(460px, 100%); max-width: 100%;
  padding: 0; border: 0; border-radius: 24px 0 0 24px; background: #fff; color: var(--c-text);
  box-shadow: -20px 0 60px -20px rgba(10, 29, 51, .45);
}
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in .3s var(--ease); }
.drawer::backdrop { background: rgba(10, 29, 51, .5); backdrop-filter: blur(2px); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 22px 16px; border-bottom: 1px solid var(--c-bg-light); }
.drawer-eyebrow { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-secondary); }
.drawer-head h2 { font-size: 22px; font-weight: 800; margin-top: 2px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 22px 28px; overscroll-behavior: contain; }
.drawer-empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 40px 8px; }
.drawer-empty-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: rgba(166, 201, 106, .25); color: var(--c-secondary); }
.drawer-empty-icon svg { width: 30px; height: 30px; }
.drawer-empty h3 { font-size: 20px; font-weight: 800; }
.drawer-empty p { color: var(--c-muted); }
.drawer-empty .btn { margin-top: 6px; }
.variant-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.variant-card { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.variant-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--c-bg-light); }
.variant-body { padding: 16px 18px 8px; display: grid; gap: 8px; }
.variant-body h3 { font-size: 17px; font-weight: 700; }
.variant-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.variant-price {
  flex-shrink: 0; text-align: right; font-family: var(--font-head); font-weight: 800; font-size: 18px; line-height: 1.2;
  color: var(--c-primary); background: rgba(166, 201, 106, .3); padding: 6px 12px; border-radius: 12px;
}
.variant-price span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--c-muted); }
.price-note { margin-top: 16px; font-size: 13px; color: var(--c-muted); }
.variant-body p { color: var(--c-muted); font-size: 15px; }
.variant-body .product-tags { margin: 2px 0 0; }

.detail-tagline { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--c-secondary); margin-top: -6px; }
.detail-text { display: grid; gap: 12px; color: var(--c-text); font-size: 16.5px; }
.detail-meta { display: grid; gap: 20px; padding: 20px; border-radius: var(--radius); background: var(--c-bg-light); }
@media (min-width: 640px) { .detail-meta { grid-template-columns: 1.3fr 1fr; } }
.detail-meta h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.detail-meta .product-tags { margin: 0; }
.detail-meta .meta-gap { margin-top: 16px; }
.detail-body > .btn { align-self: flex-start; }

/* ---------- Политика за поверителност ---------- */
.legal { max-width: 780px; padding-top: 48px; padding-bottom: 80px; font-size: 16.5px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 36px 0 12px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--c-secondary); }
.legal a { color: var(--c-primary); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--c-secondary); }
.legal-updated { font-size: 14px; color: var(--c-muted); }

/* ---------- Процес ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.process li {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px 22px 24px;
  box-shadow: var(--shadow-sm);
}
.process-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--c-primary); color: var(--c-accent); margin-bottom: 18px; }
.process-icon svg { width: 24px; height: 24px; }
.process-num { position: absolute; top: 22px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--c-border); }
.process h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process p { color: var(--c-muted); font-size: 15px; }

@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .process li:not(:last-child)::after {
    content: ""; position: absolute; top: 55px; right: -20px; width: 20px; border-top: 2px dashed var(--c-secondary);
  }
}

/* ---------- CTA лента ---------- */
.cta-band { background: var(--c-primary); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 157, 56, .35), transparent 70%);
}
.cta-inner { position: relative; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; text-wrap: balance; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 8px; }
@media (min-width: 900px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-inner.cta-centered { justify-content: center; align-items: center; text-align: center; }

/* ---------- Контакти ---------- */
.contacts { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contacts { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; } }

.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
@media (min-width: 560px) { .contact-list { grid-template-columns: 1fr 1fr; } }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--c-bg-light); border-radius: var(--radius); min-width: 0; }
.contact-list li > div { display: flex; flex-direction: column; min-width: 0; }
.contact-list a { font-weight: 700; color: var(--c-primary); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list li span:not(.contact-label):not(.contact-icon):not(.contact-sub) { font-weight: 700; color: var(--c-primary); }
.contact-label { font-size: 13px; color: var(--c-muted); font-weight: 600; }
.contact-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--c-secondary); flex-shrink: 0; }
.contact-icon-viber { color: #7360F2; }

.socials { margin-top: 28px; }
.social-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.social-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: var(--c-primary); color: #fff; text-decoration: none; transition: background-color .2s;
}
.social-btn:hover { background: var(--c-secondary); }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; }
.footer-ig svg { width: 18px; height: 18px; color: var(--c-accent); }
.social-btn.is-soon { background: var(--c-bg-light); color: var(--c-muted); border: 1px dashed var(--c-border); cursor: default; }
.soon-note { font-size: 13px; color: var(--c-muted); }

.contacts-side { display: grid; gap: 16px; }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-bg-light); aspect-ratio: 4 / 3; isolation: isolate; }
.service-map { width: 100%; height: 100%; font-family: var(--font-body); }
/* общото правило за иконите (svg 20px) не трябва да засяга слоевете на картата */
.service-map svg { width: auto; height: auto; stroke-width: initial; }
.map-tiles { filter: saturate(.35) brightness(1.04); } /* по-спокойна карта, за да изпъкват очертанията */
.map-legend {
  position: absolute; left: 12px; bottom: 12px; z-index: 500; list-style: none; margin: 0; padding: 10px 14px;
  display: grid; gap: 6px; background: rgba(255, 255, 255, .95); border-radius: 12px; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--c-primary);
}
.map-legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 16px; height: 12px; border-radius: 3px; }
.swatch-city { background: rgba(10, 29, 51, .3); border: 2px solid #0A1D33; }
.swatch-province { background: rgba(166, 201, 106, .45); border: 2px solid #699D38; }
.swatch-other { background: #fff; border: 2px dashed #8A96A3; }
.area-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px;
  border-radius: var(--radius); background: var(--c-bg-light); border-left: 4px solid var(--c-secondary);
  font-size: 15px; color: var(--c-text);
}
.area-note strong { color: var(--c-primary); }
.area-note-icon { color: var(--c-secondary); padding-top: 1px; }
.contact-list li span.contact-sub { font-size: 13px; font-weight: 500; color: var(--c-muted); }
.map-label {
  background: var(--c-primary); color: #fff; border: 0; border-radius: 999px; padding: 4px 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; box-shadow: none;
}
.map-label::before { display: none; }
.inquiry-teaser {
  display: grid; gap: 10px; padding: 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(166, 201, 106, .3), rgba(105, 157, 56, .14));
}
.inquiry-teaser h3 { font-size: 20px; font-weight: 800; }
.inquiry-teaser p { color: var(--c-text); }
.inquiry-teaser .btn { justify-self: start; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary); color: rgba(255, 255, 255, .78); padding: 56px 0 96px; font-size: 15px; }
@media (min-width: 640px) { .site-footer { padding-bottom: 28px; } }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { align-self: center; } /* логото — вертикално в средата спрямо колоните */
.footer-logo { display: block; width: 240px; max-width: 100%; height: auto; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-nav a, .footer-contact a { color: #fff; text-decoration: none; padding: 6px 0; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--c-accent); }
.footer-contact span { padding: 6px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-legal { color: rgba(255, 255, 255, .75); text-underline-offset: 3px; }
.footer-company { color: rgba(255, 255, 255, .6); }
.footer-legal:hover { color: var(--c-accent); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- Мобилна лента ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-border);
}
@media (min-width: 640px) { .mobile-bar { display: none; } }

/* ---------- Диалог за запитване ---------- */
.inquiry {
  width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 24px; color: var(--c-text);
  box-shadow: 0 30px 80px -20px rgba(10, 29, 51, .5);
  overflow: auto; overscroll-behavior: contain;
}
.inquiry::backdrop { background: rgba(10, 29, 51, .55); backdrop-filter: blur(3px); }
.inquiry[open] { animation: dialog-in .28s var(--ease); }
.inquiry[open]::backdrop { animation: fade-in .28s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.inquiry-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 22px 22px 16px; background: #fff; border-bottom: 1px solid var(--c-bg-light);
}
.inquiry-head h2 { font-size: 22px; font-weight: 800; }
.inquiry-head p { color: var(--c-muted); font-size: 15px; margin-top: 4px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--c-border); background: #fff; cursor: pointer; color: var(--c-primary); flex-shrink: 0; }
.icon-btn:hover { background: var(--c-bg-light); }

.inquiry-form { padding: 18px 22px 22px; display: grid; gap: 22px; }
@media (min-width: 640px) { .inquiry-head, .inquiry-form { padding-left: 32px; padding-right: 32px; } }

.form-block { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-block legend { font-family: var(--font-head); font-weight: 700; color: var(--c-primary); font-size: 16px; margin-bottom: 12px; padding: 0; }

.field-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 560px) { .field-grid-3 { grid-template-columns: 1.2fr 1.2fr .6fr; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--c-primary); }
.req { color: var(--c-error); }
.opt { color: var(--c-muted); font-weight: 500; }

.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid var(--c-border); border-radius: 12px; background: #fff;
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1D33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field select:disabled { background-color: var(--c-bg-light); color: var(--c-muted); cursor: not-allowed; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 4px rgba(105, 157, 56, .2); }
.field [aria-invalid="true"] { border-color: var(--c-error) !important; }
.field-error { color: var(--c-error); font-size: 13px; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }

.service-rows { display: grid; gap: 12px; }
.service-row { padding: 16px; border-radius: var(--radius); background: var(--c-bg-light); display: grid; gap: 14px; }
.service-row.is-new { animation: row-in .3s var(--ease); }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.service-row-head { display: flex; align-items: center; justify-content: space-between; }
.service-row-title { font-family: var(--font-head); font-weight: 700; color: var(--c-primary); font-size: 15px; }
.remove-row { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border: 0; background: none; color: var(--c-muted); font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 8px; }
.remove-row svg { width: 16px; height: 16px; }
.remove-row:hover { color: var(--c-error); background: #fff; }
.service-rows .service-row:only-child .remove-row { display: none; }

.check-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 0; }
.check-group-label { width: 100%; font-size: 14px; font-weight: 600; color: var(--c-primary); }
.check-pill { position: relative; cursor: pointer; }
.check-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-pill span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--c-border); border-radius: 999px; background: #fff;
  font-size: 14px; font-weight: 600; transition: all .15s var(--ease);
}
.check-pill span::before {
  content: ""; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #A9B3BE; background: #fff center / 12px no-repeat;
  transition: all .15s var(--ease);
}
.check-pill input:checked + span { border-color: var(--c-secondary); background: rgba(166, 201, 106, .22); color: var(--c-primary); }
.check-pill input:checked + span::before {
  border-color: var(--c-secondary); background-color: var(--c-secondary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.check-pill input:focus-visible + span { outline: 3px solid var(--c-secondary); outline-offset: 2px; }

.inline-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--c-primary); }
.inline-check input { width: 20px; height: 20px; accent-color: var(--c-secondary); margin: 0; }
.dims { display: grid; gap: 14px; padding: 14px; border-radius: 12px; background: #fff; border: 1.5px dashed var(--c-accent); }
.dims[hidden] { display: none; }
.dims:not([hidden]) { animation: row-in .25s var(--ease); }
.dims-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) { .dims-grid { grid-template-columns: 1fr 1fr 1.4fr; } }
.dims-grid .field-color { grid-column: 1 / -1; }
@media (min-width: 560px) { .dims-grid .field-color { grid-column: auto; } }
.dims-hint { font-size: 13px; color: var(--c-muted); }
.input-unit { position: relative; }
.input-unit input { padding-right: 42px !important; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--c-muted); pointer-events: none; }
.field-color-detail[hidden] { display: none; }

/* прикачени снимки */
.field-label { font-size: 14px; font-weight: 600; color: var(--c-primary); }
.field-hint { font-size: 13px; color: var(--c-muted); margin-top: -2px; }
.photo-list { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-list[hidden] { display: none; }
.photo-item { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--c-bg-light); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(10, 29, 51, .8); color: #fff; cursor: pointer;
}
.photo-remove::before { content: ""; position: absolute; inset: -8px; } /* по-голяма зона за натискане */
.photo-remove svg { width: 14px; height: 14px; stroke-width: 2.5; }
.photo-remove:hover { background: var(--c-error); }
.photo-add {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start;
  min-height: 48px; padding: 0 20px; border: 2px dashed var(--c-border); border-radius: 12px; background: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--c-primary);
  transition: border-color .2s, background-color .2s;
}
.photo-add[hidden] { display: none; }
.photo-add svg { color: var(--c-secondary); }
.photo-add:hover { border-color: var(--c-secondary); background: rgba(166, 201, 106, .12); }
.photo-add:focus-within { outline: 3px solid var(--c-secondary); outline-offset: 2px; }
.photo-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.photo-add.is-loading { opacity: .6; pointer-events: none; }
.photo-add.is-loading span::after { content: "…"; }

.add-row {
  margin-top: 12px; width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px dashed var(--c-secondary); border-radius: var(--radius); background: transparent;
  color: var(--c-primary); font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background-color .2s;
}
.add-row svg { color: var(--c-secondary); }
.add-row:hover { background: rgba(166, 201, 106, .15); }

.field-check .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--c-muted); cursor: pointer; font-weight: 500; }
.field-check a { color: var(--c-primary); font-weight: 700; text-underline-offset: 2px; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-secondary); flex-shrink: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: var(--c-error); font-size: 14px; font-weight: 600; }
.form-status a { color: inherit; }

.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.form-actions .btn-primary { min-width: 200px; }
/* на телефон бутоните са един под друг, за да не се отрязва надписът */
@media (max-width: 479px) {
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .form-actions .btn-primary { min-width: 0; }
}
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn-label::after { content: "…"; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.inquiry-success { padding: 48px 28px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.success-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: rgba(166, 201, 106, .35); color: var(--c-secondary); margin-bottom: 8px; }
.success-icon svg { width: 36px; height: 36px; stroke-width: 2.5; }
.inquiry-success h3 { font-size: 24px; font-weight: 800; }
.inquiry-success p { color: var(--c-muted); max-width: 420px; margin-bottom: 12px; }

/* ---------- Анимации при скрол ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
