:root {
  --c-deep:   #0B3C7A;
  --c-blue:   #1668B3;
  --c-sky:    #7FC7E8;
  --c-ice:    #EAF6FC;
  --c-cyan:   #19B8D8;
  --c-cyan-d: #0E93B4;
  --c-ink:    #10293E;
  --c-grey:   #5A7184;
  --c-line:   #DCEBF5;
  --c-white:  #FFFFFF;
  --c-bg:     #F4FAFD;

  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(11, 60, 122, .07);
  --shadow-md: 0 10px 30px rgba(11, 60, 122, .10);
  --shadow-lg: 0 24px 60px rgba(11, 60, 122, .16);

  --font-head: 'Manrope', 'Montserrat', sans-serif;
  --font-hero: 'Montserrat', 'Manrope', sans-serif;  /* виразний шрифт заголовків — як на промо-банері */
  --font-body: 'Inter', 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

.container { width: min(1160px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--c-deep); letter-spacing: -0.01em; }

h2 {
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  /* Той самий шрифт і градієнт, що й у заголовка hero (кольори промо-банера) */
  color: #023470; /* фолбек */
  background: linear-gradient(100deg, #023470 8%, #1668B3 48%, #4598DC 92%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Градієнт тягнеться по ширині тексту, а не всього блоку */
.section-head h2 { width: fit-content; margin-inline: auto; }
h3 { font-size: 1.12rem; }

a { color: var(--c-blue); text-decoration: none; }
a:hover { color: var(--c-cyan-d); }

/* Якорі не ховаються під липким хедером */
section[id], h3[id] { scroll-margin-top: 108px; }

.ic { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -0.18em; }

/* ------------------------------- Buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .8em 1.6em;
  border-radius: 999px;
  border: 0;
  outline-offset: 3px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-cyan), var(--c-blue));
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 104, 179, .35);
  isolation: isolate;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 104, 179, .45); color: #fff; }
.btn-primary:focus-visible { outline: 2px solid var(--c-deep); }

.btn-ghost {
  color: var(--c-blue);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--c-line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--c-sky); transform: translateY(-2px); }

.btn-tg   { background: #27A7E7; color: #fff; }
.btn-tg:hover { background: #1d8dc7; transform: translateY(-2px); color: #fff; }

.btn-viber { background: #7360F2; color: #fff; }
.btn-viber:hover { background: #5b4bd8; transform: translateY(-2px); color: #fff; }

.btn-sm { padding: .55em 1.2em; font-size: .88rem; }
.btn-lg { padding: .8em 1.6em; font-size: .9rem; }

/* ------------------------------- Header --------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #F9FDFE 0%, #F4FAFD 100%);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 2px 14px rgba(11, 60, 122, .05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-block: .95rem;   /* вища панель хедера */
}

/* Бренд: логотип + вордмарк VodaLed + дрібний підзаголовок */
.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand-logo {
  width: 62px; height: 62px;
  object-fit: contain;
  transform-origin: 50% 55%;
  will-change: transform;
}

/* Анімація логотипа при наведенні: «плюх» з нахилами, як крапля у воді */
.brand:hover .brand-logo { animation: logoSplash .85s ease; }
@keyframes logoSplash {
  0%   { transform: rotate(0) scale(1); }
  22%  { transform: rotate(-8deg) scale(1.07); }
  46%  { transform: rotate(7deg) scale(1.06); }
  70%  { transform: rotate(-4deg) scale(1.03); }
  88%  { transform: rotate(2deg); }
  100% { transform: rotate(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .brand:hover .brand-logo { animation: none; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: 1.7rem;
  color: #0B347C;              /* «Voda» — темно-синій, як у референсі */
  letter-spacing: .01em;
}
.brand-name b { color: #028DF8; font-weight: 800; }  /* «Led» — яскравий блакитний */
.brand-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-grey);
  margin-top: .18rem;
}

/* Меню: сині жирні посилання; «Вода» і «Лід» — з дропдаунами */
.nav { display: flex; align-items: center; gap: 1.6rem; margin-inline: auto; }
.nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  position: relative;
  color: #0B347C;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  padding: .4em 0;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav > a:hover,
.nav-item > a:hover { color: #028DF8; }

/* Блакитна лінія, що «пробігає» під посиланням при наведенні */
.nav > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav > a:hover::after { transform: scaleX(1); }

/* Телефон: градієнтне коло з іконкою + номер і графік у два рядки */
.header-actions { display: flex; align-items: center; gap: .8rem; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
}
.phone-ic {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2395F8, #0184F7);
  color: #fff;
  box-shadow: 0 6px 14px rgba(2, 141, 248, .35);
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.phone-ic svg { width: 17px; height: 17px; fill: currentColor; }
.header-phone:hover .phone-ic {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(2, 141, 248, .45);
}
.phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.phone-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #0B347C;
  transition: color .2s ease;
}
.header-phone:hover .phone-num { color: #028DF8; }
.phone-sched {
  font-size: .78rem;
  font-weight: 500;
  color: var(--c-grey);
}

/* Бірюзовий роздільник між телефоном і кнопкою — тонка лінія */
.header-divider {
  width: 2px;
  height: 40px;
  border-radius: 2px;
  background: linear-gradient(180deg, #19AED3, #48BDDB);
  opacity: .75;
}

/* CTA у хедері: той самий колір і градієнт, що в іконки телефону поруч */
.btn-head {
  background: linear-gradient(160deg, #2395F8, #0184F7);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: .9em 1.9em;
  box-shadow: 0 8px 18px rgba(2, 141, 248, .35);
}
.btn-head:hover {
  background: linear-gradient(160deg, #3BA4FA, #028DF8);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(2, 141, 248, .45);
}
.btn-head:focus-visible { outline: 2px solid #0B347C; }

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--c-deep);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------- Sections ------------------------------- */

.section { padding-block: clamp(3rem, 7vw, 5rem); }

.section-alt { background: var(--c-ice); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.section-head p { color: var(--c-grey); margin-top: .6rem; }

.price-subtitle {
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: 1.15rem;
  color: var(--c-deep);
  margin: 2.2rem 0 1.2rem;
}
.price-subtitle:first-of-type { margin-top: 0; }
.price-subtitle .icon-mono {
  width: 26px;
  height: 26px;
  fill: var(--c-blue);
  flex-shrink: 0;
}
.price-subtitle .icon-mono.cold { fill: var(--c-cyan-d); }

/* ------------------------------- Grids ---------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* ------------------------------- Hero ----------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding-top: clamp(2.5rem, 5vw, 4rem);

  padding-bottom: calc(clamp(2.5rem, 5vw, 4rem) - 14px);
}

/* Банер-підложка: повна ширина (hero.png), шар бутля з льодом праворуч */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 75%;
  z-index: 0;

}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1; /* під бутлем (z-index:1 теж — DOM-порядок, вуаль нижче) */

  background: linear-gradient(90deg,
    rgba(249, 253, 254, .12) 0%,
    rgba(249, 253, 254, .07) 22%,
    rgba(249, 253, 254, .02) 40%,
    rgba(249, 253, 254, 0) 55%);
}

@media (min-width: 761px) {
  .hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(120px, 20vh, 220px);
    background: linear-gradient(180deg,
      rgba(234, 246, 252, 0) 0%,
      rgba(234, 246, 252, .5) 55%,
      var(--c-ice) 100%);

    z-index: 1;
    pointer-events: none;
  }
}

.hero-bottle {
  position: absolute;
  right: max(2%, calc((95% - 1240px) / 2));
  bottom: 0;
  height: 78%;   /* збільшено на прохання користувача */
  width: auto;
  object-fit: contain;
  object-position: bottom center;

  z-index: 2;
  pointer-events: none;
  user-select: none;

  transform-origin: 50% 100%;
}

.hero-content {
  position: relative;

  display: flex;
  flex-direction: column;

  max-width: 560px;
  /* Ліва межа — як у .container інших секцій: 4%, але не ширше 1160px */
  margin-left: max(4%, calc((100% - 1160px) / 2));
  margin-right: 0;

  margin-top: calc(2.5rem + 36px);
}

.hero-title {
  font-family: var(--font-hero);
  font-weight: 800;

  filter: drop-shadow(0 2px 9px rgba(255, 255, 255, .85));

  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: .8rem;

  text-wrap: balance;
  display: flex;
  flex-direction: column;
  /* Той самий градієнт, що в заголовків розділів */
  width: fit-content;
  position: relative;
  z-index: 2;               /* понад бутлем і вуаллю */
  color: #023470; /* фолбек */
  background: linear-gradient(100deg, #023470 8%, #1668B3 48%, #4598DC 92%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 761px) {
  .hero-title {
    filter:
      drop-shadow(0 1px 2px rgba(255, 255, 255, .9))
      drop-shadow(0 3px 8px rgba(255, 255, 255, .65))
      drop-shadow(0 3px 8px rgba(11, 60, 122, .3));
  }
}

.hero-mob-card, .hero-mob-bg { display: none; }
.cta-mob { display: none; }

.hero-subtitle {
  position: relative;
  z-index: 2;               /* понад бутлем і вуаллю */
  /* Той самий шрифт і жирність, що в заголовка .hero-title */
  font-family: var(--font-hero);
  font-weight: 800;

  filter: none;

  font-size: clamp(1.1rem, 2vw, 1.62rem);

  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  padding: .16em .42em;
  margin-bottom: 1.3rem;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  left: -.1em; right: -.1em;
  top: .04em; bottom: -.02em;
  z-index: -1;

  background: linear-gradient(180deg, #2A7BC8 0%, #14508F 100%);
  border-radius: .12em .1em .13em .1em;
  transform: rotate(-.7deg);
  box-shadow: 0 3px 10px rgba(11, 60, 122, .28);
}

.hero-subtitle span {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.hero-mob-feats {
  list-style: none;
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0;
  padding: 0;

  text-align: center;
}
.hero-mob-feats li {
  position: relative;
  padding-inline: 1rem;      /* текст не притискається до розділювачів */
}
.hero-mob-feats li:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -1px;                /* 2px лінія по центру стику колонок */
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 1px;
  background: rgba(22, 104, 179, .22);
}
.hero-mob-feats .hf-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-inline: auto;       /* значок по центру колонки */
  border-radius: 50%;
  background: linear-gradient(180deg, #E9F5FD, #CDE7F9);
  box-shadow: 0 2px 10px rgba(22, 104, 179, .14);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-mob-feats .hf-ic svg { width: 60%; height: 60%; }
.hero-mob-feats b {
  display: block;
  margin-top: .55rem;
  font-size: .92rem;
  line-height: 1.22;
  color: #0B347C;
  transition: color .25s ease, transform .25s ease;
}
.hero-mob-feats small {
  display: block;
  margin-top: .3rem;
  font-size: .76rem;
  line-height: 1.32;
  color: #3D6390;
  transition: color .25s ease, transform .25s ease;
}

/* Смуга переваг — окрема секція одразу під hero, перед «Наша продукція» */
.hero-feats-strip {
  padding-block: .95rem .1rem;
  background: linear-gradient(180deg, var(--c-ice) 0, var(--c-bg) 100%);
}
.hero-feats-strip .container { max-width: 1160px; }

@media (min-width: 761px) {

  .hero-mob-feats li:nth-child(1) { animation: heroRiseIn .7s ease-out .6s both; }
  .hero-mob-feats li:nth-child(2) { animation: heroRiseIn .7s ease-out .72s both; }
  .hero-mob-feats li:nth-child(3) { animation: heroRiseIn .7s ease-out .84s both; }
  .hero-mob-feats li:nth-child(4) { animation: heroRiseIn .7s ease-out .96s both; }
}

@media (hover: hover) and (pointer: fine) {

  .hero-mob-feats li:hover .hf-ic {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 16px rgba(22, 104, 179, .3);
  }
  .hero-mob-feats li:hover b { color: #1668B3; }
  .hero-mob-feats li:hover b,
  .hero-mob-feats li:hover small { transform: translateY(-2px); }
  .hero-mob-feats li:nth-child(1):hover .hf-ic svg { animation: hfDrip .6s ease; }
  .hero-mob-feats li:nth-child(2):hover .hf-ic svg { animation: hfSpin .8s ease-in-out; }
  .hero-mob-feats li:nth-child(3):hover .hf-ic svg { animation: hfDrive .7s ease; }
  .hero-mob-feats li:nth-child(4):hover .hf-ic svg { animation: hfShield .55s ease; }
}

.hero-mob-feats li.tap-anim .hf-ic {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 16px rgba(22, 104, 179, .3);
}
.hero-mob-feats li.tap-anim b { color: #1668B3; }
.hero-mob-feats li.tap-anim b,
.hero-mob-feats li.tap-anim small { transform: translateY(-2px); }
.hero-mob-feats li:nth-child(1).tap-anim .hf-ic svg { animation: hfDrip .6s ease; }
.hero-mob-feats li:nth-child(2).tap-anim .hf-ic svg { animation: hfSpin .8s ease-in-out; }
.hero-mob-feats li:nth-child(3).tap-anim .hf-ic svg { animation: hfDrive .7s ease; }
.hero-mob-feats li:nth-child(4).tap-anim .hf-ic svg { animation: hfShield .55s ease; }
/* Крапля падає, сніжинка обертається, вантажівка їде, щит гуркоче */
@keyframes hfDrip {
  0% { transform: translateY(-14%); }
  55% { transform: translateY(16%); }
  100% { transform: translateY(0); }
}
@keyframes hfSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(180deg); }
}
@keyframes hfDrive {
  0% { transform: translateX(0); }
  30% { transform: translateX(18%); }
  65% { transform: translateX(-10%); }
  100% { transform: translateX(0); }
}
@keyframes hfShield {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  70% { transform: scale(.94); }
  100% { transform: scale(1); }
}

.hero-note {
  position: relative;
  z-index: 2;               /* понад бутлем і вуаллю */
  display: block;
  width: clamp(235px, 27vw, 385px);
  max-width: 100%;

  padding: .7rem .95rem;
  margin-block: 1.4rem 1.1rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(11, 60, 122, .16);
  text-align: center;
}
.hero-note .hmc-mountains {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: auto;
}
.hero-note .hmc-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: fit-content;
  margin-inline: auto;
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.15;
  white-space: nowrap;
  color: #023470;
  background: linear-gradient(100deg, #023470 8%, #1668B3 48%, #4598DC 92%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-note .hmc-title::before,
.hero-note .hmc-title::after {
  content: '';
  flex: 0 0 2.8rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(156, 195, 232, 0), #9CC3E8);
}
.hero-note .hmc-title::after { transform: scaleX(-1); }
.hero-note .hmc-text {
  margin-top: .3rem;
  font-size: .76rem;
  line-height: 1.4;
  color: var(--c-ink);

  white-space: pre-line;
}

.hero-actions {
  position: relative;

  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;

  margin-top: 12.4px;
}

/* Кнопка hero — червоний градієнт, як у логотипі (#BD202F) */
.hero-actions .btn-primary {
  background: linear-gradient(160deg, #D9273A 0%, #BD202F 52%, #931724 100%);
  box-shadow: 0 8px 20px rgba(189, 32, 47, .35);
}
.hero-actions .btn-primary:hover {
  background: linear-gradient(160deg, #E4354A 0%, #BD202F 55%, #A31C2B 100%);
  box-shadow: 0 12px 28px rgba(189, 32, 47, .45);
}
.hero-actions .btn-primary:focus-visible { outline: 2px solid #931724; }

/* ------------------------- Поява hero при завантаженні ------------------- */

@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroRiseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSubFadeIn {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroBottleIn {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-title {
  animation: heroSlideIn .9s cubic-bezier(.22, .8, .3, 1) .15s both;
}
.hero-subtitle {
  animation: heroRiseIn .8s ease-out .45s both;
}
.hero-note {
  animation: heroRiseIn .8s ease-out 1s both;
}
.hero-actions {
  animation: heroRiseIn .8s ease-out 1.15s both;
}

.hero-bottle {
  will-change: transform;
  animation: heroBottleIn 1.1s cubic-bezier(.22, .8, .3, 1) .35s backwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-title, .hero-subtitle, .hero-note, .hero-actions, .hero-bottle,
  .hero-mob-feats li, .hero-mob-card {
    animation: none;
  }
}

/* ------------------------------- Cards ---------------------------------- */

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-sky);
  }
}

.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-ice), #D9EFFA);
  color: var(--c-blue);
  margin-bottom: 1rem;
}
.card .icon svg { width: 26px; height: 26px; fill: currentColor; }

.card h3 { margin-bottom: .5rem; }
.card .muted { color: var(--c-grey); font-size: .92rem; flex-grow: 1; }

.card .price-row {
  display: flex;
  align-items: baseline;
  gap: .35em;
  margin-top: 1.1rem;
}
.card .price { font-family: var(--font-head); font-size: 1.5rem; color: var(--c-deep); }
.card .unit { font-size: .85rem; color: var(--c-grey); }

.card .order-btn { margin-top: 1rem; align-self: flex-start; }

.card:not(.card-with-img) .badge-popular {
  top: -12px;
  right: 16px;
  left: auto;
}

/* Зображення товару у картці (лід тощо) */
.card-with-img { padding: 0; overflow: hidden; }
.card-with-img .card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  transition: transform .35s ease;
}
.card-with-img:hover .card-img { transform: scale(1.04); }
.card-with-img h3,
.card-with-img p,
.card-with-img .price-row,
.card-with-img .order-btn { margin-inline: 1.3rem; }
/* Товарна картка (лід): виразна ціна, охайна типографіка, кнопка на всю ширину */
.card-with-img h3 { margin-top: 1.1rem; font-size: 1.1rem; }
.card-with-img p.muted { font-size: .9rem; line-height: 1.5; }
.card-with-img .price-row { margin-top: auto; padding-top: 1rem; }
.card-with-img .price { font-size: 1.68rem; }
.card-with-img .unit { color: var(--c-cyan-d); font-weight: 600; }
.card-with-img .order-btn { margin-top: 1.1rem; margin-bottom: 1.3rem; align-self: stretch; }
.card-with-img:hover { border-color: var(--c-cyan-d); }
.card-with-img .badge-popular { top: 12px; left: 12px; right: auto; z-index: 2; }

/* Банер акції: права колонка сітки води, тягнеться до правого краю контейнера */
#waterPrices { grid-template-columns: minmax(0, 420px) 1fr; align-items: stretch; }

/* Головна картка води — виразний градієнт, білий текст, «продуктова» аура */
.card-water {
  position: relative;
  background: linear-gradient(160deg, #0E5FA8 0%, #1668B3 45%, #0E93B4 100%);
  border: 0;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(14, 95, 168, .35);
}
.card-water::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  pointer-events: none;
}
.card-water::after {
  content: '';
  position: absolute;
  bottom: -90px; left: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  pointer-events: none;
}
.card-water > * { position: relative; z-index: 1; }
.card-water:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(14, 95, 168, .45); border-color: transparent; }
.card-water h3 { color: #fff; }
.card-water .muted { color: rgba(255, 255, 255, .88); }
/* Ціна — ніби білим по яскравій червоній стрічці (колір логотипа) */
.card-water .price {
  display: inline-block;
  background: linear-gradient(135deg, #E0243A 0%, #BD202F 55%, #931724 100%);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  padding: .18em .55em .24em;
  border-radius: 10px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 18px rgba(147, 23, 36, .4);
}
.card-water .unit { color: rgba(255, 255, 255, .8); }
.card-water .note-inline {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: .82rem;
  background: rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: .35em 1em;
  margin-top: .55rem;
  width: max-content;
}
.card-water .order-btn {
  background: #fff;
  color: #0E5FA8;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(7, 45, 84, .25);
  position: relative;
  overflow: visible;
  animation: btnPulse 2.4s ease-in-out infinite;
}
/* хвиля-крапля, що розходиться від кнопки */
.card-water .order-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, .75);
  opacity: 0;
  pointer-events: none;
  animation: btnRipple 2.4s ease-out infinite;
}
.card-water .order-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  animation-play-state: paused;
}
.card-water .order-btn:hover::after { animation-play-state: paused; opacity: 0; }
@keyframes btnPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(7, 45, 84, .25); }
  50% { transform: scale(1.035); box-shadow: 0 10px 26px rgba(7, 45, 84, .38); }
}
@keyframes btnRipple {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .card-water .order-btn, .card-water .order-btn::after { animation: none; }
}
.card.card-water .badge-popular {
  top: 14px; right: 14px; left: auto;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .35);
}

/* Бейдж «Хіт» не виходить за межі картки */
.card .badge-popular { max-width: calc(100% - 24px); }
.card:not(.card-with-img):not(.card-water) .badge-popular { top: 14px; }
/* Білий контурний ескіз бутля 18,9 л — декор у правій частині картки */
.card-water .bottle-sketch {
  position: absolute;
  right: 10px;
  bottom: 20px;
  height: 64%;
  width: auto;
  aspect-ratio: 120 / 260;
  transform: scaleX(1.18);        /* трішки ширший силуэт */
  transform-origin: bottom right;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
}
.card-water .wave-deco {
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 34px;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
}
.card-water .wave-deco path { fill: rgba(255, 255, 255, .25); }

.promo-banner {
  position: relative;          /* фіксує геометрію: розмір не залежить від шару відео */
  border-radius: var(--radius);
  overflow: hidden;
  /* Легка тінь під відео: м'який «float» над фоном секції */
  box-shadow: 0 14px 32px rgba(11, 60, 122, .16), 0 4px 10px rgba(11, 60, 122, .08);
  border: 1px solid var(--c-line);

  aspect-ratio: 16 / 9;
  align-self: center;          /* не розтягується на всю висоту картки води */
  background: linear-gradient(135deg, var(--c-cyan), var(--c-deep));
}
/* Промо-відео у тій самій рамці, що й банер */

.video-shell {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #0B3C7A;   /* темна підкладка на крайній випадок */
}
.promo-banner .promo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0B3C7A;
}

.video-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(4, 18, 38, .38) 0%, rgba(3, 14, 30, .62) 100%);
  border-radius: inherit;
  transition: opacity .3s ease, visibility .3s ease;
}
.video-cover.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.video-cover:hover { background: linear-gradient(180deg, rgba(4, 18, 38, .3) 0%, rgba(3, 14, 30, .55) 100%); }

.video-cover .play-ic {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2395F8, #0184F7);
  color: #fff;
  box-shadow: 0 10px 28px rgba(2, 141, 248, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-cover:hover .play-ic {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(2, 141, 248, .55);
}
.video-cover .play-ic svg {
  width: 30px; height: 30px;
  fill: currentColor;
  margin-left: 4px;   /* оптичне центрування трикутника */
}
@media (max-width: 760px) {
  .video-cover .play-ic { width: 56px; height: 56px; }
  .video-cover .play-ic svg { width: 24px; height: 24px; }
}

.badge-popular {
  position: absolute;
  top: -12px;
  right: 16px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-blue));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35em 1em;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(22, 104, 179, .35);
}

.card-popular { border-color: var(--c-sky); box-shadow: 0 14px 34px rgba(22, 104, 179, .14); }

/* ------------------------------- Prices note ---------------------------- */

.prices-note {
  margin-top: 1.6rem;
  text-align: center;
  color: var(--c-grey);
  font-size: .92rem;
}

/* ------------------------- Анімована крапля (Ціни) ---------------------- */.prices {
  position: relative;
  overflow: hidden;
  /* Плавний перехід від смуги переваг: стартуємо з її нижнього кольору і плавно доходимо до льодяного */
  background: linear-gradient(180deg, var(--c-bg) 0, var(--c-ice) 8rem, var(--c-ice) 100%);
}

.drop-fx {
  position: absolute;
  top: 0;
  right: 5%;
  width: 150px;
  height: 330px;
  pointer-events: none;
  z-index: 1;
}

/* водна поверхня — статична підкладка під колами */
.drop-fx::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 240px;
  width: 130px;
  height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(25, 184, 216, .22), rgba(25, 184, 216, 0) 70%);
  border-radius: 50%;
}

