:root {
  --bg: #fdfdfd;
  --bg-soft: #edf1f5;
  --bg-panel: rgba(255, 255, 255, 0.96);
  --text: #131519;
  --text-soft: #353638;
  --text-muted: rgba(53, 54, 56, 0.78);
  --line: rgba(23, 60, 126, 0.12);
  --blue: #5992cb;
  --blue-strong: #173c7e;
  --blue-mid: #5085c0;
  --radius: 16px;
  --shadow: 0 22px 60px rgba(23, 60, 126, 0.1);
  --shadow-soft: 0 10px 30px rgba(23, 60, 126, 0.08);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #4b4f58;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  overflow: visible;
  backdrop-filter: blur(12px);
  background: rgba(253, 253, 253, 0.96);
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 10px 28px rgba(19, 21, 25, 0.04);
}

.topbar-inner {
  min-height: 92px;
}

.topbar-live {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.brand img {
  width: 168px;
  height: auto;
}

.topbar-desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 20px;
}

.topbar-mobile-panel {
  display: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(19, 21, 25, 0.08);
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle span:nth-child(3) {
  top: 29px;
}

.topbar.menu-open .menu-toggle span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.topbar.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.menu-open .menu-toggle span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  padding: 8px 0;
  color: #4b4f58;
  font-size: 16px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--blue-mid);
}

.nav-links-right {
  justify-content: flex-end;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-links,
.mobile-lang-switcher {
  display: none;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(23, 60, 126, 0.12);
  color: #4b4f58;
  font-size: 13px;
  font-weight: 700;
}

.lang-link.active {
  background: #173c7e;
  color: #fff;
  border-color: #173c7e;
}

main {
  padding: 42px 0 88px;
}

.home-main {
  padding: 0 0 96px;
}

.live-hero {
  width: 100%;
}

.live-hero-stage {
  min-height: 560px;
  overflow: hidden;
  background: url("assets/shelly-hero-home.png") center center / cover no-repeat;
}

.live-hero-inner {
  display: flex;
  align-items: center;
  min-height: 560px;
}

.live-hero-copy {
  max-width: 560px;
  padding: 0;
  color: #fff;
}

.live-hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(44px, 5.6vw, 64px);
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 2px 18px rgba(19, 21, 25, 0.35);
}

.live-hero-copy p {
  margin: 0;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 14px rgba(19, 21, 25, 0.32);
}

.counter-band,
.dashboard-band,
.live-heading-block,
.video-shell,
.app-showcase,
.benefits-shell,
.compatibility-shell {
  margin-top: 28px;
}

.compatibility-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.counter-grid-live {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.counter-card-live {
  display: grid;
  grid-template-rows: minmax(54px, auto) auto;
  min-height: 156px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(23, 60, 126, 0.08);
  box-shadow: var(--shadow-soft);
}

.counter-card-live h3 {
  margin: 0;
  min-height: 54px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b4f58;
}

.counter-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--blue-mid);
}

.counter-value span,
.counter-value em {
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
}

.dashboard-link {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 90px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #5991cb 0%, #173c7e 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.dashboard-link img {
  width: 131px;
  height: auto;
}

.dashboard-link span {
  font-family: "Lexend", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.dashboard-sep {
  opacity: 0.72;
}

.live-heading-block {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Lexend", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue-mid);
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.88);
}

.live-heading-block h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.3;
}

.gradient-text {
  background: linear-gradient(90deg, #5992cb 0%, #173c7e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.center-copy {
  max-width: 940px;
  margin: 14px auto 0;
  text-align: center;
  color: #4b4f58;
  font-size: 18px;
}

.video-frame-live {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.video-frame-live video {
  display: block;
  width: 100%;
  height: auto;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: 24px;
}

.app-showcase-media,
.app-showcase-copy {
  border-radius: var(--radius);
}

.app-showcase-media img {
  width: 100%;
  height: auto;
}

.app-showcase-copy {
  padding: 6px 0 6px 0;
}

.app-showcase-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.3;
}

.live-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, max-content));
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}

.store-badge {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  justify-self: start;
}

.store-badge-cloud {
  height: 44px;
}

.benefits-shell {
  border-radius: var(--radius);
  background: #dbe9f6;
  padding: 28px;
}

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

