:root {
  --red: #dd0909;
  --red-dark: #b80000;
  --navy: #1f2858;
  --ink: #13203c;
  --muted: #6f7a93;
  --line: #dfe3ee;
  --bg: #f5f6fa;
  --white: #fff;
  --panel: #ffffff;
  --soft: #f0f3fa;
  --shadow: 0 18px 50px rgba(18, 34, 76, .10);
  --radius: 20px;
  --max: 1360px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55
}

a {
  text-decoration: none;
  color: inherit
}

img {
  max-width: 100%;
  display: block
}

button,
input,
select,
textarea {
  font: inherit
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto
}

.topline {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: .92rem
}

.topline .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap
}

.topline-left,
.topline-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center
}

.highlight-link {
  color: var(--red);
  font-weight: 700
}

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 8px 24px rgba(16, 31, 77, .06)
}

.header-main {
  display: grid;
  grid-template-columns: 200px minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 14px 0
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 800;
  line-height: 1
}

.logo-title {
  font-size: 1.1rem
}

.logo-tags {
  display: flex;
  gap: 3px;
  margin-top: 6px
}

.logo-tag {
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  padding: 4px 10px
}

.logo-tag.red {
  background: var(--red)
}

.logo-tag.blue {
  background: #2f8ff0
}

.searchbar {
  display: flex;
  align-items: center;
  border: 2px solid #e4e7f0;
  border-radius: 0;
  overflow: hidden;
  height: 54px;
  background: #fff
}

.searchbar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 18px;
  background: transparent
}

.searchbar button {
  width: 62px;
  border: none;
  background: #fff;
  color: var(--red);
  font-size: 1.3rem;
  cursor: pointer
}

.header-icons {
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--line)
}

.h-icon {
  min-width: 100px;
  border-right: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 12px;
  font-size: .88rem;
  background: #fff
}

.h-icon span {
  display: block;
  color: var(--red);
  font-size: 1.45rem;
  margin-bottom: 4px
}

.category-bar {
  background: var(--red);
  color: #fff
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr)
}

.category-item {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, .18)
}

.category-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, .18)
}

.category-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px;
  min-height: 102px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center
}

.category-trigger .ico {
  font-size: 1.55rem;
  line-height: 1
}

.mega-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: min(1180px, 100vw - 40px);
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  grid-template-columns: 240px 1fr 1.2fr;
  z-index: 90
}

.category-item:hover .mega-panel,
.category-item.open .mega-panel {
  display: grid
}

.brand-rail {
  background: #fafbfe;
  border-right: 1px solid var(--line)
}

.brand-tile {
  height: 84px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  color: #3a5a97;
  font-size: 1.4rem;
  letter-spacing: -.03em
}

.brand-tile.small {
  font-size: 1rem
}

.mega-middle,
.mega-right {
  padding: 18px
}

.mega-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 800
}

.mega-scroll {
  max-height: 440px;
  overflow: auto;
  padding-right: 8px
}

.mega-scroll::-webkit-scrollbar {
  width: 8px
}

.mega-scroll::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 99px
}

.mega-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 8px;
  border-bottom: 1px solid #eef1f7
}

.mega-bullet {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #cad3e6;
  display: grid;
  place-items: center;
  color: #5470aa;
  font-weight: 700
}

.mega-right .featured-mini {
  display: grid;
  gap: 10px
}

.mega-product {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f7
}

.mega-thumb {
  width: 72px;
  height: 72px;
  background: linear-gradient(180deg, #f9fafc, #edf2fb);
  border: 1px solid #dfe5f0;
  display: grid;
  place-items: center
}

.icon-boiler,
.icon-stove,
.icon-gas,
.icon-radiator,
.icon-tank,
.icon-pump {
  position: relative
}

.icon-boiler {
  width: 40px;
  height: 52px;
  background: #1e2430;
  border-radius: 6px
}

.icon-boiler:before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffca3a, #ff6a00)
}

.icon-stove {
  width: 42px;
  height: 54px;
  background: #2d3340;
  border-radius: 8px
}

.icon-stove:before {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  top: 10px;
  bottom: 10px;
  background: #171b22;
  border-radius: 4px
}

.icon-stove:after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 18px;
  background: linear-gradient(180deg, #ffd166, #ff6000);
  border-radius: 4px
}

.icon-gas {
  width: 46px;
  height: 62px;
  background: #f8fafc;
  border: 2px solid #d8deea;
  border-radius: 10px
}

.icon-gas:before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  height: 10px;
  background: #202b4d;
  border-radius: 3px
}

