/* ============================================
   PIROKIRIK — ФОТО НА ХОЛСТЕ
   Mobile-first landing page styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;600;700;900&family=Oswald:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
  --bg-deep: #050A18;
  --bg-mid: #0D1B4B;
  --blue-electric: #1A3BFF;
  --blue-accent: #00A8FF;
  --blue-tg: #229ED9;
  --blue-tg-dark: #0088CC;
  --purple: #6B00CC;
  --purple-light: #8B1FFF;
  /* Warm orange palette (matches logo) */
  --orange-hot:   #FF6B35;
  --orange-gold:  #FFB800;
  --orange-light: #FFD700;
  --orange-pink:  #FF4E6A;
  --white: #FFFFFF;
  --white-dim: rgba(255,255,255,0.96);
  --white-soft: rgba(255,255,255,0.78);
  --white-ghost: rgba(255,255,255,0.12);
  --gold-line: rgba(255,180,50,0.35);
  --viber-color: #7360F2;
  --wa-color: #25D366;
  --nav-h: 64px;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-deep);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative; /* aurora-bg absolute positions against this */
}

/* ============ AURORA BACKGROUND ============ */
.aurora-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  min-height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Grain texture overlay — adds depth and stops the flat-black look */
.aurora-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: 300px;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

/* Blob 1 — Синий–пурпурный, верхний левый угол */
.aurora-orb:nth-child(1) {
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(32,64,255,0.42) 0%, rgba(139,34,255,0.28) 50%, transparent 70%);
  filter: blur(110px);
  top: -180px; left: -200px;
  animation: blobFloat1 11s ease-in-out alternate infinite, blobFadeIn 1.4s 0.1s ease forwards;
}
/* Blob 2 — Оранжево–золотистый, нижний правый — УСИЛЕН */
.aurora-orb:nth-child(2) {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,120,30,0.58) 0%, rgba(255,190,40,0.42) 45%, transparent 70%);
  filter: blur(90px);
  bottom: -100px; right: -120px;
  animation: blobFloat2 14s ease-in-out alternate infinite, blobFadeIn 1.4s 0.3s ease forwards;
}
/* Blob 3 — Тёплый янтарь, центр-верх */
.aurora-orb:nth-child(3) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,160,0,0.22) 0%, rgba(200,80,0,0.16) 50%, transparent 70%);
  filter: blur(80px);
  top: 30%; left: 38%;
  animation: blobFloat3 9s ease-in-out alternate infinite, blobFadeIn 1.4s 0.5s ease forwards;
}
/* Blob 4 — Тёмно-синий индиго, нижняя часть */
.aurora-orb:nth-child(4) {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(26,59,255,0.22) 0%, rgba(107,0,204,0.17) 50%, transparent 70%);
  filter: blur(90px);
  top: 65%; right: 8%;
  animation: blobFloat4 17s ease-in-out alternate infinite, blobFadeIn 1.4s 0.7s ease forwards;
}

@keyframes blobFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(55px, -75px) scale(1.13); }
}
@keyframes blobFloat2 {
  0%   { transform: translate(0, 0) scale(1.06); }
  100% { transform: translate(-50px, 65px) scale(0.9); }
}
@keyframes blobFloat3 {
  0%   { transform: translate(0, 0) scale(0.94); }
  100% { transform: translate(32px, 42px) scale(1.12); }
}
@keyframes blobFloat4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-55px, -48px) scale(0.93); }
}
@keyframes blobFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============ CONTENT WRAPPER ============ */
.content { position: relative; z-index: 1; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(5,10,24,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-line);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 10px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.navbar-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.navbar-flag {
  width: 24px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  display: inline-block;
}

.navbar-tg-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-tg);
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(34,158,217,0.45);
  transition: var(--transition);
  flex-shrink: 0;
}

.navbar-tg-btn:hover {
  background: var(--blue-tg-dark);
  box-shadow: 0 0 22px rgba(34,158,217,0.7);
  transform: translateY(-1px);
}

.navbar-phone {
  display: none; /* hidden on mobile */
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.navbar-phone:hover { color: var(--blue-accent); }

.navbar-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,168,255,0.15);
  border: 1.5px solid rgba(0,168,255,0.35);
  color: var(--blue-accent);
  text-decoration: none;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}

.navbar-phone-icon:hover {
  background: rgba(0,168,255,0.25);
  box-shadow: 0 0 14px rgba(0,168,255,0.4);
}

