:root {
  --mrs-black: #000000;
  --mrs-near-black: #0f0f0f;
  --mrs-white: #ffffff;
  --mrs-gray-bg: #f7f7f7;
  --mrs-gray-text: #525252;
  --mrs-gray-muted: #8a8a8a;
  --mrs-gray-border: #d9d9d9;
  --mrs-font: "Manrope", sans-serif;
  --mrs-section-pad: 80px;
  --mrs-gutter: 53px;
}

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

html {
  scroll-behavior: smooth;
}
.footer_sec {
    margin-top: 0 !important;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

.container-mrs {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--mrs-gutter);
  padding-right: var(--mrs-gutter);
}

.section-pad {
  padding-top: var(--mrs-section-pad);
  padding-bottom: var(--mrs-section-pad);
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.325;
  margin: 0;
}

.section-text {
  font-size: 16px;
  line-height: 24px;
  color: var(--mrs-gray-text);
  margin: 0;
}

.section-text p,
.section-text ul,
.section-text ol {
  margin: 0;
}

.section-text p + p,
.section-text p + ul,
.section-text p + ol,
.section-text ul + p,
.section-text ol + p {
  margin-top: 12px; list-style-type: disc;
}

.section-text ul,
.section-text ol {
  padding-left: 1.25em;
}

.section-text a {
  color: inherit;
}

.card-title-sm {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
}

.num-label {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  margin: 0;
}

/* Buttons */
.btn-mrs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.btn-mrs img {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
}

.btn-mrs-white {
  background: var(--mrs-white);
  color: var(--mrs-black);
}

.btn-mrs-white:hover {
  background: #e8e8e8;
  color: var(--mrs-black);
  opacity: 1;
}

.btn-mrs-black {
  background: var(--mrs-black);
  color: var(--mrs-white);
}

.btn-mrs-black:hover {
  background: #222;
  color: var(--mrs-white);
  opacity: 1;
}

.btn-mrs-outline {
  background: transparent;
  color: var(--mrs-white);
  border: 1px solid var(--mrs-white);
  width: 150px;
  justify-content: center;
  padding: 11px 16px;
}

.btn-mrs-outline:hover {
  background: var(--mrs-white);
  color: var(--mrs-black);
  opacity: 1;
}

.link-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--mrs-black);
}

.link-view img {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 46px 0 0;
}

.site-header .navbar {
  padding: 0;
}

.site-logo {
  width: 126px;
  height: 57px;
  object-fit: contain;
}

.nav-link-mrs {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--mrs-white) !important;
  padding: 0.5rem 0.85rem !important;
  white-space: nowrap;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.section-text table{border: 1px solid var(--mrs-gray-border); width: 100%; margin-bottom: 15px;}
.section-text table:last-child{margin: 0;}
.section-text table th, .section-text table td{padding: 10px 15px;border: 1px solid var(--mrs-gray-border);}

@media (max-width: 991.98px) {
  .site-header {
    padding-top: 20px;
  }

  .navbar-collapse {
    background: rgba(15, 15, 15, 0.98);
    margin-top: 16px;
    padding: 20px;
  }

  .nav-link-mrs {
    padding: 0.75rem 0 !important;
  }

  .btn-mrs-outline {
    margin-top: 12px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 795px;
  background: var(--mrs-near-black);
  color: var(--mrs-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 57.6%;
  height: 100%;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #0f0f0f 0%, rgba(15, 15, 15, 0) 100%);
  width: 35%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 271px;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 100px;
  max-width: 655px;
}

.hero-content h1 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 53px;
  margin: 0 0 24px;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.87;
  margin: 0 0 16px;
}

.hero-content p:last-of-type {
  margin-bottom: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 29px;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
  }

  .hero-media {
    width: 100%;
    opacity: 0.5;
  }

  .hero-media::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.85) 0%, #0f0f0f 100%);
  }

  .hero-content h1 {
    line-height: 1.3;
  }
}

/* Highlight cards */
.highlight-card {
  border: 1px solid var(--mrs-gray-border);
  background: var(--mrs-white);
  padding: 32px;
  height: 100%;
  min-height: 263px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-card .card-title-sm {
  margin-top: auto;
}

/* Systems grid */
.systems-panel {
  background: var(--mrs-white);
  border: 1px solid var(--mrs-gray-border);
}

.system-item {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 260px;
}

.system-item .link-view {
  margin-top: auto;
}

.system-divider {
  border-color: var(--mrs-gray-border);
  opacity: 1;
  margin: 0;
}

@media (min-width: 992px) {
  .systems-panel .col-lg-4:not(:last-child) {
    border-right: 1px solid var(--mrs-gray-border);
  }

  .systems-panel .systems-row-top {
    border-bottom: 1px solid var(--mrs-gray-border);
  }
}

/* Comparison table */
.comparison-wrap {
  border: 1px solid var(--mrs-gray-border);
  overflow-x: auto;
}

.table-mrs {
  margin: 0;
  width: 100%;
  min-width: 800px;
}

.table-mrs thead th {
  background: var(--mrs-black);
  color: var(--mrs-white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 16px 20px;
  border: none;
  white-space: nowrap;
}

.table-mrs tbody td {
  font-size: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--mrs-gray-border);
  border-top: none;
  vertical-align: middle;
  color: var(--mrs-gray-text);
}

.table-mrs tbody td:first-child {
  font-weight: 600;
  color: var(--mrs-black);
}

.table-mrs tbody tr:nth-child(even) {
  background: var(--mrs-gray-bg);
}

.table-mrs tbody tr:last-child td {
  border-bottom: none;
}

/* Split info */
.split-panel {
  min-height: 756px;
}

.split-dark {
  background: var(--mrs-black);
  color: var(--mrs-white);
  padding: 56px;
}

.split-light {
  background: var(--mrs-white);
  border: 1px solid var(--mrs-gray-border);
  padding: 56px;
}

.split-image {
  margin-top: 40px;
  width: 100%;
  height: 282px;
  object-fit: cover;
}

.how-step {
  display: flex;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--mrs-gray-border);
}

