.registro-visitante {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(55, 130, 80, 0.25);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 24px rgba(31, 90, 58, 0.12);
}

.registro-visitante--sent {
  padding: 1.4rem 1.2rem;
}

.registro-visitante--sent h3 {
  margin-bottom: 0.5rem;
}

.registro-visitante h3 {
  text-align: center;
  color: #1f5a3a;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
}

.form-disabled-notice {
  max-width: 700px;
  margin: 0 auto 1.25rem;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid rgba(202, 67, 83, 0.35);
  border-radius: 10px;
  background: rgba(202, 67, 83, 0.08);
  color: #8e2431;
  font-weight: 600;
  line-height: 1.5;
}

.form-disabled-notice a {
  color: #8e2431;
  text-decoration: underline;
}

.form-registro {
  display: grid;
  gap: 1.8rem;
  max-width: 700px;
  margin: 0 auto;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.form-registro--closing {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #2f6042;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1.1rem;
  border: 1.5px solid rgba(55, 130, 80, 0.3);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #2f6042;
  background: rgba(255, 255, 255, 0.95);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1f5a3a;
  box-shadow: 0 0 0 3px rgba(31, 90, 58, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(47, 96, 66, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.fecha-help-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #2f6042;
  line-height: 1.4;
  padding: 0.6rem 0.8rem;
  background: rgba(31, 90, 58, 0.08);
  border-left: 3px solid #1f5a3a;
  border-radius: 4px;
}

.fecha-help-text strong {
  color: #1f5a3a;
  font-weight: 700;
}

.privacy-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.privacy-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #1f5a3a;
  border: 1.5px solid rgba(55, 130, 80, 0.4);
  border-radius: 4px;
}

.privacy-checkbox label {
  margin: 0;
  font-weight: 500;
  color: #2f6042;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-checkbox a {
  color: #1f5a3a;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(31, 90, 58, 0.4);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.privacy-checkbox a:hover {
  color: #0d6338;
  border-bottom-color: #0d6338;
}

.btn-submit {
  align-self: center;
  justify-self: center;
  display: block;
  margin: 0 auto;
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, #1f5a3a, #3d935f);
  color: #f6fff6;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(27, 78, 49, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(23, 71, 43, 0.34);
  filter: brightness(1.03);
}

.btn-submit:active {
  transform: translateY(0) scale(0.99);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  text-align: center;
  min-height: 24px;
  margin-top: 1rem;
}

.form-status.success {
  color: #1f5a3a;
  font-weight: 600;
}

.form-status.error {
  color: #d32f2f;
  font-weight: 600;
  white-space: pre-line;
}

.museo-intro {
  margin: 2.5rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(16, 35, 78, 0.05), rgba(31, 90, 58, 0.08));
  border: 1px solid rgba(31, 90, 58, 0.15);
  border-radius: var(--border-radius-lg);
  max-width: 900px;
}

.intro-content {
  text-align: center;
}

.intro-content p {
  color: #2f6042;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.intro-content strong {
  color: #1f5a3a;
  font-weight: 700;
}

.link-historia {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #1f5a3a;
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border: 2px solid #1f5a3a;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.link-historia:hover {
  background: #1f5a3a;
  color: white;
  transform: translateX(4px);
}

.link-historia i {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .museo-intro {
    padding: 1.5rem;
    margin: 1.8rem auto;
  }

  .intro-content p {
    font-size: 0.9rem;
  }

  .link-historia {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .registro-visitante {
    padding: 1.8rem;
    margin-top: 2.5rem;
  }

  .form-registro {
    gap: 1.5rem;
  }

  .btn-submit {
    width: 100%;
    max-width: 340px;
  }
}

