/* ═══════════════════════════════════════
   SANCOMFORT — DESIGN TOKENS
   Dzherelo: sancomfort-homepage.html
   Synii = voda/dovira, pomaranchevyi = teplo/CTA
   ═══════════════════════════════════════ */
:root {
  --bg-primary: #FAFBFC;
  --bg-secondary: #F1F4F8;
  --bg-card: #FFFFFF;
  --bg-dark: #0F1923;
  --bg-dark-card: #172431;

  --primary: #1B5E7B;
  --primary-dark: #134559;
  --primary-light: #2980AD;
  --primary-soft: rgba(27, 94, 123, 0.08);
  --primary-softer: rgba(27, 94, 123, 0.04);

  --accent: #E8722A;
  --accent-hover: #F07D35;
  --accent-soft: rgba(232, 114, 42, 0.08);
  --accent-glow: rgba(232, 114, 42, 0.2);

  --text-heading: #0F1923;
  --text-body: #3D4F5F;
  --text-muted: #8896A4;
  --text-light: #B4BFC9;
  --text-on-dark: #E8EDF2;
  --text-on-primary: #FFFFFF;

  --success: #22C55E;
  --success-soft: rgba(34, 197, 94, 0.08);
  --urgency: #DC2626;
  --urgency-soft: rgba(220, 38, 38, 0.06);
  --sale-tag: #DC2626;

  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(15,25,35,0.06), 0 1px 2px rgba(15,25,35,0.04);
  --shadow-md: 0 4px 16px rgba(15,25,35,0.08);
  --shadow-lg: 0 8px 32px rgba(15,25,35,0.1);
  --shadow-xl: 0 16px 48px rgba(15,25,35,0.12);
  --shadow-accent: 0 4px 20px rgba(232, 114, 42, 0.25);

  --sc-notice-h: 36px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════
   RESET + BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* overflow-x: hidden perenesenyi z body na html —
   na body vin lamaie position: sticky u priamykh nashchadkiv
   (notice-ticker, header), bo robyt body skrol-konteinerom. */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;

  /* Sticky footer — rozvorot body v flex-kolonku */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Holovnyi kontent tiahnetsia na vsiu vilnu vysotu */
main,
.sc-main {
  flex: 1 0 auto;
}

/* Footer ne zistyskaietsia */
.footer {
  flex-shrink: 0;
}

/* Korektsiia pid WP admin bar (koly zalohinenyi admin) */
body.admin-bar {
  min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
  body.admin-bar {
    min-height: calc(100vh - 46px);
  }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Prybraty vidstup vid WP admin bar */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }

/* Koly bizhuchyi riadok aktyvnyi — header zsuvaietsia na yoho vysotu */
body.has-notice-ticker .header {
  top: var(--sc-notice-h);
}
body.admin-bar.has-notice-ticker .header {
  top: calc(32px + var(--sc-notice-h));
}
@media (max-width: 782px) {
  body.admin-bar.has-notice-ticker .header {
    top: calc(46px + var(--sc-notice-h));
  }
}

/* ═══════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════ */
.topbar { background: var(--bg-dark); color: var(--text-on-dark); font-size: 13px; padding: 10px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; align-items: center; gap: 24px; }
.topbar-left a { color: var(--text-light); display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.topbar-left a:hover { color: white; }
.topbar-promo { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar-promo .fire { animation: wiggle 2s ease-in-out infinite; }
.topbar-promo strong { color: var(--accent); }

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

/* ═══════════════════════════════════════
   NOTICE TICKER (bizhuchyi riadok)
   Nad topbar — povidomlennia pro testovyi rezhym
   ═══════════════════════════════════════ */
.sc-notice-ticker {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);

  /* Sticky — стрічка залишається зверху при скролі */
  position: sticky;
  top: 0;
  z-index: 101; /* вище за .header (100) */
  min-height: var(--sc-notice-h);
}

/* Коректція під WP admin bar (32px на десктопі, 46px на мобільному) */
body.admin-bar .sc-notice-ticker { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .sc-notice-ticker { top: 46px; }
}

.sc-notice-ticker__viewport {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}

/* Hradiientni "fades" po kraiakh — povidomlennia nibyto vyplyvaie z-za krayu */
.sc-notice-ticker__viewport::before,
.sc-notice-ticker__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 2;
}
.sc-notice-ticker__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
}
.sc-notice-ticker__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--accent-hover) 0%, transparent 100%);
}

