@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  --theme: #e70013;
  --theme-dark: #c40010;
  --dark: #313237;
  --black: #040000;
  --text: #333333;
  --muted: #666666;
  --border: #d7d7d7;
  --bg: #ffffff;
  --bg-light: #f6f6f6;
  --bg-section: #f4f4f4;
  --max: 1432px;
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

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

.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top bar ── */
.header-top {
  background: var(--theme);
  color: #fff;
  font-size: 14px;
  font-weight: 300;
}

.header-top .layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}

.head-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  list-style: none;
}

.head-contact a { color: #fff; }
.head-contact a:hover { text-decoration: underline; }

.header-social {
  display: flex;
  gap: 16px;
  list-style: none;
}

.header-social a {
  color: #fff;
  font-size: 13px;
  opacity: .9;
}

.header-social a:hover { opacity: 1; }

/* ── Main header ── */
.site-header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-bottom .layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.logo img { height: 44px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.main-nav > li > a {
  display: block;
  padding: 0 22px;
  line-height: 40px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--black);
  transition: color .2s;
}

.main-nav > li > a:hover,
.main-nav > li > a.active { color: var(--theme); }

.nav-cta {
  background: var(--theme);
  color: #fff !important;
  padding: 10px 24px !important;
  line-height: 1.4 !important;
  border-radius: 4px;
  margin-left: 8px;
}

.nav-cta:hover { background: var(--theme-dark); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--black);
}

/* ── Hero banner ── */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-slides { position: relative; }

.hero-slide {
  display: none;
  position: relative;
  min-height: clamp(420px, 52vw, 620px);
  overflow: hidden;
}

.hero-slide.active { display: block; }

.hero-slide-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: 70% center;
  animation: heroZoom 8s ease forwards;
}

.hero-slide-bg--center {
  background-position: center center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.97) 0%,
    rgba(255,255,255,.88) 38%,
    rgba(255,255,255,.25) 62%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-slide-overlay--strong {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.92) 45%,
    rgba(255,255,255,.4) 70%,
    transparent 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 52vw, 620px);
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-text {
  max-width: 560px;
  position: relative;
}

.hero-text::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid var(--theme);
}

.hero-tag {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--theme);
  margin-bottom: 12px;
}

.hero-text h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.hero-text .btn-theme {
  margin-top: 28px;
  text-transform: uppercase;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}

.hero-dot.active { background: #fff; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
}