.icon-radiator {
  width: 60px;
  height: 46px;
  display: flex;
  gap: 4px
}

.icon-radiator:before,
.icon-radiator:after {
  content: ''
}

.icon-radiator div,
.icon-radiator:before,
.icon-radiator:after {
  flex: 1;
  background: #f3f6fb;
  border: 1px solid #ccd4e5;
  border-radius: 5px
}

.icon-tank {
  width: 44px;
  height: 64px;
  background: #eceff5;
  border: 2px solid #d1d8e7;
  border-radius: 12px
}

.icon-tank:before {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  top: 6px;
  height: 6px;
  background: #d1d8e7;
  border-radius: 4px
}

.icon-pump {
  width: 56px;
  height: 34px;
  background: #56759b;
  border-radius: 17px
}

.icon-pump:before {
  content: '';
  position: absolute;
  left: -8px;
  top: 10px;
  width: 18px;
  height: 14px;
  background: #56759b;
  border-radius: 3px
}

.hero-banner {
  background: linear-gradient(90deg, #ededf0 0%, #f7f8fb 50%, #eceef3 100%)
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: center;
  min-height: 620px
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: .98;
  color: #2b3368;
  letter-spacing: -.05em;
  margin: 0 0 18px;
  font-weight: 800
}

.hero-copy p {
  font-size: 1.05rem;
  color: #111;
  margin: 0 0 26px
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: .22s ease;
  border-radius: 22px;
}

.btn-red {
  background: var(--red);
  color: #fff;
  border-radius: 22px;
}

.btn-light {
  background: #d9d9dd;
  color: #26325f
}

.btn:hover {
  transform: translateY(-2px)
}

.hero-scene {
  height: 540px;
  position: relative
}

.appliance {
  position: absolute;
  bottom: 30px;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .18))
}

.appliance.boiler {
  right: 280px;
  width: 170px;
  height: 340px;
  background: linear-gradient(180deg, #ffffff, #e9edf4);
  border-radius: 18px
}

.appliance.boiler:after {
  content: '';
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 64px;
  height: 70px;
  background: #1f232b;
  border-radius: 6px
}

.appliance.tank {
  right: 120px;
  width: 170px;
  height: 300px;
  background: linear-gradient(180deg, #222831, #0d1018);
  border-radius: 90px 90px 24px 24px
}

.appliance.tank:before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 52px;
  height: 14px;
  background: #111;
  border-radius: 7px
}

.appliance.stove {
  left: 240px;
  width: 130px;
  height: 250px;
  background: linear-gradient(180deg, #1d222b, #0f1218);
  border-radius: 12px
}

.appliance.stove:before {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  top: 34px;
  bottom: 54px;
  background: #14181f;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px #303846
}

.appliance.stove:after {
  content: '';
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 72px;
  height: 70px;
  background: linear-gradient(180deg, #ffd166, #ff6a00);
  border-radius: 8px
}

.appliance.rad {
  left: 40px;
  width: 180px;
  height: 220px;
  display: flex;
  gap: 7px;
  align-items: flex-end
}

.appliance.rad span {
  flex: 1;
  height: 200px;
  background: linear-gradient(180deg, #fff, #edf1f7);
  border: 2px solid #cfd8ea;
  border-radius: 12px
}

.appliance.outdoor {
  right: 10px;
  bottom: 18px;
  width: 180px;
  height: 150px;
  background: linear-gradient(180deg, #f5f7fa, #e3e8f1);
  border: 2px solid #d4dae5;
  border-radius: 10px
}

.appliance.outdoor:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border: 6px solid #1b243e;
  border-radius: 50%
}

.appliance.outdoor:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #1b243e;
  border-radius: 50%;
  box-shadow: -18px 0 0 #1b243e, 18px 0 0 #1b243e, 0 -18px 0 #1b243e, 0 18px 0 #1b243e
}

.appliance.pipes {
  right: -10px;
  bottom: 74px;
  width: 140px;
  height: 220px
}

.appliance.pipes:before,
.appliance.pipes:after {
  content: '';
  position: absolute;
  background: #db1111
}

.appliance.pipes:before {
  left: 0;
  bottom: 0;
  width: 120px;
  height: 26px;
  border-radius: 14px
}

.appliance.pipes:after {
  right: 18px;
  top: 0;
  width: 26px;
  height: 140px;
  border-radius: 14px
}

.section {
  padding: 58px 0
}

.section-title {
  font-size: 2.3rem;
  color: #26325f;
  margin: 0 0 10px;
  letter-spacing: -.04em
}

.section-kicker {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .83rem;
  letter-spacing: .1em;
  margin-bottom: 10px
}

.cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  border-radius: 18px
}

.info-card .round {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #fbe5e5;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px
}

.home-panels {
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 24px;
  align-items: start
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 20px
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line)
}

.brand-cell {
  height: 92px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  color: #3f5e9f;
  font-weight: 800;
  background: #fbfcff
}

.brand-cell:nth-child(3n) {
  border-right: none
}

.panel-scroll {
  max-height: 500px;
  overflow: auto;
  padding-right: 8px
}

.panel-scroll::-webkit-scrollbar {
  width: 8px
}

.panel-scroll::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 99px
}

