:root{
  --bg:#f7fafc;
  --bg-accent:#edf4f8;
  --panel:#ffffff;
  --panel-strong:#f2f7fb;
  --panel-alt:#e7f0f7;
  --text:#072644;
  --text-strong:#041d34;
  --muted:#5d7388;
  --brand-900:#07233d;
  --brand-800:#0a2f51;
  --brand-700:#0d4a73;
  --brand-600:#166c9c;
  --brand-500:#1d7bb0;
  --line:#d6e3ef;
  --line-strong:#b8cfdf;
  --shadow:0 18px 42px rgba(7, 35, 61, .10);
  --shadow-soft:0 10px 24px rgba(7, 35, 61, .08);
  --radius:18px;
}

*{ box-sizing:border-box; }
html,body{
  margin:0;
  padding:0;
  font-family:"Akzidenz-Grotesk BQ","Akzidenz-Grotesk","Univers","Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}
body.bg{
  background:
    radial-gradient(780px 360px at 0% 0%, rgba(29,123,176,.12), transparent 60%),
    radial-gradient(640px 300px at 100% 0%, rgba(10,47,81,.10), transparent 58%),
    linear-gradient(180deg, #fbfdff 0%, #f7fafc 38%, #eff5f9 100%);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button,input,textarea,select{ font:inherit; }
h1,h2,h3,.brand,.section-title,.hero-title{
  font-family:"Akzidenz-Grotesk BQ","Akzidenz-Grotesk","Helvetica Neue",Arial,sans-serif;
  letter-spacing:-0.03em;
  color:var(--text-strong);
}
.container{ width:100%; max-width:1200px; margin:0 auto; padding:0 20px; }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(180%) blur(12px);
  background:rgba(247,250,252,.9);
  border-bottom:1px solid rgba(7,35,61,.08);
}
.header-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:8px 0;
}
.brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
}
.brand-logo{
  width:min(230px, 28vw);
  min-width:140px;
  height:auto;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-wrap:wrap;
}
.nav a{
  padding:8px 10px;
  border-radius:999px;
  color:var(--brand-800);
  font-size:13px;
  font-weight:600;
  transition:background-color .18s ease, color .18s ease, transform .18s ease;
}
.nav a:hover{
  background:rgba(13,74,115,.08);
  color:var(--brand-900);
  transform:translateY(-1px);
}
.nav .nav-external{
  background:var(--brand-900);
  color:#fff;
  box-shadow:var(--shadow-soft);
}
.nav .nav-external:hover{
  background:var(--brand-700);
  color:#fff;
}

