* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --navy: #0b3a6d;
  --blue: #1e5da8;
  --light-blue: #eaf3fb;
  --ink: #17324d;
  --text: #3c4f61;
  --line: #d8e3ec;
  --white: #ffffff;
  --muted: #f6f9fc;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

a {
  color: var(--blue);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

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

.brand img {
  width: 170px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

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

.hero {
  background:
    linear-gradient(135deg, rgba(234,243,251,.95), rgba(255,255,255,.98));
  padding: 86px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
}

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.18;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 720px;
  font-size: 1.16rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  color: var(--white);
  background: var(--navy);
}

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

.btn-secondary {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--white);
}

.hero-logo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 55px rgba(11, 58, 109, .12);
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(20, 54, 83, .06);
}

.card .icon {
  color: var(--blue);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.card p {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.about-copy p:first-child {
  margin-top: 0;
}

.quality-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  color: var(--ink);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.contact-box {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--blue);
  background: var(--light-blue);
  border-radius: 8px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(20, 54, 83, .06);
}

.contact-form label {
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bccbd8;
  border-radius: 7px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(30, 93, 168, .14);
  border-color: var(--blue);
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  font-size: .93rem;
  margin: 10px 0;
}

.privacy-check input {
  width: auto;
  margin-top: 5px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.form-note {
  font-size: .85rem;
  color: #6c7d8b;
  margin: 0;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 34px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

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

.legal-page {
  padding: 70px 0 100px;
}

.legal-page .legal-card {
  max-width: 900px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px;
}

.notice {
  background: #fff7df;
  border: 1px solid #edd28c;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  color: #5e4a18;
}

.status {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--muted);
}

.status-card {
  width: min(620px, 100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  text-align: center;
}

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

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

  .hero {
    padding: 60px 0;
  }

  .hero-logo-card {
    max-width: 520px;
  }
}

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

  .nav-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .main-nav {
    gap: 16px;
    font-size: .92rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cards,
  .quality-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
