/* MPM Equities landing page. Brand palette mirrors the portal:
   navy #1B3A6B (primary), orange #E8590C (CTA), canvas #F7F8FA. */

* {
  box-sizing: border-box;
  margin: 0;
}

:root {
  --navy: #1b3a6b;
  --navy-deep: #0e1c38;
  --navy-ink: #14264a;
  --orange: #e8590c;
  --orange-dark: #d14e08;
  --ink: #1f2733;
  --muted: #5a6472;
  --line: #e6eaf0;
  --canvas: #f7f8fa;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-cta {
  background: var(--orange);
  color: #fff;
}

.btn-cta:hover {
  background: var(--orange-dark);
}

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-portal {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 9px 18px;
  font-size: 14px;
  white-space: nowrap;
}

.btn-portal:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav.scrolled {
  background: var(--navy-ink);
  box-shadow: 0 2px 14px rgba(10, 20, 40, 0.35);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand span {
  font-weight: 500;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

/* ============ Hero ============ */
.hero {
  background:
    linear-gradient(180deg, rgba(14, 28, 56, 0.78) 0%, rgba(20, 38, 74, 0.62) 55%, rgba(14, 28, 56, 0.88) 100%),
    url('images/hero.jpg') center / cover no-repeat;
  color: #fff;
  padding: 168px 24px 120px;
  text-align: center;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: normal;
  color: #7fb2ff;
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Sections ============ */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--canvas);
}

.section-title {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-title.left {
  text-align: left;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 16.5px;
  line-height: 1.6;
}

/* ============ Strategy cards ============ */
.cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 22px 24px 26px;
}

.card-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: #e9eff9;
  border-radius: 999px;
  padding: 4px 12px;
}

.card h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 700;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ Ethics band ============ */
.ethics {
  background: var(--navy-ink);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.ethics h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
}

.ethics p {
  max-width: 660px;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* ============ Why QSRs split ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.split-img img {
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.14);
}

.points {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  gap: 26px;
}

.points h4 {
  font-size: 17px;
  font-weight: 700;
}

.points p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.points li {
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}

/* ============ Steps ============ */
.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
}

.step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.step h3 {
  margin-top: 16px;
  font-size: 17.5px;
  font-weight: 700;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ Contact ============ */
.contact {
  background: var(--navy-deep);
  color: #fff;
  padding: 88px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
}

.contact-copy p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
}

.contact-details {
  margin-top: 28px;
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 10px;
}

.contact-details a {
  color: #7fb2ff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background: #fff;
  border-radius: 14px;
  padding: 30px 30px 34px;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.contact-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 16px;
}

.contact-form label:first-child {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row label {
  margin-top: 0;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d4dae3;
  border-radius: 8px;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 0;
  border-color: var(--navy);
}

.contact-form textarea {
  resize: vertical;
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  width: 100%;
  margin-top: 22px;
  font-size: 16px;
  padding: 14px;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
}

.form-status.ok {
  color: #2e9e5b;
}

.form-status.err {
  color: #d64545;
}

/* ============ Footer ============ */
.footer {
  background: #0a1426;
  color: rgba(255, 255, 255, 0.75);
  padding: 44px 0 30px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand-footer {
  font-size: 17px;
}

.footer-note {
  margin-top: 8px;
  font-size: 14px;
}

.footer-contact {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14.5px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal p {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .cards,
  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
  }

  .hero {
    padding: 136px 20px 88px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row label + label {
    margin-top: 16px;
  }
}