/* Hero */
.hero{
  padding:42px 0 24px;
  border-bottom:1px solid rgba(7,35,61,.08);
}
.hero-slim{ padding:28px 0 18px; }
.hero-title{
  margin:0 0 10px;
  font-size:clamp(34px, 5vw, 58px);
  line-height:1;
}
.hero-sub{
  margin:0;
  color:var(--muted);
  font-size:clamp(16px, 2vw, 20px);
  max-width:720px;
  line-height:1.55;
}
.hero-kicker{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:700;
  color:var(--brand-600);
  margin-bottom:10px;
}
.hero-actions{
  display:flex;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap;
}
.hero-edge{ padding:18px 0 0; border-bottom:0; }
.home-hero-shell{ padding:0 20px 8px; }
.hero-minimal{ padding-top:10px; }
.hero-minimal-inner{ padding:0 20px 8px; }
.hero-minimal-card{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 24px;
  border-radius:28px;
  background:linear-gradient(180deg, #ffffff, #f4f8fb);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.hero-minimal-logo{
  width:min(420px, 72vw);
  height:auto;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.35fr .78fr;
  gap:28px;
  align-items:stretch;
}
.hero-grid-revised{
  gap:20px;
}
.hero-stage{
  position:relative;
  padding:34px 34px 28px;
  border-radius:30px;
  background:
    linear-gradient(140deg, rgba(7,35,61,.98) 0%, rgba(13,74,115,.94) 62%, rgba(29,123,176,.92) 100%);
  overflow:hidden;
  box-shadow:0 24px 52px rgba(7,35,61,.18);
}
.hero-stage::before{
  content:"";
  position:absolute;
  inset:auto -110px -120px auto;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 68%);
}
.hero-stage::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 68%, rgba(255,255,255,.08) 68%, rgba(255,255,255,.08) 70%, transparent 70%),
    linear-gradient(180deg, transparent 0%, transparent 74%, rgba(255,255,255,.08) 74%, rgba(255,255,255,.08) 76%, transparent 76%);
  pointer-events:none;
}
.hero-stage-copy,
.hero-metrics{
  position:relative;
  z-index:1;
}
.home-hero-title{
  color:#fff;
  margin:0 0 14px;
  max-width:760px;
}
.home-hero-sub{
  color:rgba(255,255,255,.82);
  max-width:700px;
}
.hero-metrics{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:26px;
}
.metric-card{
  padding:16px 16px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(8px);
}
.metric-value{
  font-size:24px;
  font-weight:800;
  color:#fff;
}
.metric-label{
  margin-top:5px;
  font-size:13px;
  line-height:1.35;
  color:rgba(255,255,255,.76);
}
.hero-aside{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.hero-brand-block{
  padding:24px;
  border-radius:28px;
  background:linear-gradient(180deg, var(--brand-900), var(--brand-800));
  box-shadow:var(--shadow);
}
.hero-side-logo{
  width:100%;
  max-width:300px;
  margin-bottom:16px;
}
.hero-side-text{
  margin:0;
  color:rgba(255,255,255,.82);
  line-height:1.55;
}
.hero-link-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero-link-card{
  display:block;
  padding:18px 20px;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hero-link-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
  border-color:var(--line-strong);
}
.hero-link-card-external{
  background:linear-gradient(180deg, #eef6fb, #ffffff);
}
.hero-link-title{
  display:block;
  font-size:18px;
  font-weight:800;
  color:var(--text-strong);
  margin-bottom:6px;
}
.hero-link-text{
  display:block;
  color:var(--muted);
  line-height:1.45;
}

/* Sections */
.section{ padding:30px 0 14px; }
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.section-title{
  font-size:clamp(24px, 3vw, 34px);
  margin:0;
}
.section-slab{
  background:linear-gradient(180deg, rgba(231,240,247,.70), rgba(255,255,255,.68));
  border-top:1px solid rgba(7,35,61,.06);
  border-bottom:1px solid rgba(7,35,61,.06);
}

/* Popular belt */
.popular-belt{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:8px 2px 14px;
  scroll-snap-type:x mandatory;
}
.popular-belt::-webkit-scrollbar{ height:8px; }
.popular-belt::-webkit-scrollbar-thumb{
  background:rgba(13,74,115,.24);
  border-radius:999px;
}
.pop-item{
  flex:0 0 auto;
  width:164px;
  scroll-snap-align:start;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:20px;
  padding:12px;
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pop-item:hover{
  transform:translateY(-3px);
  border-color:var(--line-strong);
  box-shadow:var(--shadow);
}
.pop-thumb{
  width:100%;
  aspect-ratio:1 / 1;
  border-radius:16px;
  overflow:hidden;
  margin-bottom:10px;
  background:linear-gradient(180deg, #f4f8fb, #e7f0f7);
  display:flex;
  align-items:center;
  justify-content:center;
}
.pop-thumb img{ width:100%; height:100%; object-fit:cover; }
.pop-name{
  font-size:14px;
  line-height:1.4;
  font-weight:700;
  color:var(--text-strong);
  margin-bottom:4px;
}
.pop-price{
  font-size:14px;
  font-weight:800;
  color:var(--brand-700);
}
.pop-unit{
  font-size:12px;
  color:var(--muted);
}

/* Grid */
.grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:18px; }
@media (max-width: 1024px){ .grid{ grid-template-columns:repeat(3, 1fr); } }
@media (max-width: 720px){ .grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 520px){ .grid{ grid-template-columns:1fr; } }

/* Cards */
.card{
  background:linear-gradient(180deg, #ffffff, #f7fbfd);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform:translateY(-3px);
  border-color:var(--line-strong);
  box-shadow:var(--shadow);
}
.card-body{ padding:18px; }
.card-title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.2;
  font-weight:800;
}
.cat-card .card-body{
  min-height:124px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.98)),
    url("brand/logo-icon.png") right 18px bottom -12px / 88px auto no-repeat;
}

/* Product cards */
.product-card .card-media{
  aspect-ratio:4 / 3;
  background:linear-gradient(180deg, #f6fafc, #e8f0f7);
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-card img{ width:100%; height:100%; object-fit:cover; }
.img-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  background:linear-gradient(180deg, #f6fafc, #e8f0f7);
}
.img-fallback.lg{
  height:420px;
  border-radius:16px;
  border:1px dashed var(--line-strong);
}
.placeholder-logo{
  width:68%;
  max-width:120px;
  height:auto;
  object-fit:contain;
  opacity:.94;
}
.placeholder-logo-lg{
  width:44%;
  max-width:220px;
}

/* Prices */
.price{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-top:6px;
  flex-wrap:wrap;
}
.price-uah{
  font-size:20px;
  font-weight:800;
  color:var(--brand-700);
}
.price-unit{
  color:var(--muted);
  font-size:13px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:11px 18px;
  border-radius:999px;
  border:1px solid var(--line-strong);
  background:#fff;
  color:var(--brand-900);
  cursor:pointer;
  font-weight:700;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.btn:hover{
  transform:translateY(-1px);
  border-color:var(--brand-500);
  box-shadow:var(--shadow-soft);
}
.btn-primary{
  background:linear-gradient(180deg, var(--brand-500), var(--brand-700));
  border-color:rgba(7,35,61,.18);
  color:#fff;
}
.btn-primary:hover{
  background:linear-gradient(180deg, #2487c0, var(--brand-700));
  color:#fff;
}
.btn-ghost{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
  color:#fff;
}
.btn-outline{
  background:#fff;
  border-color:var(--line-strong);
  color:var(--brand-900);
}
.btn-soft{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.22);
  color:#fff;
}
.hero .btn-ghost, .section .btn-ghost, main .btn-ghost{
  background:#fff;
  border-color:var(--line-strong);
  color:var(--brand-900);
}
.btn-block{ width:100%; }

/* Layouts */
.product-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
}
.product-gallery{
  padding:18px;
  background:linear-gradient(180deg, #ffffff, #f7fbfd);
}
.product-image{
  width:100%;
  height:auto;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
}
.product-info{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.add-to-order{
  display:flex;
  align-items:end;
  gap:12px;
  flex-wrap:wrap;
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--panel);
  box-shadow:var(--shadow-soft);
}
.add-to-order label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-weight:700;
}
.tags{
  padding:16px 18px;
  border-radius:var(--radius);
  background:var(--panel-alt);
  border:1px solid var(--line);
}
.tag-label{ font-weight:800; color:var(--text-strong); }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; }

/* Footer */
.site-footer{
  margin-top:48px;
  padding:28px 0;
  border-top:1px solid rgba(7,35,61,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.7), rgba(237,244,248,.94));
}
.footer-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:18px;
}
.footer-logo{
  width:180px;
  height:auto;
}
.footer-copy{
  max-width:360px;
  color:var(--muted);
  line-height:1.45;
}
.footer-link{
  color:var(--brand-700);
  font-weight:700;
}