.sc-notice-ticker__track {
  display: inline-flex;
  gap: 56px;
  width: max-content;
  padding-left: 100%;
  animation: sc-notice-scroll 45s linear infinite;
  will-change: transform;
}

.sc-notice-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sc-notice-ticker__icon {
  font-size: 14px;
  line-height: 1;
}

/* Pauza pry navedenni — zruchno prochytaty */
.sc-notice-ticker:hover .sc-notice-ticker__track {
  animation-play-state: paused;
}

@keyframes sc-notice-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Dostupnist: vidkliuchaiemo animatsiiu dlia korystuvachiv,
   yaki obraly "reduced motion" v OS */
@media (prefers-reduced-motion: reduce) {
  .sc-notice-ticker__track {
    animation: none;
    transform: none;
    width: 100%;
    justify-content: center;
    padding-left: 0;
  }
  .sc-notice-ticker__viewport::before,
  .sc-notice-ticker__viewport::after {
    display: none;
  }
}

/* Mobilka — trohy menshyi shryft, shchob vmistylosia bilshe na ekrani */
@media (max-width: 640px) {
  .sc-notice-ticker { font-size: 12px; }
  .sc-notice-ticker__track { gap: 40px; }
}

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.header { background: var(--bg-card); border-bottom: 1px solid rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 32px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon-img { width: 44px; height: 44px; border-radius: var(--r-md); object-fit: cover; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-body); font-size: 22px; font-weight: 800; color: var(--primary-dark); line-height: 1.1; letter-spacing: -0.01em; }
.logo-name-accent { color: var(--primary-light); }
.logo-tagline { font-size: 10px; color: var(--text-muted); letter-spacing: 0.06em; font-weight: 500; text-transform: uppercase; }

/* Poshuk */
.search-bar { flex: 1; max-width: 520px; position: relative; }
.search-bar form { position: relative; }
.search-bar input { width: 100%; padding: 14px 48px 14px 20px; background: var(--bg-secondary); border: 2px solid transparent; border-radius: var(--r-lg); font-family: var(--font-body); font-size: 14px; color: var(--text-heading); outline: none; transition: all 0.3s; }
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-soft); }
.search-bar .search-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 18px; background: none; border: none; cursor: pointer; }

/* Telefon */
.header-phone { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.header-phone a { font-size: 18px; font-weight: 700; color: var(--text-heading); letter-spacing: -0.02em; transition: color 0.2s; }
.header-phone a:hover { color: var(--primary); }
.header-phone .schedule { font-size: 12px; color: var(--text-muted); }
.header-phone .schedule .online-dot { display: inline-block; width: 6px; height: 6px; background: var(--success); border-radius: 50%; margin-right: 4px; animation: pulse-dot 2s ease-in-out infinite; }

@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Header dii */
.header-actions { display: flex; align-items: center; gap: 8px; }
.h-action { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 14px; border-radius: var(--r-md); transition: all 0.2s; position: relative; color: var(--text-body); }
.h-action:hover { background: var(--bg-secondary); color: var(--primary); }
.h-action .icon { font-size: 22px; }
.h-action .label { font-size: 11px; font-weight: 500; }
.h-action .count { position: absolute; top: 2px; right: 6px; width: 20px; height: 20px; background: var(--accent); color: white; font-size: 11px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Navihatsiya */
.nav-bar { background: var(--primary); }
.nav-inner { display: flex; align-items: center; gap: 0; }
.nav-catalog-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  outline: none;
}
.nav-catalog-btn:hover,
.nav-catalog-wrap.open .nav-catalog-btn {
  background: rgba(255,255,255,0.1);
}

.catalog-arrow {
  font-size: 14px;
  transition: transform 0.2s var(--ease);
}
.nav-catalog-wrap.open .catalog-arrow {
  transform: rotate(180deg);
}

/* MEGA MENU / Dropdown */
.nav-catalog-wrap { position: relative; }

.sc-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: var(--bg-card);
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--r-md) var(--r-md);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s var(--ease);
  z-index: 200;
}