/* ============ HERO SECTION ============ */
.hero {
  /* No min-height — hero wraps content exactly, zero black gaps */
  padding-top: calc(var(--nav-h) + 18px);
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* hero-content div removed from HTML - no longer needed */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white-ghost);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  padding: 6px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(9px, 2.5vw, 12px);
  letter-spacing: 0.12em;
  color: var(--white-dim);
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.hero-flag-inline {
  width: 20px;
  height: 13px;
  border-radius: 2px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(58px, 19vw, 130px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #FFE033 0%, #FFB300 35%, #FF7A00 70%, #FF5580 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 30px rgba(255,150,0,0.55)) drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

/* On short mobile screens: shrink slightly so everything fits */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(52px, 17vw, 90px);
  }
}

@media (max-height: 700px) and (max-width: 480px) {
  .hero-title {
    font-size: clamp(44px, 15vw, 72px);
  }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-price {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 7vw, 52px);
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-shadow: 0 0 24px rgba(0,168,255,0.5);
}

.hero-price span {
  color: #00C8FF;
  text-shadow: 0 0 20px rgba(0,200,255,0.6);
}

.hero-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(10px, 2.8vw, 13px);
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.hero-features .sep { color: rgba(255,255,255,0.25); }

.hero-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-tg), #1A90D0);
  color: var(--white);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 3.8vw, 20px);
  letter-spacing: 0.06em;
  padding: clamp(12px, 3.2vw, 16px) clamp(20px, 5vw, 28px);
  border-radius: 50px;
  animation: pulseGlow 2.5s ease-in-out infinite;
  transition: var(--transition);
  text-transform: uppercase;
  margin-bottom: 16px;
  width: min(100%, 340px);
  justify-content: center;
}

.hero-tg-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(34,158,217,0.5), 0 4px 20px rgba(34,158,217,0.3); }
  50%       { box-shadow: 0 0 40px rgba(34,158,217,0.85), 0 8px 40px rgba(34,158,217,0.55), 0 0 80px rgba(34,158,217,0.25); }
}

.tg-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hero-phone-link {
  display: block;
  color: var(--white-dim);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 4.2vw, 20px);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  transition: var(--transition);
}

.hero-phone-link:hover { color: var(--blue-accent); text-shadow: 0 0 14px rgba(0,168,255,0.5); }

.hero-messengers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: clamp(8px, 2vw, 10px) clamp(14px, 4vw, 20px);
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 3vw, 14px);
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
  border: 2px solid transparent;
}

.messenger-btn.viber {
  background: rgba(115,96,242,0.2);
  border-color: rgba(115,96,242,0.5);
}

.messenger-btn.viber:hover {
  background: rgba(115,96,242,0.35);
  box-shadow: 0 0 20px rgba(115,96,242,0.5);
  transform: translateY(-2px);
}

.messenger-btn.whatsapp {
  background: rgba(37,211,102,0.15);
  border-color: rgba(37,211,102,0.4);
}

.messenger-btn.whatsapp:hover {
  background: rgba(37,211,102,0.28);
  box-shadow: 0 0 20px rgba(37,211,102,0.4);
  transform: translateY(-2px);
}

.messenger-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255,140,0,0.12), rgba(255,80,50,0.10));
  border: 1.5px solid rgba(255,160,50,0.5);
  border-radius: var(--radius);
  padding: clamp(9px, 2.5vw, 12px) clamp(14px, 4vw, 20px);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 3.2vw, 18px);
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255,140,0,0.2), inset 0 0 24px rgba(255,140,0,0.05);
  animation: badgePulse 4s ease-in-out infinite;
  margin-bottom: 0;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,140,0,0.2), inset 0 0 20px rgba(255,140,0,0.05); }
  50%       { box-shadow: 0 0 40px rgba(255,140,0,0.38), inset 0 0 30px rgba(255,140,0,0.12); }
}

/* ============ SECTION BASE ============ */
section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 10vw, 76px);
  letter-spacing: 0.04em;
  text-align: center;
  background: linear-gradient(90deg, #FFD700 0%, #FFA500 30%, #FF6B35 65%, #FF4E6A 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  margin-bottom: 10px;
  line-height: 1;
  filter: drop-shadow(0 0 22px rgba(255,130,0,0.5)) drop-shadow(0 2px 6px rgba(0,0,0,0.7));
}

.section-sub {
  text-align: center;
  color: rgba(255,255,255,0.78);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  margin-bottom: 36px;
  font-weight: 600;
}