.benefit-card-live {
  min-height: 100%;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.benefit-card-live img,
.benefit-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 24px;
  color: var(--blue-mid);
}

.benefit-card-live h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.benefit-card-live p {
  margin: 0;
  color: #4b4f58;
}

.live-heading-block-bottom {
  margin-top: 40px;
}

.compatibility-card {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 770px;
  padding: 0 56px;
  border-radius: var(--radius);
  background: url("assets/shelly-compatibility.png") center center / cover no-repeat;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compatibility-mobile-media {
  display: none;
}

.compatibility-mobile-media img {
  display: block;
  width: 100%;
  height: auto;
}

.compatibility-copy {
  width: min(560px, 100%);
  padding: 0;
  color: #fff;
}

.compatibility-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.22;
  color: #fff;
  text-shadow: 0 2px 18px rgba(19, 21, 25, 0.38);
}

.compatibility-copy p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 14px rgba(19, 21, 25, 0.32);
}

.hero,
.split-section,
.contact-layout,
.product-layout,
.contact-route-grid {
  display: grid;
  gap: 18px;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: stretch;
}

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

.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #173c7e 0%, #131519 100%);
  color: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 28px;
}

.footer-brand-block {
  max-width: 560px;
}

.footer-brand img {
  width: 132px;
  height: auto;
}

.footer-brand-block p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-copy {
  font-family: "Lexend", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.hero-copy,
.hero-visual,
.page-hero,
.content-panel,
.sticky-card,
.contact-form,
.contact-side,
.app-panel,
.contact-panel {
  padding: 28px;
}

.hero-copy h1,
.page-hero h1,
.content-panel h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.hero-copy p,
.page-hero p,
.content-panel p,
.contact-side p,
.contact-mini p,
.section-head p {
  color: var(--text-muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  font-weight: 800;
}

.button-row,
.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
  color: #fff;
}

.btn-secondary {
  border-color: rgba(23, 60, 126, 0.16);
  color: var(--blue-strong);
  background: #fff;
}

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

.hero-visual {
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.hero-media {
  min-height: 620px;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.hero-floating {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 320px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 32px rgba(19, 21, 25, 0.12);
}

.hero-floating strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-floating p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.stats-grid,
.info-row {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.single-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat,
.info-card {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.stat strong,
.info-card strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.stat span,
.info-card span {
  color: var(--text-muted);
  font-size: 14px;
}

.section,
.category-section {
  margin-top: 28px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.catalog-sidebar {
  position: sticky;
  top: 108px;
}

.catalog-sidebar-card,
.catalog-toolbar {
  padding: 22px;
}

.catalog-link-list {
  display: grid;
  gap: 10px;
}

.catalog-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(23, 60, 126, 0.1);
  background: rgba(89, 146, 203, 0.04);
  transition: 180ms ease;
}

.catalog-link span {
  color: #4b4f58;
  font-weight: 600;
  line-height: 1.35;
}

.catalog-link strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 800;
}

.catalog-link.active,
.catalog-link:hover {
  border-color: rgba(23, 60, 126, 0.18);
  background: rgba(89, 146, 203, 0.1);
  box-shadow: 0 10px 20px rgba(23, 60, 126, 0.06);
}

.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.catalog-search-panel {
  position: relative;
  margin-bottom: 16px;
  padding: 20px 22px;
}

.catalog-search-panel-compact {
  margin-bottom: 18px;
}

.catalog-search-head {
  margin-bottom: 14px;
}

.catalog-search-head h2 {
  margin: 6px 0 6px;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--text);
}

.catalog-search-head p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);
}

.catalog-search-form {
  position: relative;
}

.catalog-search-input-wrap {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 10px 0 18px;
  border: 1px solid rgba(23, 60, 126, 0.12);
  border-radius: 16px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-search-input-wrap:focus-within {
  border-color: rgba(23, 60, 126, 0.26);
  box-shadow: 0 12px 24px rgba(23, 60, 126, 0.06);
}

.catalog-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-strong);
}

.catalog-search-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.catalog-search-form input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  outline: none;
}

.catalog-search-form input[type="search"]::-webkit-search-decoration,
.catalog-search-form input[type="search"]::-webkit-search-cancel-button,
.catalog-search-form input[type="search"]::-webkit-search-results-button,
.catalog-search-form input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-strong) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.catalog-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 20;
  padding: 10px;
  border: 1px solid rgba(23, 60, 126, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 24px 48px rgba(19, 21, 25, 0.1);
}

