/* Formulario — Solicitar informes (estilo propuesta-45) */

/* Logo +2 cm en esta página (4 cm → 6 cm) */
.pagina-informes .nav-logo-img {
  height: 6cm;
  max-width: min(8.6cm, 52vw);
}

/* Menú centrado en viewport (compensa logo fijo a la derecha) */
@media (min-width: 1024px) {
  .pagina-informes .site-nav__inner {
    padding-right: 0;
    justify-content: center;
  }

  .pagina-informes .site-nav__menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: none;
    width: max-content;
    justify-content: center;
  }
}

.p45-informes {
  position: relative;
  z-index: 2;
}

.p45-informes__section {
  padding-top: 7.5rem !important;
}

@media (min-width: 1024px) {
  .p45-informes__section {
    padding-top: 7.75rem !important;
  }
}

.p45-informes .container {
  width: min(100% - 2rem, 560px);
  max-width: 560px;
  margin-inline: auto;
}

.informes__head {
  text-align: center;
  margin-bottom: 2rem;
}

.informes__head h1 {
  margin-bottom: 0.65rem;
}

.informes__intro {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(26, 22, 18, 0.68);
  max-width: 34rem;
  margin: 0 auto;
}

.informes__line {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 1.15rem auto 0;
  border-radius: 999px;
  background: #E3B34D;
}

.informes__form,
.informes__ok {
  background: rgba(255, 252, 250, 0.82);
  border: 1px solid rgba(26, 22, 18, 0.08);
  border-radius: 20px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 12px 36px rgba(26, 22, 18, 0.06);
}

.informes__field {
  margin-bottom: 1rem;
}

.informes__field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.55);
  margin-bottom: 0.4rem;
}

.informes__field label span {
  color: #B8922E;
}

.informes__field input,
.informes__field textarea {
  width: 100%;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 0.92rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(26, 22, 18, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  color: #1a1612;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.informes__field input::placeholder,
.informes__field textarea::placeholder {
  color: rgba(26, 22, 18, 0.38);
}

.informes__field input:focus,
.informes__field textarea:focus {
  outline: none;
  border-color: rgba(227, 179, 77, 0.65);
  box-shadow: 0 0 0 3px rgba(227, 179, 77, 0.18);
  background: #fff;
}

.informes__field input:invalid:not(:placeholder-shown),
.informes__field textarea:invalid:not(:placeholder-shown) {
  border-color: #c53030;
}

.informes__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.informes__row .informes__field {
  margin-bottom: 0;
}

.informes__hint {
  min-height: 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: rgba(26, 22, 18, 0.62);
}

.informes__hint.is-error {
  color: #c53030;
}

.informes__hint.is-ok {
  color: #B8922E;
}

.informes__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.informes__actions button.p45-detail__btn {
  cursor: pointer;
  font-family: inherit;
}

.informes__actions .p45-detail__btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.informes__ok {
  text-align: center;
  padding: 2rem 1.5rem;
}

.informes__ok h2 {
  font-family: var(--font-serif, Tobias, Georgia, serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: #1a1612;
  margin-bottom: 0.5rem;
}

.informes__ok p {
  color: rgba(26, 22, 18, 0.68);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

@media (max-width: 520px) {
  .informes__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .informes__row .informes__field {
    margin-bottom: 1rem;
  }
}
