:root {
  --ink: #111111;
  --muted: #5d6268;
  --paper: #f4f1eb;
  --line: #d6d0c4;
  --accent: #7c1f2c;
  --accent-dark: #4f121b;
  --steel: #263238;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(244, 241, 235, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 132px;
  height: 42px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  color: var(--muted);
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

.hero {
  min-height: calc(100vh - 154px);
  display: grid;
  align-items: center;
  padding: clamp(34px, 5vw, 64px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(244, 241, 235, 0.94), rgba(244, 241, 235, 0.7)),
    url("assets/marvero-logo.png") center right 8% / min(52vw, 680px) auto no-repeat,
    var(--paper);
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.8vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy > p:not(.eyebrow),
.contact > div > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.5);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--steel);
}

.trust-strip p {
  margin: 0;
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--white);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.trust-strip p:last-child {
  border-right: 0;
}

.section,
.process,
.contact {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 116px) 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  min-height: 320px;
  padding: 28px;
  background: var(--white);
  border-top: 3px solid transparent;
}

.service:hover {
  border-top-color: var(--accent);
}

.service span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent);
  font-weight: 700;
}

.service p,
.process span,
.contact-panel p {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process li {
  display: grid;
  gap: 8px;
  padding: 26px;
  background: var(--paper);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.contact-panel a {
  overflow-wrap: anywhere;
  font-size: 20px;
  font-weight: 700;
}

.contact-panel a:hover {
  color: #f0c46b;
}

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

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
  border-top: 4px solid var(--accent);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
}

.site-footer p {
  margin-bottom: 6px;
}

.legal {
  text-align: right;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(rgba(247, 245, 240, 0.9), rgba(247, 245, 240, 0.78)),
      url("assets/marvero-logo.png") center top 40px / min(86vw, 520px) auto no-repeat,
      var(--paper);
    padding-top: 160px;
  }

  .trust-strip,
  .service-grid,
  .process,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .legal {
    text-align: left;
  }

  .trust-strip p {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .service {
    min-height: auto;
  }

  .service span {
    margin-bottom: 26px;
  }

  .contact-panel {
    width: 100%;
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 40px;
  }

  .button {
    width: 100%;
  }
}
