/* =========================================================
   More Profit USA — design tokens
   Layout/typography/spacing system referenced from agency501.com
   (structure only — no copy/imagery copied)
========================================================= */

:root {
  --navy: #0E1725;
  --white: #FFFFFF;
  --dark-navy-text: #172130;
  --green: #1F8A4C;
  --green-10: rgba(31, 138, 76, 0.1);
  --green-40: rgba(31, 138, 76, 0.4);
  --white-70: rgba(255, 255, 255, 0.7);

  --font-heading: 'Anton', Oswald, Impact, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container-max: 1200px;
  --section-pad-desktop: 120px;
  --section-pad-mobile: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-navy-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
}

/* =========================================================
   Eyebrow / badge
========================================================= */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-10);
  border: 1px solid var(--green-40);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 24px;
}

/* Eyebrow variant used on white sections keeps the same green tone;
   "-dark" naming refers to the section context, styling is identical
   since green reads correctly on both navy and white per spec. */
.eyebrow-dark {
  color: var(--green);
}

/* =========================================================
   Buttons
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

.btn-green:hover {
  opacity: 0.88;
}

.btn-nav {
  padding: 0 32px;
}

.btn-hero {
  padding: 0 40px;
  font-size: 16px;
  letter-spacing: 0.8px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Inverted button used inside the green CTA band: white bg, navy text */
.btn-invert {
  background: var(--white);
  color: var(--navy);
}

.btn-invert:hover {
  opacity: 0.9;
}

/* =========================================================
   Header / Nav
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--white);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-cta {
  margin-left: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Hero
========================================================= */

.hero {
  background: var(--navy);
  padding: 200px 0 140px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 96px;
  line-height: 0.92;
  letter-spacing: -0.48px;
  color: var(--white);
  margin-bottom: 32px;
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--white-70);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================================================
   Section heading (shared)
========================================================= */

.section-heading {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-heading h2 {
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.36px;
}

.section-intro {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
  opacity: 0.75;
}

/* =========================================================
   Offerings
========================================================= */

.offerings {
  background: var(--white);
  padding: var(--section-pad-desktop) 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
}

.card h3 {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--dark-navy-text);
}

.card p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #4B5563;
}

.price-line {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--dark-navy-text);
}

.price-line strong {
  color: var(--green);
  font-weight: 700;
}

/* =========================================================
   About
========================================================= */

.about {
  background: var(--navy);
  padding: var(--section-pad-desktop) 0;
}

.about h2,
.about .eyebrow {
  color: var(--white);
}

.about .eyebrow {
  color: var(--green);
}

.about-copy {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--white-70);
  max-width: 760px;
}

/* =========================================================
   What We Do / video
========================================================= */

.what-we-do {
  background: var(--white);
  padding: var(--section-pad-desktop) 0;
}

.what-we-do .section-heading {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.video-wrap {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   CTA band
========================================================= */

.cta-band {
  background: var(--green);
  padding: var(--section-pad-desktop) 0;
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.36px;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-band p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
  background: var(--navy);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--white);
  text-transform: uppercase;
}

.footer-phone {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white-70);
}

.footer-phone:hover {
  color: var(--white);
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   Responsive — mobile-first breakpoint at 768px
========================================================= */

@media (max-width: 768px) {
  :root {
    --section-pad-desktop: 64px;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 44px;
    letter-spacing: -0.24px;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .section-heading h2,
  .cta-band h2 {
    font-size: 34px;
    letter-spacing: -0.2px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-cta {
    margin-left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-hero {
    width: 100%;
  }

  .footer-inner {
    gap: 10px;
  }
}
