.site-footer {
  background-color: #07184f;
}

.header-shell {
  width: 100%;
  max-width: 1280px;
  padding-right: 32px;
  padding-left: 32px;
}

.hero-video-section {
  min-height: clamp(560px, 70vh, 760px);
  background: #06123a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.12);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 12, 40, 0.58) 0%, rgba(3, 12, 40, 0.34) 44%, rgba(3, 12, 40, 0.12) 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  min-height: clamp(560px, 70vh, 760px);
  margin-right: auto;
  margin-left: auto;
  padding-right: 32px;
  padding-left: 32px;
}

.hero-video-section .hero-shell > div {
  max-width: 620px;
}

.hero-video-section p {
  color: rgba(255, 255, 255, 0.88);
}

.hero-video-section h1 {
  color: #fff;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.28);
}

.hero-video-section h1 span {
  color: #7dd3fc;
}

.hero-video-section a[href="#contactos"] {
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
}

.hero-video-section a[href="#contactos"]:hover {
  background: #fff;
  color: #0b2aa8;
}

.why-layout {
  width: 100%;
  max-width: 1280px;
  padding-right: 32px;
  padding-left: 32px;
  box-sizing: border-box;
}

.contact-form-wrap {
  grid-column: 2 / -1;
  margin-top: 0;
  padding: 28px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(4, 19, 85, 0.2);
  backdrop-filter: blur(5px);
}

.contact-form-head {
  margin-bottom: 20px;
}

.contact-form-head p {
  color: #7dd3fc;
}

.contact-form-head h3 {
  color: #fff;
  font-size: 22px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 20px;
}

.contact-fields-stack,
.contact-message {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-message .contact-field {
  flex: 1;
}

.contact-message textarea {
  min-height: 0;
  height: 100%;
}

.contact-field label {
  color: rgba(255, 255, 255, 0.9);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 15px rgba(4, 19, 85, 0.08);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #7b8496;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.2);
}

.contact-submit {
  width: auto;
  align-self: flex-start;
  padding-inline: 26px;
  background: #fff;
  color: #0b2aa8;
  box-shadow: 0 8px 20px rgba(4, 19, 85, 0.22);
}

.contact-submit:hover {
  background: #eaf5ff;
  color: #0a2fbf;
  transform: translateY(-1px);
}

@media (max-width: 1023px) {
  .header-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-shell {
    min-height: 560px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
  }

  .why-layout {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact-form-wrap {
    grid-column: 1 / -1;
    padding: 24px 20px;
  }

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

  .contact-message textarea {
    min-height: 140px;
  }
}
