:root {
  --navy: #0b2340;
  --navy2: #123a63;
  --blue: #177bd1;
  --green: #68b82e;
  --gold: #c59a4a;
  --gold2: #ead7a5;
  --cream: #f7f2e7;
  --white: #ffffff;
  --ink: #142033;
  --muted: #637083;
  --line: #e5e8ed;
  --shadow: 0 18px 45px rgba(11, 35, 64, 0.12);
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 15px;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar .contact {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.lang {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lang-button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 2px 5px;
}
.lang-button.active { color: var(--gold2); }

header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.hc-site-header {
  background: linear-gradient(90deg, #211b10 0%, #72531b 48%, #d7a52d 100%);
  border-bottom: 1px solid rgba(197, 154, 74, 0.42);
  box-shadow: 0 8px 24px rgba(11, 35, 64, 0.08);
}

.hc-navbar {
  background: transparent;
  padding: 0;
}

.hc-navbar .wrap {
  max-width: var(--max);
  width: 100%;
}

.hc-navbar .container-fluid {
  padding-left: 12px;
  padding-right: 12px;
  min-height: 72px;
}

.hc-navbar .navbar-brand {
  margin-right: 1rem;
  padding: 0;
}

.hc-navbar .brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 200px;
  height: 58px;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255,255,255,0.04);
  padding: 6px 8px;
}
.hc-navbar .brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(17, 24, 39, 0.16));
}

.hc-navbar .navbar-collapse {
  justify-content: flex-end;
}

.hc-navbar .language-wrap {
  display: flex;
  align-items: center;
  margin-left: 0.9rem;
  flex-shrink: 0;
}

.hc-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 22, 34, 0.26);
  box-shadow: 0 10px 24px rgba(4, 12, 23, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
}

.hc-lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1;
  min-width: 2.4rem;
  padding: 0.48rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hc-lang-btn:hover,
.hc-lang-btn:focus-visible {
  color: #fff;
  outline: none;
}

.hc-lang-btn.active {
  background: rgba(245, 207, 98, 0.12);
  color: #f5cf62;
  box-shadow: inset 0 0 0 1px rgba(245, 207, 98, 0.35), 0 0 0 1px rgba(245, 207, 98, 0.08);
}

.hc-navbar .navbar-nav {
  gap: 0.25rem;
}

.hc-navbar .nav-item {
  padding: 0;
}

.hc-navbar .nav-item .nav-link {
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.hc-navbar .nav-item .nav-link:hover,
.hc-navbar .nav-item .nav-link:focus,
.hc-navbar .nav-item.active > .nav-link {
  color: #f5cf62;
  background: rgba(255,255,255,0.05);
}

.hc-navbar .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  padding: 0.35rem 0.55rem;
}

.hc-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hc-navbar .navbar-collapse.show,
.hc-navbar .navbar-collapse.collapsing {
  padding: 0.75rem 0.5rem 0.5rem;
}

.hc-navbar .navbar-collapse .navbar-nav {
  background: rgba(11, 35, 64, 0.38);
  border-radius: 12px;
  padding: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 12px;
  font-weight: 850;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, #f5cf62, #d69c18);
  color: #0b2340;
  box-shadow: 0 10px 25px rgba(197, 154, 74, 0.3);
  border-color: #c48b11;
}

.btn-outline {
  border-color: rgba(255,255,255,.58);
  color: white;
  background: rgba(255,255,255,.06);
}

.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
  background: rgba(16, 32, 52, 0.96);
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 12px 22px 16px;
}
.mobile-menu a {
  display: block;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.hidden { display: none; }

.hero {
  background: linear-gradient(120deg, #06182e 0%, #08264a 58%, #102c55 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(234, 215, 165, .25);
  box-shadow: 0 0 0 60px rgba(234,215,165,.03), 0 0 0 120px rgba(104,184,46,.025);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
  min-height: 330px;
  padding: 20px 12px;
}
.eyebrow {
  font-weight: 850;
  color: #ead7a5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}
.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.04;
  margin: 12px 0 14px;
  letter-spacing: -0.04em;
}
.hero p { font-size: 17px; color: #dbe8f5; margin: 0 0 22px; line-height: 1.45; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(234,215,165,.55);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.30);
}
.hero-card .goldline {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--blue));
  border-radius: 99px;
  margin-bottom: 24px;
}
.hero-card h3 { font-size: 25px; margin: 0 0 10px; }
.hero-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.hero-card li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.13); display: flex; gap: 10px; }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 20px 18px;
  text-align: center;
  font-weight: 800;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }

section { padding: 46px 0; }
.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
}
.section-head h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.12;
  margin: 8px 0 12px;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.section-head p { color: var(--muted); font-size: 16px; }

.pillars {
  background: linear-gradient(135deg, #f5edda 0%, #efe1bd 52%, #f8f3e8 100%);
  border-top: 1px solid #e3d0a0;
  border-bottom: 1px solid #e3d0a0;
}
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fffdf8 0%, #f3e6c7 100%);
  border: 1px solid rgba(197,154,74,.58);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 18px 38px rgba(11,35,64,.12);
}
.pillar:before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--green), var(--gold));
}
.pillar .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
}
.pillar h3 { font-family: 'Manrope', sans-serif; font-size: 27px; margin: 18px 0 9px; color: var(--navy); }
.pillar p { color: #465567; margin-bottom: 18px; font-size: 16px; }

.brands { background: linear-gradient(180deg, #f8f4eb 0%, #efe6d2 55%, #f8f4eb 100%); }
.brands-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.brand-clean-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 170px;
  background: #ffffff;
  border: 1px solid #e7d8a4;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(11, 35, 64, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-clean-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11, 35, 64, 0.11);
}
.brand-clean-visual {
  width: 210px;
  min-width: 210px;
  height: 100%;
  background: #f5f7fa;
  border-right: 1px solid #efe3be;
}
.brand-clean-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-clean-body {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #fff 0%, #f9f5ef 100%);
}
.brand-clean-logo {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.brand-clean-logo img {
  display: block;
  max-height: 44px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}
.brand-clean-name {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.08rem, 1.3vw, 1.5rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 10px;
}
.brand-clean-copy {
  font-size: 14px;
  line-height: 1.5;
  color: #485b70;
  margin: 0 0 14px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.brand-more-btn {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  border-radius: 10px;
  width: auto;
  max-width: 100%;
}
.brand-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}
.brand-grid > .col-12 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}
.brand-pro {
  background: linear-gradient(145deg, #f8f4eb 0%, #edf3f9 100%);
  border: 1px solid #d7c08a;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(11,35,64,.10);
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  height: 100%;
  width: 100%;
}
.brand-pro-logo {
  width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
}
.brand-pro-photo {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: rgba(255,255,255,.36);
  border-radius: 0;
  display: block;
}
.brand-pro-name {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.5rem;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.brand-pro-copy {
  font-size: 13px;
  color: #465567;
  line-height: 1.42;
  margin: 0 0 0.75rem;
  flex: 1;
  min-height: 5.1em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.brand-more-btn {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  border-radius: 10px;
  width: auto;
  max-width: 100%;
}
.brand-modal-image {
  max-height: 220px;
  object-fit: cover;
}
.brand-modal-logo {
  max-height: 56px;
  object-fit: contain;
}
.brand-modal-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.quote-link {
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .brand-pro {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  .brand-clean-card {
    flex-direction: column;
    align-items: stretch;
  }
  .brand-clean-visual {
    width: 100%;
    min-width: 100%;
    height: 190px;
    border-right: 0;
    border-bottom: 1px solid #efe3be;
  }
  .brand-clean-body {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .brand-pro {
    min-height: 220px;
    padding: 10px;
  }

  .brand-pro-photo {
    height: 100px;
  }

  .brand-pro-name {
    min-height: 2.8em;
  }

  .brand-pro-copy {
    -webkit-line-clamp: 3;
    min-height: 4.3em;
  }
}

.page-hero {
  background: linear-gradient(120deg, #071c31 0%, #0d2949 55%, #123f66 100%);
  color: #fff;
  padding: 28px 0 26px;
}

.hero-surface {
  background: linear-gradient(120deg, #071c31 0%, #0d2949 55%, #123f66 100%);
}

.page-hero .container {
  max-width: 1100px;
}

.page-hero h1 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 700px;
}

.page-hero p {
  margin: 0;
  max-width: 700px;
  font-size: 17px;
  line-height: 1.5;
  color: #d4e4f4;
}

.service-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
  min-height: 180px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--navy);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .service-card {
    min-height: 0;
    padding: 16px 14px;
  }

  .page-hero {
    padding: 22px 0 20px;
  }
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
}

.contact-card,
.contact-form {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 30px;
  color: var(--navy);
}

.contact-card p {
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-form .form-label {
  font-weight: 700;
  color: var(--navy);
}

.contact-form .form-control {
  border-radius: 12px;
  border: 1px solid #dfe7f3;
  min-height: 48px;
  background: #fff;
}

.contact-form textarea.form-control {
  min-height: 140px;
}

.flows { background: var(--navy); color: #fff; }
.flows .section-head h2 { color: #fff; }
.flows .section-head p { color: #c7d4e3; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 28px;
  background: rgba(255,255,255,.06);
}
.flow h3 { font-size: 25px; margin: 0 0 8px; }
.flow p { color: #c7d4e3; min-height: 70px; }

.catalog-section { background: #f6f9fc; }
.hc-inverter-catalog { display: block; }
.hc-catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.hc-catalog-head h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--navy);
}
.hc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.hc-product-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(11, 35, 64, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  max-width: 225px;
  margin: 0 auto;
}
.hc-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(11, 35, 64, 0.12);
  border-color: rgba(23, 123, 209, 0.18);
}
.hc-product-image-wrap { position: relative; flex-shrink: 0; }
.hc-product-image-wrap img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  display: block;
}
.hc-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}
.hc-product-body {
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hc-product-category {
  display: inline-block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--blue);
}
.hc-product-title {
  margin: 8px 0 6px;
  font-size: 15px;
  line-height: 1.2;
  font-family: 'Manrope', sans-serif;
  color: var(--navy);
}
.hc-product-copy {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.hc-product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: auto;
}
.hc-product-price { font-size: 12px; font-weight: 900; color: var(--navy); }
.hc-product-link { color: var(--blue); font-weight: 800; font-size: 11px; }
.hc-product-quote-btn {
  width: 100%;
  margin-top: 10px;
  min-height: 34px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 8px;
}

.hc-product-detail {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: none;
}
.hc-product-detail.active { display: block; }
.hc-product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}
.hc-detail-images { display: grid; gap: 14px; }
.hc-detail-main-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.hc-detail-thumb-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hc-thumb {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
}
.hc-thumb.active { border-color: var(--gold); }
.hc-detail-info h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2vw, 34px);
  color: var(--navy);
}
.hc-detail-copy { color: var(--muted); margin-bottom: 18px; }
.hc-detail-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.hc-detail-features li {
  padding: 10px 12px;
  background: #f4f7fb;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.hc-back-link {
  margin-top: 18px;
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.product-detail-modal .modal-content {
  border-radius: 24px;
  border: none;
}

.product-detail-modal .modal-body {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
}

.product-detail-modal .hc-product-detail-grid {
  padding: 6px 6px 12px;
}

.product-detail-modal .hc-detail-info {
  padding: 8px 8px 8px 0;
}

.product-detail-modal .hc-detail-features li {
  background: #eef7ff;
}

@media (max-width: 980px) {
  .catalog-top-controls {
    grid-template-columns: 1fr;
  }

  .catalog-panel {
    padding: 14px 16px;
  }

  .catalog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hc-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    max-width: 210px;
    height: 70px;
  }

  .hc-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hc-product-card {
    min-height: 280px;
    max-width: 100%;
  }

  .hc-product-image-wrap img {
    height: 104px;
  }

  .hc-product-copy {
    -webkit-line-clamp: 2;
    min-height: 30px;
  }

  .catalog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .btn-outline-dark {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .catalog-hero {
    padding-top: 32px;
    padding-bottom: 26px;
  }

  .catalog-category-btn {
    padding: 10px 12px;
    font-size: 14px;
  }

  .product-detail-modal .modal-dialog {
    margin: 0.5rem;
  }

  .product-detail-modal .hc-product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-modal .hc-detail-main-image {
    height: 260px;
  }
}

.catalog-page .navlinks .active-link {
  color: var(--gold2);
}

.catalog-hero {
  background: linear-gradient(120deg, #071c31 0%, #0d2949 55%, #123f66 100%);
  color: #fff;
  padding: 42px 0 34px;
}

.catalog-hero .wrap {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.catalog-hero h1 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.catalog-hero p {
  margin: 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.5;
  color: #d4e4f4;
}

.catalog-section {
  background: #f5f8fc;
  padding-top: 26px;
}

.catalog-top-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  align-items: start;
}

.catalog-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
}

.compact-panel {
  min-height: 132px;
}

.catalog-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--navy);
}

.catalog-panel + .catalog-panel {
  margin-top: 18px;
}

.catalog-brand-list,
.catalog-category-list {
  display: grid;
  gap: 10px;
}

.catalog-brand-filter {
  display: grid;
  gap: 8px;
}

.catalog-brand-label {
  display: none !important;
}

.catalog-brand-select {
  width: 100%;
  border: 1px solid #dfe7f3;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  color: var(--navy);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(11, 35, 64, 0.05);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}

.catalog-brand-select option,
.catalog-brand-select option:checked {
  background: #fff;
  color: var(--navy);
}

.catalog-brand-select:focus,
.catalog-category-select:focus {
  outline: none;
  box-shadow: none;
  border-color: #dfe7f3;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.catalog-category-select {
  margin-top: 0;
}

.catalog-brand-preview {
  display: none !important;
}

.catalog-brand-preview-image {
  display: none !important;
}

.catalog-brand-preview-placeholder {
  display: none !important;
}

.catalog-brand-btn,
.catalog-category-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe7f3;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  color: var(--navy);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 35, 64, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.catalog-brand-btn:hover,
.catalog-category-btn:hover {
  transform: translateY(-1px);
  border-color: #bfd5f4;
  box-shadow: 0 10px 18px rgba(11, 35, 64, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.catalog-brand-btn span,
.catalog-category-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  min-width: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e7f0ff 0%, #d9ebff 100%);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.catalog-brand-btn.active,
.catalog-category-btn.active {
  background: transparent;
  color: var(--navy);
  border-color: #dfe7f3;
  box-shadow: none;
}

.catalog-brand-btn.active span,
.catalog-category-btn.active span {
  background: transparent;
  color: transparent;
  padding: 0;
  min-width: 0;
}

.catalog-content {
  display: grid;
  gap: 20px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 6px 12px;
  font-weight: 700;
  color: var(--navy);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-weight: 800;
  margin-left: auto;
}

.catalog-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.contact { background: #eaf4ff; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 36px; align-items: start; }
.contact-info {
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: 32px;
}
.contact-info h3 { font-size: 30px; margin: 0 0 12px; }
.contact-info p, .contact-info a { color: #dbe8f5; }
form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 13px; font-weight: 850; color: var(--navy); }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #ccd4de;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fff;
}
textarea { min-height: 118px; resize: vertical; }
.full { grid-column: 1 / -1; }
.note { font-size: 12px; color: var(--muted); margin: 12px 0; }

footer {
  background: #071a30;
  color: #c8d5e3;
  padding: 32px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
}
footer h4 { color: #fff; margin: 0 0 12px; }
footer a { display: block; margin: 7px 0; color: #c8d5e3; }
.legal {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hc-navbar .container-fluid { min-height: 64px; }
  .hc-navbar .brand { max-width: 170px; height: 54px; }
  .hero-grid, .contact-grid, .hc-product-detail-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid, .flow-grid { grid-template-columns: 1fr; }
  .brands-showcase { grid-template-columns: 1fr; }
  .hc-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar .wrap { align-items: flex-start; }
  .topbar .contact { gap: 7px; flex-direction: column; }
  .hc-navbar .container-fluid { min-height: 60px; }
  .hc-navbar .brand { height: 52px; max-width: 150px; }
  .hc-navbar .nav-link { padding: 0.7rem 0.8rem; }
  .hero-grid { padding-top: 24px; padding-bottom: 18px; min-height: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  section { padding: 42px 0; }
  .brands-showcase { grid-template-columns: 1fr; }
  .hc-product-grid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
.nav-item .nav-link {
    color: #ffffff;
}