.drop-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 20px;
  margin-left: -7px;
  background: linear-gradient(180deg, var(--c-sky), var(--c-blue));
  border-radius: 50% 50% 60% 60% / 40% 40% 60% 60%;
  opacity: 0;
  transform: translateY(-40px);
}

.ripple {
  position: absolute;
  left: 50%;
  top: 240px;
  width: 110px;
  height: 20px;
  margin: -10px 0 0 -55px;
  border: 2px solid rgba(25, 184, 216, .55);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.2);
}

.splash {
  position: absolute;
  left: 50%;
  top: 236px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--c-cyan);
  opacity: 0;
}

.drop-fx.run .drop-dot { animation: dropFall .5s cubic-bezier(.5, 0, 1, .6) forwards; }
.drop-fx.run .ripple   { animation: rippleOut .9s ease-out .45s forwards; }
.drop-fx.run .splash   { animation: splashUp .55s ease-out .46s forwards; }

.drop-fx.run .ripple.r2 { animation-delay: .6s; }
.drop-fx.run .ripple.r3 { animation-delay: .75s; }

.drop-fx.run .splash.s1 { --sx: -16px; }
.drop-fx.run .splash.s2 { --sx: 0; }
.drop-fx.run .splash.s3 { --sx: 16px; }

@keyframes dropFall {
  0%   { transform: translateY(-40px) scale(1, 1); opacity: 0; }
  12%  { opacity: 1; }
  85%  { transform: translateY(200px) scale(.92, 1.12); opacity: 1; }
  100% { transform: translateY(238px) scale(.6, 1.3); opacity: 0; }
}

