:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: rgba(31, 41, 55, 0.72);
  --muted-soft: rgba(31, 41, 55, 0.56);
  --blue: #00244D;
  --blue-light: #31577F;
  --line: rgba(17, 24, 39, 0.10);
  --panel: rgba(255, 255, 255, 0.96);
  --shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

a { color: inherit; }

.home-page {
  background: #ffffff;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.hero__inner {
  width: min(1200px, calc(100% - 42px));
  margin: 0 auto;
  padding: 46px 0 92px;
}

.hero__content {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow,
.hero__cta-text {
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  color: var(--muted-soft);
  letter-spacing: 0.05em;
}

.hero__eyebrow {
  margin: 0 0 18px;
}

.hero__image {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
}

.hero__cta-text {
  margin-top: 18px;
}

.hero__cta-text a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 36, 77, 0.25);
}

.hero__footer-link {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted-soft);
}

.hero__footer-link a {
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 41, 55, 0.16);
}

.footer-separator {
  margin: 0 8px;
  color: rgba(31, 41, 55, 0.30);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background: #ffffff;
}

.card {
  width: min(760px, 100%);
  padding: 30px 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card--center {
  text-align: center;
}

.card__logo {
  width: min(100%, 320px);
  display: block;
  margin: 0 0 18px;
}

.card__logo--center {
  margin-left: auto;
  margin-right: auto;
}

.card__intro {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.card__intro--center {
  text-align: center;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.98rem;
}

.form-field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.12);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  outline: none;
}

.form-field input:focus {
  border-color: rgba(0,36,77,0.70);
  box-shadow: 0 0 0 3px rgba(0,36,77,0.10);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-actions--center {
  justify-content: center;
}

.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.12);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  outline: none;
  resize: vertical;
}

.btn {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #ffffff;
}

.btn--secondary {
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
}

.plain-page {
  background: #ffffff;
}

.plain-content {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px 40px;
  color: #33241f;
  background: #ffffff;
  line-height: 1.7;
}

.plain-content a { color: var(--blue); }

@media (max-width: 900px) {
  .hero__inner {
    width: min(100%, calc(100% - 20px));
    padding: 28px 0 92px;
  }

  .hero__content {
    width: 100%;
    max-width: 420px;
  }

  .hero__image {
    width: min(100%, 430px);
  }

  .hero__eyebrow,
  .hero__cta-text {
    font-size: clamp(1.02rem, 4.2vw, 1.22rem);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions--center {
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .form-actions--center .btn {
    width: min(100%, 220px);
  }
}
