/* OMS SECONDARY-PAGE POLISH
   Deliberately loaded only on cloned secondary pages — never on the homepage. */

:root {
  --oms-polish-content: 1220px;
  --oms-polish-text: #4b5d54;
  --oms-polish-line: rgba(22, 73, 50, .10);
  --oms-polish-shadow: 0 24px 64px rgba(13, 43, 30, .08);
}

/* ---------- Shared header ---------- */

.legacy-elementor-shell .oms-navbar {
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 30px rgba(3, 18, 11, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legacy-elementor-shell .oms-navbar-inner {
  width: min(var(--oms-polish-content), calc(100% - 48px));
  max-width: var(--oms-polish-content);
  margin-inline: auto;
  padding-inline: 0;
}

.legacy-elementor-shell .oms-nav-links {
  gap: 30px;
}

.legacy-elementor-shell .oms-nav-links a {
  transition: color .2s ease, opacity .2s ease;
}

.legacy-elementor-shell .oms-desktop-cta {
  box-shadow: 0 10px 24px rgba(32,126,100,.16);
}

/* ---------- Shared footer ---------- */

.legacy-elementor-shell .oms-footer {
  padding: 54px 28px 30px;
}

.legacy-elementor-shell .oms-footer-container {
  max-width: var(--oms-polish-content);
}

.legacy-elementor-shell .oms-footer-top {
  gap: 38px;
  padding-bottom: 42px;
}

.legacy-elementor-shell .oms-footer-logo {
  margin-bottom: 18px;
}

.legacy-elementor-shell .oms-footer-description,
.legacy-elementor-shell .oms-footer-contact,
.legacy-elementor-shell .oms-footer-links {
  line-height: 1.7;
}

.legacy-elementor-shell .oms-footer-bottom {
  padding-top: 24px;
}

/* ---------- About ---------- */

.legacy-elementor-shell .oms-section {
  padding: 76px 28px 108px;
}

.legacy-elementor-shell .oms-about-container,
.legacy-elementor-shell .oms-certifications {
  max-width: var(--oms-polish-content);
}

.legacy-elementor-shell .oms-about-container {
  gap: 68px;
  margin-bottom: 108px;
}

.legacy-elementor-shell .oms-about-content h1 {
  max-width: 650px;
  margin-bottom: 22px;
  line-height: 1.02;
}

.legacy-elementor-shell .oms-about-content p {
  max-width: 690px;
  line-height: 1.78;
}

.legacy-elementor-shell .oms-about-visual {
  min-height: 480px;
}

.legacy-elementor-shell .oms-certifications {
  padding: 48px;
  border-radius: 28px;
}

.legacy-elementor-shell .oms-certifications-header {
  margin-bottom: 46px;
}

.legacy-elementor-shell .oms-cert-summary {
  gap: 20px;
  margin-bottom: 42px;
}

.legacy-elementor-shell .oms-cert-details {
  padding: 34px;
  margin-bottom: 38px;
}

.legacy-elementor-shell .oms-cert-grid {
  gap: 28px;
}

.legacy-elementor-shell .oms-cert-card {
  padding: 20px;
}

.legacy-elementor-shell .oms-stories {
  padding: 104px 0;
}

.legacy-elementor-shell .oms-stories-container {
  padding-inline: clamp(28px, 4vw, 58px);
}

.legacy-elementor-shell .oms-stories-header {
  margin-bottom: 60px;
}

.legacy-elementor-shell .oms-story-card {
  box-shadow: 0 22px 54px rgba(0,0,0,.18);
}

/* ---------- Products ---------- */

.legacy-elementor-shell .oms-aero,
.legacy-elementor-shell .oms-compo {
  padding: 116px 28px;
}

.legacy-elementor-shell .oms-aero-wrap,
.legacy-elementor-shell .oms-compo-wrap {
  max-width: var(--oms-polish-content);
}

.legacy-elementor-shell .oms-aero-hero,
.legacy-elementor-shell .oms-compo-hero {
  gap: 82px;
}

.legacy-elementor-shell .oms-aero-title,
.legacy-elementor-shell .oms-compo-title {
  margin-bottom: 26px;
}

.legacy-elementor-shell .oms-aero-text,
.legacy-elementor-shell .oms-compo-text {
  line-height: 1.78;
}

.legacy-elementor-shell .oms-aero-actions,
.legacy-elementor-shell .oms-compo-actions {
  margin-top: 34px;
}

.legacy-elementor-shell .oms-aero-visual,
.legacy-elementor-shell .oms-compo-visual {
  padding: 38px;
  border-radius: 32px;
}

.legacy-elementor-shell .oms-aero-highlights,
.legacy-elementor-shell .oms-compo-highlights {
  margin-top: 82px;
  gap: 20px;
}

.legacy-elementor-shell .oms-aero-highlight,
.legacy-elementor-shell .oms-compo-highlight {
  padding: 26px;
  border-radius: 24px;
}

.legacy-elementor-shell .oms-aero-process-image,
.legacy-elementor-shell .oms-compo-process-image {
  margin-top: 108px;
}

.legacy-elementor-shell .oms-aero-tech,
.legacy-elementor-shell .oms-compo-tech,
.legacy-elementor-shell .oms-aero-models,
.legacy-elementor-shell .oms-compo-models,
.legacy-elementor-shell .oms-compo-earthvivus {
  margin-top: 104px;
}

/* ---------- Calculator ---------- */

.legacy-elementor-shell .oms-calc {
  padding: 76px 28px 108px;
}

.legacy-elementor-shell .oms-calc-wrap {
  max-width: var(--oms-polish-content);
}

.legacy-elementor-shell .oms-calc-card {
  padding: 48px;
  border-radius: 32px;
  box-shadow: var(--oms-polish-shadow);
}

.legacy-elementor-shell .oms-calc-head {
  margin-bottom: 48px;
}

.legacy-elementor-shell .oms-calc-head p {
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.75;
}

.legacy-elementor-shell .oms-calc-grid {
  gap: 34px;
}

.legacy-elementor-shell .oms-calc-panel {
  padding: 32px;
  border-radius: 26px;
}

.legacy-elementor-shell .oms-field {
  margin-bottom: 20px;
}

.legacy-elementor-shell .oms-impact-clean,
.legacy-elementor-shell .oms-savings-grid,
.legacy-elementor-shell .oms-product-cta {
  margin-top: 34px;
}

/* ---------- Blog ---------- */

.legacy-elementor-shell .oms-blog-page {
  padding-bottom: 104px;
}

.legacy-elementor-shell .oms-blog-page .container {
  width: min(var(--oms-polish-content), calc(100% - 56px));
}

.legacy-elementor-shell .oms-blog-page .hero {
  min-height: 500px;
  padding: 94px 0 86px;
}

.legacy-elementor-shell .oms-blog-page .hero-content {
  max-width: 760px;
}

.legacy-elementor-shell .oms-blog-page .hero p {
  margin-top: 24px;
  line-height: 1.72;
}

.legacy-elementor-shell .oms-blog-page .featured-card {
  gap: 40px;
  padding: 20px;
  margin: -54px 0 48px;
  border-radius: 26px;
  box-shadow: 0 24px 65px rgba(15,23,42,.10);
}

.legacy-elementor-shell .oms-blog-page .featured-content {
  padding: 38px 26px;
}

.legacy-elementor-shell .oms-blog-page .toolbar {
  margin-block: 42px 28px;
}

.legacy-elementor-shell .oms-blog-page .articles-grid {
  gap: 28px 24px;
}

.legacy-elementor-shell .oms-blog-page .article-card {
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
}

/* ---------- Contact ---------- */

.legacy-elementor-shell .oms-contact-page {
  padding: 76px 28px 112px;
}

.legacy-elementor-shell .oms-contact-container {
  max-width: var(--oms-polish-content);
}

.legacy-elementor-shell .oms-contact-hero {
  margin-bottom: 62px;
}

.legacy-elementor-shell .oms-contact-title {
  max-width: 850px;
  margin-bottom: 24px;
  line-height: .99;
}

.legacy-elementor-shell .oms-contact-text {
  max-width: 760px;
  line-height: 1.78;
}

.legacy-elementor-shell .oms-contact-grid {
  gap: 42px;
  align-items: stretch;
}

.legacy-elementor-shell .oms-contact-form-wrap {
  padding: 42px;
  border-radius: 30px;
  box-shadow: var(--oms-polish-shadow);
}

.legacy-elementor-shell .oms-contact-info {
  gap: 18px;
}

.legacy-elementor-shell .oms-info-card,
.legacy-elementor-shell .oms-contact-item {
  border-radius: 20px;
}

.legacy-elementor-shell .oms-map {
  margin-top: 52px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20,40,28,.08);
}

/* ---------- Legal pages ---------- */

.legacy-elementor-shell .oms-legal {
  padding: 92px 28px 110px;
}

.legacy-elementor-shell .oms-legal-wrap {
  max-width: 1040px;
  padding: 60px 64px;
  border-radius: 30px;
  box-shadow: 0 26px 75px rgba(11,83,148,.08);
}

.legacy-elementor-shell .oms-legal h1 {
  margin-bottom: 20px;
}

.legacy-elementor-shell .oms-legal h2,
.legacy-elementor-shell .oms-legal h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.legacy-elementor-shell .oms-legal p,
.legacy-elementor-shell .oms-legal li {
  color: #50616a;
  line-height: 1.78;
}

.legacy-elementor-shell .oms-legal ul,
.legacy-elementor-shell .oms-legal ol {
  padding-left: 22px;
}

.legacy-elementor-shell .oms-legal-card {
  margin-top: 38px;
  padding: 30px;
}

/* ---------- Responsive polish ---------- */

@media (max-width: 1100px) {
  .legacy-elementor-shell .oms-navbar-inner {
    width: min(100% - 32px, var(--oms-polish-content));
  }

  .legacy-elementor-shell .oms-aero-hero,
  .legacy-elementor-shell .oms-compo-hero,
  .legacy-elementor-shell .oms-about-container {
    gap: 46px;
  }

  .legacy-elementor-shell .oms-aero,
  .legacy-elementor-shell .oms-compo {
    padding-block: 92px;
  }
}

@media (max-width: 900px) {
  .legacy-elementor-shell .oms-section,
  .legacy-elementor-shell .oms-calc,
  .legacy-elementor-shell .oms-contact-page,
  .legacy-elementor-shell .oms-legal {
    padding: 56px 18px 78px;
  }

  .legacy-elementor-shell .oms-aero,
  .legacy-elementor-shell .oms-compo {
    padding: 70px 18px;
  }

  .legacy-elementor-shell .oms-certifications,
  .legacy-elementor-shell .oms-calc-card,
  .legacy-elementor-shell .oms-contact-form-wrap,
  .legacy-elementor-shell .oms-legal-wrap {
    padding: 30px 24px;
    border-radius: 24px;
  }

  .legacy-elementor-shell .oms-blog-page .container {
    width: min(100% - 32px, var(--oms-polish-content));
  }

  .legacy-elementor-shell .oms-blog-page .hero {
    min-height: auto;
    padding: 72px 0 82px;
  }

  .legacy-elementor-shell .oms-footer {
    padding: 44px 20px 26px;
  }
}

@media (max-width: 600px) {
  .legacy-elementor-shell .oms-section,
  .legacy-elementor-shell .oms-calc,
  .legacy-elementor-shell .oms-contact-page,
  .legacy-elementor-shell .oms-legal {
    padding: 44px 14px 64px;
  }

  .legacy-elementor-shell .oms-about-container {
    margin-bottom: 70px;
  }

  .legacy-elementor-shell .oms-certifications,
  .legacy-elementor-shell .oms-calc-card,
  .legacy-elementor-shell .oms-contact-form-wrap,
  .legacy-elementor-shell .oms-legal-wrap {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .legacy-elementor-shell .oms-blog-page .container {
    width: min(100% - 24px, var(--oms-polish-content));
  }

  .legacy-elementor-shell .oms-blog-page .featured-card {
    margin-top: -34px;
    padding: 14px;
    border-radius: 20px;
  }

  .legacy-elementor-shell .oms-footer {
    padding: 38px 16px 24px;
  }
}

/* Blog SEO guide cluster */
.legacy-elementor-shell .oms-blog-page .oms-seo-guides {
  padding-top: 62px;
  padding-bottom: 22px;
}

.legacy-elementor-shell .oms-seo-guides-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.legacy-elementor-shell .oms-seo-guides-head h2 {
  margin: 0 0 12px;
  color: #0c2419;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.legacy-elementor-shell .oms-seo-guides-head p {
  margin: 0;
  color: #56685f;
  font-size: 16px;
  line-height: 1.7;
}

.legacy-elementor-shell .oms-seo-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.legacy-elementor-shell .oms-seo-guides-grid a {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(32,126,100,.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(12,38,26,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.legacy-elementor-shell .oms-seo-guides-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(32,126,100,.28);
  box-shadow: 0 18px 42px rgba(12,38,26,.09);
}

.legacy-elementor-shell .oms-seo-guides-grid strong {
  color: #133b2b;
  font-size: 18px;
  line-height: 1.25;
}

.legacy-elementor-shell .oms-seo-guides-grid span {
  color: #607168;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .legacy-elementor-shell .oms-seo-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .legacy-elementor-shell .oms-blog-page .oms-seo-guides {
    padding-top: 46px;
  }

  .legacy-elementor-shell .oms-seo-guides-grid {
    grid-template-columns: 1fr;
  }
}
