:root {
  --brand-50: #f1f7ff;
  --brand-100: #dce9ff;
  --brand-200: #b9d4ff;
  --brand-300: #8cb8ff;
  --brand-400: #5f95ff;
  --brand-500: #3477f5;
  --brand-600: #1e5ed8;
  --brand-700: #1447a8;
  --brand-800: #123b87;
  --brand-900: #102f66;
  --ink: #0f1e38;
  --ink-70: rgba(15, 30, 56, 0.7);
  --ink-60: rgba(15, 30, 56, 0.6);
  --ink-50: rgba(15, 30, 56, 0.5);
  --ink-30: rgba(15, 30, 56, 0.3);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #f9fafb;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  margin: 0;
}

p {
  margin: 0;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.accent {
  color: var(--brand-200);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--brand-100);
  color: var(--brand-700);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(30, 94, 216, 0.6);
}

.btn-primary:hover {
  background: var(--brand-700);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.5);
}

.btn-light:hover {
  background: var(--brand-100);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: #fff;
  color: var(--brand-100);
}

.btn-outline-dark {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline-dark:hover {
  background: #fff;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-600);
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--brand-700);
}

.text-link svg {
  width: 1rem;
  height: 1rem;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1.5rem 0;
}

.nav-surface {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px -16px rgba(15, 30, 56, 0.4);
  backdrop-filter: blur(16px);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled .nav-surface {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(17, 47, 105, 0.12);
  color: var(--ink);
  box-shadow: 0 8px 32px -12px rgba(17, 47, 105, 0.2);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: inherit;
}

.nav-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  border: 1px solid var(--brand-100);
  background: #fff;
  padding: 0.25rem;
  box-shadow: 0 6px 18px -10px rgba(15, 30, 56, 0.4);
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: inherit;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav:not(.scrolled) .nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.site-nav.scrolled .nav-link {
  color: rgba(15, 30, 56, 0.75);
}

.site-nav.scrolled .nav-link:hover {
  background: rgba(17, 47, 105, 0.08);
  color: var(--brand-800);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta {
  display: none;
  padding: 0.6rem 1.25rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--brand-200);
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-800);
  box-shadow: 0 4px 12px -8px rgba(15, 30, 56, 0.4);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-menu {
  position: fixed;
  inset: 6rem 0 auto 0;
  z-index: 40;
  padding: 0 1.5rem;
}

.mobile-menu-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-100);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 60px -30px rgba(15, 30, 56, 0.45);
  backdrop-filter: blur(16px);
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile-link {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  transition: background-color 0.2s ease;
}

.mobile-link:hover {
  background: var(--brand-50);
}

.mobile-cta {
  margin-top: 0.75rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 30, 56, 0.85), rgba(15, 30, 56, 0.7) 55%, rgba(20, 71, 168, 0.3));
}

.hero-content {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding-top: 9rem;
  padding-bottom: 8rem;
  color: #fff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.7);
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.badge-strong {
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-copy {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(1.875rem, 1.2rem + 3vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.hero-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 600px;
  margin: 0;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(6px);
}

.stat dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.35rem;
}

.stat dd {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: #fff;
}

.stat-wide {
  grid-column: span 2;
}

.section {
  padding: 4rem 0;
}

.section-white {
  background: #fff;
}

.section-tint {
  background: linear-gradient(135deg, var(--brand-50), #fff 55%, var(--brand-50));
}

.section-fade {
  background: linear-gradient(to bottom, rgba(241, 247, 255, 0.4), #fff);
}

.section-contact {
  background: linear-gradient(135deg, var(--brand-50), rgba(241, 247, 255, 0.5) 55%, #fff);
}

.section-head {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.section-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-70);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.card-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-70);
}

.service-grid {
  display: grid;
  gap: 3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 18px 50px -30px rgba(15, 30, 56, 0.55);
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--brand-500);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1rem;
  color: var(--brand-700);
  margin-bottom: 0.25rem;
}

.feature-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-70);
}

.about-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2.3rem;
  border: 1px solid var(--brand-100);
  background: #fff;
  box-shadow: 0 28px 80px -45px rgba(17, 47, 105, 0.3);
}