.catalog-search-suggestion {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 180ms ease;
}

.catalog-search-suggestion strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.catalog-search-suggestion span {
  color: var(--text-muted);
  font-size: 13px;
}

.catalog-search-ean {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  margin-top: 4px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(89, 146, 203, 0.08);
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.catalog-search-suggestion:hover {
  background: rgba(89, 146, 203, 0.08);
}

.catalog-search-empty {
  padding: 12px 14px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.catalog-search-footer {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(23, 60, 126, 0.08);
}

.catalog-search-more {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 700;
}

.catalog-search-more:hover {
  background: rgba(89, 146, 203, 0.08);
}

.catalog-search-state {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 20px 22px;
}

.catalog-search-state h2 {
  margin: 6px 0;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.05;
  color: var(--text);
}

.catalog-search-state p {
  margin: 0;
  max-width: 64ch;
  color: var(--text-muted);
}

.catalog-toolbar h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--text);
}

.catalog-toolbar p {
  margin: 0;
  max-width: 720px;
  color: var(--text-muted);
}

.catalog-total {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(89, 146, 203, 0.08);
  color: var(--blue-strong);
  font-family: "Lexend", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--text-muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.load-more-btn {
  min-width: 220px;
  min-height: 62px;
  box-shadow: var(--shadow-soft);
  font-family: "Lexend", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 22px;
}

.feature-card img {
  width: 36px;
  height: 36px;
}

.feature-card h3,
.route-card h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.feature-card p,
.route-card p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-head.compact h2 {
  font-size: 28px;
}

.category-grid,
.product-grid {
  display: grid;
  gap: 14px;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(17, 22, 27, 0.05);
}

.category-card h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.category-card p {
  margin: 10px 0 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

.meta-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.meta-line strong {
  font-size: 28px;
  color: var(--blue-strong);
}

.meta-line span {
  color: var(--text-muted);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 24px rgba(17, 22, 27, 0.05);
}

.product-thumb {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid rgba(23, 60, 126, 0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(23, 60, 126, 0.14);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 180ms ease;
}

.product-thumb:hover img,
.product-thumb:active img {
  transform: scale(1.02);
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(23, 60, 126, 0.12);
  background: rgba(89, 146, 203, 0.08);
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 700;
}

.product-body h3 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.product-body h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: #4b4f58;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-body h3 a:hover {
  color: var(--blue-strong);
}

.alt-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.52) 0%, rgba(237,241,245,0.56) 100%);
  border-radius: 28px;
  padding: 28px 20px;
}

.split-section,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0;
}

.route-card {
  padding: 22px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.badge-row img {
  width: 160px;
  height: auto;
}

.page-main {
  padding-top: 0;
}

.page-hero {
  margin-top: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: var(--blue-strong);
}

.breadcrumbs-sep {
  opacity: 0.48;
}

.breadcrumbs-current {
  max-width: min(70ch, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 600;
}

.gallery {
  display: grid;
  gap: 14px;
  padding: 22px;
  min-width: 0;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.thumb-strip-below {
  order: 2;
}

.main-image {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(23, 60, 126, 0.08);
  background: #fff;
}

.main-image img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.thumb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(23, 60, 126, 0.1);
  background: #fff;
  transition: 180ms ease;
}

.thumb-link.active,
.thumb-link:hover {
  border-color: rgba(23, 60, 126, 0.22);
  box-shadow: 0 10px 20px rgba(23, 60, 126, 0.08);
}

.thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: 18px;
}

.product-layout-classic {
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
}

.product-summary {
  display: grid;
  gap: 14px;
  padding: 24px;
  min-width: 0;
}

.product-summary h1 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}

.product-cta-stack {
  margin-top: 0;
}

.product-docs {
  display: grid;
  gap: 10px;
}

.product-docs-panel {
  margin-top: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 18px rgba(19, 21, 25, 0.03);
}

.product-docs-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.product-docs-panel-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text);
}

.product-docs h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  color: #4b4f58;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.doc-button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(23, 60, 126, 0.12);
  background: #fff;
  transition: 180ms ease;
}