.hero-arrow:hover { background: var(--theme); border-color: var(--theme); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ── Section titles ── */
.section { padding: 80px 0; }

.section-label {
  display: block;
  font-size: 24px;
  color: var(--muted);
  text-transform: capitalize;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

h1.section-title {
  font-size: clamp(32px, 5vw, 60px);
}

.section-title strong { display: block; }

.section-desc {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
  margin-top: 16px;
}

.bg-light { background: var(--bg-light); }
.bg-section { background: var(--bg-section); }

/* ── Products showcase ── */
.products-section {
  padding: 72px 0 100px;
  background: var(--bg-section) url('/assets/images/contact-bg.jpg') center/cover no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(244,244,244,.92);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 60px;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-tab {
  font-size: 16px;
  color: var(--muted);
  border: 1px solid var(--muted);
  padding: 10px 28px;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}

.product-tab.active,
.product-tab:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.product-panel { display: none; }
.product-panel.active { display: block; }

.product-showcase {
  display: grid;
  grid-template-columns: 47% 1fr;
  gap: 48px;
  align-items: center;
}

.product-showcase img {
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

.product-showcase h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1.15;
}

.product-showcase p {
  font-size: 17px;
  opacity: .75;
  text-align: justify;
  margin-bottom: 12px;
}

.product-specs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.spec-pill {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
}

.spec-pill strong { color: var(--theme); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}

.btn-theme {
  background: var(--theme);
  color: #fff;
  margin-top: 32px;
}

.btn-theme:hover { background: var(--theme-dark); }

.btn-dark {
  background: #000;
  color: #fff;
}

.btn-dark:hover { background: var(--dark); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--theme);
  color: var(--theme);
}

.btn-outline:hover { background: var(--theme); color: #fff; }

/* ── About / stats ── */
.about-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text .section-title { margin-bottom: 20px; }

.about-text p { font-size: 17px; margin-bottom: 16px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  background: #fff;
  padding: 28px 24px;
  border-left: 4px solid var(--theme);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.stat-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--theme);
  line-height: 1;
}

.stat-num sup { font-size: 24px; }

.stat-label {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── Advantages ── */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.advantage-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: transform .2s;
}

.advantage-card:hover { transform: translateY(-4px); }

.advantage-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.advantage-body { padding: 22px; }

.advantage-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.advantage-body p { font-size: 15px; color: var(--muted); }

/* ── Spec table ── */
.spec-table-wrap { overflow-x: auto; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.spec-table th,
.spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.spec-table th {
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
}

.spec-table tr:nth-child(even) td { background: var(--bg-light); }

.spec-table .group-row td {
  background: var(--theme) !important;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ── Product page hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a1f 100%);
  color: #fff;
  padding: 60px 0;
}

.page-hero .layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero .subtitle {
  font-size: 18px;
  opacity: .85;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  margin: 20px 0;
}

.feature-list li {
  padding: 7px 0 7px 24px;
  position: relative;
  font-size: 15px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--theme);
  border-radius: 50%;
}

.page-hero img {
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.breadcrumb {
  padding: 14px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.breadcrumb a { color: var(--theme); }
.breadcrumb span { margin: 0 8px; }

/* ── Two column content ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.content-block h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.content-block p,
.content-block li {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 12px;
}

.content-block ul { padding-left: 20px; }

.flowchart-img {
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

/* ── Video ── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── CTA ── */
.cta-section {
  background: var(--theme);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.cta-section p {
  font-size: 18px;
  opacity: .9;
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-section .btn { background: #fff; color: var(--theme); }
.cta-section .btn:hover { background: var(--bg-light); }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(400px, 520px);
  gap: 56px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 24px; }

.contact-info p { margin-bottom: 12px; font-size: 17px; }

.contact-info a { color: var(--theme); font-weight: 500; }

.form-card {
  background: #fff;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}

.form-card--lead {
  border-top: 4px solid var(--theme);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

.form-card-head {
  padding: 32px 36px 12px;
  border-bottom: 1px solid var(--bg-light);
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.form-card-head h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.form-card-head p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.form-card h3 { margin-bottom: 20px; font-size: 22px; }

.lead-form {
  position: relative;
  padding: 28px 36px 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.lead-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.lead-form label:not(.agreement-row) {
  display: block;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.01em;
}

.lead-form .req { color: var(--theme); }

.lead-form input:not([type="checkbox"]),
.lead-form textarea,
.lead-form select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  background: #f3f3f3;
  color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #999;
}

.lead-form input:not([type="checkbox"]):hover,
.lead-form textarea:hover,
.lead-form select:hover {
  background: #ececec;
  border-color: #ddd;
}

.lead-form input:not([type="checkbox"]):focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  background: #fff;
  border-color: var(--theme);
  box-shadow: 0 0 0 3px rgba(231, 0, 19, 0.12);
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.lead-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group--agreement {
  margin-top: 8px;
  margin-bottom: 24px !important;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 6px;
  border: 1px solid #eee;
}

.agreement-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-weight: 400;
  margin: 0;
  user-select: none;
}

.agreement-check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.agreement-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 2px solid #bbb;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background-color .15s, border-color .15s;
}

.agreement-row input[type="checkbox"]:hover {
  border-color: var(--theme);
}

.agreement-row input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(231, 0, 19, 0.15);
}

.agreement-row input[type="checkbox"]:checked {
  background: var(--theme) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E") center / 12px 10px no-repeat;
  border-color: var(--theme);
}

.agreement-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  user-select: text;
}

.agreement-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--theme);
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  vertical-align: baseline;
}

.agreement-link:hover {
  color: var(--theme-dark);
}

.agreement-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.agreement-modal[hidden] {
  display: none;
}

.agreement-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.agreement-modal__box {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.agreement-modal__box h4 {
  margin: 0;
  padding: 20px 48px 16px 24px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.agreement-modal__body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.agreement-modal__body p {
  margin: 0 0 12px;
}

.agreement-modal__body a {
  color: var(--theme);
}

.agreement-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

.agreement-modal__close:hover {
  background: var(--border);
}

.honeypot {
  display: none !important;
}

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

.lead-form .btn-block {
  width: 100%;
  margin-top: 4px;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  border-radius: 6px;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(231, 0, 19, 0.25);
  transition: background .2s, box-shadow .2s, transform .15s;
}

.lead-form .btn-block:hover {
  box-shadow: 0 6px 20px rgba(231, 0, 19, 0.35);
  transform: translateY(-1px);
}

.lead-form .btn-block:active {
  transform: translateY(0);
}

.form-alert {
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 16px;
}

.form-alert--error {
  background: #fff0f0;
  color: #a00;
  border: 1px solid #f5c2c2;
}

.form-alert--success {
  background: #f0faf0;
  color: #1a6b1a;
  border: 1px solid #b8e0b8;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 20px 20px 28px; }
  .form-card-head { padding: 24px 20px 10px; }
  .form-group--agreement { padding: 14px; }
}

.form-card--cta {
  text-align: center;
  padding: 48px 32px;
}

.form-card--cta p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.form-card--cta .btn-theme {
  margin-top: 8px;
  font-size: 17px;
  padding: 16px 40px;
}

.form-card-note {
  margin-top: 24px !important;
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.5 !important;
}

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-logo img { height: 56px; margin-bottom: 16px; }

.footer-grid p { font-size: 14px; line-height: 1.7; }

.footer-grid ul { list-style: none; }

.footer-grid li { margin-bottom: 10px; }

.footer-grid a {
  color: #aaa;
  font-size: 14px;
  transition: color .2s;
}

.footer-grid a:hover { color: var(--theme); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* ── Floating sidebar ── */
.floating-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-btn {
  width: 90px;
  padding: 20px 8px;
  background: var(--theme);
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background .2s;
  position: relative;
}

.sidebar-btn:hover { background: var(--theme-dark); }

.sidebar-btn .sidebar-popup {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--theme);
  color: #fff;
  padding: 8px 14px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.sidebar-btn:hover .sidebar-popup { opacity: 1; }

/* ── Applications cards ── */
.app-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.app-card {
  background: #fff;
  padding: 28px 20px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border-top: 3px solid var(--theme);
}

.app-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.app-card p { font-size: 14px; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .product-showcase,
  .about-grid,
  .page-hero .layout,
  .two-col,
  .contact-grid { grid-template-columns: 1fr; }

  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .app-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-top .header-social { display: none; }

  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }

  .main-nav.open { display: flex; }

  .main-nav > li > a {
    padding: 12px 16px;
    line-height: 1.4;
  }

  .nav-cta { margin: 8px 16px; text-align: center; }

  .products-header { flex-direction: column; align-items: flex-start; }

  .advantages-grid,
  .stats-grid,
  .app-cards { grid-template-columns: 1fr; }

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

  .floating-sidebar { display: none; }

  .hero-arrow { display: none; }

  .hero-slide-overlay,
  .hero-slide-overlay--strong {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.85) 55%,
      rgba(255,255,255,.5) 100%
    );
  }

  .hero-slide-bg { background-position: center 30%; inset: 0; }

  .hero-slide-content { min-height: 480px; align-items: flex-end; padding-bottom: 56px; }

  .hero-text { max-width: 100%; }

  .section { padding: 56px 0; }
}