.about-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.step-grid {
  display: grid;
  gap: 1.5rem;
}

.step {
  border: 1px solid var(--brand-100);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 12px 40px -30px rgba(15, 30, 56, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-alt {
  background: linear-gradient(135deg, #fff, rgba(241, 247, 255, 0.5));
}

.step .card-title {
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.project-grid {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid var(--brand-100);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 1.75rem;
  box-shadow: 0 12px 40px -30px rgba(15, 30, 56, 0.4);
}

.project-img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-radius: 1rem;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-card .card-title {
  font-size: 1.25rem;
}

.testimonial {
  position: relative;
  overflow: hidden;
  border-radius: 2.6rem;
  box-shadow: 0 30px 80px -45px rgba(17, 47, 105, 0.35);
}

.testimonial-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 30, 56, 0.8), rgba(15, 30, 56, 0.65) 50%, transparent);
}

.testimonial-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem;
  color: #fff;
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.7;
}

.testimonial-author {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2.5rem;
  padding: 1.5rem;
  box-shadow: 0 30px 80px -45px rgba(17, 47, 105, 0.35);
  backdrop-filter: blur(8px);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-value {
  font-family: var(--heading);
  font-size: 1.5rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

a.contact-value:hover {
  color: var(--brand-600);
}

.contact-note {
  font-size: 0.875rem;
  color: var(--ink-60);
}

.form-card {
  margin-top: 3rem;
  border: 1px solid var(--brand-100);
  border-radius: 1rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 12px 40px -30px rgba(15, 30, 56, 0.4);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
  overflow: hidden;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--brand-100);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(15, 30, 56, 0.4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(52, 119, 245, 0.2);
}

.form-submit {
  align-self: flex-start;
  padding: 0.85rem 2rem;
}

#contact-form .g-recaptcha {
  transform-origin: left center;
  max-width: 100%;
}

.site-footer {
  background: linear-gradient(to bottom, #fff, rgba(241, 247, 255, 0.6));
  padding: 4rem 1.5rem;
  color: var(--ink);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo {
  width: 12rem;
  height: auto;
  border-radius: 1.5rem;
  border: 2px solid var(--brand-100);
  background: #fff;
  padding: 0.75rem;
  box-shadow: 0 18px 50px -30px rgba(15, 30, 56, 0.4);
}

.footer-name {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--brand-700);
}

.footer-tagline {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-70);
}

.footer-cols {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(220, 233, 255, 0.6);
}

.footer-heading {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brand-700);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--ink-70);
  margin-bottom: 0.5rem;
}

.footer-col a {
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand-600);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-70);
}

.footer-links .sep {
  color: var(--ink-30);
}

.footer-bottom {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  border-top: 1px solid rgba(220, 233, 255, 0.6);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-50);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .current {
  color: #fff;
}

.page-hero .hero-content {
  min-height: auto;
  padding-top: 11rem;
  padding-bottom: 5rem;
  gap: 2rem;
}

.info-grid {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  border: 1px solid var(--brand-100);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 12px 40px -30px rgba(15, 30, 56, 0.4);
}

.info-card.alt {
  background: linear-gradient(135deg, #fff, rgba(241, 247, 255, 0.5));
}

.info-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 48rem;
}

.faq-item {
  border: 1px solid var(--brand-100);
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 40px -32px rgba(15, 30, 56, 0.4);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-70);
}

.cross-link {
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .section {
    padding: 5rem 0;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
  }
  .stat-wide {
    grid-column: auto;
  }
  .hero-actions {
    align-items: center;
  }
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-actions {
    flex-direction: row;
  }
  .contact-panel {
    padding: 2.5rem;
  }
  .form-card {
    padding: 2rem;
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-content {
    width: 60%;
    padding: 3rem;
  }
  .testimonial-quote {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  #mobileMenu {
    display: none;
  }
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .step-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 400px) {
  #contact-form .g-recaptcha {
    transform: scale(0.85);
  }
}

@media (max-width: 340px) {
  #contact-form .g-recaptcha {
    transform: scale(0.75);
  }
}