.doc-button:hover {
  border-color: rgba(23, 60, 126, 0.22);
  box-shadow: 0 12px 24px rgba(23, 60, 126, 0.08);
}

.doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(89, 146, 203, 0.1);
  color: var(--blue-strong);
}

.doc-icon--guide {
  background: rgba(89, 146, 203, 0.12);
  color: #173c7e;
}

.doc-icon--declaration {
  background: rgba(35, 154, 106, 0.12);
  color: #1f7a55;
}

.doc-icon--statement {
  background: rgba(214, 125, 49, 0.14);
  color: #a85412;
}

.doc-icon--certificate {
  background: rgba(127, 89, 193, 0.14);
  color: #6b4fb1;
}

.doc-icon--schema {
  background: rgba(20, 132, 166, 0.12);
  color: #0f6b87;
}

.doc-icon--spec {
  background: rgba(79, 95, 122, 0.12);
  color: #45566f;
}

.doc-icon--document {
  background: rgba(89, 146, 203, 0.1);
  color: var(--blue-strong);
}

.doc-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.doc-label {
  color: #4b4f58;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.product-docs-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.contact-mini {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-mini strong {
  display: block;
  margin-bottom: 8px;
}

.description-html {
  color: var(--text-soft);
  line-height: 1.58;
  overflow-wrap: anywhere;
  min-width: 0;
}

.product-inline-description {
  font-size: 15px;
}

.product-inline-description > :first-child {
  margin-top: 0 !important;
}

.description-html img {
  margin: 12px 0;
  border-radius: 14px;
}

.description-html h1,
.description-html h2,
.description-html h3 {
  letter-spacing: -0.03em;
}

.description-html h2 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.22;
}

.description-html h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  line-height: 1.28;
}

.description-html p,
.description-html ul,
.description-html ol {
  margin: 8px 0;
}

.description-html ul,
.description-html ol {
  padding-left: 20px;
}

.description-html li {
  margin: 0;
}

.description-html li p {
  margin: 0;
}

.description-html li + li {
  margin-top: 4px;
}

.description-html table {
  width: 100%;
  margin: 14px 0;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 1px solid rgba(23, 60, 126, 0.14) !important;
  background: #fff;
}

.description-html th,
.description-html td {
  padding: 9px 11px;
  border: 1px solid rgba(23, 60, 126, 0.14) !important;
  vertical-align: top;
  text-align: left;
  word-break: break-word;
}

.description-html th {
  background: rgba(89, 146, 203, 0.08);
  color: var(--text);
  font-weight: 700;
}

.description-html tr:nth-child(even) td {
  background: rgba(237, 241, 245, 0.45);
}

.product-bottom-meta {
  margin-top: 16px;
}

