/* ================================================================
   maikrr loans — Marketing Site Styles
   ================================================================ */

:root {
  --green-900: #0a3d2e;
  --green-700: #0f6b4d;
  --green-600: #11875e;
  --green-500: #1aa473;
  --green-50:  #e8f6f0;
  --gold-500:  #f5b400;
  --ink-900:   #0c1a22;
  --ink-700:   #25333d;
  --ink-500:   #4b5b66;
  --ink-300:   #8a98a3;
  --line:      #e4e9ee;
  --bg-soft:   #f6f8fa;
  --white:     #ffffff;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(12,26,34,.06), 0 1px 3px rgba(12,26,34,.05);
  --shadow-md: 0 8px 24px rgba(12,26,34,.10);
  --shadow-lg: 0 24px 60px rgba(12,26,34,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', 'Inter', sans-serif;
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { color: var(--ink-700); margin: 0 0 1em; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 700;
  margin-bottom: .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(17,135,94,.28);
}
.btn-primary:hover { background: var(--green-700); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink-900); }
.btn-link {
  padding: 12px 6px;
  color: var(--green-700);
  font-weight: 600;
}
.btn-link:hover { color: var(--green-900); }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--green-900);
  color: #d8efe5;
  font-size: .85rem;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
}
.utility-phone {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.utility-phone:hover { color: #d8efe5; }
@media (max-width: 640px) {
  .utility-msg { display: none; }
  .utility-inner { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--ink-900);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.brand-name em { font-style: normal; color: var(--green-600); }
.brand-light { color: #fff; }
.brand-light .brand-name em { color: var(--green-500); }

.primary-nav {
  display: flex;
  gap: 26px;
}
.primary-nav a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: .95rem;
}
.primary-nav a:hover { color: var(--green-700); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone-link {
  font-weight: 700;
  color: var(--ink-900);
  font-size: .95rem;
}
.phone-link:hover { color: var(--green-700); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 36px;
  padding: 6px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-900);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .phone-link { display: none; }
  .menu-toggle { display: block; }
  .header-inner.open + .mobile-nav,
  .mobile-nav.open { display: flex; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-900);
  font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(17,135,94,.10), transparent 60%),
    linear-gradient(180deg, #fbfdfc 0%, #ffffff 70%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--ink-700);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 22px;
}
.hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-700);
  font-size: .92rem;
  font-weight: 500;
}
.check {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 800;
  font-size: .75rem;
}

.hero-media {
  position: relative;
}
.hero-media > img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.hero-card {
  position: absolute;
  left: -28px;
  bottom: -36px;
  width: 320px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hero-card-label {
  font-size: .75rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.hero-card-value {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1rem;
}
.badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-green { background: var(--green-50); color: var(--green-700); }
.hero-card-stars { color: var(--gold-500); font-size: 1rem; letter-spacing: 2px; }

@media (max-width: 980px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media > img { height: 360px; }
  .hero-card { left: 12px; right: 12px; width: auto; bottom: -28px; }
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--green-700);
  font-weight: 800;
}
.stat span {
  color: var(--ink-500);
  font-size: .9rem;
  font-weight: 500;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--ink-500); font-size: 1.05rem; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  height: 260px;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--green-600);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.product-tag.tag-gold { background: var(--gold-500); color: #1d1500; }

.product-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feature-list {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-700);
}
.feature-list .dot {
  flex: 0 0 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--green-500);
  border-radius: 999px;
}
.product-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

@media (max-width: 880px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */
.how { background: var(--bg-soft); }
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
}
.step-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--green-500);
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.why-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  height: 540px;
  object-fit: cover;
}
.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 16px;
}
.why-point h4 { margin: 6px 0 4px; }
.why-point p { font-size: .92rem; color: var(--ink-500); margin: 0; }
.why-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--green-50);
  border-radius: 12px;
  font-size: 1.15rem;
}
@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-media img { height: 360px; }
  .why-points { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink-900);
  line-height: 1.55;
}
.testimonial blockquote::before { content: "“"; color: var(--green-500); font-size: 2rem; line-height: 0; vertical-align: -10px; margin-right: 4px; font-family: serif; }
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial figcaption img {
  width: 44px; height: 44px;
  border-radius: 999px;
  object-fit: cover;
}
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--ink-500); font-size: .85rem; }

@media (max-width: 880px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.faq-head h2 { margin-bottom: 14px; }
.faq-head p { color: var(--ink-500); }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list details[open] summary { color: var(--green-700); }
.faq-list summary {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--green-600);
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 10px 0 0; color: var(--ink-500); }

@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CTA / Form ---------- */
.cta {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(245,180,0,.10), transparent 60%),
    linear-gradient(135deg, var(--green-900) 0%, #082619 100%);
  color: #e6f3ec;
  padding: 96px 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.cta-copy h2 { color: #fff; max-width: 460px; }
.cta-copy p { color: #c6d9d0; font-size: 1.08rem; max-width: 460px; }
.cta-bullets {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-bullets li {
  color: #d8efe5;
  font-weight: 500;
}

.apply-form {
  background: #fff;
  color: var(--ink-900);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.apply-form h3 { margin-bottom: 18px; }
.apply-form label {
  display: block;
  margin-bottom: 14px;
}
.apply-form span {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-700);
}
.apply-form input,
.apply-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--ink-900);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.apply-form input:focus,
.apply-form select:focus {
  outline: 0;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(26,164,115,.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.legal {
  font-size: .78rem;
  color: var(--ink-500);
  margin-top: 14px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 64px 0 96px;
  background: #fff;
}
.legal-container {
  max-width: 820px;
}
.legal-page h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 8px;
}
.legal-page h2 {
  font-size: 1.25rem;
  margin: 32px 0 10px;
  color: var(--ink-900);
}
.legal-page p, .legal-page li {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-page ul {
  padding-left: 22px;
  margin: 8px 0 16px;
}
.legal-page ul li { margin-bottom: 6px; }
.legal-updated {
  color: var(--ink-500);
  font-size: .92rem;
  margin-bottom: 20px;
}
.legal-contact {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 12px 0 24px;
}
.legal-disclaimer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: .9rem;
  font-style: italic;
}

/* ---------- SMS consent checkbox ---------- */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 18px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.consent input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--green-600);
  flex: 0 0 auto;
}
.consent span {
  display: block;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-700);
  font-weight: 400;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}
.consent a {
  color: var(--green-700);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a1419;
  color: #b8c6cf;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer h5 {
  color: #fff;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #b8c6cf; }
.footer a:hover { color: #fff; }
.footer-brand p { color: #8ea0ac; margin: 14px 0 18px; max-width: 360px; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .92rem;
}
.footer-contact > * {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d3dde4;
}
.footer-bottom {
  border-top: 1px solid #1a2730;
  padding: 22px 0;
  font-size: .82rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #8ea0ac;
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
