/* =========================================================
   Des Moines Business Loans
   Master Stylesheet
   ========================================================= */

:root {
  --maroon: #8b0d2c;
  --maroon-dark: #65091f;
  --gold: #fdbb21;
  --navy: #101d35;
  --white: #ffffff;
  --light-gray: #f6f7f9;
  --border: #e5e7eb;
  --text: #172033;
  --muted: #667085;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* =========================================================
   Top Bar
   ========================================================= */

.top-bar {
  background: var(--maroon-dark);
  color: var(--white);
  font-size: 14px;
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-bar p {
  margin: 0;
}

.top-bar a {
  font-weight: 700;
}

/* =========================================================
   Main Header
   ========================================================= */

.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.main-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand span {
  max-width: 170px;
  color: var(--maroon);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.4px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-left: auto;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--maroon);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 6px;
}

.header-phone {
  color: var(--maroon);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

/* =========================================================
   Temporary Homepage Content
   ========================================================= */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px;
}

main h1 {
  margin-top: 0;
  color: var(--maroon);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
}

main p {
  max-width: 760px;
  font-size: 18px;
  color: var(--muted);
}

/* =========================================================
   Responsive Header
   ========================================================= */

@media (max-width: 1180px) {
  .main-header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .top-bar-inner {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 8px 16px;
    text-align: center;
  }

  .main-header-inner {
    padding: 12px 16px;
    gap: 14px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .brand span {
    max-width: 190px;
    font-size: 16px;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .header-phone {
    font-size: 17px;
  }

  .main-nav {
    justify-content: center;
    gap: 10px 16px;
    padding-top: 4px;
  }

  .main-nav a {
    font-size: 13px;
  }
}
/* =========================================================
   Homepage Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      105deg,
      rgba(83, 9, 24, 0.96) 0%,
      rgba(83, 9, 24, 0.88) 48%,
      rgba(25, 31, 45, 0.76) 100%
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 40%,
      rgba(212, 165, 52, 0.12),
      transparent 42%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.hero-eyebrow {
  margin: 0 0 16px;
  color: #f2c85b;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -1.5px;
}

.hero-text {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero .btn {
  min-width: 158px;
  padding: 15px 24px;
  text-align: center;
}

.btn-outline {
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #641126;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 38px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.hero-points span {
  position: relative;
  padding-left: 20px;
}

.hero-points span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f2c85b;
  font-weight: 900;
}

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

@media (max-width: 767px) {
  .hero {
    min-height: 510px;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding: 64px 0;
    text-align: center;
  }

  .hero-eyebrow {
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.08;
    letter-spacing: -1px;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-points {
    justify-content: center;
    gap: 12px 20px;
  }
}
