/* MLI Corp — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a4fa0;
  --blue-dark: #123580;
  --blue-light: #e8f0fb;
  --teal: #0e9e8a;
  --teal-light: #e6f7f5;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --text: #1e293b;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(26,79,160,.10);
  --shadow-card: 0 4px 24px rgba(26,79,160,.13);
}

body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  position: sticky; top: 0; z-index: 100;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.nav-logo {
  font-size: 1.35rem; font-weight: 800; color: var(--blue);
  letter-spacing: -.5px;
}
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { color: var(--gray); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: .45rem 1.1rem; border-radius: 6px; font-weight: 600 !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1e6b9e 60%, var(--teal) 100%);
  color: var(--white);
  padding: 5rem 2rem 4.5rem;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; max-width: 820px; margin: 0 auto .75rem; }
.hero p { font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; opacity: .92; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: .7rem 1.7rem; border-radius: 7px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all .2s; border: none; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: #e8f0fb; text-decoration: none; color: var(--blue); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.1); text-decoration: none; color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); text-decoration: none; color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #0b876f; text-decoration: none; color: var(--white); }

/* ── BADGE ROW ── */
.badge-row {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  padding: .85rem 2rem;
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.badge { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--gray); font-weight: 500; }
.badge svg { color: var(--teal); }

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }
.container { max-width: 1140px; margin: 0 auto; }
.section-label { font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.25; color: var(--text); margin-bottom: 1rem; }
.section-sub { color: var(--gray); font-size: 1.05rem; max-width: 620px; margin-bottom: 3rem; }

/* ── CARD GRID ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid #e2e8f0;
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--gray); font-size: .95rem; }
.card a.card-link { display: inline-block; margin-top: 1rem; font-size: .9rem; font-weight: 600; color: var(--blue); }

/* ── SERVICES HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1e6b9e 100%);
  color: var(--white); padding: 4rem 2rem 3.5rem;
}
.page-hero .section-label { color: rgba(255,255,255,.75); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; max-width: 700px; }
.page-hero p { font-size: 1.1rem; max-width: 620px; margin-top: .75rem; opacity: .9; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; display: grid; gap: .75rem; }
.feature-list li { display: flex; align-items: flex-start; gap: .65rem; }
.feature-list li::before { content: "✓"; color: var(--teal); font-weight: 800; flex-shrink: 0; margin-top: .1rem; }

/* ── TWO COL ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media(max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ── STAT ROW ── */
.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.stat { text-align: center; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat .lbl { font-size: .85rem; color: var(--gray); margin-top: .2rem; }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial {
  background: var(--white); border: 1px solid #e2e8f0;
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow);
}
.testimonial blockquote { font-size: .97rem; color: var(--text); line-height: 1.7; font-style: italic; }
.testimonial cite { display: block; margin-top: .75rem; font-size: .85rem; color: var(--gray); font-style: normal; font-weight: 600; }
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: .5rem; }

/* ── COMPLIANCE BADGES ── */
.compliance-row { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }
.comp-badge {
  background: var(--white); border: 1.5px solid #e2e8f0;
  border-radius: 8px; padding: .55rem 1.1rem;
  font-size: .82rem; font-weight: 700; color: var(--blue);
  letter-spacing: .5px;
}

/* ── LEAD FORM ── */
.lead-form-section { background: var(--blue-light); }
.lead-form-card {
  background: var(--white); border-radius: 14px;
  padding: 2.5rem; box-shadow: var(--shadow-card);
  max-width: 680px; margin: 0 auto;
}
.lead-form-card h2 { margin-bottom: .5rem; }
.lead-form-card .sub { color: var(--gray); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: .6rem .9rem; border: 1.5px solid #cbd5e1;
  border-radius: 7px; font-size: .97rem; width: 100%;
  transition: border .2s;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,79,160,.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; padding: .8rem; font-size: 1rem; margin-top: .5rem; }
.form-note { font-size: .8rem; color: var(--gray); text-align: center; margin-top: .75rem; }

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  color: var(--white); text-align: center; padding: 3.5rem 2rem;
}
.cta-strip h2 { color: var(--white); margin-bottom: .75rem; }
.cta-strip p { opacity: .9; margin-bottom: 1.75rem; }

/* ── FOOTER ── */
footer {
  background: #0f172a; color: #94a3b8;
  padding: 3rem 2rem 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; max-width: 1140px; margin: 0 auto 2rem; }
@media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.footer-brand .logo span { color: var(--teal); }
.footer-brand p { font-size: .87rem; line-height: 1.6; }
footer h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom .75rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
footer ul li a { color: #94a3b8; font-size: .87rem; }
footer ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.25rem; text-align: center; font-size: .82rem; max-width: 1140px; margin: 0 auto; }

/* ── MOBILE NAV ── */
@media(max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  section { padding: 3.5rem 1.25rem; }
}
