/* ============================================================
   Master Implementers — Thank You / Call Booked
   Top half mirrors masterimplementers.com/ty-personalcall
   Bottom half mirrors 6figurepath.marcteo.com/ty
   Brand: MI Navy #002D6A + Pastel Yellow #FFE187
   ============================================================ */

:root {
  --navy: #002D6A;
  --navy-700: #001f4d;
  --navy-50: #f3f6fb;
  --yellow: #FFE187;
  --yellow-strong: #FFCB3D;
  --orange: #FFB765;
  --charcoal: #2F2F2D;
  --ink: #18223a;
  --muted: #5a6478;
  --line: #e5e9f2;
  --white: #ffffff;
  --danger: #c0392b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 20px rgba(0, 45, 106, 0.08);
  --shadow-md: 0 18px 50px rgba(0, 45, 106, 0.14);
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Montserrat, Inter, sans-serif;
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 14px;
}

h1 { font-size: 2.1rem; font-weight: 800; }
h2 { font-size: 1.7rem; font-weight: 800; }

p { margin: 0 0 16px; }

img { max-width: 100%; }

a { color: var(--navy); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

/* ---------- Alert bar ---------- */
.alert-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 14px 20px;
}

.alert-bar p {
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

/* ---------- Top / steps block ---------- */
.ty-top {
  background: var(--white);
  padding: 46px 0 72px;
  text-align: center;
}

.ty-top .container { max-width: 880px; }

.m-mark {
  width: 74px;
  height: auto;
  display: block;
  margin: 0 auto 22px;
}

.ty-top h1 {
  font-size: 2.15rem;
  margin-bottom: 22px;
}

.step-line {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 14px;
  line-height: 1.45;
}

.step-line strong {
  font-weight: 800;
  color: var(--navy);
}

.step-sub {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 22px;
}

.warn {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--danger);
  margin: 0 auto 28px;
  max-width: 640px;
}

.step-block { margin-top: 52px; }

/* ---------- Buttons ---------- */
.btn-flat {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 45, 106, 0.22);
  transition: transform 0.12s, background 0.15s, box-shadow 0.12s;
}

.btn-flat:hover {
  background: var(--navy-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 45, 106, 0.28);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
  box-shadow: 0 6px 14px rgba(0, 45, 106, 0.18);
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--navy-700);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0, 45, 106, 0.24);
}

.btn-primary {
  background: var(--yellow-strong);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(255, 203, 61, 0.45);
}

.btn-primary:hover { background: var(--yellow); color: var(--navy); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Video ---------- */
.video-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 45, 106, 0.22);
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Eyebrow / section labels ---------- */
.section-eyebrow {
  display: inline-block;
  width: auto;
  max-width: max-content;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin: 0 auto 18px;
}

.section-title { margin-bottom: 12px; text-align: center; }

.section-sub {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

section > .container { text-align: center; }

/* ---------- Proof / testimonial cards (4-col masonry) ---------- */
.proof {
  background: var(--white);
  padding: 84px 0 72px;
  border-top: 1px solid var(--line);
}

.proof-grid {
  column-count: 4;
  column-gap: 14px;
  margin-top: 16px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.proof-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  break-inside: avoid;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--navy-50);
}

.proof-grid img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- Case studies (2-col video grid) ---------- */
.case-studies {
  background: var(--navy-50);
  padding: 84px 0 72px;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 32px;
  margin: 40px auto 0;
  max-width: 1080px;
  text-align: left;
}

.cs { display: flex; flex-direction: column; min-width: 0; }

.cs-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cs-frame:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.cs-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cs-title {
  margin: 16px 0 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.4;
  text-align: center;
}

/* ---------- Final CTA band ---------- */
.final-cta {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 72px 0;
}

.final-cta h2 { color: var(--white); }

.final-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
}

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

.footer-logo { height: 30px; width: auto; display: block; }

.footer-meta p { margin: 0; font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .proof-grid { column-count: 3; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .ty-top { padding: 34px 0 56px; }
  .ty-top h1 { font-size: 1.6rem; }
  .step-line { font-size: 1.05rem; }
  .m-mark { width: 60px; }
  .step-block { margin-top: 40px; }
  .btn-flat { width: 100%; max-width: 340px; padding: 15px 22px; font-size: 0.94rem; }
  .btn-row { flex-direction: column; align-items: center; }
  .proof-grid { column-count: 2; }
  .proof, .case-studies { padding: 56px 0 48px; }
  .cs-grid { grid-template-columns: 1fr; gap: 28px; }
  .cs-title { font-size: 1rem; }
  h2, .section-title { font-size: 1.4rem; }
  .section-eyebrow { font-size: 0.72rem; padding: 6px 14px; letter-spacing: 0.08em; }
  .final-cta { padding: 56px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