/* ============ DIVIDER ============ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), rgba(0,168,255,0.3), var(--gold-line), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* ============ DELIVERY SECTION ============ */
.delivery-section {
  background: rgba(13,27,75,0.3);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.delivery-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 4.5vw, 26px);
  text-align: center;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.delivery-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.delivery-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 120px;
  transition: var(--transition);
}

.delivery-logo-wrap:hover {
  background: rgba(0,168,255,0.08);
  border-color: rgba(0,168,255,0.3);
  box-shadow: 0 0 20px rgba(0,168,255,0.15);
  transform: translateY(-2px);
}

.delivery-logo-wrap img {
  width: 160px;
  height: 72px;
  object-fit: contain;
  filter: brightness(1.15) contrast(1.05) drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  padding: 8px 12px;
}

/* ============ CATEGORIES SECTION ============ */
.categories-grid {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.category-card {
  flex: 1;
  max-width: 150px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid rgba(0,168,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 1/1;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  filter: brightness(1.1) contrast(1.05) saturate(1.05);
}

.category-card .cat-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(5,10,24,0.9));
  padding: 28px 8px 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,1), 0 0 16px rgba(0,0,0,1);
  font-weight: 400;
}

.category-card:hover {
  border-color: var(--blue-accent);
  box-shadow: 0 0 20px rgba(0,168,255,0.35);
  transform: translateY(-3px);
}

.category-card:hover img { transform: scale(1.05); }

/* ============ ADVANTAGES SECTION ============ */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}

.adv-card {
  background: rgba(15, 20, 55, 0.92);
  border: 1px solid rgba(255, 160, 60, 0.38);
  border-radius: var(--radius);
  padding: 20px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: background var(--transition), border-color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,200,80,0.09);
  /* CSS animation guaranteed reveal — no JS dependency */
  animation: advCardIn 0.6s ease both;
}

/* Staggered entry for each card */
.advantages-grid > .adv-card:nth-child(1) { animation-delay: 0.05s; }
.advantages-grid > .adv-card:nth-child(2) { animation-delay: 0.12s; }
.advantages-grid > .adv-card:nth-child(3) { animation-delay: 0.19s; }
.advantages-grid > .adv-card:nth-child(4) { animation-delay: 0.26s; }
.advantages-grid > .adv-card:nth-child(5) { animation-delay: 0.33s; }
.advantages-grid > .adv-card:nth-child(6) { animation-delay: 0.40s; }
.advantages-grid > .adv-card:nth-child(7) { animation-delay: 0.47s; }
.advantages-grid > .adv-card:nth-child(8) { animation-delay: 0.54s; }

@keyframes advCardIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.adv-card:hover {
  background: rgba(30, 20, 10, 0.75);
  border-color: rgba(255, 160, 60, 0.75);
  box-shadow: 0 0 28px rgba(255, 130, 30, 0.35), 0 4px 24px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

.adv-icon {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 2px;
}

.adv-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 15px;
  /* Orange gradient text */
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  filter: drop-shadow(0 0 6px rgba(255,150,0,0.4));
}

.adv-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: rgba(240, 235, 225, 0.93);
  line-height: 1.55;
  display: block;
  visibility: visible;
  text-shadow: 0 1px 6px rgba(0,0,0,0.85);
  letter-spacing: 0.005em;
}

/* ============ GALLERY SECTION ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 1px solid rgba(0,168,255,0.2);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  filter: brightness(1.05) contrast(1.02);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), opacity var(--transition);
  opacity: 0;
}

.gallery-overlay .zoom-icon {
  font-size: 36px;
  color: white;
  text-shadow: 0 0 20px rgba(0,168,255,0.8);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0,30,80,0.5);
  opacity: 1;
}

.gallery-item:hover .gallery-overlay .zoom-icon {
  transform: scale(1);
}

.gallery-item:hover {
  border-color: rgba(0,168,255,0.55);
  box-shadow: 0 0 20px rgba(0,168,255,0.25);
}

.gallery-item:hover img { transform: scale(1.07); }

/* ============ CTA SECTION ============ */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(13,27,75,0.4), transparent);
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 14vw, 100px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  background: linear-gradient(90deg, #FFD700 0%, #FFA500 35%, #FF6B35 70%, #FF4E6A 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 20px rgba(255,130,0,0.45));
}

.cta-sub {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 4vw, 22px);
  color: rgba(255,255,255,0.82);
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  z-index: 1;
  background: rgba(5,10,24,0.55);
  border-top: 1px solid var(--gold-line);
  padding: 30px 20px 40px;
  text-align: center;
}

.footer-logo img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}

.footer-company {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}