.nav-catalog-wrap.open .sc-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sc-catalog-menu { padding: 8px 0; }
.sc-catalog-menu li { list-style: none; margin: 0; }
.sc-catalog-menu > li > a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: all 0.2s;
}
.sc-catalog-menu > li > a:hover {
  background: var(--bg-secondary);
  color: var(--primary);
  border-left-color: var(--primary);
}

/* Sub-menus prykhovani poky ne zrobymo mega-menu (abo zrobymo proste dropdown) */
.sc-catalog-menu .sub-menu { display: none; }

/* Nav links — pidtrymka wp_nav_menu */
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links li { list-style: none; }
.nav-links a,
.nav-links li a { padding: 14px 20px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; transition: all 0.2s; white-space: nowrap; display: block; }
.nav-links a:hover,
.nav-links li a:hover { color: white; background: rgba(255,255,255,0.08); }

/* Burger — toggle mobilnoho primary menu (na desktopi prykhovanyi) */
.sc-nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}
.sc-nav-burger:hover { background: rgba(255,255,255,0.1); }
.sc-nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.sc-nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sc-nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.sc-nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero { position: relative; background: linear-gradient(135deg, var(--bg-dark) 0%, #1A3040 40%, #1B4555 100%); overflow: hidden; padding: 72px 0 80px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 75% 40%, rgba(232,114,42,0.12), transparent), radial-gradient(ellipse 60% 60% at 20% 80%, rgba(27,94,123,0.15), transparent); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black, transparent); }
.hero-pipes { position: absolute; right: -20px; top: -20px; width: 350px; height: 350px; opacity: 0.04; border: 40px solid white; border-radius: 0 0 0 200px; border-top: none; border-right: none; }

.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-text { color: white; }

.hero-season-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); border: 1px solid rgba(232,114,42,0.3); padding: 8px 18px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; animation: fadeUp 0.6s var(--ease) both; }

.hero h1 { font-family: var(--font-heading); font-size: clamp(36px, 4.5vw, 56px); line-height: 1.12; margin-bottom: 20px; letter-spacing: -0.01em; animation: fadeUp 0.6s 0.1s var(--ease) both; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 36px; max-width: 460px; animation: fadeUp 0.6s 0.2s var(--ease) both; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; animation: fadeUp 0.6s 0.3s var(--ease) both; }
.btn-accent { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: white; padding: 16px 32px; border-radius: var(--r-sm); font-size: 14px; font-weight: 700; letter-spacing: 0.03em; transition: all 0.3s var(--ease); box-shadow: var(--shadow-accent); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232, 114, 42, 0.35); }
.btn-white-outline { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s; }
.btn-white-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }

.hero-stats { display: flex; gap: 40px; animation: fadeUp 0.6s 0.4s var(--ease) both; }
.hero-stat .num { font-family: var(--font-heading); font-size: 32px; color: white; line-height: 1; margin-bottom: 4px; }
.hero-stat .num span { color: var(--accent); }
.hero-stat .desc { font-size: 13px; color: rgba(255,255,255,0.5); }

/* Hero kartky */
.hero-cards { display: flex; flex-direction: column; gap: 16px; animation: fadeUp 0.8s 0.3s var(--ease) both; }
.hero-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: all 0.3s var(--ease); text-decoration: none; color: inherit; }
.hero-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(232,114,42,0.2); transform: translateX(4px); }
.hc-icon { width: 48px; height: 48px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.hc-icon.blue { background: rgba(27,94,123,0.25); }
.hc-icon.orange { background: rgba(232,114,42,0.2); }
.hc-icon.green { background: rgba(34,197,94,0.15); }
.hc-text h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: white; margin-bottom: 4px; }
.hc-text p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════ */
.trust-bar { background: white; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 20px 0; box-shadow: var(--shadow-sm); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.ti-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ti-icon.blue { background: var(--primary-soft); color: var(--primary); }
.ti-icon.orange { background: var(--accent-soft); color: var(--accent); }
.ti-icon.green { background: var(--success-soft); color: var(--success); }
.ti-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--text-heading); margin-bottom: 1px; }
.ti-text span { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════════════
   SECTIONS — zahalnyi styl
   ═══════════════════════════════════════ */
.section { padding: 64px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-header h2 { font-family: var(--font-heading); font-size: 30px; color: var(--text-heading); }
.section-header h2 em { color: var(--primary); font-style: italic; }
.section-header .view-all { font-size: 14px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 6px; transition: gap 0.3s var(--ease); }
.section-header .view-all:hover { gap: 10px; }

/* ═══════════════════════════════════════
   CATEGORIES GRID
   ═══════════════════════════════════════ */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { background: white; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--r-lg); padding: 28px 16px 24px; text-align: center; transition: all 0.35s var(--ease); cursor: pointer; display: block; color: inherit; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.cat-card:hover .cat-icon-wrap { background: var(--primary); color: white; }
.cat-icon-wrap { width: 64px; height: 64px; margin: 0 auto 16px; background: var(--primary-soft); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--primary); transition: all 0.35s var(--ease); }
.cat-card h3 { font-size: 14px; font-weight: 600; color: var(--text-heading); margin-bottom: 4px; line-height: 1.3; }
.cat-card .cat-count { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════ */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: white; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--r-lg); overflow: hidden; transition: all 0.35s var(--ease); position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: transparent; }