.product-list-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line)
}

.product-list-item:first-child {
  border-top: none
}

.price-red {
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap
}

.page-head {
  background: linear-gradient(180deg, #fdfdff, #f0f3f9);
  border-bottom: 1px solid var(--line)
}

.page-head .container {
  padding: 28px 0
}

.breadcrumbs {
  font-size: .92rem;
  color: #7f8aa4;
  margin-bottom: 10px
}

.page-head h1 {
  margin: 0;
  font-size: 2.4rem;
  color: #26325f
}

.page-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 70ch
}

.shop-toolbar {
  display: grid;
  grid-template-columns: 1fr 240px 210px;
  gap: 14px;
  margin-bottom: 20px
}

.field {
  background: #fff;
  border: 1px solid #dfe5f0;
  padding: 15px 16px;
  border-radius: 14px;
  outline: none
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px
}

.filter-group {
  margin-top: 12px;
  display: grid;
  gap: 10px
}

.filter-chip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f9fd;
  border: 1px solid #e7edf7;
  cursor: pointer
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.product-media {
  height: 220px;
  background: linear-gradient(180deg, #fcfdff, #eef2f9);
  display: grid;
  place-items: center;
  position: relative
}

.badge-top {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--red);
  color: #fff;
  padding: 7px 11px;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 999px
}

.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1
}

.product-content h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #25315c
}

.meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #66728d;
  font-size: .87rem
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid #eef2f8
}

.product-footer .btn {
  padding: 11px 16px
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start
}

.gallery-card,
.detail-card,
.mini-panel,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow)
}

.gallery-card {
  padding: 28px
}

.gallery-stage {
  min-height: 520px;
  background: linear-gradient(180deg, #fdfdff, #eef2f9);
  border: 1px solid #e2e7f2;
  border-radius: 20px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden
}

.detail-card {
  padding: 28px
}

.detail-card h1 {
  margin: 8px 0 12px;
  font-size: 2.5rem;
  color: #26325f;
  letter-spacing: -.04em
}

.label-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 18px
}

.label-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5fb;
  border: 1px solid #dde6f2;
  color: #47577e;
  font-size: .87rem;
  font-weight: 600
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0
}

.feature-item {
  background: #f8faff;
  border: 1px solid #e6edf8;
  border-radius: 16px;
  padding: 14px
}

.var-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e0e7f2;
  border-radius: 18px;
  overflow: hidden
}

.var-table th,
.var-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #ebf0f7;
  text-align: left
}

.var-table th {
  background: #f7f9fd;
  color: #3b4d78
}

.var-table tr:last-child td {
  border-bottom: none
}