.how-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.how-step .num-label {
  flex-shrink: 0;
}

.how-step h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.how-step p {
  font-size: 16px;
  line-height: 20px;
  color: var(--mrs-gray-text);
  margin: 0;
}

.how-step p + p {
  margin-top: 8px;
}

.split-dark p {
  margin: 0;
  line-height: 24px;
}

.split-dark p + p {
  margin-top: 12px;
}

@media (max-width: 991.98px) {
  .split-dark,
  .split-light {
    padding: 40px 24px;
    min-height: auto;
  }

  .split-image {
    height: 200px;
  }
}

/* Advantage / development cards */
.feature-card {
  border: 1px solid var(--mrs-gray-border);
  background: var(--mrs-white);
  padding: 32px;
  height: 100%;
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--mrs-black);
  margin-bottom: 32px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  overflow: hidden;
}

.feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.feature-card .card-title-sm {
  margin-bottom: 12px;
}

/* Smart controls */
.control-card {
  border: 1px solid var(--mrs-gray-border);
  background: var(--mrs-white);
  padding: 32px;
  height: 100%;
}

.control-card .card-title-sm {
  margin-bottom: 12px;
}

/* Selection guide */
.guide-card {
  background: var(--mrs-white);
  border: 1px solid var(--mrs-gray-border);
  padding: 32px;
}

.guide-item {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}

.guide-item .num-label {
  flex-shrink: 0;
  width: 28px;
}

.guide-divider-v {
  width: 1px;
  background: var(--mrs-gray-border);
  align-self: stretch;
}

.guide-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--mrs-gray-border);
}

.guide-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guide-row:first-child {
  padding-top: 0;
}

/* FAQ */
.faq-item {
  border-top: 1px solid var(--mrs-gray-border);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--mrs-gray-border);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.faq-btn .card-title-sm {
  font-size: 18px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon img {
  width: 24px;
  height: 24px;
  position: absolute;
  inset: 0;
  transition: opacity 0.2s ease;
}

.faq-icon .icon-minus {
  opacity: 0;
}

.faq-btn:not(.collapsed) .icon-plus {
  opacity: 0;
}

.faq-btn:not(.collapsed) .icon-minus {
  opacity: 1;
}

.faq-body {
  padding-top: 12px;
}

/* CTA band */
.cta-band {
  background: var(--mrs-gray-bg);
  text-align: center;
}

.cta-band .section-title {
  max-width: 655px;
  margin: 0 auto 16px;
}

.cta-band .section-text {
  max-width: 655px;
  margin: 0 auto 32px;
}

/* Footer */
.site-footer {
  background: var(--mrs-black);
  color: var(--mrs-white);
  padding-top: 84px;
  padding-bottom: 40px;
}

.footer-title {
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 400;
  line-height: 1.325;
  margin: 0 0 24px;
}

.footer-heading {
  font-size: 25px;
  font-weight: 600;
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a,
.footer-contact {
  font-size: 16px;
  line-height: 1.87;
  color: var(--mrs-white);
}

.newsletter-form {
  border-bottom: 1px solid var(--mrs-white);
  display: flex;
  align-items: center;
  max-width: 429px;
  padding-bottom: 8px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--mrs-white);
  font-family: inherit;
  font-size: 16px;
  padding: 8px 0;
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--mrs-white);
  opacity: 1;
}

.newsletter-form button {
  background: none;
  border: none;
  padding: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.newsletter-form button img {
  width: 46px;
  height: 46px;
  transform: rotate(-90deg);
}

.social-label {
  font-size: 16px;
  margin: 24px 0 12px;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: block;
}

.social-links img {
  width: 46px;
  height: 46px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 48px;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--mrs-gray-muted);
  font-size: 16px;
  text-transform: capitalize;
}

.bg-mrs-gray {
  background: var(--mrs-gray-bg);
}

@media (max-width: 575.98px) {
  :root {
    --mrs-gutter: 20px;
    --mrs-section-pad: 56px;
  }

  .highlight-card,
  .feature-card,
  .control-card,
  .system-item {
    min-height: auto;
  }
}
