:root {
  --primary: #003b71;
  --primary-dark: #072a4a;
  --accent: #ffb000;
  --accent-hover: #ff9500;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-dark: #0d2238;
  --border: #d9e2ec;
  --text: #1f2937;
  --muted: #5b6777;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --container: 1240px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 80px 0; }
.section-light { background: #f2f6fb; }
.section-dark { background: linear-gradient(135deg, #072a4a 0%, #0d2238 100%); color: #fff; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.section-dark .section-title { color: #fff; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-link {
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.topbar-link:hover { color: #fff; }
.topbar-link svg { opacity: 0.8; }
.topbar-sep { color: rgba(255,255,255,0.3); }
.topbar-phone { font-weight: 600; color: #fff; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 226, 236, 0.6);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(0, 59, 113, 0.08); }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; color: var(--primary); }
.brand-text small { font-size: 12px; color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a {
  font-size: 14.5px; font-weight: 500; color: #334155;
  padding: 8px 0; position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}
.desktop-nav a:hover { color: var(--primary); }
.desktop-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transition: transform var(--transition);
}
.desktop-nav a:hover::after { transform: scaleX(1); }

/* Dropdown "Ещё" */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
  font-size: 14.5px; font-weight: 500; color: #334155;
  padding: 8px 0; background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color var(--transition);
}
.nav-dropdown__toggle:hover { color: var(--primary); }
.nav-dropdown__toggle svg { transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown__toggle svg { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  transform: none;
  min-width: 220px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover {
  background: rgba(0, 59, 113, 0.06);
  color: var(--primary);
}
.nav-dropdown__menu a::after { display: none; }
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown.is-open .nav-dropdown__toggle svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  font-weight: 700; font-size: 15px; color: var(--primary);
  white-space: nowrap;
}
.btn-accent-sm {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.btn-accent-sm:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  transition: all var(--transition);
  border: 2px solid transparent; cursor: pointer;
}
.btn-lg { min-height: 54px; padding: 0 32px; font-size: 16px; }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 16px rgba(255, 176, 0, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 176, 0, 0.4);
}
.btn-secondary { background: #fff; border-color: var(--border); color: var(--primary); }
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; border-color: rgba(255,255,255,0.6); color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1); border-color: #fff;
}
.btn-ghost {
  background: rgba(0,59,113,0.06); border-color: rgba(0,59,113,0.12); color: var(--primary);
}
.btn-ghost:hover { background: rgba(0,59,113,0.10); transform: translateY(-2px); }

/* ===== HERO NEW ===== */
.hero-new {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}
.hero-new__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 42, 74, 0.92) 0%, rgba(0, 59, 113, 0.85) 100%),
    url('/assets/photos/factory-aerial.webp') center/cover no-repeat;
  z-index: 0;
}
.hero-new__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-new__content { color: #fff; }
.hero-new__title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-new__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-new__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-new__visual { display: flex; justify-content: center; }
.hero-new__3d-frame {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.hero-new__3d-frame img {
  max-height: 400px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}
.hero-new__params {
  position: absolute;
  top: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-new__params span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  font-family: 'Inter', monospace;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: relative;
  z-index: 2;
  margin-top: -30px;
  border-radius: 16px 16px 0 0;
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.trust-bar__item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.trust-bar__item:last-child { border-right: none; }
.trust-bar__value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.trust-bar__unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.trust-bar__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.trust-bar__item--accent {
  background: linear-gradient(135deg, var(--primary) 0%, #0a4d8f 100%);
  border-radius: 0 16px 0 0;
}
.trust-bar__item--accent .trust-bar__value,
.trust-bar__item--accent .trust-bar__unit,
.trust-bar__item--accent .trust-bar__label { color: #fff; }

/* ===== WHY US ===== */
.why-us { background: var(--bg); }
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-us__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-us__card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.why-us__card:hover::after { transform: scaleX(1); }
.why-us__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.why-us__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: rgba(0, 59, 113, 0.06);
  border-radius: 14px;
}
.why-us__card h3 {
  font-size: 15px; font-weight: 800;
  color: var(--primary); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.why-us__card p { font-size: 14px; color: var(--muted); }

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card-new {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: all var(--transition);
}
.product-card-new:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-card-new__thumb {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #edf4fb 0%, #f7f9fc 100%);
  margin-bottom: 16px;
  display: grid; place-items: center;
}
.product-card-new__thumb img { height: 100%; width: 100%; object-fit: contain; object-position: center; display: block; }
.product-card-new h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.product-card-new__link {
  font-size: 14px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px;
}
.product-card-new__link:hover { color: var(--accent-hover); }

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
}
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.industry-card__img {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  transition: filter var(--transition);
}
.industry-card:hover .industry-card__img { filter: brightness(0.5); }
.industry-card__name {
  position: absolute;
  bottom: 12px; left: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.project-card__img { aspect-ratio: 16/9; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; }
.project-card__body { padding: 24px; }
.project-card__body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.project-card__body p { font-size: 14px; color: var(--muted); }

/* ===== CALCULATOR PROMO ===== */
.calculator-section { background: var(--bg); }
.calculator-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.calculator-preview__icon { margin-bottom: 20px; }
.calculator-preview h2 {
  font-size: 1.8rem; font-weight: 800; color: var(--primary);
  margin-bottom: 12px;
}
.calculator-preview p { color: var(--muted); max-width: 600px; margin: 0 auto 24px; }

/* ===== REQUEST FORM ===== */
.request-form-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 48px;
}
.request-form-block__title {
  font-size: 1.8rem; font-weight: 800; color: #fff;
  margin-bottom: 32px; text-align: center;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.request-form { display: flex; flex-direction: column; gap: 16px; }
.request-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.request-form .field-row input,
.request-form .field-row textarea {
  width: 100%; min-height: 52px; padding: 14px 18px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15); color: #000;
  font: inherit; font-size: 15px;
  transition: border-color var(--transition), background var(--transition);
}
.request-form .field-row input::placeholder,
.request-form .field-row textarea::placeholder { color: rgba(0,0,0,0.6); }
.request-form .field-row input:focus,
.request-form .field-row textarea:focus {
  outline: none; border-color: var(--accent);
  background: rgba(255,255,255,0.25);
  color: #000;
}
.request-form .field-row textarea { min-height: 100px; resize: vertical; }
.request-form__footer {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.request-form__footer .btn-primary {
  text-transform: uppercase; letter-spacing: 0.03em;
}
.request-form .checkbox-row { color: rgba(0,0,0,0.8); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.sst-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status {
  display: none; margin-top: 14px; padding: 14px 16px;
  border-radius: 10px; background: rgba(255,176,0,0.15);
  border: 1px solid rgba(255,176,0,0.3); color: #fff; font-weight: 600;
}
.form-status.is-visible { display: block; }

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.faq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all var(--transition);
}
.faq-card:hover { box-shadow: var(--shadow-soft); }
.faq-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.faq-card p { font-size: 14px; color: var(--muted); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 60px 0 24px;
}
.footer-grid-new {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.7); margin-bottom: 8px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-title { font-weight: 800; margin-bottom: 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand strong { font-size: 18px; }
.brand-mark--footer { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); display: grid; place-items: center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ===== MOBILE NAV ===== */
.mobile-nav-toggle {
  display: none;
  min-height: 44px; min-width: 44px;
  border-radius: 10px; border: 1px solid var(--border);
  background: #fff; color: var(--primary);
  cursor: pointer; align-items: center; justify-content: center;
}
.mobile-nav-panel { display: none; padding: 0 0 16px; }
.mobile-nav-panel.is-open { display: block; }
.mobile-nav-shell {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-soft); padding: 12px;
}
.mobile-nav-shell a {
  display: block; padding: 12px 14px; border-radius: 10px;
  font-weight: 500; color: var(--text); transition: background var(--transition);
}
.mobile-nav-shell a:hover { background: rgba(0,59,113,0.06); color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .topbar { display: none; }
  .brand-logo { height: 44px; }
  .hero-new__grid { grid-template-columns: 1fr; text-align: center; }
  .hero-new__content { order: 1; }
  .hero-new__visual { order: 2; }
  .hero-new__subtitle { margin: 0 auto 32px; }
  .hero-new__actions { justify-content: center; }
  .trust-bar__grid { grid-template-columns: repeat(3, 1fr); }
  .why-us__grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid-new { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .header-row { gap: 12px; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 13px; }
  .header-actions { gap: 8px; }
  .btn-accent-sm { font-size: 0.75rem; padding: 6px 12px; }
  .header-phone { font-size: 14px; }
}

@media (max-width: 820px) {
  .header-row { min-height: 60px; }
  .header-phone { display: none; }
  .btn-accent-sm { display: none; }
  .topbar { display: none; }
  .brand-logo { height: 40px; }
  .hero-new { padding: 80px 0 40px; min-height: auto; }
  .hero-new__3d-frame img { max-height: 260px; }
  .trust-bar { margin-top: 0; border-radius: 0; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__item--accent { border-radius: 0; grid-column: span 2; }
  .why-us__grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .request-form__row { grid-template-columns: 1fr; }
  .footer-grid-new { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 60px 0; }
  .calculator-preview { padding: 32px 20px; }
  .request-form-block { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .container { width: min(var(--container), calc(100% - 16px)); }
  .brand-logo { height: 36px; }
  .hero-new { padding: 60px 0 40px; min-height: auto; overflow-x: hidden; }
  .hero-new__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-new__title { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 12px; line-height: 1.2; word-wrap: break-word; }
  .hero-new__subtitle { font-size: 15px; margin-bottom: 20px; max-width: 100%; word-wrap: break-word; overflow-wrap: break-word; }
  .hero-new__actions { flex-direction: column; gap: 12px; width: 100%; }
  .hero-new__actions .btn { width: 100%; padding: 14px 16px; font-size: 14px; min-height: 44px; white-space: normal; text-align: center; }
  .hero-new__visual { margin-top: 20px; width: 100%; }
  .hero-new__3d-frame { padding: 12px; width: 100%; }
  .hero-new__3d-frame video { max-height: 280px; width: 100%; }
  .trust-bar__grid { grid-template-columns: 1fr; }
  .trust-bar__item--accent { grid-column: span 1; }
  .industries-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 24px; }
  .btn { padding: 0 16px; font-size: 14px; min-height: 44px; }
  .btn-lg { padding: 0 16px; font-size: 14px; min-height: 44px; }
}

/* ===== INNER PAGES (preserve compatibility) ===== */
.page-hero {
  padding: 56px 0 18px;
  background: radial-gradient(circle at 85% 15%, rgba(0, 59, 113, 0.12), transparent 24%), linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%);
}
.page-hero-card_OLD {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 36px;
}
.page-hero-card h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; margin-bottom: 12px; }
.page-hero-card p { color: var(--muted); font-size: 18px; max-width: 900px; }
.breadcrumbs { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.product-hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: start; }
.product-main-image {
  position: relative;
  aspect-ratio: 4/3; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #edf4fb 0%, #f7f9fc 100%);
  display: grid; place-items: center;
}
.product-main-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.product-thumb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.product-thumb-row img { aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); }
.product-thumb-row img.is-active-thumb { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,176,0,0.12); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tech-badge {
  display: inline-flex; min-height: 42px; align-items: center;
  padding: 0 14px; border-radius: var(--radius-pill);
  background: rgba(0,59,113,0.08); border: 1px solid rgba(0,59,113,0.12);
  color: var(--primary); font-weight: 700;
}
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.product-badge {
  display: inline-flex; min-height: 30px; align-items: center;
  padding: 0 10px; border-radius: var(--radius-pill);
  background: rgba(0,59,113,0.08); color: var(--primary);
  font-size: 12px; font-weight: 800; margin-bottom: 8px;
}
.product-content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.content-card, .product-gallery-card, .product-summary-card, .filter-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 24px; box-shadow: var(--shadow-soft);
}
.content-card h2, .content-card h3 { margin-top: 0; }
.content-card ul { padding-left: 20px; }
.compare-table-wrap {
  overflow-x: auto; background: #fff;
  border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-soft);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th {
  text-align: left; background: #edf4fb; color: var(--primary);
  font-size: 14px; padding: 16px 20px; font-weight: 700;
}
.compare-table td { padding: 16px 20px; border-top: 1px solid var(--border); }
.compare-table tbody tr:nth-child(even) { background: #fafcff; }

/* Catalog page */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px;
  border: 1px solid var(--border); background: #fff; color: var(--primary);
  border-radius: var(--radius-pill); padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer;
}
.pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: #fff; color: var(--muted); font-size: 14px;
}
.chip.active { background: rgba(0,59,113,0.08); border-color: rgba(0,59,113,0.25); color: var(--primary); font-weight: 700; }
.listing-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.listing-meta { color: var(--primary); font-weight: 800; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-soft); transition: var(--transition); }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.product-card[data-hidden="true"] { display: none; }
.product-thumb { border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #edf4fb, #f7f9fc); aspect-ratio: 4/3; display: grid; place-items: center; margin-bottom: 16px; }
.product-thumb img { height: 100%; object-fit: cover; }
.product-card h3 { font-size: 18px; margin-bottom: 8px; }
.product-card p { color: var(--muted); margin-bottom: 16px; }
.product-card a[data-product-link] { color: var(--primary); font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.catalog-empty-state { display: none; margin-top: 18px; background: #fff; border: 1px dashed var(--border); border-radius: 20px; padding: 24px; color: var(--muted); }
.catalog-empty-state.is-visible { display: block; }

/* Other inner pages */
.content-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.content-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.review-grid, .blog-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.surface-card, .blog-card, .review-card, .contact-card, .step-card, .form-card, .quote-card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-soft);
}
.surface-card h3, .blog-card h3, .review-card h3, .step-card h3, .form-card h2, .quote-card h3 { margin-top: 0; }
.surface-card p, .blog-card p, .review-card p, .step-card p, .quote-card p { color: var(--muted); }
.quote-card { background: linear-gradient(135deg, rgba(0,59,113,0.06), rgba(255,176,0,0.08)); }
.timeline { display: grid; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-soft); }
.timeline-num { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; }
.blog-card .meta, .review-meta, .card-kicker { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.form-card form { display: grid; gap: 16px; }
.field-row { display: grid; gap: 8px; }
.field-row label { font-weight: 700; }
.field-row input, .field-row textarea, .field-row select {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--border);
  background: #fff; font: inherit; color: var(--text);
  transition: border-color var(--transition);
}
.field-row input:focus, .field-row textarea:focus, .field-row select:focus {
  outline: none; border-color: var(--primary);
}
.field-row textarea { min-height: 140px; resize: vertical; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-full { width: 100%; margin-top: 20px; }
.page-meta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-meta-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--radius-pill); background: rgba(0,59,113,0.08); border: 1px solid rgba(0,59,113,0.12); color: var(--primary); font-weight: 700; font-size: 14px; }
.docs-list, .link-list, .contact-list { list-style: none; }
.docs-list li, .link-list li, .contact-list li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.docs-list li:last-child, .link-list li:last-child, .contact-list li:last-child { border-bottom: 0; }
.contact-list strong, .docs-list strong { display: block; color: var(--primary); }
.inline-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.blog-article { max-width: 860px; margin: 0 auto; }
.blog-article .surface-card { padding: 34px; }
.blog-article h2 { margin-top: 30px; }
.blog-article ul { padding-left: 22px; }

/* Calculator page */
.calculator-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.result-card { background: linear-gradient(180deg, #fff 0%, #f4f8fd 100%); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-soft); position: sticky; top: 90px; }
.result-card h3 { margin-top: 8px; margin-bottom: 10px; }
.result-lead { color: var(--muted); }
.result-card .docs-list span { color: var(--muted); display: block; }

/* Tool strip / quick actions */
.tool-strip, .quick-actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-soft); transition: var(--transition); }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tool-card strong { display: block; color: var(--primary); margin-bottom: 6px; font-size: 16px; }
.tool-card span { color: var(--muted); font-size: 14px; }

/* Cert cards */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-soft); }
.cert-card strong { display: block; margin-bottom: 6px; color: var(--primary); }
.cert-card span { color: var(--muted); }