.product-bottom-meta .info-card {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 14px rgba(19, 21, 25, 0.025);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form label span {
  font-size: 14px;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(23, 60, 126, 0.14);
  background: #fff;
  font: inherit;
  color: var(--text);
}

.submit-btn {
  border: 0;
  cursor: pointer;
}

.contact-side h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.success-box {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(89, 146, 203, 0.1);
  color: var(--blue-strong);
  border: 1px solid rgba(23, 60, 126, 0.12);
  font-weight: 700;
}

.check-list {
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.8;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.timeline-item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(89, 146, 203, 0.12);
  color: var(--blue-strong);
}

.timeline-item span {
  padding-top: 5px;
  color: var(--text-soft);
  line-height: 1.65;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(89, 146, 203, 0.08);
  color: var(--blue-strong);
  border: 1px solid rgba(23, 60, 126, 0.12);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .topbar-live,
  .footer-inner {
    gap: 20px;
  }

  .topbar-right {
    gap: 14px;
  }

  .counter-grid-live,
  .benefits-grid-live {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compatibility-card {
    min-height: 560px;
    padding: 0 32px;
  }

  .app-showcase,
  .hero,
  .catalog-layout,
  .split-section,
  .contact-layout,
  .product-layout,
  .product-layout-classic,
  .contact-route-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .feature-grid,
  .category-grid,
  .product-grid,
  .single-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-search-state {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-image {
    min-height: 420px;
  }

  .doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 760px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  .shell {
    width: min(var(--max-width), calc(100% - 20px));
  }

  .topbar-inner {
    position: relative;
    min-height: 74px;
    padding: 14px 0;
  }

  .topbar-live {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    gap: 16px;
    align-items: center;
    justify-content: unset;
  }

  .brand img {
    width: 136px;
  }

  .topbar-desktop {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex: 0 0 auto;
    z-index: 60;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(23, 60, 126, 0.12);
    box-shadow: 0 10px 24px rgba(19, 21, 25, 0.08);
    color: #173c7e;
    appearance: none;
    -webkit-appearance: none;
  }

  .menu-toggle span {
    left: 13px;
    right: 13px;
    height: 3px;
    background: #173c7e;
    display: block;
  }

  .menu-toggle span:nth-child(1) {
    top: 16px;
  }

  .menu-toggle span:nth-child(2) {
    top: 24px;
  }

  .menu-toggle span:nth-child(3) {
    top: 32px;
  }

  .topbar.menu-open .menu-toggle span:nth-child(1) {
    top: 24px;
  }

  .topbar.menu-open .menu-toggle span:nth-child(3) {
    top: 24px;
  }

  .topbar-mobile-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    margin-left: 0;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(23, 60, 126, 0.08);
    box-shadow: 0 20px 40px rgba(19, 21, 25, 0.12);
    z-index: 40;
    display: none !important;
  }

  .topbar.menu-open .topbar-mobile-panel {
    display: flex !important;
  }

  .mobile-nav-links {
    display: flex !important;
    width: 100%;
    gap: 10px;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-nav-links a {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 14px;
    background: rgba(19, 21, 25, 0.04);
  }

  .mobile-lang-switcher {
    display: grid !important;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    justify-content: stretch;
    padding-top: 2px;
  }

  .mobile-lang-switcher .lang-link {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 14px;
    font-size: 15px;
    border-radius: 999px;
    justify-self: stretch;
  }

  .mobile-lang-switcher .lang-link.active {
    background: #173c7e;
    color: #fff;
    border-color: #173c7e;
    box-shadow: 0 10px 20px rgba(23, 60, 126, 0.18);
  }

  main {
    padding-top: 20px;
  }

  .live-hero-stage {
    min-height: 480px;
    background-position: 68% center;
  }

  .live-hero-inner {
    min-height: 480px;
    align-items: flex-end;
  }

  .live-hero-copy {
    max-width: 100%;
    padding: 28px 0 28px;
  }

  .live-hero-copy h1 {
    max-width: 8ch;
    margin-bottom: 14px;
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.05em;
  }

  .live-hero-copy p,
  .center-copy,
  .compatibility-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .counter-grid-live,
  .benefits-grid-live,
  .live-badge-grid {
    grid-template-columns: 1fr;
  }

  .counter-card-live {
    min-height: 0;
    padding: 18px;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .counter-card-live h3 {
    min-height: 0;
  }

  .counter-value span,
  .counter-value em {
    font-size: 28px;
  }

  .catalog-layout {
    gap: 16px;
  }

  .benefits-shell,
  .compatibility-card {
    padding: 0;
  }

  .app-showcase-copy {
    padding: 0;
  }

  .app-showcase {
    gap: 16px;
  }

  .app-showcase-copy h2 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.2;
  }

  .live-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-items: center;
  }

  .store-badge,
  .store-badge-cloud {
    height: 40px;
    justify-self: center;
  }

  .benefits-shell {
    padding: 18px;
  }

  .benefit-card-live {
    padding: 16px;
  }

  .benefit-card-live h3 {
    font-size: 20px;
  }

  .compatibility-card {
    display: block;
    min-height: 0;
    padding: 0;
    background: #fff;
    border-radius: 0;
  }

  .compatibility-mobile-media {
    display: block;
    width: 100%;
  }

  .compatibility-copy {
    width: 100%;
    position: static;
    height: auto;
    padding: 22px 20px 24px;
    display: block;
    text-align: left;
    color: var(--text);
  }

  .compatibility-copy h3 {
    margin: 0 0 10px;
    font-size: clamp(28px, 8.2vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    text-shadow: none;
  }

  .compatibility-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: var(--text-muted);
    text-shadow: none;
  }

  .section-kicker-light {
    color: var(--blue-strong);
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .footer-brand {
    display: inline-flex;
    justify-content: center;
  }

  .hero-copy,
  .hero-visual,
  .page-hero,
  .gallery,
  .product-summary,
  .content-panel,
  .sticky-card,
  .contact-form,
  .contact-side,
  .app-panel,
  .contact-panel {
    padding: 20px;
  }

  .stats-grid,
  .feature-grid,
  .category-grid,
  .product-grid,
  .single-row,
  .contact-form,
  .contact-route-grid {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar-card,
  .catalog-toolbar,
  .catalog-search-panel,
  .catalog-search-state {
    padding: 18px;
  }

  .catalog-search-input-wrap {
    grid-template-columns: 20px minmax(0, 1fr);
    padding: 14px 14px 14px 16px;
  }

  .search-submit {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
  }

  .product-docs-panel {
    padding: 18px 20px;
  }

  .product-thumb {
    min-height: 320px;
  }

  .product-thumb img {
    padding: 20px;
  }

  .product-body {
    gap: 14px;
    padding: 18px 18px 20px;
  }

  .product-chip {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 18px rgba(23, 60, 126, 0.08);
    touch-action: manipulation;
  }

  .product-body h3 {
    font-size: 20px;
    line-height: 1.32;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .description-html table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: normal;
  }

  .description-html tbody,
  .description-html thead,
  .description-html tfoot {
    display: table;
    width: max-content;
    min-width: 100%;
  }

  .description-html th,
  .description-html td {
    min-width: 112px;
    font-size: 14px;
    line-height: 1.4;
  }

  .doc-button {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    min-height: 54px;
  }

  .thumb-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .product-layout,
  .product-layout-classic {
    grid-template-columns: 1fr !important;
  }

  .product-layout > *,
  .product-layout-classic > * {
    min-width: 0;
  }

  .main-image img {
    min-height: 220px;
    max-height: 220px;
  }

  .main-image {
    min-height: 240px;
    padding: 14px;
  }

  .thumb-link {
    padding: 6px;
    border-radius: 10px;
  }

  .thumb-link img {
    max-height: 88px;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-floating {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .contact-hero-grid {
    gap: 16px;
    margin-top: 12px;
  }

  .home-main {
    padding-bottom: 0;
  }

  .compatibility-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .compatibility-shell .compatibility-card {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
  }
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 18px;
}

.contact-hero-panel,
.contact-visual-panel,
.contact-info-panel,
.contact-demo-panel {
  padding: 30px;
}

.contact-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.contact-hero-panel h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.contact-hero-panel p {
  margin: 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.contact-hero-panel .service-tags {
  margin-top: 4px;
}

.contact-context-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(89, 146, 203, 0.08);
  color: var(--blue-strong);
  border: 1px solid rgba(23, 60, 126, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.contact-visual-panel {
  overflow: hidden;
  min-height: 380px;
  padding: 0;
  background: #edf1f5;
}

.contact-visual-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.contact-main-grid-simple {
  grid-template-columns: 1fr;
}

.contact-info-panel h2,
.contact-demo-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
}

.contact-info-intro {
  margin: 10px 0 0;
  max-width: 46ch;
  color: var(--text-soft);
  line-height: 1.65;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 108px;
  padding: 18px 20px;
  border: 1px solid rgba(23, 60, 126, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(253, 253, 253, 0.98) 0%, rgba(237, 241, 245, 0.98) 100%);
  box-shadow: 0 16px 32px -30px rgba(19, 21, 25, 0.26);
}

.contact-info-card span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-info-card strong,
.contact-info-card a {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--blue-strong);
}

.contact-demo-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-demo-head p {
  margin: 0;
  max-width: 42ch;
  color: var(--text-soft);
  line-height: 1.72;
}

.contact-form-demo {
  gap: 14px;
}

.contact-form-demo input,
.contact-form-demo textarea {
  background: #ffffff;
}

.contact-form-demo .submit-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1120px) {
  .contact-hero-grid,
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .contact-hero-panel,
  .contact-visual-panel,
  .contact-info-panel,
  .contact-demo-panel {
    padding: 22px;
  }

  .contact-visual-panel {
    min-height: 280px;
    padding: 0;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-panel h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 10vw, 3.2rem);
    line-height: 0.98;
  }
}
@media (max-width: 760px) {
  .menu-toggle {
    margin-right: 16px !important;
  }
}
