:root {
  --red: #b20f18;
  --red-bright: #e21a26;
  --graphite: #11151d;
  --navy: #0b1723;
  --ink: #161a22;
  --muted: #66707d;
  --line: #e4e8ee;
  --soft: #f4f6f8;
  --white: #ffffff;
  --steel: #d8dee5;
  --shadow: 0 24px 70px rgba(11, 23, 35, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px max(22px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(9, 17, 27, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.brand__mccs {
  width: 128px;
  background: transparent;
}

.brand__ecomax {
  width: 128px;
  border-radius: 3px;
}

.brand__divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.22);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 780;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 880;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button--primary,
.nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  box-shadow: 0 18px 36px rgba(226, 26, 38, 0.28);
}

.button--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 20, 32, 0.98), rgba(10, 20, 32, 0.72) 48%, rgba(10, 20, 32, 0.98)),
    radial-gradient(circle at 78% 42%, rgba(226, 26, 38, 0.3), transparent 28%),
    var(--navy);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 48px;
  width: min(calc(100% - 32px), var(--max));
  min-height: 760px;
  margin: 0 auto;
  align-items: center;
  padding: 74px 0 52px;
}

.hero h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 930;
}

.hero p {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 530px;
  margin: 42px 0 0;
}

.trust-row div {
  min-height: 88px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.trust-row dt {
  font-size: 1.02rem;
  font-weight: 920;
}

.trust-row dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.visual-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 60%);
  box-shadow: var(--shadow);
}

.visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 23, 35, 0.42), transparent 26%, transparent 72%, rgba(11, 23, 35, 0.32)),
    linear-gradient(0deg, rgba(11, 23, 35, 0.34), transparent 38%);
  pointer-events: none;
}

.visual-stage::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -42%;
  z-index: 2;
  width: 48%;
  height: 96%;
  background: linear-gradient(180deg, rgba(226, 26, 38, 0), rgba(226, 26, 38, 0.78), rgba(226, 26, 38, 0));
  transform: rotate(36deg);
  opacity: 0.86;
  pointer-events: none;
}

.visual-stage__photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

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

.section__heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.66fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.section__heading--wide {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
}

.section__heading--dark {
  color: var(--white);
}

.section__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section__heading--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section__mark {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 920;
  text-transform: uppercase;
}

.section h2,
.process h2,
.water h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.benefit-card {
  min-height: 228px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(11, 23, 35, 0.05);
}

.benefit-card h3 {
  margin: 22px 0 10px;
  font-size: 1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.line-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--red);
  border: 1px solid rgba(178, 15, 24, 0.28);
  border-radius: 50%;
}

.line-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.models {
  padding-top: 40px;
}

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

.model-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 42px rgba(11, 23, 35, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.model-card:hover,
.model-card.is-selected {
  transform: translateY(-5px);
  border-color: rgba(226, 26, 38, 0.38);
  box-shadow: 0 28px 58px rgba(11, 23, 35, 0.14);
}

.model-card--featured {
  box-shadow: 0 28px 64px rgba(178, 15, 24, 0.13);
}

.model-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 270px;
  padding: 28px 18px 18px;
  background:
    linear-gradient(135deg, rgba(226, 26, 38, 0.08), transparent 45%),
    linear-gradient(180deg, #f8fafc, #edf1f5);
}

.model-card__media img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.model-card:hover .model-card__media img {
  transform: scale(1.04);
}

.model-card__type {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 9px;
  color: var(--white);
  background: var(--red);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
}

.model-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.model-card h3 {
  margin: 0;
  font-size: 1.34rem;
}

.model-card p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.model-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.model-card__badges span {
  padding: 6px 8px;
  color: #4e5865;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 780;
}

.select-model {
  min-height: 44px;
  margin-top: auto;
  color: var(--red);
  background: transparent;
  border: 1px solid rgba(178, 15, 24, 0.42);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 890;
  cursor: pointer;
}

.model-card.is-selected .select-model,
.select-model:hover {
  color: var(--white);
  background: var(--red);
}

.process,
.water {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(226, 26, 38, 0.18), transparent 34%),
    var(--navy);
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 39px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

.timeline article {
  position: relative;
  min-height: 226px;
  padding: 82px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.timeline span {
  position: absolute;
  top: 18px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--red-bright);
  border-radius: 50%;
  font-weight: 930;
}

.timeline h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.comparison {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.comparison__copy p {
  margin: 20px 0 28px;
  color: var(--muted);
}

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

.compare-table__col {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.compare-table__col h3 {
  margin: 0;
  padding: 15px 18px;
  color: var(--white);
  background: var(--graphite);
  font-size: 1.02rem;
}

.compare-table__col--good h3 {
  background: var(--red);
}

.compare-table ul {
  list-style: none;
  margin: 0;
  padding: 8px 18px 18px;
}

.compare-table li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  color: #4d5663;
}

.compare-table li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #7b8490;
  font-weight: 900;
}

.compare-table__col--good li::before {
  content: "✓";
  color: var(--red);
}

.water__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 0.78fr) minmax(220px, 0.38fr);
  gap: 28px;
  align-items: center;
}

