/* ==========================================================================
   dostavkanaled.com – МАВИК ООД
   Дизайн: AdConcept · 2026
   ========================================================================== */

/* ---------- Шрифтове (локални, латиница + кирилица) ---------- */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/rubik-400.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/rubik-500.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/rubik-700.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-400.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ubuntu-700.woff2") format("woff2"); }

/* ---------- Токени ---------- */
:root {
  --navy-900: #052b38;
  --navy: #073b4c;
  --navy-700: #0b4f66;
  --ice-700: #075a7c;
  --ice-600: #0a6f97;
  --ice-550: #0c7fad;
  --ice-500: #149dcc;
  --ice-300: #63c7ea;
  --ice-200: #abeaff;
  --ice-100: #dff5fd;
  --ice-50: #f2fbfe;
  --line: #d6eef8;
  --ink: #12303b;
  --muted: #4a6571;
  --muted-2: #5b7480;
  --sun: #ffd21f;          /* жълто от шапката на пингвина – само за основните действия */
  --sun-2: #f5c400;
  --danger: #b42318;
  --success: #067647;

  --font-head: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Ubuntu", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 20px;
  --header-h: 68px;
  --icicle-h: 70px;
  --ease-bounce: cubic-bezier(.2, .9, .25, 1.15);
  --shadow-soft: 0 14px 40px -12px rgba(7, 59, 76, .18);
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18 px – основен текст (17 px на телефон) */
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture, canvas { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--ice-600); text-underline-offset: .18em; }
a:hover { color: var(--ice-700); }
strong { font-weight: 700; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ice-500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: #fff; color: var(--navy); padding: .7rem 1rem; border-radius: 10px;
  font-family: var(--font-head); font-weight: 500; box-shadow: var(--shadow-soft);
}
.skip-link:focus { top: 1rem; }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

section[id], .anchor-alias { scroll-margin-top: calc(var(--header-h) + 8px); }
.anchor-alias { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

/* ---------- Ледено кубче (общ вид) ---------- */
.deco-cube, .step-cube, .glass-cube, .footer-cubes span, .card-icon {
  position: relative;
  border-radius: 22%;
  border: 1px solid rgba(255, 255, 255, .85);
  background:
    radial-gradient(circle at 72% 74%, rgba(255, 255, 255, .7) 0 2px, transparent 3px),
    radial-gradient(circle at 63% 62%, rgba(255, 255, 255, .55) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 80% 58%, rgba(255, 255, 255, .45) 0 1px, transparent 2px),
    linear-gradient(135deg, rgba(255, 255, 255, .96) 0%, rgba(214, 242, 252, .82) 30%, rgba(160, 222, 244, .62) 65%, rgba(118, 198, 231, .66) 100%);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, .28),
    inset 6px 6px 12px rgba(255, 255, 255, .75),
    inset -8px -10px 16px rgba(20, 157, 204, .3),
    0 14px 26px -10px rgba(7, 59, 76, .4);
}
.deco-cube::before, .step-cube::before, .glass-cube::before, .footer-cubes span::before, .card-icon::before {
  content: "";
  position: absolute; top: 12%; left: 13%;
  width: 40%; height: 11%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
  transform: rotate(-14deg);
  pointer-events: none;
}

