* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: #18212b;
  background: #f5f7fa;
}

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

img {
  max-width: 100%;
}

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245,247,250,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d8e0ea;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 96px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.site-header .brand img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(420px, 58vw) !important;
  max-height: 72px !important;
  object-fit: contain;
}

.site-footer .footer-brand img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(320px, 46vw) !important;
  max-height: 58px !important;
  object-fit: contain;
}

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

.nav a {
  color: #314152;
  font-weight: 600;
}

.nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #1d3b63;
  color: #fff !important;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: #56708e;
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

.lead,
.section p,
li {
  font-size: 1.05rem;
}

.info-card,
.consultation-form {
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(22, 34, 50, 0.06);
}

.cta-stack {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0.8rem;
  max-width: 360px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  font-weight: 650;
  border: 1px solid #1d3b63;
}

.btn-primary {
  background: #1d3b63;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #1d3b63;
}

.micro,
.consent,
.service-area {
  color: #4f6175;
  font-size: 0.95rem;
}

.service-area {
  margin-top: -0.15rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.section {
  padding: 4rem 0;
}

.alt {
  background: #ebf0f6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-card {
  padding: 1.2rem;
}

.consultation-form {
  padding: 1.2rem;
  margin-top: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c6d1dd;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fff;
  font: inherit;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-actions {
  display: grid;
  gap: 0.75rem;
}

.plain-list {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid #d8e0ea;
  background: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
}

@media (max-width: 980px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .site-header .brand img {
    max-width: min(360px, 84vw) !important;
    max-height: 68px !important;
  }

  .site-footer .footer-brand img {
    max-width: min(280px, 74vw) !important;
    max-height: 52px !important;
  }
}

@media (max-width: 860px) {
  .info-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
