/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-light: #dbeafe;
  --accent: #f59e0b;
  --text: #111827;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
}
.btn--sm  { padding: 8px 18px; font-size: 14px; }
.btn--lg  { padding: 14px 28px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(29,78,216,.35); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--ghost:hover { background: var(--blue-light); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.nav--scrolled { box-shadow: var(--shadow-lg); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
}
.nav__logo span { color: var(--blue); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a:not(.btn) {
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s;
}
.nav__links a:not(.btn):hover { color: var(--blue); }

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.nav__mobile.open { display: flex; }
.nav__mobile a:not(.btn) {
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.nav__mobile .btn { margin-top: 14px; justify-content: center; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
  overflow: hidden;
}

/* Decorative glass-pane grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(29,78,216,.3) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 680px;
  padding: 80px 24px;
}

.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  letter-spacing: .4px;
}

.hero__content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}

.hero__content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--blue-dark);
  color: #fff;
  padding: 16px 0;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  opacity: .9;
}

/* ── Sections ── */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }

.section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section__label {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 14px;
}

.section__header p { color: var(--text-muted); font-size: 1.05rem; }

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; }

/* ── Why Us ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.why__text .section__label { display: block; margin-bottom: 10px; }

.why__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 16px;
}

.why__text > p { color: var(--text-muted); margin-bottom: 32px; }

.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.why__list li strong { display: block; font-weight: 700; margin-bottom: 2px; }
.why__list li p { color: var(--text-muted); font-size: .92rem; margin: 0; }

.why__stat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.stat__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat__label { font-size: .8rem; color: var(--text-muted); font-weight: 600; }

.why__cta-box {
  background: var(--blue-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why__cta-box p { font-weight: 600; font-size: 1.05rem; margin: 0; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}

.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(29,78,216,.12);
}

/* ── File Upload ── */
.form__optional { font-weight: 400; color: var(--text-muted); font-size: 13px; }

.file-upload {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.file-upload:hover,
.file-upload--active {
  border-color: var(--blue);
  background: var(--blue-light);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px;
  text-align: center;
  pointer-events: none;
  color: var(--text-muted);
}
.file-upload__inner svg { color: var(--blue); margin-bottom: 4px; }
.file-upload__inner p { font-size: .95rem; color: var(--text); margin: 0; }
.file-upload__inner strong { color: var(--blue); }
.file-upload__inner span { font-size: 12px; }

.file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  color: var(--text);
}
.file-item svg { flex-shrink: 0; color: var(--blue); }
.file-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item em { font-style: normal; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.file-item--error { border-color: #fca5a5; background: #fef2f2; }
.file-item--error em { color: #dc2626; }

.form__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

.form__success {
  margin-top: 16px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 600;
  text-align: center;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-info__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-info__list li svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }

.contact-info__list li strong { display: block; font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }

.contact-info__list li a,
.contact-info__list li span {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.5;
}
.contact-info__list li a:hover { color: var(--blue); }

/* ── Footer ── */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.8);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand .nav__logo { font-size: 1.2rem; margin-bottom: 12px; display: inline-block; }
.footer__brand p { font-size: .9rem; color: rgba(255,255,255,.5); max-width: 280px; line-height: 1.7; }

.footer__links h4,
.footer__contact h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
}

.footer__links a,
.footer__contact a,
.footer__contact span {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  transition: color .15s;
  line-height: 1.5;
}
.footer__links a:hover,
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: block; }

  .hero__content { padding: 60px 24px; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .trust-bar__inner { gap: 16px; }
  .trust-item { font-size: 13px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { justify-content: center; }
  .why__stat-card { grid-template-columns: 1fr 1fr; }
}