/* ---------- Бутони ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .85rem 1.6rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase;
  line-height: 1.1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 14px; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background-color .25s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-ice {
  color: #fff;
  background: linear-gradient(180deg, var(--ice-550) 0%, var(--ice-600) 100%);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 8px 22px -6px rgba(10, 111, 151, .55), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(5, 43, 56, .25);
}
.btn-ice::after {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 48%, rgba(255, 255, 255, .1) 55%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s ease;
}
.btn-ice:hover { color: #fff; background: linear-gradient(180deg, var(--ice-600) 0%, var(--ice-700) 100%); box-shadow: 0 12px 28px -8px rgba(10, 111, 151, .7), inset 0 1px 0 rgba(255, 255, 255, .4); transform: translateY(-2px); }
.btn-ice:hover::after { transform: translateX(120%); }
/* Жълт бутон – основното действие. Ползва се пестеливо: по един на екран. */
.btn-sun, .cta-order {
  color: var(--navy);
  background: linear-gradient(180deg, #ffe45c 0%, var(--sun) 55%, var(--sun-2) 100%);
  border-color: rgba(255, 255, 255, .6);
  box-shadow: 0 10px 28px -8px rgba(245, 196, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -2px 0 rgba(140, 100, 0, .25);
  font-weight: 700;
}
.btn-sun:hover, .cta-order:hover {
  color: var(--navy);
  background: linear-gradient(180deg, #fff07a 0%, #ffdc3d 55%, var(--sun) 100%);
  box-shadow: 0 14px 34px -8px rgba(245, 196, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .75);
  transform: translateY(-2px);
}
.btn-sun::after, .cta-order::after {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 48%, rgba(255, 255, 255, .15) 55%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s ease;
}
.btn-sun:hover::after, .cta-order:hover::after { transform: translateX(120%); }
.btn-glass, .cta-call {
  color: #fff;
  background: rgba(7, 59, 76, .45);
  border-color: rgba(255, 255, 255, .6);
}
.btn-glass:hover, .cta-call:hover { color: var(--navy); background: #fff; transform: translateY(-2px); }

/* На телефон основното действие е обаждането – бутоните си разменят ролите */
@media (max-width: 767px) {
  .cta-call {
    order: -1; font-weight: 700;
    color: var(--navy);
    background: linear-gradient(180deg, #ffe45c 0%, var(--sun) 55%, var(--sun-2) 100%);
    border-color: rgba(255, 255, 255, .6);
    box-shadow: 0 10px 28px -8px rgba(245, 196, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -2px 0 rgba(140, 100, 0, .25);
  }
  .cta-call:hover { color: var(--navy); background: linear-gradient(180deg, #fff07a 0%, #ffdc3d 55%, var(--sun) 100%); }
  .cta-order {
    font-weight: 500;
    color: #fff;
    background: rgba(7, 59, 76, .45);
    border-color: rgba(255, 255, 255, .6);
    box-shadow: none;
  }
  .cta-order::after { display: none; }
  .cta-order:hover { color: var(--navy); background: #fff; box-shadow: none; }
}
.btn-outline { color: var(--ice-600); background: #fff; border: 1.5px solid currentColor; }
.btn-outline:hover { color: var(--ice-700); background: var(--ice-50); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .88rem; border-radius: 12px; }
.btn-lg { min-height: 54px; padding: 1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: .85; }

/* ---------- Хедър ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(7, 59, 76, .97);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 2px rgba(171, 234, 255, .45); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: .06em; color: #fff; }
.brand:hover .brand-name { color: var(--ice-200); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative; display: inline-block; padding: .4rem 0;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: #fff; text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--ice-200); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-list a:hover { color: var(--ice-200); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.site-header.is-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .brand img { width: 40px; height: 40px; }
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: .5rem 1.25rem 1.5rem;
    background: rgba(7, 59, 76, .98);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .js .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a { display: block; padding: .9rem .25rem; font-size: 1.1rem; border-bottom: 1px solid rgba(171, 234, 255, .14); }
  .js .nav-list a::after { display: none; }
  .no-js .site-nav { gap: .75rem; }
  .no-js .nav-list { gap: .75rem; }
  .no-js .nav-call { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 3rem) 0 clamp(6rem, 12vw, 9rem);
  color: #fff; text-align: center;
  background: var(--navy-900);
  cursor: default;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 50% 50%; z-index: -3; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 80% at 50% 45%, rgba(7, 59, 76, .2) 0%, rgba(5, 43, 56, .55) 70%),
    linear-gradient(180deg, rgba(5, 43, 56, .7) 0%, rgba(7, 59, 76, .45) 40%, rgba(7, 59, 76, .55) 75%, rgba(5, 43, 56, .8) 100%);
}
.ice-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-title {
  font-weight: 700; font-size: clamp(2.5rem, 8vw, 5.2rem); letter-spacing: .03em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.25rem;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .35);
}
.hero-lead {
  max-width: 44rem; margin: 0 auto 1.4rem;
  font-size: clamp(1.125rem, 2.1vw, 1.35rem); line-height: 1.6; color: #eef9ff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 auto 2.1rem; padding: .55rem 1.15rem;
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1rem, 1.8vw, 1.15rem); color: #fff;
  background: rgba(7, 59, 76, .5); border: 1px solid rgba(171, 234, 255, .5); border-radius: 999px;
}
.hero-badge .ico { color: var(--ice-200); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(3.4rem, 7vw, 5.5rem); z-index: 3;
  display: grid; place-items: center; width: 48px; height: 48px; margin-left: -24px;
  color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%;
  background: rgba(7, 59, 76, .45);
  animation: cue 2.4s ease-in-out infinite;
}
.scroll-cue:hover { color: var(--navy); background: #fff; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

.frost-edge { position: absolute; left: 0; bottom: -1px; z-index: 3; width: 100%; height: clamp(34px, 6vw, 90px); pointer-events: none; }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(4.25rem, 9vw, 7rem) 0; }
.section-head { position: relative; z-index: 1; max-width: 52rem; margin: 0 auto clamp(2.25rem, 5vw, 3.5rem); text-align: center; }
.section-head h2 { font-weight: 500; font-size: clamp(2rem, 4.6vw, 3rem); }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 1rem auto 1.25rem; border-radius: 4px;
  background: linear-gradient(90deg, var(--ice-200), var(--ice-500), var(--ice-200));
}
.section-lead { font-size: clamp(1.125rem, 1.9vw, 1.3rem); color: var(--muted); line-height: 1.7; }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark h2::after { background: linear-gradient(90deg, rgba(255, 255, 255, .4), #fff, rgba(255, 255, 255, .4)); }
.section-head.on-dark .section-lead { color: #fff; }
.how .section-head { max-width: 68rem; }

/* ---------- Нашите предимства ---------- */
.advantages { background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--ice-50) 100%); overflow: hidden; }
.advantages .container { position: relative; z-index: 1; }
.deco-cubes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.deco-cube { position: absolute; display: block; opacity: .7; border-color: rgba(171, 234, 255, .95); animation: floaty 9s ease-in-out infinite alternate; }
.deco-cube.d1 { width: 92px; height: 92px; top: 7%; left: 3%; --r: -12deg; animation-delay: -2s; }
.deco-cube.d2 { width: 62px; height: 62px; top: 18%; right: 5%; --r: 18deg; animation-delay: -5s; }
.deco-cube.d3 { width: 50px; height: 50px; bottom: 16%; left: 7%; --r: 32deg; animation-delay: -7s; }
.deco-cube.d4 { width: 112px; height: 112px; bottom: 5%; right: 3%; --r: -6deg; animation-delay: -1s; }
@keyframes floaty {
  0% { transform: translateY(0) rotate(var(--r, 0deg)); }
  100% { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 8deg)); }
}

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card {
  position: relative; overflow: hidden;
  padding: 2.25rem 1.4rem 2rem; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(242, 251, 254, .92));
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease, border-color .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--ice-200), var(--ice-500), var(--ice-200));
}
.card:hover { transform: translateY(-6px); border-color: #bfe6f5; box-shadow: 0 24px 50px -18px rgba(7, 59, 76, .3); }
.card-icon { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 1.4rem; transform: rotate(-6deg); }
.card:nth-child(2) .card-icon { transform: rotate(5deg); }
.card:nth-child(3) .card-icon { transform: rotate(-3deg); }
.card:hover .card-icon { animation: clink .6s ease; }
.card-icon svg { position: relative; z-index: 1; width: 58px; height: 58px; fill: none; stroke: var(--ice-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card-icon svg .f { fill: rgba(171, 234, 255, .5); stroke: none; }
.card-icon svg .hl { stroke: var(--ice-500); }
.card h3 { font-weight: 700; font-size: 1.22rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.card p { color: #3a5360; font-size: 1em; line-height: 1.6; }
@keyframes clink {
  0% { transform: rotate(-6deg); }
  25% { transform: rotate(8deg) scale(1.06); }
  50% { transform: rotate(-10deg); }
  75% { transform: rotate(4deg); }
  100% { transform: rotate(-6deg); }
}

/* ---------- Как да поръчам ---------- */
.how {
  color: #fff;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(99, 199, 234, .35), transparent 70%),
    linear-gradient(180deg, var(--ice-550) 0%, var(--ice-600) 55%, var(--ice-700) 100%);
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
}
.how-frost {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .5) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 78% 32%, rgba(255, 255, 255, .45) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 72%, rgba(255, 255, 255, .4) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 90% 82%, rgba(255, 255, 255, .45) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 48%, rgba(255, 255, 255, .35) 0 1px, transparent 2px),
    radial-gradient(60% 50% at 85% 0%, rgba(171, 234, 255, .35), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(171, 234, 255, .22), transparent 70%);
  background-size: 220px 220px, 260px 260px, 300px 300px, 240px 240px, 180px 180px, 100% 100%, 100% 100%;
}
.how .container { position: relative; z-index: 1; }

.schedule {
  list-style: none; margin: 1.9rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; text-align: left;
  max-width: 48rem; margin-inline: auto;
}
.schedule li {
  position: relative;
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.15rem 1.3rem 1.25rem; color: #fff;
  background: rgba(5, 43, 56, .3); border: 1px solid rgba(255, 255, 255, .28); border-radius: 18px;
  transition: transform .35s var(--ease-bounce), background-color .3s ease, box-shadow .3s ease;
}
.sch-day {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
}
.sch-time {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: .01em;
}
.sch-time small { display: block; margin-bottom: .2rem; font-weight: 500; font-size: .95rem; letter-spacing: .02em; }
.sch-time--text { font-size: clamp(1.6rem, 2.6vw, 2rem); padding-top: 1.35rem; }
.sch-note { font-size: 1rem; line-height: 1.4; }
.sch-note a { color: var(--ice-200); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sch-note a:hover { color: #fff; text-decoration: underline; }
.schedule li.is-today .sch-note a { color: var(--ice-600); }
.sch-badge {
  display: none; padding: .15rem .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: var(--navy); border-radius: 999px;
}
.sch-live {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .55rem; align-self: flex-start;
  padding: .3rem .7rem .3rem .6rem;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; line-height: 1.3;
  color: var(--navy); background: var(--ice-100); border-radius: 999px;
}
.sch-live::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: #12b76a; box-shadow: 0 0 0 0 rgba(18, 183, 106, .5);
  animation: live-dot 2s ease-out infinite;
}
.sch-live.is-closed::before { background: #98a2b3; animation: none; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(18, 183, 106, 0); } }
/* Днешният ден – светла карта */
.schedule li.is-today {
  color: var(--navy); background: #fff; border-color: #fff;
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .55);
  transform: translateY(-4px);
}
.schedule li.is-today .sch-badge { display: inline-flex; }
.schedule li.is-today .sch-note { color: var(--muted); }

.steps {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem;
}
.steps::before {
  content: ""; position: absolute; top: 58px; left: 18%; right: 18%; height: 0;
  border-top: 2px dashed rgba(255, 255, 255, .45);
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-cube {
  display: grid; place-items: center;
  width: 116px; height: 116px; margin: 0 auto 1.4rem;
  transform: rotate(-7deg);
  transition: transform .4s var(--ease-bounce);
}
.step:nth-child(2) .step-cube { transform: rotate(6deg); }
.step:nth-child(3) .step-cube { transform: rotate(-3deg); }
.step:hover .step-cube { transform: rotate(0deg) translateY(-6px) scale(1.04); }
.step-cube span {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 700; font-size: 2.5rem; letter-spacing: .02em;
  color: var(--navy); text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
.step h3 { font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: .65rem; }
.step p { color: #fff; font-size: 1em; max-width: 24rem; margin-inline: auto; }
.step strong { color: #fff; }
.step-tag {
  display: table; margin: 0 auto .55rem; padding: .2rem .75rem;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  background: rgba(5, 43, 56, .35); border-radius: 999px;
}

/* Висулки + капки */
.icicles {
  position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--icicle-h) + 1px); z-index: 4;
  height: var(--icicle-h); pointer-events: none;
}
.icicles svg { width: 100%; height: 100%; }
.icicles .shine { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.drip {
  position: absolute; left: var(--x); top: calc(var(--t) * var(--icicle-h) - 4px);
  width: 7px; height: 10px; margin-left: -3.5px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, #fff 0 20%, var(--ice-200) 45%, var(--ice-500) 100%);
  opacity: 0;
  animation: drip 7s ease-in var(--delay, 0s) infinite;
}
@keyframes drip {
  0% { opacity: 0; transform: translateY(0) scale(.2); }
  14% { opacity: 1; transform: translateY(0) scale(1); }
  30% { opacity: 1; transform: translateY(2px) scale(1, 1.15); }
  52% { opacity: 0; transform: translateY(150px) scale(.9, 1.2); }
  100% { opacity: 0; transform: translateY(150px); }
}

/* ---------- Контакт и поръчка ---------- */
.contact { padding-top: calc(clamp(4.25rem, 9vw, 7rem) + var(--icicle-h) * .6); padding-bottom: clamp(3rem, 6vw, 4.5rem); background: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }

.contact-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem); overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  background: radial-gradient(120% 70% at 100% 0%, rgba(20, 157, 204, .35), transparent 60%), linear-gradient(170deg, var(--navy-700), var(--navy) 60%, var(--navy-900));
  border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(7, 59, 76, .7);
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem 0; font-size: 1em;
  border-bottom: 1px solid rgba(171, 234, 255, .14);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list a { color: var(--ice-200); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; }
.c-ico {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px;
  color: var(--ice-200); background: rgba(171, 234, 255, .12); border: 1px solid rgba(171, 234, 255, .25); border-radius: 12px;
}

/* Запази контакт */
.save-contact {
  display: flex; align-items: center; gap: .9rem;
  margin-top: 1.1rem; padding: .85rem 1rem;
  color: #fff; text-decoration: none;
  background: rgba(171, 234, 255, .1); border: 1.5px dashed rgba(171, 234, 255, .55); border-radius: 14px;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.save-contact .ico { width: 1.6rem; height: 1.6rem; color: var(--ice-200); }
.save-contact strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: #fff; }
.save-contact small { display: block; font-size: .875rem; color: #cfeefb; }
.save-contact:hover { color: #fff; background: rgba(171, 234, 255, .18); border-style: solid; transform: translateY(-1px); }

/* Чаша с лед */
.glass { display: flex; justify-content: center; margin-top: 2rem; }
.glass-cup { position: relative; width: 150px; height: 180px; }
.glass-cup::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 180'%3E%3Cpath d='M3 3h144l-13 171a4 4 0 0 1-4 3.5H20a4 4 0 0 1-4-3.5L3 3z' fill='rgba(255,255,255,.07)' stroke='%23abeaff' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M18 18l9 140' stroke='rgba(255,255,255,.45)' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M30 24l2 22' stroke='rgba(255,255,255,.35)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.glass-water {
  position: absolute; left: 5.5%; right: 5.5%; bottom: 1.5%; height: 52%; z-index: 1;
  clip-path: polygon(0 0, 100% 0, 94.5% 100%, 5.5% 100%);
  background: linear-gradient(180deg, rgba(171, 234, 255, .45), rgba(20, 157, 204, .35));
  border-radius: 0 0 14px 14px;
}
.glass-water::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: -3px; height: 8px;
  background: rgba(255, 255, 255, .5); border-radius: 50%;
  animation: slosh 5s ease-in-out infinite;
}
@keyframes slosh { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.glass-cube { position: absolute; z-index: 2; width: 46px; height: 46px; display: block; animation: bob 4.5s ease-in-out infinite; }
.glass-cube.g1 { left: 16%; top: 33%; --r: 14deg; }
.glass-cube.g2 { left: 50%; top: 27%; --r: -12deg; animation-delay: -1.5s; }
.glass-cube.g3 { left: 31%; top: 56%; --r: 28deg; animation-delay: -3s; width: 42px; height: 42px; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-5px) rotate(calc(var(--r) + 4deg)); }
}
.glass.is-cheers .glass-cube { animation: plop .9s var(--ease-bounce) both; }
.glass.is-cheers .g2 { animation-delay: .12s; }
.glass.is-cheers .g3 { animation-delay: .24s; }
@keyframes plop {
  0% { transform: translateY(-140px) rotate(calc(var(--r) - 60deg)); opacity: 0; }
  40% { opacity: 1; }
  70% { transform: translateY(6px) rotate(var(--r)); }
  100% { transform: translateY(0) rotate(var(--r)); }
}

/* Форма */
.order-form {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 30px 60px -32px rgba(7, 59, 76, .35);
}
.form-note { font-size: .9375rem; color: var(--muted-2); margin-bottom: 1.1rem; }
.req { color: var(--danger); font-weight: 700; }
.opt { font-weight: 400; color: var(--muted-2); font-size: .9em; }
fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
legend {
  display: flex; align-items: center; gap: .5rem; width: 100%;
  padding: 0 0 .5rem; margin-bottom: 1rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
legend::before {
  content: ""; width: 12px; height: 12px; border-radius: 3px; transform: rotate(12deg);
  background: linear-gradient(135deg, #fff, var(--ice-200) 50%, var(--ice-300));
  box-shadow: inset 0 0 0 1px rgba(20, 157, 204, .35);
}
.field { margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
label { display: block; margin-bottom: .4rem; font-weight: 700; font-size: 1rem; color: var(--ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  display: block; width: 100%; min-height: 50px;
  padding: .75rem .95rem;
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  background: #fbfeff; border: 1.5px solid #cfe3ec; border-radius: 13px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
input::placeholder, textarea::placeholder { color: #8aa0aa; }
input:hover, select:hover, textarea:hover { border-color: #a9d4e5; }
input:focus, select:focus, textarea:focus {
  outline: none; background: #fff; border-color: var(--ice-500);
  box-shadow: 0 0 0 4px rgba(20, 157, 204, .18), 0 0 18px rgba(171, 234, 255, .55);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .12);
}
textarea { resize: vertical; min-height: 120px; }
input[type="date"] { min-width: 0; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.05rem; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ice-600); border-bottom: 2px solid var(--ice-600); transform: rotate(45deg); pointer-events: none;
}
select { padding-right: 2.6rem; cursor: pointer; }
.field-error { margin: .4rem 0 0; font-size: .9375rem; color: var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-result {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-bottom: 1.1rem; padding: 1rem 1.1rem; border-radius: 14px; font-size: 1rem; line-height: 1.5;
}
.form-result .ico { margin-top: .1rem; }
.form-result.is-success { color: var(--success); background: #ecfdf3; border: 1px solid #abefc6; }
.form-result.is-error { color: var(--danger); background: #fef3f2; border: 1px solid #fecdca; }
.form-result a { color: inherit; font-weight: 700; }

.btn .spinner { display: none; width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(135deg, #fff, var(--ice-200)); animation: tumble .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes tumble { to { transform: rotate(360deg); } }

.legal { margin: .9rem 0 0; font-size: .875rem; line-height: 1.55; color: var(--muted-2); }
.legal + .legal { margin-top: .4rem; }

/* ---------- Футър ---------- */
.site-footer {
  position: relative; margin-top: 2.5rem;
  padding: 3.5rem 0 2.25rem;
  color: #cfeefb; text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
}
.footer-cubes { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
.footer-cubes span {
  position: absolute; display: block; transform: translateY(-100%) rotate(var(--r));
  border-color: rgba(99, 199, 234, .9);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), inset 5px 5px 10px rgba(255, 255, 255, .8), inset -7px -9px 14px rgba(20, 157, 204, .45), 0 6px 10px -6px rgba(7, 59, 76, .5);
}
.footer-cubes span:nth-child(1) { left: 6%; width: 38px; height: 38px; --r: -8deg; }
.footer-cubes span:nth-child(2) { left: calc(6% + 34px); width: 30px; height: 30px; --r: 14deg; }
.footer-cubes span:nth-child(3) { right: 7%; width: 44px; height: 44px; --r: 6deg; }
.footer-cubes span:nth-child(4) { right: calc(7% + 40px); width: 32px; height: 32px; --r: -16deg; }
.footer-cubes span:nth-child(5) { right: calc(7% + 22px); width: 28px; height: 28px; --r: 24deg; transform: translateY(-205%) rotate(var(--r)); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.brand-footer { margin: 0; }
.brand-footer img { width: 40px; height: 40px; }
.foot-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; }
.foot-menu a { font-family: var(--font-head); font-weight: 500; color: #fff; text-decoration: none; display: inline-block; padding: .35rem 0; }
.foot-menu a:hover { color: var(--ice-200); text-decoration: underline; }
.copyright, .foot-legal { margin: 0; font-size: .9375rem; }
.copyright a, .foot-legal a, .link-btn { color: var(--ice-200); }
.foot-legal { font-size: .875rem; }
.link-btn { padding: 0; background: none; border: 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; font-size: inherit; }

/* ---------- Бързи действия (мобилен) ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem;
    padding: .45rem .55rem calc(.45rem + env(safe-area-inset-bottom));
    background: #073b4c; border-top: 1px solid rgba(171, 234, 255, .25);
    transform: translateY(110%); transition: transform .35s var(--ease-bounce);
  }
  .no-js .action-bar, .action-bar.is-visible { transform: none; }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
    min-height: 54px; border-radius: 12px;
    font-family: var(--font-head); font-weight: 500; font-size: .875rem; color: #fff; text-decoration: none;
  }
  .action-bar a:active { background: rgba(171, 234, 255, .12); }
  .action-bar .ico { width: 1.35rem; height: 1.35rem; color: var(--ice-200); }
  .action-bar a.is-primary { color: var(--navy); font-weight: 700; background: linear-gradient(180deg, #ffe45c, var(--sun) 60%, var(--sun-2)); }
  .action-bar a.is-primary .ico { color: var(--navy); }
}

/* ---------- Банер за бисквитки ---------- */
.consent {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 70;
  width: min(30rem, calc(100% - 2rem));
  padding: 1.15rem 1.25rem;
  font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(5, 43, 56, .5);
  animation: consent-in .5s var(--ease-bounce) both;
}
.consent p { margin: 0 0 .9rem; }
.consent-actions { display: flex; gap: .6rem; }
.consent-actions .btn { flex: 1; }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .consent { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* ---------- Падане на елементи при скрол ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-in { animation: drop-in .95s var(--ease-bounce) var(--d, 0ms) both; }
@keyframes drop-in {
  0% { opacity: 0; transform: translateY(-70px) rotate(-3deg); }
  55% { opacity: 1; transform: translateY(8px) rotate(1deg); }
  78% { transform: translateY(-3px) rotate(-.4deg); }
  100% { opacity: 1; transform: none; }
}

/* Кубчета при успешно изпращане */
.ice-rain { position: fixed; inset: 0; z-index: 80; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Бързо първоначално зареждане ---------- */
/* Секциите под първия екран не се изчертават, докато не се приближат до екрана */
.advantages { content-visibility: auto; contain-intrinsic-size: auto 1150px; }
.contact { content-visibility: auto; contain-intrinsic-size: auto 1300px; }
@media (max-width: 900px) {
  .advantages { contain-intrinsic-size: auto 2100px; }
  .contact { contain-intrinsic-size: auto 2000px; }
}

/* ---------- Адаптивност ---------- */
@media (max-width: 860px) {
  .schedule { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; gap: .75rem; }
  .schedule li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; padding: 1rem 1.15rem; }
  .sch-day { grid-column: 1; }
  .sch-note { grid-column: 1; }
  .sch-time { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-size: 1.9rem; }
  .sch-time small { font-size: .85rem; }
  .sch-time--text { font-size: 1.3rem; padding-top: 0; }
  .sch-live { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 2.75rem; max-width: 30rem; margin-inline: auto; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { order: 2; position: relative; top: auto; }
  .glass { display: none; }
  .deco-cube.d3, .deco-cube.d4 { display: none; }
}
@media (max-width: 640px) {
  :root { --icicle-h: 44px; }
  body { font-size: 1.0625rem; }
  .container { width: min(1180px, 100% - 2rem); }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .deco-cube.d1 { width: 60px; height: 60px; top: 3%; left: -12px; }
  .deco-cube.d2 { width: 44px; height: 44px; top: 6%; right: 2%; }
  .step-cube { width: 100px; height: 100px; }
  .step-cube span { font-size: 2.15rem; }
  .card { padding: 2rem 1.25rem 1.75rem; }
  .footer-cubes span:nth-child(n+4) { display: none; }
}

/* ---------- Намалено движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0s !important; transition-duration: .001ms !important;
  }
  .drip { display: none; }
  .sch-live::before { animation: none; }
  .js .reveal { opacity: 1; }
}

/* ---------- Печат ---------- */
@media print {
  .site-header, .action-bar, .consent, .ice-canvas, .scroll-cue, .deco-cubes, .icicles, .glass, .footer-cubes { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; padding: 1rem 0; }
  .hero-bg, .hero-overlay { display: none; }
  .hero-title, .hero-lead, .hero-badge { color: #000 !important; background: none !important; filter: none !important; text-shadow: none !important; }
}
