:root {
  --primary: #0057b7;
  --primary-dark: #004091;
  --accent: #00a884;
  --bg: #f7f7fb;
  --text: #222222;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-strong: #cbd5e1;
  --field-bg: #f9fafb;
  --radius: 8px;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.top-bar {
  background: #0b1727;
  color: #f9fafb;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.35rem 1.25rem;
  text-align: center;
}

.top-bar a {
  color: #f9fafb;
  font-weight: 500;
}

.top-bar span.separator {
  margin: 0 0.5rem;
  opacity: 0.6;
}

.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo a {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
  text-decoration: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.25rem 0.75rem;
}

.nav-links a {
  padding: 0.4rem 0;
  font-size: 0.98rem;
  color: #111827;
}

.nav-links a.btn-primary {
  margin-top: 0.2rem;
}

.nav-links.nav-open {
  display: flex;
}

.nav-toggle.nav-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.nav-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.nav-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 768px) {
  .main-header-inner {
    padding: 1rem 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: none;
    padding: 0;
    gap: 1rem;
  }

  .nav-links a {
    padding: 0;
    font-size: 0.95rem;
  }
}

/* Buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-cta {
  background: #f97316;
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.35);
  border-radius: 4px; /* rectangular orange CTAs */
}

.btn-cta:hover,
.btn-cta:focus {
  background: #ea5808;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #111827;
  font-weight: 500;
  font-size: 0.93rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #f3f4f6;
  border-color: #d1d5db;
  text-decoration: none;
}

/* Hero */

.hero {
  padding: 2.4rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: #0f172a;
}

.hero-lede {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: #111827;
}

.hero-bullets span.bullet-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: var(--primary);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-aside {
  background: linear-gradient(135deg, #ffffff, #e5efff);
  border-radius: 16px;
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.hero-aside h2 {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.hero-aside p {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-aside ul {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0.8rem;
  font-size: 0.9rem;
}

.hero-aside li::before {
  content: "• ";
  color: var(--primary);
}

.hero-aside .mini-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 2.3rem;
  }
}

/* Sections */

section {
  padding: 2.2rem 0;
}

section:nth-of-type(odd) {
  background: #ffffff;
}

.section-heading {
  margin-bottom: 1.1rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.section-heading h2 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.4rem;
  color: #0f172a;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Services grid */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1rem 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.card ul {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Pill lists */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
  margin: 0.8rem 0 0;
}

.pill-list li {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  color: #111827;
}

/* How we work */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.step {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0.85rem 0.9rem;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.1rem;
}

.step h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Pricing */

.pricing-note {
  background: #eff6ff;
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  border: 1px solid #bfdbfe;
  font-size: 0.9rem;
  color: #1f2937;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
}

.pricing-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.pricing-card p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .pricing-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* FAQ */

.faq-list {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 0.5rem 0.75rem;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-question {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.4rem 0 0.2rem;
}

.faq-answer {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact */

section#contact {
  background: #f3f4ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: flex-start;
}

.contact-copy p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-meta {
  font-size: 0.9rem;
  color: #111827;
}

.contact-meta strong {
  display: inline-block;
  min-width: 3.4rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  padding: 1.25rem 1.25rem 1.35rem;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #111827;
  font-weight: 500;
}

.form-group label span.required {
  color: #b91c1c;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--field-bg);
  color: #111827;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 0;
  border-color: transparent;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.form-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

footer {
  background: #020617;
  color: #9ca3af;
  margin-top: 2rem;
}

.footer-top {
  padding: 2rem 0 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.45rem;
}

.footer-grid a {
  color: #e5e7eb;
}

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

.footer-grid li {
  margin-bottom: 0.28rem;
}

.footer-bottom {
  border-top: 1px solid #111827;
  padding: 0.8rem 0 1.2rem;
  font-size: 0.8rem;
  text-align: center;
}

.footer-select {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.footer-select option {
  color: #111827;
  background: #f9fafb;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.4fr;
  }
}

/* Scroll to top */

#scrollTop {
  position: fixed;
  right: 1.2rem;
  bottom: 1.4rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
  z-index: 40;
}

#scrollTop.visible {
  display: flex;
}

/* Utility */

.lead {
  font-size: 0.95rem;
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  background: #ecfdf3;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  margin-right: 0.35rem;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}
