:root {
  --bg: #08111f;
  --bg-soft: #0d1829;
  --panel: rgba(17, 30, 49, 0.78);
  --panel-strong: #101b2d;
  --text: #e7eef9;
  --muted: #aab9cf;
  --line: rgba(154, 181, 212, 0.16);
  --accent: #55a7ff;
  --accent-soft: #9fc4e7;
  --success: #8fd6ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(93, 155, 219, 0.15), transparent 28%),
    linear-gradient(180deg, #09121f 0%, #07111d 100%);
  line-height: 1.6;
}

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

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

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(20, 35, 56, 0.52), rgba(12, 24, 40, 0.7));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 14, 23, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: min(100%, 220px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(19, 139, 255, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.75rem 1rem;
  font-size: 0.94rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #87b9ff);
  color: #05101b;
  box-shadow: 0 12px 25px rgba(76, 150, 240, 0.22);
}

.btn-outline,
.btn-ghost {
  border-color: rgba(133, 171, 212, 0.26);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero {
  padding: 4.8rem 0 4rem;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(85, 167, 255, 0.1);
  border: 1px solid rgba(85, 167, 255, 0.16);
  color: var(--accent-soft);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.info-card p,
.panel-card p,
.about-grid p,
.blog-note p,
.footer p,
.form-note,
.contact-card span:last-child {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}

.hero-points li,
.trust-items span,
.contact-card,
.info-card,
.stats-card,
.blog-note,
.contact-form,
.panel-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-points li,
.trust-items span {
  padding: 1rem 1.1rem;
  border-radius: 18px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 28, 47, 0.92), rgba(11, 21, 36, 0.92));
}

.panel-main {
  min-height: 220px;
}

.panel-main h2,
.panel-card h3 {
  margin: 0.5rem 0;
}

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

.hero-logo {
  width: min(100%, 430px);
  margin: 0.35rem auto 0.85rem;
  filter: drop-shadow(0 10px 24px rgba(19, 139, 255, 0.18));
}

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

.panel-label,
.card-badge,
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 20, 33, 0.68);
}

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

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.left-align {
  text-align: left;
  margin-left: 0;
}

.services-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: stretch;
}

.info-card,
.blog-note,
.contact-card,
.stats-card,
.contact-form {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.featured-card {
  background: linear-gradient(180deg, rgba(20, 38, 63, 0.95), rgba(10, 19, 34, 0.96));
}

.info-card h3,
.blog-card h3 {
  margin: 0.6rem 0 0.7rem;
}

.info-card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.stats-card {
  display: grid;
  gap: 1rem;
}

.stat-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.stat-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-soft);
}

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

.blog-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--accent-soft);
  font-size: 0.86rem;
}

.blog-link {
  margin-top: 1rem;
  display: inline-flex;
  color: var(--success);
  font-weight: 600;
}

.section-contact {
  padding-bottom: 6rem;
}

.contact-grid {
  align-items: start;
}

.contact-card {
  margin: 1rem 0;
}

.contact-card.muted {
  opacity: 0.88;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(154, 181, 212, 0.18);
  border-radius: 16px;
  background: rgba(7, 14, 24, 0.8);
  padding: 0.95rem 1rem;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(104, 175, 255, 0.24);
  border-color: rgba(104, 175, 255, 0.35);
}

.hidden-field {
  display: none;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 18, 0.82);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0;
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
  max-width: 460px;
}

.footer-logo {
  width: min(100%, 230px);
  filter: drop-shadow(0 8px 18px rgba(19, 139, 255, 0.14));
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.95rem;
}

.form-status.success {
  color: #9cebb4;
}

.form-status.error {
  color: #ffb3b3;
}

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

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

  .brand-logo {
    width: 190px;
  }
}

@media (max-width: 860px) {
  .nav-wrap,
  .footer-wrap,
  .hero-grid,
  .about-grid,
  .contact-grid,
  .trust-items,
  .panel-grid,
  .card-grid,
  .services-grid,
  .blog-grid,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .nav-wrap,
  .footer-wrap {
    display: grid;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero h1 {
    max-width: none;
  }

  .brand-logo,
  .footer-logo {
    width: 170px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .topbar {
    position: static;
  }

  .brand-logo {
    width: 150px;
  }

  .hero-logo {
    width: 100%;
  }
}