.footer-contact {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.footer-contact a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover { text-shadow: 0 0 10px rgba(0,168,255,0.5); }

.footer-messengers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}

.footer-messenger-btn.viber {
  background: rgba(115,96,242,0.2);
  border: 1px solid rgba(115,96,242,0.4);
}

.footer-messenger-btn.viber:hover {
  background: rgba(115,96,242,0.35);
  box-shadow: 0 0 14px rgba(115,96,242,0.4);
}

.footer-messenger-btn.whatsapp {
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.3);
}

.footer-messenger-btn.whatsapp:hover {
  background: rgba(37,211,102,0.28);
  box-shadow: 0 0 14px rgba(37,211,102,0.35);
}

.footer-messenger-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-copy {
  margin-top: 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-family: 'Montserrat', sans-serif;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Safety net: if JS fails or element never enters viewport, show it anyway */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ BELARUS FLAG SVG ============ */
.by-flag {
  display: inline-block;
}

/* ============ RESPONSIVE DESKTOP ============ */
@media (min-width: 768px) {
  :root { --nav-h: 70px; }

  .navbar {
    padding: 0 32px;
    gap: 16px;
  }

  .navbar-logo img { width: 50px; height: 50px; }
  .navbar-flag { width: 30px; height: 20px; }

  .navbar-tg-btn { font-size: 13px; padding: 10px 20px; }

  .navbar-phone { display: flex; }
  .navbar-phone-icon { display: none; }

  .hero-features { font-size: 14px; gap: 10px; }

  .delivery-logos { gap: 30px; }
  .delivery-logo-wrap img { width: 220px; height: 90px; padding: 10px 16px; }

  .categories-grid { gap: 20px; }
  .category-card { max-width: 200px; }
  .category-card .cat-label { font-size: 18px; }

  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-text { font-size: 13px; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  footer { padding: 40px 40px 30px; }
}

@media (min-width: 1100px) {
  section { padding: 80px 40px; }

  .hero { padding-left: 40px; padding-right: 40px; }

  .gallery-grid { max-width: 960px; gap: 16px; }

  .advantages-grid { max-width: 900px; gap: 18px; }
  .adv-card { padding: 24px 20px; }
  .adv-icon { font-size: 34px; }
  .adv-text { font-size: 14px; }
}


/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #FFB800, #FF6B35, #FF4E6A);
  box-shadow: 0 0 8px rgba(255,150,0,0.7);
  z-index: 2000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============ HERO SCROLL DOWN ARROW ============ */
.hero-scroll-down {
  margin-top: 22px;   /* neat gap below payment badge */
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: rgba(255, 210, 100, 1);
  transition: color 0.3s ease, opacity 0.5s ease;
  z-index: 10;
  min-width: 120px;
  flex-shrink: 0;
}

.hero-scroll-down:hover {
  color: #FFD700;
}

.scroll-down-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: 0 0 12px rgba(255, 180, 0, 0.6);
}

.scroll-down-arrow {
  animation: arrowBounce 1.6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 200, 60, 0.6);
  background: rgba(255, 150, 30, 0.13);
  box-shadow: 0 0 14px rgba(255, 180, 0, 0.25);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hero-scroll-down:hover .scroll-down-arrow {
  border-color: rgba(255, 210, 60, 0.95);
  background: rgba(255, 150, 30, 0.22);
  box-shadow: 0 0 22px rgba(255, 180, 0, 0.5);
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* On small screens reduce size slightly */
@media (max-height: 700px) {
  .scroll-down-arrow { width: 36px; height: 36px; }
  .scroll-down-arrow svg { width: 22px; height: 22px; }
}

/* Ultra-compact mode for very short phones (height < 580px) */
@media (max-height: 580px) {
  .hero {
    padding-top: calc(var(--nav-h) + 6px);
  }
  .hero-badge { padding: 5px 12px; margin-bottom: 4px; font-size: 9px; }
  .hero-price { margin-bottom: 4px; }
  .hero-features { margin-bottom: 6px; }
  .hero-tg-btn { padding: 10px 18px; margin-bottom: 6px; }
  .hero-phone-link { font-size: 14px; margin-bottom: 6px; }
  .hero-messengers { margin-bottom: 6px; gap: 8px; }
  .payment-badge { padding: 8px 14px; font-size: 11px; }
  .hero-scroll-down { margin-bottom: 6px; }
  .scroll-down-arrow { width: 32px; height: 32px; }
  .scroll-down-text { font-size: 10px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-down-arrow,
  .scroll-hint-emoji { animation: none; }
  .scroll-hint { animation: none; opacity: 1; }
}