/* ==========================================================================
   Чашка — дизайн система
   Светло, леко, свежо. Бяло носи всичко; цветът идва на петна.
   ========================================================================== */

:root {
  /* Цвят */
  --ink: #23314a;
  --ink-soft: #5a6a85;
  --ink-faint: #8d99ad;
  --aqua: #2fbfa0;
  --aqua-deep: #1d9a80;
  --aqua-wash: #e6f7f2;
  --coral: #ff8a6b;
  --coral-wash: #fff0eb;
  --sun: #ffd24c;
  --sun-wash: #fff8e3;
  --mist: #f3f6fa;
  --line: #e4eaf2;
  --white: #fff;

  /* Сенки — бледи и цветни, никога сиви */
  --shadow-s: 0 2px 10px rgba(47, 191, 160, 0.08);
  --shadow-m: 0 10px 30px rgba(35, 49, 74, 0.07);
  --shadow-l: 0 24px 60px rgba(35, 49, 74, 0.09);

  /* Типография */
  --display: "Onest", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;

  /* Ритъм */
  --gap: clamp(1rem, 2vw, 1.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 18px;
  --radius-l: 32px;
  --maxw: 1180px;
}

/* Reset -------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* clip, не hidden — hidden прави body скролер и чупи sticky елементите */
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

/* Типография --------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
}
h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  line-height: 1.25;
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
}

.section-intro {
  max-width: 52ch;
  color: var(--ink-soft);
  margin-top: 1rem;
  font-size: 1.0625rem;
}

.muted {
  color: var(--ink-soft);
}
.small {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Оформление --------------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

section {
  padding-block: var(--section);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 10px 0;
}
.skip:focus {
  left: 0;
}

/* Бутони ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--aqua);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(47, 191, 160, 0.32);
}
.btn-primary:hover {
  background: var(--aqua-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 191, 160, 0.38);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.btn-ghost:hover {
  border-color: var(--aqua);
  color: var(--aqua-deep);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.15rem 2.2rem;
  font-size: 1.0625rem;
}

/* Бърз канал. Лилавото идва само от логото и канта — палитрата остава наша. */
.btn-viber {
  --viber: #7360f2;
  border-color: color-mix(in srgb, var(--viber) 35%, var(--white));
  background: var(--white);
  color: var(--ink);
}
.btn-viber svg {
  color: var(--viber);
  flex: none;
}
.btn-viber:hover {
  border-color: var(--viber);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(115, 96, 242, 0.18);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.textlink {
  color: var(--aqua-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--aqua-wash);
  padding-bottom: 1px;
  transition: border-color 0.18s ease;
}
.textlink:hover {
  border-color: var(--aqua);
}

/* Шапка -------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.brand svg {
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 1rem;
  position: relative;
  transition: color 0.18s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 3px;
  border-radius: 3px;
  background: var(--aqua);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav-phone {
  font-family: var(--display);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}
.burger[aria-expanded="true"] span {
  background: transparent;
}
.burger[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 940px) {
  .burger {
    display: inline-flex;
  }
  .nav-links,
  .nav-phone {
    display: none;
  }
  .nav-panel {
    display: none;
    padding: 0 0 1.5rem;
  }
  .nav-panel.is-open {
    display: block;
  }
  .nav-panel ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.25rem;
  }
  .nav-panel a {
    display: block;
    padding: 0.85rem 0.25rem;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-panel .btn {
    width: 100%;
    margin-top: 1.25rem;
  }
  /* Бутонът в шапката не бива да се пренася на два реда */
  .nav-cta > .btn {
    padding: 0.62rem 1.1rem;
    font-size: 0.93rem;
    white-space: nowrap;
  }
}
@media (max-width: 430px) {
  /* На тесен телефон бутонът живее само в менюто */
  .nav-cta > .btn {
    display: none;
  }
}
@media (min-width: 941px) {
  .nav-panel {
    display: none !important;
  }
}

/* Герой -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--aqua-wash);
  color: var(--aqua-deep);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero-badge b {
  font-weight: 700;
}

.hero h1 {
  margin-bottom: 1.5rem;
}
.hero h1 .swap {
  color: var(--aqua-deep);
  display: inline-block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-facts div {
  min-width: 110px;
}
.hero-facts b {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero-facts span {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
}
.hero-art > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}

/* Две истински снимки една до друга */
.hero-duo {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.6rem, 1.6vw, 1.1rem);
  align-items: center;
}
.hero-duo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}
.hero-duo img:first-child {
  transform: translateY(-6%);
}
.hero-duo img:last-child {
  transform: translateY(6%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
}
.blob-a {
  width: 62%;
  aspect-ratio: 1;
  background: var(--aqua-wash);
  top: 4%;
  right: 2%;
}
.blob-b {
  width: 38%;
  aspect-ratio: 1;
  background: var(--sun-wash);
  bottom: 8%;
  left: 0;
}
.blob-c {
  width: 26%;
  aspect-ratio: 1;
  background: var(--coral-wash);
  top: 48%;
  right: 6%;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    max-width: 440px;
    margin-inline: auto;
  }
  .lead {
    max-width: 46ch;
  }
}