.product-img { aspect-ratio: 1; background: var(--bg-secondary); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .placeholder { font-size: 56px; opacity: 0.15; }

.p-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.p-badge { padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.p-badge.sale { background: var(--sale-tag); color: white; }
.p-badge.hit { background: var(--primary); color: white; }
.p-badge.new { background: var(--success); color: white; }

.p-info { padding: 18px; }
.p-category { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.p-name { font-size: 14px; font-weight: 600; color: var(--text-heading); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-name a { color: inherit; }
.p-name a:hover { color: var(--primary); }
.p-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.p-price-row .woocommerce-Price-amount { font-size: 20px; font-weight: 800; color: var(--text-heading); }
.p-price-row del .woocommerce-Price-amount { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.p-price-row ins { text-decoration: none; }
.p-stock { margin-top: 10px; font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 5px; font-weight: 500; }

/* ═══════════════════════════════════════
   PROMO BANNER
   ═══════════════════════════════════════ */
.promo-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: 1.2fr 0.8fr; position: relative; }
.promo-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 30%, rgba(232,114,42,0.15), transparent 50%), radial-gradient(circle at 10% 80%, rgba(255,255,255,0.05), transparent 40%); }
.promo-left { padding: 56px; position: relative; z-index: 2; color: white; }
.promo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 20px; }
.promo-tag .blink { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.5s infinite; }
.promo-left h2 { font-family: var(--font-heading); font-size: 38px; line-height: 1.15; margin-bottom: 16px; }
.promo-left h2 .big { font-size: 56px; color: var(--accent); display: block; }
.promo-desc { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 28px; max-width: 400px; line-height: 1.6; }

.countdown { display: flex; gap: 10px; margin-bottom: 28px; }
.cd-unit { text-align: center; }
.cd-num { width: 52px; height: 52px; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: white; }
.cd-label { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

.promo-right { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.promo-visual { font-size: 140px; opacity: 0.08; }

/* Promo product image — zamist emoji koly ye foto */
.promo-product-img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
  animation: promo-float 4s ease-in-out infinite;
  mix-blend-mode: multiply; /* Robyt bilyi fon prozorym dlia JPG */
}

@keyframes promo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════
   BRANDS
   ═══════════════════════════════════════ */
.brands-section { background: var(--bg-secondary); border-top: 1px solid rgba(0,0,0,0.04); border-bottom: 1px solid rgba(0,0,0,0.04); }
.brands-row { display: flex; align-items: center; justify-content: center; gap: 16px; }
.brand-item { flex: 1; padding: 14px 12px; background: white; border-radius: var(--r-md); border: 1px solid rgba(0,0,0,0.04); transition: all 0.3s; display: flex; align-items: center; justify-content: center; min-height: 64px; }
.brand-item img { height: 36px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: filter 0.3s var(--ease); }
.brand-item:hover img { filter: grayscale(0%) opacity(1); }
.brand-item:hover { color: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-md); }

/* ═══════════════════════════════════════
   WHY US
   ═══════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: white; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--r-lg); padding: 36px 28px; transition: all 0.35s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.why-icon { width: 56px; height: 56px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.why-icon.blue { background: var(--primary-soft); }
.why-icon.orange { background: var(--accent-soft); }
.why-icon.green { background: var(--success-soft); }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: white; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--r-lg); padding: 28px; transition: all 0.3s; }
.review-card:hover { box-shadow: var(--shadow-md); border-color: rgba(0,0,0,0.1); }
.r-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.r-text { font-size: 14px; line-height: 1.7; color: var(--text-body); margin-bottom: 18px; }
.r-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 16px; }
.r-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--primary); }
.r-meta .name { font-weight: 600; font-size: 14px; color: var(--text-heading); }
.r-meta .city { font-size: 12px; color: var(--text-muted); }
.r-meta .verified { font-size: 11px; color: var(--success); display: flex; align-items: center; gap: 3px; }

/* ═══════════════════════════════════════
   CONSULTATION CTA
   ═══════════════════════════════════════ */
.cta-section { background: linear-gradient(135deg, var(--bg-dark) 0%, #1A3040 100%); border-radius: var(--r-xl); padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; width: 300px; height: 300px; right: -80px; bottom: -80px; border: 60px solid rgba(232,114,42,0.06); border-radius: 50%; }
.cta-left { position: relative; z-index: 2; color: white; }
.cta-left h2 { font-family: var(--font-heading); font-size: 32px; margin-bottom: 14px; }
.cta-left h2 em { color: var(--accent); }
.cta-left p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 24px; }
.cta-left ul { display: flex; flex-direction: column; gap: 10px; }
.cta-left li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.75); }
.cta-left li .check { width: 22px; height: 22px; background: rgba(34,197,94,0.15); color: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

.cta-right { position: relative; z-index: 2; }
.cta-form { background: rgba(255,255,255,0.06); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); padding: 32px; }
.cta-form h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 20px; text-align: center; }
.cta-input { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-sm); color: white; font-family: var(--font-body); font-size: 14px; outline: none; margin-bottom: 12px; transition: border-color 0.3s; }
.cta-input::placeholder { color: rgba(255,255,255,0.4); }
.cta-input:focus { border-color: var(--accent); }
.cta-submit { width: 100%; padding: 16px; background: var(--accent); color: white; border-radius: var(--r-sm); font-size: 15px; font-weight: 700; transition: all 0.3s; box-shadow: var(--shadow-accent); cursor: pointer; border: none; font-family: var(--font-body); }
.cta-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cta-privacy { font-size: 11px; color: rgba(255,255,255,0.35); text-align: center; margin-top: 12px; }

