/* Instant Loans Finance — shared site styles */

:root {
  --deep-green: #0b2b1f;
  --deep-green-dark: #071d15;
  --mint: #4fd1a5;
  --mint-soft: #8fe3c5;
  --gold: #cfa54a;
  --gold-light: #e6c878;
  --cream: #f7f5ef;
  --ink: #16241d;
  --muted: #5c6d64;
  --white: #ffffff;

  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 43, 31, 0.12);
  --max-width: 1120px;

  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

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

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

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--deep-green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
}

.brand-text span {
  color: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--mint-soft);
}

.nav-cta {
  background: var(--gold);
  color: var(--deep-green-dark) !important;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--deep-green);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 400px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    width: 100%;
  }

  .nav-cta {
    margin: 10px 24px;
    display: inline-block;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--deep-green) 0%, var(--deep-green-dark) 100%);
  color: var(--white);
  padding: 90px 24px 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px;
}

.hero h1 span {
  color: var(--mint);
}

.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--deep-green-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--mint);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 24px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--deep-green);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---------- Trust points / grid ---------- */

.grid {
  display: grid;
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 800px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 43, 31, 0.06);
}

.card .icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--deep-green);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.product-card {
  border-top: 4px solid var(--gold);
}

/* ---------- Steps ---------- */

.steps {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--deep-green);
  color: var(--mint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 6px;
  color: var(--deep-green);
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 620px;
  margin: 0 auto;
}

.form-note {
  background: #fbf3df;
  border: 1px solid var(--gold);
  color: #6b551f;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--deep-green);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8ddd7;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
}

/* ---------- FAQ accordion ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e2e6e2;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep-green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question .plus {
  color: var(--gold);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--muted);
  padding: 0 4px;
}

.faq-item.open .faq-answer {
  padding-bottom: 20px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.contact-info h3 {
  color: var(--deep-green);
  margin-top: 28px;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.tbd {
  color: #a15c00;
  background: #fdf0dd;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social-row a {
  background: var(--deep-green);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.social-row a:hover {
  background: var(--mint);
  color: var(--deep-green-dark);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--deep-green-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 24px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer-grid h4 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--mint-soft);
}

.footer-disclosure {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-disclosure .flag {
  color: var(--gold-light);
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Page header (non-home pages) ---------- */

.page-header {
  background: var(--deep-green);
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.page-header p {
  color: var(--mint-soft);
  margin: 10px 0 0;
}
