
:root {
  --color-primary: #2265af;
  --color-primary-dark: #1e262c;
  --color-bg: #0b1016;
  --color-surface: #111822;
  --color-surface-alt: #151d28;
  --color-text: #f5f7fb;
  --color-muted: #a5afc3;
  --color-border: #273142;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --radius-lg: 1.5rem;
  --radius-md: 0.9rem;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #162237, #05070c 58%);
  color: var(--color-text);
  line-height: 1.6;
}

/* Layout */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #1a2639, #05070c 60%);
}

.section-intro {
  max-width: 44rem;
  color: var(--color-muted);
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 7, 12, 0.95), rgba(5, 7, 12, 0.7));
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

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

.logo {
  height: 40px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: var(--color-text);
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 2.2rem;
  right: 0;
  left: auto;
  background: #0c1017;
  border-radius: 0.9rem;
  box-shadow: var(--shadow-soft);
  padding: 0.6rem 0.4rem;
  min-width: 190px;
  max-width: min(260px, 90vw);
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 40;
  overflow-wrap: break-word;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
}

.has-submenu:hover .submenu {
  display: block;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 4px 0;
  border-radius: 999px;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 3vw + 1.4rem, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--color-muted);
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 1.4rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 0.75rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
}

.hero-stats span {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top left, #22324c, #05070c 70%);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-card h2 {
  margin-top: 0;
}

.hero-card p {
  color: var(--color-muted);
}

.hero-card ul {
  padding-left: 1.1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #2265af, #37a0ff);
  color: white;
  box-shadow: 0 14px 35px rgba(17, 103, 191, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(17, 103, 191, 0.6);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--color-text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  background: #f5f7fb;
  color: #111827;
}

.btn-light:hover {
  background: #ffffff;
}

.btn-block {
  width: 100%;
}

/* Cards & UI */

.card {
  background: radial-gradient(circle at top left, #1e2a3f, #05070c 70%);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--color-muted);
}

.card-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #9fc5ff;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.callout-box {
  background: radial-gradient(circle at top, #1e2b41, #05070c 70%);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
}

.callout-box h3 {
  margin-top: 0;
}

.callout-box p {
  color: var(--color-muted);
}

/* Pills & badges */

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.pill {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--color-muted);
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--color-text);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.badge {
  background: rgba(226, 101, 175, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.82rem;
  border: 1px solid rgba(226, 101, 175, 0.3);
}

/* Checklist */

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--color-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.32);
}

/* Page hero */

.page-hero {
  padding: 3.2rem 0 2.8rem;
  background: radial-gradient(circle at top left, #1c2940, #05070c 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-hero h1 {
  margin-bottom: 0.6rem;
}

.page-hero p {
  max-width: 40rem;
  color: var(--color-muted);
}

/* Forms */

.quote-form {
  background: radial-gradient(circle at top left, #1e2940, #05070c 65%);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 28, 0.9);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.92rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #37a0ff;
  box-shadow: 0 0 0 1px rgba(55, 160, 255, 0.4);
}

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

/* Map placeholder */

.map-placeholder {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.24);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* CTA strip */

.cta-strip {
  background: linear-gradient(135deg, #2265af, #3b82f6);
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: white;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #05070c;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  font-size: 0.9rem;
}

.site-footer h4 {
  margin-top: 0;
}

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

.site-footer a {
  color: var(--color-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 1.5rem;
  padding-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Responsive */

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

  .hero-image {
    justify-content: flex-start;
  }

  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    inset: 3.2rem 1rem auto;
    background: #05070c;
    border-radius: 1rem;
    padding: 1rem 1rem 0.8rem;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0.6rem;
    border: none;
    padding-left: 0.5rem;
    margin-top: 0.2rem;
    background: transparent;
  }

  .nav-toggle {
    display: inline-flex;
  }
}