@keyframes rippleOut {
  0%   { opacity: 0; transform: scale(.25); }
  25%  { opacity: .75; }
  100% { opacity: 0; transform: scale(1.25); }
}

@keyframes splashUp {
  0%   { opacity: 0; transform: translate(0, 0) scale(.6); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx, 0), -52px) scale(1); }
}

/* ------------------------------- Partners ------------------------------- */

.carousel-wrap {
  overflow: hidden;
  position: relative;
  padding-block: .5rem;
  border-radius: var(--radius);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.carousel {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  cursor: grab;
  touch-action: pan-y;   /* вертикальний скрол сторінки не блокується, горизонтальний свайп — карусель */
  user-select: none;
  -webkit-user-select: none;
}
.carousel.dragging { cursor: grabbing; }
.carousel img { -webkit-user-drag: none; }

/* Контейнер зі стрілками: поза .carousel-wrap, щоб mask-image їх не робив прозорими */
.carousel-zone { position: relative; }

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.car-btn:hover {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.car-btn:focus-visible { outline: 2px solid var(--c-deep); outline-offset: 2px; }
.car-btn svg { width: 24px; height: 24px; fill: currentColor; }
.car-prev { left: 12px; }
.car-next { right: 12px; }

.carousel:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 4px; border-radius: 12px; }

/* Суцільна плитка партнера: 120x60, без тексту — тільки логотип */
.partner-chip {
  flex: 0 0 auto;
  width: 120px;
  height: 60px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .partner-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-sky); }
}

