* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #102542;
  color: #102542;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(10, 18, 31, 0.45), rgba(10, 18, 31, 0.7)),
    url("background.png") center center / cover no-repeat;
  z-index: -2;
}

body.modal-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
  background: transparent;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 760px);
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(8, 18, 33, 0.56);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  color: #f4f7fb;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: #b9c9ea;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
}

.message {
  margin: 1rem 0 0;
  font-size: 1.1rem;
  color: #d9e3f7;
}

.contact-link {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #102542;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
}

.content {
  width: 100%;
  padding: 0;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  border-radius: 0;
  background: rgba(8, 18, 33, 0.56);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  text-align: center;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer p {
  margin: 0 0 1rem;
  color: #d9e3f7;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 20;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 20, 0.7);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  padding: 2rem;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.modal-panel h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.modal-panel p {
  margin-bottom: 1.5rem;
  color: #3b516d;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: #102542;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #c7d3e0;
  border-radius: 14px;
  font: inherit;
}

.contact-form button {
  margin-top: 0.5rem;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #102542;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  .hero-content,
  .site-footer,
  .modal-panel {
    padding: 1.5rem;
  }

  .hero {
    padding: 1rem 1rem 0.75rem;
  }

  .content {
    padding: 0;
  }
}
