:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --text: #0f1f4a;
  --muted: #4e5f89;
  --brand: #0a1e4f;
  --brand-soft: #173578;
  --accent: linear-gradient(125deg, #00a7ff 0%, #3be0b8 100%);
  --radius: 16px;
  --shadow: 0 14px 36px rgba(10, 30, 79, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 0%, rgba(59, 224, 184, 0.18), transparent 45%),
    radial-gradient(circle at 0% 20%, rgba(0, 167, 255, 0.16), transparent 38%),
    var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3.75rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(2px);
}

#services {
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    url("hero-bg.png") center/cover no-repeat;
}

h1,
h2,
h3 {
  color: var(--brand);
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(1.95rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section-intro {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(10, 30, 79, 0.09);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
}

.brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--brand-soft);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  background: #e5efff;
  color: #0f327b;
  margin-bottom: 1rem;
}

.hero {
  padding-top: 4.2rem;
  position: relative;
  overflow: hidden;
  background: url("hero-bg.png") center/cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 44%, rgba(255, 255, 255, 0.5) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.lead {
  font-size: 1.05rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.hero-card {
  border-radius: var(--radius);
  padding: 1.2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

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

.hero-card li + li {
  margin-top: 0.5rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 20px rgba(0, 80, 130, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 80, 130, 0.27);
}

.btn-secondary {
  background: #dce8ff;
  color: var(--brand);
  box-shadow: none;
}

.btn-small {
  padding: 0.52rem 0.95rem;
  font-size: 0.88rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card-highlight {
  background: linear-gradient(155deg, #0a1e4f, #12357f);
}

.card-highlight h3,
.card-highlight p {
  color: #f7fbff;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.7rem;
  background: linear-gradient(125deg, #00a7ff 0%, #0a1e4f 100%);
}

.template-card {
  border: 1px solid rgba(10, 30, 79, 0.08);
}

.contact-grid {
  display: grid;
  gap: 1.2rem;
}

.trust-strip {
  display: inline-block;
  font-weight: 700;
  color: var(--brand);
  background: #e9f2ff;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.lead-form label {
  display: block;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 31, 74, 0.18);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: var(--text);
  margin-bottom: 0.85rem;
  background: #fdfefe;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(0, 167, 255, 0.45);
  border-color: rgba(0, 167, 255, 0.45);
}

.form-note {
  margin-top: 0.65rem;
  font-size: 0.9rem;
}

.google-form-embed {
  width: 100%;
  min-height: 500px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.site-footer {
  background: #0a1e4f;
  padding: 2rem 0;
  color: #d9e6ff;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: #d9e6ff;
}

.footer-contact {
  display: grid;
  gap: 0.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

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

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

  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 1.8rem;
  }

  .nav-links {
    display: flex;
  }

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

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