.partner-logo {
  width: 120px; height: 60px;
  object-fit: contain;
  border-radius: 9px;
  background: #fff;
  flex-shrink: 0;
}

.partner-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-ice), #D9EFFA);
  color: var(--c-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin: auto;
}

/* ------------------------------- Contacts ------------------------------- */

.contacts-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
}
.contact-card h3 { margin-bottom: 1rem; }

.contact-phone {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--c-deep);
  display: block;
  margin-bottom: .6rem;
}
.contact-phone:hover { color: var(--c-cyan-d); }

.contact-schedule {
  display: flex;
  align-items: center;
  gap: .5em;
  color: var(--c-grey);
  margin-bottom: 1.2rem;
}
.contact-schedule .ic { color: var(--c-cyan-d); }

.messenger-btns { display: flex; flex-direction: column; gap: .8rem; margin-bottom: .9rem; max-width: 280px; }
.messenger-btns .btn { width: 100%; padding: .72em 1.2em; font-size: .95rem; }

.contact-note { font-size: .88rem; color: var(--c-grey); }

/* Соцмережі (рендеряться з config.socials) */
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 3px 10px rgba(11, 60, 122, .12);
}
.social-btn:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 6px 16px rgba(11, 60, 122, .2); }
.social-btn svg { width: 22px; height: 22px; fill: currentColor; }
.social-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.social-facebook  { background: #1877F2; }
.social-telegram  { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.social-tiktok    { background: #161616; }
.social-youtube   { background: #FF0000; }
.social-viber     { background: #7360F2; }
.social-link      { background: var(--c-blue); }

.footer-about { display: flex; flex-direction: column; }
.footer-col-contacts { display: flex; flex-direction: column; }
.footer-socials { margin-top: auto; }
.footer-socials .social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 0;
  outline: none;
  box-shadow: none;
  filter: none;
}
.footer-socials .social-btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
  filter: none;
}
.footer-socials .social-btn svg { width: 18px; height: 18px; }

/* Тільки іконка — без кольорової плашки та окантовки */
.footer-socials .social-btn,
.footer-socials .social-btn:hover {
  background: none;
  width: auto; height: auto;
  padding: 4px;
  border-radius: 0;
  color: #9DBBD6;                 /* монохромні іконки на темному тлі */
}
.footer-socials .social-btn svg { width: 26px; height: 26px; }
.footer-socials .social-btn:hover { color: #fff; transform: none; }

.map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  height: 320px;

  isolation: isolate;
}
.map .leaflet-container { z-index: auto; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

#kyivMap { touch-action: auto; }

.map-caption { margin-top: .9rem; font-size: .9rem; color: var(--c-grey); }

/* ------------------------------- Footer --------------------------------- */

/* Футер — блакитний градієнтний (як до світлої версії) */
.site-footer {
  background: linear-gradient(180deg, #0E2E52, #0B3C7A);
  color: #D7E9F7;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-block: 3rem 2rem;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: .8rem;
  font-size: 1rem;
}

.site-footer p { font-size: .92rem; }

.site-footer a { color: #D7E9F7; }
.site-footer a:hover { color: #fff; }

.footer-about p { margin-top: .9rem; max-width: 30em; opacity: .85; }

.footer-messengers { display: flex; gap: .6rem; margin-top: .9rem; flex-wrap: wrap; }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 600;
  min-width: 140px;
  padding: .55em 1.4em;
  border-radius: 999px;
  transition: transform .2s ease, filter .2s ease;
}
.chip:hover { transform: translateY(-2px); filter: brightness(1.1); }
.chip-tg { background: #27A7E7; color: #fff; }
.chip-viber { background: #7360F2; color: #fff; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: .45rem; }

.footer-domain {
  margin-top: .8rem;
  font-family: var(--font-head);
  font-size: .95rem;
  color: #8FD4EF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.1rem;
  font-size: .85rem;
  text-align: center;
  color: rgba(215, 233, 247, .75);
}

/* Бренд у футері: вордмарк + теглайн на темному тлі (лого — на білій плашці) */
.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name b { color: #8FD4EF; }
.footer-brand .brand-tagline { color: rgba(215, 233, 247, .8); }
.footer-brand:hover .brand-logo { animation: logoSplash .85s ease; }

@media (min-width: 761px) {
  .footer-col { display: flex; flex-direction: column; }
  .footer-col-contacts .footer-messengers { margin-top: auto; }
  .footer-links { margin-top: auto; font-size: .92rem; }
  .footer-links li { margin-bottom: .4rem; }
  .footer-links li:last-child { margin-bottom: 0; }  /* низ списка = низ чипів поруч */
}

/* ------------------------------- Modal ---------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 34, 60, .55);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 100;
}
.modal-overlay.show { opacity: 1; visibility: visible; }

.modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 2.2rem 2rem;
  max-width: 430px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(16px) scale(.97);
  transition: transform .25s ease;
}
.modal-overlay.show .modal { transform: translateY(0) scale(1); }

.modal h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.modal-sub { color: var(--c-grey); font-size: .93rem; margin-bottom: 1.2rem; }

.modal-phone {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--c-deep);
  margin-bottom: 1.2rem;
}
.modal-phone:hover { color: var(--c-cyan-d); }

.modal-btns { display: flex; flex-direction: column; gap: .7rem; }

.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--c-grey);
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.modal-close:hover { color: var(--c-deep); transform: rotate(90deg); }

/* ------------------------------- To top --------------------------------- */

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-blue));
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  z-index: 60;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ------------------------------- Reveal animations ---------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: .12s; --reveal-delay: .12s; }
.delay-2 { transition-delay: .24s; --reveal-delay: .24s; }
.delay-3 { transition-delay: .36s; --reveal-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .drop-fx { display: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------- Responsive ----------------------------- */

@media (min-width: 761px) and (max-width: 1279px) {
  /* Щільніший хедер, щоб усе вміщалось до 1280px */
  .header-inner { gap: 1rem; padding-block: .7rem; }
  .brand-name { font-size: 1.4rem; }
  .brand-tagline { font-size: .57rem; }
  .brand-logo { width: 50px; height: 50px; }
  .nav { gap: 1.15rem; }
  .nav > a, .nav-item > a { font-size: .95rem; }
  .header-actions { gap: .7rem; }
  .phone-num { font-size: 1rem; }
  .phone-sched { font-size: .72rem; }
  .phone-ic { width: 36px; height: 36px; }
  .btn-head { padding: .75em 1.4em; font-size: .92rem; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .header-inner { gap: .5rem; padding-block: .6rem; }
  .brand { gap: .45rem; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 1.2rem; }
  .brand-tagline { font-size: .52rem; letter-spacing: .06em; }
  .nav { gap: .6rem; }
  .nav > a, .nav-item > a { font-size: .84rem; padding: .3em 0; }
  .header-actions { gap: .5rem; }
  .phone-ic { width: 34px; height: 34px; }
  .phone-ic svg { width: 15px; height: 15px; }
  .header-phone { gap: .45rem; }
  .phone-num { font-size: .9rem; }
  .phone-sched { font-size: .63rem; }
  .header-divider { height: 32px; }
  .btn-head { padding: .6em .9em; font-size: .82rem; }
}

@media (min-width: 761px) and (max-width: 860px) {
  .brand-tagline { display: none; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 1.1rem; }
  .nav { gap: .7rem; }
  .nav > a, .nav-item > a { font-size: .8rem; }
  .header-phone .phone-text { display: none; }
  .header-actions { gap: .5rem; }
  .btn-head { padding: .6em .9em; font-size: .8rem; }
}

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .messenger-btns { flex-direction: row; max-width: none; gap: .5rem; }
  .messenger-btns .btn { flex: 1 1 0; min-width: 0; padding: .7em .9em; font-size: .9rem; }
  /* Hero на планшеті: банер фоном, текст поверх */
  .hero { min-height: 420px; }
  .hero-img { object-position: 75% 50%; }
  .hero-bottle { height: 62%; right: -2%; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(249, 253, 254, .9) 0%,
      rgba(249, 253, 254, .72) 55%,
      rgba(249, 253, 254, .35) 100%);
  }
  .hero-content { max-width: 640px; }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 92px;   /* під вищим хедером */
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: .6rem 0 1rem;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
    z-index: 49;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: .8rem 6%; }

  .header-phone .phone-text { display: none; }   /* лишається градієнтне коло — клікабельний tel: */
  .header-divider { display: none; }
  .header-actions .btn-head { display: none; }
  .burger { display: flex; margin-left: auto; }   /* бургер притиснутий до правого краю */
  .header-actions { margin-left: auto; }

  /* Компактний хедер на мобільному */
  .header-inner { gap: .8rem; padding-block: .5rem; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-name { font-size: 1.3rem; }
  .brand-tagline { font-size: .55rem; }
  .phone-ic { width: 38px; height: 38px; }
  .header-inner > .nav { margin-inline: 0; }
  .nav { top: 64px; }   /* меню впритул під компактним хедером */

  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  #waterPrices { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.4rem;
    text-align: left;
    justify-items: start;
  }
  .footer-about p { max-width: none; font-size: .88rem; }
  .footer-brand { flex-direction: row; }
  .footer-brand .brand-logo { margin-inline: 0; }
  .footer-messengers { justify-content: flex-start; }
  .footer-messengers .chip { min-width: 0; padding: .5em 1em; font-size: .78rem; flex: 1 1 0; text-align: center; white-space: nowrap; }
  .footer-links { display: block; text-align: left; }
  .footer-col { width: auto; }
  .footer-col h4, .footer-col p { text-align: left; }
  .footer-col p { font-size: .88rem; }
  .site-footer h4 { font-size: .95rem; }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 0 4% 13vw;

    background: linear-gradient(180deg, #CFEFFD 0, #B6E1FD 158vw, #B5E1FD 158.4vw, #B5E1FD 100%);
  }
  .hero-img, .hero-overlay { display: none; }
  .hero-mob-bg {
    display: block;
    position: absolute;
    inset: 0 0 auto 0;
    height: 158.4vw;              /* 100% ширини × 1188/750 */
    background: url('../assets/hero-mob.png') top center / 100% auto no-repeat;
    z-index: 0;
    pointer-events: none;
  }

  .hero-mob-bg::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 133.5vw;
    bottom: 0;
    background: #B5E1FD;
  }
  .hero-content { display: contents; }

  .prices {
    background: linear-gradient(180deg,
      #B5E1FD 0,
      #D3EBFC 4rem,
      var(--c-ice) 10rem,
      var(--c-ice) 100%);
  }

  .hero-title {
    order: 1;
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 2.5vw;
    text-align: center;
    text-wrap: balance;
    font-size: clamp(1.65rem, 7.6vw, 3rem);
    line-height: 1.14;

  }

  .hero-subtitle {
    display: block;
    order: 2;
    align-self: center;
    margin-top: 0;             /* зазор дає margin-bottom заголовка */
    margin-bottom: 0;
    font-size: clamp(1rem, 4.4vw, 1.3rem);
    font-weight: 700;
    line-height: 1.2;          /* компактна стрічка, як у колишнього .ht-m-sub */
    letter-spacing: .01em;
    white-space: nowrap;

    animation: heroSubFadeIn .8s cubic-bezier(.22, .8, .3, 1) .52s both;
  }

  .hero-bottle {
    order: 3;
    position: relative;
    z-index: 1;
    right: auto;
    bottom: auto;
    width: 84vw;
    height: auto;

    margin-top: 9vw;
  }

  .hero-feats-strip { background: #B5E1FD; }  /* продовження кольору мобільного hero */

  .hero-mob-feats {
    gap: 0;
    width: 100%;
    margin-top: 1.1vw;
  }
  .hero-mob-feats li { padding-inline: .4rem; }
  .hero-mob-feats .hf-ic {
    display: grid;
    place-items: center;
    width: 13.5vw;
    height: 13.5vw;
    max-width: 64px;
    max-height: 64px;
    border-radius: 50%;
    background: linear-gradient(180deg, #E9F5FD, #CDE7F9);
    box-shadow: 0 2px 10px rgba(22, 104, 179, .14);
  }
  .hero-mob-feats .hf-ic svg { width: 60%; height: 60%; }
  .hero-mob-feats b {
    display: block;
    margin-top: 2vw;
    font-size: clamp(.74rem, 3.4vw, .95rem);
    line-height: 1.22;
    color: #0B347C;
  }
  .hero-mob-feats small {
    display: block;
    margin-top: .8vw;
    font-size: clamp(.62rem, 2.6vw, .78rem);
    line-height: 1.32;
    color: #3D6390;
  }
  /* Плашка «Для доставки води» — без постійної анімації */
  .hero-mob-card {
    order: 5;
    display: block;
    position: relative;
    z-index: 2;
    width: 89%;
    margin-top: 7.5vw;
    animation: heroRiseIn .8s ease-out 1.05s both;
    padding: 8.4vw 4.5vw 6.5vw;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(11, 60, 122, .16);
    text-align: center;
  }

  .hmc-mountains {
    position: absolute;
    bottom: 100%;            /* основа — рівно по верхньому краю плашки */
    left: 50%;
    transform: translateX(-50%);
    width: 18vw;
    height: auto;
    max-width: 76px;
  }
  .hmc-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5vw;
    width: fit-content;
    margin-inline: auto;
    font-family: var(--font-hero);
    font-weight: 800;
    font-size: clamp(1.15rem, 5.2vw, 1.5rem);
    line-height: 1.2;
    white-space: nowrap;
    color: #023470;
    background: linear-gradient(100deg, #023470 8%, #1668B3 48%, #4598DC 92%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hmc-title::before, .hmc-title::after {
    content: '';
    flex: 0 0 7vw;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(156, 195, 232, 0), #9CC3E8);
  }
  .hmc-title::after { transform: scaleX(-1); }
  .hmc-text {
    margin-top: 3.2vw;
    font-size: clamp(.8rem, 3.6vw, .95rem);
    line-height: 1.5;
    color: var(--c-ink);
  }

  .hero-note { display: none; }

  .hero-actions { order: 6; width: 100%; margin-top: 5.5vw; }
  .hero-actions .cta-desk { display: none; }
  .cta-mob { display: inline; }
  /* Довгий текст кнопки — вміщуємо в рамку без переповнення */
  .hero-actions .btn {
    width: 100%;
    font-size: .88rem;
    padding: .9em 1em;
    white-space: nowrap;
  }

  /* Іконки-переваги з'являються каскадом, як чипи на десктопі */
  .hero-mob-feats li:nth-child(1) { animation: heroRiseIn .7s ease-out .6s both; }
  .hero-mob-feats li:nth-child(2) { animation: heroRiseIn .7s ease-out .72s both; }
  .hero-mob-feats li:nth-child(3) { animation: heroRiseIn .7s ease-out .84s both; }
  .hero-mob-feats li:nth-child(4) { animation: heroRiseIn .7s ease-out .96s both; }

  .car-btn { width: 38px; height: 38px; }
  .car-btn svg { width: 20px; height: 20px; }
  .car-prev { left: 6px; }
  .car-next { right: 6px; }

  .footer-about { display: block; }
  .footer-col-contacts .footer-messengers {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    margin: .9rem 0 0;
  }
  .footer-col-contacts .footer-messengers .chip { width: 100%; padding: .62em 1em; font-size: .82rem; white-space: nowrap; }
  /* соцкнопки — під чатами */
  .footer-socials { margin-top: .8rem; justify-content: flex-start; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .header-actions .btn { display: none; }  /* на вузьких — кнопка у меню */
  .nav.open .nav-cta { display: inline-flex; }
}

/* Кнопка «Доставимо сьогодні» в мобільному меню */
.nav-cta { display: none; }
@media (max-width: 760px) {
  .nav-cta { display: inline-flex; margin: .6rem 6% 0; justify-content: center; }
}