/* ═══════════════════════════════════════
   CONSULTATION FORM — stany (error / success / loading)
   ═══════════════════════════════════════ */

/* Pomylka vvedennia */
.cta-input--error { border-color: var(--urgency) !important; }
.cta-field-error { font-size: 12px; color: #f87171; margin: -8px 0 12px; }
.cta-form-error { font-size: 13px; color: #f87171; text-align: center; margin-top: 10px; padding: 8px 12px; background: rgba(248,113,113,0.08); border-radius: var(--r-sm); }

/* Zahruzka */
.cta-submit--loading { opacity: 0.7; cursor: wait; }

/* Uspikh */
.cta-success { text-align: center; padding: 20px 0; }
.cta-success-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: rgba(34,197,94,0.15); color: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.cta-success-title { font-size: 16px; font-weight: 600; color: white; margin-bottom: 8px; }
.cta-success-sub { font-size: 13px; color: rgba(255,255,255,0.5); }

/* Posylannia v polityci */
.cta-privacy a { color: rgba(255,255,255,0.55); text-decoration: underline; transition: color 0.2s; }
.cta-privacy a:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer { background: var(--bg-dark); color: var(--text-on-dark); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.9fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 20px; max-width: 260px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 14px; transition: all 0.3s; }
.footer-socials a:hover { background: var(--primary); color: white; }

.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; color: rgba(255,255,255,0.8); }
.footer-col a,
.footer-col .menu li a { display: block; font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover,
.footer-col .menu li a:hover { color: var(--accent); }
.footer-col .menu { padding: 0; margin: 0; list-style: none; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-contact-item .fc-icon { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item strong { color: rgba(255,255,255,0.8); display: block; }
.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.3); }
.pay-icons { display: flex; gap: 8px; }
.pay-icon { padding: 4px 10px; background: rgba(255,255,255,0.06); border-radius: 4px; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.5); }