.cta-box {
  margin-top: 20px;
  padding: 18px;
  background: #fff5f5;
  border: 1px solid #ffd6d6;
  border-radius: 18px
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.form-grid {
  display: grid;
  gap: 14px
}

.contact-card {
  padding: 26px
}

.footer {
  background: #162142;
  color: #e6edfd;
  margin-top: 56px
}

.footer .container {
  padding: 42px 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .9fr;
  gap: 24px
}

.footer h4 {
  margin: 0 0 12px
}

.footer p,
.footer a {
  color: #cad6f3
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #b9c7ea
}

.notice {
  padding: 14px 16px;
  background: #fff5df;
  border: 1px solid #f5d69a;
  border-radius: 14px;
  color: #7a5600
}

.empty-state {
  padding: 28px;
  background: #fff;
  border: 1px dashed #cfd8eb;
  border-radius: 18px;
  color: #66728d;
  text-align: center
}

@media (max-width:1400px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .category-item:nth-child(n+5) .mega-panel {
    right: 0;
    left: auto
  }

  .grid-products,
  .cards4,
  .footer-grid,
  .brand-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .home-panels,
  .detail-layout,
  .catalog-layout,
  .split-2,
  .hero-wrap,
  .shop-toolbar,
  .header-main {
    grid-template-columns: 1fr
  }

  .header-icons {
    border-left: none;
    border-top: 1px solid var(--line)
  }

  .site-header {
    position: static
  }

  .mega-panel {
    position: static;
    width: 100%;
    grid-template-columns: 1fr
  }

  .category-item:hover .mega-panel {
    display: none
  }

  .category-item.open .mega-panel {
    display: grid
  }
}

@media (max-width:860px) {
  .container {
    width: min(var(--max), calc(100% - 20px))
  }

  .category-grid,
  .grid-products,
  .cards4,
  .brand-grid,
  .footer-grid,
  .feature-list {
    grid-template-columns: 1fr
  }

  .product-list-item,
  .mega-product {
    grid-template-columns: 64px 1fr
  }

  .price-red {
    grid-column: 2
  }

  .hero-wrap {
    min-height: auto;
    padding: 34px 0 40px
  }

  .hero-copy h1 {
    font-size: 2.9rem
  }

  .hero-scene {
    height: 390px
  }

  .appliance.boiler {
    right: 170px;
    width: 120px;
    height: 250px
  }

  .appliance.tank {
    right: 55px;
    width: 110px;
    height: 210px
  }

  .appliance.outdoor {
    width: 128px;
    height: 105px
  }

  .appliance.stove {
    left: 140px;
    width: 92px;
    height: 180px
  }

  .appliance.rad {
    left: 8px;
    width: 108px;
    height: 130px
  }

  .h-icon {
    min-width: auto
  }
}

/* Simplified header */
.simple-header {
  background: var(--red);
  box-shadow: 0 10px 30px rgba(16, 31, 77, .08)
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 84px
}

.simple-logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -.03em
}

.nav-contact {
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  transition: .22s ease;
  white-space: nowrap
}

.nav-contact:hover {
  background: #fff;
  color: var(--red)
}

.category-bar {
  background: transparent;
  color: #fff;
  flex: 1
}

.category-grid {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1
}

.category-item {
  border: none;
  flex: 0 1 auto
}

.category-item:last-child {
  border-right: none
}

.category-trigger {
  min-height: auto;
  padding: 14px 16px;
  border-radius: 14px;
  gap: 6px;
  font-size: 1rem;
  white-space: nowrap;
  transition: .2s ease
}

.category-trigger:hover {
  background: rgba(255, 255, 255, .12)
}

.category-trigger .ico {
  font-size: 1.25rem
}

.mega-panel {
  top: calc(100% + 12px);
  left: 0;
  width: min(1180px, calc(100vw - 32px));
  border-radius: 22px;
  overflow: hidden
}

.mega-right .featured-mini {
  gap: 0
}

.mega-product,
.product-list-item {
  grid-template-columns: 72px minmax(0, 1fr) auto
}

.product-list-item>div:nth-child(2),
.mega-product>div:nth-child(2) {
  min-width: 0
}

.product-list-item>div:nth-child(2) div:first-child,
.mega-product>div:nth-child(2) div:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

/* Better text cards */
.info-card {
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #fbfcff)
}

.info-card h3 {
  margin: 0 0 10px;
  color: #22305c;
  font-size: 1.35rem
}

.info-card p {
  margin: 0;
  color: #5f6b85
}

.info-card .round {
  background: #fff1f1;
  border: 1px solid #ffd5d5
}