/* Misc */
.muted{ color:var(--muted); }
.empty-state{
  text-align:center;
  padding:54px 0;
}
.pager{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:22px;
}
.pager-links{ display:flex; gap:10px; }
.searchbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.searchbar input,
input[type="text"],
input[type="email"],
input[type="number"],
textarea{
  padding:12px 14px;
  border:1px solid var(--line-strong);
  border-radius:14px;
  background:#fff;
  color:var(--text);
  min-width:180px;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.searchbar input{ min-width:260px; }
textarea{ resize:vertical; }
input:focus, textarea:focus{
  outline:none;
  border-color:var(--brand-500);
  box-shadow:0 0 0 4px rgba(29,123,176,.12);
}

/* Home tiles */
.home-banners{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.home-tile{
  position:relative;
  height:230px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(7,35,61,.08);
  background:#0f1318;
  box-shadow:var(--shadow);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-tile:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.24);
  box-shadow:0 18px 42px rgba(7,35,61,.18);
}
.tile-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}
.tile-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(4,29,52,.06), rgba(4,29,52,.58));
}
.tile-content{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  padding:18px;
}
.tile-kicker{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:var(--brand-900);
  border:1px solid rgba(255,255,255,.55);
  font-weight:800;
}

/* Home sections */
.value-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.value-card{
  padding:20px;
  border-radius:22px;
  background:linear-gradient(180deg, #ffffff, #f6fafc);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.value-title{
  font-size:20px;
  font-weight:800;
  margin-bottom:10px;
  color:var(--text-strong);
}
.feature-grid .card{ min-height:124px; }
.popular-wide .pop-item{ width:188px; }

/* Services and forms */
.h2{
  margin:0 0 14px;
  font-size:clamp(24px, 3vw, 34px);
  color:var(--text-strong);
}
.steps{
  margin:0;
  padding-left:20px;
  color:var(--text);
}
.steps li{
  margin:0 0 12px;
  line-height:1.6;
}
.faq{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
  margin:10px 0;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.faq summary{
  cursor:pointer;
  font-weight:800;
  color:var(--text-strong);
  outline:none;
}
.faq div{
  margin-top:12px;
  color:var(--muted);
  line-height:1.55;
}
.lead-form{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:22px;
  border-radius:22px;
  background:linear-gradient(180deg, #ffffff, #f7fbfd);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

/* Tables and order screens */
table{ width:100%; }
th{
  color:var(--brand-800);
  font-weight:800;
}
td,th{
  padding:10px 8px;
  border-bottom:1px solid var(--line);
  text-align:left;
}
.form-row{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
}
.form-row label{
  font-weight:700;
  color:var(--text-strong);
}
.order-layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:18px;
}
.order-table{
  width:100%;
  border-collapse:collapse;
}
.order-table th,
.order-table td{
  border-bottom:1px solid var(--line);
  padding:10px 8px;
  text-align:left;
}
.order-item-info{
  display:flex;
  align-items:center;
  gap:10px;
}
.order-item-media{
  width:54px;
  height:54px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
}
.order-item-media-placeholder{
  object-fit:contain;
  padding:6px;
}
.order-unit{
  font-size:12px;
}
.order-actions{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.order-summary{
  margin-bottom:12px;
}

/* Responsive */
@media (max-width: 980px){
  .header-wrap{
    flex-direction:column;
    align-items:stretch;
  }
  .brand{ justify-content:center; }
  .nav{ justify-content:center; }
  .hero-grid,
  .product-layout,
  .value-grid,
  .order-layout{
    grid-template-columns:1fr;
  }
  .hero-metrics{
    grid-template-columns:1fr;
  }
  .footer-wrap,
  .footer-brand{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (max-width: 820px){
  .home-banners,
  .grid-2{
    grid-template-columns:1fr;
  }
}
@media (max-width: 720px){
  .container{ padding:0 16px; }
  .brand-logo{ width:min(180px, 52vw); min-width:0; }
  .searchbar{
    width:100%;
    justify-content:stretch;
  }
  .searchbar input,
  .searchbar .btn{
    width:100%;
  }
  .hero{
    padding:30px 0 18px;
  }
  .home-hero-inner{
    padding:46px 16px;
  }
  .home-hero-shell{
    padding:0 16px 8px;
  }
  .hero-minimal-inner{
    padding:0 16px 8px;
  }
  .hero-minimal-card{
    padding:20px 16px;
  }
  .hero-stage{
    padding:24px 20px 20px;
  }
  .pager{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* Flat corners */
.nav a,
.hero-minimal-card,
.hero-stage,
.metric-card,
.hero-brand-block,
.hero-link-card,
.pop-item,
.card,
.btn,
.home-tile,
.tile-kicker,
.value-card,
.faq,
.lead-form,
.searchbar input,
input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  border-radius: 2px;
}

.pop-thumb,
.product-image,
.img-fallback.lg,
.order-item-media {
  border-radius: 0;
}