/* Зареждане на героя — едно оркестрирано движение */
.reveal > * {
  animation: rise 0.7s cubic-bezier(0.22, 0.68, 0.3, 1) backwards;
}
.reveal > *:nth-child(1) {
  animation-delay: 0.05s;
}
.reveal > *:nth-child(2) {
  animation-delay: 0.13s;
}
.reveal > *:nth-child(3) {
  animation-delay: 0.21s;
}
.reveal > *:nth-child(4) {
  animation-delay: 0.29s;
}
.reveal > *:nth-child(5) {
  animation-delay: 0.37s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Лента с ползи ------------------------------------------------------------ */
.strip {
  background: var(--mist);
  padding-block: 1.35rem;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.strip-inner svg {
  color: var(--aqua);
  flex: none;
}

/* Заглавие на секция ------------------------------------------------------- */
.section-head {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

/* Стъпки ------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 3.25rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--aqua);
  color: var(--aqua-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}
.step h3 {
  margin-bottom: 0.6rem;
}
.step p {
  color: var(--ink-soft);
}

/* Поводи ------------------------------------------------------------------- */
.uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.use {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.use:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: transparent;
}
.use .dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.use:nth-child(4n + 1) .dot {
  background: var(--aqua-wash);
  color: var(--aqua-deep);
}
.use:nth-child(4n + 2) .dot {
  background: var(--coral-wash);
  color: #d1583a;
}
.use:nth-child(4n + 3) .dot {
  background: var(--sun-wash);
  color: #a97c00;
}
.use:nth-child(4n + 4) .dot {
  background: var(--mist);
  color: var(--ink-soft);
}
.use h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.use p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* Галерия ------------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 4 / 5;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.shot:hover img {
  transform: scale(1.04);
}
.shot figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
}
.shot-wide {
  grid-column: span 2;
  aspect-ratio: 8 / 5;
}
/* Развивка — показва се цяла, без изрязване */
.shot-contain {
  background: var(--white);
  border: 1px solid var(--line);
}
.shot-contain img {
  object-fit: contain;
}
.shot-contain:hover img {
  transform: none;
}
@media (max-width: 620px) {
  .shot-wide {
    grid-column: span 1;
    aspect-ratio: 4 / 5;
  }
}

/* За бизнес клиенти -------------------------------------------------------- */
.b2b {
  background: var(--coral-wash);
  border-radius: var(--radius-l);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.b2b p {
  margin-top: 1rem;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.b2b-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.b2b-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.b2b-list svg {
  color: var(--coral);
  flex: none;
  margin-top: 3px;
}
@media (max-width: 820px) {
  .b2b {
    grid-template-columns: 1fr;
  }
}

/* Експресна поръчка -------------------------------------------------------- */
.express {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--sun-wash);
  border-radius: var(--radius);
  padding: 0.95rem 1.2rem;
  font-size: 0.97rem;
  color: var(--ink);
  line-height: 1.45;
}
.express svg {
  color: var(--coral);
  flex: none;
}

/* Цени --------------------------------------------------------------------- */
.price-band {
  background: var(--mist);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.tier {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}
.tier.is-popular {
  border-color: var(--aqua);
  position: relative;
}
.tier.is-popular::after {
  content: "най-търсено";
  position: absolute;
  top: -13px;
  left: 1.4rem;
  background: var(--aqua);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
.tier .qty {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.tier .unit {
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0.55rem 0 0.1rem;
}
.tier .unit small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.tier .total {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* Калкулатор --------------------------------------------------------------- */
.calc {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-m);
}
@media (max-width: 820px) {
  .calc {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 1.5rem;
}
.field > label,
.field > .label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.55rem;
}
.field .hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.45rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #cfd9e6;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px var(--aqua-wash);
}
textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235A6A85' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

/* Избор на пакет ----------------------------------------------------------- */
.packs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}
@media (max-width: 560px) {
  .packs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  padding: 0.85rem 0.4rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.pack input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.pack:hover {
  border-color: var(--aqua);
}
.pack:focus-within {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px var(--aqua-wash);
}
.pack .pack-qty {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.pack .pack-eur {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.pack.is-on {
  border-color: var(--aqua);
  background: var(--aqua-wash);
}
.pack.is-on .pack-qty {
  color: var(--aqua-deep);
}

/* Отметка-карта (повторна поръчка със същия дизайн) ------------------------ */
.check-card,
.field > label.check-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.check-card input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--aqua-deep);
}
.check-card:hover {
  border-color: var(--aqua);
}
.check-card:focus-within {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px var(--aqua-wash);
}
.check-card.is-on {
  border-color: var(--aqua);
  background: var(--aqua-wash);
}
.check-card .check-text {
  font-size: 0.89rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.check-card b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.summary {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.summary h3 {
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.sum-row b {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}
.sum-total {
  margin-top: 0.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sum-total span {
  font-family: var(--display);
  font-weight: 600;
}
.sum-total b {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.summary .note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Таблица с цени ----------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
th,
td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
th {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--mist);
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: var(--aqua-wash);
}
td b {
  font-family: var(--display);
  font-weight: 700;
}

/* ЧЗВ ---------------------------------------------------------------------- */
.faq {
  max-width: 780px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 1.75rem;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--aqua);
  border-bottom: 2px solid var(--aqua);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 1.95rem;
}
.faq details p {
  padding-bottom: 1.4rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* Голям призив ------------------------------------------------------------- */
.cta-card {
  background: linear-gradient(135deg, var(--aqua-wash), var(--sun-wash));
  border-radius: var(--radius-l);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-card p {
  margin: 1rem auto 2rem;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.cta-card .small.muted {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Подвал ------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
}
.foot-grid h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.foot-grid ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.foot-grid a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.foot-grid a:hover {
  color: var(--aqua-deep);
}
.foot-about p {
  color: var(--ink-soft);
  max-width: 36ch;
  margin-top: 1rem;
  font-size: 0.97rem;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* Помощни ------------------------------------------------------------------ */
.page-head {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
}
.page-head h1 {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem);
  max-width: 18ch;
}
.page-head p {
  margin-top: 1.25rem;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Форма за запитване ------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.form-grid > aside {
  position: relative;
}
.form-grid > aside .summary {
  position: sticky;
  top: 100px;
}
@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid > aside .summary {
    position: static;
  }
}

.form-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  background: var(--white);
  box-shadow: var(--shadow-m);
}
.form-block + .form-block {
  margin-top: 1.25rem;
}
.form-block > h2 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 560px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.req {
  color: var(--coral);
}

.err {
  display: none;
  color: #c0392b;
  font-size: 0.88rem;
  margin-top: 0.4rem;
}
.field.has-error .err {
  display: block;
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select,
.field.has-error .dropzone {
  border-color: #e07a66;
}

/* Качване на файлове */
.dropzone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.dropzone:hover,
.dropzone.is-over {
  border-color: var(--aqua);
  background: var(--aqua-wash);
}
.dropzone svg {
  margin: 0 auto 0.75rem;
  color: var(--aqua);
}
.dropzone b {
  font-family: var(--display);
  display: block;
  margin-bottom: 0.3rem;
}
.dropzone span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.files {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}
.files li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 0.93rem;
}
.files .thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--mist);
  flex: none;
}
.files .meta {
  flex: 1;
  min-width: 0;
}
.files .name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.files .size {
  color: var(--ink-faint);
  font-size: 0.82rem;
}
.files button {
  border: none;
  background: none;
  color: var(--ink-faint);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.25rem 0.4rem;
  border-radius: 8px;
}
.files button:hover {
  color: #c0392b;
  background: var(--coral-wash);
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.check input {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--aqua);
}

.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}
.form-status.is-error {
  display: block;
  background: var(--coral-wash);
  color: #a33b22;
}
.form-status.is-busy {
  display: block;
  background: var(--aqua-wash);
  color: var(--aqua-deep);
}

/* Страница „благодарим" ---------------------------------------------------- */
.thanks {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.thanks .mark {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--aqua-wash);
  color: var(--aqua-deep);
  display: grid;
  place-items: center;
  margin: 0 auto 2rem;
}
.thanks p {
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin: 1.25rem auto 2.25rem;
  max-width: 46ch;
}
.ref-no {
  display: inline-block;
  background: var(--mist);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-family: var(--display);
  font-weight: 600;
}

/* Дълъг текст (условия) ---------------------------------------------------- */
.prose {
  max-width: 70ch;
}
.prose h2 {
  font-size: 1.5rem;
  margin: 2.75rem 0 0.85rem;
}
.prose h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
}
.prose p,
.prose li {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}
.prose ul {
  padding-left: 1.2rem;
}

/* Админ -------------------------------------------------------------------- */
.admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.badge {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
}
.badge-new {
  background: var(--aqua-wash);
  color: var(--aqua-deep);
}
.badge-quoted {
  background: var(--sun-wash);
  color: #8a6400;
}
.badge-won {
  background: #e8f6e9;
  color: #2e7d32;
}
.badge-lost {
  background: var(--mist);
  color: var(--ink-faint);
}
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  background: var(--white);
}
.admin-card header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.admin-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.25rem;
  font-size: 0.95rem;
  margin: 0;
}
.admin-card dt {
  color: var(--ink-faint);
}
.admin-card dd {
  margin: 0;
}
.admin-files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.admin-files a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--aqua-deep);
}
.admin-files a:hover {
  border-color: var(--aqua);
}

/* Бутони за статус в панела */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.chip:hover {
  border-color: var(--aqua);
  color: var(--aqua-deep);
}
.chip[aria-pressed='true'] {
  background: var(--aqua-deep);
  border-color: var(--aqua-deep);
  color: var(--white);
}
