@import url("backgrounds-mobile.css");
@import url("backgrounds-mobile-imagenes.css");

/* Contacto */

@media (min-width: 769px) {
  .pagina-contacto {
    background-image: url("../img/fondo1.png");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }
}

.contacto-hero {
  padding: 32px 0 24px;
  background: rgba(198, 198, 198, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.text-rojo {
  color: var(--ituarte-rojo);
}

.section-block--form {
  padding-top: 32px;
}

.contacto-panel {
  padding: clamp(18px, 4vw, 28px);
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.94);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ituarte-gris);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  border-color: #fecaca;
  color: var(--ituarte-rojo);
}

.tab-btn.active {
  background: var(--ituarte-rojo);
  border-color: var(--ituarte-rojo);
  color: #fff;
}

.tab-btn.tab-queja.active {
  background: #8b0000;
  border-color: #8b0000;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-heading {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--ituarte-negro);
}

.form-desc {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--ituarte-gris);
  line-height: 1.5;
}

.form-profesional {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-campo label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ituarte-negro);
}

.form-profesional input,
.form-profesional textarea,
.form-profesional select {
  padding: 11px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.form-profesional input:focus,
.form-profesional textarea:focus,
.form-profesional select:focus {
  outline: none;
  border-color: var(--ituarte-rojo);
  box-shadow: 0 0 0 3px rgba(255, 12, 12, 0.12);
}

.form-profesional textarea {
  resize: vertical;
  min-height: 110px;
}

.form-profesional .btn {
  align-self: flex-start;
  margin-top: 4px;
  border: none;
}

.form-perfil-seccion {
  margin-top: 20px;
  padding: 18px 18px 6px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffafa 0%, #ffffff 55%);
  border: 1px solid rgba(198, 40, 40, 0.14);
  border-left: 4px solid var(--ituarte-rojo);
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.06);
}

.form-perfil-kicker {
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #b71c1c;
  border-bottom: 2px solid rgba(255, 12, 12, 0.22);
}

.form-perfil-kicker span {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ituarte-gris);
}

.form-opc-label {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ituarte-gris);
}

.btn-queja {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  background: #8b0000 !important;
  color: #fff;
  cursor: pointer;
  border: none;
}

.btn-queja:hover {
  background: #6d0000 !important;
}

.cta-gracias {
  text-align: center;
  padding: 24px 16px 8px;
  margin-bottom: 8px;
}

.lamp-icon {
  width: 64px;
  margin: 0 auto 10px;
}

@media (max-width: 992px) {
  .pagina-contacto {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .form-fila {
    grid-template-columns: 1fr;
  }

  .tabs {
    justify-content: center;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    text-align: center;
    padding: 10px 8px;
    font-size: 12px;
  }

  .form-profesional .btn,
  .btn-queja {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .contacto-hero .section-title {
    font-size: 1.25rem;
  }
}