/* Better brands */
.brand-grid {
  padding: 22px;
  gap: 16px;
  border-top: none;
  background: linear-gradient(180deg, #f9fbff, #f3f6fc)
}

.brand-cell {
  height: 118px;
  border: none;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(16, 31, 77, .07);
  font-size: 1.45rem;
  color: #2d4f8e;
  letter-spacing: -.03em;
  transition: .22s ease;
  padding: 12px;
  text-align: center
}

.brand-cell:nth-child(3n) {
  border-right: none
}

.brand-cell:hover {
  transform: translateY(-4px);
  color: var(--red);
  box-shadow: 0 22px 40px rgba(16, 31, 77, .12)
}

/* Responsive header */
@media (max-width:1250px) {
  .nav-row {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0
  }

  .simple-logo {
    width: 100%;
    text-align: center
  }

  .category-grid {
    justify-content: center;
    flex-wrap: wrap
  }

  .category-item:nth-child(n+5) .mega-panel {
    right: auto;
    left: 0
  }
}

@media (max-width:860px) {
  .nav-row {
    gap: 12px;
    min-height: auto
  }

  .simple-logo {
    font-size: 1.35rem
  }

  .category-grid {
    width: 100%
  }

  .category-item {
    flex: 1 1 calc(50% - 8px)
  }

  .category-trigger {
    padding: 12px 10px;
    font-size: .95rem
  }

  .nav-contact {
    width: 100%;
    text-align: center
  }
}

/* Header refinements */
.topline .container {
  justify-content: flex-start
}

.topline a {
  color: var(--ink)
}

.topline .highlight-link {
  color: var(--red)
}

@media (max-width:1400px) {
  .category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    flex: 1
  }

  .nav-row {
    align-items: flex-start;
    padding: 14px 0;
    gap: 18px
  }

  .simple-logo {
    padding-top: 6px
  }

  .nav-contact {
    margin-left: auto;
    margin-top: 2px
  }

  .mega-panel {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 18px;
    margin-top: 10px
  }

  .category-item:hover .mega-panel {
    display: none
  }

  .category-item.open .mega-panel {
    display: grid
  }
}

@media (max-width:860px) {
  .topline {
    display: block
  }

  .topline .container {
    padding: 10px 0
  }

  .topline-left {
    gap: 14px;
    font-size: .95rem;
    overflow: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 2px
  }

  .nav-row {
    display: block;
    padding: 12px 0 16px
  }

  .simple-logo {
    display: block;
    margin-bottom: 10px;
    font-size: 1.4rem
  }

  .category-grid {
    grid-template-columns: 1fr 1fr
  }

  .category-trigger {
    padding: 12px 10px;
    font-size: .95rem;
    border-radius: 12px
  }

  .nav-contact {
    display: inline-flex;
    margin-top: 10px
  }

  .hero-copy h1 {
    font-size: 2.4rem
  }
}

@media (max-width:560px) {
  .category-grid {
    grid-template-columns: 1fr
  }

  .nav-contact {
    width: 100%;
    justify-content: center
  }

  .topline-left {
    font-size: .9rem
  }
}


/* ===== final requested fixes ===== */
.nav-row {
  position: relative
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 46px;
}

.brand-rail {
  display: none !important;
}

/* desktop mega menu on same fixed place */
@media (min-width: 861px) {
  .category-grid {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: static;
  }

  .category-item {
    position: static !important;
    flex: 0 1 auto;
  }

  .category-trigger {
    min-height: auto;
    white-space: nowrap;
  }

  .mega-panel {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    top: 100% !important;
    margin-top: 0 !important;
    width: min(1180px, calc(100vw - 32px)) !important;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1.02fr) !important;
    border-radius: 22px;
    overflow: hidden;
    z-index: 120;
  }

  .category-item:hover .mega-panel {
    display: grid !important;
  }

  .category-item.open .mega-panel {
    display: none !important;
  }
}

/* mobile header + fullscreen menu */
@media (max-width: 860px) {
  .nav-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 74px;
    padding: 12px 0;
  }

  .simple-logo {
    width: auto !important;
    margin: 0 !important;
    text-align: left !important;
    flex: 1;
    font-size: 1.28rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-contact {
    display: none !important;
  }

  .category-grid {
    display: none !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 112px;
    bottom: 0;
    overflow: auto;
    background: #fff;
    padding: 14px;
    z-index: 110;
    box-shadow: 0 18px 40px rgba(16, 31, 77, .14);
  }

  .mobile-ready.menu-open .category-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 12px;
  }

  .category-item {
    width: 100%;
    border: none !important;
    position: relative !important;
  }

  .category-trigger {
    width: 100%;
    min-height: 64px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 18px;
    background: #f7f9fd;
    color: var(--ink);
    border: 1px solid #e4e9f3;
    white-space: normal;
  }

  .category-trigger .ico {
    font-size: 1.2rem;
    width: 26px;
    flex: 0 0 26px;
    text-align: center;
  }

  .category-trigger span:last-child {
    flex: 1;
    font-weight: 800;
  }

  .mega-panel {
    position: static !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 10px !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    border-radius: 18px;
    box-shadow: none;
  }

  .category-item:hover .mega-panel {
    display: none !important;
  }

  .category-item.open .mega-panel {
    display: grid !important;
  }

  .mega-middle,
  .mega-right {
    padding: 14px;
  }

  .mega-right {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .category-grid {
    top: 108px;
    padding: 12px;
  }

  .simple-logo {
    font-size: 1.18rem !important;
  }
}