:root {
  --navy: #041f45;
  --navy-deep: #03162f;
  --blue: #1479d1;
  --blue-bright: #1689ea;
  --blue-soft: #e8f4ff;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light-gray: #edf1f5;
  --text: #17283a;
  --muted: #627180;
  --border: #d8e0e8;
  --success: #1f7a4f;
  --shadow: 0 18px 42px rgba(4, 31, 69, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

/* Header */

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.header-logo {
  display: block;
  width: 220px;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: var(--white);
  padding: 12px 18px;
  box-shadow: 0 8px 18px rgba(20, 121, 209, 0.22);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* Hero */

.hero {
  padding: 78px 0 64px;
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(22, 137, 234, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #ffffff 0%, #f3f8fd 52%, #e8f4ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.hero-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  max-width: 760px;
}

.hero p {
  margin: 22px 0 28px;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(20, 121, 209, 0.24);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(20, 121, 209, 0.22);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--blue-bright));
}

.hero-card h2 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.hero-card p {
  margin: 0 0 20px;
  font-size: 0.98rem;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(90deg, var(--blue-soft), #f7fbff);
  border: 1px solid rgba(20, 121, 209, 0.12);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 700;
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
}

/* General sections */

.section {
  padding: 72px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
  max-width: 650px;
  margin: 12px auto 0;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.feature h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

/* Contact section */

.contact-section {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 78px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 38px;
  align-items: start;
}

.contact-copy {
  color: var(--white);
  padding-top: 12px;
}

.contact-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.contact-copy p {
  margin: 0 0 22px;
  color: #d9e8ef;
}

.contact-details {
  display: grid;
  gap: 12px;
  font-size: 0.98rem;
}

.contact-details strong {
  color: var(--white);
}

.contact-details span,
.contact-details a {
  color: #d9e8ef;
  text-decoration: none;
}

/* Form */

form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 127, 166, 0.12);
}

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

.help-text {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

legend {
  margin-bottom: 9px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.service-checkboxes {
  display: block;
}

.service-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--off-white);
  color: var(--text);
  font-weight: 400;
  cursor: pointer;
}

.checkbox-option:hover {
  border-color: var(--blue);
}

.checkbox-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.checkbox-option span {
  line-height: 1.35;
}

.submit-button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: var(--white);
  padding: 15px 20px;
  box-shadow: 0 10px 22px rgba(20, 121, 209, 0.22);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  opacity: 0.93;
}

.privacy-note {
  margin: 13px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Thank-you page */

.thank-you-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.thank-you-main {
  display: grid;
  place-items: center;
  padding: 60px 0;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(22, 137, 234, 0.2),
      transparent 32%
    ),
    linear-gradient(135deg, #ffffff, var(--blue-soft));
}

.thank-you-card {
  width: min(650px, 100%);
  padding: 40px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thank-you-card h1 {
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  margin-bottom: 16px;
}

.thank-you-card p {
  color: var(--muted);
  margin: 0 0 26px;
}

/* Footer */

footer {
  position: relative;
  padding: 28px 0;
  background: var(--navy-deep);
  color: #cfdee6;
  text-align: center;
  font-size: 0.9rem;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue-bright));
}

/* Responsive styles */

@media (max-width: 850px) {
  .hero-grid,
  .contact-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-card {
    max-width: 650px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 74px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .header-logo {
    width: clamp(112px, 35vw, 145px);
    max-height: 56px;
  }

  .nav-link {
    padding: 11px 13px;
    font-size: clamp(0.76rem, 3.25vw, 0.88rem);
  }

  .form-row,
  .service-options-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-options-grid {
    gap: 9px;
  }

  form,
  .hero-card,
  .thank-you-card {
    padding: 22px;
  }

  .section,
  .contact-section {
    padding: 58px 0;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 20px, 1120px);
  }

  .header-logo {
    width: 108px;
  }

  .nav-link {
    padding: 10px 11px;
    font-size: 0.75rem;
  }
}