.water .section__mark {
  color: #ff646c;
}

.water__copy p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}

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

.water__matrix article,
.water__products {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.water__matrix article {
  padding: 20px;
}

.water__matrix h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.water__matrix p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.water__products {
  padding: 22px;
}

.water__products strong,
.water__products span {
  display: block;
}

.water__products strong {
  margin-top: 18px;
  color: var(--white);
  font-size: 1.08rem;
}

.water__products strong:first-child {
  margin-top: 0;
}

.water__products span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

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

.proof-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(11, 23, 35, 0.05);
}

.proof-grid h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.proof-grid p {
  margin: 0;
  color: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.trust-band div,
.trust-band .button {
  min-height: 82px;
  border-radius: 0;
}

.trust-band div {
  display: grid;
  align-content: center;
  padding: 18px 22px;
  background: var(--soft);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band span {
  margin-top: 3px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding-top: 24px;
}

.contact-panel {
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(226, 26, 38, 0.2), transparent 45%),
    var(--navy);
  border-radius: 8px 0 0 8px;
}

.contact-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel__links {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-panel__links a,
.contact-panel__links span {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 780;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #3c4450;
  font-size: 0.9rem;
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d6dce4;
  border-radius: 7px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(178, 15, 24, 0.12);
}

.lead-form__full,
.lead-form__note {
  grid-column: 1 / -1;
}

.lead-form__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.mobile-sticky-cta {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 90px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 104px;
}

.site-footer p {
  margin: 12px 0 0;
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 18px 22px 24px;
    background: rgba(9, 17, 27, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .visual-stage {
    min-height: 500px;
  }

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

  .timeline,
  .water__inner,
  .comparison,
  .contact {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .contact-panel,
  .lead-form {
    border-radius: 8px;
    border-left: 1px solid var(--line);
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand__mccs {
    width: 104px;
  }

  .brand__ecomax {
    width: 104px;
  }

  .brand__divider {
    height: 30px;
  }

  .site-nav {
    top: 70px;
  }

  .hero {
    min-height: auto;
    overflow: hidden;
  }

  .hero__grid {
    width: 100%;
    gap: 34px;
    padding: 52px 14px 56px;
    overflow: hidden;
  }

  .hero__content,
  .hero__visual,
  .visual-stage,
  .hero p,
  .hero h1,
  .hero__actions,
  .trust-row {
    max-width: 100%;
    min-width: 0;
  }

  .hero__actions,
  .trust-row,
  .visual-stage,
  .hero p {
    width: calc(100% - 14px);
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10.4vw, 3.35rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero__actions .button {
    width: 100%;
    max-width: 100%;
  }

  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .trust-row div {
    min-height: 82px;
  }

  .visual-stage {
    min-height: 360px;
    width: 100%;
  }

  .visual-stage__photo {
    height: 360px;
    object-position: center;
    transform: scale(1.05);
  }

  .section,
  .process__inner,
  .water__inner {
    width: calc(100% - 28px);
    padding: 68px 0;
  }

  .section__heading,
  .section__heading--wide,
  .compare-table,
  .benefit-grid,
  .model-grid,
  .proof-grid,
  .water__matrix,
  .trust-band,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .section h2,
  .process h2,
  .water h2,
  .contact h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .benefit-card {
    min-height: auto;
  }

  .model-card__media {
    min-height: 240px;
  }

  .model-card__media img {
    height: 188px;
  }

  .timeline {
    gap: 12px;
  }

  .timeline article {
    min-height: auto;
  }

  .contact {
    width: calc(100% - 28px);
  }

  .contact-panel,
  .lead-form {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    width: calc(100% - 28px);
  }

  .site-footer div:last-child {
    justify-content: flex-start;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--red-bright));
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(11, 23, 35, 0.28);
    font-weight: 900;
  }

  body.show-sticky-cta .mobile-sticky-cta {
    display: inline-flex;
  }
}
