:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #0f172a;
  --bg-alt: #131f39;
  --surface: #17263f;
  --text: #e2e8f0;
  --muted: #a8b5cc;
  --border: rgba(148, 163, 184, 0.22);
  --radius: 18px;
  --shadow-soft: 0 12px 28px rgba(2, 6, 23, 0.35);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.3), 0 14px 32px rgba(37, 99, 235, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(60rem 24rem at 88% -2%, rgba(37, 99, 235, 0.24), transparent),
    radial-gradient(42rem 20rem at -2% 16%, rgba(6, 182, 212, 0.14), transparent),
    var(--bg);
  line-height: 1.65;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5.25rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(19, 31, 57, 0.6), rgba(19, 31, 57, 0.85));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-badge {
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  padding: 0.48rem 0.58rem;
  color: #ffffff;
  background: linear-gradient(140deg, #2b6fff, #1f4dd8);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.38);
}

.logo-wordmark {
  color: #d8ecff;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #f8fbff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  padding: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.27rem;
  background: var(--text);
}

.hero {
  padding-top: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: stretch;
}

.kicker {
  color: #8fb4ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  line-height: 1.16;
  max-width: 16ch;
}

.hero-subtext {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.8rem 1.15rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  color: #dbe7ff;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(23, 38, 63, 0.66);
}

.hero-panel,
.service-card,
.trust-card,
.contact-form {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 38, 63, 0.92), rgba(23, 38, 63, 0.7));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 1.4rem;
}

.hero-panel h2,
#services h2,
.trust h2,
#about h2,
#contact h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin-bottom: 0.9rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.hero-panel li + li {
  margin-top: 0.7rem;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.15rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.35), 0 14px 34px rgba(2, 132, 199, 0.24);
}

.icon {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.26), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(147, 197, 253, 0.35);
}

.service-card h3,
.trust-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.service-card p,
.trust-card p,
#about p,
.contact-meta,
label {
  color: var(--muted);
}

.trust {
  padding-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  padding: 1.1rem;
}

.about-wrap {
  max-width: 68ch;
}

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

.contact-meta + .contact-meta {
  margin-top: 0.35rem;
}

.contact-meta a {
  color: #dbe7ff;
  text-decoration: none;
}

.contact-meta a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: 1.15rem;
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

input,
textarea {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.8rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #f8fbff;
}

@media (max-width: 1040px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .trust-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.25rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 75px;
    right: 4%;
    width: min(280px, 90%);
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.95rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

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