/* Logo grid */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.client-logo { display: grid; place-items: center; min-height: 78px; width: 100%; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-soft); object-fit: contain; padding: 12px; }

/* Active nav */
.nav a.is-active { color: var(--primary); font-weight: 800; }

/* Noscript */
.noscript-banner { background: var(--accent); color: #fff; text-align: center; padding: 12px; font-weight: 600; }

/* Utility */
.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; }

/* Inner page responsive */
@media (max-width: 1180px) {
  .catalog-layout, .product-hero-grid, .product-content-grid { grid-template-columns: 1fr; }
  .product-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .content-grid-3, .content-grid-4, .metric-grid, .review-grid, .blog-grid, .form-grid, .contact-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-strip, .quick-actions-grid, .calculator-layout { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .product-grid, .cert-grid, .logo-grid { grid-template-columns: 1fr; }
  .content-grid-3, .content-grid-4, .metric-grid, .review-grid, .blog-grid, .form-grid, .contact-grid, .steps-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .page-hero-card { padding: 24px; }
  .result-card { position: static; }
}

/* ============================================
   NEW PAGES STYLES - Gallery, Reviews, Clients, Certificates, Process
   ============================================ */

/* Page Hero */
.page-hero { background: linear-gradient(135deg, var(--navy-900) 0%, #001d3a 100%); padding: 6rem 0 4rem; color: #fff; }
.page-hero-card { max-width: 800px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin: .5rem 0 1rem; line-height: 1.15; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 600px; line-height: 1.6; }
.page-meta-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.page-meta-chip { background: rgba(255,176,0,.15); border: 1px solid rgba(255,176,0,.3); color: var(--accent-400); padding: .35rem .75rem; border-radius: 4px; font-size: .85rem; font-weight: 500; }

/* Content Grid */
.content-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.surface-card { background: #fff; border: 1px solid var(--steel-200, #e2e8f0); border-radius: 8px; padding: 1.5rem; transition: box-shadow .2s; }
.surface-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.surface-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; color: var(--navy-900); }
.surface-card ul { padding-left: 1.2rem; margin-top: .5rem; }
.surface-card ul li { margin-bottom: .3rem; color: var(--steel-600, #475569); }

/* Table */
.table-responsive { overflow-x: auto; margin-top: 1rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: .75rem 1rem; border: 1px solid var(--steel-200, #e2e8f0); text-align: left; }
.data-table th { background: var(--navy-900); color: #fff; font-weight: 600; }
.data-table tr:nth-child(even) { background: #f8fafc; }

/* Check List */
.check-list { list-style: none; padding: 0; }
.check-list li { padding: .5rem 0 .5rem 2rem; position: relative; border-bottom: 1px solid var(--steel-100, #f1f5f9); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-500, #ffb000); font-weight: 700; font-size: 1.1rem; }

/* Info Cards */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }

/* Final CTA */
.final-cta { padding: 4rem 0; }
.final-cta-box { background: linear-gradient(135deg, var(--navy-900) 0%, #001d3a 100%); border-radius: 12px; padding: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; color: #fff; }
.final-cta-box h2 { font-size: 1.5rem; margin: .25rem 0; }
.final-cta-box p { color: rgba(255,255,255,.8); margin-top: .5rem; }
.final-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.gallery-item { border-radius: 8px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: .5rem .75rem; font-size: .85rem; color: var(--steel-600); background: #f8fafc; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }
.review-card { padding: 1.5rem; }
.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.review-header strong { display: block; font-size: 1rem; color: var(--navy-900); }
.review-header span { display: block; font-size: .8rem; color: var(--steel-500); }
.review-card blockquote { font-style: italic; color: var(--steel-700, #334155); border-left: 3px solid var(--accent-500, #ffb000); padding-left: 1rem; margin: 1rem 0; line-height: 1.5; }
.review-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.review-footer time { font-size: .8rem; color: var(--steel-400); }

/* Clients */
.clients-logos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.client-logo-card { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.5rem; background: #f8fafc; border-radius: 8px; border: 1px solid var(--steel-200, #e2e8f0); }
.client-logo-card img { height: 48px; width: auto; object-fit: contain; }
.client-logo-card span { font-size: .85rem; font-weight: 500; color: var(--steel-600); }
.companies-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.companies-list span { background: #f1f5f9; padding: .4rem .8rem; border-radius: 4px; font-size: .85rem; color: var(--steel-700, #334155); }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.project-card { background: #fff; border: 1px solid var(--steel-200, #e2e8f0); border-radius: 8px; padding: 1.5rem; transition: box-shadow .2s; }
.project-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.project-badge { display: inline-block; background: rgba(0,59,113,.1); color: var(--navy-900); font-size: .75rem; font-weight: 600; padding: .25rem .5rem; border-radius: 3px; margin-bottom: .75rem; text-transform: uppercase; }
.project-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; color: var(--navy-900); }
.project-card p { color: var(--steel-600); line-height: 1.5; font-size: .9rem; }
.project-location { display: block; margin-top: .75rem; font-size: .8rem; color: var(--steel-400); }

/* Certificates */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.cert-card h3 { color: var(--navy-900); margin-bottom: .5rem; }
.cert-card p { font-size: .9rem; color: var(--steel-600); line-height: 1.5; margin-bottom: 1rem; }
.cert-tags { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cert-tags span { background: rgba(0,59,113,.08); color: var(--navy-900); padding: .2rem .5rem; border-radius: 3px; font-size: .75rem; font-weight: 500; }
.cert-featured { border-left: 4px solid var(--accent-500, #ffb000); padding: 2rem; }
.cert-featured h3 { font-size: 1.3rem; }

/* Process Steps */
.process-steps { max-width: 800px; margin: 0 auto; }
.process-step { display: flex; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--steel-200, #e2e8f0); }
.process-step:last-child { border-bottom: none; }
.step-number { font-size: 2.5rem; font-weight: 800; color: var(--accent-500, #ffb000); line-height: 1; min-width: 60px; }
.step-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy-900); margin-bottom: .5rem; }
.step-content p { color: var(--steel-600); line-height: 1.6; }
.step-content ul { padding-left: 1.2rem; margin-top: .75rem; }
.step-content ul li { margin-bottom: .3rem; color: var(--steel-600); }

/* Stats Row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; text-align: center; padding: 2rem 0; }
.stat-item { display: flex; flex-direction: column; gap: .25rem; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--navy-900); }
.stat-label { font-size: .85rem; color: var(--steel-500); }

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.contact-office { padding: 2rem; }
.contact-office h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy-900); margin-bottom: 1rem; }
.contact-office p { margin-bottom: .5rem; color: var(--steel-600); }
.contact-office a { color: var(--navy-700, #003b71); font-weight: 500; }

/* TOP badge */
.top-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.2rem; font-weight: 700; color: var(--navy-900); }
.top-badge span { background: var(--accent-500, #ffb000); color: #fff; padding: .25rem .75rem; border-radius: 4px; font-size: .9rem; }

/* Section backgrounds */
.section-light { background: #f8fafc; }

/* Responsive */
@media (max-width: 768px) {
  .final-cta-box { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .final-actions { justify-content: center; }
  .process-step { flex-direction: column; gap: .75rem; }
  .step-number { font-size: 2rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 4rem 0 3rem; }
}

/* === ENRICHED PAGES STYLES === */
.page-hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; padding: 4rem 0 3rem; }
.page-hero-card { max-width: 700px; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin: 0.5rem 0; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; line-height: 1.6; }
.breadcrumbs { font-size: 0.85rem; opacity: 0.7; margin-bottom: 0.5rem; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs span { margin: 0 0.3rem; }
.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }

.content-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.surface-card { background: #fff; border: 1px solid var(--steel-100); border-radius: 12px; padding: 1.5rem; transition: box-shadow 0.2s, transform 0.2s; }
.surface-card:hover { box-shadow: 0 8px 24px rgba(0,59,113,0.08); transform: translateY(-2px); }
.surface-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.5rem; }
.surface-card p { font-size: 0.95rem; line-height: 1.5; color: var(--steel-600); }

.process-steps { display: flex; flex-direction: column; gap: 2rem; margin-top: 1.5rem; }
.process-step { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-number { flex-shrink: 0; width: 48px; height: 48px; background: var(--accent); color: var(--primary-dark); font-weight: 800; font-size: 1.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step-content h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 0.3rem; }
.step-content p { font-size: 0.95rem; line-height: 1.5; color: var(--steel-600); }

.check-list { list-style: none; padding: 0; margin-top: 0.5rem; }
.check-list li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; font-size: 0.9rem; color: var(--steel-600); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-item { padding: 1rem; }
.stat-value { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { display: block; font-size: 0.85rem; color: var(--steel-500); margin-top: 0.3rem; }

.section-light { background: var(--steel-50); }
.section { padding: 3rem 0; }
.section h2 { font-size: 1.8rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.5rem; }
.section h3 { font-size: 1.2rem; color: var(--primary); }

.table-responsive { overflow-x: auto; margin-top: 1rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td { padding: 0.75rem 1rem; border: 1px solid var(--steel-100); text-align: left; }
.data-table th { background: var(--primary); color: #fff; font-weight: 600; }
.data-table tr:nth-child(even) { background: var(--steel-50); }

.final-cta { background: var(--primary-dark); color: #fff; padding: 3rem 0; }
.final-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.final-cta h2 { color: #fff; margin-bottom: 0.3rem; }
.final-cta p { opacity: 0.85; }
.final-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.review-date { font-size: 0.8rem; color: var(--steel-400); }

.request-form .form-group { margin-bottom: 1.25rem; }
.request-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--primary-dark); }
.request-form input, .request-form textarea, .request-form select { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--steel-200); border-radius: 8px; font-size: 0.95rem; transition: border-color 0.2s; }
.request-form input:focus, .request-form textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(0,59,113,0.1); }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; font-size: 0.85rem; cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: auto; margin-top: 2px; }

.cert-card img { transition: transform 0.3s; }
.cert-card:hover img { transform: scale(1.02); }

@media (max-width: 768px) {
  .page-hero h1 { font-size: 1.8rem; }
  .final-cta-box { flex-direction: column; text-align: center; }
  .final-actions { justify-content: center; }
  .process-step { flex-direction: column; gap: 0.75rem; }
  .content-grid-3 { grid-template-columns: 1fr; }
}

/* === FIX: Dark hero headers for all inner pages === */
.page-hero {
}
.page-hero-card {
}
.page-hero-card h1 {
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero-card p {
}
.breadcrumbs, .breadcrumbs a {
}
.eyebrow {
}

/* === FIX: Dark hero headers for all inner pages === */
.page-hero {
  background: linear-gradient(135deg, #072a4a 0%, #003b71 100%) !important;
  color: #fff !important;
  padding: 5rem 0 3rem !important;
}
.page-hero-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
}
.page-hero-card h1 {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero-card p {
  color: rgba(255,255,255,0.9) !important;
}
.breadcrumbs, .breadcrumbs a {
  color: rgba(255,255,255,0.7) !important;
}
.eyebrow {
  color: var(--accent) !important;
}
/* Fix for form contrast on request page */
.section .request-form label {
  color: var(--primary-dark);
  font-weight: 600;
}

.section .request-form input,
.section .request-form textarea,
.section .request-form select {
  background-color: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.section .request-form input::placeholder,
.section .request-form textarea::placeholder {
  color: var(--muted);
}

.section .request-form input:focus,
.section .request-form textarea:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 59, 113, 0.1);
}

.section .checkbox-label {
  color: var(--text);
}

.section .checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.section .checkbox-label a:hover {
  color: var(--accent);
}

/* Gallery production replacement photos */
.gallery-item img[src*="/assets/img/gallery-"] { object-fit: contain; background: #eef2f5; }

/* Navigation: show all items without dropdown */
.nav.desktop-nav {
  flex-wrap: wrap;
  gap: 4px 16px;
}
.nav.desktop-nav a {
  white-space: nowrap;
  font-size: 0.85rem;
}

/* === Stable sticky header and anchor navigation === */
:root {
  --site-header-offset: 84px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-offset);
}
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
  will-change: box-shadow;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.985);
  border-bottom-color: rgba(0, 59, 113, 0.16);
  box-shadow: 0 8px 28px rgba(0, 59, 113, 0.14);
}
[id] {
  scroll-margin-top: var(--site-header-offset);
}
@media (max-width: 820px) {
  :root { --site-header-offset: 68px; }
}

/* === Header call-back action: always fit its full label === */
.header-actions .btn-accent-sm {
  flex: 0 0 auto;
  min-width: 172px;
  min-height: 40px;
  padding: 10px 18px;
  font-size: 12px;
  line-height: 1.2;
  overflow: visible;
}
@media (max-width: 1180px) {
  .header-actions .btn-accent-sm {
    min-width: 164px;
    padding: 9px 16px;
    font-size: 11.5px;
  }
}
@media (max-width: 820px) {
  .header-actions .btn-accent-sm { display: none; }
}
@media (max-width: 1200px) {
  .header-email { display: none; }
}

/* ===== SST UI UPDATE 2026-08-18: savings grid, form contrast, product lightbox ===== */
.savings-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#requestForm .request-form-block__title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

#requestForm .request-form .checkbox-row,
#requestForm .request-form .checkbox-row span {
  color: #ffffff;
  opacity: 1;
}

#requestForm .request-form .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--accent);
}

#requestForm .form-status {
  color: #ffffff;
}

.product-main-image {
  cursor: zoom-in;
}

.product-main-image:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
  touch-action: none;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-columns: minmax(56px, 96px) minmax(0, 1fr) minmax(56px, 96px);
  align-items: center;
  gap: 12px;
  padding: 72px 24px 48px;
  background: rgba(3, 15, 27, 0.96);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1), visibility 180ms;
  overscroll-behavior: contain;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-lightbox__figure {
  min-width: 0;
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 120px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 12px;
}

.product-lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border-radius: 12px;
  background: #f1f6fb;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  user-select: none;
  -webkit-user-drag: none;
}

.product-lightbox__caption {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.product-lightbox__close,
.product-lightbox__nav {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.product-lightbox__close:hover,
.product-lightbox__nav:hover {
  background: rgba(255, 176, 0, 0.9);
  color: #072a4a;
}

.product-lightbox__close:active,
.product-lightbox__nav:active {
  transform: scale(0.97);
}

.product-lightbox__close:focus-visible,
.product-lightbox__nav:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.product-lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.product-lightbox__nav {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  justify-self: center;
  font-size: 32px;
  line-height: 1;
}

.product-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  min-width: 72px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .savings-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .savings-grid--three {
    grid-template-columns: 1fr;
  }

  #requestForm .request-form__footer {
    align-items: flex-start;
  }

  .product-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 68px 12px 58px;
  }

  .product-lightbox__figure {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: calc(100vh - 150px);
  }

  .product-lightbox__image {
    max-height: calc(100vh - 210px);
    border-radius: 8px;
  }

  .product-lightbox__caption {
    font-size: 12px;
    padding: 0 8px;
  }

  .product-lightbox__nav {
    grid-row: 2;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .product-lightbox__nav--prev {
    justify-self: end;
  }

  .product-lightbox__nav--next {
    justify-self: start;
  }

  .product-lightbox__close {
    top: 10px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-lightbox,
  .product-lightbox__close,
  .product-lightbox__nav {
    transition: none;
  }
}

/* ===== Production gallery fullscreen affordance ===== */
#mainContent .gallery-item img[role="button"] {
  cursor: zoom-in;
}

#mainContent .gallery-item img[role="button"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* ===== SST NEWS SYSTEM ===== */
.news-home-section {
  background: radial-gradient(circle at 92% 10%, rgba(255,176,0,.13), transparent 25%), linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
}
.news-archive {
  min-height: 65vh;
  background: radial-gradient(circle at 92% 8%, rgba(255,176,0,.11), transparent 24%), linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
}
.news-archive .breadcrumbs,
.news-archive .breadcrumbs a,
.news-article .breadcrumbs,
.news-article .breadcrumbs a { color: var(--muted) !important; }
.news-archive .breadcrumbs span,
.news-article .breadcrumbs span { color: var(--muted); }
.news-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.news-section-head .section-title { margin-bottom: 0; }
.news-section-head__copy { max-width: 720px; }
.news-section-head__copy p { color: var(--muted); margin: 10px 0 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card {
  min-width: 0; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(0,59,113,.24); box-shadow: 0 20px 46px rgba(0,45,86,.14); }
.news-card__image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe9f0; }
.news-card__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.news-card:hover .news-card__image img { transform: scale(1.035); }
.news-card__image time {
  position: absolute; left: 16px; bottom: 14px; padding: 7px 10px; color: #fff;
  background: rgba(0,41,79,.88); border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em; backdrop-filter: blur(5px);
}
.news-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.news-card__body h2, .news-card__body h3 { margin: 0 0 12px; color: var(--primary); font-size: 1.18rem; line-height: 1.28; }
.news-card__body h2 a, .news-card__body h3 a { color: inherit; text-decoration: none; }
.news-card__body p { margin: 0 0 20px; color: var(--muted); font-size: .94rem; line-height: 1.62; }
.news-card__link { margin-top: auto; color: var(--primary); font-weight: 800; font-size: .9rem; text-decoration: none; }
.news-card__link:hover { color: #005da8; }
.news-empty { grid-column: 1 / -1; padding: 44px 24px; text-align: center; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 20px; }
.news-page-heading { margin: 20px 0 34px; max-width: 760px; }
.news-page-heading h1 { margin: 0 0 12px; color: var(--primary); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; }
.news-page-heading p { margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.6; }
.news-grid--archive { align-items: stretch; }
.news-article { background: #f5f8fa; }
.news-article__container { max-width: 980px; }
.news-article .breadcrumbs { margin-bottom: 30px; }
.news-article__header { max-width: 860px; margin-bottom: 28px; }
.news-article__header time { display: inline-flex; padding: 7px 11px; margin-bottom: 16px; color: var(--primary); background: rgba(255,176,0,.18); border-radius: 999px; font-size: .84rem; font-weight: 800; }
.news-article__header h1 { margin: 0 0 18px; color: var(--primary); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.03em; }
.news-article__lead { margin: 0; color: #42566b; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.news-article__cover { margin: 0 0 34px; overflow: hidden; aspect-ratio: 16 / 9; background: #dce7ee; border-radius: 24px; box-shadow: var(--shadow-soft); }
.news-article__cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.news-article__content { max-width: 800px; margin: 0 auto; padding: clamp(24px, 5vw, 52px); background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-soft); }
.news-article__content p { margin: 0 0 1.35em; color: #263c52; font-size: 1.04rem; line-height: 1.82; }
.news-article__content p:last-child { margin-bottom: 0; }
.news-article__content h2, .news-article__content h3 { color: var(--primary); line-height: 1.25; }
.news-article__content h2 { margin: 1.7em 0 .7em; font-size: clamp(1.45rem, 3vw, 2rem); }
.news-article__content h3 { margin: 1.5em 0 .6em; font-size: 1.25rem; }
.news-article__actions { max-width: 800px; margin: 26px auto 0; display: flex; justify-content: space-between; gap: 14px; }
@media (max-width: 1200px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-home-section .news-card:last-child:nth-child(3) { grid-column: 1 / -1; max-width: calc(50% - 12px); justify-self: center; }
}
@media (max-width: 820px) {
  .news-section-head { align-items: flex-start; flex-direction: column; }
  .news-section-head .btn { width: 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .news-home-section .news-card:last-child:nth-child(3) { grid-column: auto; max-width: none; }
  .news-card__body { padding: 21px; }
  .news-article__cover { border-radius: 18px; }
  .news-article__content { border-radius: 18px; padding: 24px 19px; }
  .news-article__actions { flex-direction: column; }
  .news-article__actions .btn { width: 100%; }
}

/* SST mobile fix: applications cards on the home page */
@media (max-width: 820px) {
  #applications .container > div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    width: 100%;
  }

  #applications .container > div[style*="grid-template-columns:repeat(3,1fr)"] > article {
    min-width: 0;
    padding: 1rem 0.75rem !important;
  }
}

@media (max-width: 420px) {
  #applications .container > div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* Улучшенное сообщение об успехе */
.form-status.is-success {
  background: rgba(34, 197, 94, 0.2) !important;
  border-color: rgba(34, 197, 94, 0.5) !important;
  color: #22c55e !important;
  font-size: 16px !important;
  padding: 16px 20px !important;
  text-align: center !important;
  animation: slideIn 0.3s ease-out;
}

.form-status.is-error {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  color: #ef4444 !important;
  font-size: 16px !important;
  padding: 16px 20px !important;
  text-align: center !important;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE NAV — full width slide-in ===== */
@media (max-width: 1180px) {
  /* Overlay */
  .mobile-nav-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: rgba(15, 25, 35, 0.6);
    backdrop-filter: blur(4px);
  }
  .mobile-nav-panel.is-open {
    display: block;
    animation: fadeIn 0.2s ease;
  }
  /* Panel — full width, slide from right */
  .mobile-nav-panel .mobile-nav-shell {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.25);
    padding: 0 0 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    animation: slideInRight 0.25s ease forwards;
    border-radius: 0;
  }
  @keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  /* Links */
  .mobile-nav-shell a {
    display: block;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
  }
  .mobile-nav-shell a:hover,
  .mobile-nav-shell a:active {
    background: rgba(0,59,113,0.06);
    color: var(--primary);
  }
  .mobile-nav-shell a:last-child {
    border-bottom: none;
  }
  /* Dark theme */
  html[data-theme=dark] .mobile-nav-panel .mobile-nav-shell {
    background: #1a2736;
  }
  html[data-theme=dark] .mobile-nav-shell a {
    color: #e2e8f0;
    border-bottom-color: #2d3f52;
  }
  html[data-theme=dark] .mobile-nav-shell a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff; */
  }
  /* Body lock */
  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  /* Toggle stays on top */
  .mobile-nav-toggle {
    position: relative;
    z-index: 10001;
  }
  /* Close button inside panel */
  .mobile-nav-close { display: none; } /* 
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0,0,0,0.06);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
  }
  */ html[data-theme=dark] .mobile-nav-close { display: none; } /* 
    background: rgba(255,255,255,0.1);
    color: #fff; */
  }
}
/* Overlay */
